]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
Don't use deprecated list methods
[wxWidgets.git] / wxPython / src / mac / _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_wxPyPopupTransientWindow swig_types[56]
266 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[57]
267 #define SWIGTYPE_p_wxSplitterWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyVScrolledWindow 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 wxPopupWindow : public wxWindow {
534 public:
535 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
536 wxPopupWindow() { wxPyRaiseNotImplemented(); }
537 };
538
539 class wxPyPopupTransientWindow : public wxPopupWindow
540 {
541 public:
542 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
543 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
544 };
545
546
547 #include <wx/tipwin.h>
548
549 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
550 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
551 }
552
553 #include <wx/tipwin.h>
554
555
556 #include <wx/vscroll.h>
557
558
559 class wxPyVScrolledWindow : public wxVScrolledWindow
560 {
561 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
562 public:
563 wxPyVScrolledWindow() : wxVScrolledWindow() {}
564
565 wxPyVScrolledWindow(wxWindow *parent,
566 wxWindowID id = wxID_ANY,
567 const wxPoint& pos = wxDefaultPosition,
568 const wxSize& size = wxDefaultSize,
569 long style = 0,
570 const wxString& name = wxPyPanelNameStr)
571 : wxVScrolledWindow(parent, id, pos, size, style, name)
572 {}
573
574 // Overridable virtuals
575
576 // this function must be overridden in the derived class and it should
577 // return the height of the given line in pixels
578 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
579
580
581 // this function doesn't have to be overridden but it may be useful to do
582 // it if calculating the lines heights is a relatively expensive operation
583 // as it gives the user code a possibility to calculate several of them at
584 // once
585 //
586 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
587 // shouldn't rely on the latter being called for all lines in the interval
588 // specified here. It is also possible that OnGetLineHeight() will be
589 // called for the lines outside of this interval, so this is really just a
590 // hint, not a promise.
591 //
592 // finally note that lineMin is inclusive, while lineMax is exclusive, as
593 // usual
594 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
595
596
597 // when the number of lines changes, we try to estimate the total height
598 // of all lines which is a rather expensive operation in terms of lines
599 // access, so if the user code may estimate the average height
600 // better/faster than we do, it should override this function to implement
601 // its own logic
602 //
603 // this function should return the best guess for the total height it may
604 // make
605 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
606
607
608 // Also expose some other interesting protected methods
609
610
611 // find the index of the line we need to show at the top of the window such
612 // that the last (fully or partially) visible line is the given one
613 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
614 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
615
616 // get the total height of the lines between lineMin (inclusive) and
617 // lineMax (exclusive)
618 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
619 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
620
621
622 PYPRIVATE;
623 };
624
625 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
626
627 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
628 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
629 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
630
631
632 SWIGSTATICINLINE(unsigned long)
633 SWIG_AsUnsignedLong(PyObject * obj)
634 {
635 if (PyLong_Check(obj)) {
636 return PyLong_AsUnsignedLong(obj);
637 } else {
638 long i = SWIG_AsLong(obj);
639 if ( !PyErr_Occurred() && (i < 0)) {
640 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
641 }
642 return i;
643 }
644 }
645
646
647 SWIGSTATICINLINE(int)
648 SWIG_CheckUnsignedLong(PyObject* obj)
649 {
650 SWIG_AsUnsignedLong(obj);
651 if (PyErr_Occurred()) {
652 PyErr_Clear();
653 return 0;
654 } else {
655 return 1;
656 }
657 }
658
659
660 SWIGSTATICINLINE(PyObject* )
661 SWIG_FromUnsignedLong(unsigned long value)
662 {
663 return (value > LONG_MAX) ?
664 PyLong_FromUnsignedLong(value)
665 : PyInt_FromLong(swig_numeric_cast(long,value));
666 }
667
668
669 #include <wx/vlbox.h>
670
671 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
672
673 class wxPyVListBox : public wxVListBox
674 {
675 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
676 public:
677 wxPyVListBox() : wxVListBox() {}
678
679 wxPyVListBox(wxWindow *parent,
680 wxWindowID id = wxID_ANY,
681 const wxPoint& pos = wxDefaultPosition,
682 const wxSize& size = wxDefaultSize,
683 long style = 0,
684 const wxString& name = wxPyVListBoxNameStr)
685 : wxVListBox(parent, id, pos, size, style, name)
686 {}
687
688 // Overridable virtuals
689
690 // the derived class must implement this function to actually draw the item
691 // with the given index on the provided DC
692 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
693 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
694
695
696 // the derived class must implement this method to return the height of the
697 // specified item
698 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
699 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
700
701
702 // this method may be used to draw separators between the lines; note that
703 // the rectangle may be modified, typically to deflate it a bit before
704 // passing to OnDrawItem()
705 //
706 // the base class version doesn't do anything
707 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
708 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
709
710
711 // this method is used to draw the items background and, maybe, a border
712 // around it
713 //
714 // the base class version implements a reasonable default behaviour which
715 // consists in drawing the selected item with the standard background
716 // colour and drawing a border around the item if it is either selected or
717 // current
718 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
719 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
720
721
722 PYPRIVATE;
723 };
724
725 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
726
727 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
728 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
729 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
730 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
731
732
733
734 #include <wx/htmllbox.h>
735
736
737 class wxPyHtmlListBox : public wxHtmlListBox
738 {
739 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
740 public:
741 wxPyHtmlListBox() : wxHtmlListBox() {}
742
743 wxPyHtmlListBox(wxWindow *parent,
744 wxWindowID id = wxID_ANY,
745 const wxPoint& pos = wxDefaultPosition,
746 const wxSize& size = wxDefaultSize,
747 long style = 0,
748 const wxString& name = wxPyVListBoxNameStr)
749 : wxHtmlListBox(parent, id, pos, size, style, name)
750 {}
751
752 // Overridable virtuals
753
754 // this method must be implemented in the derived class and should return
755 // the body (i.e. without <html>) of the HTML for the given item
756 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
757
758 // this function may be overridden to decorate HTML returned by OnGetItem()
759 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
760
761 // TODO:
762 // // this method allows to customize the selection appearance: it may be used
763 // // to specify the colour of the text which normally has the given colour
764 // // colFg when it is inside the selection
765 // //
766 // // by default, the original colour is not used at all and all text has the
767 // // same (default for this system) colour inside selection
768 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
769
770 // // this is the same as GetSelectedTextColour() but allows to customize the
771 // // background colour -- this is even more rarely used as you can change it
772 // // globally using SetSelectionBackground()
773 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
774
775
776 PYPRIVATE;
777 };
778
779
780 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
781
782 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
783 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
784
785
786
787
788
789 #ifdef __WXMAC__
790 // implement dummy classes and such for wxMac
791
792 class wxTaskBarIcon : public wxEvtHandler
793 {
794 public:
795 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
796 };
797
798
799 class wxTaskBarIconEvent : public wxEvent
800 {
801 public:
802 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
803 { wxPyRaiseNotImplemented(); }
804 virtual wxEvent* Clone() const { return NULL; }
805 };
806
807 enum {
808 wxEVT_TASKBAR_MOVE = 0,
809 wxEVT_TASKBAR_LEFT_DOWN = 0,
810 wxEVT_TASKBAR_LEFT_UP = 0,
811 wxEVT_TASKBAR_RIGHT_DOWN = 0,
812 wxEVT_TASKBAR_RIGHT_UP = 0,
813 wxEVT_TASKBAR_LEFT_DCLICK = 0,
814 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
815 };
816 #endif
817
818 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
819
820
821
822 }
823 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
824 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
825 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
826 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
827 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
828 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
829 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
830 wxArrayString arr;
831 self->GetFilenames(arr);
832 return wxArrayString2PyList_helper(arr);
833 }
834 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
835 wxArrayString arr;
836 self->GetPaths(arr);
837 return wxArrayString2PyList_helper(arr);
838 }
839 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
840 return wxArrayInt2PyList_helper(self->GetSelections());
841 }
842 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
843 return new wxSingleChoiceDialog(parent, message, caption,
844 choices, choices_array, NULL, style, pos);
845 }
846
847 #include <wx/mdi.h>
848
849 // C++ version of Python aware wxWindow
850 class wxPyWindow : public wxWindow
851 {
852 DECLARE_DYNAMIC_CLASS(wxPyWindow)
853 public:
854 wxPyWindow() : wxWindow() {}
855 wxPyWindow(wxWindow* parent, const wxWindowID id,
856 const wxPoint& pos = wxDefaultPosition,
857 const wxSize& size = wxDefaultSize,
858 long style = 0,
859 const wxString& name = wxPyPanelNameStr)
860 : wxWindow(parent, id, pos, size, style, name) {}
861
862
863 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
864 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
865 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
866 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
867
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
869 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
870 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
871
872 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
873 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
874
875 DEC_PYCALLBACK__(InitDialog);
876 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
877 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
878 DEC_PYCALLBACK_BOOL_(Validate);
879
880 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
881 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
882 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
883
884 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
885 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
886
887 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
888 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
889
890 PYPRIVATE;
891 };
892
893 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
894
895 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
896 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
897 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
898 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
899
900 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
901 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
902 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
903
904 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
905 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
906
907 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
908 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
909 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
910 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
911
912 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
913 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
914 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
915
916 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
917 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
918
919 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
920 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
921
922
923 // C++ version of Python aware wxPanel
924 class wxPyPanel : public wxPanel
925 {
926 DECLARE_DYNAMIC_CLASS(wxPyPanel)
927 public:
928 wxPyPanel() : wxPanel() {}
929 wxPyPanel(wxWindow* parent, const wxWindowID id,
930 const wxPoint& pos = wxDefaultPosition,
931 const wxSize& size = wxDefaultSize,
932 long style = 0,
933 const wxString& name = wxPyPanelNameStr)
934 : wxPanel(parent, id, pos, size, style, name) {}
935
936
937 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
938 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
939 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
940 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
941
942 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
943 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
944 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
945
946 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
947 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
948
949 DEC_PYCALLBACK__(InitDialog);
950 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
951 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
952 DEC_PYCALLBACK_BOOL_(Validate);
953
954 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
955 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
956 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
957
958 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
959 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
960
961 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
962 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
963
964 PYPRIVATE;
965 };
966
967 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
968
969 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
970 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
971 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
972 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
973
974 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
975 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
976 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
977
978 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
979 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
980
981 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
982 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
983 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
984 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
985
986 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
987 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
988 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
989
990 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
991 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
992
993 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
994 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
995
996 // C++ version of Python aware wxScrolledWindow
997 class wxPyScrolledWindow : public wxScrolledWindow
998 {
999 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1000 public:
1001 wxPyScrolledWindow() : wxScrolledWindow() {}
1002 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1003 const wxPoint& pos = wxDefaultPosition,
1004 const wxSize& size = wxDefaultSize,
1005 long style = 0,
1006 const wxString& name = wxPyPanelNameStr)
1007 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1008
1009
1010 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1011 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1012 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1013 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1014
1015 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1016 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1017 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1018
1019 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1020 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1021
1022 DEC_PYCALLBACK__(InitDialog);
1023 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1024 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1025 DEC_PYCALLBACK_BOOL_(Validate);
1026
1027 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1028 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1029 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1030
1031 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1032 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1033
1034 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1035 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1036
1037 PYPRIVATE;
1038 };
1039
1040 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1041
1042 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1043 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1044 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1045 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1046
1047 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1048 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1049 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1050
1051 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1052 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1053
1054 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1055 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1056 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1057 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1058
1059 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1060 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1061 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1062
1063 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1064 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1065
1066 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1067 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1068
1069
1070 #include "wx/wxPython/printfw.h"
1071
1072
1073 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1074 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1075
1076
1077
1078 // Since this one would be tough and ugly to do with the Macros...
1079 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1080 bool hadErr = False;
1081 bool found;
1082
1083 bool blocked = wxPyBeginBlockThreads();
1084 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1085 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1086 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1087 PyObject* val;
1088
1089 val = PyTuple_GetItem(result, 0);
1090 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1091 else hadErr = True;
1092
1093 val = PyTuple_GetItem(result, 1);
1094 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1095 else hadErr = True;
1096
1097 val = PyTuple_GetItem(result, 2);
1098 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1099 else hadErr = True;
1100
1101 val = PyTuple_GetItem(result, 3);
1102 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1103 else hadErr = True;
1104 }
1105 else
1106 hadErr = True;
1107
1108 if (hadErr) {
1109 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1110 PyErr_Print();
1111 }
1112 Py_DECREF(result);
1113 }
1114 wxPyEndBlockThreads(blocked);
1115 if (! found)
1116 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1117 }
1118
1119 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1120 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1121 }
1122
1123
1124 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1125 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1126 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1127 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1128 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1129 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1130 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1131
1132
1133
1134
1135
1136 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1137 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1138 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1139
1140
1141 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1142 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1143 bool rval=False; \
1144 bool found; \
1145 bool blocked = wxPyBeginBlockThreads(); \
1146 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1147 PyObject* win = wxPyMake_wxObject(a); \
1148 PyObject* dc = wxPyMake_wxObject(&b); \
1149 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1150 Py_DECREF(win); \
1151 Py_DECREF(dc); \
1152 } \
1153 wxPyEndBlockThreads(blocked); \
1154 if (! found) \
1155 rval = PCLASS::CBNAME(a, b); \
1156 return rval; \
1157 } \
1158 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1159 return PCLASS::CBNAME(a, b); \
1160 }
1161
1162
1163
1164
1165 class wxPyPrintPreview : public wxPrintPreview
1166 {
1167 DECLARE_CLASS(wxPyPrintPreview)
1168 public:
1169 wxPyPrintPreview(wxPyPrintout* printout,
1170 wxPyPrintout* printoutForPrinting,
1171 wxPrintDialogData* data=NULL)
1172 : wxPrintPreview(printout, printoutForPrinting, data)
1173 {}
1174 wxPyPrintPreview(wxPyPrintout* printout,
1175 wxPyPrintout* printoutForPrinting,
1176 wxPrintData* data=NULL)
1177 : wxPrintPreview(printout, printoutForPrinting, data)
1178 {}
1179
1180 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1181 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1182 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1183 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1184 DEC_PYCALLBACK_VOID_INT(SetZoom);
1185 DEC_PYCALLBACK_BOOL_BOOL(Print);
1186 DEC_PYCALLBACK_VOID_(DetermineScaling);
1187
1188 PYPRIVATE;
1189 };
1190
1191 // Stupid renamed classes... Fix this in 2.5...
1192 #if defined(__WXMSW__)
1193 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1194 #elif defined(__WXMAC__)
1195 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1196 #else
1197 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1198 #endif
1199
1200 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1201 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1202 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1203 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1204 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1205 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1206 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1207
1208
1209 class wxPyPreviewFrame : public wxPreviewFrame
1210 {
1211 DECLARE_CLASS(wxPyPreviewFrame);
1212 public:
1213 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1214 const wxString& title,
1215 const wxPoint& pos = wxDefaultPosition,
1216 const wxSize& size = wxDefaultSize,
1217 long style = wxDEFAULT_FRAME_STYLE,
1218 const wxString& name = wxPyFrameNameStr)
1219 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1220 {}
1221
1222 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1223 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1224
1225 DEC_PYCALLBACK_VOID_(Initialize);
1226 DEC_PYCALLBACK_VOID_(CreateCanvas);
1227 DEC_PYCALLBACK_VOID_(CreateControlBar);
1228
1229 PYPRIVATE;
1230 };
1231
1232 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1233
1234 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1235 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1236 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1237
1238
1239 class wxPyPreviewControlBar : public wxPreviewControlBar
1240 {
1241 DECLARE_CLASS(wxPyPreviewControlBar);
1242 public:
1243 wxPyPreviewControlBar(wxPrintPreview *preview,
1244 long buttons,
1245 wxWindow *parent,
1246 const wxPoint& pos = wxDefaultPosition,
1247 const wxSize& size = wxDefaultSize,
1248 long style = 0,
1249 const wxString& name = wxPyPanelNameStr)
1250 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1251 {}
1252
1253 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1254
1255 DEC_PYCALLBACK_VOID_(CreateButtons);
1256 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1257
1258 PYPRIVATE;
1259 };
1260
1261 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1262 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1263 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1264
1265 #ifdef __cplusplus
1266 extern "C" {
1267 #endif
1268 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1269 PyObject *resultobj;
1270 wxWindow *arg1 = (wxWindow *) 0 ;
1271 int arg2 = (int) (int)-1 ;
1272 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1273 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1274 wxSize const &arg4_defvalue = wxDefaultSize ;
1275 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1276 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1277 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1278 wxString *arg6 = (wxString *) &arg6_defvalue ;
1279 wxPanel *result;
1280 wxPoint temp3 ;
1281 wxSize temp4 ;
1282 bool temp6 = False ;
1283 PyObject * obj0 = 0 ;
1284 PyObject * obj1 = 0 ;
1285 PyObject * obj2 = 0 ;
1286 PyObject * obj3 = 0 ;
1287 PyObject * obj4 = 0 ;
1288 PyObject * obj5 = 0 ;
1289 char *kwnames[] = {
1290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1291 };
1292
1293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1296 if (obj1) {
1297 arg2 = (int const) SWIG_AsInt(obj1);
1298 if (PyErr_Occurred()) SWIG_fail;
1299 }
1300 if (obj2) {
1301 {
1302 arg3 = &temp3;
1303 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1304 }
1305 }
1306 if (obj3) {
1307 {
1308 arg4 = &temp4;
1309 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1310 }
1311 }
1312 if (obj4) {
1313 arg5 = (long) SWIG_AsLong(obj4);
1314 if (PyErr_Occurred()) SWIG_fail;
1315 }
1316 if (obj5) {
1317 {
1318 arg6 = wxString_in_helper(obj5);
1319 if (arg6 == NULL) SWIG_fail;
1320 temp6 = True;
1321 }
1322 }
1323 {
1324 PyThreadState* __tstate = wxPyBeginAllowThreads();
1325 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1326
1327 wxPyEndAllowThreads(__tstate);
1328 if (PyErr_Occurred()) SWIG_fail;
1329 }
1330 {
1331 resultobj = wxPyMake_wxObject(result);
1332 }
1333 {
1334 if (temp6)
1335 delete arg6;
1336 }
1337 return resultobj;
1338 fail:
1339 {
1340 if (temp6)
1341 delete arg6;
1342 }
1343 return NULL;
1344 }
1345
1346
1347 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1348 PyObject *resultobj;
1349 wxPanel *result;
1350 char *kwnames[] = {
1351 NULL
1352 };
1353
1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1355 {
1356 PyThreadState* __tstate = wxPyBeginAllowThreads();
1357 result = (wxPanel *)new wxPanel();
1358
1359 wxPyEndAllowThreads(__tstate);
1360 if (PyErr_Occurred()) SWIG_fail;
1361 }
1362 {
1363 resultobj = wxPyMake_wxObject(result);
1364 }
1365 return resultobj;
1366 fail:
1367 return NULL;
1368 }
1369
1370
1371 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1372 PyObject *resultobj;
1373 wxPanel *arg1 = (wxPanel *) 0 ;
1374 wxWindow *arg2 = (wxWindow *) 0 ;
1375 int arg3 = (int) (int)-1 ;
1376 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1377 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1378 wxSize const &arg5_defvalue = wxDefaultSize ;
1379 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1380 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1381 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1382 wxString *arg7 = (wxString *) &arg7_defvalue ;
1383 bool result;
1384 wxPoint temp4 ;
1385 wxSize temp5 ;
1386 bool temp7 = False ;
1387 PyObject * obj0 = 0 ;
1388 PyObject * obj1 = 0 ;
1389 PyObject * obj2 = 0 ;
1390 PyObject * obj3 = 0 ;
1391 PyObject * obj4 = 0 ;
1392 PyObject * obj5 = 0 ;
1393 PyObject * obj6 = 0 ;
1394 char *kwnames[] = {
1395 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1396 };
1397
1398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1401 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1403 if (obj2) {
1404 arg3 = (int const) SWIG_AsInt(obj2);
1405 if (PyErr_Occurred()) SWIG_fail;
1406 }
1407 if (obj3) {
1408 {
1409 arg4 = &temp4;
1410 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1411 }
1412 }
1413 if (obj4) {
1414 {
1415 arg5 = &temp5;
1416 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1417 }
1418 }
1419 if (obj5) {
1420 arg6 = (long) SWIG_AsLong(obj5);
1421 if (PyErr_Occurred()) SWIG_fail;
1422 }
1423 if (obj6) {
1424 {
1425 arg7 = wxString_in_helper(obj6);
1426 if (arg7 == NULL) SWIG_fail;
1427 temp7 = True;
1428 }
1429 }
1430 {
1431 PyThreadState* __tstate = wxPyBeginAllowThreads();
1432 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1433
1434 wxPyEndAllowThreads(__tstate);
1435 if (PyErr_Occurred()) SWIG_fail;
1436 }
1437 {
1438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1439 }
1440 {
1441 if (temp7)
1442 delete arg7;
1443 }
1444 return resultobj;
1445 fail:
1446 {
1447 if (temp7)
1448 delete arg7;
1449 }
1450 return NULL;
1451 }
1452
1453
1454 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1455 PyObject *resultobj;
1456 wxPanel *arg1 = (wxPanel *) 0 ;
1457 PyObject * obj0 = 0 ;
1458 char *kwnames[] = {
1459 (char *) "self", NULL
1460 };
1461
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1465 {
1466 PyThreadState* __tstate = wxPyBeginAllowThreads();
1467 (arg1)->InitDialog();
1468
1469 wxPyEndAllowThreads(__tstate);
1470 if (PyErr_Occurred()) SWIG_fail;
1471 }
1472 Py_INCREF(Py_None); resultobj = Py_None;
1473 return resultobj;
1474 fail:
1475 return NULL;
1476 }
1477
1478
1479 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1480 PyObject *resultobj;
1481 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1482 wxVisualAttributes result;
1483 PyObject * obj0 = 0 ;
1484 char *kwnames[] = {
1485 (char *) "variant", NULL
1486 };
1487
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1489 if (obj0) {
1490 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1491 if (PyErr_Occurred()) SWIG_fail;
1492 }
1493 {
1494 PyThreadState* __tstate = wxPyBeginAllowThreads();
1495 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1496
1497 wxPyEndAllowThreads(__tstate);
1498 if (PyErr_Occurred()) SWIG_fail;
1499 }
1500 {
1501 wxVisualAttributes * resultptr;
1502 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1504 }
1505 return resultobj;
1506 fail:
1507 return NULL;
1508 }
1509
1510
1511 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1512 PyObject *obj;
1513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1514 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1515 Py_INCREF(obj);
1516 return Py_BuildValue((char *)"");
1517 }
1518 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1519 PyObject *resultobj;
1520 wxWindow *arg1 = (wxWindow *) 0 ;
1521 int arg2 = (int) (int)-1 ;
1522 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1523 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1524 wxSize const &arg4_defvalue = wxDefaultSize ;
1525 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1526 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1527 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1528 wxString *arg6 = (wxString *) &arg6_defvalue ;
1529 wxScrolledWindow *result;
1530 wxPoint temp3 ;
1531 wxSize temp4 ;
1532 bool temp6 = False ;
1533 PyObject * obj0 = 0 ;
1534 PyObject * obj1 = 0 ;
1535 PyObject * obj2 = 0 ;
1536 PyObject * obj3 = 0 ;
1537 PyObject * obj4 = 0 ;
1538 PyObject * obj5 = 0 ;
1539 char *kwnames[] = {
1540 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1541 };
1542
1543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1546 if (obj1) {
1547 arg2 = (int const) SWIG_AsInt(obj1);
1548 if (PyErr_Occurred()) SWIG_fail;
1549 }
1550 if (obj2) {
1551 {
1552 arg3 = &temp3;
1553 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1554 }
1555 }
1556 if (obj3) {
1557 {
1558 arg4 = &temp4;
1559 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1560 }
1561 }
1562 if (obj4) {
1563 arg5 = (long) SWIG_AsLong(obj4);
1564 if (PyErr_Occurred()) SWIG_fail;
1565 }
1566 if (obj5) {
1567 {
1568 arg6 = wxString_in_helper(obj5);
1569 if (arg6 == NULL) SWIG_fail;
1570 temp6 = True;
1571 }
1572 }
1573 {
1574 PyThreadState* __tstate = wxPyBeginAllowThreads();
1575 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1576
1577 wxPyEndAllowThreads(__tstate);
1578 if (PyErr_Occurred()) SWIG_fail;
1579 }
1580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1581 {
1582 if (temp6)
1583 delete arg6;
1584 }
1585 return resultobj;
1586 fail:
1587 {
1588 if (temp6)
1589 delete arg6;
1590 }
1591 return NULL;
1592 }
1593
1594
1595 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1596 PyObject *resultobj;
1597 wxScrolledWindow *result;
1598 char *kwnames[] = {
1599 NULL
1600 };
1601
1602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1603 {
1604 PyThreadState* __tstate = wxPyBeginAllowThreads();
1605 result = (wxScrolledWindow *)new wxScrolledWindow();
1606
1607 wxPyEndAllowThreads(__tstate);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 }
1610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1611 return resultobj;
1612 fail:
1613 return NULL;
1614 }
1615
1616
1617 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1618 PyObject *resultobj;
1619 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1620 wxWindow *arg2 = (wxWindow *) 0 ;
1621 int arg3 = (int) (int)-1 ;
1622 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1623 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1624 wxSize const &arg5_defvalue = wxDefaultSize ;
1625 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1626 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1627 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1628 wxString *arg7 = (wxString *) &arg7_defvalue ;
1629 bool result;
1630 wxPoint temp4 ;
1631 wxSize temp5 ;
1632 bool temp7 = False ;
1633 PyObject * obj0 = 0 ;
1634 PyObject * obj1 = 0 ;
1635 PyObject * obj2 = 0 ;
1636 PyObject * obj3 = 0 ;
1637 PyObject * obj4 = 0 ;
1638 PyObject * obj5 = 0 ;
1639 PyObject * obj6 = 0 ;
1640 char *kwnames[] = {
1641 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1642 };
1643
1644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1649 if (obj2) {
1650 arg3 = (int const) SWIG_AsInt(obj2);
1651 if (PyErr_Occurred()) SWIG_fail;
1652 }
1653 if (obj3) {
1654 {
1655 arg4 = &temp4;
1656 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1657 }
1658 }
1659 if (obj4) {
1660 {
1661 arg5 = &temp5;
1662 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1663 }
1664 }
1665 if (obj5) {
1666 arg6 = (long) SWIG_AsLong(obj5);
1667 if (PyErr_Occurred()) SWIG_fail;
1668 }
1669 if (obj6) {
1670 {
1671 arg7 = wxString_in_helper(obj6);
1672 if (arg7 == NULL) SWIG_fail;
1673 temp7 = True;
1674 }
1675 }
1676 {
1677 PyThreadState* __tstate = wxPyBeginAllowThreads();
1678 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1679
1680 wxPyEndAllowThreads(__tstate);
1681 if (PyErr_Occurred()) SWIG_fail;
1682 }
1683 {
1684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1685 }
1686 {
1687 if (temp7)
1688 delete arg7;
1689 }
1690 return resultobj;
1691 fail:
1692 {
1693 if (temp7)
1694 delete arg7;
1695 }
1696 return NULL;
1697 }
1698
1699
1700 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1701 PyObject *resultobj;
1702 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1703 int arg2 ;
1704 int arg3 ;
1705 int arg4 ;
1706 int arg5 ;
1707 int arg6 = (int) 0 ;
1708 int arg7 = (int) 0 ;
1709 bool arg8 = (bool) False ;
1710 PyObject * obj0 = 0 ;
1711 PyObject * obj1 = 0 ;
1712 PyObject * obj2 = 0 ;
1713 PyObject * obj3 = 0 ;
1714 PyObject * obj4 = 0 ;
1715 PyObject * obj5 = 0 ;
1716 PyObject * obj6 = 0 ;
1717 PyObject * obj7 = 0 ;
1718 char *kwnames[] = {
1719 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1720 };
1721
1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1725 arg2 = (int) SWIG_AsInt(obj1);
1726 if (PyErr_Occurred()) SWIG_fail;
1727 arg3 = (int) SWIG_AsInt(obj2);
1728 if (PyErr_Occurred()) SWIG_fail;
1729 arg4 = (int) SWIG_AsInt(obj3);
1730 if (PyErr_Occurred()) SWIG_fail;
1731 arg5 = (int) SWIG_AsInt(obj4);
1732 if (PyErr_Occurred()) SWIG_fail;
1733 if (obj5) {
1734 arg6 = (int) SWIG_AsInt(obj5);
1735 if (PyErr_Occurred()) SWIG_fail;
1736 }
1737 if (obj6) {
1738 arg7 = (int) SWIG_AsInt(obj6);
1739 if (PyErr_Occurred()) SWIG_fail;
1740 }
1741 if (obj7) {
1742 arg8 = (bool) SWIG_AsBool(obj7);
1743 if (PyErr_Occurred()) SWIG_fail;
1744 }
1745 {
1746 PyThreadState* __tstate = wxPyBeginAllowThreads();
1747 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1748
1749 wxPyEndAllowThreads(__tstate);
1750 if (PyErr_Occurred()) SWIG_fail;
1751 }
1752 Py_INCREF(Py_None); resultobj = Py_None;
1753 return resultobj;
1754 fail:
1755 return NULL;
1756 }
1757
1758
1759 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1760 PyObject *resultobj;
1761 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1762 int arg2 ;
1763 int arg3 ;
1764 PyObject * obj0 = 0 ;
1765 PyObject * obj1 = 0 ;
1766 PyObject * obj2 = 0 ;
1767 char *kwnames[] = {
1768 (char *) "self",(char *) "x",(char *) "y", NULL
1769 };
1770
1771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1774 arg2 = (int) SWIG_AsInt(obj1);
1775 if (PyErr_Occurred()) SWIG_fail;
1776 arg3 = (int) SWIG_AsInt(obj2);
1777 if (PyErr_Occurred()) SWIG_fail;
1778 {
1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
1780 (arg1)->Scroll(arg2,arg3);
1781
1782 wxPyEndAllowThreads(__tstate);
1783 if (PyErr_Occurred()) SWIG_fail;
1784 }
1785 Py_INCREF(Py_None); resultobj = Py_None;
1786 return resultobj;
1787 fail:
1788 return NULL;
1789 }
1790
1791
1792 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1795 int arg2 ;
1796 int result;
1797 PyObject * obj0 = 0 ;
1798 PyObject * obj1 = 0 ;
1799 char *kwnames[] = {
1800 (char *) "self",(char *) "orient", NULL
1801 };
1802
1803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1806 arg2 = (int) SWIG_AsInt(obj1);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 resultobj = SWIG_FromInt((int)result);
1816 return resultobj;
1817 fail:
1818 return NULL;
1819 }
1820
1821
1822 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1823 PyObject *resultobj;
1824 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1825 int arg2 ;
1826 int arg3 ;
1827 PyObject * obj0 = 0 ;
1828 PyObject * obj1 = 0 ;
1829 PyObject * obj2 = 0 ;
1830 char *kwnames[] = {
1831 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1832 };
1833
1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1837 arg2 = (int) SWIG_AsInt(obj1);
1838 if (PyErr_Occurred()) SWIG_fail;
1839 arg3 = (int) SWIG_AsInt(obj2);
1840 if (PyErr_Occurred()) SWIG_fail;
1841 {
1842 PyThreadState* __tstate = wxPyBeginAllowThreads();
1843 (arg1)->SetScrollPageSize(arg2,arg3);
1844
1845 wxPyEndAllowThreads(__tstate);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 }
1848 Py_INCREF(Py_None); resultobj = Py_None;
1849 return resultobj;
1850 fail:
1851 return NULL;
1852 }
1853
1854
1855 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1856 PyObject *resultobj;
1857 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1858 int arg2 ;
1859 int arg3 ;
1860 PyObject * obj0 = 0 ;
1861 PyObject * obj1 = 0 ;
1862 PyObject * obj2 = 0 ;
1863 char *kwnames[] = {
1864 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1865 };
1866
1867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1870 arg2 = (int) SWIG_AsInt(obj1);
1871 if (PyErr_Occurred()) SWIG_fail;
1872 arg3 = (int) SWIG_AsInt(obj2);
1873 if (PyErr_Occurred()) SWIG_fail;
1874 {
1875 PyThreadState* __tstate = wxPyBeginAllowThreads();
1876 (arg1)->SetScrollRate(arg2,arg3);
1877
1878 wxPyEndAllowThreads(__tstate);
1879 if (PyErr_Occurred()) SWIG_fail;
1880 }
1881 Py_INCREF(Py_None); resultobj = Py_None;
1882 return resultobj;
1883 fail:
1884 return NULL;
1885 }
1886
1887
1888 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1889 PyObject *resultobj;
1890 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1891 int *arg2 = (int *) 0 ;
1892 int *arg3 = (int *) 0 ;
1893 int temp2 ;
1894 int temp3 ;
1895 PyObject * obj0 = 0 ;
1896 char *kwnames[] = {
1897 (char *) "self", NULL
1898 };
1899
1900 arg2 = &temp2;
1901 arg3 = &temp3;
1902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1905 {
1906 PyThreadState* __tstate = wxPyBeginAllowThreads();
1907 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1908
1909 wxPyEndAllowThreads(__tstate);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 }
1912 Py_INCREF(Py_None); resultobj = Py_None;
1913 {
1914 PyObject *o = PyInt_FromLong((long) (*arg2));
1915 resultobj = t_output_helper(resultobj,o);
1916 }
1917 {
1918 PyObject *o = PyInt_FromLong((long) (*arg3));
1919 resultobj = t_output_helper(resultobj,o);
1920 }
1921 return resultobj;
1922 fail:
1923 return NULL;
1924 }
1925
1926
1927 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1928 PyObject *resultobj;
1929 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1930 bool arg2 ;
1931 bool arg3 ;
1932 PyObject * obj0 = 0 ;
1933 PyObject * obj1 = 0 ;
1934 PyObject * obj2 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1937 };
1938
1939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1942 arg2 = (bool) SWIG_AsBool(obj1);
1943 if (PyErr_Occurred()) SWIG_fail;
1944 arg3 = (bool) SWIG_AsBool(obj2);
1945 if (PyErr_Occurred()) SWIG_fail;
1946 {
1947 PyThreadState* __tstate = wxPyBeginAllowThreads();
1948 (arg1)->EnableScrolling(arg2,arg3);
1949
1950 wxPyEndAllowThreads(__tstate);
1951 if (PyErr_Occurred()) SWIG_fail;
1952 }
1953 Py_INCREF(Py_None); resultobj = Py_None;
1954 return resultobj;
1955 fail:
1956 return NULL;
1957 }
1958
1959
1960 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1961 PyObject *resultobj;
1962 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1963 int *arg2 = (int *) 0 ;
1964 int *arg3 = (int *) 0 ;
1965 int temp2 ;
1966 int temp3 ;
1967 PyObject * obj0 = 0 ;
1968 char *kwnames[] = {
1969 (char *) "self", NULL
1970 };
1971
1972 arg2 = &temp2;
1973 arg3 = &temp3;
1974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1977 {
1978 PyThreadState* __tstate = wxPyBeginAllowThreads();
1979 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1980
1981 wxPyEndAllowThreads(__tstate);
1982 if (PyErr_Occurred()) SWIG_fail;
1983 }
1984 Py_INCREF(Py_None); resultobj = Py_None;
1985 {
1986 PyObject *o = PyInt_FromLong((long) (*arg2));
1987 resultobj = t_output_helper(resultobj,o);
1988 }
1989 {
1990 PyObject *o = PyInt_FromLong((long) (*arg3));
1991 resultobj = t_output_helper(resultobj,o);
1992 }
1993 return resultobj;
1994 fail:
1995 return NULL;
1996 }
1997
1998
1999 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
2000 PyObject *resultobj;
2001 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2002 double arg2 ;
2003 double arg3 ;
2004 PyObject * obj0 = 0 ;
2005 PyObject * obj1 = 0 ;
2006 PyObject * obj2 = 0 ;
2007 char *kwnames[] = {
2008 (char *) "self",(char *) "xs",(char *) "ys", NULL
2009 };
2010
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2014 arg2 = (double) SWIG_AsDouble(obj1);
2015 if (PyErr_Occurred()) SWIG_fail;
2016 arg3 = (double) SWIG_AsDouble(obj2);
2017 if (PyErr_Occurred()) SWIG_fail;
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 (arg1)->SetScale(arg2,arg3);
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 }
2025 Py_INCREF(Py_None); resultobj = Py_None;
2026 return resultobj;
2027 fail:
2028 return NULL;
2029 }
2030
2031
2032 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2035 double result;
2036 PyObject * obj0 = 0 ;
2037 char *kwnames[] = {
2038 (char *) "self", NULL
2039 };
2040
2041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2044 {
2045 PyThreadState* __tstate = wxPyBeginAllowThreads();
2046 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2047
2048 wxPyEndAllowThreads(__tstate);
2049 if (PyErr_Occurred()) SWIG_fail;
2050 }
2051 resultobj = SWIG_FromDouble((double)result);
2052 return resultobj;
2053 fail:
2054 return NULL;
2055 }
2056
2057
2058 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2059 PyObject *resultobj;
2060 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2061 double result;
2062 PyObject * obj0 = 0 ;
2063 char *kwnames[] = {
2064 (char *) "self", NULL
2065 };
2066
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2070 {
2071 PyThreadState* __tstate = wxPyBeginAllowThreads();
2072 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2073
2074 wxPyEndAllowThreads(__tstate);
2075 if (PyErr_Occurred()) SWIG_fail;
2076 }
2077 resultobj = SWIG_FromDouble((double)result);
2078 return resultobj;
2079 fail:
2080 return NULL;
2081 }
2082
2083
2084 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2085 PyObject *resultobj;
2086 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2087 wxPoint *arg2 = 0 ;
2088 wxPoint result;
2089 wxPoint temp2 ;
2090 PyObject * obj0 = 0 ;
2091 PyObject * obj1 = 0 ;
2092
2093 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2096 {
2097 arg2 = &temp2;
2098 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2099 }
2100 {
2101 PyThreadState* __tstate = wxPyBeginAllowThreads();
2102 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2103
2104 wxPyEndAllowThreads(__tstate);
2105 if (PyErr_Occurred()) SWIG_fail;
2106 }
2107 {
2108 wxPoint * resultptr;
2109 resultptr = new wxPoint((wxPoint &) result);
2110 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2111 }
2112 return resultobj;
2113 fail:
2114 return NULL;
2115 }
2116
2117
2118 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2119 PyObject *resultobj;
2120 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2121 int arg2 ;
2122 int arg3 ;
2123 int *arg4 = (int *) 0 ;
2124 int *arg5 = (int *) 0 ;
2125 int temp4 ;
2126 int temp5 ;
2127 PyObject * obj0 = 0 ;
2128 PyObject * obj1 = 0 ;
2129 PyObject * obj2 = 0 ;
2130
2131 arg4 = &temp4;
2132 arg5 = &temp5;
2133 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2136 arg2 = (int) SWIG_AsInt(obj1);
2137 if (PyErr_Occurred()) SWIG_fail;
2138 arg3 = (int) SWIG_AsInt(obj2);
2139 if (PyErr_Occurred()) SWIG_fail;
2140 {
2141 PyThreadState* __tstate = wxPyBeginAllowThreads();
2142 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2143
2144 wxPyEndAllowThreads(__tstate);
2145 if (PyErr_Occurred()) SWIG_fail;
2146 }
2147 Py_INCREF(Py_None); resultobj = Py_None;
2148 {
2149 PyObject *o = PyInt_FromLong((long) (*arg4));
2150 resultobj = t_output_helper(resultobj,o);
2151 }
2152 {
2153 PyObject *o = PyInt_FromLong((long) (*arg5));
2154 resultobj = t_output_helper(resultobj,o);
2155 }
2156 return resultobj;
2157 fail:
2158 return NULL;
2159 }
2160
2161
2162 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2163 int argc;
2164 PyObject *argv[4];
2165 int ii;
2166
2167 argc = PyObject_Length(args);
2168 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2169 argv[ii] = PyTuple_GetItem(args,ii);
2170 }
2171 if (argc == 2) {
2172 int _v;
2173 {
2174 void *ptr;
2175 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2176 _v = 0;
2177 PyErr_Clear();
2178 } else {
2179 _v = 1;
2180 }
2181 }
2182 if (_v) {
2183 {
2184 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2185 }
2186 if (_v) {
2187 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2188 }
2189 }
2190 }
2191 if (argc == 3) {
2192 int _v;
2193 {
2194 void *ptr;
2195 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2196 _v = 0;
2197 PyErr_Clear();
2198 } else {
2199 _v = 1;
2200 }
2201 }
2202 if (_v) {
2203 _v = SWIG_CheckInt(argv[1]);
2204 if (_v) {
2205 _v = SWIG_CheckInt(argv[2]);
2206 if (_v) {
2207 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2208 }
2209 }
2210 }
2211 }
2212
2213 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2214 return NULL;
2215 }
2216
2217
2218 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2219 PyObject *resultobj;
2220 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2221 wxPoint *arg2 = 0 ;
2222 wxPoint result;
2223 wxPoint temp2 ;
2224 PyObject * obj0 = 0 ;
2225 PyObject * obj1 = 0 ;
2226
2227 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2230 {
2231 arg2 = &temp2;
2232 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2233 }
2234 {
2235 PyThreadState* __tstate = wxPyBeginAllowThreads();
2236 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2237
2238 wxPyEndAllowThreads(__tstate);
2239 if (PyErr_Occurred()) SWIG_fail;
2240 }
2241 {
2242 wxPoint * resultptr;
2243 resultptr = new wxPoint((wxPoint &) result);
2244 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2245 }
2246 return resultobj;
2247 fail:
2248 return NULL;
2249 }
2250
2251
2252 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2253 PyObject *resultobj;
2254 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2255 int arg2 ;
2256 int arg3 ;
2257 int *arg4 = (int *) 0 ;
2258 int *arg5 = (int *) 0 ;
2259 int temp4 ;
2260 int temp5 ;
2261 PyObject * obj0 = 0 ;
2262 PyObject * obj1 = 0 ;
2263 PyObject * obj2 = 0 ;
2264
2265 arg4 = &temp4;
2266 arg5 = &temp5;
2267 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2270 arg2 = (int) SWIG_AsInt(obj1);
2271 if (PyErr_Occurred()) SWIG_fail;
2272 arg3 = (int) SWIG_AsInt(obj2);
2273 if (PyErr_Occurred()) SWIG_fail;
2274 {
2275 PyThreadState* __tstate = wxPyBeginAllowThreads();
2276 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2277
2278 wxPyEndAllowThreads(__tstate);
2279 if (PyErr_Occurred()) SWIG_fail;
2280 }
2281 Py_INCREF(Py_None); resultobj = Py_None;
2282 {
2283 PyObject *o = PyInt_FromLong((long) (*arg4));
2284 resultobj = t_output_helper(resultobj,o);
2285 }
2286 {
2287 PyObject *o = PyInt_FromLong((long) (*arg5));
2288 resultobj = t_output_helper(resultobj,o);
2289 }
2290 return resultobj;
2291 fail:
2292 return NULL;
2293 }
2294
2295
2296 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2297 int argc;
2298 PyObject *argv[4];
2299 int ii;
2300
2301 argc = PyObject_Length(args);
2302 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2303 argv[ii] = PyTuple_GetItem(args,ii);
2304 }
2305 if (argc == 2) {
2306 int _v;
2307 {
2308 void *ptr;
2309 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2310 _v = 0;
2311 PyErr_Clear();
2312 } else {
2313 _v = 1;
2314 }
2315 }
2316 if (_v) {
2317 {
2318 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2319 }
2320 if (_v) {
2321 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2322 }
2323 }
2324 }
2325 if (argc == 3) {
2326 int _v;
2327 {
2328 void *ptr;
2329 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2330 _v = 0;
2331 PyErr_Clear();
2332 } else {
2333 _v = 1;
2334 }
2335 }
2336 if (_v) {
2337 _v = SWIG_CheckInt(argv[1]);
2338 if (_v) {
2339 _v = SWIG_CheckInt(argv[2]);
2340 if (_v) {
2341 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2342 }
2343 }
2344 }
2345 }
2346
2347 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2348 return NULL;
2349 }
2350
2351
2352 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2353 PyObject *resultobj;
2354 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2355 PyObject * obj0 = 0 ;
2356 char *kwnames[] = {
2357 (char *) "self", NULL
2358 };
2359
2360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2363 {
2364 PyThreadState* __tstate = wxPyBeginAllowThreads();
2365 (arg1)->AdjustScrollbars();
2366
2367 wxPyEndAllowThreads(__tstate);
2368 if (PyErr_Occurred()) SWIG_fail;
2369 }
2370 Py_INCREF(Py_None); resultobj = Py_None;
2371 return resultobj;
2372 fail:
2373 return NULL;
2374 }
2375
2376
2377 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2378 PyObject *resultobj;
2379 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2380 wxScrollWinEvent *arg2 = 0 ;
2381 int result;
2382 PyObject * obj0 = 0 ;
2383 PyObject * obj1 = 0 ;
2384 char *kwnames[] = {
2385 (char *) "self",(char *) "event", NULL
2386 };
2387
2388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2391 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2392 SWIG_POINTER_EXCEPTION | 0)) == -1)
2393 SWIG_fail;
2394 if (arg2 == NULL) {
2395 PyErr_SetString(PyExc_TypeError,"null reference");
2396 SWIG_fail;
2397 }
2398 {
2399 PyThreadState* __tstate = wxPyBeginAllowThreads();
2400 result = (int)(arg1)->CalcScrollInc(*arg2);
2401
2402 wxPyEndAllowThreads(__tstate);
2403 if (PyErr_Occurred()) SWIG_fail;
2404 }
2405 resultobj = SWIG_FromInt((int)result);
2406 return resultobj;
2407 fail:
2408 return NULL;
2409 }
2410
2411
2412 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2413 PyObject *resultobj;
2414 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2415 wxWindow *arg2 = (wxWindow *) 0 ;
2416 PyObject * obj0 = 0 ;
2417 PyObject * obj1 = 0 ;
2418 char *kwnames[] = {
2419 (char *) "self",(char *) "target", NULL
2420 };
2421
2422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2427 {
2428 PyThreadState* __tstate = wxPyBeginAllowThreads();
2429 (arg1)->SetTargetWindow(arg2);
2430
2431 wxPyEndAllowThreads(__tstate);
2432 if (PyErr_Occurred()) SWIG_fail;
2433 }
2434 Py_INCREF(Py_None); resultobj = Py_None;
2435 return resultobj;
2436 fail:
2437 return NULL;
2438 }
2439
2440
2441 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2442 PyObject *resultobj;
2443 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2444 wxWindow *result;
2445 PyObject * obj0 = 0 ;
2446 char *kwnames[] = {
2447 (char *) "self", NULL
2448 };
2449
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2453 {
2454 PyThreadState* __tstate = wxPyBeginAllowThreads();
2455 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2456
2457 wxPyEndAllowThreads(__tstate);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 {
2461 resultobj = wxPyMake_wxObject(result);
2462 }
2463 return resultobj;
2464 fail:
2465 return NULL;
2466 }
2467
2468
2469 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject *resultobj;
2471 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2472 wxRect *arg2 = 0 ;
2473 wxRect temp2 ;
2474 PyObject * obj0 = 0 ;
2475 PyObject * obj1 = 0 ;
2476 char *kwnames[] = {
2477 (char *) "self",(char *) "rect", NULL
2478 };
2479
2480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2483 {
2484 arg2 = &temp2;
2485 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2486 }
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 (arg1)->SetTargetRect((wxRect const &)*arg2);
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
2494 Py_INCREF(Py_None); resultobj = Py_None;
2495 return resultobj;
2496 fail:
2497 return NULL;
2498 }
2499
2500
2501 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2502 PyObject *resultobj;
2503 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2504 wxRect result;
2505 PyObject * obj0 = 0 ;
2506 char *kwnames[] = {
2507 (char *) "self", NULL
2508 };
2509
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2513 {
2514 PyThreadState* __tstate = wxPyBeginAllowThreads();
2515 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2516
2517 wxPyEndAllowThreads(__tstate);
2518 if (PyErr_Occurred()) SWIG_fail;
2519 }
2520 {
2521 wxRect * resultptr;
2522 resultptr = new wxRect((wxRect &) result);
2523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2524 }
2525 return resultobj;
2526 fail:
2527 return NULL;
2528 }
2529
2530
2531 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2532 PyObject *resultobj;
2533 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2534 wxVisualAttributes result;
2535 PyObject * obj0 = 0 ;
2536 char *kwnames[] = {
2537 (char *) "variant", NULL
2538 };
2539
2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2541 if (obj0) {
2542 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2543 if (PyErr_Occurred()) SWIG_fail;
2544 }
2545 {
2546 PyThreadState* __tstate = wxPyBeginAllowThreads();
2547 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2548
2549 wxPyEndAllowThreads(__tstate);
2550 if (PyErr_Occurred()) SWIG_fail;
2551 }
2552 {
2553 wxVisualAttributes * resultptr;
2554 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2555 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2556 }
2557 return resultobj;
2558 fail:
2559 return NULL;
2560 }
2561
2562
2563 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2564 PyObject *obj;
2565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2566 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2567 Py_INCREF(obj);
2568 return Py_BuildValue((char *)"");
2569 }
2570 static int _wrap_FrameNameStr_set(PyObject *_val) {
2571 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2572 return 1;
2573 }
2574
2575
2576 static PyObject *_wrap_FrameNameStr_get() {
2577 PyObject *pyobj;
2578
2579 {
2580 #if wxUSE_UNICODE
2581 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2582 #else
2583 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2584 #endif
2585 }
2586 return pyobj;
2587 }
2588
2589
2590 static int _wrap_DialogNameStr_set(PyObject *_val) {
2591 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2592 return 1;
2593 }
2594
2595
2596 static PyObject *_wrap_DialogNameStr_get() {
2597 PyObject *pyobj;
2598
2599 {
2600 #if wxUSE_UNICODE
2601 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2602 #else
2603 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2604 #endif
2605 }
2606 return pyobj;
2607 }
2608
2609
2610 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2611 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2612 return 1;
2613 }
2614
2615
2616 static PyObject *_wrap_StatusLineNameStr_get() {
2617 PyObject *pyobj;
2618
2619 {
2620 #if wxUSE_UNICODE
2621 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2622 #else
2623 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2624 #endif
2625 }
2626 return pyobj;
2627 }
2628
2629
2630 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2631 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2632 return 1;
2633 }
2634
2635
2636 static PyObject *_wrap_ToolBarNameStr_get() {
2637 PyObject *pyobj;
2638
2639 {
2640 #if wxUSE_UNICODE
2641 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2642 #else
2643 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2644 #endif
2645 }
2646 return pyobj;
2647 }
2648
2649
2650 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2651 PyObject *resultobj;
2652 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2653 bool arg2 = (bool) True ;
2654 PyObject * obj0 = 0 ;
2655 PyObject * obj1 = 0 ;
2656 char *kwnames[] = {
2657 (char *) "self",(char *) "maximize", NULL
2658 };
2659
2660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2663 if (obj1) {
2664 arg2 = (bool) SWIG_AsBool(obj1);
2665 if (PyErr_Occurred()) SWIG_fail;
2666 }
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 (arg1)->Maximize(arg2);
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 Py_INCREF(Py_None); resultobj = Py_None;
2675 return resultobj;
2676 fail:
2677 return NULL;
2678 }
2679
2680
2681 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2682 PyObject *resultobj;
2683 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2684 PyObject * obj0 = 0 ;
2685 char *kwnames[] = {
2686 (char *) "self", NULL
2687 };
2688
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2692 {
2693 PyThreadState* __tstate = wxPyBeginAllowThreads();
2694 (arg1)->Restore();
2695
2696 wxPyEndAllowThreads(__tstate);
2697 if (PyErr_Occurred()) SWIG_fail;
2698 }
2699 Py_INCREF(Py_None); resultobj = Py_None;
2700 return resultobj;
2701 fail:
2702 return NULL;
2703 }
2704
2705
2706 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2707 PyObject *resultobj;
2708 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2709 bool arg2 = (bool) True ;
2710 PyObject * obj0 = 0 ;
2711 PyObject * obj1 = 0 ;
2712 char *kwnames[] = {
2713 (char *) "self",(char *) "iconize", NULL
2714 };
2715
2716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2719 if (obj1) {
2720 arg2 = (bool) SWIG_AsBool(obj1);
2721 if (PyErr_Occurred()) SWIG_fail;
2722 }
2723 {
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 (arg1)->Iconize(arg2);
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) SWIG_fail;
2729 }
2730 Py_INCREF(Py_None); resultobj = Py_None;
2731 return resultobj;
2732 fail:
2733 return NULL;
2734 }
2735
2736
2737 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2738 PyObject *resultobj;
2739 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2740 bool result;
2741 PyObject * obj0 = 0 ;
2742 char *kwnames[] = {
2743 (char *) "self", NULL
2744 };
2745
2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2749 {
2750 PyThreadState* __tstate = wxPyBeginAllowThreads();
2751 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2752
2753 wxPyEndAllowThreads(__tstate);
2754 if (PyErr_Occurred()) SWIG_fail;
2755 }
2756 {
2757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2758 }
2759 return resultobj;
2760 fail:
2761 return NULL;
2762 }
2763
2764
2765 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2766 PyObject *resultobj;
2767 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2768 bool result;
2769 PyObject * obj0 = 0 ;
2770 char *kwnames[] = {
2771 (char *) "self", NULL
2772 };
2773
2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2777 {
2778 PyThreadState* __tstate = wxPyBeginAllowThreads();
2779 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2780
2781 wxPyEndAllowThreads(__tstate);
2782 if (PyErr_Occurred()) SWIG_fail;
2783 }
2784 {
2785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2786 }
2787 return resultobj;
2788 fail:
2789 return NULL;
2790 }
2791
2792
2793 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2794 PyObject *resultobj;
2795 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2796 wxIcon result;
2797 PyObject * obj0 = 0 ;
2798 char *kwnames[] = {
2799 (char *) "self", NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2805 {
2806 PyThreadState* __tstate = wxPyBeginAllowThreads();
2807 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2808
2809 wxPyEndAllowThreads(__tstate);
2810 if (PyErr_Occurred()) SWIG_fail;
2811 }
2812 {
2813 wxIcon * resultptr;
2814 resultptr = new wxIcon((wxIcon &) result);
2815 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2816 }
2817 return resultobj;
2818 fail:
2819 return NULL;
2820 }
2821
2822
2823 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2824 PyObject *resultobj;
2825 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2826 wxIcon *arg2 = 0 ;
2827 PyObject * obj0 = 0 ;
2828 PyObject * obj1 = 0 ;
2829 char *kwnames[] = {
2830 (char *) "self",(char *) "icon", NULL
2831 };
2832
2833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2837 SWIG_POINTER_EXCEPTION | 0)) == -1)
2838 SWIG_fail;
2839 if (arg2 == NULL) {
2840 PyErr_SetString(PyExc_TypeError,"null reference");
2841 SWIG_fail;
2842 }
2843 {
2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
2845 (arg1)->SetIcon((wxIcon const &)*arg2);
2846
2847 wxPyEndAllowThreads(__tstate);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 Py_INCREF(Py_None); resultobj = Py_None;
2851 return resultobj;
2852 fail:
2853 return NULL;
2854 }
2855
2856
2857 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2858 PyObject *resultobj;
2859 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2860 wxIconBundle *arg2 = 0 ;
2861 PyObject * obj0 = 0 ;
2862 PyObject * obj1 = 0 ;
2863 char *kwnames[] = {
2864 (char *) "self",(char *) "icons", NULL
2865 };
2866
2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2870 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2871 SWIG_POINTER_EXCEPTION | 0)) == -1)
2872 SWIG_fail;
2873 if (arg2 == NULL) {
2874 PyErr_SetString(PyExc_TypeError,"null reference");
2875 SWIG_fail;
2876 }
2877 {
2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
2879 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2880
2881 wxPyEndAllowThreads(__tstate);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
2884 Py_INCREF(Py_None); resultobj = Py_None;
2885 return resultobj;
2886 fail:
2887 return NULL;
2888 }
2889
2890
2891 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2892 PyObject *resultobj;
2893 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2894 bool arg2 ;
2895 long arg3 = (long) wxFULLSCREEN_ALL ;
2896 bool result;
2897 PyObject * obj0 = 0 ;
2898 PyObject * obj1 = 0 ;
2899 PyObject * obj2 = 0 ;
2900 char *kwnames[] = {
2901 (char *) "self",(char *) "show",(char *) "style", NULL
2902 };
2903
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2907 arg2 = (bool) SWIG_AsBool(obj1);
2908 if (PyErr_Occurred()) SWIG_fail;
2909 if (obj2) {
2910 arg3 = (long) SWIG_AsLong(obj2);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 {
2914 PyThreadState* __tstate = wxPyBeginAllowThreads();
2915 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2916
2917 wxPyEndAllowThreads(__tstate);
2918 if (PyErr_Occurred()) SWIG_fail;
2919 }
2920 {
2921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2922 }
2923 return resultobj;
2924 fail:
2925 return NULL;
2926 }
2927
2928
2929 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2930 PyObject *resultobj;
2931 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2932 bool result;
2933 PyObject * obj0 = 0 ;
2934 char *kwnames[] = {
2935 (char *) "self", NULL
2936 };
2937
2938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2941 {
2942 PyThreadState* __tstate = wxPyBeginAllowThreads();
2943 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2944
2945 wxPyEndAllowThreads(__tstate);
2946 if (PyErr_Occurred()) SWIG_fail;
2947 }
2948 {
2949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2950 }
2951 return resultobj;
2952 fail:
2953 return NULL;
2954 }
2955
2956
2957 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2958 PyObject *resultobj;
2959 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2960 wxString *arg2 = 0 ;
2961 bool temp2 = False ;
2962 PyObject * obj0 = 0 ;
2963 PyObject * obj1 = 0 ;
2964 char *kwnames[] = {
2965 (char *) "self",(char *) "title", NULL
2966 };
2967
2968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2971 {
2972 arg2 = wxString_in_helper(obj1);
2973 if (arg2 == NULL) SWIG_fail;
2974 temp2 = True;
2975 }
2976 {
2977 PyThreadState* __tstate = wxPyBeginAllowThreads();
2978 (arg1)->SetTitle((wxString const &)*arg2);
2979
2980 wxPyEndAllowThreads(__tstate);
2981 if (PyErr_Occurred()) SWIG_fail;
2982 }
2983 Py_INCREF(Py_None); resultobj = Py_None;
2984 {
2985 if (temp2)
2986 delete arg2;
2987 }
2988 return resultobj;
2989 fail:
2990 {
2991 if (temp2)
2992 delete arg2;
2993 }
2994 return NULL;
2995 }
2996
2997
2998 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2999 PyObject *resultobj;
3000 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3001 wxString result;
3002 PyObject * obj0 = 0 ;
3003 char *kwnames[] = {
3004 (char *) "self", NULL
3005 };
3006
3007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3010 {
3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
3012 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3013
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) SWIG_fail;
3016 }
3017 {
3018 #if wxUSE_UNICODE
3019 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3020 #else
3021 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3022 #endif
3023 }
3024 return resultobj;
3025 fail:
3026 return NULL;
3027 }
3028
3029
3030 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3031 PyObject *resultobj;
3032 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3033 wxRegion *arg2 = 0 ;
3034 bool result;
3035 PyObject * obj0 = 0 ;
3036 PyObject * obj1 = 0 ;
3037 char *kwnames[] = {
3038 (char *) "self",(char *) "region", NULL
3039 };
3040
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3045 SWIG_POINTER_EXCEPTION | 0)) == -1)
3046 SWIG_fail;
3047 if (arg2 == NULL) {
3048 PyErr_SetString(PyExc_TypeError,"null reference");
3049 SWIG_fail;
3050 }
3051 {
3052 PyThreadState* __tstate = wxPyBeginAllowThreads();
3053 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3054
3055 wxPyEndAllowThreads(__tstate);
3056 if (PyErr_Occurred()) SWIG_fail;
3057 }
3058 {
3059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3060 }
3061 return resultobj;
3062 fail:
3063 return NULL;
3064 }
3065
3066
3067 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
3068 PyObject *resultobj;
3069 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3070 bool arg2 ;
3071 PyObject * obj0 = 0 ;
3072 PyObject * obj1 = 0 ;
3073 char *kwnames[] = {
3074 (char *) "self",(char *) "on", NULL
3075 };
3076
3077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3080 arg2 = (bool) SWIG_AsBool(obj1);
3081 if (PyErr_Occurred()) SWIG_fail;
3082 {
3083 PyThreadState* __tstate = wxPyBeginAllowThreads();
3084 (arg1)->MacSetMetalAppearance(arg2);
3085
3086 wxPyEndAllowThreads(__tstate);
3087 if (PyErr_Occurred()) SWIG_fail;
3088 }
3089 Py_INCREF(Py_None); resultobj = Py_None;
3090 return resultobj;
3091 fail:
3092 return NULL;
3093 }
3094
3095
3096 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
3097 PyObject *resultobj;
3098 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3099 bool result;
3100 PyObject * obj0 = 0 ;
3101 char *kwnames[] = {
3102 (char *) "self", NULL
3103 };
3104
3105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3108 {
3109 PyThreadState* __tstate = wxPyBeginAllowThreads();
3110 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
3111
3112 wxPyEndAllowThreads(__tstate);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 {
3116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3117 }
3118 return resultobj;
3119 fail:
3120 return NULL;
3121 }
3122
3123
3124 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3125 PyObject *obj;
3126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3127 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3128 Py_INCREF(obj);
3129 return Py_BuildValue((char *)"");
3130 }
3131 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3132 PyObject *resultobj;
3133 wxWindow *arg1 = (wxWindow *) 0 ;
3134 int arg2 ;
3135 wxString *arg3 = 0 ;
3136 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3137 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3138 wxSize const &arg5_defvalue = wxDefaultSize ;
3139 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3140 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3141 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3142 wxString *arg7 = (wxString *) &arg7_defvalue ;
3143 wxFrame *result;
3144 bool temp3 = False ;
3145 wxPoint temp4 ;
3146 wxSize temp5 ;
3147 bool temp7 = False ;
3148 PyObject * obj0 = 0 ;
3149 PyObject * obj1 = 0 ;
3150 PyObject * obj2 = 0 ;
3151 PyObject * obj3 = 0 ;
3152 PyObject * obj4 = 0 ;
3153 PyObject * obj5 = 0 ;
3154 PyObject * obj6 = 0 ;
3155 char *kwnames[] = {
3156 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3157 };
3158
3159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3162 arg2 = (int const) SWIG_AsInt(obj1);
3163 if (PyErr_Occurred()) SWIG_fail;
3164 {
3165 arg3 = wxString_in_helper(obj2);
3166 if (arg3 == NULL) SWIG_fail;
3167 temp3 = True;
3168 }
3169 if (obj3) {
3170 {
3171 arg4 = &temp4;
3172 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3173 }
3174 }
3175 if (obj4) {
3176 {
3177 arg5 = &temp5;
3178 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3179 }
3180 }
3181 if (obj5) {
3182 arg6 = (long) SWIG_AsLong(obj5);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 if (obj6) {
3186 {
3187 arg7 = wxString_in_helper(obj6);
3188 if (arg7 == NULL) SWIG_fail;
3189 temp7 = True;
3190 }
3191 }
3192 {
3193 PyThreadState* __tstate = wxPyBeginAllowThreads();
3194 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3195
3196 wxPyEndAllowThreads(__tstate);
3197 if (PyErr_Occurred()) SWIG_fail;
3198 }
3199 {
3200 resultobj = wxPyMake_wxObject(result);
3201 }
3202 {
3203 if (temp3)
3204 delete arg3;
3205 }
3206 {
3207 if (temp7)
3208 delete arg7;
3209 }
3210 return resultobj;
3211 fail:
3212 {
3213 if (temp3)
3214 delete arg3;
3215 }
3216 {
3217 if (temp7)
3218 delete arg7;
3219 }
3220 return NULL;
3221 }
3222
3223
3224 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3225 PyObject *resultobj;
3226 wxFrame *result;
3227 char *kwnames[] = {
3228 NULL
3229 };
3230
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3232 {
3233 PyThreadState* __tstate = wxPyBeginAllowThreads();
3234 result = (wxFrame *)new wxFrame();
3235
3236 wxPyEndAllowThreads(__tstate);
3237 if (PyErr_Occurred()) SWIG_fail;
3238 }
3239 {
3240 resultobj = wxPyMake_wxObject(result);
3241 }
3242 return resultobj;
3243 fail:
3244 return NULL;
3245 }
3246
3247
3248 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3249 PyObject *resultobj;
3250 wxFrame *arg1 = (wxFrame *) 0 ;
3251 wxWindow *arg2 = (wxWindow *) 0 ;
3252 int arg3 ;
3253 wxString *arg4 = 0 ;
3254 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3255 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3256 wxSize const &arg6_defvalue = wxDefaultSize ;
3257 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3258 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3259 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3260 wxString *arg8 = (wxString *) &arg8_defvalue ;
3261 bool result;
3262 bool temp4 = False ;
3263 wxPoint temp5 ;
3264 wxSize temp6 ;
3265 bool temp8 = False ;
3266 PyObject * obj0 = 0 ;
3267 PyObject * obj1 = 0 ;
3268 PyObject * obj2 = 0 ;
3269 PyObject * obj3 = 0 ;
3270 PyObject * obj4 = 0 ;
3271 PyObject * obj5 = 0 ;
3272 PyObject * obj6 = 0 ;
3273 PyObject * obj7 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3283 arg3 = (int const) SWIG_AsInt(obj2);
3284 if (PyErr_Occurred()) SWIG_fail;
3285 {
3286 arg4 = wxString_in_helper(obj3);
3287 if (arg4 == NULL) SWIG_fail;
3288 temp4 = True;
3289 }
3290 if (obj4) {
3291 {
3292 arg5 = &temp5;
3293 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3294 }
3295 }
3296 if (obj5) {
3297 {
3298 arg6 = &temp6;
3299 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3300 }
3301 }
3302 if (obj6) {
3303 arg7 = (long) SWIG_AsLong(obj6);
3304 if (PyErr_Occurred()) SWIG_fail;
3305 }
3306 if (obj7) {
3307 {
3308 arg8 = wxString_in_helper(obj7);
3309 if (arg8 == NULL) SWIG_fail;
3310 temp8 = True;
3311 }
3312 }
3313 {
3314 PyThreadState* __tstate = wxPyBeginAllowThreads();
3315 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3316
3317 wxPyEndAllowThreads(__tstate);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 }
3320 {
3321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3322 }
3323 {
3324 if (temp4)
3325 delete arg4;
3326 }
3327 {
3328 if (temp8)
3329 delete arg8;
3330 }
3331 return resultobj;
3332 fail:
3333 {
3334 if (temp4)
3335 delete arg4;
3336 }
3337 {
3338 if (temp8)
3339 delete arg8;
3340 }
3341 return NULL;
3342 }
3343
3344
3345 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3346 PyObject *resultobj;
3347 wxFrame *arg1 = (wxFrame *) 0 ;
3348 wxPoint result;
3349 PyObject * obj0 = 0 ;
3350 char *kwnames[] = {
3351 (char *) "self", NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3357 {
3358 PyThreadState* __tstate = wxPyBeginAllowThreads();
3359 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3360
3361 wxPyEndAllowThreads(__tstate);
3362 if (PyErr_Occurred()) SWIG_fail;
3363 }
3364 {
3365 wxPoint * resultptr;
3366 resultptr = new wxPoint((wxPoint &) result);
3367 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3368 }
3369 return resultobj;
3370 fail:
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxFrame *arg1 = (wxFrame *) 0 ;
3378 PyObject * obj0 = 0 ;
3379 char *kwnames[] = {
3380 (char *) "self", NULL
3381 };
3382
3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3386 {
3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
3388 (arg1)->SendSizeEvent();
3389
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 Py_INCREF(Py_None); resultobj = Py_None;
3394 return resultobj;
3395 fail:
3396 return NULL;
3397 }
3398
3399
3400 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3401 PyObject *resultobj;
3402 wxFrame *arg1 = (wxFrame *) 0 ;
3403 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3404 PyObject * obj0 = 0 ;
3405 PyObject * obj1 = 0 ;
3406 char *kwnames[] = {
3407 (char *) "self",(char *) "menubar", NULL
3408 };
3409
3410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3415 {
3416 PyThreadState* __tstate = wxPyBeginAllowThreads();
3417 (arg1)->SetMenuBar(arg2);
3418
3419 wxPyEndAllowThreads(__tstate);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 }
3422 Py_INCREF(Py_None); resultobj = Py_None;
3423 return resultobj;
3424 fail:
3425 return NULL;
3426 }
3427
3428
3429 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3430 PyObject *resultobj;
3431 wxFrame *arg1 = (wxFrame *) 0 ;
3432 wxMenuBar *result;
3433 PyObject * obj0 = 0 ;
3434 char *kwnames[] = {
3435 (char *) "self", NULL
3436 };
3437
3438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 {
3449 resultobj = wxPyMake_wxObject(result);
3450 }
3451 return resultobj;
3452 fail:
3453 return NULL;
3454 }
3455
3456
3457 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxFrame *arg1 = (wxFrame *) 0 ;
3460 int arg2 ;
3461 bool result;
3462 PyObject * obj0 = 0 ;
3463 PyObject * obj1 = 0 ;
3464 char *kwnames[] = {
3465 (char *) "self",(char *) "winid", NULL
3466 };
3467
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3471 arg2 = (int) SWIG_AsInt(obj1);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 {
3474 PyThreadState* __tstate = wxPyBeginAllowThreads();
3475 result = (bool)(arg1)->ProcessCommand(arg2);
3476
3477 wxPyEndAllowThreads(__tstate);
3478 if (PyErr_Occurred()) SWIG_fail;
3479 }
3480 {
3481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3482 }
3483 return resultobj;
3484 fail:
3485 return NULL;
3486 }
3487
3488
3489 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3490 PyObject *resultobj;
3491 wxFrame *arg1 = (wxFrame *) 0 ;
3492 int arg2 = (int) 1 ;
3493 long arg3 = (long) wxST_SIZEGRIP ;
3494 int arg4 = (int) 0 ;
3495 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3496 wxString *arg5 = (wxString *) &arg5_defvalue ;
3497 wxStatusBar *result;
3498 bool temp5 = False ;
3499 PyObject * obj0 = 0 ;
3500 PyObject * obj1 = 0 ;
3501 PyObject * obj2 = 0 ;
3502 PyObject * obj3 = 0 ;
3503 PyObject * obj4 = 0 ;
3504 char *kwnames[] = {
3505 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3506 };
3507
3508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3511 if (obj1) {
3512 arg2 = (int) SWIG_AsInt(obj1);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
3515 if (obj2) {
3516 arg3 = (long) SWIG_AsLong(obj2);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 if (obj3) {
3520 arg4 = (int) SWIG_AsInt(obj3);
3521 if (PyErr_Occurred()) SWIG_fail;
3522 }
3523 if (obj4) {
3524 {
3525 arg5 = wxString_in_helper(obj4);
3526 if (arg5 == NULL) SWIG_fail;
3527 temp5 = True;
3528 }
3529 }
3530 {
3531 PyThreadState* __tstate = wxPyBeginAllowThreads();
3532 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3533
3534 wxPyEndAllowThreads(__tstate);
3535 if (PyErr_Occurred()) SWIG_fail;
3536 }
3537 {
3538 resultobj = wxPyMake_wxObject(result);
3539 }
3540 {
3541 if (temp5)
3542 delete arg5;
3543 }
3544 return resultobj;
3545 fail:
3546 {
3547 if (temp5)
3548 delete arg5;
3549 }
3550 return NULL;
3551 }
3552
3553
3554 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3555 PyObject *resultobj;
3556 wxFrame *arg1 = (wxFrame *) 0 ;
3557 wxStatusBar *result;
3558 PyObject * obj0 = 0 ;
3559 char *kwnames[] = {
3560 (char *) "self", NULL
3561 };
3562
3563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3566 {
3567 PyThreadState* __tstate = wxPyBeginAllowThreads();
3568 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3569
3570 wxPyEndAllowThreads(__tstate);
3571 if (PyErr_Occurred()) SWIG_fail;
3572 }
3573 {
3574 resultobj = wxPyMake_wxObject(result);
3575 }
3576 return resultobj;
3577 fail:
3578 return NULL;
3579 }
3580
3581
3582 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3583 PyObject *resultobj;
3584 wxFrame *arg1 = (wxFrame *) 0 ;
3585 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3586 PyObject * obj0 = 0 ;
3587 PyObject * obj1 = 0 ;
3588 char *kwnames[] = {
3589 (char *) "self",(char *) "statBar", NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3597 {
3598 PyThreadState* __tstate = wxPyBeginAllowThreads();
3599 (arg1)->SetStatusBar(arg2);
3600
3601 wxPyEndAllowThreads(__tstate);
3602 if (PyErr_Occurred()) SWIG_fail;
3603 }
3604 Py_INCREF(Py_None); resultobj = Py_None;
3605 return resultobj;
3606 fail:
3607 return NULL;
3608 }
3609
3610
3611 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3612 PyObject *resultobj;
3613 wxFrame *arg1 = (wxFrame *) 0 ;
3614 wxString *arg2 = 0 ;
3615 int arg3 = (int) 0 ;
3616 bool temp2 = False ;
3617 PyObject * obj0 = 0 ;
3618 PyObject * obj1 = 0 ;
3619 PyObject * obj2 = 0 ;
3620 char *kwnames[] = {
3621 (char *) "self",(char *) "text",(char *) "number", NULL
3622 };
3623
3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3627 {
3628 arg2 = wxString_in_helper(obj1);
3629 if (arg2 == NULL) SWIG_fail;
3630 temp2 = True;
3631 }
3632 if (obj2) {
3633 arg3 = (int) SWIG_AsInt(obj2);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 }
3636 {
3637 PyThreadState* __tstate = wxPyBeginAllowThreads();
3638 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3639
3640 wxPyEndAllowThreads(__tstate);
3641 if (PyErr_Occurred()) SWIG_fail;
3642 }
3643 Py_INCREF(Py_None); resultobj = Py_None;
3644 {
3645 if (temp2)
3646 delete arg2;
3647 }
3648 return resultobj;
3649 fail:
3650 {
3651 if (temp2)
3652 delete arg2;
3653 }
3654 return NULL;
3655 }
3656
3657
3658 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3659 PyObject *resultobj;
3660 wxFrame *arg1 = (wxFrame *) 0 ;
3661 int arg2 ;
3662 int *arg3 = (int *) 0 ;
3663 PyObject * obj0 = 0 ;
3664 PyObject * obj1 = 0 ;
3665 char *kwnames[] = {
3666 (char *) "self",(char *) "widths", NULL
3667 };
3668
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3672 {
3673 arg2 = PyList_Size(obj1);
3674 arg3 = int_LIST_helper(obj1);
3675 if (arg3 == NULL) SWIG_fail;
3676 }
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3680
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 Py_INCREF(Py_None); resultobj = Py_None;
3685 {
3686 if (arg3) delete [] arg3;
3687 }
3688 return resultobj;
3689 fail:
3690 {
3691 if (arg3) delete [] arg3;
3692 }
3693 return NULL;
3694 }
3695
3696
3697 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3698 PyObject *resultobj;
3699 wxFrame *arg1 = (wxFrame *) 0 ;
3700 wxString *arg2 = 0 ;
3701 int arg3 = (int) 0 ;
3702 bool temp2 = False ;
3703 PyObject * obj0 = 0 ;
3704 PyObject * obj1 = 0 ;
3705 PyObject * obj2 = 0 ;
3706 char *kwnames[] = {
3707 (char *) "self",(char *) "text",(char *) "number", NULL
3708 };
3709
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3713 {
3714 arg2 = wxString_in_helper(obj1);
3715 if (arg2 == NULL) SWIG_fail;
3716 temp2 = True;
3717 }
3718 if (obj2) {
3719 arg3 = (int) SWIG_AsInt(obj2);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 }
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
3724 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 Py_INCREF(Py_None); resultobj = Py_None;
3730 {
3731 if (temp2)
3732 delete arg2;
3733 }
3734 return resultobj;
3735 fail:
3736 {
3737 if (temp2)
3738 delete arg2;
3739 }
3740 return NULL;
3741 }
3742
3743
3744 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3745 PyObject *resultobj;
3746 wxFrame *arg1 = (wxFrame *) 0 ;
3747 int arg2 = (int) 0 ;
3748 PyObject * obj0 = 0 ;
3749 PyObject * obj1 = 0 ;
3750 char *kwnames[] = {
3751 (char *) "self",(char *) "number", NULL
3752 };
3753
3754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3757 if (obj1) {
3758 arg2 = (int) SWIG_AsInt(obj1);
3759 if (PyErr_Occurred()) SWIG_fail;
3760 }
3761 {
3762 PyThreadState* __tstate = wxPyBeginAllowThreads();
3763 (arg1)->PopStatusText(arg2);
3764
3765 wxPyEndAllowThreads(__tstate);
3766 if (PyErr_Occurred()) SWIG_fail;
3767 }
3768 Py_INCREF(Py_None); resultobj = Py_None;
3769 return resultobj;
3770 fail:
3771 return NULL;
3772 }
3773
3774
3775 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3776 PyObject *resultobj;
3777 wxFrame *arg1 = (wxFrame *) 0 ;
3778 int arg2 ;
3779 PyObject * obj0 = 0 ;
3780 PyObject * obj1 = 0 ;
3781 char *kwnames[] = {
3782 (char *) "self",(char *) "n", NULL
3783 };
3784
3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3788 arg2 = (int) SWIG_AsInt(obj1);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 (arg1)->SetStatusBarPane(arg2);
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 Py_INCREF(Py_None); resultobj = Py_None;
3798 return resultobj;
3799 fail:
3800 return NULL;
3801 }
3802
3803
3804 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3805 PyObject *resultobj;
3806 wxFrame *arg1 = (wxFrame *) 0 ;
3807 int result;
3808 PyObject * obj0 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "self", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3819
3820 wxPyEndAllowThreads(__tstate);
3821 if (PyErr_Occurred()) SWIG_fail;
3822 }
3823 resultobj = SWIG_FromInt((int)result);
3824 return resultobj;
3825 fail:
3826 return NULL;
3827 }
3828
3829
3830 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3831 PyObject *resultobj;
3832 wxFrame *arg1 = (wxFrame *) 0 ;
3833 long arg2 = (long) -1 ;
3834 int arg3 = (int) -1 ;
3835 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3836 wxString *arg4 = (wxString *) &arg4_defvalue ;
3837 wxToolBar *result;
3838 bool temp4 = False ;
3839 PyObject * obj0 = 0 ;
3840 PyObject * obj1 = 0 ;
3841 PyObject * obj2 = 0 ;
3842 PyObject * obj3 = 0 ;
3843 char *kwnames[] = {
3844 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3845 };
3846
3847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3850 if (obj1) {
3851 arg2 = (long) SWIG_AsLong(obj1);
3852 if (PyErr_Occurred()) SWIG_fail;
3853 }
3854 if (obj2) {
3855 arg3 = (int) SWIG_AsInt(obj2);
3856 if (PyErr_Occurred()) SWIG_fail;
3857 }
3858 if (obj3) {
3859 {
3860 arg4 = wxString_in_helper(obj3);
3861 if (arg4 == NULL) SWIG_fail;
3862 temp4 = True;
3863 }
3864 }
3865 {
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) SWIG_fail;
3871 }
3872 {
3873 resultobj = wxPyMake_wxObject(result);
3874 }
3875 {
3876 if (temp4)
3877 delete arg4;
3878 }
3879 return resultobj;
3880 fail:
3881 {
3882 if (temp4)
3883 delete arg4;
3884 }
3885 return NULL;
3886 }
3887
3888
3889 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3890 PyObject *resultobj;
3891 wxFrame *arg1 = (wxFrame *) 0 ;
3892 wxToolBar *result;
3893 PyObject * obj0 = 0 ;
3894 char *kwnames[] = {
3895 (char *) "self", NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 {
3909 resultobj = wxPyMake_wxObject(result);
3910 }
3911 return resultobj;
3912 fail:
3913 return NULL;
3914 }
3915
3916
3917 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3918 PyObject *resultobj;
3919 wxFrame *arg1 = (wxFrame *) 0 ;
3920 wxToolBar *arg2 = (wxToolBar *) 0 ;
3921 PyObject * obj0 = 0 ;
3922 PyObject * obj1 = 0 ;
3923 char *kwnames[] = {
3924 (char *) "self",(char *) "toolbar", NULL
3925 };
3926
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3930 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3932 {
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
3934 (arg1)->SetToolBar(arg2);
3935
3936 wxPyEndAllowThreads(__tstate);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 }
3939 Py_INCREF(Py_None); resultobj = Py_None;
3940 return resultobj;
3941 fail:
3942 return NULL;
3943 }
3944
3945
3946 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3947 PyObject *resultobj;
3948 wxFrame *arg1 = (wxFrame *) 0 ;
3949 wxString *arg2 = 0 ;
3950 bool arg3 ;
3951 bool temp2 = False ;
3952 PyObject * obj0 = 0 ;
3953 PyObject * obj1 = 0 ;
3954 PyObject * obj2 = 0 ;
3955 char *kwnames[] = {
3956 (char *) "self",(char *) "text",(char *) "show", NULL
3957 };
3958
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3962 {
3963 arg2 = wxString_in_helper(obj1);
3964 if (arg2 == NULL) SWIG_fail;
3965 temp2 = True;
3966 }
3967 arg3 = (bool) SWIG_AsBool(obj2);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 {
3970 PyThreadState* __tstate = wxPyBeginAllowThreads();
3971 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3972
3973 wxPyEndAllowThreads(__tstate);
3974 if (PyErr_Occurred()) SWIG_fail;
3975 }
3976 Py_INCREF(Py_None); resultobj = Py_None;
3977 {
3978 if (temp2)
3979 delete arg2;
3980 }
3981 return resultobj;
3982 fail:
3983 {
3984 if (temp2)
3985 delete arg2;
3986 }
3987 return NULL;
3988 }
3989
3990
3991 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj;
3993 wxFrame *arg1 = (wxFrame *) 0 ;
3994 wxMenu *arg2 = (wxMenu *) NULL ;
3995 PyObject * obj0 = 0 ;
3996 PyObject * obj1 = 0 ;
3997 char *kwnames[] = {
3998 (char *) "self",(char *) "menu", NULL
3999 };
4000
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4004 if (obj1) {
4005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4007 }
4008 {
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 (arg1)->DoMenuUpdates(arg2);
4011
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 Py_INCREF(Py_None); resultobj = Py_None;
4016 return resultobj;
4017 fail:
4018 return NULL;
4019 }
4020
4021
4022 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4023 PyObject *resultobj;
4024 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4025 wxVisualAttributes result;
4026 PyObject * obj0 = 0 ;
4027 char *kwnames[] = {
4028 (char *) "variant", NULL
4029 };
4030
4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4032 if (obj0) {
4033 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4034 if (PyErr_Occurred()) SWIG_fail;
4035 }
4036 {
4037 PyThreadState* __tstate = wxPyBeginAllowThreads();
4038 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4039
4040 wxPyEndAllowThreads(__tstate);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 {
4044 wxVisualAttributes * resultptr;
4045 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4046 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4047 }
4048 return resultobj;
4049 fail:
4050 return NULL;
4051 }
4052
4053
4054 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
4055 PyObject *obj;
4056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4057 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4058 Py_INCREF(obj);
4059 return Py_BuildValue((char *)"");
4060 }
4061 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4062 PyObject *resultobj;
4063 wxWindow *arg1 = (wxWindow *) 0 ;
4064 int arg2 ;
4065 wxString *arg3 = 0 ;
4066 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4067 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4068 wxSize const &arg5_defvalue = wxDefaultSize ;
4069 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4070 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4071 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4072 wxString *arg7 = (wxString *) &arg7_defvalue ;
4073 wxDialog *result;
4074 bool temp3 = False ;
4075 wxPoint temp4 ;
4076 wxSize temp5 ;
4077 bool temp7 = False ;
4078 PyObject * obj0 = 0 ;
4079 PyObject * obj1 = 0 ;
4080 PyObject * obj2 = 0 ;
4081 PyObject * obj3 = 0 ;
4082 PyObject * obj4 = 0 ;
4083 PyObject * obj5 = 0 ;
4084 PyObject * obj6 = 0 ;
4085 char *kwnames[] = {
4086 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4087 };
4088
4089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4092 arg2 = (int const) SWIG_AsInt(obj1);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 {
4095 arg3 = wxString_in_helper(obj2);
4096 if (arg3 == NULL) SWIG_fail;
4097 temp3 = True;
4098 }
4099 if (obj3) {
4100 {
4101 arg4 = &temp4;
4102 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4103 }
4104 }
4105 if (obj4) {
4106 {
4107 arg5 = &temp5;
4108 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4109 }
4110 }
4111 if (obj5) {
4112 arg6 = (long) SWIG_AsLong(obj5);
4113 if (PyErr_Occurred()) SWIG_fail;
4114 }
4115 if (obj6) {
4116 {
4117 arg7 = wxString_in_helper(obj6);
4118 if (arg7 == NULL) SWIG_fail;
4119 temp7 = True;
4120 }
4121 }
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4125
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 {
4130 resultobj = wxPyMake_wxObject(result);
4131 }
4132 {
4133 if (temp3)
4134 delete arg3;
4135 }
4136 {
4137 if (temp7)
4138 delete arg7;
4139 }
4140 return resultobj;
4141 fail:
4142 {
4143 if (temp3)
4144 delete arg3;
4145 }
4146 {
4147 if (temp7)
4148 delete arg7;
4149 }
4150 return NULL;
4151 }
4152
4153
4154 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4155 PyObject *resultobj;
4156 wxDialog *result;
4157 char *kwnames[] = {
4158 NULL
4159 };
4160
4161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4162 {
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 result = (wxDialog *)new wxDialog();
4165
4166 wxPyEndAllowThreads(__tstate);
4167 if (PyErr_Occurred()) SWIG_fail;
4168 }
4169 {
4170 resultobj = wxPyMake_wxObject(result);
4171 }
4172 return resultobj;
4173 fail:
4174 return NULL;
4175 }
4176
4177
4178 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4179 PyObject *resultobj;
4180 wxDialog *arg1 = (wxDialog *) 0 ;
4181 wxWindow *arg2 = (wxWindow *) 0 ;
4182 int arg3 ;
4183 wxString *arg4 = 0 ;
4184 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4185 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4186 wxSize const &arg6_defvalue = wxDefaultSize ;
4187 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4188 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4189 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4190 wxString *arg8 = (wxString *) &arg8_defvalue ;
4191 bool result;
4192 bool temp4 = False ;
4193 wxPoint temp5 ;
4194 wxSize temp6 ;
4195 bool temp8 = False ;
4196 PyObject * obj0 = 0 ;
4197 PyObject * obj1 = 0 ;
4198 PyObject * obj2 = 0 ;
4199 PyObject * obj3 = 0 ;
4200 PyObject * obj4 = 0 ;
4201 PyObject * obj5 = 0 ;
4202 PyObject * obj6 = 0 ;
4203 PyObject * obj7 = 0 ;
4204 char *kwnames[] = {
4205 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4206 };
4207
4208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4213 arg3 = (int const) SWIG_AsInt(obj2);
4214 if (PyErr_Occurred()) SWIG_fail;
4215 {
4216 arg4 = wxString_in_helper(obj3);
4217 if (arg4 == NULL) SWIG_fail;
4218 temp4 = True;
4219 }
4220 if (obj4) {
4221 {
4222 arg5 = &temp5;
4223 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4224 }
4225 }
4226 if (obj5) {
4227 {
4228 arg6 = &temp6;
4229 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4230 }
4231 }
4232 if (obj6) {
4233 arg7 = (long) SWIG_AsLong(obj6);
4234 if (PyErr_Occurred()) SWIG_fail;
4235 }
4236 if (obj7) {
4237 {
4238 arg8 = wxString_in_helper(obj7);
4239 if (arg8 == NULL) SWIG_fail;
4240 temp8 = True;
4241 }
4242 }
4243 {
4244 PyThreadState* __tstate = wxPyBeginAllowThreads();
4245 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4246
4247 wxPyEndAllowThreads(__tstate);
4248 if (PyErr_Occurred()) SWIG_fail;
4249 }
4250 {
4251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4252 }
4253 {
4254 if (temp4)
4255 delete arg4;
4256 }
4257 {
4258 if (temp8)
4259 delete arg8;
4260 }
4261 return resultobj;
4262 fail:
4263 {
4264 if (temp4)
4265 delete arg4;
4266 }
4267 {
4268 if (temp8)
4269 delete arg8;
4270 }
4271 return NULL;
4272 }
4273
4274
4275 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4276 PyObject *resultobj;
4277 wxDialog *arg1 = (wxDialog *) 0 ;
4278 int arg2 ;
4279 PyObject * obj0 = 0 ;
4280 PyObject * obj1 = 0 ;
4281 char *kwnames[] = {
4282 (char *) "self",(char *) "returnCode", NULL
4283 };
4284
4285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4288 arg2 = (int) SWIG_AsInt(obj1);
4289 if (PyErr_Occurred()) SWIG_fail;
4290 {
4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
4292 (arg1)->SetReturnCode(arg2);
4293
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
4297 Py_INCREF(Py_None); resultobj = Py_None;
4298 return resultobj;
4299 fail:
4300 return NULL;
4301 }
4302
4303
4304 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj;
4306 wxDialog *arg1 = (wxDialog *) 0 ;
4307 int result;
4308 PyObject * obj0 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "self", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",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 = (int)((wxDialog const *)arg1)->GetReturnCode();
4319
4320 wxPyEndAllowThreads(__tstate);
4321 if (PyErr_Occurred()) SWIG_fail;
4322 }
4323 resultobj = SWIG_FromInt((int)result);
4324 return resultobj;
4325 fail:
4326 return NULL;
4327 }
4328
4329
4330 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4331 PyObject *resultobj;
4332 wxDialog *arg1 = (wxDialog *) 0 ;
4333 wxString *arg2 = 0 ;
4334 wxSizer *result;
4335 bool temp2 = False ;
4336 PyObject * obj0 = 0 ;
4337 PyObject * obj1 = 0 ;
4338 char *kwnames[] = {
4339 (char *) "self",(char *) "message", NULL
4340 };
4341
4342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4345 {
4346 arg2 = wxString_in_helper(obj1);
4347 if (arg2 == NULL) SWIG_fail;
4348 temp2 = True;
4349 }
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4353
4354 wxPyEndAllowThreads(__tstate);
4355 if (PyErr_Occurred()) SWIG_fail;
4356 }
4357 {
4358 resultobj = wxPyMake_wxSizer(result);
4359 }
4360 {
4361 if (temp2)
4362 delete arg2;
4363 }
4364 return resultobj;
4365 fail:
4366 {
4367 if (temp2)
4368 delete arg2;
4369 }
4370 return NULL;
4371 }
4372
4373
4374 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4375 PyObject *resultobj;
4376 wxDialog *arg1 = (wxDialog *) 0 ;
4377 long arg2 ;
4378 wxSizer *result;
4379 PyObject * obj0 = 0 ;
4380 PyObject * obj1 = 0 ;
4381 char *kwnames[] = {
4382 (char *) "self",(char *) "flags", NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4388 arg2 = (long) SWIG_AsLong(obj1);
4389 if (PyErr_Occurred()) SWIG_fail;
4390 {
4391 PyThreadState* __tstate = wxPyBeginAllowThreads();
4392 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4393
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 }
4397 {
4398 resultobj = wxPyMake_wxSizer(result);
4399 }
4400 return resultobj;
4401 fail:
4402 return NULL;
4403 }
4404
4405
4406 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4407 PyObject *resultobj;
4408 wxDialog *arg1 = (wxDialog *) 0 ;
4409 bool result;
4410 PyObject * obj0 = 0 ;
4411 char *kwnames[] = {
4412 (char *) "self", NULL
4413 };
4414
4415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4418 {
4419 PyThreadState* __tstate = wxPyBeginAllowThreads();
4420 result = (bool)((wxDialog const *)arg1)->IsModal();
4421
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 {
4426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4427 }
4428 return resultobj;
4429 fail:
4430 return NULL;
4431 }
4432
4433
4434 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4435 PyObject *resultobj;
4436 wxDialog *arg1 = (wxDialog *) 0 ;
4437 int result;
4438 PyObject * obj0 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = (int)(arg1)->ShowModal();
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 resultobj = SWIG_FromInt((int)result);
4454 return resultobj;
4455 fail:
4456 return NULL;
4457 }
4458
4459
4460 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4461 PyObject *resultobj;
4462 wxDialog *arg1 = (wxDialog *) 0 ;
4463 int arg2 ;
4464 PyObject * obj0 = 0 ;
4465 PyObject * obj1 = 0 ;
4466 char *kwnames[] = {
4467 (char *) "self",(char *) "retCode", NULL
4468 };
4469
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4473 arg2 = (int) SWIG_AsInt(obj1);
4474 if (PyErr_Occurred()) SWIG_fail;
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 (arg1)->EndModal(arg2);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 Py_INCREF(Py_None); resultobj = Py_None;
4483 return resultobj;
4484 fail:
4485 return NULL;
4486 }
4487
4488
4489 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj;
4491 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4492 wxVisualAttributes result;
4493 PyObject * obj0 = 0 ;
4494 char *kwnames[] = {
4495 (char *) "variant", NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4499 if (obj0) {
4500 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4501 if (PyErr_Occurred()) SWIG_fail;
4502 }
4503 {
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4506
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 {
4511 wxVisualAttributes * resultptr;
4512 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4513 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4514 }
4515 return resultobj;
4516 fail:
4517 return NULL;
4518 }
4519
4520
4521 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4522 PyObject *obj;
4523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4524 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4525 Py_INCREF(obj);
4526 return Py_BuildValue((char *)"");
4527 }
4528 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj;
4530 wxWindow *arg1 = (wxWindow *) 0 ;
4531 int arg2 ;
4532 wxString *arg3 = 0 ;
4533 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4534 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4535 wxSize const &arg5_defvalue = wxDefaultSize ;
4536 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4537 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4538 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4539 wxString *arg7 = (wxString *) &arg7_defvalue ;
4540 wxMiniFrame *result;
4541 bool temp3 = False ;
4542 wxPoint temp4 ;
4543 wxSize temp5 ;
4544 bool temp7 = False ;
4545 PyObject * obj0 = 0 ;
4546 PyObject * obj1 = 0 ;
4547 PyObject * obj2 = 0 ;
4548 PyObject * obj3 = 0 ;
4549 PyObject * obj4 = 0 ;
4550 PyObject * obj5 = 0 ;
4551 PyObject * obj6 = 0 ;
4552 char *kwnames[] = {
4553 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4554 };
4555
4556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4559 arg2 = (int const) SWIG_AsInt(obj1);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 {
4562 arg3 = wxString_in_helper(obj2);
4563 if (arg3 == NULL) SWIG_fail;
4564 temp3 = True;
4565 }
4566 if (obj3) {
4567 {
4568 arg4 = &temp4;
4569 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4570 }
4571 }
4572 if (obj4) {
4573 {
4574 arg5 = &temp5;
4575 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4576 }
4577 }
4578 if (obj5) {
4579 arg6 = (long) SWIG_AsLong(obj5);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 }
4582 if (obj6) {
4583 {
4584 arg7 = wxString_in_helper(obj6);
4585 if (arg7 == NULL) SWIG_fail;
4586 temp7 = True;
4587 }
4588 }
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4597 {
4598 if (temp3)
4599 delete arg3;
4600 }
4601 {
4602 if (temp7)
4603 delete arg7;
4604 }
4605 return resultobj;
4606 fail:
4607 {
4608 if (temp3)
4609 delete arg3;
4610 }
4611 {
4612 if (temp7)
4613 delete arg7;
4614 }
4615 return NULL;
4616 }
4617
4618
4619 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4620 PyObject *resultobj;
4621 wxMiniFrame *result;
4622 char *kwnames[] = {
4623 NULL
4624 };
4625
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4627 {
4628 PyThreadState* __tstate = wxPyBeginAllowThreads();
4629 result = (wxMiniFrame *)new wxMiniFrame();
4630
4631 wxPyEndAllowThreads(__tstate);
4632 if (PyErr_Occurred()) SWIG_fail;
4633 }
4634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4635 return resultobj;
4636 fail:
4637 return NULL;
4638 }
4639
4640
4641 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4642 PyObject *resultobj;
4643 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4644 wxWindow *arg2 = (wxWindow *) 0 ;
4645 int arg3 ;
4646 wxString *arg4 = 0 ;
4647 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4648 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4649 wxSize const &arg6_defvalue = wxDefaultSize ;
4650 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4651 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4652 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4653 wxString *arg8 = (wxString *) &arg8_defvalue ;
4654 bool result;
4655 bool temp4 = False ;
4656 wxPoint temp5 ;
4657 wxSize temp6 ;
4658 bool temp8 = False ;
4659 PyObject * obj0 = 0 ;
4660 PyObject * obj1 = 0 ;
4661 PyObject * obj2 = 0 ;
4662 PyObject * obj3 = 0 ;
4663 PyObject * obj4 = 0 ;
4664 PyObject * obj5 = 0 ;
4665 PyObject * obj6 = 0 ;
4666 PyObject * obj7 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4676 arg3 = (int const) SWIG_AsInt(obj2);
4677 if (PyErr_Occurred()) SWIG_fail;
4678 {
4679 arg4 = wxString_in_helper(obj3);
4680 if (arg4 == NULL) SWIG_fail;
4681 temp4 = True;
4682 }
4683 if (obj4) {
4684 {
4685 arg5 = &temp5;
4686 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4687 }
4688 }
4689 if (obj5) {
4690 {
4691 arg6 = &temp6;
4692 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4693 }
4694 }
4695 if (obj6) {
4696 arg7 = (long) SWIG_AsLong(obj6);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 if (obj7) {
4700 {
4701 arg8 = wxString_in_helper(obj7);
4702 if (arg8 == NULL) SWIG_fail;
4703 temp8 = True;
4704 }
4705 }
4706 {
4707 PyThreadState* __tstate = wxPyBeginAllowThreads();
4708 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4709
4710 wxPyEndAllowThreads(__tstate);
4711 if (PyErr_Occurred()) SWIG_fail;
4712 }
4713 {
4714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4715 }
4716 {
4717 if (temp4)
4718 delete arg4;
4719 }
4720 {
4721 if (temp8)
4722 delete arg8;
4723 }
4724 return resultobj;
4725 fail:
4726 {
4727 if (temp4)
4728 delete arg4;
4729 }
4730 {
4731 if (temp8)
4732 delete arg8;
4733 }
4734 return NULL;
4735 }
4736
4737
4738 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4739 PyObject *obj;
4740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4741 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4742 Py_INCREF(obj);
4743 return Py_BuildValue((char *)"");
4744 }
4745 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4746 PyObject *resultobj;
4747 wxBitmap *arg1 = 0 ;
4748 wxWindow *arg2 = (wxWindow *) 0 ;
4749 int arg3 ;
4750 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4751 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4752 wxSize const &arg5_defvalue = wxDefaultSize ;
4753 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4754 long arg6 = (long) wxNO_BORDER ;
4755 wxSplashScreenWindow *result;
4756 wxPoint temp4 ;
4757 wxSize temp5 ;
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4760 PyObject * obj2 = 0 ;
4761 PyObject * obj3 = 0 ;
4762 PyObject * obj4 = 0 ;
4763 PyObject * obj5 = 0 ;
4764 char *kwnames[] = {
4765 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4766 };
4767
4768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4770 SWIG_POINTER_EXCEPTION | 0)) == -1)
4771 SWIG_fail;
4772 if (arg1 == NULL) {
4773 PyErr_SetString(PyExc_TypeError,"null reference");
4774 SWIG_fail;
4775 }
4776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4778 arg3 = (int) SWIG_AsInt(obj2);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 if (obj3) {
4781 {
4782 arg4 = &temp4;
4783 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4784 }
4785 }
4786 if (obj4) {
4787 {
4788 arg5 = &temp5;
4789 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4790 }
4791 }
4792 if (obj5) {
4793 arg6 = (long) SWIG_AsLong(obj5);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 {
4797 PyThreadState* __tstate = wxPyBeginAllowThreads();
4798 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4799
4800 wxPyEndAllowThreads(__tstate);
4801 if (PyErr_Occurred()) SWIG_fail;
4802 }
4803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4804 return resultobj;
4805 fail:
4806 return NULL;
4807 }
4808
4809
4810 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4811 PyObject *resultobj;
4812 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4813 wxBitmap *arg2 = 0 ;
4814 PyObject * obj0 = 0 ;
4815 PyObject * obj1 = 0 ;
4816 char *kwnames[] = {
4817 (char *) "self",(char *) "bitmap", NULL
4818 };
4819
4820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4824 SWIG_POINTER_EXCEPTION | 0)) == -1)
4825 SWIG_fail;
4826 if (arg2 == NULL) {
4827 PyErr_SetString(PyExc_TypeError,"null reference");
4828 SWIG_fail;
4829 }
4830 {
4831 PyThreadState* __tstate = wxPyBeginAllowThreads();
4832 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4833
4834 wxPyEndAllowThreads(__tstate);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 }
4837 Py_INCREF(Py_None); resultobj = Py_None;
4838 return resultobj;
4839 fail:
4840 return NULL;
4841 }
4842
4843
4844 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4845 PyObject *resultobj;
4846 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4847 wxBitmap *result;
4848 PyObject * obj0 = 0 ;
4849 char *kwnames[] = {
4850 (char *) "self", NULL
4851 };
4852
4853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 {
4859 wxBitmap &_result_ref = (arg1)->GetBitmap();
4860 result = (wxBitmap *) &_result_ref;
4861 }
4862
4863 wxPyEndAllowThreads(__tstate);
4864 if (PyErr_Occurred()) SWIG_fail;
4865 }
4866 {
4867 wxBitmap* resultptr = new wxBitmap(*result);
4868 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4869 }
4870 return resultobj;
4871 fail:
4872 return NULL;
4873 }
4874
4875
4876 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4877 PyObject *obj;
4878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4879 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4880 Py_INCREF(obj);
4881 return Py_BuildValue((char *)"");
4882 }
4883 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4884 PyObject *resultobj;
4885 wxBitmap *arg1 = 0 ;
4886 long arg2 ;
4887 int arg3 ;
4888 wxWindow *arg4 = (wxWindow *) 0 ;
4889 int arg5 ;
4890 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4891 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4892 wxSize const &arg7_defvalue = wxDefaultSize ;
4893 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4894 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4895 wxSplashScreen *result;
4896 wxPoint temp6 ;
4897 wxSize temp7 ;
4898 PyObject * obj0 = 0 ;
4899 PyObject * obj1 = 0 ;
4900 PyObject * obj2 = 0 ;
4901 PyObject * obj3 = 0 ;
4902 PyObject * obj4 = 0 ;
4903 PyObject * obj5 = 0 ;
4904 PyObject * obj6 = 0 ;
4905 PyObject * obj7 = 0 ;
4906 char *kwnames[] = {
4907 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4908 };
4909
4910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4912 SWIG_POINTER_EXCEPTION | 0)) == -1)
4913 SWIG_fail;
4914 if (arg1 == NULL) {
4915 PyErr_SetString(PyExc_TypeError,"null reference");
4916 SWIG_fail;
4917 }
4918 arg2 = (long) SWIG_AsLong(obj1);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 arg3 = (int) SWIG_AsInt(obj2);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4924 arg5 = (int) SWIG_AsInt(obj4);
4925 if (PyErr_Occurred()) SWIG_fail;
4926 if (obj5) {
4927 {
4928 arg6 = &temp6;
4929 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4930 }
4931 }
4932 if (obj6) {
4933 {
4934 arg7 = &temp7;
4935 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4936 }
4937 }
4938 if (obj7) {
4939 arg8 = (long) SWIG_AsLong(obj7);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4950 return resultobj;
4951 fail:
4952 return NULL;
4953 }
4954
4955
4956 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4957 PyObject *resultobj;
4958 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4959 long result;
4960 PyObject * obj0 = 0 ;
4961 char *kwnames[] = {
4962 (char *) "self", NULL
4963 };
4964
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4968 {
4969 PyThreadState* __tstate = wxPyBeginAllowThreads();
4970 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4971
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) SWIG_fail;
4974 }
4975 resultobj = SWIG_FromLong((long)result);
4976 return resultobj;
4977 fail:
4978 return NULL;
4979 }
4980
4981
4982 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4983 PyObject *resultobj;
4984 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4985 wxSplashScreenWindow *result;
4986 PyObject * obj0 = 0 ;
4987 char *kwnames[] = {
4988 (char *) "self", NULL
4989 };
4990
4991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4994 {
4995 PyThreadState* __tstate = wxPyBeginAllowThreads();
4996 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4997
4998 wxPyEndAllowThreads(__tstate);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5002 return resultobj;
5003 fail:
5004 return NULL;
5005 }
5006
5007
5008 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
5009 PyObject *resultobj;
5010 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5011 int result;
5012 PyObject * obj0 = 0 ;
5013 char *kwnames[] = {
5014 (char *) "self", NULL
5015 };
5016
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5020 {
5021 PyThreadState* __tstate = wxPyBeginAllowThreads();
5022 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5023
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) SWIG_fail;
5026 }
5027 resultobj = SWIG_FromInt((int)result);
5028 return resultobj;
5029 fail:
5030 return NULL;
5031 }
5032
5033
5034 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
5035 PyObject *obj;
5036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5037 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5038 Py_INCREF(obj);
5039 return Py_BuildValue((char *)"");
5040 }
5041 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5042 PyObject *resultobj;
5043 wxWindow *arg1 = (wxWindow *) 0 ;
5044 int arg2 = (int) -1 ;
5045 long arg3 = (long) wxST_SIZEGRIP ;
5046 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5047 wxString *arg4 = (wxString *) &arg4_defvalue ;
5048 wxStatusBar *result;
5049 bool temp4 = False ;
5050 PyObject * obj0 = 0 ;
5051 PyObject * obj1 = 0 ;
5052 PyObject * obj2 = 0 ;
5053 PyObject * obj3 = 0 ;
5054 char *kwnames[] = {
5055 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5056 };
5057
5058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5061 if (obj1) {
5062 arg2 = (int) SWIG_AsInt(obj1);
5063 if (PyErr_Occurred()) SWIG_fail;
5064 }
5065 if (obj2) {
5066 arg3 = (long) SWIG_AsLong(obj2);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 if (obj3) {
5070 {
5071 arg4 = wxString_in_helper(obj3);
5072 if (arg4 == NULL) SWIG_fail;
5073 temp4 = True;
5074 }
5075 }
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5079
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 {
5084 resultobj = wxPyMake_wxObject(result);
5085 }
5086 {
5087 if (temp4)
5088 delete arg4;
5089 }
5090 return resultobj;
5091 fail:
5092 {
5093 if (temp4)
5094 delete arg4;
5095 }
5096 return NULL;
5097 }
5098
5099
5100 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5101 PyObject *resultobj;
5102 wxStatusBar *result;
5103 char *kwnames[] = {
5104 NULL
5105 };
5106
5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5108 {
5109 PyThreadState* __tstate = wxPyBeginAllowThreads();
5110 result = (wxStatusBar *)new wxStatusBar();
5111
5112 wxPyEndAllowThreads(__tstate);
5113 if (PyErr_Occurred()) SWIG_fail;
5114 }
5115 {
5116 resultobj = wxPyMake_wxObject(result);
5117 }
5118 return resultobj;
5119 fail:
5120 return NULL;
5121 }
5122
5123
5124 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5125 PyObject *resultobj;
5126 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5127 wxWindow *arg2 = (wxWindow *) 0 ;
5128 int arg3 ;
5129 long arg4 = (long) wxST_SIZEGRIP ;
5130 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5131 wxString *arg5 = (wxString *) &arg5_defvalue ;
5132 bool result;
5133 bool temp5 = False ;
5134 PyObject * obj0 = 0 ;
5135 PyObject * obj1 = 0 ;
5136 PyObject * obj2 = 0 ;
5137 PyObject * obj3 = 0 ;
5138 PyObject * obj4 = 0 ;
5139 char *kwnames[] = {
5140 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5141 };
5142
5143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5146 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5148 arg3 = (int) SWIG_AsInt(obj2);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 if (obj3) {
5151 arg4 = (long) SWIG_AsLong(obj3);
5152 if (PyErr_Occurred()) SWIG_fail;
5153 }
5154 if (obj4) {
5155 {
5156 arg5 = wxString_in_helper(obj4);
5157 if (arg5 == NULL) SWIG_fail;
5158 temp5 = True;
5159 }
5160 }
5161 {
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5164
5165 wxPyEndAllowThreads(__tstate);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 }
5168 {
5169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5170 }
5171 {
5172 if (temp5)
5173 delete arg5;
5174 }
5175 return resultobj;
5176 fail:
5177 {
5178 if (temp5)
5179 delete arg5;
5180 }
5181 return NULL;
5182 }
5183
5184
5185 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj;
5187 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5188 int arg2 = (int) 1 ;
5189 PyObject * obj0 = 0 ;
5190 PyObject * obj1 = 0 ;
5191 char *kwnames[] = {
5192 (char *) "self",(char *) "number", NULL
5193 };
5194
5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5198 if (obj1) {
5199 arg2 = (int) SWIG_AsInt(obj1);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 (arg1)->SetFieldsCount(arg2);
5205
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 Py_INCREF(Py_None); resultobj = Py_None;
5210 return resultobj;
5211 fail:
5212 return NULL;
5213 }
5214
5215
5216 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5217 PyObject *resultobj;
5218 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5219 int result;
5220 PyObject * obj0 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "self", NULL
5223 };
5224
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 resultobj = SWIG_FromInt((int)result);
5236 return resultobj;
5237 fail:
5238 return NULL;
5239 }
5240
5241
5242 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5243 PyObject *resultobj;
5244 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5245 wxString *arg2 = 0 ;
5246 int arg3 = (int) 0 ;
5247 bool temp2 = False ;
5248 PyObject * obj0 = 0 ;
5249 PyObject * obj1 = 0 ;
5250 PyObject * obj2 = 0 ;
5251 char *kwnames[] = {
5252 (char *) "self",(char *) "text",(char *) "number", NULL
5253 };
5254
5255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5258 {
5259 arg2 = wxString_in_helper(obj1);
5260 if (arg2 == NULL) SWIG_fail;
5261 temp2 = True;
5262 }
5263 if (obj2) {
5264 arg3 = (int) SWIG_AsInt(obj2);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 Py_INCREF(Py_None); resultobj = Py_None;
5275 {
5276 if (temp2)
5277 delete arg2;
5278 }
5279 return resultobj;
5280 fail:
5281 {
5282 if (temp2)
5283 delete arg2;
5284 }
5285 return NULL;
5286 }
5287
5288
5289 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj;
5291 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5292 int arg2 = (int) 0 ;
5293 wxString result;
5294 PyObject * obj0 = 0 ;
5295 PyObject * obj1 = 0 ;
5296 char *kwnames[] = {
5297 (char *) "self",(char *) "number", NULL
5298 };
5299
5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5303 if (obj1) {
5304 arg2 = (int) SWIG_AsInt(obj1);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 {
5308 PyThreadState* __tstate = wxPyBeginAllowThreads();
5309 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5310
5311 wxPyEndAllowThreads(__tstate);
5312 if (PyErr_Occurred()) SWIG_fail;
5313 }
5314 {
5315 #if wxUSE_UNICODE
5316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5317 #else
5318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5319 #endif
5320 }
5321 return resultobj;
5322 fail:
5323 return NULL;
5324 }
5325
5326
5327 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5328 PyObject *resultobj;
5329 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5330 wxString *arg2 = 0 ;
5331 int arg3 = (int) 0 ;
5332 bool temp2 = False ;
5333 PyObject * obj0 = 0 ;
5334 PyObject * obj1 = 0 ;
5335 PyObject * obj2 = 0 ;
5336 char *kwnames[] = {
5337 (char *) "self",(char *) "text",(char *) "number", NULL
5338 };
5339
5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5343 {
5344 arg2 = wxString_in_helper(obj1);
5345 if (arg2 == NULL) SWIG_fail;
5346 temp2 = True;
5347 }
5348 if (obj2) {
5349 arg3 = (int) SWIG_AsInt(obj2);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 {
5353 PyThreadState* __tstate = wxPyBeginAllowThreads();
5354 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 Py_INCREF(Py_None); resultobj = Py_None;
5360 {
5361 if (temp2)
5362 delete arg2;
5363 }
5364 return resultobj;
5365 fail:
5366 {
5367 if (temp2)
5368 delete arg2;
5369 }
5370 return NULL;
5371 }
5372
5373
5374 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5375 PyObject *resultobj;
5376 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5377 int arg2 = (int) 0 ;
5378 PyObject * obj0 = 0 ;
5379 PyObject * obj1 = 0 ;
5380 char *kwnames[] = {
5381 (char *) "self",(char *) "number", NULL
5382 };
5383
5384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5387 if (obj1) {
5388 arg2 = (int) SWIG_AsInt(obj1);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 }
5391 {
5392 PyThreadState* __tstate = wxPyBeginAllowThreads();
5393 (arg1)->PopStatusText(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_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5406 PyObject *resultobj;
5407 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5408 int arg2 ;
5409 int *arg3 = (int *) 0 ;
5410 PyObject * obj0 = 0 ;
5411 PyObject * obj1 = 0 ;
5412 char *kwnames[] = {
5413 (char *) "self",(char *) "widths", NULL
5414 };
5415
5416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5419 {
5420 arg2 = PyList_Size(obj1);
5421 arg3 = int_LIST_helper(obj1);
5422 if (arg3 == NULL) SWIG_fail;
5423 }
5424 {
5425 PyThreadState* __tstate = wxPyBeginAllowThreads();
5426 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5427
5428 wxPyEndAllowThreads(__tstate);
5429 if (PyErr_Occurred()) SWIG_fail;
5430 }
5431 Py_INCREF(Py_None); resultobj = Py_None;
5432 {
5433 if (arg3) delete [] arg3;
5434 }
5435 return resultobj;
5436 fail:
5437 {
5438 if (arg3) delete [] arg3;
5439 }
5440 return NULL;
5441 }
5442
5443
5444 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5445 PyObject *resultobj;
5446 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5447 int arg2 ;
5448 wxRect result;
5449 PyObject * obj0 = 0 ;
5450 PyObject * obj1 = 0 ;
5451 char *kwnames[] = {
5452 (char *) "self",(char *) "i", NULL
5453 };
5454
5455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5458 arg2 = (int) SWIG_AsInt(obj1);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 result = wxStatusBar_GetFieldRect(arg1,arg2);
5463
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 {
5468 wxRect * resultptr;
5469 resultptr = new wxRect((wxRect &) result);
5470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5471 }
5472 return resultobj;
5473 fail:
5474 return NULL;
5475 }
5476
5477
5478 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5479 PyObject *resultobj;
5480 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5481 int arg2 ;
5482 PyObject * obj0 = 0 ;
5483 PyObject * obj1 = 0 ;
5484 char *kwnames[] = {
5485 (char *) "self",(char *) "height", NULL
5486 };
5487
5488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5491 arg2 = (int) SWIG_AsInt(obj1);
5492 if (PyErr_Occurred()) SWIG_fail;
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 (arg1)->SetMinHeight(arg2);
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 Py_INCREF(Py_None); resultobj = Py_None;
5501 return resultobj;
5502 fail:
5503 return NULL;
5504 }
5505
5506
5507 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5508 PyObject *resultobj;
5509 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5510 int result;
5511 PyObject * obj0 = 0 ;
5512 char *kwnames[] = {
5513 (char *) "self", NULL
5514 };
5515
5516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5519 {
5520 PyThreadState* __tstate = wxPyBeginAllowThreads();
5521 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5522
5523 wxPyEndAllowThreads(__tstate);
5524 if (PyErr_Occurred()) SWIG_fail;
5525 }
5526 resultobj = SWIG_FromInt((int)result);
5527 return resultobj;
5528 fail:
5529 return NULL;
5530 }
5531
5532
5533 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5534 PyObject *resultobj;
5535 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5536 int result;
5537 PyObject * obj0 = 0 ;
5538 char *kwnames[] = {
5539 (char *) "self", NULL
5540 };
5541
5542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5545 {
5546 PyThreadState* __tstate = wxPyBeginAllowThreads();
5547 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5548
5549 wxPyEndAllowThreads(__tstate);
5550 if (PyErr_Occurred()) SWIG_fail;
5551 }
5552 resultobj = SWIG_FromInt((int)result);
5553 return resultobj;
5554 fail:
5555 return NULL;
5556 }
5557
5558
5559 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5560 PyObject *resultobj;
5561 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5562 wxVisualAttributes result;
5563 PyObject * obj0 = 0 ;
5564 char *kwnames[] = {
5565 (char *) "variant", NULL
5566 };
5567
5568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5569 if (obj0) {
5570 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5576
5577 wxPyEndAllowThreads(__tstate);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 }
5580 {
5581 wxVisualAttributes * resultptr;
5582 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5584 }
5585 return resultobj;
5586 fail:
5587 return NULL;
5588 }
5589
5590
5591 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5592 PyObject *obj;
5593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5594 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5595 Py_INCREF(obj);
5596 return Py_BuildValue((char *)"");
5597 }
5598 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5599 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5600 return 1;
5601 }
5602
5603
5604 static PyObject *_wrap_SplitterNameStr_get() {
5605 PyObject *pyobj;
5606
5607 {
5608 #if wxUSE_UNICODE
5609 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5610 #else
5611 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5612 #endif
5613 }
5614 return pyobj;
5615 }
5616
5617
5618 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5619 PyObject *resultobj;
5620 wxWindow *arg1 = (wxWindow *) 0 ;
5621 int arg2 = (int) -1 ;
5622 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5623 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5624 wxSize const &arg4_defvalue = wxDefaultSize ;
5625 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5626 long arg5 = (long) wxSP_3D ;
5627 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5628 wxString *arg6 = (wxString *) &arg6_defvalue ;
5629 wxSplitterWindow *result;
5630 wxPoint temp3 ;
5631 wxSize temp4 ;
5632 bool temp6 = False ;
5633 PyObject * obj0 = 0 ;
5634 PyObject * obj1 = 0 ;
5635 PyObject * obj2 = 0 ;
5636 PyObject * obj3 = 0 ;
5637 PyObject * obj4 = 0 ;
5638 PyObject * obj5 = 0 ;
5639 char *kwnames[] = {
5640 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5641 };
5642
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5646 if (obj1) {
5647 arg2 = (int) SWIG_AsInt(obj1);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 if (obj2) {
5651 {
5652 arg3 = &temp3;
5653 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5654 }
5655 }
5656 if (obj3) {
5657 {
5658 arg4 = &temp4;
5659 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5660 }
5661 }
5662 if (obj4) {
5663 arg5 = (long) SWIG_AsLong(obj4);
5664 if (PyErr_Occurred()) SWIG_fail;
5665 }
5666 if (obj5) {
5667 {
5668 arg6 = wxString_in_helper(obj5);
5669 if (arg6 == NULL) SWIG_fail;
5670 temp6 = True;
5671 }
5672 }
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5681 {
5682 if (temp6)
5683 delete arg6;
5684 }
5685 return resultobj;
5686 fail:
5687 {
5688 if (temp6)
5689 delete arg6;
5690 }
5691 return NULL;
5692 }
5693
5694
5695 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5696 PyObject *resultobj;
5697 wxSplitterWindow *result;
5698 char *kwnames[] = {
5699 NULL
5700 };
5701
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 result = (wxSplitterWindow *)new wxSplitterWindow();
5706
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
5710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5711 return resultobj;
5712 fail:
5713 return NULL;
5714 }
5715
5716
5717 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5718 PyObject *resultobj;
5719 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5720 wxWindow *arg2 = (wxWindow *) 0 ;
5721 int arg3 = (int) -1 ;
5722 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5723 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5724 wxSize const &arg5_defvalue = wxDefaultSize ;
5725 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5726 long arg6 = (long) wxSP_3D ;
5727 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5728 wxString *arg7 = (wxString *) &arg7_defvalue ;
5729 bool result;
5730 wxPoint temp4 ;
5731 wxSize temp5 ;
5732 bool temp7 = False ;
5733 PyObject * obj0 = 0 ;
5734 PyObject * obj1 = 0 ;
5735 PyObject * obj2 = 0 ;
5736 PyObject * obj3 = 0 ;
5737 PyObject * obj4 = 0 ;
5738 PyObject * obj5 = 0 ;
5739 PyObject * obj6 = 0 ;
5740 char *kwnames[] = {
5741 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5742 };
5743
5744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5747 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5749 if (obj2) {
5750 arg3 = (int) SWIG_AsInt(obj2);
5751 if (PyErr_Occurred()) SWIG_fail;
5752 }
5753 if (obj3) {
5754 {
5755 arg4 = &temp4;
5756 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5757 }
5758 }
5759 if (obj4) {
5760 {
5761 arg5 = &temp5;
5762 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5763 }
5764 }
5765 if (obj5) {
5766 arg6 = (long) SWIG_AsLong(obj5);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
5769 if (obj6) {
5770 {
5771 arg7 = wxString_in_helper(obj6);
5772 if (arg7 == NULL) SWIG_fail;
5773 temp7 = True;
5774 }
5775 }
5776 {
5777 PyThreadState* __tstate = wxPyBeginAllowThreads();
5778 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5779
5780 wxPyEndAllowThreads(__tstate);
5781 if (PyErr_Occurred()) SWIG_fail;
5782 }
5783 {
5784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5785 }
5786 {
5787 if (temp7)
5788 delete arg7;
5789 }
5790 return resultobj;
5791 fail:
5792 {
5793 if (temp7)
5794 delete arg7;
5795 }
5796 return NULL;
5797 }
5798
5799
5800 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5801 PyObject *resultobj;
5802 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5803 wxWindow *result;
5804 PyObject * obj0 = 0 ;
5805 char *kwnames[] = {
5806 (char *) "self", NULL
5807 };
5808
5809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5812 {
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 {
5820 resultobj = wxPyMake_wxObject(result);
5821 }
5822 return resultobj;
5823 fail:
5824 return NULL;
5825 }
5826
5827
5828 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj;
5830 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5831 wxWindow *result;
5832 PyObject * obj0 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5840 {
5841 PyThreadState* __tstate = wxPyBeginAllowThreads();
5842 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5843
5844 wxPyEndAllowThreads(__tstate);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 }
5847 {
5848 resultobj = wxPyMake_wxObject(result);
5849 }
5850 return resultobj;
5851 fail:
5852 return NULL;
5853 }
5854
5855
5856 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5857 PyObject *resultobj;
5858 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5859 int arg2 ;
5860 PyObject * obj0 = 0 ;
5861 PyObject * obj1 = 0 ;
5862 char *kwnames[] = {
5863 (char *) "self",(char *) "mode", NULL
5864 };
5865
5866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5869 arg2 = (int) SWIG_AsInt(obj1);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 {
5872 PyThreadState* __tstate = wxPyBeginAllowThreads();
5873 (arg1)->SetSplitMode(arg2);
5874
5875 wxPyEndAllowThreads(__tstate);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
5878 Py_INCREF(Py_None); resultobj = Py_None;
5879 return resultobj;
5880 fail:
5881 return NULL;
5882 }
5883
5884
5885 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5886 PyObject *resultobj;
5887 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5888 int result;
5889 PyObject * obj0 = 0 ;
5890 char *kwnames[] = {
5891 (char *) "self", NULL
5892 };
5893
5894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5900
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 resultobj = SWIG_FromInt((int)result);
5905 return resultobj;
5906 fail:
5907 return NULL;
5908 }
5909
5910
5911 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5912 PyObject *resultobj;
5913 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5914 wxWindow *arg2 = (wxWindow *) 0 ;
5915 PyObject * obj0 = 0 ;
5916 PyObject * obj1 = 0 ;
5917 char *kwnames[] = {
5918 (char *) "self",(char *) "window", NULL
5919 };
5920
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 (arg1)->Initialize(arg2);
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 Py_INCREF(Py_None); resultobj = Py_None;
5934 return resultobj;
5935 fail:
5936 return NULL;
5937 }
5938
5939
5940 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5941 PyObject *resultobj;
5942 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5943 wxWindow *arg2 = (wxWindow *) 0 ;
5944 wxWindow *arg3 = (wxWindow *) 0 ;
5945 int arg4 = (int) 0 ;
5946 bool result;
5947 PyObject * obj0 = 0 ;
5948 PyObject * obj1 = 0 ;
5949 PyObject * obj2 = 0 ;
5950 PyObject * obj3 = 0 ;
5951 char *kwnames[] = {
5952 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5953 };
5954
5955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5960 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5962 if (obj3) {
5963 arg4 = (int) SWIG_AsInt(obj3);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 {
5974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5975 }
5976 return resultobj;
5977 fail:
5978 return NULL;
5979 }
5980
5981
5982 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5983 PyObject *resultobj;
5984 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5985 wxWindow *arg2 = (wxWindow *) 0 ;
5986 wxWindow *arg3 = (wxWindow *) 0 ;
5987 int arg4 = (int) 0 ;
5988 bool result;
5989 PyObject * obj0 = 0 ;
5990 PyObject * obj1 = 0 ;
5991 PyObject * obj2 = 0 ;
5992 PyObject * obj3 = 0 ;
5993 char *kwnames[] = {
5994 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5995 };
5996
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6002 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6004 if (obj3) {
6005 arg4 = (int) SWIG_AsInt(obj3);
6006 if (PyErr_Occurred()) SWIG_fail;
6007 }
6008 {
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6011
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 {
6016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6017 }
6018 return resultobj;
6019 fail:
6020 return NULL;
6021 }
6022
6023
6024 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6025 PyObject *resultobj;
6026 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6027 wxWindow *arg2 = (wxWindow *) NULL ;
6028 bool result;
6029 PyObject * obj0 = 0 ;
6030 PyObject * obj1 = 0 ;
6031 char *kwnames[] = {
6032 (char *) "self",(char *) "toRemove", NULL
6033 };
6034
6035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6038 if (obj1) {
6039 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6041 }
6042 {
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
6044 result = (bool)(arg1)->Unsplit(arg2);
6045
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
6049 {
6050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6051 }
6052 return resultobj;
6053 fail:
6054 return NULL;
6055 }
6056
6057
6058 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6059 PyObject *resultobj;
6060 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6061 wxWindow *arg2 = (wxWindow *) 0 ;
6062 wxWindow *arg3 = (wxWindow *) 0 ;
6063 bool result;
6064 PyObject * obj0 = 0 ;
6065 PyObject * obj1 = 0 ;
6066 PyObject * obj2 = 0 ;
6067 char *kwnames[] = {
6068 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6069 };
6070
6071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6074 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6076 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6078 {
6079 PyThreadState* __tstate = wxPyBeginAllowThreads();
6080 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6081
6082 wxPyEndAllowThreads(__tstate);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 }
6085 {
6086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6087 }
6088 return resultobj;
6089 fail:
6090 return NULL;
6091 }
6092
6093
6094 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject *resultobj;
6096 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6097 PyObject * obj0 = 0 ;
6098 char *kwnames[] = {
6099 (char *) "self", NULL
6100 };
6101
6102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6105 {
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 (arg1)->UpdateSize();
6108
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
6112 Py_INCREF(Py_None); resultobj = Py_None;
6113 return resultobj;
6114 fail:
6115 return NULL;
6116 }
6117
6118
6119 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6120 PyObject *resultobj;
6121 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6122 bool result;
6123 PyObject * obj0 = 0 ;
6124 char *kwnames[] = {
6125 (char *) "self", NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6134
6135 wxPyEndAllowThreads(__tstate);
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 {
6139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6140 }
6141 return resultobj;
6142 fail:
6143 return NULL;
6144 }
6145
6146
6147 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6148 PyObject *resultobj;
6149 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6150 int arg2 ;
6151 PyObject * obj0 = 0 ;
6152 PyObject * obj1 = 0 ;
6153 char *kwnames[] = {
6154 (char *) "self",(char *) "width", NULL
6155 };
6156
6157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6160 arg2 = (int) SWIG_AsInt(obj1);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 {
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
6164 (arg1)->SetSashSize(arg2);
6165
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 Py_INCREF(Py_None); resultobj = Py_None;
6170 return resultobj;
6171 fail:
6172 return NULL;
6173 }
6174
6175
6176 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6177 PyObject *resultobj;
6178 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6179 int arg2 ;
6180 PyObject * obj0 = 0 ;
6181 PyObject * obj1 = 0 ;
6182 char *kwnames[] = {
6183 (char *) "self",(char *) "width", NULL
6184 };
6185
6186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6189 arg2 = (int) SWIG_AsInt(obj1);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 (arg1)->SetBorderSize(arg2);
6194
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 Py_INCREF(Py_None); resultobj = Py_None;
6199 return resultobj;
6200 fail:
6201 return NULL;
6202 }
6203
6204
6205 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6206 PyObject *resultobj;
6207 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6208 int result;
6209 PyObject * obj0 = 0 ;
6210 char *kwnames[] = {
6211 (char *) "self", NULL
6212 };
6213
6214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 resultobj = SWIG_FromInt((int)result);
6225 return resultobj;
6226 fail:
6227 return NULL;
6228 }
6229
6230
6231 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6232 PyObject *resultobj;
6233 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6234 int result;
6235 PyObject * obj0 = 0 ;
6236 char *kwnames[] = {
6237 (char *) "self", NULL
6238 };
6239
6240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6243 {
6244 PyThreadState* __tstate = wxPyBeginAllowThreads();
6245 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6246
6247 wxPyEndAllowThreads(__tstate);
6248 if (PyErr_Occurred()) SWIG_fail;
6249 }
6250 resultobj = SWIG_FromInt((int)result);
6251 return resultobj;
6252 fail:
6253 return NULL;
6254 }
6255
6256
6257 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6258 PyObject *resultobj;
6259 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6260 int arg2 ;
6261 bool arg3 = (bool) True ;
6262 PyObject * obj0 = 0 ;
6263 PyObject * obj1 = 0 ;
6264 PyObject * obj2 = 0 ;
6265 char *kwnames[] = {
6266 (char *) "self",(char *) "position",(char *) "redraw", NULL
6267 };
6268
6269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6272 arg2 = (int) SWIG_AsInt(obj1);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 if (obj2) {
6275 arg3 = (bool) SWIG_AsBool(obj2);
6276 if (PyErr_Occurred()) SWIG_fail;
6277 }
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
6280 (arg1)->SetSashPosition(arg2,arg3);
6281
6282 wxPyEndAllowThreads(__tstate);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
6285 Py_INCREF(Py_None); resultobj = Py_None;
6286 return resultobj;
6287 fail:
6288 return NULL;
6289 }
6290
6291
6292 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj;
6294 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6295 int result;
6296 PyObject * obj0 = 0 ;
6297 char *kwnames[] = {
6298 (char *) "self", NULL
6299 };
6300
6301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6304 {
6305 PyThreadState* __tstate = wxPyBeginAllowThreads();
6306 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6307
6308 wxPyEndAllowThreads(__tstate);
6309 if (PyErr_Occurred()) SWIG_fail;
6310 }
6311 resultobj = SWIG_FromInt((int)result);
6312 return resultobj;
6313 fail:
6314 return NULL;
6315 }
6316
6317
6318 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6319 PyObject *resultobj;
6320 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6321 int arg2 ;
6322 PyObject * obj0 = 0 ;
6323 PyObject * obj1 = 0 ;
6324 char *kwnames[] = {
6325 (char *) "self",(char *) "min", NULL
6326 };
6327
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6331 arg2 = (int) SWIG_AsInt(obj1);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 {
6334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6335 (arg1)->SetMinimumPaneSize(arg2);
6336
6337 wxPyEndAllowThreads(__tstate);
6338 if (PyErr_Occurred()) SWIG_fail;
6339 }
6340 Py_INCREF(Py_None); resultobj = Py_None;
6341 return resultobj;
6342 fail:
6343 return NULL;
6344 }
6345
6346
6347 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6348 PyObject *resultobj;
6349 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6350 int result;
6351 PyObject * obj0 = 0 ;
6352 char *kwnames[] = {
6353 (char *) "self", NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 }
6366 resultobj = SWIG_FromInt((int)result);
6367 return resultobj;
6368 fail:
6369 return NULL;
6370 }
6371
6372
6373 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6376 int arg2 ;
6377 int arg3 ;
6378 int arg4 = (int) 5 ;
6379 bool result;
6380 PyObject * obj0 = 0 ;
6381 PyObject * obj1 = 0 ;
6382 PyObject * obj2 = 0 ;
6383 PyObject * obj3 = 0 ;
6384 char *kwnames[] = {
6385 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6386 };
6387
6388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6391 arg2 = (int) SWIG_AsInt(obj1);
6392 if (PyErr_Occurred()) SWIG_fail;
6393 arg3 = (int) SWIG_AsInt(obj2);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 if (obj3) {
6396 arg4 = (int) SWIG_AsInt(obj3);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
6401 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6402
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 {
6407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6408 }
6409 return resultobj;
6410 fail:
6411 return NULL;
6412 }
6413
6414
6415 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6416 PyObject *resultobj;
6417 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6418 PyObject * obj0 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 (arg1)->SizeWindows();
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 Py_INCREF(Py_None); resultobj = Py_None;
6434 return resultobj;
6435 fail:
6436 return NULL;
6437 }
6438
6439
6440 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6441 PyObject *resultobj;
6442 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6443 bool arg2 ;
6444 PyObject * obj0 = 0 ;
6445 PyObject * obj1 = 0 ;
6446 char *kwnames[] = {
6447 (char *) "self",(char *) "needUpdating", NULL
6448 };
6449
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6453 arg2 = (bool) SWIG_AsBool(obj1);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 (arg1)->SetNeedUpdating(arg2);
6458
6459 wxPyEndAllowThreads(__tstate);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 Py_INCREF(Py_None); resultobj = Py_None;
6463 return resultobj;
6464 fail:
6465 return NULL;
6466 }
6467
6468
6469 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6470 PyObject *resultobj;
6471 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6472 bool result;
6473 PyObject * obj0 = 0 ;
6474 char *kwnames[] = {
6475 (char *) "self", NULL
6476 };
6477
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 {
6489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6490 }
6491 return resultobj;
6492 fail:
6493 return NULL;
6494 }
6495
6496
6497 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6498 PyObject *resultobj;
6499 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6500 wxVisualAttributes result;
6501 PyObject * obj0 = 0 ;
6502 char *kwnames[] = {
6503 (char *) "variant", NULL
6504 };
6505
6506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6507 if (obj0) {
6508 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6514
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 {
6519 wxVisualAttributes * resultptr;
6520 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6521 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6522 }
6523 return resultobj;
6524 fail:
6525 return NULL;
6526 }
6527
6528
6529 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6530 PyObject *obj;
6531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6532 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6533 Py_INCREF(obj);
6534 return Py_BuildValue((char *)"");
6535 }
6536 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6537 PyObject *resultobj;
6538 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6539 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6540 wxSplitterEvent *result;
6541 PyObject * obj0 = 0 ;
6542 PyObject * obj1 = 0 ;
6543 char *kwnames[] = {
6544 (char *) "type",(char *) "splitter", NULL
6545 };
6546
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6548 if (obj0) {
6549 arg1 = (wxEventType) SWIG_AsInt(obj0);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
6552 if (obj1) {
6553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6555 }
6556 {
6557 PyThreadState* __tstate = wxPyBeginAllowThreads();
6558 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6559
6560 wxPyEndAllowThreads(__tstate);
6561 if (PyErr_Occurred()) SWIG_fail;
6562 }
6563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6564 return resultobj;
6565 fail:
6566 return NULL;
6567 }
6568
6569
6570 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6571 PyObject *resultobj;
6572 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6573 int arg2 ;
6574 PyObject * obj0 = 0 ;
6575 PyObject * obj1 = 0 ;
6576 char *kwnames[] = {
6577 (char *) "self",(char *) "pos", NULL
6578 };
6579
6580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6583 arg2 = (int) SWIG_AsInt(obj1);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 {
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 (arg1)->SetSashPosition(arg2);
6588
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 Py_INCREF(Py_None); resultobj = Py_None;
6593 return resultobj;
6594 fail:
6595 return NULL;
6596 }
6597
6598
6599 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6600 PyObject *resultobj;
6601 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6602 int result;
6603 PyObject * obj0 = 0 ;
6604 char *kwnames[] = {
6605 (char *) "self", NULL
6606 };
6607
6608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 resultobj = SWIG_FromInt((int)result);
6619 return resultobj;
6620 fail:
6621 return NULL;
6622 }
6623
6624
6625 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6628 wxWindow *result;
6629 PyObject * obj0 = 0 ;
6630 char *kwnames[] = {
6631 (char *) "self", NULL
6632 };
6633
6634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 {
6645 resultobj = wxPyMake_wxObject(result);
6646 }
6647 return resultobj;
6648 fail:
6649 return NULL;
6650 }
6651
6652
6653 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6654 PyObject *resultobj;
6655 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6656 int result;
6657 PyObject * obj0 = 0 ;
6658 char *kwnames[] = {
6659 (char *) "self", NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 resultobj = SWIG_FromInt((int)result);
6673 return resultobj;
6674 fail:
6675 return NULL;
6676 }
6677
6678
6679 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
6681 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6682 int result;
6683 PyObject * obj0 = 0 ;
6684 char *kwnames[] = {
6685 (char *) "self", NULL
6686 };
6687
6688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6691 {
6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6693 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6694
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 resultobj = SWIG_FromInt((int)result);
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6706 PyObject *obj;
6707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6708 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6709 Py_INCREF(obj);
6710 return Py_BuildValue((char *)"");
6711 }
6712 static int _wrap_SashNameStr_set(PyObject *_val) {
6713 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6714 return 1;
6715 }
6716
6717
6718 static PyObject *_wrap_SashNameStr_get() {
6719 PyObject *pyobj;
6720
6721 {
6722 #if wxUSE_UNICODE
6723 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6724 #else
6725 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6726 #endif
6727 }
6728 return pyobj;
6729 }
6730
6731
6732 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6733 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6734 return 1;
6735 }
6736
6737
6738 static PyObject *_wrap_SashLayoutNameStr_get() {
6739 PyObject *pyobj;
6740
6741 {
6742 #if wxUSE_UNICODE
6743 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6744 #else
6745 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6746 #endif
6747 }
6748 return pyobj;
6749 }
6750
6751
6752 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6753 PyObject *resultobj;
6754 wxWindow *arg1 = (wxWindow *) 0 ;
6755 int arg2 ;
6756 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6757 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6758 wxSize const &arg4_defvalue = wxDefaultSize ;
6759 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6760 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6761 wxString const &arg6_defvalue = wxPySashNameStr ;
6762 wxString *arg6 = (wxString *) &arg6_defvalue ;
6763 wxSashWindow *result;
6764 wxPoint temp3 ;
6765 wxSize temp4 ;
6766 bool temp6 = False ;
6767 PyObject * obj0 = 0 ;
6768 PyObject * obj1 = 0 ;
6769 PyObject * obj2 = 0 ;
6770 PyObject * obj3 = 0 ;
6771 PyObject * obj4 = 0 ;
6772 PyObject * obj5 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6780 arg2 = (int) SWIG_AsInt(obj1);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 if (obj2) {
6783 {
6784 arg3 = &temp3;
6785 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6786 }
6787 }
6788 if (obj3) {
6789 {
6790 arg4 = &temp4;
6791 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6792 }
6793 }
6794 if (obj4) {
6795 arg5 = (long) SWIG_AsLong(obj4);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 if (obj5) {
6799 {
6800 arg6 = wxString_in_helper(obj5);
6801 if (arg6 == NULL) SWIG_fail;
6802 temp6 = True;
6803 }
6804 }
6805 {
6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
6807 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6808
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6813 {
6814 if (temp6)
6815 delete arg6;
6816 }
6817 return resultobj;
6818 fail:
6819 {
6820 if (temp6)
6821 delete arg6;
6822 }
6823 return NULL;
6824 }
6825
6826
6827 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj;
6829 wxSashWindow *result;
6830 char *kwnames[] = {
6831 NULL
6832 };
6833
6834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 result = (wxSashWindow *)new wxSashWindow();
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6843 return resultobj;
6844 fail:
6845 return NULL;
6846 }
6847
6848
6849 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6850 PyObject *resultobj;
6851 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6852 wxWindow *arg2 = (wxWindow *) 0 ;
6853 int arg3 ;
6854 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6855 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6856 wxSize const &arg5_defvalue = wxDefaultSize ;
6857 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6858 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6859 wxString const &arg7_defvalue = wxPySashNameStr ;
6860 wxString *arg7 = (wxString *) &arg7_defvalue ;
6861 bool result;
6862 wxPoint temp4 ;
6863 wxSize temp5 ;
6864 bool temp7 = False ;
6865 PyObject * obj0 = 0 ;
6866 PyObject * obj1 = 0 ;
6867 PyObject * obj2 = 0 ;
6868 PyObject * obj3 = 0 ;
6869 PyObject * obj4 = 0 ;
6870 PyObject * obj5 = 0 ;
6871 PyObject * obj6 = 0 ;
6872 char *kwnames[] = {
6873 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6874 };
6875
6876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6881 arg3 = (int) SWIG_AsInt(obj2);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 if (obj3) {
6884 {
6885 arg4 = &temp4;
6886 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6887 }
6888 }
6889 if (obj4) {
6890 {
6891 arg5 = &temp5;
6892 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6893 }
6894 }
6895 if (obj5) {
6896 arg6 = (long) SWIG_AsLong(obj5);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 if (obj6) {
6900 {
6901 arg7 = wxString_in_helper(obj6);
6902 if (arg7 == NULL) SWIG_fail;
6903 temp7 = True;
6904 }
6905 }
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 {
6914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6915 }
6916 {
6917 if (temp7)
6918 delete arg7;
6919 }
6920 return resultobj;
6921 fail:
6922 {
6923 if (temp7)
6924 delete arg7;
6925 }
6926 return NULL;
6927 }
6928
6929
6930 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6931 PyObject *resultobj;
6932 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6933 int arg2 ;
6934 bool arg3 ;
6935 PyObject * obj0 = 0 ;
6936 PyObject * obj1 = 0 ;
6937 PyObject * obj2 = 0 ;
6938 char *kwnames[] = {
6939 (char *) "self",(char *) "edge",(char *) "sash", NULL
6940 };
6941
6942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6945 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6946 if (PyErr_Occurred()) SWIG_fail;
6947 arg3 = (bool) SWIG_AsBool(obj2);
6948 if (PyErr_Occurred()) SWIG_fail;
6949 {
6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
6951 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6952
6953 wxPyEndAllowThreads(__tstate);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 }
6956 Py_INCREF(Py_None); resultobj = Py_None;
6957 return resultobj;
6958 fail:
6959 return NULL;
6960 }
6961
6962
6963 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6964 PyObject *resultobj;
6965 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6966 int arg2 ;
6967 bool result;
6968 PyObject * obj0 = 0 ;
6969 PyObject * obj1 = 0 ;
6970 char *kwnames[] = {
6971 (char *) "self",(char *) "edge", NULL
6972 };
6973
6974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6977 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 {
6980 PyThreadState* __tstate = wxPyBeginAllowThreads();
6981 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6982
6983 wxPyEndAllowThreads(__tstate);
6984 if (PyErr_Occurred()) SWIG_fail;
6985 }
6986 {
6987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6988 }
6989 return resultobj;
6990 fail:
6991 return NULL;
6992 }
6993
6994
6995 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6998 int arg2 ;
6999 bool arg3 ;
7000 PyObject * obj0 = 0 ;
7001 PyObject * obj1 = 0 ;
7002 PyObject * obj2 = 0 ;
7003 char *kwnames[] = {
7004 (char *) "self",(char *) "edge",(char *) "border", NULL
7005 };
7006
7007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7010 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 arg3 = (bool) SWIG_AsBool(obj2);
7013 if (PyErr_Occurred()) SWIG_fail;
7014 {
7015 PyThreadState* __tstate = wxPyBeginAllowThreads();
7016 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7017
7018 wxPyEndAllowThreads(__tstate);
7019 if (PyErr_Occurred()) SWIG_fail;
7020 }
7021 Py_INCREF(Py_None); resultobj = Py_None;
7022 return resultobj;
7023 fail:
7024 return NULL;
7025 }
7026
7027
7028 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7029 PyObject *resultobj;
7030 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7031 int arg2 ;
7032 bool result;
7033 PyObject * obj0 = 0 ;
7034 PyObject * obj1 = 0 ;
7035 char *kwnames[] = {
7036 (char *) "self",(char *) "edge", NULL
7037 };
7038
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7042 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 {
7052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7053 }
7054 return resultobj;
7055 fail:
7056 return NULL;
7057 }
7058
7059
7060 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
7061 PyObject *resultobj;
7062 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7063 int arg2 ;
7064 int result;
7065 PyObject * obj0 = 0 ;
7066 PyObject * obj1 = 0 ;
7067 char *kwnames[] = {
7068 (char *) "self",(char *) "edge", NULL
7069 };
7070
7071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7074 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 {
7077 PyThreadState* __tstate = wxPyBeginAllowThreads();
7078 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7079
7080 wxPyEndAllowThreads(__tstate);
7081 if (PyErr_Occurred()) SWIG_fail;
7082 }
7083 resultobj = SWIG_FromInt((int)result);
7084 return resultobj;
7085 fail:
7086 return NULL;
7087 }
7088
7089
7090 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7091 PyObject *resultobj;
7092 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7093 int arg2 ;
7094 PyObject * obj0 = 0 ;
7095 PyObject * obj1 = 0 ;
7096 char *kwnames[] = {
7097 (char *) "self",(char *) "width", NULL
7098 };
7099
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7103 arg2 = (int) SWIG_AsInt(obj1);
7104 if (PyErr_Occurred()) SWIG_fail;
7105 {
7106 PyThreadState* __tstate = wxPyBeginAllowThreads();
7107 (arg1)->SetDefaultBorderSize(arg2);
7108
7109 wxPyEndAllowThreads(__tstate);
7110 if (PyErr_Occurred()) SWIG_fail;
7111 }
7112 Py_INCREF(Py_None); resultobj = Py_None;
7113 return resultobj;
7114 fail:
7115 return NULL;
7116 }
7117
7118
7119 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7120 PyObject *resultobj;
7121 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7122 int result;
7123 PyObject * obj0 = 0 ;
7124 char *kwnames[] = {
7125 (char *) "self", NULL
7126 };
7127
7128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7131 {
7132 PyThreadState* __tstate = wxPyBeginAllowThreads();
7133 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7134
7135 wxPyEndAllowThreads(__tstate);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 }
7138 resultobj = SWIG_FromInt((int)result);
7139 return resultobj;
7140 fail:
7141 return NULL;
7142 }
7143
7144
7145 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7146 PyObject *resultobj;
7147 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7148 int arg2 ;
7149 PyObject * obj0 = 0 ;
7150 PyObject * obj1 = 0 ;
7151 char *kwnames[] = {
7152 (char *) "self",(char *) "width", NULL
7153 };
7154
7155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7158 arg2 = (int) SWIG_AsInt(obj1);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 {
7161 PyThreadState* __tstate = wxPyBeginAllowThreads();
7162 (arg1)->SetExtraBorderSize(arg2);
7163
7164 wxPyEndAllowThreads(__tstate);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
7167 Py_INCREF(Py_None); resultobj = Py_None;
7168 return resultobj;
7169 fail:
7170 return NULL;
7171 }
7172
7173
7174 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7175 PyObject *resultobj;
7176 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7177 int result;
7178 PyObject * obj0 = 0 ;
7179 char *kwnames[] = {
7180 (char *) "self", NULL
7181 };
7182
7183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7189
7190 wxPyEndAllowThreads(__tstate);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
7193 resultobj = SWIG_FromInt((int)result);
7194 return resultobj;
7195 fail:
7196 return NULL;
7197 }
7198
7199
7200 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7201 PyObject *resultobj;
7202 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7203 int arg2 ;
7204 PyObject * obj0 = 0 ;
7205 PyObject * obj1 = 0 ;
7206 char *kwnames[] = {
7207 (char *) "self",(char *) "min", NULL
7208 };
7209
7210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7213 arg2 = (int) SWIG_AsInt(obj1);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 (arg1)->SetMinimumSizeX(arg2);
7218
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 Py_INCREF(Py_None); resultobj = Py_None;
7223 return resultobj;
7224 fail:
7225 return NULL;
7226 }
7227
7228
7229 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7230 PyObject *resultobj;
7231 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7232 int arg2 ;
7233 PyObject * obj0 = 0 ;
7234 PyObject * obj1 = 0 ;
7235 char *kwnames[] = {
7236 (char *) "self",(char *) "min", NULL
7237 };
7238
7239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7242 arg2 = (int) SWIG_AsInt(obj1);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 (arg1)->SetMinimumSizeY(arg2);
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 Py_INCREF(Py_None); resultobj = Py_None;
7252 return resultobj;
7253 fail:
7254 return NULL;
7255 }
7256
7257
7258 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7259 PyObject *resultobj;
7260 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7261 int result;
7262 PyObject * obj0 = 0 ;
7263 char *kwnames[] = {
7264 (char *) "self", NULL
7265 };
7266
7267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7270 {
7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
7272 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7273
7274 wxPyEndAllowThreads(__tstate);
7275 if (PyErr_Occurred()) SWIG_fail;
7276 }
7277 resultobj = SWIG_FromInt((int)result);
7278 return resultobj;
7279 fail:
7280 return NULL;
7281 }
7282
7283
7284 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7285 PyObject *resultobj;
7286 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7287 int result;
7288 PyObject * obj0 = 0 ;
7289 char *kwnames[] = {
7290 (char *) "self", NULL
7291 };
7292
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7298 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7299
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 resultobj = SWIG_FromInt((int)result);
7304 return resultobj;
7305 fail:
7306 return NULL;
7307 }
7308
7309
7310 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7311 PyObject *resultobj;
7312 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7313 int arg2 ;
7314 PyObject * obj0 = 0 ;
7315 PyObject * obj1 = 0 ;
7316 char *kwnames[] = {
7317 (char *) "self",(char *) "max", NULL
7318 };
7319
7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7323 arg2 = (int) SWIG_AsInt(obj1);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 (arg1)->SetMaximumSizeX(arg2);
7328
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 Py_INCREF(Py_None); resultobj = Py_None;
7333 return resultobj;
7334 fail:
7335 return NULL;
7336 }
7337
7338
7339 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7340 PyObject *resultobj;
7341 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7342 int arg2 ;
7343 PyObject * obj0 = 0 ;
7344 PyObject * obj1 = 0 ;
7345 char *kwnames[] = {
7346 (char *) "self",(char *) "max", NULL
7347 };
7348
7349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7352 arg2 = (int) SWIG_AsInt(obj1);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 (arg1)->SetMaximumSizeY(arg2);
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 Py_INCREF(Py_None); resultobj = Py_None;
7362 return resultobj;
7363 fail:
7364 return NULL;
7365 }
7366
7367
7368 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7369 PyObject *resultobj;
7370 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7371 int result;
7372 PyObject * obj0 = 0 ;
7373 char *kwnames[] = {
7374 (char *) "self", NULL
7375 };
7376
7377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 resultobj = SWIG_FromInt((int)result);
7388 return resultobj;
7389 fail:
7390 return NULL;
7391 }
7392
7393
7394 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7395 PyObject *resultobj;
7396 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7397 int result;
7398 PyObject * obj0 = 0 ;
7399 char *kwnames[] = {
7400 (char *) "self", NULL
7401 };
7402
7403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 resultobj = SWIG_FromInt((int)result);
7414 return resultobj;
7415 fail:
7416 return NULL;
7417 }
7418
7419
7420 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7421 PyObject *resultobj;
7422 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7423 int arg2 ;
7424 int arg3 ;
7425 int arg4 = (int) 2 ;
7426 int result;
7427 PyObject * obj0 = 0 ;
7428 PyObject * obj1 = 0 ;
7429 PyObject * obj2 = 0 ;
7430 PyObject * obj3 = 0 ;
7431 char *kwnames[] = {
7432 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7433 };
7434
7435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7438 arg2 = (int) SWIG_AsInt(obj1);
7439 if (PyErr_Occurred()) SWIG_fail;
7440 arg3 = (int) SWIG_AsInt(obj2);
7441 if (PyErr_Occurred()) SWIG_fail;
7442 if (obj3) {
7443 arg4 = (int) SWIG_AsInt(obj3);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 {
7447 PyThreadState* __tstate = wxPyBeginAllowThreads();
7448 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7449
7450 wxPyEndAllowThreads(__tstate);
7451 if (PyErr_Occurred()) SWIG_fail;
7452 }
7453 resultobj = SWIG_FromInt((int)result);
7454 return resultobj;
7455 fail:
7456 return NULL;
7457 }
7458
7459
7460 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7461 PyObject *resultobj;
7462 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7463 PyObject * obj0 = 0 ;
7464 char *kwnames[] = {
7465 (char *) "self", NULL
7466 };
7467
7468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7471 {
7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7473 (arg1)->SizeWindows();
7474
7475 wxPyEndAllowThreads(__tstate);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 }
7478 Py_INCREF(Py_None); resultobj = Py_None;
7479 return resultobj;
7480 fail:
7481 return NULL;
7482 }
7483
7484
7485 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7486 PyObject *obj;
7487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7488 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7489 Py_INCREF(obj);
7490 return Py_BuildValue((char *)"");
7491 }
7492 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7493 PyObject *resultobj;
7494 int arg1 = (int) 0 ;
7495 int arg2 = (int) wxSASH_NONE ;
7496 wxSashEvent *result;
7497 PyObject * obj0 = 0 ;
7498 PyObject * obj1 = 0 ;
7499 char *kwnames[] = {
7500 (char *) "id",(char *) "edge", NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7504 if (obj0) {
7505 arg1 = (int) SWIG_AsInt(obj0);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 }
7508 if (obj1) {
7509 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7529 int arg2 ;
7530 PyObject * obj0 = 0 ;
7531 PyObject * obj1 = 0 ;
7532 char *kwnames[] = {
7533 (char *) "self",(char *) "edge", NULL
7534 };
7535
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7539 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7544
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 Py_INCREF(Py_None); resultobj = Py_None;
7549 return resultobj;
7550 fail:
7551 return NULL;
7552 }
7553
7554
7555 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7556 PyObject *resultobj;
7557 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7558 int result;
7559 PyObject * obj0 = 0 ;
7560 char *kwnames[] = {
7561 (char *) "self", NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7567 {
7568 PyThreadState* __tstate = wxPyBeginAllowThreads();
7569 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7570
7571 wxPyEndAllowThreads(__tstate);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
7574 resultobj = SWIG_FromInt((int)result);
7575 return resultobj;
7576 fail:
7577 return NULL;
7578 }
7579
7580
7581 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7582 PyObject *resultobj;
7583 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7584 wxRect *arg2 = 0 ;
7585 wxRect temp2 ;
7586 PyObject * obj0 = 0 ;
7587 PyObject * obj1 = 0 ;
7588 char *kwnames[] = {
7589 (char *) "self",(char *) "rect", NULL
7590 };
7591
7592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7595 {
7596 arg2 = &temp2;
7597 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7598 }
7599 {
7600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7601 (arg1)->SetDragRect((wxRect const &)*arg2);
7602
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 Py_INCREF(Py_None); resultobj = Py_None;
7607 return resultobj;
7608 fail:
7609 return NULL;
7610 }
7611
7612
7613 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7614 PyObject *resultobj;
7615 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7616 wxRect result;
7617 PyObject * obj0 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "self", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7625 {
7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
7627 result = ((wxSashEvent const *)arg1)->GetDragRect();
7628
7629 wxPyEndAllowThreads(__tstate);
7630 if (PyErr_Occurred()) SWIG_fail;
7631 }
7632 {
7633 wxRect * resultptr;
7634 resultptr = new wxRect((wxRect &) result);
7635 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7636 }
7637 return resultobj;
7638 fail:
7639 return NULL;
7640 }
7641
7642
7643 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj;
7645 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7646 int arg2 ;
7647 PyObject * obj0 = 0 ;
7648 PyObject * obj1 = 0 ;
7649 char *kwnames[] = {
7650 (char *) "self",(char *) "status", NULL
7651 };
7652
7653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7656 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7661
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 Py_INCREF(Py_None); resultobj = Py_None;
7666 return resultobj;
7667 fail:
7668 return NULL;
7669 }
7670
7671
7672 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7673 PyObject *resultobj;
7674 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7675 int result;
7676 PyObject * obj0 = 0 ;
7677 char *kwnames[] = {
7678 (char *) "self", NULL
7679 };
7680
7681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7684 {
7685 PyThreadState* __tstate = wxPyBeginAllowThreads();
7686 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7687
7688 wxPyEndAllowThreads(__tstate);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 resultobj = SWIG_FromInt((int)result);
7692 return resultobj;
7693 fail:
7694 return NULL;
7695 }
7696
7697
7698 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7699 PyObject *obj;
7700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7701 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7702 Py_INCREF(obj);
7703 return Py_BuildValue((char *)"");
7704 }
7705 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7706 PyObject *resultobj;
7707 int arg1 = (int) 0 ;
7708 wxQueryLayoutInfoEvent *result;
7709 PyObject * obj0 = 0 ;
7710 char *kwnames[] = {
7711 (char *) "id", NULL
7712 };
7713
7714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7715 if (obj0) {
7716 arg1 = (int) SWIG_AsInt(obj0);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7727 return resultobj;
7728 fail:
7729 return NULL;
7730 }
7731
7732
7733 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7736 int arg2 ;
7737 PyObject * obj0 = 0 ;
7738 PyObject * obj1 = 0 ;
7739 char *kwnames[] = {
7740 (char *) "self",(char *) "length", NULL
7741 };
7742
7743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7746 arg2 = (int) SWIG_AsInt(obj1);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 (arg1)->SetRequestedLength(arg2);
7751
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
7755 Py_INCREF(Py_None); resultobj = Py_None;
7756 return resultobj;
7757 fail:
7758 return NULL;
7759 }
7760
7761
7762 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7763 PyObject *resultobj;
7764 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7765 int result;
7766 PyObject * obj0 = 0 ;
7767 char *kwnames[] = {
7768 (char *) "self", NULL
7769 };
7770
7771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 resultobj = SWIG_FromInt((int)result);
7782 return resultobj;
7783 fail:
7784 return NULL;
7785 }
7786
7787
7788 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7789 PyObject *resultobj;
7790 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7791 int arg2 ;
7792 PyObject * obj0 = 0 ;
7793 PyObject * obj1 = 0 ;
7794 char *kwnames[] = {
7795 (char *) "self",(char *) "flags", NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7801 arg2 = (int) SWIG_AsInt(obj1);
7802 if (PyErr_Occurred()) SWIG_fail;
7803 {
7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
7805 (arg1)->SetFlags(arg2);
7806
7807 wxPyEndAllowThreads(__tstate);
7808 if (PyErr_Occurred()) SWIG_fail;
7809 }
7810 Py_INCREF(Py_None); resultobj = Py_None;
7811 return resultobj;
7812 fail:
7813 return NULL;
7814 }
7815
7816
7817 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7818 PyObject *resultobj;
7819 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7820 int result;
7821 PyObject * obj0 = 0 ;
7822 char *kwnames[] = {
7823 (char *) "self", NULL
7824 };
7825
7826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7829 {
7830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7831 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7832
7833 wxPyEndAllowThreads(__tstate);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 }
7836 resultobj = SWIG_FromInt((int)result);
7837 return resultobj;
7838 fail:
7839 return NULL;
7840 }
7841
7842
7843 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7844 PyObject *resultobj;
7845 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7846 wxSize *arg2 = 0 ;
7847 wxSize temp2 ;
7848 PyObject * obj0 = 0 ;
7849 PyObject * obj1 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "self",(char *) "size", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7857 {
7858 arg2 = &temp2;
7859 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7860 }
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 (arg1)->SetSize((wxSize const &)*arg2);
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 Py_INCREF(Py_None); resultobj = Py_None;
7869 return resultobj;
7870 fail:
7871 return NULL;
7872 }
7873
7874
7875 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7878 wxSize result;
7879 PyObject * obj0 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "self", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 {
7895 wxSize * resultptr;
7896 resultptr = new wxSize((wxSize &) result);
7897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7898 }
7899 return resultobj;
7900 fail:
7901 return NULL;
7902 }
7903
7904
7905 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7906 PyObject *resultobj;
7907 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7908 int arg2 ;
7909 PyObject * obj0 = 0 ;
7910 PyObject * obj1 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self",(char *) "orient", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7918 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7919 if (PyErr_Occurred()) SWIG_fail;
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 Py_INCREF(Py_None); resultobj = Py_None;
7928 return resultobj;
7929 fail:
7930 return NULL;
7931 }
7932
7933
7934 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7937 int result;
7938 PyObject * obj0 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "self", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 resultobj = SWIG_FromInt((int)result);
7954 return resultobj;
7955 fail:
7956 return NULL;
7957 }
7958
7959
7960 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7963 int arg2 ;
7964 PyObject * obj0 = 0 ;
7965 PyObject * obj1 = 0 ;
7966 char *kwnames[] = {
7967 (char *) "self",(char *) "align", NULL
7968 };
7969
7970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7973 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 Py_INCREF(Py_None); resultobj = Py_None;
7983 return resultobj;
7984 fail:
7985 return NULL;
7986 }
7987
7988
7989 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7990 PyObject *resultobj;
7991 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7992 int result;
7993 PyObject * obj0 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "self", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8001 {
8002 PyThreadState* __tstate = wxPyBeginAllowThreads();
8003 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8004
8005 wxPyEndAllowThreads(__tstate);
8006 if (PyErr_Occurred()) SWIG_fail;
8007 }
8008 resultobj = SWIG_FromInt((int)result);
8009 return resultobj;
8010 fail:
8011 return NULL;
8012 }
8013
8014
8015 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
8016 PyObject *obj;
8017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8018 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8019 Py_INCREF(obj);
8020 return Py_BuildValue((char *)"");
8021 }
8022 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8023 PyObject *resultobj;
8024 int arg1 = (int) 0 ;
8025 wxCalculateLayoutEvent *result;
8026 PyObject * obj0 = 0 ;
8027 char *kwnames[] = {
8028 (char *) "id", NULL
8029 };
8030
8031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8032 if (obj0) {
8033 arg1 = (int) SWIG_AsInt(obj0);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 {
8037 PyThreadState* __tstate = wxPyBeginAllowThreads();
8038 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8039
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) SWIG_fail;
8042 }
8043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8044 return resultobj;
8045 fail:
8046 return NULL;
8047 }
8048
8049
8050 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8051 PyObject *resultobj;
8052 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8053 int arg2 ;
8054 PyObject * obj0 = 0 ;
8055 PyObject * obj1 = 0 ;
8056 char *kwnames[] = {
8057 (char *) "self",(char *) "flags", NULL
8058 };
8059
8060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8063 arg2 = (int) SWIG_AsInt(obj1);
8064 if (PyErr_Occurred()) SWIG_fail;
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 (arg1)->SetFlags(arg2);
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 Py_INCREF(Py_None); resultobj = Py_None;
8073 return resultobj;
8074 fail:
8075 return NULL;
8076 }
8077
8078
8079 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8080 PyObject *resultobj;
8081 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8082 int result;
8083 PyObject * obj0 = 0 ;
8084 char *kwnames[] = {
8085 (char *) "self", NULL
8086 };
8087
8088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8094
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 resultobj = SWIG_FromInt((int)result);
8099 return resultobj;
8100 fail:
8101 return NULL;
8102 }
8103
8104
8105 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj;
8107 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8108 wxRect *arg2 = 0 ;
8109 wxRect temp2 ;
8110 PyObject * obj0 = 0 ;
8111 PyObject * obj1 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self",(char *) "rect", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8119 {
8120 arg2 = &temp2;
8121 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8122 }
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 (arg1)->SetRect((wxRect const &)*arg2);
8126
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 Py_INCREF(Py_None); resultobj = Py_None;
8131 return resultobj;
8132 fail:
8133 return NULL;
8134 }
8135
8136
8137 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8138 PyObject *resultobj;
8139 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8140 wxRect result;
8141 PyObject * obj0 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "self", NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8152
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 {
8157 wxRect * resultptr;
8158 resultptr = new wxRect((wxRect &) result);
8159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8160 }
8161 return resultobj;
8162 fail:
8163 return NULL;
8164 }
8165
8166
8167 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8168 PyObject *obj;
8169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8170 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8171 Py_INCREF(obj);
8172 return Py_BuildValue((char *)"");
8173 }
8174 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8175 PyObject *resultobj;
8176 wxWindow *arg1 = (wxWindow *) 0 ;
8177 int arg2 ;
8178 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8179 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8180 wxSize const &arg4_defvalue = wxDefaultSize ;
8181 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8182 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8183 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8184 wxString *arg6 = (wxString *) &arg6_defvalue ;
8185 wxSashLayoutWindow *result;
8186 wxPoint temp3 ;
8187 wxSize temp4 ;
8188 bool temp6 = False ;
8189 PyObject * obj0 = 0 ;
8190 PyObject * obj1 = 0 ;
8191 PyObject * obj2 = 0 ;
8192 PyObject * obj3 = 0 ;
8193 PyObject * obj4 = 0 ;
8194 PyObject * obj5 = 0 ;
8195 char *kwnames[] = {
8196 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8197 };
8198
8199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8202 arg2 = (int) SWIG_AsInt(obj1);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 if (obj2) {
8205 {
8206 arg3 = &temp3;
8207 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8208 }
8209 }
8210 if (obj3) {
8211 {
8212 arg4 = &temp4;
8213 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8214 }
8215 }
8216 if (obj4) {
8217 arg5 = (long) SWIG_AsLong(obj4);
8218 if (PyErr_Occurred()) SWIG_fail;
8219 }
8220 if (obj5) {
8221 {
8222 arg6 = wxString_in_helper(obj5);
8223 if (arg6 == NULL) SWIG_fail;
8224 temp6 = True;
8225 }
8226 }
8227 {
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8230
8231 wxPyEndAllowThreads(__tstate);
8232 if (PyErr_Occurred()) SWIG_fail;
8233 }
8234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8235 {
8236 if (temp6)
8237 delete arg6;
8238 }
8239 return resultobj;
8240 fail:
8241 {
8242 if (temp6)
8243 delete arg6;
8244 }
8245 return NULL;
8246 }
8247
8248
8249 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8250 PyObject *resultobj;
8251 wxSashLayoutWindow *result;
8252 char *kwnames[] = {
8253 NULL
8254 };
8255
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
8259 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
8264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8265 return resultobj;
8266 fail:
8267 return NULL;
8268 }
8269
8270
8271 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8272 PyObject *resultobj;
8273 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8274 wxWindow *arg2 = (wxWindow *) 0 ;
8275 int arg3 ;
8276 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8277 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8278 wxSize const &arg5_defvalue = wxDefaultSize ;
8279 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8280 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8281 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8282 wxString *arg7 = (wxString *) &arg7_defvalue ;
8283 bool result;
8284 wxPoint temp4 ;
8285 wxSize temp5 ;
8286 bool temp7 = False ;
8287 PyObject * obj0 = 0 ;
8288 PyObject * obj1 = 0 ;
8289 PyObject * obj2 = 0 ;
8290 PyObject * obj3 = 0 ;
8291 PyObject * obj4 = 0 ;
8292 PyObject * obj5 = 0 ;
8293 PyObject * obj6 = 0 ;
8294 char *kwnames[] = {
8295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8296 };
8297
8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8301 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8303 arg3 = (int) SWIG_AsInt(obj2);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 if (obj3) {
8306 {
8307 arg4 = &temp4;
8308 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8309 }
8310 }
8311 if (obj4) {
8312 {
8313 arg5 = &temp5;
8314 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8315 }
8316 }
8317 if (obj5) {
8318 arg6 = (long) SWIG_AsLong(obj5);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
8321 if (obj6) {
8322 {
8323 arg7 = wxString_in_helper(obj6);
8324 if (arg7 == NULL) SWIG_fail;
8325 temp7 = True;
8326 }
8327 }
8328 {
8329 PyThreadState* __tstate = wxPyBeginAllowThreads();
8330 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8331
8332 wxPyEndAllowThreads(__tstate);
8333 if (PyErr_Occurred()) SWIG_fail;
8334 }
8335 {
8336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8337 }
8338 {
8339 if (temp7)
8340 delete arg7;
8341 }
8342 return resultobj;
8343 fail:
8344 {
8345 if (temp7)
8346 delete arg7;
8347 }
8348 return NULL;
8349 }
8350
8351
8352 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj;
8354 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8355 int result;
8356 PyObject * obj0 = 0 ;
8357 char *kwnames[] = {
8358 (char *) "self", NULL
8359 };
8360
8361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8364 {
8365 PyThreadState* __tstate = wxPyBeginAllowThreads();
8366 result = (int)(arg1)->GetAlignment();
8367
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 resultobj = SWIG_FromInt((int)result);
8372 return resultobj;
8373 fail:
8374 return NULL;
8375 }
8376
8377
8378 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8379 PyObject *resultobj;
8380 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8381 int result;
8382 PyObject * obj0 = 0 ;
8383 char *kwnames[] = {
8384 (char *) "self", NULL
8385 };
8386
8387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 result = (int)(arg1)->GetOrientation();
8393
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 resultobj = SWIG_FromInt((int)result);
8398 return resultobj;
8399 fail:
8400 return NULL;
8401 }
8402
8403
8404 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8405 PyObject *resultobj;
8406 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8407 int arg2 ;
8408 PyObject * obj0 = 0 ;
8409 PyObject * obj1 = 0 ;
8410 char *kwnames[] = {
8411 (char *) "self",(char *) "alignment", NULL
8412 };
8413
8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8417 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 {
8420 PyThreadState* __tstate = wxPyBeginAllowThreads();
8421 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8422
8423 wxPyEndAllowThreads(__tstate);
8424 if (PyErr_Occurred()) SWIG_fail;
8425 }
8426 Py_INCREF(Py_None); resultobj = Py_None;
8427 return resultobj;
8428 fail:
8429 return NULL;
8430 }
8431
8432
8433 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8434 PyObject *resultobj;
8435 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8436 wxSize *arg2 = 0 ;
8437 wxSize temp2 ;
8438 PyObject * obj0 = 0 ;
8439 PyObject * obj1 = 0 ;
8440 char *kwnames[] = {
8441 (char *) "self",(char *) "size", NULL
8442 };
8443
8444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8447 {
8448 arg2 = &temp2;
8449 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8450 }
8451 {
8452 PyThreadState* __tstate = wxPyBeginAllowThreads();
8453 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8454
8455 wxPyEndAllowThreads(__tstate);
8456 if (PyErr_Occurred()) SWIG_fail;
8457 }
8458 Py_INCREF(Py_None); resultobj = Py_None;
8459 return resultobj;
8460 fail:
8461 return NULL;
8462 }
8463
8464
8465 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8466 PyObject *resultobj;
8467 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8468 int arg2 ;
8469 PyObject * obj0 = 0 ;
8470 PyObject * obj1 = 0 ;
8471 char *kwnames[] = {
8472 (char *) "self",(char *) "orientation", NULL
8473 };
8474
8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8478 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 {
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8483
8484 wxPyEndAllowThreads(__tstate);
8485 if (PyErr_Occurred()) SWIG_fail;
8486 }
8487 Py_INCREF(Py_None); resultobj = Py_None;
8488 return resultobj;
8489 fail:
8490 return NULL;
8491 }
8492
8493
8494 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8495 PyObject *obj;
8496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8497 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8498 Py_INCREF(obj);
8499 return Py_BuildValue((char *)"");
8500 }
8501 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj;
8503 wxLayoutAlgorithm *result;
8504 char *kwnames[] = {
8505 NULL
8506 };
8507
8508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8509 {
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
8516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8517 return resultobj;
8518 fail:
8519 return NULL;
8520 }
8521
8522
8523 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8524 PyObject *resultobj;
8525 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8526 PyObject * obj0 = 0 ;
8527 char *kwnames[] = {
8528 (char *) "self", NULL
8529 };
8530
8531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 delete arg1;
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 Py_INCREF(Py_None); resultobj = Py_None;
8542 return resultobj;
8543 fail:
8544 return NULL;
8545 }
8546
8547
8548 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj;
8550 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8551 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8552 wxRect *arg3 = (wxRect *) NULL ;
8553 bool result;
8554 PyObject * obj0 = 0 ;
8555 PyObject * obj1 = 0 ;
8556 PyObject * obj2 = 0 ;
8557 char *kwnames[] = {
8558 (char *) "self",(char *) "frame",(char *) "rect", NULL
8559 };
8560
8561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8566 if (obj2) {
8567 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8569 }
8570 {
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8573
8574 wxPyEndAllowThreads(__tstate);
8575 if (PyErr_Occurred()) SWIG_fail;
8576 }
8577 {
8578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8579 }
8580 return resultobj;
8581 fail:
8582 return NULL;
8583 }
8584
8585
8586 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8587 PyObject *resultobj;
8588 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8589 wxFrame *arg2 = (wxFrame *) 0 ;
8590 wxWindow *arg3 = (wxWindow *) NULL ;
8591 bool result;
8592 PyObject * obj0 = 0 ;
8593 PyObject * obj1 = 0 ;
8594 PyObject * obj2 = 0 ;
8595 char *kwnames[] = {
8596 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8597 };
8598
8599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8604 if (obj2) {
8605 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8607 }
8608 {
8609 PyThreadState* __tstate = wxPyBeginAllowThreads();
8610 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8611
8612 wxPyEndAllowThreads(__tstate);
8613 if (PyErr_Occurred()) SWIG_fail;
8614 }
8615 {
8616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8617 }
8618 return resultobj;
8619 fail:
8620 return NULL;
8621 }
8622
8623
8624 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8625 PyObject *resultobj;
8626 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8627 wxWindow *arg2 = (wxWindow *) 0 ;
8628 wxWindow *arg3 = (wxWindow *) NULL ;
8629 bool result;
8630 PyObject * obj0 = 0 ;
8631 PyObject * obj1 = 0 ;
8632 PyObject * obj2 = 0 ;
8633 char *kwnames[] = {
8634 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8635 };
8636
8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8642 if (obj2) {
8643 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8645 }
8646 {
8647 PyThreadState* __tstate = wxPyBeginAllowThreads();
8648 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8649
8650 wxPyEndAllowThreads(__tstate);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 }
8653 {
8654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8655 }
8656 return resultobj;
8657 fail:
8658 return NULL;
8659 }
8660
8661
8662 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8663 PyObject *obj;
8664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8665 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8666 Py_INCREF(obj);
8667 return Py_BuildValue((char *)"");
8668 }
8669 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8670 PyObject *resultobj;
8671 wxWindow *arg1 = (wxWindow *) 0 ;
8672 int arg2 = (int) wxBORDER_NONE ;
8673 wxPopupWindow *result;
8674 PyObject * obj0 = 0 ;
8675 PyObject * obj1 = 0 ;
8676 char *kwnames[] = {
8677 (char *) "parent",(char *) "flags", NULL
8678 };
8679
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8683 if (obj1) {
8684 arg2 = (int) SWIG_AsInt(obj1);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8695 return resultobj;
8696 fail:
8697 return NULL;
8698 }
8699
8700
8701 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8702 PyObject *resultobj;
8703 wxPopupWindow *result;
8704 char *kwnames[] = {
8705 NULL
8706 };
8707
8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 result = (wxPopupWindow *)new wxPopupWindow();
8712
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8717 return resultobj;
8718 fail:
8719 return NULL;
8720 }
8721
8722
8723 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8724 PyObject *obj;
8725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8726 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8727 Py_INCREF(obj);
8728 return Py_BuildValue((char *)"");
8729 }
8730 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8731 PyObject *resultobj;
8732 wxWindow *arg1 = (wxWindow *) 0 ;
8733 int arg2 = (int) wxBORDER_NONE ;
8734 wxPyPopupTransientWindow *result;
8735 PyObject * obj0 = 0 ;
8736 PyObject * obj1 = 0 ;
8737 char *kwnames[] = {
8738 (char *) "parent",(char *) "style", NULL
8739 };
8740
8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8744 if (obj1) {
8745 arg2 = (int) SWIG_AsInt(obj1);
8746 if (PyErr_Occurred()) SWIG_fail;
8747 }
8748 {
8749 PyThreadState* __tstate = wxPyBeginAllowThreads();
8750 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8751
8752 wxPyEndAllowThreads(__tstate);
8753 if (PyErr_Occurred()) SWIG_fail;
8754 }
8755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8756 return resultobj;
8757 fail:
8758 return NULL;
8759 }
8760
8761
8762 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8763 PyObject *resultobj;
8764 wxPyPopupTransientWindow *result;
8765 char *kwnames[] = {
8766 NULL
8767 };
8768
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8773
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8778 return resultobj;
8779 fail:
8780 return NULL;
8781 }
8782
8783
8784 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8785 PyObject *obj;
8786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8787 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8788 Py_INCREF(obj);
8789 return Py_BuildValue((char *)"");
8790 }
8791 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8792 PyObject *resultobj;
8793 wxWindow *arg1 = (wxWindow *) 0 ;
8794 wxString *arg2 = 0 ;
8795 int arg3 = (int) 100 ;
8796 wxRect *arg4 = (wxRect *) NULL ;
8797 wxTipWindow *result;
8798 bool temp2 = False ;
8799 PyObject * obj0 = 0 ;
8800 PyObject * obj1 = 0 ;
8801 PyObject * obj2 = 0 ;
8802 PyObject * obj3 = 0 ;
8803 char *kwnames[] = {
8804 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8805 };
8806
8807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8810 {
8811 arg2 = wxString_in_helper(obj1);
8812 if (arg2 == NULL) SWIG_fail;
8813 temp2 = True;
8814 }
8815 if (obj2) {
8816 arg3 = (int) SWIG_AsInt(obj2);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
8819 if (obj3) {
8820 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8822 }
8823 {
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8826
8827 wxPyEndAllowThreads(__tstate);
8828 if (PyErr_Occurred()) SWIG_fail;
8829 }
8830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8831 {
8832 if (temp2)
8833 delete arg2;
8834 }
8835 return resultobj;
8836 fail:
8837 {
8838 if (temp2)
8839 delete arg2;
8840 }
8841 return NULL;
8842 }
8843
8844
8845 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8846 PyObject *resultobj;
8847 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8848 wxRect *arg2 = 0 ;
8849 wxRect temp2 ;
8850 PyObject * obj0 = 0 ;
8851 PyObject * obj1 = 0 ;
8852 char *kwnames[] = {
8853 (char *) "self",(char *) "rectBound", NULL
8854 };
8855
8856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8859 {
8860 arg2 = &temp2;
8861 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8862 }
8863 {
8864 PyThreadState* __tstate = wxPyBeginAllowThreads();
8865 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8866
8867 wxPyEndAllowThreads(__tstate);
8868 if (PyErr_Occurred()) SWIG_fail;
8869 }
8870 Py_INCREF(Py_None); resultobj = Py_None;
8871 return resultobj;
8872 fail:
8873 return NULL;
8874 }
8875
8876
8877 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8878 PyObject *resultobj;
8879 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8880 PyObject * obj0 = 0 ;
8881 char *kwnames[] = {
8882 (char *) "self", NULL
8883 };
8884
8885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8888 {
8889 PyThreadState* __tstate = wxPyBeginAllowThreads();
8890 (arg1)->Close();
8891
8892 wxPyEndAllowThreads(__tstate);
8893 if (PyErr_Occurred()) SWIG_fail;
8894 }
8895 Py_INCREF(Py_None); resultobj = Py_None;
8896 return resultobj;
8897 fail:
8898 return NULL;
8899 }
8900
8901
8902 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8903 PyObject *obj;
8904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8905 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8906 Py_INCREF(obj);
8907 return Py_BuildValue((char *)"");
8908 }
8909 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj;
8911 wxWindow *arg1 = (wxWindow *) 0 ;
8912 int arg2 = (int) wxID_ANY ;
8913 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8914 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8915 wxSize const &arg4_defvalue = wxDefaultSize ;
8916 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8917 long arg5 = (long) 0 ;
8918 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8919 wxString *arg6 = (wxString *) &arg6_defvalue ;
8920 wxPyVScrolledWindow *result;
8921 wxPoint temp3 ;
8922 wxSize temp4 ;
8923 bool temp6 = False ;
8924 PyObject * obj0 = 0 ;
8925 PyObject * obj1 = 0 ;
8926 PyObject * obj2 = 0 ;
8927 PyObject * obj3 = 0 ;
8928 PyObject * obj4 = 0 ;
8929 PyObject * obj5 = 0 ;
8930 char *kwnames[] = {
8931 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8932 };
8933
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8937 if (obj1) {
8938 arg2 = (int) SWIG_AsInt(obj1);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 if (obj2) {
8942 {
8943 arg3 = &temp3;
8944 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8945 }
8946 }
8947 if (obj3) {
8948 {
8949 arg4 = &temp4;
8950 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8951 }
8952 }
8953 if (obj4) {
8954 arg5 = (long) SWIG_AsLong(obj4);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 }
8957 if (obj5) {
8958 {
8959 arg6 = wxString_in_helper(obj5);
8960 if (arg6 == NULL) SWIG_fail;
8961 temp6 = True;
8962 }
8963 }
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8972 {
8973 if (temp6)
8974 delete arg6;
8975 }
8976 return resultobj;
8977 fail:
8978 {
8979 if (temp6)
8980 delete arg6;
8981 }
8982 return NULL;
8983 }
8984
8985
8986 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8987 PyObject *resultobj;
8988 wxPyVScrolledWindow *result;
8989 char *kwnames[] = {
8990 NULL
8991 };
8992
8993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8994 {
8995 PyThreadState* __tstate = wxPyBeginAllowThreads();
8996 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8997
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
9001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9002 return resultobj;
9003 fail:
9004 return NULL;
9005 }
9006
9007
9008 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj;
9010 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9011 PyObject *arg2 = (PyObject *) 0 ;
9012 PyObject *arg3 = (PyObject *) 0 ;
9013 PyObject * obj0 = 0 ;
9014 PyObject * obj1 = 0 ;
9015 PyObject * obj2 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self",(char *) "self",(char *) "_class", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9023 arg2 = obj1;
9024 arg3 = obj2;
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 (arg1)->_setCallbackInfo(arg2,arg3);
9028
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 Py_INCREF(Py_None); resultobj = Py_None;
9033 return resultobj;
9034 fail:
9035 return NULL;
9036 }
9037
9038
9039 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9040 PyObject *resultobj;
9041 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9042 wxWindow *arg2 = (wxWindow *) 0 ;
9043 int arg3 = (int) wxID_ANY ;
9044 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9045 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9046 wxSize const &arg5_defvalue = wxDefaultSize ;
9047 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9048 long arg6 = (long) 0 ;
9049 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9050 wxString *arg7 = (wxString *) &arg7_defvalue ;
9051 bool result;
9052 wxPoint temp4 ;
9053 wxSize temp5 ;
9054 bool temp7 = False ;
9055 PyObject * obj0 = 0 ;
9056 PyObject * obj1 = 0 ;
9057 PyObject * obj2 = 0 ;
9058 PyObject * obj3 = 0 ;
9059 PyObject * obj4 = 0 ;
9060 PyObject * obj5 = 0 ;
9061 PyObject * obj6 = 0 ;
9062 char *kwnames[] = {
9063 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9064 };
9065
9066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9071 if (obj2) {
9072 arg3 = (int) SWIG_AsInt(obj2);
9073 if (PyErr_Occurred()) SWIG_fail;
9074 }
9075 if (obj3) {
9076 {
9077 arg4 = &temp4;
9078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9079 }
9080 }
9081 if (obj4) {
9082 {
9083 arg5 = &temp5;
9084 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9085 }
9086 }
9087 if (obj5) {
9088 arg6 = (long) SWIG_AsLong(obj5);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 }
9091 if (obj6) {
9092 {
9093 arg7 = wxString_in_helper(obj6);
9094 if (arg7 == NULL) SWIG_fail;
9095 temp7 = True;
9096 }
9097 }
9098 {
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9101
9102 wxPyEndAllowThreads(__tstate);
9103 if (PyErr_Occurred()) SWIG_fail;
9104 }
9105 {
9106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9107 }
9108 {
9109 if (temp7)
9110 delete arg7;
9111 }
9112 return resultobj;
9113 fail:
9114 {
9115 if (temp7)
9116 delete arg7;
9117 }
9118 return NULL;
9119 }
9120
9121
9122 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj;
9124 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9125 size_t arg2 ;
9126 PyObject * obj0 = 0 ;
9127 PyObject * obj1 = 0 ;
9128 char *kwnames[] = {
9129 (char *) "self",(char *) "count", NULL
9130 };
9131
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9135 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9136 if (PyErr_Occurred()) SWIG_fail;
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 (arg1)->SetLineCount(arg2);
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 Py_INCREF(Py_None); resultobj = Py_None;
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj;
9153 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9154 size_t arg2 ;
9155 bool result;
9156 PyObject * obj0 = 0 ;
9157 PyObject * obj1 = 0 ;
9158 char *kwnames[] = {
9159 (char *) "self",(char *) "line", NULL
9160 };
9161
9162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9165 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 {
9168 PyThreadState* __tstate = wxPyBeginAllowThreads();
9169 result = (bool)(arg1)->ScrollToLine(arg2);
9170
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
9174 {
9175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9176 }
9177 return resultobj;
9178 fail:
9179 return NULL;
9180 }
9181
9182
9183 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9184 PyObject *resultobj;
9185 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9186 int arg2 ;
9187 bool result;
9188 PyObject * obj0 = 0 ;
9189 PyObject * obj1 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self",(char *) "lines", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",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 = (int) SWIG_AsInt(obj1);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 result = (bool)(arg1)->ScrollLines(arg2);
9202
9203 wxPyEndAllowThreads(__tstate);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
9206 {
9207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9208 }
9209 return resultobj;
9210 fail:
9211 return NULL;
9212 }
9213
9214
9215 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9216 PyObject *resultobj;
9217 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9218 int arg2 ;
9219 bool result;
9220 PyObject * obj0 = 0 ;
9221 PyObject * obj1 = 0 ;
9222 char *kwnames[] = {
9223 (char *) "self",(char *) "pages", NULL
9224 };
9225
9226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9229 arg2 = (int) SWIG_AsInt(obj1);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 {
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 result = (bool)(arg1)->ScrollPages(arg2);
9234
9235 wxPyEndAllowThreads(__tstate);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 }
9238 {
9239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9240 }
9241 return resultobj;
9242 fail:
9243 return NULL;
9244 }
9245
9246
9247 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9248 PyObject *resultobj;
9249 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9250 size_t arg2 ;
9251 PyObject * obj0 = 0 ;
9252 PyObject * obj1 = 0 ;
9253 char *kwnames[] = {
9254 (char *) "self",(char *) "line", NULL
9255 };
9256
9257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9260 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 {
9263 PyThreadState* __tstate = wxPyBeginAllowThreads();
9264 (arg1)->RefreshLine(arg2);
9265
9266 wxPyEndAllowThreads(__tstate);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 }
9269 Py_INCREF(Py_None); resultobj = Py_None;
9270 return resultobj;
9271 fail:
9272 return NULL;
9273 }
9274
9275
9276 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9277 PyObject *resultobj;
9278 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9279 size_t arg2 ;
9280 size_t arg3 ;
9281 PyObject * obj0 = 0 ;
9282 PyObject * obj1 = 0 ;
9283 PyObject * obj2 = 0 ;
9284 char *kwnames[] = {
9285 (char *) "self",(char *) "from",(char *) "to", NULL
9286 };
9287
9288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9291 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 {
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 (arg1)->RefreshLines(arg2,arg3);
9298
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 Py_INCREF(Py_None); resultobj = Py_None;
9303 return resultobj;
9304 fail:
9305 return NULL;
9306 }
9307
9308
9309 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9310 PyObject *resultobj;
9311 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9312 int arg2 ;
9313 int arg3 ;
9314 int result;
9315 PyObject * obj0 = 0 ;
9316 PyObject * obj1 = 0 ;
9317 PyObject * obj2 = 0 ;
9318 char *kwnames[] = {
9319 (char *) "self",(char *) "x",(char *) "y", NULL
9320 };
9321
9322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9325 arg2 = (int) SWIG_AsInt(obj1);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 arg3 = (int) SWIG_AsInt(obj2);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 {
9330 PyThreadState* __tstate = wxPyBeginAllowThreads();
9331 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9332
9333 wxPyEndAllowThreads(__tstate);
9334 if (PyErr_Occurred()) SWIG_fail;
9335 }
9336 resultobj = SWIG_FromInt((int)result);
9337 return resultobj;
9338 fail:
9339 return NULL;
9340 }
9341
9342
9343 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9344 PyObject *resultobj;
9345 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9346 wxPoint *arg2 = 0 ;
9347 int result;
9348 wxPoint temp2 ;
9349 PyObject * obj0 = 0 ;
9350 PyObject * obj1 = 0 ;
9351 char *kwnames[] = {
9352 (char *) "self",(char *) "pt", NULL
9353 };
9354
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9358 {
9359 arg2 = &temp2;
9360 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9361 }
9362 {
9363 PyThreadState* __tstate = wxPyBeginAllowThreads();
9364 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9365
9366 wxPyEndAllowThreads(__tstate);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 }
9369 resultobj = SWIG_FromInt((int)result);
9370 return resultobj;
9371 fail:
9372 return NULL;
9373 }
9374
9375
9376 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9377 PyObject *resultobj;
9378 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9379 PyObject * obj0 = 0 ;
9380 char *kwnames[] = {
9381 (char *) "self", NULL
9382 };
9383
9384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9387 {
9388 PyThreadState* __tstate = wxPyBeginAllowThreads();
9389 (arg1)->RefreshAll();
9390
9391 wxPyEndAllowThreads(__tstate);
9392 if (PyErr_Occurred()) SWIG_fail;
9393 }
9394 Py_INCREF(Py_None); resultobj = Py_None;
9395 return resultobj;
9396 fail:
9397 return NULL;
9398 }
9399
9400
9401 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9402 PyObject *resultobj;
9403 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9404 size_t result;
9405 PyObject * obj0 = 0 ;
9406 char *kwnames[] = {
9407 (char *) "self", NULL
9408 };
9409
9410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9413 {
9414 PyThreadState* __tstate = wxPyBeginAllowThreads();
9415 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9416
9417 wxPyEndAllowThreads(__tstate);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 }
9420 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9421 return resultobj;
9422 fail:
9423 return NULL;
9424 }
9425
9426
9427 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj;
9429 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9430 size_t result;
9431 PyObject * obj0 = 0 ;
9432 char *kwnames[] = {
9433 (char *) "self", NULL
9434 };
9435
9436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9442
9443 wxPyEndAllowThreads(__tstate);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 }
9446 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9447 return resultobj;
9448 fail:
9449 return NULL;
9450 }
9451
9452
9453 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9454 PyObject *resultobj;
9455 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9456 size_t result;
9457 PyObject * obj0 = 0 ;
9458 char *kwnames[] = {
9459 (char *) "self", NULL
9460 };
9461
9462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9465 {
9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
9467 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9468
9469 wxPyEndAllowThreads(__tstate);
9470 if (PyErr_Occurred()) SWIG_fail;
9471 }
9472 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9473 return resultobj;
9474 fail:
9475 return NULL;
9476 }
9477
9478
9479 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9480 PyObject *resultobj;
9481 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9482 size_t arg2 ;
9483 bool result;
9484 PyObject * obj0 = 0 ;
9485 PyObject * obj1 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self",(char *) "line", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9493 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 {
9496 PyThreadState* __tstate = wxPyBeginAllowThreads();
9497 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9498
9499 wxPyEndAllowThreads(__tstate);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
9502 {
9503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9504 }
9505 return resultobj;
9506 fail:
9507 return NULL;
9508 }
9509
9510
9511 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9512 PyObject *obj;
9513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9514 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9515 Py_INCREF(obj);
9516 return Py_BuildValue((char *)"");
9517 }
9518 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9519 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9520 return 1;
9521 }
9522
9523
9524 static PyObject *_wrap_VListBoxNameStr_get() {
9525 PyObject *pyobj;
9526
9527 {
9528 #if wxUSE_UNICODE
9529 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9530 #else
9531 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9532 #endif
9533 }
9534 return pyobj;
9535 }
9536
9537
9538 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9539 PyObject *resultobj;
9540 wxWindow *arg1 = (wxWindow *) 0 ;
9541 int arg2 = (int) wxID_ANY ;
9542 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9543 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9544 wxSize const &arg4_defvalue = wxDefaultSize ;
9545 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9546 long arg5 = (long) 0 ;
9547 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9548 wxString *arg6 = (wxString *) &arg6_defvalue ;
9549 wxPyVListBox *result;
9550 wxPoint temp3 ;
9551 wxSize temp4 ;
9552 bool temp6 = False ;
9553 PyObject * obj0 = 0 ;
9554 PyObject * obj1 = 0 ;
9555 PyObject * obj2 = 0 ;
9556 PyObject * obj3 = 0 ;
9557 PyObject * obj4 = 0 ;
9558 PyObject * obj5 = 0 ;
9559 char *kwnames[] = {
9560 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9561 };
9562
9563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9566 if (obj1) {
9567 arg2 = (int) SWIG_AsInt(obj1);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 if (obj2) {
9571 {
9572 arg3 = &temp3;
9573 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9574 }
9575 }
9576 if (obj3) {
9577 {
9578 arg4 = &temp4;
9579 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9580 }
9581 }
9582 if (obj4) {
9583 arg5 = (long) SWIG_AsLong(obj4);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
9586 if (obj5) {
9587 {
9588 arg6 = wxString_in_helper(obj5);
9589 if (arg6 == NULL) SWIG_fail;
9590 temp6 = True;
9591 }
9592 }
9593 {
9594 PyThreadState* __tstate = wxPyBeginAllowThreads();
9595 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9596
9597 wxPyEndAllowThreads(__tstate);
9598 if (PyErr_Occurred()) SWIG_fail;
9599 }
9600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9601 {
9602 if (temp6)
9603 delete arg6;
9604 }
9605 return resultobj;
9606 fail:
9607 {
9608 if (temp6)
9609 delete arg6;
9610 }
9611 return NULL;
9612 }
9613
9614
9615 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9616 PyObject *resultobj;
9617 wxPyVListBox *result;
9618 char *kwnames[] = {
9619 NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 result = (wxPyVListBox *)new wxPyVListBox();
9626
9627 wxPyEndAllowThreads(__tstate);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 }
9630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9631 return resultobj;
9632 fail:
9633 return NULL;
9634 }
9635
9636
9637 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9638 PyObject *resultobj;
9639 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9640 PyObject *arg2 = (PyObject *) 0 ;
9641 PyObject *arg3 = (PyObject *) 0 ;
9642 PyObject * obj0 = 0 ;
9643 PyObject * obj1 = 0 ;
9644 PyObject * obj2 = 0 ;
9645 char *kwnames[] = {
9646 (char *) "self",(char *) "self",(char *) "_class", NULL
9647 };
9648
9649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9652 arg2 = obj1;
9653 arg3 = obj2;
9654 {
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9656 (arg1)->_setCallbackInfo(arg2,arg3);
9657
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 Py_INCREF(Py_None); resultobj = Py_None;
9662 return resultobj;
9663 fail:
9664 return NULL;
9665 }
9666
9667
9668 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj;
9670 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9671 wxWindow *arg2 = (wxWindow *) 0 ;
9672 int arg3 = (int) wxID_ANY ;
9673 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9674 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9675 wxSize const &arg5_defvalue = wxDefaultSize ;
9676 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9677 long arg6 = (long) 0 ;
9678 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9679 wxString *arg7 = (wxString *) &arg7_defvalue ;
9680 bool result;
9681 wxPoint temp4 ;
9682 wxSize temp5 ;
9683 bool temp7 = False ;
9684 PyObject * obj0 = 0 ;
9685 PyObject * obj1 = 0 ;
9686 PyObject * obj2 = 0 ;
9687 PyObject * obj3 = 0 ;
9688 PyObject * obj4 = 0 ;
9689 PyObject * obj5 = 0 ;
9690 PyObject * obj6 = 0 ;
9691 char *kwnames[] = {
9692 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9693 };
9694
9695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9700 if (obj2) {
9701 arg3 = (int) SWIG_AsInt(obj2);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 if (obj3) {
9705 {
9706 arg4 = &temp4;
9707 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9708 }
9709 }
9710 if (obj4) {
9711 {
9712 arg5 = &temp5;
9713 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9714 }
9715 }
9716 if (obj5) {
9717 arg6 = (long) SWIG_AsLong(obj5);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 if (obj6) {
9721 {
9722 arg7 = wxString_in_helper(obj6);
9723 if (arg7 == NULL) SWIG_fail;
9724 temp7 = True;
9725 }
9726 }
9727 {
9728 PyThreadState* __tstate = wxPyBeginAllowThreads();
9729 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9730
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 {
9735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9736 }
9737 {
9738 if (temp7)
9739 delete arg7;
9740 }
9741 return resultobj;
9742 fail:
9743 {
9744 if (temp7)
9745 delete arg7;
9746 }
9747 return NULL;
9748 }
9749
9750
9751 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9752 PyObject *resultobj;
9753 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9754 size_t result;
9755 PyObject * obj0 = 0 ;
9756 char *kwnames[] = {
9757 (char *) "self", NULL
9758 };
9759
9760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9763 {
9764 PyThreadState* __tstate = wxPyBeginAllowThreads();
9765 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9766
9767 wxPyEndAllowThreads(__tstate);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 }
9770 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9771 return resultobj;
9772 fail:
9773 return NULL;
9774 }
9775
9776
9777 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9778 PyObject *resultobj;
9779 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9780 bool result;
9781 PyObject * obj0 = 0 ;
9782 char *kwnames[] = {
9783 (char *) "self", NULL
9784 };
9785
9786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 {
9797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9798 }
9799 return resultobj;
9800 fail:
9801 return NULL;
9802 }
9803
9804
9805 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9806 PyObject *resultobj;
9807 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9808 int result;
9809 PyObject * obj0 = 0 ;
9810 char *kwnames[] = {
9811 (char *) "self", NULL
9812 };
9813
9814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9817 {
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9820
9821 wxPyEndAllowThreads(__tstate);
9822 if (PyErr_Occurred()) SWIG_fail;
9823 }
9824 resultobj = SWIG_FromInt((int)result);
9825 return resultobj;
9826 fail:
9827 return NULL;
9828 }
9829
9830
9831 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9832 PyObject *resultobj;
9833 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9834 size_t arg2 ;
9835 bool result;
9836 PyObject * obj0 = 0 ;
9837 PyObject * obj1 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self",(char *) "item", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9845 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9846 if (PyErr_Occurred()) SWIG_fail;
9847 {
9848 PyThreadState* __tstate = wxPyBeginAllowThreads();
9849 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9850
9851 wxPyEndAllowThreads(__tstate);
9852 if (PyErr_Occurred()) SWIG_fail;
9853 }
9854 {
9855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9856 }
9857 return resultobj;
9858 fail:
9859 return NULL;
9860 }
9861
9862
9863 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj;
9865 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9866 size_t arg2 ;
9867 bool result;
9868 PyObject * obj0 = 0 ;
9869 PyObject * obj1 = 0 ;
9870 char *kwnames[] = {
9871 (char *) "self",(char *) "item", NULL
9872 };
9873
9874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9877 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9878 if (PyErr_Occurred()) SWIG_fail;
9879 {
9880 PyThreadState* __tstate = wxPyBeginAllowThreads();
9881 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9882
9883 wxPyEndAllowThreads(__tstate);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 {
9887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9888 }
9889 return resultobj;
9890 fail:
9891 return NULL;
9892 }
9893
9894
9895 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9896 PyObject *resultobj;
9897 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9898 size_t result;
9899 PyObject * obj0 = 0 ;
9900 char *kwnames[] = {
9901 (char *) "self", NULL
9902 };
9903
9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9907 {
9908 PyThreadState* __tstate = wxPyBeginAllowThreads();
9909 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9910
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9915 return resultobj;
9916 fail:
9917 return NULL;
9918 }
9919
9920
9921 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9922 PyObject *resultobj;
9923 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9924 unsigned long *arg2 = 0 ;
9925 int result;
9926 PyObject * obj0 = 0 ;
9927 PyObject * obj1 = 0 ;
9928 char *kwnames[] = {
9929 (char *) "self",(char *) "cookie", NULL
9930 };
9931
9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9936 SWIG_POINTER_EXCEPTION | 0)) == -1)
9937 SWIG_fail;
9938 if (arg2 == NULL) {
9939 PyErr_SetString(PyExc_TypeError,"null reference");
9940 SWIG_fail;
9941 }
9942 {
9943 PyThreadState* __tstate = wxPyBeginAllowThreads();
9944 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9945
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 resultobj = SWIG_FromInt((int)result);
9950 return resultobj;
9951 fail:
9952 return NULL;
9953 }
9954
9955
9956 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9959 unsigned long *arg2 = 0 ;
9960 int result;
9961 PyObject * obj0 = 0 ;
9962 PyObject * obj1 = 0 ;
9963 char *kwnames[] = {
9964 (char *) "self",(char *) "cookie", NULL
9965 };
9966
9967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9971 SWIG_POINTER_EXCEPTION | 0)) == -1)
9972 SWIG_fail;
9973 if (arg2 == NULL) {
9974 PyErr_SetString(PyExc_TypeError,"null reference");
9975 SWIG_fail;
9976 }
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9980
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 resultobj = SWIG_FromInt((int)result);
9985 return resultobj;
9986 fail:
9987 return NULL;
9988 }
9989
9990
9991 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9992 PyObject *resultobj;
9993 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9994 wxPoint result;
9995 PyObject * obj0 = 0 ;
9996 char *kwnames[] = {
9997 (char *) "self", NULL
9998 };
9999
10000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 result = ((wxPyVListBox const *)arg1)->GetMargins();
10006
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 {
10011 wxPoint * resultptr;
10012 resultptr = new wxPoint((wxPoint &) result);
10013 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10014 }
10015 return resultobj;
10016 fail:
10017 return NULL;
10018 }
10019
10020
10021 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10022 PyObject *resultobj;
10023 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10024 wxColour *result;
10025 PyObject * obj0 = 0 ;
10026 char *kwnames[] = {
10027 (char *) "self", NULL
10028 };
10029
10030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 {
10036 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10037 result = (wxColour *) &_result_ref;
10038 }
10039
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10044 return resultobj;
10045 fail:
10046 return NULL;
10047 }
10048
10049
10050 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10051 PyObject *resultobj;
10052 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10053 size_t arg2 ;
10054 PyObject * obj0 = 0 ;
10055 PyObject * obj1 = 0 ;
10056 char *kwnames[] = {
10057 (char *) "self",(char *) "count", NULL
10058 };
10059
10060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10063 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 (arg1)->SetItemCount(arg2);
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 Py_INCREF(Py_None); resultobj = Py_None;
10073 return resultobj;
10074 fail:
10075 return NULL;
10076 }
10077
10078
10079 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10080 PyObject *resultobj;
10081 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10082 PyObject * obj0 = 0 ;
10083 char *kwnames[] = {
10084 (char *) "self", NULL
10085 };
10086
10087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10090 {
10091 PyThreadState* __tstate = wxPyBeginAllowThreads();
10092 (arg1)->Clear();
10093
10094 wxPyEndAllowThreads(__tstate);
10095 if (PyErr_Occurred()) SWIG_fail;
10096 }
10097 Py_INCREF(Py_None); resultobj = Py_None;
10098 return resultobj;
10099 fail:
10100 return NULL;
10101 }
10102
10103
10104 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10105 PyObject *resultobj;
10106 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10107 int arg2 ;
10108 PyObject * obj0 = 0 ;
10109 PyObject * obj1 = 0 ;
10110 char *kwnames[] = {
10111 (char *) "self",(char *) "selection", NULL
10112 };
10113
10114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10117 arg2 = (int) SWIG_AsInt(obj1);
10118 if (PyErr_Occurred()) SWIG_fail;
10119 {
10120 PyThreadState* __tstate = wxPyBeginAllowThreads();
10121 (arg1)->SetSelection(arg2);
10122
10123 wxPyEndAllowThreads(__tstate);
10124 if (PyErr_Occurred()) SWIG_fail;
10125 }
10126 Py_INCREF(Py_None); resultobj = Py_None;
10127 return resultobj;
10128 fail:
10129 return NULL;
10130 }
10131
10132
10133 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10134 PyObject *resultobj;
10135 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10136 size_t arg2 ;
10137 bool arg3 = (bool) True ;
10138 bool result;
10139 PyObject * obj0 = 0 ;
10140 PyObject * obj1 = 0 ;
10141 PyObject * obj2 = 0 ;
10142 char *kwnames[] = {
10143 (char *) "self",(char *) "item",(char *) "select", NULL
10144 };
10145
10146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10149 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 if (obj2) {
10152 arg3 = (bool) SWIG_AsBool(obj2);
10153 if (PyErr_Occurred()) SWIG_fail;
10154 }
10155 {
10156 PyThreadState* __tstate = wxPyBeginAllowThreads();
10157 result = (bool)(arg1)->Select(arg2,arg3);
10158
10159 wxPyEndAllowThreads(__tstate);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
10162 {
10163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10164 }
10165 return resultobj;
10166 fail:
10167 return NULL;
10168 }
10169
10170
10171 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10172 PyObject *resultobj;
10173 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10174 size_t arg2 ;
10175 size_t arg3 ;
10176 bool result;
10177 PyObject * obj0 = 0 ;
10178 PyObject * obj1 = 0 ;
10179 PyObject * obj2 = 0 ;
10180 char *kwnames[] = {
10181 (char *) "self",(char *) "from",(char *) "to", NULL
10182 };
10183
10184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10187 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10188 if (PyErr_Occurred()) SWIG_fail;
10189 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10190 if (PyErr_Occurred()) SWIG_fail;
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 result = (bool)(arg1)->SelectRange(arg2,arg3);
10194
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 {
10199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10200 }
10201 return resultobj;
10202 fail:
10203 return NULL;
10204 }
10205
10206
10207 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10208 PyObject *resultobj;
10209 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10210 size_t arg2 ;
10211 PyObject * obj0 = 0 ;
10212 PyObject * obj1 = 0 ;
10213 char *kwnames[] = {
10214 (char *) "self",(char *) "item", NULL
10215 };
10216
10217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10220 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 {
10223 PyThreadState* __tstate = wxPyBeginAllowThreads();
10224 (arg1)->Toggle(arg2);
10225
10226 wxPyEndAllowThreads(__tstate);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
10229 Py_INCREF(Py_None); resultobj = Py_None;
10230 return resultobj;
10231 fail:
10232 return NULL;
10233 }
10234
10235
10236 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10237 PyObject *resultobj;
10238 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10239 bool result;
10240 PyObject * obj0 = 0 ;
10241 char *kwnames[] = {
10242 (char *) "self", NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10248 {
10249 PyThreadState* __tstate = wxPyBeginAllowThreads();
10250 result = (bool)(arg1)->SelectAll();
10251
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 }
10255 {
10256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10257 }
10258 return resultobj;
10259 fail:
10260 return NULL;
10261 }
10262
10263
10264 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10265 PyObject *resultobj;
10266 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10267 bool result;
10268 PyObject * obj0 = 0 ;
10269 char *kwnames[] = {
10270 (char *) "self", NULL
10271 };
10272
10273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 result = (bool)(arg1)->DeselectAll();
10279
10280 wxPyEndAllowThreads(__tstate);
10281 if (PyErr_Occurred()) SWIG_fail;
10282 }
10283 {
10284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10285 }
10286 return resultobj;
10287 fail:
10288 return NULL;
10289 }
10290
10291
10292 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj;
10294 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10295 wxPoint *arg2 = 0 ;
10296 wxPoint temp2 ;
10297 PyObject * obj0 = 0 ;
10298 PyObject * obj1 = 0 ;
10299 char *kwnames[] = {
10300 (char *) "self",(char *) "pt", NULL
10301 };
10302
10303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10306 {
10307 arg2 = &temp2;
10308 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10309 }
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 (arg1)->SetMargins((wxPoint const &)*arg2);
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 Py_INCREF(Py_None); resultobj = Py_None;
10318 return resultobj;
10319 fail:
10320 return NULL;
10321 }
10322
10323
10324 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10325 PyObject *resultobj;
10326 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10327 int arg2 ;
10328 int arg3 ;
10329 PyObject * obj0 = 0 ;
10330 PyObject * obj1 = 0 ;
10331 PyObject * obj2 = 0 ;
10332 char *kwnames[] = {
10333 (char *) "self",(char *) "x",(char *) "y", NULL
10334 };
10335
10336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10339 arg2 = (int) SWIG_AsInt(obj1);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 arg3 = (int) SWIG_AsInt(obj2);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 {
10344 PyThreadState* __tstate = wxPyBeginAllowThreads();
10345 (arg1)->SetMargins(arg2,arg3);
10346
10347 wxPyEndAllowThreads(__tstate);
10348 if (PyErr_Occurred()) SWIG_fail;
10349 }
10350 Py_INCREF(Py_None); resultobj = Py_None;
10351 return resultobj;
10352 fail:
10353 return NULL;
10354 }
10355
10356
10357 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10358 PyObject *resultobj;
10359 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10360 wxColour *arg2 = 0 ;
10361 wxColour temp2 ;
10362 PyObject * obj0 = 0 ;
10363 PyObject * obj1 = 0 ;
10364 char *kwnames[] = {
10365 (char *) "self",(char *) "col", NULL
10366 };
10367
10368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10371 {
10372 arg2 = &temp2;
10373 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10374 }
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10378
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 Py_INCREF(Py_None); resultobj = Py_None;
10383 return resultobj;
10384 fail:
10385 return NULL;
10386 }
10387
10388
10389 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10390 PyObject *obj;
10391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10392 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10393 Py_INCREF(obj);
10394 return Py_BuildValue((char *)"");
10395 }
10396 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10397 PyObject *resultobj;
10398 wxWindow *arg1 = (wxWindow *) 0 ;
10399 int arg2 = (int) wxID_ANY ;
10400 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10401 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10402 wxSize const &arg4_defvalue = wxDefaultSize ;
10403 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10404 long arg5 = (long) 0 ;
10405 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10406 wxString *arg6 = (wxString *) &arg6_defvalue ;
10407 wxPyHtmlListBox *result;
10408 wxPoint temp3 ;
10409 wxSize temp4 ;
10410 bool temp6 = False ;
10411 PyObject * obj0 = 0 ;
10412 PyObject * obj1 = 0 ;
10413 PyObject * obj2 = 0 ;
10414 PyObject * obj3 = 0 ;
10415 PyObject * obj4 = 0 ;
10416 PyObject * obj5 = 0 ;
10417 char *kwnames[] = {
10418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10419 };
10420
10421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10424 if (obj1) {
10425 arg2 = (int) SWIG_AsInt(obj1);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 }
10428 if (obj2) {
10429 {
10430 arg3 = &temp3;
10431 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10432 }
10433 }
10434 if (obj3) {
10435 {
10436 arg4 = &temp4;
10437 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10438 }
10439 }
10440 if (obj4) {
10441 arg5 = (long) SWIG_AsLong(obj4);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 if (obj5) {
10445 {
10446 arg6 = wxString_in_helper(obj5);
10447 if (arg6 == NULL) SWIG_fail;
10448 temp6 = True;
10449 }
10450 }
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10459 {
10460 if (temp6)
10461 delete arg6;
10462 }
10463 return resultobj;
10464 fail:
10465 {
10466 if (temp6)
10467 delete arg6;
10468 }
10469 return NULL;
10470 }
10471
10472
10473 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10474 PyObject *resultobj;
10475 wxPyHtmlListBox *result;
10476 char *kwnames[] = {
10477 NULL
10478 };
10479
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10481 {
10482 PyThreadState* __tstate = wxPyBeginAllowThreads();
10483 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10484
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10489 return resultobj;
10490 fail:
10491 return NULL;
10492 }
10493
10494
10495 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10496 PyObject *resultobj;
10497 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10498 PyObject *arg2 = (PyObject *) 0 ;
10499 PyObject *arg3 = (PyObject *) 0 ;
10500 PyObject * obj0 = 0 ;
10501 PyObject * obj1 = 0 ;
10502 PyObject * obj2 = 0 ;
10503 char *kwnames[] = {
10504 (char *) "self",(char *) "self",(char *) "_class", NULL
10505 };
10506
10507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10510 arg2 = obj1;
10511 arg3 = obj2;
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 (arg1)->_setCallbackInfo(arg2,arg3);
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 Py_INCREF(Py_None); resultobj = Py_None;
10520 return resultobj;
10521 fail:
10522 return NULL;
10523 }
10524
10525
10526 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10527 PyObject *resultobj;
10528 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10529 wxWindow *arg2 = (wxWindow *) 0 ;
10530 int arg3 = (int) wxID_ANY ;
10531 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10532 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10533 wxSize const &arg5_defvalue = wxDefaultSize ;
10534 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10535 long arg6 = (long) 0 ;
10536 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10537 wxString *arg7 = (wxString *) &arg7_defvalue ;
10538 bool result;
10539 wxPoint temp4 ;
10540 wxSize temp5 ;
10541 bool temp7 = False ;
10542 PyObject * obj0 = 0 ;
10543 PyObject * obj1 = 0 ;
10544 PyObject * obj2 = 0 ;
10545 PyObject * obj3 = 0 ;
10546 PyObject * obj4 = 0 ;
10547 PyObject * obj5 = 0 ;
10548 PyObject * obj6 = 0 ;
10549 char *kwnames[] = {
10550 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10551 };
10552
10553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10558 if (obj2) {
10559 arg3 = (int) SWIG_AsInt(obj2);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
10562 if (obj3) {
10563 {
10564 arg4 = &temp4;
10565 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10566 }
10567 }
10568 if (obj4) {
10569 {
10570 arg5 = &temp5;
10571 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10572 }
10573 }
10574 if (obj5) {
10575 arg6 = (long) SWIG_AsLong(obj5);
10576 if (PyErr_Occurred()) SWIG_fail;
10577 }
10578 if (obj6) {
10579 {
10580 arg7 = wxString_in_helper(obj6);
10581 if (arg7 == NULL) SWIG_fail;
10582 temp7 = True;
10583 }
10584 }
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 {
10593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10594 }
10595 {
10596 if (temp7)
10597 delete arg7;
10598 }
10599 return resultobj;
10600 fail:
10601 {
10602 if (temp7)
10603 delete arg7;
10604 }
10605 return NULL;
10606 }
10607
10608
10609 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10610 PyObject *resultobj;
10611 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10612 PyObject * obj0 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "self", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 (arg1)->RefreshAll();
10623
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 Py_INCREF(Py_None); resultobj = Py_None;
10628 return resultobj;
10629 fail:
10630 return NULL;
10631 }
10632
10633
10634 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj;
10636 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10637 size_t arg2 ;
10638 PyObject * obj0 = 0 ;
10639 PyObject * obj1 = 0 ;
10640 char *kwnames[] = {
10641 (char *) "self",(char *) "count", NULL
10642 };
10643
10644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10647 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 {
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 (arg1)->SetItemCount(arg2);
10652
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 Py_INCREF(Py_None); resultobj = Py_None;
10657 return resultobj;
10658 fail:
10659 return NULL;
10660 }
10661
10662
10663 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10664 PyObject *resultobj;
10665 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10666 wxFileSystem *result;
10667 PyObject * obj0 = 0 ;
10668 char *kwnames[] = {
10669 (char *) "self", NULL
10670 };
10671
10672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10675 {
10676 PyThreadState* __tstate = wxPyBeginAllowThreads();
10677 {
10678 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10679 result = (wxFileSystem *) &_result_ref;
10680 }
10681
10682 wxPyEndAllowThreads(__tstate);
10683 if (PyErr_Occurred()) SWIG_fail;
10684 }
10685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10686 return resultobj;
10687 fail:
10688 return NULL;
10689 }
10690
10691
10692 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10693 PyObject *obj;
10694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10695 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10696 Py_INCREF(obj);
10697 return Py_BuildValue((char *)"");
10698 }
10699 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10700 PyObject *resultobj;
10701 wxTaskBarIcon *result;
10702 char *kwnames[] = {
10703 NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10707 {
10708 PyThreadState* __tstate = wxPyBeginAllowThreads();
10709 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10710
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 }
10714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10715 return resultobj;
10716 fail:
10717 return NULL;
10718 }
10719
10720
10721 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10722 PyObject *resultobj;
10723 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10724 PyObject * obj0 = 0 ;
10725 char *kwnames[] = {
10726 (char *) "self", NULL
10727 };
10728
10729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10732 {
10733 PyThreadState* __tstate = wxPyBeginAllowThreads();
10734 delete arg1;
10735
10736 wxPyEndAllowThreads(__tstate);
10737 if (PyErr_Occurred()) SWIG_fail;
10738 }
10739 Py_INCREF(Py_None); resultobj = Py_None;
10740 return resultobj;
10741 fail:
10742 return NULL;
10743 }
10744
10745
10746 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10747 PyObject *resultobj;
10748 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10749 PyObject * obj0 = 0 ;
10750 char *kwnames[] = {
10751 (char *) "self", NULL
10752 };
10753
10754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10757 {
10758 PyThreadState* __tstate = wxPyBeginAllowThreads();
10759 wxTaskBarIcon_Destroy(arg1);
10760
10761 wxPyEndAllowThreads(__tstate);
10762 if (PyErr_Occurred()) SWIG_fail;
10763 }
10764 Py_INCREF(Py_None); resultobj = Py_None;
10765 return resultobj;
10766 fail:
10767 return NULL;
10768 }
10769
10770
10771 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10772 PyObject *obj;
10773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10774 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10775 Py_INCREF(obj);
10776 return Py_BuildValue((char *)"");
10777 }
10778 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10779 PyObject *resultobj;
10780 wxEventType arg1 ;
10781 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10782 wxTaskBarIconEvent *result;
10783 PyObject * obj0 = 0 ;
10784 PyObject * obj1 = 0 ;
10785 char *kwnames[] = {
10786 (char *) "evtType",(char *) "tbIcon", NULL
10787 };
10788
10789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10790 arg1 = (wxEventType) SWIG_AsInt(obj0);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10802 return resultobj;
10803 fail:
10804 return NULL;
10805 }
10806
10807
10808 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10809 PyObject *obj;
10810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10811 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10812 Py_INCREF(obj);
10813 return Py_BuildValue((char *)"");
10814 }
10815 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10816 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10817 return 1;
10818 }
10819
10820
10821 static PyObject *_wrap_FileSelectorPromptStr_get() {
10822 PyObject *pyobj;
10823
10824 {
10825 #if wxUSE_UNICODE
10826 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10827 #else
10828 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10829 #endif
10830 }
10831 return pyobj;
10832 }
10833
10834
10835 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10836 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10837 return 1;
10838 }
10839
10840
10841 static PyObject *_wrap_DirSelectorPromptStr_get() {
10842 PyObject *pyobj;
10843
10844 {
10845 #if wxUSE_UNICODE
10846 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10847 #else
10848 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10849 #endif
10850 }
10851 return pyobj;
10852 }
10853
10854
10855 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10856 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10857 return 1;
10858 }
10859
10860
10861 static PyObject *_wrap_DirDialogNameStr_get() {
10862 PyObject *pyobj;
10863
10864 {
10865 #if wxUSE_UNICODE
10866 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10867 #else
10868 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10869 #endif
10870 }
10871 return pyobj;
10872 }
10873
10874
10875 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10876 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10877 return 1;
10878 }
10879
10880
10881 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10882 PyObject *pyobj;
10883
10884 {
10885 #if wxUSE_UNICODE
10886 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10887 #else
10888 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10889 #endif
10890 }
10891 return pyobj;
10892 }
10893
10894
10895 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10896 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10897 return 1;
10898 }
10899
10900
10901 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10902 PyObject *pyobj;
10903
10904 {
10905 #if wxUSE_UNICODE
10906 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10907 #else
10908 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10909 #endif
10910 }
10911 return pyobj;
10912 }
10913
10914
10915 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10916 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10917 return 1;
10918 }
10919
10920
10921 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10922 PyObject *pyobj;
10923
10924 {
10925 #if wxUSE_UNICODE
10926 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10927 #else
10928 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10929 #endif
10930 }
10931 return pyobj;
10932 }
10933
10934
10935 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10936 PyObject *resultobj;
10937 wxColourData *result;
10938 char *kwnames[] = {
10939 NULL
10940 };
10941
10942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10943 {
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 result = (wxColourData *)new wxColourData();
10946
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10951 return resultobj;
10952 fail:
10953 return NULL;
10954 }
10955
10956
10957 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10958 PyObject *resultobj;
10959 wxColourData *arg1 = (wxColourData *) 0 ;
10960 PyObject * obj0 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "self", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10968 {
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 delete arg1;
10971
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) SWIG_fail;
10974 }
10975 Py_INCREF(Py_None); resultobj = Py_None;
10976 return resultobj;
10977 fail:
10978 return NULL;
10979 }
10980
10981
10982 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj;
10984 wxColourData *arg1 = (wxColourData *) 0 ;
10985 bool result;
10986 PyObject * obj0 = 0 ;
10987 char *kwnames[] = {
10988 (char *) "self", NULL
10989 };
10990
10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10994 {
10995 PyThreadState* __tstate = wxPyBeginAllowThreads();
10996 result = (bool)(arg1)->GetChooseFull();
10997
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 {
11002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11003 }
11004 return resultobj;
11005 fail:
11006 return NULL;
11007 }
11008
11009
11010 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11011 PyObject *resultobj;
11012 wxColourData *arg1 = (wxColourData *) 0 ;
11013 wxColour result;
11014 PyObject * obj0 = 0 ;
11015 char *kwnames[] = {
11016 (char *) "self", NULL
11017 };
11018
11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11022 {
11023 PyThreadState* __tstate = wxPyBeginAllowThreads();
11024 result = (arg1)->GetColour();
11025
11026 wxPyEndAllowThreads(__tstate);
11027 if (PyErr_Occurred()) SWIG_fail;
11028 }
11029 {
11030 wxColour * resultptr;
11031 resultptr = new wxColour((wxColour &) result);
11032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11033 }
11034 return resultobj;
11035 fail:
11036 return NULL;
11037 }
11038
11039
11040 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11041 PyObject *resultobj;
11042 wxColourData *arg1 = (wxColourData *) 0 ;
11043 int arg2 ;
11044 wxColour result;
11045 PyObject * obj0 = 0 ;
11046 PyObject * obj1 = 0 ;
11047 char *kwnames[] = {
11048 (char *) "self",(char *) "i", NULL
11049 };
11050
11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11054 arg2 = (int) SWIG_AsInt(obj1);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 result = (arg1)->GetCustomColour(arg2);
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 {
11064 wxColour * resultptr;
11065 resultptr = new wxColour((wxColour &) result);
11066 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11067 }
11068 return resultobj;
11069 fail:
11070 return NULL;
11071 }
11072
11073
11074 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11075 PyObject *resultobj;
11076 wxColourData *arg1 = (wxColourData *) 0 ;
11077 int arg2 ;
11078 PyObject * obj0 = 0 ;
11079 PyObject * obj1 = 0 ;
11080 char *kwnames[] = {
11081 (char *) "self",(char *) "flag", NULL
11082 };
11083
11084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11087 arg2 = (int) SWIG_AsInt(obj1);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 {
11090 PyThreadState* __tstate = wxPyBeginAllowThreads();
11091 (arg1)->SetChooseFull(arg2);
11092
11093 wxPyEndAllowThreads(__tstate);
11094 if (PyErr_Occurred()) SWIG_fail;
11095 }
11096 Py_INCREF(Py_None); resultobj = Py_None;
11097 return resultobj;
11098 fail:
11099 return NULL;
11100 }
11101
11102
11103 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11104 PyObject *resultobj;
11105 wxColourData *arg1 = (wxColourData *) 0 ;
11106 wxColour *arg2 = 0 ;
11107 wxColour temp2 ;
11108 PyObject * obj0 = 0 ;
11109 PyObject * obj1 = 0 ;
11110 char *kwnames[] = {
11111 (char *) "self",(char *) "colour", NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11117 {
11118 arg2 = &temp2;
11119 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11120 }
11121 {
11122 PyThreadState* __tstate = wxPyBeginAllowThreads();
11123 (arg1)->SetColour((wxColour const &)*arg2);
11124
11125 wxPyEndAllowThreads(__tstate);
11126 if (PyErr_Occurred()) SWIG_fail;
11127 }
11128 Py_INCREF(Py_None); resultobj = Py_None;
11129 return resultobj;
11130 fail:
11131 return NULL;
11132 }
11133
11134
11135 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11136 PyObject *resultobj;
11137 wxColourData *arg1 = (wxColourData *) 0 ;
11138 int arg2 ;
11139 wxColour *arg3 = 0 ;
11140 wxColour temp3 ;
11141 PyObject * obj0 = 0 ;
11142 PyObject * obj1 = 0 ;
11143 PyObject * obj2 = 0 ;
11144 char *kwnames[] = {
11145 (char *) "self",(char *) "i",(char *) "colour", NULL
11146 };
11147
11148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11151 arg2 = (int) SWIG_AsInt(obj1);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 {
11154 arg3 = &temp3;
11155 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11156 }
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
11159 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11160
11161 wxPyEndAllowThreads(__tstate);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 Py_INCREF(Py_None); resultobj = Py_None;
11165 return resultobj;
11166 fail:
11167 return NULL;
11168 }
11169
11170
11171 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11172 PyObject *obj;
11173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11174 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11175 Py_INCREF(obj);
11176 return Py_BuildValue((char *)"");
11177 }
11178 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11179 PyObject *resultobj;
11180 wxWindow *arg1 = (wxWindow *) 0 ;
11181 wxColourData *arg2 = (wxColourData *) NULL ;
11182 wxColourDialog *result;
11183 PyObject * obj0 = 0 ;
11184 PyObject * obj1 = 0 ;
11185 char *kwnames[] = {
11186 (char *) "parent",(char *) "data", NULL
11187 };
11188
11189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11192 if (obj1) {
11193 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11195 }
11196 {
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11199
11200 wxPyEndAllowThreads(__tstate);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11204 return resultobj;
11205 fail:
11206 return NULL;
11207 }
11208
11209
11210 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11211 PyObject *resultobj;
11212 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11213 wxColourData *result;
11214 PyObject * obj0 = 0 ;
11215 char *kwnames[] = {
11216 (char *) "self", NULL
11217 };
11218
11219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 {
11225 wxColourData &_result_ref = (arg1)->GetColourData();
11226 result = (wxColourData *) &_result_ref;
11227 }
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11233 return resultobj;
11234 fail:
11235 return NULL;
11236 }
11237
11238
11239 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11240 PyObject *obj;
11241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11242 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11243 Py_INCREF(obj);
11244 return Py_BuildValue((char *)"");
11245 }
11246 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11247 PyObject *resultobj;
11248 wxWindow *arg1 = (wxWindow *) 0 ;
11249 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11250 wxString *arg2 = (wxString *) &arg2_defvalue ;
11251 wxString const &arg3_defvalue = wxPyEmptyString ;
11252 wxString *arg3 = (wxString *) &arg3_defvalue ;
11253 long arg4 = (long) 0 ;
11254 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11255 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11256 wxSize const &arg6_defvalue = wxDefaultSize ;
11257 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11258 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11259 wxString *arg7 = (wxString *) &arg7_defvalue ;
11260 wxDirDialog *result;
11261 bool temp2 = False ;
11262 bool temp3 = False ;
11263 wxPoint temp5 ;
11264 wxSize temp6 ;
11265 bool temp7 = False ;
11266 PyObject * obj0 = 0 ;
11267 PyObject * obj1 = 0 ;
11268 PyObject * obj2 = 0 ;
11269 PyObject * obj3 = 0 ;
11270 PyObject * obj4 = 0 ;
11271 PyObject * obj5 = 0 ;
11272 PyObject * obj6 = 0 ;
11273 char *kwnames[] = {
11274 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11275 };
11276
11277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11280 if (obj1) {
11281 {
11282 arg2 = wxString_in_helper(obj1);
11283 if (arg2 == NULL) SWIG_fail;
11284 temp2 = True;
11285 }
11286 }
11287 if (obj2) {
11288 {
11289 arg3 = wxString_in_helper(obj2);
11290 if (arg3 == NULL) SWIG_fail;
11291 temp3 = True;
11292 }
11293 }
11294 if (obj3) {
11295 arg4 = (long) SWIG_AsLong(obj3);
11296 if (PyErr_Occurred()) SWIG_fail;
11297 }
11298 if (obj4) {
11299 {
11300 arg5 = &temp5;
11301 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11302 }
11303 }
11304 if (obj5) {
11305 {
11306 arg6 = &temp6;
11307 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11308 }
11309 }
11310 if (obj6) {
11311 {
11312 arg7 = wxString_in_helper(obj6);
11313 if (arg7 == NULL) SWIG_fail;
11314 temp7 = True;
11315 }
11316 }
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11325 {
11326 if (temp2)
11327 delete arg2;
11328 }
11329 {
11330 if (temp3)
11331 delete arg3;
11332 }
11333 {
11334 if (temp7)
11335 delete arg7;
11336 }
11337 return resultobj;
11338 fail:
11339 {
11340 if (temp2)
11341 delete arg2;
11342 }
11343 {
11344 if (temp3)
11345 delete arg3;
11346 }
11347 {
11348 if (temp7)
11349 delete arg7;
11350 }
11351 return NULL;
11352 }
11353
11354
11355 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11356 PyObject *resultobj;
11357 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11358 wxString result;
11359 PyObject * obj0 = 0 ;
11360 char *kwnames[] = {
11361 (char *) "self", NULL
11362 };
11363
11364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11367 {
11368 PyThreadState* __tstate = wxPyBeginAllowThreads();
11369 result = (arg1)->GetPath();
11370
11371 wxPyEndAllowThreads(__tstate);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 }
11374 {
11375 #if wxUSE_UNICODE
11376 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11377 #else
11378 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11379 #endif
11380 }
11381 return resultobj;
11382 fail:
11383 return NULL;
11384 }
11385
11386
11387 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11388 PyObject *resultobj;
11389 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11390 wxString result;
11391 PyObject * obj0 = 0 ;
11392 char *kwnames[] = {
11393 (char *) "self", NULL
11394 };
11395
11396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11399 {
11400 PyThreadState* __tstate = wxPyBeginAllowThreads();
11401 result = (arg1)->GetMessage();
11402
11403 wxPyEndAllowThreads(__tstate);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 }
11406 {
11407 #if wxUSE_UNICODE
11408 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11409 #else
11410 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11411 #endif
11412 }
11413 return resultobj;
11414 fail:
11415 return NULL;
11416 }
11417
11418
11419 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11420 PyObject *resultobj;
11421 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11422 long result;
11423 PyObject * obj0 = 0 ;
11424 char *kwnames[] = {
11425 (char *) "self", NULL
11426 };
11427
11428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11431 {
11432 PyThreadState* __tstate = wxPyBeginAllowThreads();
11433 result = (long)(arg1)->GetStyle();
11434
11435 wxPyEndAllowThreads(__tstate);
11436 if (PyErr_Occurred()) SWIG_fail;
11437 }
11438 resultobj = SWIG_FromLong((long)result);
11439 return resultobj;
11440 fail:
11441 return NULL;
11442 }
11443
11444
11445 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11446 PyObject *resultobj;
11447 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11448 wxString *arg2 = 0 ;
11449 bool temp2 = False ;
11450 PyObject * obj0 = 0 ;
11451 PyObject * obj1 = 0 ;
11452 char *kwnames[] = {
11453 (char *) "self",(char *) "message", NULL
11454 };
11455
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11459 {
11460 arg2 = wxString_in_helper(obj1);
11461 if (arg2 == NULL) SWIG_fail;
11462 temp2 = True;
11463 }
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 (arg1)->SetMessage((wxString const &)*arg2);
11467
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 Py_INCREF(Py_None); resultobj = Py_None;
11472 {
11473 if (temp2)
11474 delete arg2;
11475 }
11476 return resultobj;
11477 fail:
11478 {
11479 if (temp2)
11480 delete arg2;
11481 }
11482 return NULL;
11483 }
11484
11485
11486 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11487 PyObject *resultobj;
11488 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11489 wxString *arg2 = 0 ;
11490 bool temp2 = False ;
11491 PyObject * obj0 = 0 ;
11492 PyObject * obj1 = 0 ;
11493 char *kwnames[] = {
11494 (char *) "self",(char *) "path", NULL
11495 };
11496
11497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11500 {
11501 arg2 = wxString_in_helper(obj1);
11502 if (arg2 == NULL) SWIG_fail;
11503 temp2 = True;
11504 }
11505 {
11506 PyThreadState* __tstate = wxPyBeginAllowThreads();
11507 (arg1)->SetPath((wxString const &)*arg2);
11508
11509 wxPyEndAllowThreads(__tstate);
11510 if (PyErr_Occurred()) SWIG_fail;
11511 }
11512 Py_INCREF(Py_None); resultobj = Py_None;
11513 {
11514 if (temp2)
11515 delete arg2;
11516 }
11517 return resultobj;
11518 fail:
11519 {
11520 if (temp2)
11521 delete arg2;
11522 }
11523 return NULL;
11524 }
11525
11526
11527 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11528 PyObject *obj;
11529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11530 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11531 Py_INCREF(obj);
11532 return Py_BuildValue((char *)"");
11533 }
11534 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11535 PyObject *resultobj;
11536 wxWindow *arg1 = (wxWindow *) 0 ;
11537 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11538 wxString *arg2 = (wxString *) &arg2_defvalue ;
11539 wxString const &arg3_defvalue = wxPyEmptyString ;
11540 wxString *arg3 = (wxString *) &arg3_defvalue ;
11541 wxString const &arg4_defvalue = wxPyEmptyString ;
11542 wxString *arg4 = (wxString *) &arg4_defvalue ;
11543 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11544 wxString *arg5 = (wxString *) &arg5_defvalue ;
11545 long arg6 = (long) 0 ;
11546 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11547 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11548 wxFileDialog *result;
11549 bool temp2 = False ;
11550 bool temp3 = False ;
11551 bool temp4 = False ;
11552 bool temp5 = False ;
11553 wxPoint temp7 ;
11554 PyObject * obj0 = 0 ;
11555 PyObject * obj1 = 0 ;
11556 PyObject * obj2 = 0 ;
11557 PyObject * obj3 = 0 ;
11558 PyObject * obj4 = 0 ;
11559 PyObject * obj5 = 0 ;
11560 PyObject * obj6 = 0 ;
11561 char *kwnames[] = {
11562 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11563 };
11564
11565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11568 if (obj1) {
11569 {
11570 arg2 = wxString_in_helper(obj1);
11571 if (arg2 == NULL) SWIG_fail;
11572 temp2 = True;
11573 }
11574 }
11575 if (obj2) {
11576 {
11577 arg3 = wxString_in_helper(obj2);
11578 if (arg3 == NULL) SWIG_fail;
11579 temp3 = True;
11580 }
11581 }
11582 if (obj3) {
11583 {
11584 arg4 = wxString_in_helper(obj3);
11585 if (arg4 == NULL) SWIG_fail;
11586 temp4 = True;
11587 }
11588 }
11589 if (obj4) {
11590 {
11591 arg5 = wxString_in_helper(obj4);
11592 if (arg5 == NULL) SWIG_fail;
11593 temp5 = True;
11594 }
11595 }
11596 if (obj5) {
11597 arg6 = (long) SWIG_AsLong(obj5);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 if (obj6) {
11601 {
11602 arg7 = &temp7;
11603 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11604 }
11605 }
11606 {
11607 PyThreadState* __tstate = wxPyBeginAllowThreads();
11608 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11609
11610 wxPyEndAllowThreads(__tstate);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 }
11613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11614 {
11615 if (temp2)
11616 delete arg2;
11617 }
11618 {
11619 if (temp3)
11620 delete arg3;
11621 }
11622 {
11623 if (temp4)
11624 delete arg4;
11625 }
11626 {
11627 if (temp5)
11628 delete arg5;
11629 }
11630 return resultobj;
11631 fail:
11632 {
11633 if (temp2)
11634 delete arg2;
11635 }
11636 {
11637 if (temp3)
11638 delete arg3;
11639 }
11640 {
11641 if (temp4)
11642 delete arg4;
11643 }
11644 {
11645 if (temp5)
11646 delete arg5;
11647 }
11648 return NULL;
11649 }
11650
11651
11652 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11653 PyObject *resultobj;
11654 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11655 wxString *arg2 = 0 ;
11656 bool temp2 = False ;
11657 PyObject * obj0 = 0 ;
11658 PyObject * obj1 = 0 ;
11659 char *kwnames[] = {
11660 (char *) "self",(char *) "message", NULL
11661 };
11662
11663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11666 {
11667 arg2 = wxString_in_helper(obj1);
11668 if (arg2 == NULL) SWIG_fail;
11669 temp2 = True;
11670 }
11671 {
11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
11673 (arg1)->SetMessage((wxString const &)*arg2);
11674
11675 wxPyEndAllowThreads(__tstate);
11676 if (PyErr_Occurred()) SWIG_fail;
11677 }
11678 Py_INCREF(Py_None); resultobj = Py_None;
11679 {
11680 if (temp2)
11681 delete arg2;
11682 }
11683 return resultobj;
11684 fail:
11685 {
11686 if (temp2)
11687 delete arg2;
11688 }
11689 return NULL;
11690 }
11691
11692
11693 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11694 PyObject *resultobj;
11695 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11696 wxString *arg2 = 0 ;
11697 bool temp2 = False ;
11698 PyObject * obj0 = 0 ;
11699 PyObject * obj1 = 0 ;
11700 char *kwnames[] = {
11701 (char *) "self",(char *) "path", NULL
11702 };
11703
11704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11707 {
11708 arg2 = wxString_in_helper(obj1);
11709 if (arg2 == NULL) SWIG_fail;
11710 temp2 = True;
11711 }
11712 {
11713 PyThreadState* __tstate = wxPyBeginAllowThreads();
11714 (arg1)->SetPath((wxString const &)*arg2);
11715
11716 wxPyEndAllowThreads(__tstate);
11717 if (PyErr_Occurred()) SWIG_fail;
11718 }
11719 Py_INCREF(Py_None); resultobj = Py_None;
11720 {
11721 if (temp2)
11722 delete arg2;
11723 }
11724 return resultobj;
11725 fail:
11726 {
11727 if (temp2)
11728 delete arg2;
11729 }
11730 return NULL;
11731 }
11732
11733
11734 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11735 PyObject *resultobj;
11736 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11737 wxString *arg2 = 0 ;
11738 bool temp2 = False ;
11739 PyObject * obj0 = 0 ;
11740 PyObject * obj1 = 0 ;
11741 char *kwnames[] = {
11742 (char *) "self",(char *) "dir", NULL
11743 };
11744
11745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11748 {
11749 arg2 = wxString_in_helper(obj1);
11750 if (arg2 == NULL) SWIG_fail;
11751 temp2 = True;
11752 }
11753 {
11754 PyThreadState* __tstate = wxPyBeginAllowThreads();
11755 (arg1)->SetDirectory((wxString const &)*arg2);
11756
11757 wxPyEndAllowThreads(__tstate);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 }
11760 Py_INCREF(Py_None); resultobj = Py_None;
11761 {
11762 if (temp2)
11763 delete arg2;
11764 }
11765 return resultobj;
11766 fail:
11767 {
11768 if (temp2)
11769 delete arg2;
11770 }
11771 return NULL;
11772 }
11773
11774
11775 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11776 PyObject *resultobj;
11777 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11778 wxString *arg2 = 0 ;
11779 bool temp2 = False ;
11780 PyObject * obj0 = 0 ;
11781 PyObject * obj1 = 0 ;
11782 char *kwnames[] = {
11783 (char *) "self",(char *) "name", NULL
11784 };
11785
11786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11789 {
11790 arg2 = wxString_in_helper(obj1);
11791 if (arg2 == NULL) SWIG_fail;
11792 temp2 = True;
11793 }
11794 {
11795 PyThreadState* __tstate = wxPyBeginAllowThreads();
11796 (arg1)->SetFilename((wxString const &)*arg2);
11797
11798 wxPyEndAllowThreads(__tstate);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
11801 Py_INCREF(Py_None); resultobj = Py_None;
11802 {
11803 if (temp2)
11804 delete arg2;
11805 }
11806 return resultobj;
11807 fail:
11808 {
11809 if (temp2)
11810 delete arg2;
11811 }
11812 return NULL;
11813 }
11814
11815
11816 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11817 PyObject *resultobj;
11818 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11819 wxString *arg2 = 0 ;
11820 bool temp2 = False ;
11821 PyObject * obj0 = 0 ;
11822 PyObject * obj1 = 0 ;
11823 char *kwnames[] = {
11824 (char *) "self",(char *) "wildCard", NULL
11825 };
11826
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11830 {
11831 arg2 = wxString_in_helper(obj1);
11832 if (arg2 == NULL) SWIG_fail;
11833 temp2 = True;
11834 }
11835 {
11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
11837 (arg1)->SetWildcard((wxString const &)*arg2);
11838
11839 wxPyEndAllowThreads(__tstate);
11840 if (PyErr_Occurred()) SWIG_fail;
11841 }
11842 Py_INCREF(Py_None); resultobj = Py_None;
11843 {
11844 if (temp2)
11845 delete arg2;
11846 }
11847 return resultobj;
11848 fail:
11849 {
11850 if (temp2)
11851 delete arg2;
11852 }
11853 return NULL;
11854 }
11855
11856
11857 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11858 PyObject *resultobj;
11859 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11860 long arg2 ;
11861 PyObject * obj0 = 0 ;
11862 PyObject * obj1 = 0 ;
11863 char *kwnames[] = {
11864 (char *) "self",(char *) "style", NULL
11865 };
11866
11867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11870 arg2 = (long) SWIG_AsLong(obj1);
11871 if (PyErr_Occurred()) SWIG_fail;
11872 {
11873 PyThreadState* __tstate = wxPyBeginAllowThreads();
11874 (arg1)->SetStyle(arg2);
11875
11876 wxPyEndAllowThreads(__tstate);
11877 if (PyErr_Occurred()) SWIG_fail;
11878 }
11879 Py_INCREF(Py_None); resultobj = Py_None;
11880 return resultobj;
11881 fail:
11882 return NULL;
11883 }
11884
11885
11886 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11887 PyObject *resultobj;
11888 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11889 int arg2 ;
11890 PyObject * obj0 = 0 ;
11891 PyObject * obj1 = 0 ;
11892 char *kwnames[] = {
11893 (char *) "self",(char *) "filterIndex", NULL
11894 };
11895
11896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11899 arg2 = (int) SWIG_AsInt(obj1);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 {
11902 PyThreadState* __tstate = wxPyBeginAllowThreads();
11903 (arg1)->SetFilterIndex(arg2);
11904
11905 wxPyEndAllowThreads(__tstate);
11906 if (PyErr_Occurred()) SWIG_fail;
11907 }
11908 Py_INCREF(Py_None); resultobj = Py_None;
11909 return resultobj;
11910 fail:
11911 return NULL;
11912 }
11913
11914
11915 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11916 PyObject *resultobj;
11917 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11918 wxString result;
11919 PyObject * obj0 = 0 ;
11920 char *kwnames[] = {
11921 (char *) "self", NULL
11922 };
11923
11924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = ((wxFileDialog const *)arg1)->GetMessage();
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
11934 {
11935 #if wxUSE_UNICODE
11936 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11937 #else
11938 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11939 #endif
11940 }
11941 return resultobj;
11942 fail:
11943 return NULL;
11944 }
11945
11946
11947 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11948 PyObject *resultobj;
11949 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11950 wxString result;
11951 PyObject * obj0 = 0 ;
11952 char *kwnames[] = {
11953 (char *) "self", NULL
11954 };
11955
11956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11959 {
11960 PyThreadState* __tstate = wxPyBeginAllowThreads();
11961 result = ((wxFileDialog const *)arg1)->GetPath();
11962
11963 wxPyEndAllowThreads(__tstate);
11964 if (PyErr_Occurred()) SWIG_fail;
11965 }
11966 {
11967 #if wxUSE_UNICODE
11968 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11969 #else
11970 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11971 #endif
11972 }
11973 return resultobj;
11974 fail:
11975 return NULL;
11976 }
11977
11978
11979 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11980 PyObject *resultobj;
11981 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11982 wxString result;
11983 PyObject * obj0 = 0 ;
11984 char *kwnames[] = {
11985 (char *) "self", NULL
11986 };
11987
11988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11991 {
11992 PyThreadState* __tstate = wxPyBeginAllowThreads();
11993 result = ((wxFileDialog const *)arg1)->GetDirectory();
11994
11995 wxPyEndAllowThreads(__tstate);
11996 if (PyErr_Occurred()) SWIG_fail;
11997 }
11998 {
11999 #if wxUSE_UNICODE
12000 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12001 #else
12002 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12003 #endif
12004 }
12005 return resultobj;
12006 fail:
12007 return NULL;
12008 }
12009
12010
12011 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12012 PyObject *resultobj;
12013 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12014 wxString result;
12015 PyObject * obj0 = 0 ;
12016 char *kwnames[] = {
12017 (char *) "self", NULL
12018 };
12019
12020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 result = ((wxFileDialog const *)arg1)->GetFilename();
12026
12027 wxPyEndAllowThreads(__tstate);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 }
12030 {
12031 #if wxUSE_UNICODE
12032 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12033 #else
12034 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12035 #endif
12036 }
12037 return resultobj;
12038 fail:
12039 return NULL;
12040 }
12041
12042
12043 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12044 PyObject *resultobj;
12045 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12046 wxString result;
12047 PyObject * obj0 = 0 ;
12048 char *kwnames[] = {
12049 (char *) "self", NULL
12050 };
12051
12052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12055 {
12056 PyThreadState* __tstate = wxPyBeginAllowThreads();
12057 result = ((wxFileDialog const *)arg1)->GetWildcard();
12058
12059 wxPyEndAllowThreads(__tstate);
12060 if (PyErr_Occurred()) SWIG_fail;
12061 }
12062 {
12063 #if wxUSE_UNICODE
12064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12065 #else
12066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12067 #endif
12068 }
12069 return resultobj;
12070 fail:
12071 return NULL;
12072 }
12073
12074
12075 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12076 PyObject *resultobj;
12077 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12078 long result;
12079 PyObject * obj0 = 0 ;
12080 char *kwnames[] = {
12081 (char *) "self", NULL
12082 };
12083
12084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12090
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
12094 resultobj = SWIG_FromLong((long)result);
12095 return resultobj;
12096 fail:
12097 return NULL;
12098 }
12099
12100
12101 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12102 PyObject *resultobj;
12103 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12104 int result;
12105 PyObject * obj0 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "self", NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12113 {
12114 PyThreadState* __tstate = wxPyBeginAllowThreads();
12115 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12116
12117 wxPyEndAllowThreads(__tstate);
12118 if (PyErr_Occurred()) SWIG_fail;
12119 }
12120 resultobj = SWIG_FromInt((int)result);
12121 return resultobj;
12122 fail:
12123 return NULL;
12124 }
12125
12126
12127 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12128 PyObject *resultobj;
12129 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12130 PyObject *result;
12131 PyObject * obj0 = 0 ;
12132 char *kwnames[] = {
12133 (char *) "self", NULL
12134 };
12135
12136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12142
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 resultobj = result;
12147 return resultobj;
12148 fail:
12149 return NULL;
12150 }
12151
12152
12153 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj;
12155 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12156 PyObject *result;
12157 PyObject * obj0 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12168
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 resultobj = result;
12173 return resultobj;
12174 fail:
12175 return NULL;
12176 }
12177
12178
12179 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12180 PyObject *obj;
12181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12182 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12183 Py_INCREF(obj);
12184 return Py_BuildValue((char *)"");
12185 }
12186 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12187 PyObject *resultobj;
12188 wxWindow *arg1 = (wxWindow *) 0 ;
12189 wxString *arg2 = 0 ;
12190 wxString *arg3 = 0 ;
12191 int arg4 = (int) 0 ;
12192 wxString *arg5 = (wxString *) 0 ;
12193 long arg6 = (long) wxCHOICEDLG_STYLE ;
12194 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12195 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12196 wxMultiChoiceDialog *result;
12197 bool temp2 = False ;
12198 bool temp3 = False ;
12199 wxPoint temp6 ;
12200 PyObject * obj0 = 0 ;
12201 PyObject * obj1 = 0 ;
12202 PyObject * obj2 = 0 ;
12203 PyObject * obj3 = 0 ;
12204 PyObject * obj4 = 0 ;
12205 PyObject * obj5 = 0 ;
12206 char *kwnames[] = {
12207 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12208 };
12209
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12213 {
12214 arg2 = wxString_in_helper(obj1);
12215 if (arg2 == NULL) SWIG_fail;
12216 temp2 = True;
12217 }
12218 {
12219 arg3 = wxString_in_helper(obj2);
12220 if (arg3 == NULL) SWIG_fail;
12221 temp3 = True;
12222 }
12223 if (obj3) {
12224 {
12225 arg4 = PyList_Size(obj3);
12226 arg5 = wxString_LIST_helper(obj3);
12227 if (arg5 == NULL) SWIG_fail;
12228 }
12229 }
12230 if (obj4) {
12231 arg6 = (long) SWIG_AsLong(obj4);
12232 if (PyErr_Occurred()) SWIG_fail;
12233 }
12234 if (obj5) {
12235 {
12236 arg7 = &temp6;
12237 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12238 }
12239 }
12240 {
12241 PyThreadState* __tstate = wxPyBeginAllowThreads();
12242 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12243
12244 wxPyEndAllowThreads(__tstate);
12245 if (PyErr_Occurred()) SWIG_fail;
12246 }
12247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12248 {
12249 if (temp2)
12250 delete arg2;
12251 }
12252 {
12253 if (temp3)
12254 delete arg3;
12255 }
12256 {
12257 if (arg5) delete [] arg5;
12258 }
12259 return resultobj;
12260 fail:
12261 {
12262 if (temp2)
12263 delete arg2;
12264 }
12265 {
12266 if (temp3)
12267 delete arg3;
12268 }
12269 {
12270 if (arg5) delete [] arg5;
12271 }
12272 return NULL;
12273 }
12274
12275
12276 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12277 PyObject *resultobj;
12278 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12279 wxArrayInt *arg2 = 0 ;
12280 bool temp2 = False ;
12281 PyObject * obj0 = 0 ;
12282 PyObject * obj1 = 0 ;
12283 char *kwnames[] = {
12284 (char *) "self",(char *) "selections", NULL
12285 };
12286
12287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12290 {
12291 if (! PySequence_Check(obj1)) {
12292 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12293 SWIG_fail;
12294 }
12295 arg2 = new wxArrayInt;
12296 temp2 = True;
12297 int i, len=PySequence_Length(obj1);
12298 for (i=0; i<len; i++) {
12299 PyObject* item = PySequence_GetItem(obj1, i);
12300 PyObject* number = PyNumber_Int(item);
12301 arg2->Add(PyInt_AS_LONG(number));
12302 Py_DECREF(item);
12303 Py_DECREF(number);
12304 }
12305 }
12306 {
12307 PyThreadState* __tstate = wxPyBeginAllowThreads();
12308 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12309
12310 wxPyEndAllowThreads(__tstate);
12311 if (PyErr_Occurred()) SWIG_fail;
12312 }
12313 Py_INCREF(Py_None); resultobj = Py_None;
12314 {
12315 if (temp2) delete arg2;
12316 }
12317 return resultobj;
12318 fail:
12319 {
12320 if (temp2) delete arg2;
12321 }
12322 return NULL;
12323 }
12324
12325
12326 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12327 PyObject *resultobj;
12328 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12329 PyObject *result;
12330 PyObject * obj0 = 0 ;
12331 char *kwnames[] = {
12332 (char *) "self", NULL
12333 };
12334
12335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12338 {
12339 PyThreadState* __tstate = wxPyBeginAllowThreads();
12340 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12341
12342 wxPyEndAllowThreads(__tstate);
12343 if (PyErr_Occurred()) SWIG_fail;
12344 }
12345 resultobj = result;
12346 return resultobj;
12347 fail:
12348 return NULL;
12349 }
12350
12351
12352 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12353 PyObject *obj;
12354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12355 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12356 Py_INCREF(obj);
12357 return Py_BuildValue((char *)"");
12358 }
12359 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12360 PyObject *resultobj;
12361 wxWindow *arg1 = (wxWindow *) 0 ;
12362 wxString *arg2 = 0 ;
12363 wxString *arg3 = 0 ;
12364 int arg4 ;
12365 wxString *arg5 = (wxString *) 0 ;
12366 long arg6 = (long) wxCHOICEDLG_STYLE ;
12367 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12368 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12369 wxSingleChoiceDialog *result;
12370 bool temp2 = False ;
12371 bool temp3 = False ;
12372 wxPoint temp6 ;
12373 PyObject * obj0 = 0 ;
12374 PyObject * obj1 = 0 ;
12375 PyObject * obj2 = 0 ;
12376 PyObject * obj3 = 0 ;
12377 PyObject * obj4 = 0 ;
12378 PyObject * obj5 = 0 ;
12379 char *kwnames[] = {
12380 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12381 };
12382
12383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12386 {
12387 arg2 = wxString_in_helper(obj1);
12388 if (arg2 == NULL) SWIG_fail;
12389 temp2 = True;
12390 }
12391 {
12392 arg3 = wxString_in_helper(obj2);
12393 if (arg3 == NULL) SWIG_fail;
12394 temp3 = True;
12395 }
12396 {
12397 arg4 = PyList_Size(obj3);
12398 arg5 = wxString_LIST_helper(obj3);
12399 if (arg5 == NULL) SWIG_fail;
12400 }
12401 if (obj4) {
12402 arg6 = (long) SWIG_AsLong(obj4);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 if (obj5) {
12406 {
12407 arg7 = &temp6;
12408 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12409 }
12410 }
12411 {
12412 PyThreadState* __tstate = wxPyBeginAllowThreads();
12413 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12414
12415 wxPyEndAllowThreads(__tstate);
12416 if (PyErr_Occurred()) SWIG_fail;
12417 }
12418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12419 {
12420 if (temp2)
12421 delete arg2;
12422 }
12423 {
12424 if (temp3)
12425 delete arg3;
12426 }
12427 {
12428 if (arg5) delete [] arg5;
12429 }
12430 return resultobj;
12431 fail:
12432 {
12433 if (temp2)
12434 delete arg2;
12435 }
12436 {
12437 if (temp3)
12438 delete arg3;
12439 }
12440 {
12441 if (arg5) delete [] arg5;
12442 }
12443 return NULL;
12444 }
12445
12446
12447 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12448 PyObject *resultobj;
12449 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12450 int result;
12451 PyObject * obj0 = 0 ;
12452 char *kwnames[] = {
12453 (char *) "self", NULL
12454 };
12455
12456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12459 {
12460 PyThreadState* __tstate = wxPyBeginAllowThreads();
12461 result = (int)(arg1)->GetSelection();
12462
12463 wxPyEndAllowThreads(__tstate);
12464 if (PyErr_Occurred()) SWIG_fail;
12465 }
12466 resultobj = SWIG_FromInt((int)result);
12467 return resultobj;
12468 fail:
12469 return NULL;
12470 }
12471
12472
12473 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12474 PyObject *resultobj;
12475 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12476 wxString result;
12477 PyObject * obj0 = 0 ;
12478 char *kwnames[] = {
12479 (char *) "self", NULL
12480 };
12481
12482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 result = (arg1)->GetStringSelection();
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 {
12493 #if wxUSE_UNICODE
12494 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12495 #else
12496 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12497 #endif
12498 }
12499 return resultobj;
12500 fail:
12501 return NULL;
12502 }
12503
12504
12505 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12506 PyObject *resultobj;
12507 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12508 int arg2 ;
12509 PyObject * obj0 = 0 ;
12510 PyObject * obj1 = 0 ;
12511 char *kwnames[] = {
12512 (char *) "self",(char *) "sel", NULL
12513 };
12514
12515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12518 arg2 = (int) SWIG_AsInt(obj1);
12519 if (PyErr_Occurred()) SWIG_fail;
12520 {
12521 PyThreadState* __tstate = wxPyBeginAllowThreads();
12522 (arg1)->SetSelection(arg2);
12523
12524 wxPyEndAllowThreads(__tstate);
12525 if (PyErr_Occurred()) SWIG_fail;
12526 }
12527 Py_INCREF(Py_None); resultobj = Py_None;
12528 return resultobj;
12529 fail:
12530 return NULL;
12531 }
12532
12533
12534 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12535 PyObject *obj;
12536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12537 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12538 Py_INCREF(obj);
12539 return Py_BuildValue((char *)"");
12540 }
12541 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12542 PyObject *resultobj;
12543 wxWindow *arg1 = (wxWindow *) 0 ;
12544 wxString *arg2 = 0 ;
12545 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12546 wxString *arg3 = (wxString *) &arg3_defvalue ;
12547 wxString const &arg4_defvalue = wxPyEmptyString ;
12548 wxString *arg4 = (wxString *) &arg4_defvalue ;
12549 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12550 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12551 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12552 wxTextEntryDialog *result;
12553 bool temp2 = False ;
12554 bool temp3 = False ;
12555 bool temp4 = False ;
12556 wxPoint temp6 ;
12557 PyObject * obj0 = 0 ;
12558 PyObject * obj1 = 0 ;
12559 PyObject * obj2 = 0 ;
12560 PyObject * obj3 = 0 ;
12561 PyObject * obj4 = 0 ;
12562 PyObject * obj5 = 0 ;
12563 char *kwnames[] = {
12564 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12565 };
12566
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12570 {
12571 arg2 = wxString_in_helper(obj1);
12572 if (arg2 == NULL) SWIG_fail;
12573 temp2 = True;
12574 }
12575 if (obj2) {
12576 {
12577 arg3 = wxString_in_helper(obj2);
12578 if (arg3 == NULL) SWIG_fail;
12579 temp3 = True;
12580 }
12581 }
12582 if (obj3) {
12583 {
12584 arg4 = wxString_in_helper(obj3);
12585 if (arg4 == NULL) SWIG_fail;
12586 temp4 = True;
12587 }
12588 }
12589 if (obj4) {
12590 arg5 = (long) SWIG_AsLong(obj4);
12591 if (PyErr_Occurred()) SWIG_fail;
12592 }
12593 if (obj5) {
12594 {
12595 arg6 = &temp6;
12596 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12597 }
12598 }
12599 {
12600 PyThreadState* __tstate = wxPyBeginAllowThreads();
12601 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12602
12603 wxPyEndAllowThreads(__tstate);
12604 if (PyErr_Occurred()) SWIG_fail;
12605 }
12606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12607 {
12608 if (temp2)
12609 delete arg2;
12610 }
12611 {
12612 if (temp3)
12613 delete arg3;
12614 }
12615 {
12616 if (temp4)
12617 delete arg4;
12618 }
12619 return resultobj;
12620 fail:
12621 {
12622 if (temp2)
12623 delete arg2;
12624 }
12625 {
12626 if (temp3)
12627 delete arg3;
12628 }
12629 {
12630 if (temp4)
12631 delete arg4;
12632 }
12633 return NULL;
12634 }
12635
12636
12637 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12638 PyObject *resultobj;
12639 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12640 wxString result;
12641 PyObject * obj0 = 0 ;
12642 char *kwnames[] = {
12643 (char *) "self", NULL
12644 };
12645
12646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12649 {
12650 PyThreadState* __tstate = wxPyBeginAllowThreads();
12651 result = (arg1)->GetValue();
12652
12653 wxPyEndAllowThreads(__tstate);
12654 if (PyErr_Occurred()) SWIG_fail;
12655 }
12656 {
12657 #if wxUSE_UNICODE
12658 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12659 #else
12660 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12661 #endif
12662 }
12663 return resultobj;
12664 fail:
12665 return NULL;
12666 }
12667
12668
12669 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12670 PyObject *resultobj;
12671 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12672 wxString *arg2 = 0 ;
12673 bool temp2 = False ;
12674 PyObject * obj0 = 0 ;
12675 PyObject * obj1 = 0 ;
12676 char *kwnames[] = {
12677 (char *) "self",(char *) "value", NULL
12678 };
12679
12680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12683 {
12684 arg2 = wxString_in_helper(obj1);
12685 if (arg2 == NULL) SWIG_fail;
12686 temp2 = True;
12687 }
12688 {
12689 PyThreadState* __tstate = wxPyBeginAllowThreads();
12690 (arg1)->SetValue((wxString const &)*arg2);
12691
12692 wxPyEndAllowThreads(__tstate);
12693 if (PyErr_Occurred()) SWIG_fail;
12694 }
12695 Py_INCREF(Py_None); resultobj = Py_None;
12696 {
12697 if (temp2)
12698 delete arg2;
12699 }
12700 return resultobj;
12701 fail:
12702 {
12703 if (temp2)
12704 delete arg2;
12705 }
12706 return NULL;
12707 }
12708
12709
12710 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12711 PyObject *obj;
12712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12713 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12714 Py_INCREF(obj);
12715 return Py_BuildValue((char *)"");
12716 }
12717 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12718 PyObject *resultobj;
12719 wxFontData *result;
12720 char *kwnames[] = {
12721 NULL
12722 };
12723
12724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12725 {
12726 PyThreadState* __tstate = wxPyBeginAllowThreads();
12727 result = (wxFontData *)new wxFontData();
12728
12729 wxPyEndAllowThreads(__tstate);
12730 if (PyErr_Occurred()) SWIG_fail;
12731 }
12732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12733 return resultobj;
12734 fail:
12735 return NULL;
12736 }
12737
12738
12739 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12740 PyObject *resultobj;
12741 wxFontData *arg1 = (wxFontData *) 0 ;
12742 PyObject * obj0 = 0 ;
12743 char *kwnames[] = {
12744 (char *) "self", NULL
12745 };
12746
12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12750 {
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 delete arg1;
12753
12754 wxPyEndAllowThreads(__tstate);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
12757 Py_INCREF(Py_None); resultobj = Py_None;
12758 return resultobj;
12759 fail:
12760 return NULL;
12761 }
12762
12763
12764 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12765 PyObject *resultobj;
12766 wxFontData *arg1 = (wxFontData *) 0 ;
12767 bool arg2 ;
12768 PyObject * obj0 = 0 ;
12769 PyObject * obj1 = 0 ;
12770 char *kwnames[] = {
12771 (char *) "self",(char *) "enable", NULL
12772 };
12773
12774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12777 arg2 = (bool) SWIG_AsBool(obj1);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 (arg1)->EnableEffects(arg2);
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
12786 Py_INCREF(Py_None); resultobj = Py_None;
12787 return resultobj;
12788 fail:
12789 return NULL;
12790 }
12791
12792
12793 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12794 PyObject *resultobj;
12795 wxFontData *arg1 = (wxFontData *) 0 ;
12796 bool result;
12797 PyObject * obj0 = 0 ;
12798 char *kwnames[] = {
12799 (char *) "self", NULL
12800 };
12801
12802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12805 {
12806 PyThreadState* __tstate = wxPyBeginAllowThreads();
12807 result = (bool)(arg1)->GetAllowSymbols();
12808
12809 wxPyEndAllowThreads(__tstate);
12810 if (PyErr_Occurred()) SWIG_fail;
12811 }
12812 {
12813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12814 }
12815 return resultobj;
12816 fail:
12817 return NULL;
12818 }
12819
12820
12821 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12822 PyObject *resultobj;
12823 wxFontData *arg1 = (wxFontData *) 0 ;
12824 wxColour result;
12825 PyObject * obj0 = 0 ;
12826 char *kwnames[] = {
12827 (char *) "self", NULL
12828 };
12829
12830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12833 {
12834 PyThreadState* __tstate = wxPyBeginAllowThreads();
12835 result = (arg1)->GetColour();
12836
12837 wxPyEndAllowThreads(__tstate);
12838 if (PyErr_Occurred()) SWIG_fail;
12839 }
12840 {
12841 wxColour * resultptr;
12842 resultptr = new wxColour((wxColour &) result);
12843 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12844 }
12845 return resultobj;
12846 fail:
12847 return NULL;
12848 }
12849
12850
12851 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12852 PyObject *resultobj;
12853 wxFontData *arg1 = (wxFontData *) 0 ;
12854 wxFont result;
12855 PyObject * obj0 = 0 ;
12856 char *kwnames[] = {
12857 (char *) "self", NULL
12858 };
12859
12860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12863 {
12864 PyThreadState* __tstate = wxPyBeginAllowThreads();
12865 result = (arg1)->GetChosenFont();
12866
12867 wxPyEndAllowThreads(__tstate);
12868 if (PyErr_Occurred()) SWIG_fail;
12869 }
12870 {
12871 wxFont * resultptr;
12872 resultptr = new wxFont((wxFont &) result);
12873 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12874 }
12875 return resultobj;
12876 fail:
12877 return NULL;
12878 }
12879
12880
12881 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12882 PyObject *resultobj;
12883 wxFontData *arg1 = (wxFontData *) 0 ;
12884 bool result;
12885 PyObject * obj0 = 0 ;
12886 char *kwnames[] = {
12887 (char *) "self", NULL
12888 };
12889
12890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12893 {
12894 PyThreadState* __tstate = wxPyBeginAllowThreads();
12895 result = (bool)(arg1)->GetEnableEffects();
12896
12897 wxPyEndAllowThreads(__tstate);
12898 if (PyErr_Occurred()) SWIG_fail;
12899 }
12900 {
12901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12902 }
12903 return resultobj;
12904 fail:
12905 return NULL;
12906 }
12907
12908
12909 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12910 PyObject *resultobj;
12911 wxFontData *arg1 = (wxFontData *) 0 ;
12912 wxFont result;
12913 PyObject * obj0 = 0 ;
12914 char *kwnames[] = {
12915 (char *) "self", NULL
12916 };
12917
12918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12921 {
12922 PyThreadState* __tstate = wxPyBeginAllowThreads();
12923 result = (arg1)->GetInitialFont();
12924
12925 wxPyEndAllowThreads(__tstate);
12926 if (PyErr_Occurred()) SWIG_fail;
12927 }
12928 {
12929 wxFont * resultptr;
12930 resultptr = new wxFont((wxFont &) result);
12931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12932 }
12933 return resultobj;
12934 fail:
12935 return NULL;
12936 }
12937
12938
12939 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12940 PyObject *resultobj;
12941 wxFontData *arg1 = (wxFontData *) 0 ;
12942 bool result;
12943 PyObject * obj0 = 0 ;
12944 char *kwnames[] = {
12945 (char *) "self", NULL
12946 };
12947
12948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 result = (bool)(arg1)->GetShowHelp();
12954
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 {
12959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12960 }
12961 return resultobj;
12962 fail:
12963 return NULL;
12964 }
12965
12966
12967 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12968 PyObject *resultobj;
12969 wxFontData *arg1 = (wxFontData *) 0 ;
12970 bool arg2 ;
12971 PyObject * obj0 = 0 ;
12972 PyObject * obj1 = 0 ;
12973 char *kwnames[] = {
12974 (char *) "self",(char *) "allowSymbols", NULL
12975 };
12976
12977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12980 arg2 = (bool) SWIG_AsBool(obj1);
12981 if (PyErr_Occurred()) SWIG_fail;
12982 {
12983 PyThreadState* __tstate = wxPyBeginAllowThreads();
12984 (arg1)->SetAllowSymbols(arg2);
12985
12986 wxPyEndAllowThreads(__tstate);
12987 if (PyErr_Occurred()) SWIG_fail;
12988 }
12989 Py_INCREF(Py_None); resultobj = Py_None;
12990 return resultobj;
12991 fail:
12992 return NULL;
12993 }
12994
12995
12996 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12997 PyObject *resultobj;
12998 wxFontData *arg1 = (wxFontData *) 0 ;
12999 wxFont *arg2 = 0 ;
13000 PyObject * obj0 = 0 ;
13001 PyObject * obj1 = 0 ;
13002 char *kwnames[] = {
13003 (char *) "self",(char *) "font", NULL
13004 };
13005
13006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13009 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13010 SWIG_POINTER_EXCEPTION | 0)) == -1)
13011 SWIG_fail;
13012 if (arg2 == NULL) {
13013 PyErr_SetString(PyExc_TypeError,"null reference");
13014 SWIG_fail;
13015 }
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
13018 (arg1)->SetChosenFont((wxFont const &)*arg2);
13019
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 Py_INCREF(Py_None); resultobj = Py_None;
13024 return resultobj;
13025 fail:
13026 return NULL;
13027 }
13028
13029
13030 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13031 PyObject *resultobj;
13032 wxFontData *arg1 = (wxFontData *) 0 ;
13033 wxColour *arg2 = 0 ;
13034 wxColour temp2 ;
13035 PyObject * obj0 = 0 ;
13036 PyObject * obj1 = 0 ;
13037 char *kwnames[] = {
13038 (char *) "self",(char *) "colour", NULL
13039 };
13040
13041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13044 {
13045 arg2 = &temp2;
13046 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13047 }
13048 {
13049 PyThreadState* __tstate = wxPyBeginAllowThreads();
13050 (arg1)->SetColour((wxColour const &)*arg2);
13051
13052 wxPyEndAllowThreads(__tstate);
13053 if (PyErr_Occurred()) SWIG_fail;
13054 }
13055 Py_INCREF(Py_None); resultobj = Py_None;
13056 return resultobj;
13057 fail:
13058 return NULL;
13059 }
13060
13061
13062 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13063 PyObject *resultobj;
13064 wxFontData *arg1 = (wxFontData *) 0 ;
13065 wxFont *arg2 = 0 ;
13066 PyObject * obj0 = 0 ;
13067 PyObject * obj1 = 0 ;
13068 char *kwnames[] = {
13069 (char *) "self",(char *) "font", NULL
13070 };
13071
13072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13075 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13076 SWIG_POINTER_EXCEPTION | 0)) == -1)
13077 SWIG_fail;
13078 if (arg2 == NULL) {
13079 PyErr_SetString(PyExc_TypeError,"null reference");
13080 SWIG_fail;
13081 }
13082 {
13083 PyThreadState* __tstate = wxPyBeginAllowThreads();
13084 (arg1)->SetInitialFont((wxFont const &)*arg2);
13085
13086 wxPyEndAllowThreads(__tstate);
13087 if (PyErr_Occurred()) SWIG_fail;
13088 }
13089 Py_INCREF(Py_None); resultobj = Py_None;
13090 return resultobj;
13091 fail:
13092 return NULL;
13093 }
13094
13095
13096 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13097 PyObject *resultobj;
13098 wxFontData *arg1 = (wxFontData *) 0 ;
13099 int arg2 ;
13100 int arg3 ;
13101 PyObject * obj0 = 0 ;
13102 PyObject * obj1 = 0 ;
13103 PyObject * obj2 = 0 ;
13104 char *kwnames[] = {
13105 (char *) "self",(char *) "min",(char *) "max", NULL
13106 };
13107
13108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13111 arg2 = (int) SWIG_AsInt(obj1);
13112 if (PyErr_Occurred()) SWIG_fail;
13113 arg3 = (int) SWIG_AsInt(obj2);
13114 if (PyErr_Occurred()) SWIG_fail;
13115 {
13116 PyThreadState* __tstate = wxPyBeginAllowThreads();
13117 (arg1)->SetRange(arg2,arg3);
13118
13119 wxPyEndAllowThreads(__tstate);
13120 if (PyErr_Occurred()) SWIG_fail;
13121 }
13122 Py_INCREF(Py_None); resultobj = Py_None;
13123 return resultobj;
13124 fail:
13125 return NULL;
13126 }
13127
13128
13129 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13130 PyObject *resultobj;
13131 wxFontData *arg1 = (wxFontData *) 0 ;
13132 bool arg2 ;
13133 PyObject * obj0 = 0 ;
13134 PyObject * obj1 = 0 ;
13135 char *kwnames[] = {
13136 (char *) "self",(char *) "showHelp", NULL
13137 };
13138
13139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13142 arg2 = (bool) SWIG_AsBool(obj1);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 {
13145 PyThreadState* __tstate = wxPyBeginAllowThreads();
13146 (arg1)->SetShowHelp(arg2);
13147
13148 wxPyEndAllowThreads(__tstate);
13149 if (PyErr_Occurred()) SWIG_fail;
13150 }
13151 Py_INCREF(Py_None); resultobj = Py_None;
13152 return resultobj;
13153 fail:
13154 return NULL;
13155 }
13156
13157
13158 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13159 PyObject *obj;
13160 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13161 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13162 Py_INCREF(obj);
13163 return Py_BuildValue((char *)"");
13164 }
13165 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13166 PyObject *resultobj;
13167 wxWindow *arg1 = (wxWindow *) 0 ;
13168 wxFontData *arg2 = 0 ;
13169 wxFontDialog *result;
13170 PyObject * obj0 = 0 ;
13171 PyObject * obj1 = 0 ;
13172 char *kwnames[] = {
13173 (char *) "parent",(char *) "data", NULL
13174 };
13175
13176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13180 SWIG_POINTER_EXCEPTION | 0)) == -1)
13181 SWIG_fail;
13182 if (arg2 == NULL) {
13183 PyErr_SetString(PyExc_TypeError,"null reference");
13184 SWIG_fail;
13185 }
13186 {
13187 PyThreadState* __tstate = wxPyBeginAllowThreads();
13188 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13189
13190 wxPyEndAllowThreads(__tstate);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 }
13193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13194 return resultobj;
13195 fail:
13196 return NULL;
13197 }
13198
13199
13200 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13201 PyObject *resultobj;
13202 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13203 wxFontData *result;
13204 PyObject * obj0 = 0 ;
13205 char *kwnames[] = {
13206 (char *) "self", NULL
13207 };
13208
13209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 {
13215 wxFontData &_result_ref = (arg1)->GetFontData();
13216 result = (wxFontData *) &_result_ref;
13217 }
13218
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13223 return resultobj;
13224 fail:
13225 return NULL;
13226 }
13227
13228
13229 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13230 PyObject *obj;
13231 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13232 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13233 Py_INCREF(obj);
13234 return Py_BuildValue((char *)"");
13235 }
13236 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13237 PyObject *resultobj;
13238 wxWindow *arg1 = (wxWindow *) 0 ;
13239 wxString *arg2 = 0 ;
13240 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13241 wxString *arg3 = (wxString *) &arg3_defvalue ;
13242 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13243 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13244 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13245 wxMessageDialog *result;
13246 bool temp2 = False ;
13247 bool temp3 = False ;
13248 wxPoint temp5 ;
13249 PyObject * obj0 = 0 ;
13250 PyObject * obj1 = 0 ;
13251 PyObject * obj2 = 0 ;
13252 PyObject * obj3 = 0 ;
13253 PyObject * obj4 = 0 ;
13254 char *kwnames[] = {
13255 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13256 };
13257
13258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13261 {
13262 arg2 = wxString_in_helper(obj1);
13263 if (arg2 == NULL) SWIG_fail;
13264 temp2 = True;
13265 }
13266 if (obj2) {
13267 {
13268 arg3 = wxString_in_helper(obj2);
13269 if (arg3 == NULL) SWIG_fail;
13270 temp3 = True;
13271 }
13272 }
13273 if (obj3) {
13274 arg4 = (long) SWIG_AsLong(obj3);
13275 if (PyErr_Occurred()) SWIG_fail;
13276 }
13277 if (obj4) {
13278 {
13279 arg5 = &temp5;
13280 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13281 }
13282 }
13283 {
13284 PyThreadState* __tstate = wxPyBeginAllowThreads();
13285 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13286
13287 wxPyEndAllowThreads(__tstate);
13288 if (PyErr_Occurred()) SWIG_fail;
13289 }
13290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13291 {
13292 if (temp2)
13293 delete arg2;
13294 }
13295 {
13296 if (temp3)
13297 delete arg3;
13298 }
13299 return resultobj;
13300 fail:
13301 {
13302 if (temp2)
13303 delete arg2;
13304 }
13305 {
13306 if (temp3)
13307 delete arg3;
13308 }
13309 return NULL;
13310 }
13311
13312
13313 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13314 PyObject *obj;
13315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13316 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13317 Py_INCREF(obj);
13318 return Py_BuildValue((char *)"");
13319 }
13320 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13321 PyObject *resultobj;
13322 wxString *arg1 = 0 ;
13323 wxString *arg2 = 0 ;
13324 int arg3 = (int) 100 ;
13325 wxWindow *arg4 = (wxWindow *) NULL ;
13326 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13327 wxProgressDialog *result;
13328 bool temp1 = False ;
13329 bool temp2 = False ;
13330 PyObject * obj0 = 0 ;
13331 PyObject * obj1 = 0 ;
13332 PyObject * obj2 = 0 ;
13333 PyObject * obj3 = 0 ;
13334 PyObject * obj4 = 0 ;
13335 char *kwnames[] = {
13336 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13337 };
13338
13339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13340 {
13341 arg1 = wxString_in_helper(obj0);
13342 if (arg1 == NULL) SWIG_fail;
13343 temp1 = True;
13344 }
13345 {
13346 arg2 = wxString_in_helper(obj1);
13347 if (arg2 == NULL) SWIG_fail;
13348 temp2 = True;
13349 }
13350 if (obj2) {
13351 arg3 = (int) SWIG_AsInt(obj2);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 }
13354 if (obj3) {
13355 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13357 }
13358 if (obj4) {
13359 arg5 = (int) SWIG_AsInt(obj4);
13360 if (PyErr_Occurred()) SWIG_fail;
13361 }
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13365
13366 wxPyEndAllowThreads(__tstate);
13367 if (PyErr_Occurred()) SWIG_fail;
13368 }
13369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13370 {
13371 if (temp1)
13372 delete arg1;
13373 }
13374 {
13375 if (temp2)
13376 delete arg2;
13377 }
13378 return resultobj;
13379 fail:
13380 {
13381 if (temp1)
13382 delete arg1;
13383 }
13384 {
13385 if (temp2)
13386 delete arg2;
13387 }
13388 return NULL;
13389 }
13390
13391
13392 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13393 PyObject *resultobj;
13394 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13395 int arg2 ;
13396 wxString const &arg3_defvalue = wxPyEmptyString ;
13397 wxString *arg3 = (wxString *) &arg3_defvalue ;
13398 bool result;
13399 bool temp3 = False ;
13400 PyObject * obj0 = 0 ;
13401 PyObject * obj1 = 0 ;
13402 PyObject * obj2 = 0 ;
13403 char *kwnames[] = {
13404 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13405 };
13406
13407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13410 arg2 = (int) SWIG_AsInt(obj1);
13411 if (PyErr_Occurred()) SWIG_fail;
13412 if (obj2) {
13413 {
13414 arg3 = wxString_in_helper(obj2);
13415 if (arg3 == NULL) SWIG_fail;
13416 temp3 = True;
13417 }
13418 }
13419 {
13420 PyThreadState* __tstate = wxPyBeginAllowThreads();
13421 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13422
13423 wxPyEndAllowThreads(__tstate);
13424 if (PyErr_Occurred()) SWIG_fail;
13425 }
13426 {
13427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13428 }
13429 {
13430 if (temp3)
13431 delete arg3;
13432 }
13433 return resultobj;
13434 fail:
13435 {
13436 if (temp3)
13437 delete arg3;
13438 }
13439 return NULL;
13440 }
13441
13442
13443 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13444 PyObject *resultobj;
13445 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13446 PyObject * obj0 = 0 ;
13447 char *kwnames[] = {
13448 (char *) "self", NULL
13449 };
13450
13451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13454 {
13455 PyThreadState* __tstate = wxPyBeginAllowThreads();
13456 (arg1)->Resume();
13457
13458 wxPyEndAllowThreads(__tstate);
13459 if (PyErr_Occurred()) SWIG_fail;
13460 }
13461 Py_INCREF(Py_None); resultobj = Py_None;
13462 return resultobj;
13463 fail:
13464 return NULL;
13465 }
13466
13467
13468 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13469 PyObject *obj;
13470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13471 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13472 Py_INCREF(obj);
13473 return Py_BuildValue((char *)"");
13474 }
13475 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13476 PyObject *resultobj;
13477 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13478 int arg2 = (int) 0 ;
13479 wxFindDialogEvent *result;
13480 PyObject * obj0 = 0 ;
13481 PyObject * obj1 = 0 ;
13482 char *kwnames[] = {
13483 (char *) "commandType",(char *) "id", NULL
13484 };
13485
13486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13487 if (obj0) {
13488 arg1 = (wxEventType) SWIG_AsInt(obj0);
13489 if (PyErr_Occurred()) SWIG_fail;
13490 }
13491 if (obj1) {
13492 arg2 = (int) SWIG_AsInt(obj1);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
13495 {
13496 PyThreadState* __tstate = wxPyBeginAllowThreads();
13497 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13498
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13503 return resultobj;
13504 fail:
13505 return NULL;
13506 }
13507
13508
13509 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13510 PyObject *resultobj;
13511 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13512 int result;
13513 PyObject * obj0 = 0 ;
13514 char *kwnames[] = {
13515 (char *) "self", NULL
13516 };
13517
13518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13521 {
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 result = (int)(arg1)->GetFlags();
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) SWIG_fail;
13527 }
13528 resultobj = SWIG_FromInt((int)result);
13529 return resultobj;
13530 fail:
13531 return NULL;
13532 }
13533
13534
13535 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13536 PyObject *resultobj;
13537 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13538 wxString *result;
13539 PyObject * obj0 = 0 ;
13540 char *kwnames[] = {
13541 (char *) "self", NULL
13542 };
13543
13544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13547 {
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 {
13550 wxString const &_result_ref = (arg1)->GetFindString();
13551 result = (wxString *) &_result_ref;
13552 }
13553
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 {
13558 #if wxUSE_UNICODE
13559 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13560 #else
13561 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13562 #endif
13563 }
13564 return resultobj;
13565 fail:
13566 return NULL;
13567 }
13568
13569
13570 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13571 PyObject *resultobj;
13572 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13573 wxString *result;
13574 PyObject * obj0 = 0 ;
13575 char *kwnames[] = {
13576 (char *) "self", NULL
13577 };
13578
13579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13582 {
13583 PyThreadState* __tstate = wxPyBeginAllowThreads();
13584 {
13585 wxString const &_result_ref = (arg1)->GetReplaceString();
13586 result = (wxString *) &_result_ref;
13587 }
13588
13589 wxPyEndAllowThreads(__tstate);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
13592 {
13593 #if wxUSE_UNICODE
13594 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13595 #else
13596 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13597 #endif
13598 }
13599 return resultobj;
13600 fail:
13601 return NULL;
13602 }
13603
13604
13605 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13606 PyObject *resultobj;
13607 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13608 wxFindReplaceDialog *result;
13609 PyObject * obj0 = 0 ;
13610 char *kwnames[] = {
13611 (char *) "self", NULL
13612 };
13613
13614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13620
13621 wxPyEndAllowThreads(__tstate);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13625 return resultobj;
13626 fail:
13627 return NULL;
13628 }
13629
13630
13631 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13632 PyObject *resultobj;
13633 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13634 int arg2 ;
13635 PyObject * obj0 = 0 ;
13636 PyObject * obj1 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "self",(char *) "flags", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13644 arg2 = (int) SWIG_AsInt(obj1);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 (arg1)->SetFlags(arg2);
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 Py_INCREF(Py_None); resultobj = Py_None;
13654 return resultobj;
13655 fail:
13656 return NULL;
13657 }
13658
13659
13660 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13661 PyObject *resultobj;
13662 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13663 wxString *arg2 = 0 ;
13664 bool temp2 = False ;
13665 PyObject * obj0 = 0 ;
13666 PyObject * obj1 = 0 ;
13667 char *kwnames[] = {
13668 (char *) "self",(char *) "str", NULL
13669 };
13670
13671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13674 {
13675 arg2 = wxString_in_helper(obj1);
13676 if (arg2 == NULL) SWIG_fail;
13677 temp2 = True;
13678 }
13679 {
13680 PyThreadState* __tstate = wxPyBeginAllowThreads();
13681 (arg1)->SetFindString((wxString const &)*arg2);
13682
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 Py_INCREF(Py_None); resultobj = Py_None;
13687 {
13688 if (temp2)
13689 delete arg2;
13690 }
13691 return resultobj;
13692 fail:
13693 {
13694 if (temp2)
13695 delete arg2;
13696 }
13697 return NULL;
13698 }
13699
13700
13701 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13702 PyObject *resultobj;
13703 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13704 wxString *arg2 = 0 ;
13705 bool temp2 = False ;
13706 PyObject * obj0 = 0 ;
13707 PyObject * obj1 = 0 ;
13708 char *kwnames[] = {
13709 (char *) "self",(char *) "str", NULL
13710 };
13711
13712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13715 {
13716 arg2 = wxString_in_helper(obj1);
13717 if (arg2 == NULL) SWIG_fail;
13718 temp2 = True;
13719 }
13720 {
13721 PyThreadState* __tstate = wxPyBeginAllowThreads();
13722 (arg1)->SetReplaceString((wxString const &)*arg2);
13723
13724 wxPyEndAllowThreads(__tstate);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 }
13727 Py_INCREF(Py_None); resultobj = Py_None;
13728 {
13729 if (temp2)
13730 delete arg2;
13731 }
13732 return resultobj;
13733 fail:
13734 {
13735 if (temp2)
13736 delete arg2;
13737 }
13738 return NULL;
13739 }
13740
13741
13742 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13743 PyObject *obj;
13744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13745 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13746 Py_INCREF(obj);
13747 return Py_BuildValue((char *)"");
13748 }
13749 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13750 PyObject *resultobj;
13751 int arg1 = (int) 0 ;
13752 wxFindReplaceData *result;
13753 PyObject * obj0 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "flags", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13759 if (obj0) {
13760 arg1 = (int) SWIG_AsInt(obj0);
13761 if (PyErr_Occurred()) SWIG_fail;
13762 }
13763 {
13764 PyThreadState* __tstate = wxPyBeginAllowThreads();
13765 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13766
13767 wxPyEndAllowThreads(__tstate);
13768 if (PyErr_Occurred()) SWIG_fail;
13769 }
13770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13771 return resultobj;
13772 fail:
13773 return NULL;
13774 }
13775
13776
13777 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13778 PyObject *resultobj;
13779 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13780 PyObject * obj0 = 0 ;
13781 char *kwnames[] = {
13782 (char *) "self", NULL
13783 };
13784
13785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13788 {
13789 PyThreadState* __tstate = wxPyBeginAllowThreads();
13790 delete arg1;
13791
13792 wxPyEndAllowThreads(__tstate);
13793 if (PyErr_Occurred()) SWIG_fail;
13794 }
13795 Py_INCREF(Py_None); resultobj = Py_None;
13796 return resultobj;
13797 fail:
13798 return NULL;
13799 }
13800
13801
13802 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13803 PyObject *resultobj;
13804 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13805 wxString *result;
13806 PyObject * obj0 = 0 ;
13807 char *kwnames[] = {
13808 (char *) "self", NULL
13809 };
13810
13811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13814 {
13815 PyThreadState* __tstate = wxPyBeginAllowThreads();
13816 {
13817 wxString const &_result_ref = (arg1)->GetFindString();
13818 result = (wxString *) &_result_ref;
13819 }
13820
13821 wxPyEndAllowThreads(__tstate);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 }
13824 {
13825 #if wxUSE_UNICODE
13826 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13827 #else
13828 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13829 #endif
13830 }
13831 return resultobj;
13832 fail:
13833 return NULL;
13834 }
13835
13836
13837 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13838 PyObject *resultobj;
13839 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13840 wxString *result;
13841 PyObject * obj0 = 0 ;
13842 char *kwnames[] = {
13843 (char *) "self", NULL
13844 };
13845
13846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13849 {
13850 PyThreadState* __tstate = wxPyBeginAllowThreads();
13851 {
13852 wxString const &_result_ref = (arg1)->GetReplaceString();
13853 result = (wxString *) &_result_ref;
13854 }
13855
13856 wxPyEndAllowThreads(__tstate);
13857 if (PyErr_Occurred()) SWIG_fail;
13858 }
13859 {
13860 #if wxUSE_UNICODE
13861 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13862 #else
13863 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13864 #endif
13865 }
13866 return resultobj;
13867 fail:
13868 return NULL;
13869 }
13870
13871
13872 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13873 PyObject *resultobj;
13874 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13875 int result;
13876 PyObject * obj0 = 0 ;
13877 char *kwnames[] = {
13878 (char *) "self", NULL
13879 };
13880
13881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13884 {
13885 PyThreadState* __tstate = wxPyBeginAllowThreads();
13886 result = (int)(arg1)->GetFlags();
13887
13888 wxPyEndAllowThreads(__tstate);
13889 if (PyErr_Occurred()) SWIG_fail;
13890 }
13891 resultobj = SWIG_FromInt((int)result);
13892 return resultobj;
13893 fail:
13894 return NULL;
13895 }
13896
13897
13898 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13899 PyObject *resultobj;
13900 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13901 int arg2 ;
13902 PyObject * obj0 = 0 ;
13903 PyObject * obj1 = 0 ;
13904 char *kwnames[] = {
13905 (char *) "self",(char *) "flags", NULL
13906 };
13907
13908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13911 arg2 = (int) SWIG_AsInt(obj1);
13912 if (PyErr_Occurred()) SWIG_fail;
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 (arg1)->SetFlags(arg2);
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 Py_INCREF(Py_None); resultobj = Py_None;
13921 return resultobj;
13922 fail:
13923 return NULL;
13924 }
13925
13926
13927 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13928 PyObject *resultobj;
13929 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13930 wxString *arg2 = 0 ;
13931 bool temp2 = False ;
13932 PyObject * obj0 = 0 ;
13933 PyObject * obj1 = 0 ;
13934 char *kwnames[] = {
13935 (char *) "self",(char *) "str", NULL
13936 };
13937
13938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13941 {
13942 arg2 = wxString_in_helper(obj1);
13943 if (arg2 == NULL) SWIG_fail;
13944 temp2 = True;
13945 }
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 (arg1)->SetFindString((wxString const &)*arg2);
13949
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 Py_INCREF(Py_None); resultobj = Py_None;
13954 {
13955 if (temp2)
13956 delete arg2;
13957 }
13958 return resultobj;
13959 fail:
13960 {
13961 if (temp2)
13962 delete arg2;
13963 }
13964 return NULL;
13965 }
13966
13967
13968 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13969 PyObject *resultobj;
13970 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13971 wxString *arg2 = 0 ;
13972 bool temp2 = False ;
13973 PyObject * obj0 = 0 ;
13974 PyObject * obj1 = 0 ;
13975 char *kwnames[] = {
13976 (char *) "self",(char *) "str", NULL
13977 };
13978
13979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13982 {
13983 arg2 = wxString_in_helper(obj1);
13984 if (arg2 == NULL) SWIG_fail;
13985 temp2 = True;
13986 }
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 (arg1)->SetReplaceString((wxString const &)*arg2);
13990
13991 wxPyEndAllowThreads(__tstate);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 Py_INCREF(Py_None); resultobj = Py_None;
13995 {
13996 if (temp2)
13997 delete arg2;
13998 }
13999 return resultobj;
14000 fail:
14001 {
14002 if (temp2)
14003 delete arg2;
14004 }
14005 return NULL;
14006 }
14007
14008
14009 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14010 PyObject *obj;
14011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14012 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14013 Py_INCREF(obj);
14014 return Py_BuildValue((char *)"");
14015 }
14016 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14017 PyObject *resultobj;
14018 wxWindow *arg1 = (wxWindow *) 0 ;
14019 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14020 wxString *arg3 = 0 ;
14021 int arg4 = (int) 0 ;
14022 wxFindReplaceDialog *result;
14023 bool temp3 = False ;
14024 PyObject * obj0 = 0 ;
14025 PyObject * obj1 = 0 ;
14026 PyObject * obj2 = 0 ;
14027 PyObject * obj3 = 0 ;
14028 char *kwnames[] = {
14029 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14030 };
14031
14032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14037 {
14038 arg3 = wxString_in_helper(obj2);
14039 if (arg3 == NULL) SWIG_fail;
14040 temp3 = True;
14041 }
14042 if (obj3) {
14043 arg4 = (int) SWIG_AsInt(obj3);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14049
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
14053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14054 {
14055 if (temp3)
14056 delete arg3;
14057 }
14058 return resultobj;
14059 fail:
14060 {
14061 if (temp3)
14062 delete arg3;
14063 }
14064 return NULL;
14065 }
14066
14067
14068 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14069 PyObject *resultobj;
14070 wxFindReplaceDialog *result;
14071 char *kwnames[] = {
14072 NULL
14073 };
14074
14075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14076 {
14077 PyThreadState* __tstate = wxPyBeginAllowThreads();
14078 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14079
14080 wxPyEndAllowThreads(__tstate);
14081 if (PyErr_Occurred()) SWIG_fail;
14082 }
14083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14084 return resultobj;
14085 fail:
14086 return NULL;
14087 }
14088
14089
14090 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14091 PyObject *resultobj;
14092 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14093 wxWindow *arg2 = (wxWindow *) 0 ;
14094 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14095 wxString *arg4 = 0 ;
14096 int arg5 = (int) 0 ;
14097 bool result;
14098 bool temp4 = False ;
14099 PyObject * obj0 = 0 ;
14100 PyObject * obj1 = 0 ;
14101 PyObject * obj2 = 0 ;
14102 PyObject * obj3 = 0 ;
14103 PyObject * obj4 = 0 ;
14104 char *kwnames[] = {
14105 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14106 };
14107
14108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14113 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14115 {
14116 arg4 = wxString_in_helper(obj3);
14117 if (arg4 == NULL) SWIG_fail;
14118 temp4 = True;
14119 }
14120 if (obj4) {
14121 arg5 = (int) SWIG_AsInt(obj4);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 {
14125 PyThreadState* __tstate = wxPyBeginAllowThreads();
14126 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14127
14128 wxPyEndAllowThreads(__tstate);
14129 if (PyErr_Occurred()) SWIG_fail;
14130 }
14131 {
14132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14133 }
14134 {
14135 if (temp4)
14136 delete arg4;
14137 }
14138 return resultobj;
14139 fail:
14140 {
14141 if (temp4)
14142 delete arg4;
14143 }
14144 return NULL;
14145 }
14146
14147
14148 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14149 PyObject *resultobj;
14150 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14151 wxFindReplaceData *result;
14152 PyObject * obj0 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "self", NULL
14155 };
14156
14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14160 {
14161 PyThreadState* __tstate = wxPyBeginAllowThreads();
14162 result = (wxFindReplaceData *)(arg1)->GetData();
14163
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14168 return resultobj;
14169 fail:
14170 return NULL;
14171 }
14172
14173
14174 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14175 PyObject *resultobj;
14176 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14177 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14178 PyObject * obj0 = 0 ;
14179 PyObject * obj1 = 0 ;
14180 char *kwnames[] = {
14181 (char *) "self",(char *) "data", NULL
14182 };
14183
14184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14189 {
14190 PyThreadState* __tstate = wxPyBeginAllowThreads();
14191 (arg1)->SetData(arg2);
14192
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
14196 Py_INCREF(Py_None); resultobj = Py_None;
14197 return resultobj;
14198 fail:
14199 return NULL;
14200 }
14201
14202
14203 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14204 PyObject *obj;
14205 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14206 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14207 Py_INCREF(obj);
14208 return Py_BuildValue((char *)"");
14209 }
14210 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj;
14212 wxWindow *arg1 = (wxWindow *) 0 ;
14213 int arg2 ;
14214 wxString *arg3 = 0 ;
14215 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14216 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14217 wxSize const &arg5_defvalue = wxDefaultSize ;
14218 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14219 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14220 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14221 wxString *arg7 = (wxString *) &arg7_defvalue ;
14222 wxMDIParentFrame *result;
14223 bool temp3 = False ;
14224 wxPoint temp4 ;
14225 wxSize temp5 ;
14226 bool temp7 = False ;
14227 PyObject * obj0 = 0 ;
14228 PyObject * obj1 = 0 ;
14229 PyObject * obj2 = 0 ;
14230 PyObject * obj3 = 0 ;
14231 PyObject * obj4 = 0 ;
14232 PyObject * obj5 = 0 ;
14233 PyObject * obj6 = 0 ;
14234 char *kwnames[] = {
14235 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14236 };
14237
14238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14241 arg2 = (int const) SWIG_AsInt(obj1);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 {
14244 arg3 = wxString_in_helper(obj2);
14245 if (arg3 == NULL) SWIG_fail;
14246 temp3 = True;
14247 }
14248 if (obj3) {
14249 {
14250 arg4 = &temp4;
14251 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14252 }
14253 }
14254 if (obj4) {
14255 {
14256 arg5 = &temp5;
14257 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14258 }
14259 }
14260 if (obj5) {
14261 arg6 = (long) SWIG_AsLong(obj5);
14262 if (PyErr_Occurred()) SWIG_fail;
14263 }
14264 if (obj6) {
14265 {
14266 arg7 = wxString_in_helper(obj6);
14267 if (arg7 == NULL) SWIG_fail;
14268 temp7 = True;
14269 }
14270 }
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14279 {
14280 if (temp3)
14281 delete arg3;
14282 }
14283 {
14284 if (temp7)
14285 delete arg7;
14286 }
14287 return resultobj;
14288 fail:
14289 {
14290 if (temp3)
14291 delete arg3;
14292 }
14293 {
14294 if (temp7)
14295 delete arg7;
14296 }
14297 return NULL;
14298 }
14299
14300
14301 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14302 PyObject *resultobj;
14303 wxMDIParentFrame *result;
14304 char *kwnames[] = {
14305 NULL
14306 };
14307
14308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14309 {
14310 PyThreadState* __tstate = wxPyBeginAllowThreads();
14311 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14312
14313 wxPyEndAllowThreads(__tstate);
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14317 return resultobj;
14318 fail:
14319 return NULL;
14320 }
14321
14322
14323 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14324 PyObject *resultobj;
14325 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14326 wxWindow *arg2 = (wxWindow *) 0 ;
14327 int arg3 ;
14328 wxString *arg4 = 0 ;
14329 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14330 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14331 wxSize const &arg6_defvalue = wxDefaultSize ;
14332 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14333 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14334 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14335 wxString *arg8 = (wxString *) &arg8_defvalue ;
14336 bool result;
14337 bool temp4 = False ;
14338 wxPoint temp5 ;
14339 wxSize temp6 ;
14340 bool temp8 = False ;
14341 PyObject * obj0 = 0 ;
14342 PyObject * obj1 = 0 ;
14343 PyObject * obj2 = 0 ;
14344 PyObject * obj3 = 0 ;
14345 PyObject * obj4 = 0 ;
14346 PyObject * obj5 = 0 ;
14347 PyObject * obj6 = 0 ;
14348 PyObject * obj7 = 0 ;
14349 char *kwnames[] = {
14350 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14351 };
14352
14353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14356 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14358 arg3 = (int const) SWIG_AsInt(obj2);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 {
14361 arg4 = wxString_in_helper(obj3);
14362 if (arg4 == NULL) SWIG_fail;
14363 temp4 = True;
14364 }
14365 if (obj4) {
14366 {
14367 arg5 = &temp5;
14368 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14369 }
14370 }
14371 if (obj5) {
14372 {
14373 arg6 = &temp6;
14374 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14375 }
14376 }
14377 if (obj6) {
14378 arg7 = (long) SWIG_AsLong(obj6);
14379 if (PyErr_Occurred()) SWIG_fail;
14380 }
14381 if (obj7) {
14382 {
14383 arg8 = wxString_in_helper(obj7);
14384 if (arg8 == NULL) SWIG_fail;
14385 temp8 = True;
14386 }
14387 }
14388 {
14389 PyThreadState* __tstate = wxPyBeginAllowThreads();
14390 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14391
14392 wxPyEndAllowThreads(__tstate);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 {
14396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14397 }
14398 {
14399 if (temp4)
14400 delete arg4;
14401 }
14402 {
14403 if (temp8)
14404 delete arg8;
14405 }
14406 return resultobj;
14407 fail:
14408 {
14409 if (temp4)
14410 delete arg4;
14411 }
14412 {
14413 if (temp8)
14414 delete arg8;
14415 }
14416 return NULL;
14417 }
14418
14419
14420 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14421 PyObject *resultobj;
14422 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14423 PyObject * obj0 = 0 ;
14424 char *kwnames[] = {
14425 (char *) "self", NULL
14426 };
14427
14428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14431 {
14432 PyThreadState* __tstate = wxPyBeginAllowThreads();
14433 (arg1)->ActivateNext();
14434
14435 wxPyEndAllowThreads(__tstate);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 Py_INCREF(Py_None); resultobj = Py_None;
14439 return resultobj;
14440 fail:
14441 return NULL;
14442 }
14443
14444
14445 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14446 PyObject *resultobj;
14447 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14448 PyObject * obj0 = 0 ;
14449 char *kwnames[] = {
14450 (char *) "self", NULL
14451 };
14452
14453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14456 {
14457 PyThreadState* __tstate = wxPyBeginAllowThreads();
14458 (arg1)->ActivatePrevious();
14459
14460 wxPyEndAllowThreads(__tstate);
14461 if (PyErr_Occurred()) SWIG_fail;
14462 }
14463 Py_INCREF(Py_None); resultobj = Py_None;
14464 return resultobj;
14465 fail:
14466 return NULL;
14467 }
14468
14469
14470 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14471 PyObject *resultobj;
14472 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14473 PyObject * obj0 = 0 ;
14474 char *kwnames[] = {
14475 (char *) "self", NULL
14476 };
14477
14478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14481 {
14482 PyThreadState* __tstate = wxPyBeginAllowThreads();
14483 (arg1)->ArrangeIcons();
14484
14485 wxPyEndAllowThreads(__tstate);
14486 if (PyErr_Occurred()) SWIG_fail;
14487 }
14488 Py_INCREF(Py_None); resultobj = Py_None;
14489 return resultobj;
14490 fail:
14491 return NULL;
14492 }
14493
14494
14495 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14496 PyObject *resultobj;
14497 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14498 PyObject * obj0 = 0 ;
14499 char *kwnames[] = {
14500 (char *) "self", NULL
14501 };
14502
14503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14506 {
14507 PyThreadState* __tstate = wxPyBeginAllowThreads();
14508 (arg1)->Cascade();
14509
14510 wxPyEndAllowThreads(__tstate);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 }
14513 Py_INCREF(Py_None); resultobj = Py_None;
14514 return resultobj;
14515 fail:
14516 return NULL;
14517 }
14518
14519
14520 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14521 PyObject *resultobj;
14522 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14523 wxMDIChildFrame *result;
14524 PyObject * obj0 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "self", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14532 {
14533 PyThreadState* __tstate = wxPyBeginAllowThreads();
14534 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14535
14536 wxPyEndAllowThreads(__tstate);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 {
14540 resultobj = wxPyMake_wxObject(result);
14541 }
14542 return resultobj;
14543 fail:
14544 return NULL;
14545 }
14546
14547
14548 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14549 PyObject *resultobj;
14550 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14551 wxMDIClientWindow *result;
14552 PyObject * obj0 = 0 ;
14553 char *kwnames[] = {
14554 (char *) "self", NULL
14555 };
14556
14557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14563
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 {
14568 resultobj = wxPyMake_wxObject(result);
14569 }
14570 return resultobj;
14571 fail:
14572 return NULL;
14573 }
14574
14575
14576 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14577 PyObject *resultobj;
14578 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14579 wxWindow *result;
14580 PyObject * obj0 = 0 ;
14581 char *kwnames[] = {
14582 (char *) "self", NULL
14583 };
14584
14585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14588 {
14589 PyThreadState* __tstate = wxPyBeginAllowThreads();
14590 result = (wxWindow *)(arg1)->GetToolBar();
14591
14592 wxPyEndAllowThreads(__tstate);
14593 if (PyErr_Occurred()) SWIG_fail;
14594 }
14595 {
14596 resultobj = wxPyMake_wxObject(result);
14597 }
14598 return resultobj;
14599 fail:
14600 return NULL;
14601 }
14602
14603
14604 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14605 PyObject *resultobj;
14606 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14607 PyObject * obj0 = 0 ;
14608 char *kwnames[] = {
14609 (char *) "self", NULL
14610 };
14611
14612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14615 {
14616 PyThreadState* __tstate = wxPyBeginAllowThreads();
14617 (arg1)->Tile();
14618
14619 wxPyEndAllowThreads(__tstate);
14620 if (PyErr_Occurred()) SWIG_fail;
14621 }
14622 Py_INCREF(Py_None); resultobj = Py_None;
14623 return resultobj;
14624 fail:
14625 return NULL;
14626 }
14627
14628
14629 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14630 PyObject *obj;
14631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14632 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14633 Py_INCREF(obj);
14634 return Py_BuildValue((char *)"");
14635 }
14636 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14637 PyObject *resultobj;
14638 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14639 int arg2 ;
14640 wxString *arg3 = 0 ;
14641 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14642 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14643 wxSize const &arg5_defvalue = wxDefaultSize ;
14644 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14645 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14646 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14647 wxString *arg7 = (wxString *) &arg7_defvalue ;
14648 wxMDIChildFrame *result;
14649 bool temp3 = False ;
14650 wxPoint temp4 ;
14651 wxSize temp5 ;
14652 bool temp7 = False ;
14653 PyObject * obj0 = 0 ;
14654 PyObject * obj1 = 0 ;
14655 PyObject * obj2 = 0 ;
14656 PyObject * obj3 = 0 ;
14657 PyObject * obj4 = 0 ;
14658 PyObject * obj5 = 0 ;
14659 PyObject * obj6 = 0 ;
14660 char *kwnames[] = {
14661 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14662 };
14663
14664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14667 arg2 = (int const) SWIG_AsInt(obj1);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 {
14670 arg3 = wxString_in_helper(obj2);
14671 if (arg3 == NULL) SWIG_fail;
14672 temp3 = True;
14673 }
14674 if (obj3) {
14675 {
14676 arg4 = &temp4;
14677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14678 }
14679 }
14680 if (obj4) {
14681 {
14682 arg5 = &temp5;
14683 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14684 }
14685 }
14686 if (obj5) {
14687 arg6 = (long) SWIG_AsLong(obj5);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 if (obj6) {
14691 {
14692 arg7 = wxString_in_helper(obj6);
14693 if (arg7 == NULL) SWIG_fail;
14694 temp7 = True;
14695 }
14696 }
14697 {
14698 PyThreadState* __tstate = wxPyBeginAllowThreads();
14699 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14700
14701 wxPyEndAllowThreads(__tstate);
14702 if (PyErr_Occurred()) SWIG_fail;
14703 }
14704 {
14705 resultobj = wxPyMake_wxObject(result);
14706 }
14707 {
14708 if (temp3)
14709 delete arg3;
14710 }
14711 {
14712 if (temp7)
14713 delete arg7;
14714 }
14715 return resultobj;
14716 fail:
14717 {
14718 if (temp3)
14719 delete arg3;
14720 }
14721 {
14722 if (temp7)
14723 delete arg7;
14724 }
14725 return NULL;
14726 }
14727
14728
14729 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14730 PyObject *resultobj;
14731 wxMDIChildFrame *result;
14732 char *kwnames[] = {
14733 NULL
14734 };
14735
14736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14737 {
14738 PyThreadState* __tstate = wxPyBeginAllowThreads();
14739 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14740
14741 wxPyEndAllowThreads(__tstate);
14742 if (PyErr_Occurred()) SWIG_fail;
14743 }
14744 {
14745 resultobj = wxPyMake_wxObject(result);
14746 }
14747 return resultobj;
14748 fail:
14749 return NULL;
14750 }
14751
14752
14753 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14754 PyObject *resultobj;
14755 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14756 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14757 int arg3 ;
14758 wxString *arg4 = 0 ;
14759 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14760 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14761 wxSize const &arg6_defvalue = wxDefaultSize ;
14762 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14763 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14764 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14765 wxString *arg8 = (wxString *) &arg8_defvalue ;
14766 bool result;
14767 bool temp4 = False ;
14768 wxPoint temp5 ;
14769 wxSize temp6 ;
14770 bool temp8 = False ;
14771 PyObject * obj0 = 0 ;
14772 PyObject * obj1 = 0 ;
14773 PyObject * obj2 = 0 ;
14774 PyObject * obj3 = 0 ;
14775 PyObject * obj4 = 0 ;
14776 PyObject * obj5 = 0 ;
14777 PyObject * obj6 = 0 ;
14778 PyObject * obj7 = 0 ;
14779 char *kwnames[] = {
14780 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14781 };
14782
14783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14788 arg3 = (int const) SWIG_AsInt(obj2);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 {
14791 arg4 = wxString_in_helper(obj3);
14792 if (arg4 == NULL) SWIG_fail;
14793 temp4 = True;
14794 }
14795 if (obj4) {
14796 {
14797 arg5 = &temp5;
14798 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14799 }
14800 }
14801 if (obj5) {
14802 {
14803 arg6 = &temp6;
14804 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14805 }
14806 }
14807 if (obj6) {
14808 arg7 = (long) SWIG_AsLong(obj6);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
14811 if (obj7) {
14812 {
14813 arg8 = wxString_in_helper(obj7);
14814 if (arg8 == NULL) SWIG_fail;
14815 temp8 = True;
14816 }
14817 }
14818 {
14819 PyThreadState* __tstate = wxPyBeginAllowThreads();
14820 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14821
14822 wxPyEndAllowThreads(__tstate);
14823 if (PyErr_Occurred()) SWIG_fail;
14824 }
14825 {
14826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14827 }
14828 {
14829 if (temp4)
14830 delete arg4;
14831 }
14832 {
14833 if (temp8)
14834 delete arg8;
14835 }
14836 return resultobj;
14837 fail:
14838 {
14839 if (temp4)
14840 delete arg4;
14841 }
14842 {
14843 if (temp8)
14844 delete arg8;
14845 }
14846 return NULL;
14847 }
14848
14849
14850 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14851 PyObject *resultobj;
14852 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14853 PyObject * obj0 = 0 ;
14854 char *kwnames[] = {
14855 (char *) "self", NULL
14856 };
14857
14858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14861 {
14862 PyThreadState* __tstate = wxPyBeginAllowThreads();
14863 (arg1)->Activate();
14864
14865 wxPyEndAllowThreads(__tstate);
14866 if (PyErr_Occurred()) SWIG_fail;
14867 }
14868 Py_INCREF(Py_None); resultobj = Py_None;
14869 return resultobj;
14870 fail:
14871 return NULL;
14872 }
14873
14874
14875 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14876 PyObject *resultobj;
14877 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14878 bool arg2 ;
14879 PyObject * obj0 = 0 ;
14880 PyObject * obj1 = 0 ;
14881 char *kwnames[] = {
14882 (char *) "self",(char *) "maximize", NULL
14883 };
14884
14885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14888 arg2 = (bool) SWIG_AsBool(obj1);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 (arg1)->Maximize(arg2);
14893
14894 wxPyEndAllowThreads(__tstate);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 }
14897 Py_INCREF(Py_None); resultobj = Py_None;
14898 return resultobj;
14899 fail:
14900 return NULL;
14901 }
14902
14903
14904 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14905 PyObject *resultobj;
14906 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14907 PyObject * obj0 = 0 ;
14908 char *kwnames[] = {
14909 (char *) "self", NULL
14910 };
14911
14912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 (arg1)->Restore();
14918
14919 wxPyEndAllowThreads(__tstate);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 }
14922 Py_INCREF(Py_None); resultobj = Py_None;
14923 return resultobj;
14924 fail:
14925 return NULL;
14926 }
14927
14928
14929 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14930 PyObject *obj;
14931 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14932 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14933 Py_INCREF(obj);
14934 return Py_BuildValue((char *)"");
14935 }
14936 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14937 PyObject *resultobj;
14938 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14939 long arg2 = (long) 0 ;
14940 wxMDIClientWindow *result;
14941 PyObject * obj0 = 0 ;
14942 PyObject * obj1 = 0 ;
14943 char *kwnames[] = {
14944 (char *) "parent",(char *) "style", NULL
14945 };
14946
14947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14950 if (obj1) {
14951 arg2 = (long) SWIG_AsLong(obj1);
14952 if (PyErr_Occurred()) SWIG_fail;
14953 }
14954 {
14955 PyThreadState* __tstate = wxPyBeginAllowThreads();
14956 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14957
14958 wxPyEndAllowThreads(__tstate);
14959 if (PyErr_Occurred()) SWIG_fail;
14960 }
14961 {
14962 resultobj = wxPyMake_wxObject(result);
14963 }
14964 return resultobj;
14965 fail:
14966 return NULL;
14967 }
14968
14969
14970 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14971 PyObject *resultobj;
14972 wxMDIClientWindow *result;
14973 char *kwnames[] = {
14974 NULL
14975 };
14976
14977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14978 {
14979 PyThreadState* __tstate = wxPyBeginAllowThreads();
14980 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14981
14982 wxPyEndAllowThreads(__tstate);
14983 if (PyErr_Occurred()) SWIG_fail;
14984 }
14985 {
14986 resultobj = wxPyMake_wxObject(result);
14987 }
14988 return resultobj;
14989 fail:
14990 return NULL;
14991 }
14992
14993
14994 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14995 PyObject *resultobj;
14996 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14997 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14998 long arg3 = (long) 0 ;
14999 bool result;
15000 PyObject * obj0 = 0 ;
15001 PyObject * obj1 = 0 ;
15002 PyObject * obj2 = 0 ;
15003 char *kwnames[] = {
15004 (char *) "self",(char *) "parent",(char *) "style", NULL
15005 };
15006
15007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15012 if (obj2) {
15013 arg3 = (long) SWIG_AsLong(obj2);
15014 if (PyErr_Occurred()) SWIG_fail;
15015 }
15016 {
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
15018 result = (bool)(arg1)->Create(arg2,arg3);
15019
15020 wxPyEndAllowThreads(__tstate);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 {
15024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15025 }
15026 return resultobj;
15027 fail:
15028 return NULL;
15029 }
15030
15031
15032 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15033 PyObject *obj;
15034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15035 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15036 Py_INCREF(obj);
15037 return Py_BuildValue((char *)"");
15038 }
15039 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15040 PyObject *resultobj;
15041 wxWindow *arg1 = (wxWindow *) 0 ;
15042 int arg2 ;
15043 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15044 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15045 wxSize const &arg4_defvalue = wxDefaultSize ;
15046 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15047 long arg5 = (long) 0 ;
15048 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15049 wxString *arg6 = (wxString *) &arg6_defvalue ;
15050 wxPyWindow *result;
15051 wxPoint temp3 ;
15052 wxSize temp4 ;
15053 bool temp6 = False ;
15054 PyObject * obj0 = 0 ;
15055 PyObject * obj1 = 0 ;
15056 PyObject * obj2 = 0 ;
15057 PyObject * obj3 = 0 ;
15058 PyObject * obj4 = 0 ;
15059 PyObject * obj5 = 0 ;
15060 char *kwnames[] = {
15061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15062 };
15063
15064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15067 arg2 = (int const) SWIG_AsInt(obj1);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 if (obj2) {
15070 {
15071 arg3 = &temp3;
15072 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15073 }
15074 }
15075 if (obj3) {
15076 {
15077 arg4 = &temp4;
15078 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15079 }
15080 }
15081 if (obj4) {
15082 arg5 = (long) SWIG_AsLong(obj4);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 if (obj5) {
15086 {
15087 arg6 = wxString_in_helper(obj5);
15088 if (arg6 == NULL) SWIG_fail;
15089 temp6 = True;
15090 }
15091 }
15092 {
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15095
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15100 {
15101 if (temp6)
15102 delete arg6;
15103 }
15104 return resultobj;
15105 fail:
15106 {
15107 if (temp6)
15108 delete arg6;
15109 }
15110 return NULL;
15111 }
15112
15113
15114 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15115 PyObject *resultobj;
15116 wxPyWindow *result;
15117 char *kwnames[] = {
15118 NULL
15119 };
15120
15121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15122 {
15123 PyThreadState* __tstate = wxPyBeginAllowThreads();
15124 result = (wxPyWindow *)new wxPyWindow();
15125
15126 wxPyEndAllowThreads(__tstate);
15127 if (PyErr_Occurred()) SWIG_fail;
15128 }
15129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15130 return resultobj;
15131 fail:
15132 return NULL;
15133 }
15134
15135
15136 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15137 PyObject *resultobj;
15138 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15139 PyObject *arg2 = (PyObject *) 0 ;
15140 PyObject *arg3 = (PyObject *) 0 ;
15141 PyObject * obj0 = 0 ;
15142 PyObject * obj1 = 0 ;
15143 PyObject * obj2 = 0 ;
15144 char *kwnames[] = {
15145 (char *) "self",(char *) "self",(char *) "_class", NULL
15146 };
15147
15148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15151 arg2 = obj1;
15152 arg3 = obj2;
15153 {
15154 PyThreadState* __tstate = wxPyBeginAllowThreads();
15155 (arg1)->_setCallbackInfo(arg2,arg3);
15156
15157 wxPyEndAllowThreads(__tstate);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
15160 Py_INCREF(Py_None); resultobj = Py_None;
15161 return resultobj;
15162 fail:
15163 return NULL;
15164 }
15165
15166
15167 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15168 PyObject *resultobj;
15169 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15170 int arg2 ;
15171 int arg3 ;
15172 int arg4 ;
15173 int arg5 ;
15174 PyObject * obj0 = 0 ;
15175 PyObject * obj1 = 0 ;
15176 PyObject * obj2 = 0 ;
15177 PyObject * obj3 = 0 ;
15178 PyObject * obj4 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15186 arg2 = (int) SWIG_AsInt(obj1);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 arg3 = (int) SWIG_AsInt(obj2);
15189 if (PyErr_Occurred()) SWIG_fail;
15190 arg4 = (int) SWIG_AsInt(obj3);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 arg5 = (int) SWIG_AsInt(obj4);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 {
15195 PyThreadState* __tstate = wxPyBeginAllowThreads();
15196 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15197
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 Py_INCREF(Py_None); resultobj = Py_None;
15202 return resultobj;
15203 fail:
15204 return NULL;
15205 }
15206
15207
15208 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15209 PyObject *resultobj;
15210 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15211 int arg2 ;
15212 int arg3 ;
15213 int arg4 ;
15214 int arg5 ;
15215 int arg6 = (int) wxSIZE_AUTO ;
15216 PyObject * obj0 = 0 ;
15217 PyObject * obj1 = 0 ;
15218 PyObject * obj2 = 0 ;
15219 PyObject * obj3 = 0 ;
15220 PyObject * obj4 = 0 ;
15221 PyObject * obj5 = 0 ;
15222 char *kwnames[] = {
15223 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15229 arg2 = (int) SWIG_AsInt(obj1);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 arg3 = (int) SWIG_AsInt(obj2);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 arg4 = (int) SWIG_AsInt(obj3);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 arg5 = (int) SWIG_AsInt(obj4);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 if (obj5) {
15238 arg6 = (int) SWIG_AsInt(obj5);
15239 if (PyErr_Occurred()) SWIG_fail;
15240 }
15241 {
15242 PyThreadState* __tstate = wxPyBeginAllowThreads();
15243 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15244
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 Py_INCREF(Py_None); resultobj = Py_None;
15249 return resultobj;
15250 fail:
15251 return NULL;
15252 }
15253
15254
15255 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15256 PyObject *resultobj;
15257 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15258 int arg2 ;
15259 int arg3 ;
15260 PyObject * obj0 = 0 ;
15261 PyObject * obj1 = 0 ;
15262 PyObject * obj2 = 0 ;
15263 char *kwnames[] = {
15264 (char *) "self",(char *) "width",(char *) "height", NULL
15265 };
15266
15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15270 arg2 = (int) SWIG_AsInt(obj1);
15271 if (PyErr_Occurred()) SWIG_fail;
15272 arg3 = (int) SWIG_AsInt(obj2);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 (arg1)->base_DoSetClientSize(arg2,arg3);
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 Py_INCREF(Py_None); resultobj = Py_None;
15282 return resultobj;
15283 fail:
15284 return NULL;
15285 }
15286
15287
15288 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj;
15290 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15291 int arg2 ;
15292 int arg3 ;
15293 PyObject * obj0 = 0 ;
15294 PyObject * obj1 = 0 ;
15295 PyObject * obj2 = 0 ;
15296 char *kwnames[] = {
15297 (char *) "self",(char *) "x",(char *) "y", NULL
15298 };
15299
15300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15303 arg2 = (int) SWIG_AsInt(obj1);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 arg3 = (int) SWIG_AsInt(obj2);
15306 if (PyErr_Occurred()) SWIG_fail;
15307 {
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15310
15311 wxPyEndAllowThreads(__tstate);
15312 if (PyErr_Occurred()) SWIG_fail;
15313 }
15314 Py_INCREF(Py_None); resultobj = Py_None;
15315 return resultobj;
15316 fail:
15317 return NULL;
15318 }
15319
15320
15321 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15322 PyObject *resultobj;
15323 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15324 int *arg2 = (int *) 0 ;
15325 int *arg3 = (int *) 0 ;
15326 int temp2 ;
15327 int temp3 ;
15328 PyObject * obj0 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "self", NULL
15331 };
15332
15333 arg2 = &temp2;
15334 arg3 = &temp3;
15335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15338 {
15339 PyThreadState* __tstate = wxPyBeginAllowThreads();
15340 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15341
15342 wxPyEndAllowThreads(__tstate);
15343 if (PyErr_Occurred()) SWIG_fail;
15344 }
15345 Py_INCREF(Py_None); resultobj = Py_None;
15346 {
15347 PyObject *o = PyInt_FromLong((long) (*arg2));
15348 resultobj = t_output_helper(resultobj,o);
15349 }
15350 {
15351 PyObject *o = PyInt_FromLong((long) (*arg3));
15352 resultobj = t_output_helper(resultobj,o);
15353 }
15354 return resultobj;
15355 fail:
15356 return NULL;
15357 }
15358
15359
15360 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15361 PyObject *resultobj;
15362 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15363 int *arg2 = (int *) 0 ;
15364 int *arg3 = (int *) 0 ;
15365 int temp2 ;
15366 int temp3 ;
15367 PyObject * obj0 = 0 ;
15368 char *kwnames[] = {
15369 (char *) "self", NULL
15370 };
15371
15372 arg2 = &temp2;
15373 arg3 = &temp3;
15374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15377 {
15378 PyThreadState* __tstate = wxPyBeginAllowThreads();
15379 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15380
15381 wxPyEndAllowThreads(__tstate);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 }
15384 Py_INCREF(Py_None); resultobj = Py_None;
15385 {
15386 PyObject *o = PyInt_FromLong((long) (*arg2));
15387 resultobj = t_output_helper(resultobj,o);
15388 }
15389 {
15390 PyObject *o = PyInt_FromLong((long) (*arg3));
15391 resultobj = t_output_helper(resultobj,o);
15392 }
15393 return resultobj;
15394 fail:
15395 return NULL;
15396 }
15397
15398
15399 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj;
15401 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15402 int *arg2 = (int *) 0 ;
15403 int *arg3 = (int *) 0 ;
15404 int temp2 ;
15405 int temp3 ;
15406 PyObject * obj0 = 0 ;
15407 char *kwnames[] = {
15408 (char *) "self", NULL
15409 };
15410
15411 arg2 = &temp2;
15412 arg3 = &temp3;
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 Py_INCREF(Py_None); resultobj = Py_None;
15424 {
15425 PyObject *o = PyInt_FromLong((long) (*arg2));
15426 resultobj = t_output_helper(resultobj,o);
15427 }
15428 {
15429 PyObject *o = PyInt_FromLong((long) (*arg3));
15430 resultobj = t_output_helper(resultobj,o);
15431 }
15432 return resultobj;
15433 fail:
15434 return NULL;
15435 }
15436
15437
15438 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15439 PyObject *resultobj;
15440 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15441 wxSize result;
15442 PyObject * obj0 = 0 ;
15443 char *kwnames[] = {
15444 (char *) "self", NULL
15445 };
15446
15447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15450 {
15451 PyThreadState* __tstate = wxPyBeginAllowThreads();
15452 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15453
15454 wxPyEndAllowThreads(__tstate);
15455 if (PyErr_Occurred()) SWIG_fail;
15456 }
15457 {
15458 wxSize * resultptr;
15459 resultptr = new wxSize((wxSize &) result);
15460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15461 }
15462 return resultobj;
15463 fail:
15464 return NULL;
15465 }
15466
15467
15468 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15469 PyObject *resultobj;
15470 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15471 wxSize result;
15472 PyObject * obj0 = 0 ;
15473 char *kwnames[] = {
15474 (char *) "self", NULL
15475 };
15476
15477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15483
15484 wxPyEndAllowThreads(__tstate);
15485 if (PyErr_Occurred()) SWIG_fail;
15486 }
15487 {
15488 wxSize * resultptr;
15489 resultptr = new wxSize((wxSize &) result);
15490 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15491 }
15492 return resultobj;
15493 fail:
15494 return NULL;
15495 }
15496
15497
15498 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15499 PyObject *resultobj;
15500 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15501 PyObject * obj0 = 0 ;
15502 char *kwnames[] = {
15503 (char *) "self", NULL
15504 };
15505
15506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15509 {
15510 PyThreadState* __tstate = wxPyBeginAllowThreads();
15511 (arg1)->base_InitDialog();
15512
15513 wxPyEndAllowThreads(__tstate);
15514 if (PyErr_Occurred()) SWIG_fail;
15515 }
15516 Py_INCREF(Py_None); resultobj = Py_None;
15517 return resultobj;
15518 fail:
15519 return NULL;
15520 }
15521
15522
15523 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15524 PyObject *resultobj;
15525 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15526 bool result;
15527 PyObject * obj0 = 0 ;
15528 char *kwnames[] = {
15529 (char *) "self", NULL
15530 };
15531
15532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15535 {
15536 PyThreadState* __tstate = wxPyBeginAllowThreads();
15537 result = (bool)(arg1)->base_TransferDataToWindow();
15538
15539 wxPyEndAllowThreads(__tstate);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 {
15543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15544 }
15545 return resultobj;
15546 fail:
15547 return NULL;
15548 }
15549
15550
15551 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15552 PyObject *resultobj;
15553 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15554 bool result;
15555 PyObject * obj0 = 0 ;
15556 char *kwnames[] = {
15557 (char *) "self", NULL
15558 };
15559
15560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15563 {
15564 PyThreadState* __tstate = wxPyBeginAllowThreads();
15565 result = (bool)(arg1)->base_TransferDataFromWindow();
15566
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
15570 {
15571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15572 }
15573 return resultobj;
15574 fail:
15575 return NULL;
15576 }
15577
15578
15579 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15580 PyObject *resultobj;
15581 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15582 bool result;
15583 PyObject * obj0 = 0 ;
15584 char *kwnames[] = {
15585 (char *) "self", NULL
15586 };
15587
15588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15591 {
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 result = (bool)(arg1)->base_Validate();
15594
15595 wxPyEndAllowThreads(__tstate);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
15598 {
15599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15600 }
15601 return resultobj;
15602 fail:
15603 return NULL;
15604 }
15605
15606
15607 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15608 PyObject *resultobj;
15609 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15610 bool result;
15611 PyObject * obj0 = 0 ;
15612 char *kwnames[] = {
15613 (char *) "self", NULL
15614 };
15615
15616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15622
15623 wxPyEndAllowThreads(__tstate);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 {
15627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15628 }
15629 return resultobj;
15630 fail:
15631 return NULL;
15632 }
15633
15634
15635 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15636 PyObject *resultobj;
15637 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15638 bool result;
15639 PyObject * obj0 = 0 ;
15640 char *kwnames[] = {
15641 (char *) "self", NULL
15642 };
15643
15644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15647 {
15648 PyThreadState* __tstate = wxPyBeginAllowThreads();
15649 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15650
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
15654 {
15655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15656 }
15657 return resultobj;
15658 fail:
15659 return NULL;
15660 }
15661
15662
15663 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15664 PyObject *resultobj;
15665 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15666 wxSize result;
15667 PyObject * obj0 = 0 ;
15668 char *kwnames[] = {
15669 (char *) "self", NULL
15670 };
15671
15672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15675 {
15676 PyThreadState* __tstate = wxPyBeginAllowThreads();
15677 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15678
15679 wxPyEndAllowThreads(__tstate);
15680 if (PyErr_Occurred()) SWIG_fail;
15681 }
15682 {
15683 wxSize * resultptr;
15684 resultptr = new wxSize((wxSize &) result);
15685 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15686 }
15687 return resultobj;
15688 fail:
15689 return NULL;
15690 }
15691
15692
15693 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15694 PyObject *resultobj;
15695 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15696 wxWindow *arg2 = (wxWindow *) 0 ;
15697 PyObject * obj0 = 0 ;
15698 PyObject * obj1 = 0 ;
15699 char *kwnames[] = {
15700 (char *) "self",(char *) "child", NULL
15701 };
15702
15703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15708 {
15709 PyThreadState* __tstate = wxPyBeginAllowThreads();
15710 (arg1)->base_AddChild(arg2);
15711
15712 wxPyEndAllowThreads(__tstate);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 }
15715 Py_INCREF(Py_None); resultobj = Py_None;
15716 return resultobj;
15717 fail:
15718 return NULL;
15719 }
15720
15721
15722 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15723 PyObject *resultobj;
15724 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15725 wxWindow *arg2 = (wxWindow *) 0 ;
15726 PyObject * obj0 = 0 ;
15727 PyObject * obj1 = 0 ;
15728 char *kwnames[] = {
15729 (char *) "self",(char *) "child", NULL
15730 };
15731
15732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15735 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15737 {
15738 PyThreadState* __tstate = wxPyBeginAllowThreads();
15739 (arg1)->base_RemoveChild(arg2);
15740
15741 wxPyEndAllowThreads(__tstate);
15742 if (PyErr_Occurred()) SWIG_fail;
15743 }
15744 Py_INCREF(Py_None); resultobj = Py_None;
15745 return resultobj;
15746 fail:
15747 return NULL;
15748 }
15749
15750
15751 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15752 PyObject *resultobj;
15753 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15754 bool result;
15755 PyObject * obj0 = 0 ;
15756 char *kwnames[] = {
15757 (char *) "self", NULL
15758 };
15759
15760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15763 {
15764 PyThreadState* __tstate = wxPyBeginAllowThreads();
15765 result = (bool)(arg1)->base_ShouldInheritColours();
15766
15767 wxPyEndAllowThreads(__tstate);
15768 if (PyErr_Occurred()) SWIG_fail;
15769 }
15770 {
15771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15772 }
15773 return resultobj;
15774 fail:
15775 return NULL;
15776 }
15777
15778
15779 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15780 PyObject *resultobj;
15781 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15782 wxColour *arg2 = 0 ;
15783 wxColour temp2 ;
15784 PyObject * obj0 = 0 ;
15785 PyObject * obj1 = 0 ;
15786 char *kwnames[] = {
15787 (char *) "self",(char *) "c", NULL
15788 };
15789
15790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15793 {
15794 arg2 = &temp2;
15795 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15796 }
15797 {
15798 PyThreadState* __tstate = wxPyBeginAllowThreads();
15799 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15800
15801 wxPyEndAllowThreads(__tstate);
15802 if (PyErr_Occurred()) SWIG_fail;
15803 }
15804 Py_INCREF(Py_None); resultobj = Py_None;
15805 return resultobj;
15806 fail:
15807 return NULL;
15808 }
15809
15810
15811 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15812 PyObject *obj;
15813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15814 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15815 Py_INCREF(obj);
15816 return Py_BuildValue((char *)"");
15817 }
15818 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15819 PyObject *resultobj;
15820 wxWindow *arg1 = (wxWindow *) 0 ;
15821 int arg2 ;
15822 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15823 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15824 wxSize const &arg4_defvalue = wxDefaultSize ;
15825 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15826 long arg5 = (long) 0 ;
15827 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15828 wxString *arg6 = (wxString *) &arg6_defvalue ;
15829 wxPyPanel *result;
15830 wxPoint temp3 ;
15831 wxSize temp4 ;
15832 bool temp6 = False ;
15833 PyObject * obj0 = 0 ;
15834 PyObject * obj1 = 0 ;
15835 PyObject * obj2 = 0 ;
15836 PyObject * obj3 = 0 ;
15837 PyObject * obj4 = 0 ;
15838 PyObject * obj5 = 0 ;
15839 char *kwnames[] = {
15840 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15841 };
15842
15843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15846 arg2 = (int const) SWIG_AsInt(obj1);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 if (obj2) {
15849 {
15850 arg3 = &temp3;
15851 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15852 }
15853 }
15854 if (obj3) {
15855 {
15856 arg4 = &temp4;
15857 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15858 }
15859 }
15860 if (obj4) {
15861 arg5 = (long) SWIG_AsLong(obj4);
15862 if (PyErr_Occurred()) SWIG_fail;
15863 }
15864 if (obj5) {
15865 {
15866 arg6 = wxString_in_helper(obj5);
15867 if (arg6 == NULL) SWIG_fail;
15868 temp6 = True;
15869 }
15870 }
15871 {
15872 PyThreadState* __tstate = wxPyBeginAllowThreads();
15873 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15874
15875 wxPyEndAllowThreads(__tstate);
15876 if (PyErr_Occurred()) SWIG_fail;
15877 }
15878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15879 {
15880 if (temp6)
15881 delete arg6;
15882 }
15883 return resultobj;
15884 fail:
15885 {
15886 if (temp6)
15887 delete arg6;
15888 }
15889 return NULL;
15890 }
15891
15892
15893 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15894 PyObject *resultobj;
15895 wxPyPanel *result;
15896 char *kwnames[] = {
15897 NULL
15898 };
15899
15900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
15901 {
15902 PyThreadState* __tstate = wxPyBeginAllowThreads();
15903 result = (wxPyPanel *)new wxPyPanel();
15904
15905 wxPyEndAllowThreads(__tstate);
15906 if (PyErr_Occurred()) SWIG_fail;
15907 }
15908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15909 return resultobj;
15910 fail:
15911 return NULL;
15912 }
15913
15914
15915 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15916 PyObject *resultobj;
15917 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15918 PyObject *arg2 = (PyObject *) 0 ;
15919 PyObject *arg3 = (PyObject *) 0 ;
15920 PyObject * obj0 = 0 ;
15921 PyObject * obj1 = 0 ;
15922 PyObject * obj2 = 0 ;
15923 char *kwnames[] = {
15924 (char *) "self",(char *) "self",(char *) "_class", NULL
15925 };
15926
15927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15930 arg2 = obj1;
15931 arg3 = obj2;
15932 {
15933 PyThreadState* __tstate = wxPyBeginAllowThreads();
15934 (arg1)->_setCallbackInfo(arg2,arg3);
15935
15936 wxPyEndAllowThreads(__tstate);
15937 if (PyErr_Occurred()) SWIG_fail;
15938 }
15939 Py_INCREF(Py_None); resultobj = Py_None;
15940 return resultobj;
15941 fail:
15942 return NULL;
15943 }
15944
15945
15946 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15947 PyObject *resultobj;
15948 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15949 int arg2 ;
15950 int arg3 ;
15951 int arg4 ;
15952 int arg5 ;
15953 PyObject * obj0 = 0 ;
15954 PyObject * obj1 = 0 ;
15955 PyObject * obj2 = 0 ;
15956 PyObject * obj3 = 0 ;
15957 PyObject * obj4 = 0 ;
15958 char *kwnames[] = {
15959 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15960 };
15961
15962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15965 arg2 = (int) SWIG_AsInt(obj1);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 arg3 = (int) SWIG_AsInt(obj2);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 arg4 = (int) SWIG_AsInt(obj3);
15970 if (PyErr_Occurred()) SWIG_fail;
15971 arg5 = (int) SWIG_AsInt(obj4);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 {
15974 PyThreadState* __tstate = wxPyBeginAllowThreads();
15975 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15976
15977 wxPyEndAllowThreads(__tstate);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 Py_INCREF(Py_None); resultobj = Py_None;
15981 return resultobj;
15982 fail:
15983 return NULL;
15984 }
15985
15986
15987 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15988 PyObject *resultobj;
15989 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15990 int arg2 ;
15991 int arg3 ;
15992 int arg4 ;
15993 int arg5 ;
15994 int arg6 = (int) wxSIZE_AUTO ;
15995 PyObject * obj0 = 0 ;
15996 PyObject * obj1 = 0 ;
15997 PyObject * obj2 = 0 ;
15998 PyObject * obj3 = 0 ;
15999 PyObject * obj4 = 0 ;
16000 PyObject * obj5 = 0 ;
16001 char *kwnames[] = {
16002 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16003 };
16004
16005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16008 arg2 = (int) SWIG_AsInt(obj1);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 arg3 = (int) SWIG_AsInt(obj2);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 arg4 = (int) SWIG_AsInt(obj3);
16013 if (PyErr_Occurred()) SWIG_fail;
16014 arg5 = (int) SWIG_AsInt(obj4);
16015 if (PyErr_Occurred()) SWIG_fail;
16016 if (obj5) {
16017 arg6 = (int) SWIG_AsInt(obj5);
16018 if (PyErr_Occurred()) SWIG_fail;
16019 }
16020 {
16021 PyThreadState* __tstate = wxPyBeginAllowThreads();
16022 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16023
16024 wxPyEndAllowThreads(__tstate);
16025 if (PyErr_Occurred()) SWIG_fail;
16026 }
16027 Py_INCREF(Py_None); resultobj = Py_None;
16028 return resultobj;
16029 fail:
16030 return NULL;
16031 }
16032
16033
16034 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16035 PyObject *resultobj;
16036 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16037 int arg2 ;
16038 int arg3 ;
16039 PyObject * obj0 = 0 ;
16040 PyObject * obj1 = 0 ;
16041 PyObject * obj2 = 0 ;
16042 char *kwnames[] = {
16043 (char *) "self",(char *) "width",(char *) "height", NULL
16044 };
16045
16046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16049 arg2 = (int) SWIG_AsInt(obj1);
16050 if (PyErr_Occurred()) SWIG_fail;
16051 arg3 = (int) SWIG_AsInt(obj2);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 {
16054 PyThreadState* __tstate = wxPyBeginAllowThreads();
16055 (arg1)->base_DoSetClientSize(arg2,arg3);
16056
16057 wxPyEndAllowThreads(__tstate);
16058 if (PyErr_Occurred()) SWIG_fail;
16059 }
16060 Py_INCREF(Py_None); resultobj = Py_None;
16061 return resultobj;
16062 fail:
16063 return NULL;
16064 }
16065
16066
16067 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16068 PyObject *resultobj;
16069 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16070 int arg2 ;
16071 int arg3 ;
16072 PyObject * obj0 = 0 ;
16073 PyObject * obj1 = 0 ;
16074 PyObject * obj2 = 0 ;
16075 char *kwnames[] = {
16076 (char *) "self",(char *) "x",(char *) "y", NULL
16077 };
16078
16079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16082 arg2 = (int) SWIG_AsInt(obj1);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 arg3 = (int) SWIG_AsInt(obj2);
16085 if (PyErr_Occurred()) SWIG_fail;
16086 {
16087 PyThreadState* __tstate = wxPyBeginAllowThreads();
16088 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16089
16090 wxPyEndAllowThreads(__tstate);
16091 if (PyErr_Occurred()) SWIG_fail;
16092 }
16093 Py_INCREF(Py_None); resultobj = Py_None;
16094 return resultobj;
16095 fail:
16096 return NULL;
16097 }
16098
16099
16100 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16101 PyObject *resultobj;
16102 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16103 int *arg2 = (int *) 0 ;
16104 int *arg3 = (int *) 0 ;
16105 int temp2 ;
16106 int temp3 ;
16107 PyObject * obj0 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self", NULL
16110 };
16111
16112 arg2 = &temp2;
16113 arg3 = &temp3;
16114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16117 {
16118 PyThreadState* __tstate = wxPyBeginAllowThreads();
16119 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16120
16121 wxPyEndAllowThreads(__tstate);
16122 if (PyErr_Occurred()) SWIG_fail;
16123 }
16124 Py_INCREF(Py_None); resultobj = Py_None;
16125 {
16126 PyObject *o = PyInt_FromLong((long) (*arg2));
16127 resultobj = t_output_helper(resultobj,o);
16128 }
16129 {
16130 PyObject *o = PyInt_FromLong((long) (*arg3));
16131 resultobj = t_output_helper(resultobj,o);
16132 }
16133 return resultobj;
16134 fail:
16135 return NULL;
16136 }
16137
16138
16139 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
16141 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16142 int *arg2 = (int *) 0 ;
16143 int *arg3 = (int *) 0 ;
16144 int temp2 ;
16145 int temp3 ;
16146 PyObject * obj0 = 0 ;
16147 char *kwnames[] = {
16148 (char *) "self", NULL
16149 };
16150
16151 arg2 = &temp2;
16152 arg3 = &temp3;
16153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 Py_INCREF(Py_None); resultobj = Py_None;
16164 {
16165 PyObject *o = PyInt_FromLong((long) (*arg2));
16166 resultobj = t_output_helper(resultobj,o);
16167 }
16168 {
16169 PyObject *o = PyInt_FromLong((long) (*arg3));
16170 resultobj = t_output_helper(resultobj,o);
16171 }
16172 return resultobj;
16173 fail:
16174 return NULL;
16175 }
16176
16177
16178 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16179 PyObject *resultobj;
16180 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16181 int *arg2 = (int *) 0 ;
16182 int *arg3 = (int *) 0 ;
16183 int temp2 ;
16184 int temp3 ;
16185 PyObject * obj0 = 0 ;
16186 char *kwnames[] = {
16187 (char *) "self", NULL
16188 };
16189
16190 arg2 = &temp2;
16191 arg3 = &temp3;
16192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16198
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 Py_INCREF(Py_None); resultobj = Py_None;
16203 {
16204 PyObject *o = PyInt_FromLong((long) (*arg2));
16205 resultobj = t_output_helper(resultobj,o);
16206 }
16207 {
16208 PyObject *o = PyInt_FromLong((long) (*arg3));
16209 resultobj = t_output_helper(resultobj,o);
16210 }
16211 return resultobj;
16212 fail:
16213 return NULL;
16214 }
16215
16216
16217 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16218 PyObject *resultobj;
16219 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16220 wxSize result;
16221 PyObject * obj0 = 0 ;
16222 char *kwnames[] = {
16223 (char *) "self", NULL
16224 };
16225
16226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16229 {
16230 PyThreadState* __tstate = wxPyBeginAllowThreads();
16231 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16232
16233 wxPyEndAllowThreads(__tstate);
16234 if (PyErr_Occurred()) SWIG_fail;
16235 }
16236 {
16237 wxSize * resultptr;
16238 resultptr = new wxSize((wxSize &) result);
16239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16240 }
16241 return resultobj;
16242 fail:
16243 return NULL;
16244 }
16245
16246
16247 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16248 PyObject *resultobj;
16249 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16250 wxSize result;
16251 PyObject * obj0 = 0 ;
16252 char *kwnames[] = {
16253 (char *) "self", NULL
16254 };
16255
16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16259 {
16260 PyThreadState* __tstate = wxPyBeginAllowThreads();
16261 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16262
16263 wxPyEndAllowThreads(__tstate);
16264 if (PyErr_Occurred()) SWIG_fail;
16265 }
16266 {
16267 wxSize * resultptr;
16268 resultptr = new wxSize((wxSize &) result);
16269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16270 }
16271 return resultobj;
16272 fail:
16273 return NULL;
16274 }
16275
16276
16277 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16278 PyObject *resultobj;
16279 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16280 PyObject * obj0 = 0 ;
16281 char *kwnames[] = {
16282 (char *) "self", NULL
16283 };
16284
16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16288 {
16289 PyThreadState* __tstate = wxPyBeginAllowThreads();
16290 (arg1)->base_InitDialog();
16291
16292 wxPyEndAllowThreads(__tstate);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 }
16295 Py_INCREF(Py_None); resultobj = Py_None;
16296 return resultobj;
16297 fail:
16298 return NULL;
16299 }
16300
16301
16302 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16303 PyObject *resultobj;
16304 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16305 bool result;
16306 PyObject * obj0 = 0 ;
16307 char *kwnames[] = {
16308 (char *) "self", NULL
16309 };
16310
16311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 result = (bool)(arg1)->base_TransferDataToWindow();
16317
16318 wxPyEndAllowThreads(__tstate);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 }
16321 {
16322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16323 }
16324 return resultobj;
16325 fail:
16326 return NULL;
16327 }
16328
16329
16330 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16331 PyObject *resultobj;
16332 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16333 bool result;
16334 PyObject * obj0 = 0 ;
16335 char *kwnames[] = {
16336 (char *) "self", NULL
16337 };
16338
16339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16342 {
16343 PyThreadState* __tstate = wxPyBeginAllowThreads();
16344 result = (bool)(arg1)->base_TransferDataFromWindow();
16345
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 {
16350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16351 }
16352 return resultobj;
16353 fail:
16354 return NULL;
16355 }
16356
16357
16358 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16359 PyObject *resultobj;
16360 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16361 bool result;
16362 PyObject * obj0 = 0 ;
16363 char *kwnames[] = {
16364 (char *) "self", NULL
16365 };
16366
16367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16370 {
16371 PyThreadState* __tstate = wxPyBeginAllowThreads();
16372 result = (bool)(arg1)->base_Validate();
16373
16374 wxPyEndAllowThreads(__tstate);
16375 if (PyErr_Occurred()) SWIG_fail;
16376 }
16377 {
16378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16379 }
16380 return resultobj;
16381 fail:
16382 return NULL;
16383 }
16384
16385
16386 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj;
16388 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16389 bool result;
16390 PyObject * obj0 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self", NULL
16393 };
16394
16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16398 {
16399 PyThreadState* __tstate = wxPyBeginAllowThreads();
16400 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16401
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 {
16406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16407 }
16408 return resultobj;
16409 fail:
16410 return NULL;
16411 }
16412
16413
16414 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16415 PyObject *resultobj;
16416 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16417 bool result;
16418 PyObject * obj0 = 0 ;
16419 char *kwnames[] = {
16420 (char *) "self", NULL
16421 };
16422
16423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16426 {
16427 PyThreadState* __tstate = wxPyBeginAllowThreads();
16428 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16429
16430 wxPyEndAllowThreads(__tstate);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
16433 {
16434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16435 }
16436 return resultobj;
16437 fail:
16438 return NULL;
16439 }
16440
16441
16442 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16443 PyObject *resultobj;
16444 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16445 wxSize result;
16446 PyObject * obj0 = 0 ;
16447 char *kwnames[] = {
16448 (char *) "self", NULL
16449 };
16450
16451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 {
16462 wxSize * resultptr;
16463 resultptr = new wxSize((wxSize &) result);
16464 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16465 }
16466 return resultobj;
16467 fail:
16468 return NULL;
16469 }
16470
16471
16472 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16473 PyObject *resultobj;
16474 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16475 wxWindow *arg2 = (wxWindow *) 0 ;
16476 PyObject * obj0 = 0 ;
16477 PyObject * obj1 = 0 ;
16478 char *kwnames[] = {
16479 (char *) "self",(char *) "child", NULL
16480 };
16481
16482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16485 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 (arg1)->base_AddChild(arg2);
16490
16491 wxPyEndAllowThreads(__tstate);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 }
16494 Py_INCREF(Py_None); resultobj = Py_None;
16495 return resultobj;
16496 fail:
16497 return NULL;
16498 }
16499
16500
16501 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16502 PyObject *resultobj;
16503 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16504 wxWindow *arg2 = (wxWindow *) 0 ;
16505 PyObject * obj0 = 0 ;
16506 PyObject * obj1 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self",(char *) "child", NULL
16509 };
16510
16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16516 {
16517 PyThreadState* __tstate = wxPyBeginAllowThreads();
16518 (arg1)->base_RemoveChild(arg2);
16519
16520 wxPyEndAllowThreads(__tstate);
16521 if (PyErr_Occurred()) SWIG_fail;
16522 }
16523 Py_INCREF(Py_None); resultobj = Py_None;
16524 return resultobj;
16525 fail:
16526 return NULL;
16527 }
16528
16529
16530 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16531 PyObject *resultobj;
16532 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16533 bool result;
16534 PyObject * obj0 = 0 ;
16535 char *kwnames[] = {
16536 (char *) "self", NULL
16537 };
16538
16539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16542 {
16543 PyThreadState* __tstate = wxPyBeginAllowThreads();
16544 result = (bool)(arg1)->base_ShouldInheritColours();
16545
16546 wxPyEndAllowThreads(__tstate);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 {
16550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16551 }
16552 return resultobj;
16553 fail:
16554 return NULL;
16555 }
16556
16557
16558 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16559 PyObject *resultobj;
16560 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16561 wxColour *arg2 = 0 ;
16562 wxColour temp2 ;
16563 PyObject * obj0 = 0 ;
16564 PyObject * obj1 = 0 ;
16565 char *kwnames[] = {
16566 (char *) "self",(char *) "c", NULL
16567 };
16568
16569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16572 {
16573 arg2 = &temp2;
16574 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16575 }
16576 {
16577 PyThreadState* __tstate = wxPyBeginAllowThreads();
16578 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16579
16580 wxPyEndAllowThreads(__tstate);
16581 if (PyErr_Occurred()) SWIG_fail;
16582 }
16583 Py_INCREF(Py_None); resultobj = Py_None;
16584 return resultobj;
16585 fail:
16586 return NULL;
16587 }
16588
16589
16590 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16591 PyObject *obj;
16592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16593 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16594 Py_INCREF(obj);
16595 return Py_BuildValue((char *)"");
16596 }
16597 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16598 PyObject *resultobj;
16599 wxWindow *arg1 = (wxWindow *) 0 ;
16600 int arg2 ;
16601 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16602 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16603 wxSize const &arg4_defvalue = wxDefaultSize ;
16604 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16605 long arg5 = (long) 0 ;
16606 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16607 wxString *arg6 = (wxString *) &arg6_defvalue ;
16608 wxPyScrolledWindow *result;
16609 wxPoint temp3 ;
16610 wxSize temp4 ;
16611 bool temp6 = False ;
16612 PyObject * obj0 = 0 ;
16613 PyObject * obj1 = 0 ;
16614 PyObject * obj2 = 0 ;
16615 PyObject * obj3 = 0 ;
16616 PyObject * obj4 = 0 ;
16617 PyObject * obj5 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16620 };
16621
16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16625 arg2 = (int const) SWIG_AsInt(obj1);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 if (obj2) {
16628 {
16629 arg3 = &temp3;
16630 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16631 }
16632 }
16633 if (obj3) {
16634 {
16635 arg4 = &temp4;
16636 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16637 }
16638 }
16639 if (obj4) {
16640 arg5 = (long) SWIG_AsLong(obj4);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 if (obj5) {
16644 {
16645 arg6 = wxString_in_helper(obj5);
16646 if (arg6 == NULL) SWIG_fail;
16647 temp6 = True;
16648 }
16649 }
16650 {
16651 PyThreadState* __tstate = wxPyBeginAllowThreads();
16652 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16653
16654 wxPyEndAllowThreads(__tstate);
16655 if (PyErr_Occurred()) SWIG_fail;
16656 }
16657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16658 {
16659 if (temp6)
16660 delete arg6;
16661 }
16662 return resultobj;
16663 fail:
16664 {
16665 if (temp6)
16666 delete arg6;
16667 }
16668 return NULL;
16669 }
16670
16671
16672 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16673 PyObject *resultobj;
16674 wxPyScrolledWindow *result;
16675 char *kwnames[] = {
16676 NULL
16677 };
16678
16679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16680 {
16681 PyThreadState* __tstate = wxPyBeginAllowThreads();
16682 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16683
16684 wxPyEndAllowThreads(__tstate);
16685 if (PyErr_Occurred()) SWIG_fail;
16686 }
16687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16688 return resultobj;
16689 fail:
16690 return NULL;
16691 }
16692
16693
16694 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16695 PyObject *resultobj;
16696 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16697 PyObject *arg2 = (PyObject *) 0 ;
16698 PyObject *arg3 = (PyObject *) 0 ;
16699 PyObject * obj0 = 0 ;
16700 PyObject * obj1 = 0 ;
16701 PyObject * obj2 = 0 ;
16702 char *kwnames[] = {
16703 (char *) "self",(char *) "self",(char *) "_class", NULL
16704 };
16705
16706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16709 arg2 = obj1;
16710 arg3 = obj2;
16711 {
16712 PyThreadState* __tstate = wxPyBeginAllowThreads();
16713 (arg1)->_setCallbackInfo(arg2,arg3);
16714
16715 wxPyEndAllowThreads(__tstate);
16716 if (PyErr_Occurred()) SWIG_fail;
16717 }
16718 Py_INCREF(Py_None); resultobj = Py_None;
16719 return resultobj;
16720 fail:
16721 return NULL;
16722 }
16723
16724
16725 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16726 PyObject *resultobj;
16727 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16728 int arg2 ;
16729 int arg3 ;
16730 int arg4 ;
16731 int arg5 ;
16732 PyObject * obj0 = 0 ;
16733 PyObject * obj1 = 0 ;
16734 PyObject * obj2 = 0 ;
16735 PyObject * obj3 = 0 ;
16736 PyObject * obj4 = 0 ;
16737 char *kwnames[] = {
16738 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16739 };
16740
16741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16744 arg2 = (int) SWIG_AsInt(obj1);
16745 if (PyErr_Occurred()) SWIG_fail;
16746 arg3 = (int) SWIG_AsInt(obj2);
16747 if (PyErr_Occurred()) SWIG_fail;
16748 arg4 = (int) SWIG_AsInt(obj3);
16749 if (PyErr_Occurred()) SWIG_fail;
16750 arg5 = (int) SWIG_AsInt(obj4);
16751 if (PyErr_Occurred()) SWIG_fail;
16752 {
16753 PyThreadState* __tstate = wxPyBeginAllowThreads();
16754 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16755
16756 wxPyEndAllowThreads(__tstate);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 }
16759 Py_INCREF(Py_None); resultobj = Py_None;
16760 return resultobj;
16761 fail:
16762 return NULL;
16763 }
16764
16765
16766 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16767 PyObject *resultobj;
16768 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16769 int arg2 ;
16770 int arg3 ;
16771 int arg4 ;
16772 int arg5 ;
16773 int arg6 = (int) wxSIZE_AUTO ;
16774 PyObject * obj0 = 0 ;
16775 PyObject * obj1 = 0 ;
16776 PyObject * obj2 = 0 ;
16777 PyObject * obj3 = 0 ;
16778 PyObject * obj4 = 0 ;
16779 PyObject * obj5 = 0 ;
16780 char *kwnames[] = {
16781 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16782 };
16783
16784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16787 arg2 = (int) SWIG_AsInt(obj1);
16788 if (PyErr_Occurred()) SWIG_fail;
16789 arg3 = (int) SWIG_AsInt(obj2);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 arg4 = (int) SWIG_AsInt(obj3);
16792 if (PyErr_Occurred()) SWIG_fail;
16793 arg5 = (int) SWIG_AsInt(obj4);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 if (obj5) {
16796 arg6 = (int) SWIG_AsInt(obj5);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 {
16800 PyThreadState* __tstate = wxPyBeginAllowThreads();
16801 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16802
16803 wxPyEndAllowThreads(__tstate);
16804 if (PyErr_Occurred()) SWIG_fail;
16805 }
16806 Py_INCREF(Py_None); resultobj = Py_None;
16807 return resultobj;
16808 fail:
16809 return NULL;
16810 }
16811
16812
16813 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16814 PyObject *resultobj;
16815 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16816 int arg2 ;
16817 int arg3 ;
16818 PyObject * obj0 = 0 ;
16819 PyObject * obj1 = 0 ;
16820 PyObject * obj2 = 0 ;
16821 char *kwnames[] = {
16822 (char *) "self",(char *) "width",(char *) "height", NULL
16823 };
16824
16825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16828 arg2 = (int) SWIG_AsInt(obj1);
16829 if (PyErr_Occurred()) SWIG_fail;
16830 arg3 = (int) SWIG_AsInt(obj2);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 (arg1)->base_DoSetClientSize(arg2,arg3);
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 Py_INCREF(Py_None); resultobj = Py_None;
16840 return resultobj;
16841 fail:
16842 return NULL;
16843 }
16844
16845
16846 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj;
16848 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16849 int arg2 ;
16850 int arg3 ;
16851 PyObject * obj0 = 0 ;
16852 PyObject * obj1 = 0 ;
16853 PyObject * obj2 = 0 ;
16854 char *kwnames[] = {
16855 (char *) "self",(char *) "x",(char *) "y", NULL
16856 };
16857
16858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16861 arg2 = (int) SWIG_AsInt(obj1);
16862 if (PyErr_Occurred()) SWIG_fail;
16863 arg3 = (int) SWIG_AsInt(obj2);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 {
16866 PyThreadState* __tstate = wxPyBeginAllowThreads();
16867 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16868
16869 wxPyEndAllowThreads(__tstate);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 }
16872 Py_INCREF(Py_None); resultobj = Py_None;
16873 return resultobj;
16874 fail:
16875 return NULL;
16876 }
16877
16878
16879 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16880 PyObject *resultobj;
16881 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16882 int *arg2 = (int *) 0 ;
16883 int *arg3 = (int *) 0 ;
16884 int temp2 ;
16885 int temp3 ;
16886 PyObject * obj0 = 0 ;
16887 char *kwnames[] = {
16888 (char *) "self", NULL
16889 };
16890
16891 arg2 = &temp2;
16892 arg3 = &temp3;
16893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16899
16900 wxPyEndAllowThreads(__tstate);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 Py_INCREF(Py_None); resultobj = Py_None;
16904 {
16905 PyObject *o = PyInt_FromLong((long) (*arg2));
16906 resultobj = t_output_helper(resultobj,o);
16907 }
16908 {
16909 PyObject *o = PyInt_FromLong((long) (*arg3));
16910 resultobj = t_output_helper(resultobj,o);
16911 }
16912 return resultobj;
16913 fail:
16914 return NULL;
16915 }
16916
16917
16918 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16919 PyObject *resultobj;
16920 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16921 int *arg2 = (int *) 0 ;
16922 int *arg3 = (int *) 0 ;
16923 int temp2 ;
16924 int temp3 ;
16925 PyObject * obj0 = 0 ;
16926 char *kwnames[] = {
16927 (char *) "self", NULL
16928 };
16929
16930 arg2 = &temp2;
16931 arg3 = &temp3;
16932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16935 {
16936 PyThreadState* __tstate = wxPyBeginAllowThreads();
16937 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16938
16939 wxPyEndAllowThreads(__tstate);
16940 if (PyErr_Occurred()) SWIG_fail;
16941 }
16942 Py_INCREF(Py_None); resultobj = Py_None;
16943 {
16944 PyObject *o = PyInt_FromLong((long) (*arg2));
16945 resultobj = t_output_helper(resultobj,o);
16946 }
16947 {
16948 PyObject *o = PyInt_FromLong((long) (*arg3));
16949 resultobj = t_output_helper(resultobj,o);
16950 }
16951 return resultobj;
16952 fail:
16953 return NULL;
16954 }
16955
16956
16957 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16958 PyObject *resultobj;
16959 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16960 int *arg2 = (int *) 0 ;
16961 int *arg3 = (int *) 0 ;
16962 int temp2 ;
16963 int temp3 ;
16964 PyObject * obj0 = 0 ;
16965 char *kwnames[] = {
16966 (char *) "self", NULL
16967 };
16968
16969 arg2 = &temp2;
16970 arg3 = &temp3;
16971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16974 {
16975 PyThreadState* __tstate = wxPyBeginAllowThreads();
16976 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16977
16978 wxPyEndAllowThreads(__tstate);
16979 if (PyErr_Occurred()) SWIG_fail;
16980 }
16981 Py_INCREF(Py_None); resultobj = Py_None;
16982 {
16983 PyObject *o = PyInt_FromLong((long) (*arg2));
16984 resultobj = t_output_helper(resultobj,o);
16985 }
16986 {
16987 PyObject *o = PyInt_FromLong((long) (*arg3));
16988 resultobj = t_output_helper(resultobj,o);
16989 }
16990 return resultobj;
16991 fail:
16992 return NULL;
16993 }
16994
16995
16996 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16997 PyObject *resultobj;
16998 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16999 wxSize result;
17000 PyObject * obj0 = 0 ;
17001 char *kwnames[] = {
17002 (char *) "self", NULL
17003 };
17004
17005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 {
17016 wxSize * resultptr;
17017 resultptr = new wxSize((wxSize &) result);
17018 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17019 }
17020 return resultobj;
17021 fail:
17022 return NULL;
17023 }
17024
17025
17026 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17027 PyObject *resultobj;
17028 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17029 wxSize result;
17030 PyObject * obj0 = 0 ;
17031 char *kwnames[] = {
17032 (char *) "self", NULL
17033 };
17034
17035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17038 {
17039 PyThreadState* __tstate = wxPyBeginAllowThreads();
17040 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17041
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 {
17046 wxSize * resultptr;
17047 resultptr = new wxSize((wxSize &) result);
17048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17049 }
17050 return resultobj;
17051 fail:
17052 return NULL;
17053 }
17054
17055
17056 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17057 PyObject *resultobj;
17058 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17059 PyObject * obj0 = 0 ;
17060 char *kwnames[] = {
17061 (char *) "self", NULL
17062 };
17063
17064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17067 {
17068 PyThreadState* __tstate = wxPyBeginAllowThreads();
17069 (arg1)->base_InitDialog();
17070
17071 wxPyEndAllowThreads(__tstate);
17072 if (PyErr_Occurred()) SWIG_fail;
17073 }
17074 Py_INCREF(Py_None); resultobj = Py_None;
17075 return resultobj;
17076 fail:
17077 return NULL;
17078 }
17079
17080
17081 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17082 PyObject *resultobj;
17083 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17084 bool result;
17085 PyObject * obj0 = 0 ;
17086 char *kwnames[] = {
17087 (char *) "self", NULL
17088 };
17089
17090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 result = (bool)(arg1)->base_TransferDataToWindow();
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 {
17101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17102 }
17103 return resultobj;
17104 fail:
17105 return NULL;
17106 }
17107
17108
17109 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17110 PyObject *resultobj;
17111 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17112 bool result;
17113 PyObject * obj0 = 0 ;
17114 char *kwnames[] = {
17115 (char *) "self", NULL
17116 };
17117
17118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (bool)(arg1)->base_TransferDataFromWindow();
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 {
17129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17130 }
17131 return resultobj;
17132 fail:
17133 return NULL;
17134 }
17135
17136
17137 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17138 PyObject *resultobj;
17139 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17140 bool result;
17141 PyObject * obj0 = 0 ;
17142 char *kwnames[] = {
17143 (char *) "self", NULL
17144 };
17145
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17149 {
17150 PyThreadState* __tstate = wxPyBeginAllowThreads();
17151 result = (bool)(arg1)->base_Validate();
17152
17153 wxPyEndAllowThreads(__tstate);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 {
17157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17158 }
17159 return resultobj;
17160 fail:
17161 return NULL;
17162 }
17163
17164
17165 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17166 PyObject *resultobj;
17167 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17168 bool result;
17169 PyObject * obj0 = 0 ;
17170 char *kwnames[] = {
17171 (char *) "self", NULL
17172 };
17173
17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17177 {
17178 PyThreadState* __tstate = wxPyBeginAllowThreads();
17179 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17180
17181 wxPyEndAllowThreads(__tstate);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 {
17185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17186 }
17187 return resultobj;
17188 fail:
17189 return NULL;
17190 }
17191
17192
17193 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17194 PyObject *resultobj;
17195 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17196 bool result;
17197 PyObject * obj0 = 0 ;
17198 char *kwnames[] = {
17199 (char *) "self", NULL
17200 };
17201
17202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17205 {
17206 PyThreadState* __tstate = wxPyBeginAllowThreads();
17207 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17208
17209 wxPyEndAllowThreads(__tstate);
17210 if (PyErr_Occurred()) SWIG_fail;
17211 }
17212 {
17213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17214 }
17215 return resultobj;
17216 fail:
17217 return NULL;
17218 }
17219
17220
17221 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17222 PyObject *resultobj;
17223 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17224 wxSize result;
17225 PyObject * obj0 = 0 ;
17226 char *kwnames[] = {
17227 (char *) "self", NULL
17228 };
17229
17230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17233 {
17234 PyThreadState* __tstate = wxPyBeginAllowThreads();
17235 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17236
17237 wxPyEndAllowThreads(__tstate);
17238 if (PyErr_Occurred()) SWIG_fail;
17239 }
17240 {
17241 wxSize * resultptr;
17242 resultptr = new wxSize((wxSize &) result);
17243 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17244 }
17245 return resultobj;
17246 fail:
17247 return NULL;
17248 }
17249
17250
17251 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj;
17253 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17254 wxWindow *arg2 = (wxWindow *) 0 ;
17255 PyObject * obj0 = 0 ;
17256 PyObject * obj1 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self",(char *) "child", NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 (arg1)->base_AddChild(arg2);
17269
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
17273 Py_INCREF(Py_None); resultobj = Py_None;
17274 return resultobj;
17275 fail:
17276 return NULL;
17277 }
17278
17279
17280 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj;
17282 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17283 wxWindow *arg2 = (wxWindow *) 0 ;
17284 PyObject * obj0 = 0 ;
17285 PyObject * obj1 = 0 ;
17286 char *kwnames[] = {
17287 (char *) "self",(char *) "child", NULL
17288 };
17289
17290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17293 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17295 {
17296 PyThreadState* __tstate = wxPyBeginAllowThreads();
17297 (arg1)->base_RemoveChild(arg2);
17298
17299 wxPyEndAllowThreads(__tstate);
17300 if (PyErr_Occurred()) SWIG_fail;
17301 }
17302 Py_INCREF(Py_None); resultobj = Py_None;
17303 return resultobj;
17304 fail:
17305 return NULL;
17306 }
17307
17308
17309 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17310 PyObject *resultobj;
17311 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17312 bool result;
17313 PyObject * obj0 = 0 ;
17314 char *kwnames[] = {
17315 (char *) "self", NULL
17316 };
17317
17318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17321 {
17322 PyThreadState* __tstate = wxPyBeginAllowThreads();
17323 result = (bool)(arg1)->base_ShouldInheritColours();
17324
17325 wxPyEndAllowThreads(__tstate);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 }
17328 {
17329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17330 }
17331 return resultobj;
17332 fail:
17333 return NULL;
17334 }
17335
17336
17337 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17338 PyObject *resultobj;
17339 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17340 wxColour *arg2 = 0 ;
17341 wxColour temp2 ;
17342 PyObject * obj0 = 0 ;
17343 PyObject * obj1 = 0 ;
17344 char *kwnames[] = {
17345 (char *) "self",(char *) "c", NULL
17346 };
17347
17348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17351 {
17352 arg2 = &temp2;
17353 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17354 }
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17358
17359 wxPyEndAllowThreads(__tstate);
17360 if (PyErr_Occurred()) SWIG_fail;
17361 }
17362 Py_INCREF(Py_None); resultobj = Py_None;
17363 return resultobj;
17364 fail:
17365 return NULL;
17366 }
17367
17368
17369 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17370 PyObject *obj;
17371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17372 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17373 Py_INCREF(obj);
17374 return Py_BuildValue((char *)"");
17375 }
17376 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17377 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17378 return 1;
17379 }
17380
17381
17382 static PyObject *_wrap_PrintoutTitleStr_get() {
17383 PyObject *pyobj;
17384
17385 {
17386 #if wxUSE_UNICODE
17387 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17388 #else
17389 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17390 #endif
17391 }
17392 return pyobj;
17393 }
17394
17395
17396 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17397 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17398 return 1;
17399 }
17400
17401
17402 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17403 PyObject *pyobj;
17404
17405 {
17406 #if wxUSE_UNICODE
17407 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17408 #else
17409 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17410 #endif
17411 }
17412 return pyobj;
17413 }
17414
17415
17416 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17417 PyObject *resultobj;
17418 wxPrintData *result;
17419 char *kwnames[] = {
17420 NULL
17421 };
17422
17423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17424 {
17425 PyThreadState* __tstate = wxPyBeginAllowThreads();
17426 result = (wxPrintData *)new wxPrintData();
17427
17428 wxPyEndAllowThreads(__tstate);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
17431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17432 return resultobj;
17433 fail:
17434 return NULL;
17435 }
17436
17437
17438 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17439 PyObject *resultobj;
17440 wxPrintData *arg1 = (wxPrintData *) 0 ;
17441 PyObject * obj0 = 0 ;
17442 char *kwnames[] = {
17443 (char *) "self", NULL
17444 };
17445
17446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17449 {
17450 PyThreadState* __tstate = wxPyBeginAllowThreads();
17451 delete arg1;
17452
17453 wxPyEndAllowThreads(__tstate);
17454 if (PyErr_Occurred()) SWIG_fail;
17455 }
17456 Py_INCREF(Py_None); resultobj = Py_None;
17457 return resultobj;
17458 fail:
17459 return NULL;
17460 }
17461
17462
17463 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17464 PyObject *resultobj;
17465 wxPrintData *arg1 = (wxPrintData *) 0 ;
17466 int result;
17467 PyObject * obj0 = 0 ;
17468 char *kwnames[] = {
17469 (char *) "self", NULL
17470 };
17471
17472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17475 {
17476 PyThreadState* __tstate = wxPyBeginAllowThreads();
17477 result = (int)(arg1)->GetNoCopies();
17478
17479 wxPyEndAllowThreads(__tstate);
17480 if (PyErr_Occurred()) SWIG_fail;
17481 }
17482 resultobj = SWIG_FromInt((int)result);
17483 return resultobj;
17484 fail:
17485 return NULL;
17486 }
17487
17488
17489 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17490 PyObject *resultobj;
17491 wxPrintData *arg1 = (wxPrintData *) 0 ;
17492 bool result;
17493 PyObject * obj0 = 0 ;
17494 char *kwnames[] = {
17495 (char *) "self", NULL
17496 };
17497
17498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17501 {
17502 PyThreadState* __tstate = wxPyBeginAllowThreads();
17503 result = (bool)(arg1)->GetCollate();
17504
17505 wxPyEndAllowThreads(__tstate);
17506 if (PyErr_Occurred()) SWIG_fail;
17507 }
17508 {
17509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17510 }
17511 return resultobj;
17512 fail:
17513 return NULL;
17514 }
17515
17516
17517 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17518 PyObject *resultobj;
17519 wxPrintData *arg1 = (wxPrintData *) 0 ;
17520 int result;
17521 PyObject * obj0 = 0 ;
17522 char *kwnames[] = {
17523 (char *) "self", NULL
17524 };
17525
17526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17529 {
17530 PyThreadState* __tstate = wxPyBeginAllowThreads();
17531 result = (int)(arg1)->GetOrientation();
17532
17533 wxPyEndAllowThreads(__tstate);
17534 if (PyErr_Occurred()) SWIG_fail;
17535 }
17536 resultobj = SWIG_FromInt((int)result);
17537 return resultobj;
17538 fail:
17539 return NULL;
17540 }
17541
17542
17543 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17544 PyObject *resultobj;
17545 wxPrintData *arg1 = (wxPrintData *) 0 ;
17546 bool result;
17547 PyObject * obj0 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "self", NULL
17550 };
17551
17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17555 {
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (bool)(arg1)->Ok();
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 {
17563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17564 }
17565 return resultobj;
17566 fail:
17567 return NULL;
17568 }
17569
17570
17571 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17572 PyObject *resultobj;
17573 wxPrintData *arg1 = (wxPrintData *) 0 ;
17574 wxString *result;
17575 PyObject * obj0 = 0 ;
17576 char *kwnames[] = {
17577 (char *) "self", NULL
17578 };
17579
17580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17583 {
17584 PyThreadState* __tstate = wxPyBeginAllowThreads();
17585 {
17586 wxString const &_result_ref = (arg1)->GetPrinterName();
17587 result = (wxString *) &_result_ref;
17588 }
17589
17590 wxPyEndAllowThreads(__tstate);
17591 if (PyErr_Occurred()) SWIG_fail;
17592 }
17593 {
17594 #if wxUSE_UNICODE
17595 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17596 #else
17597 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17598 #endif
17599 }
17600 return resultobj;
17601 fail:
17602 return NULL;
17603 }
17604
17605
17606 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17607 PyObject *resultobj;
17608 wxPrintData *arg1 = (wxPrintData *) 0 ;
17609 bool result;
17610 PyObject * obj0 = 0 ;
17611 char *kwnames[] = {
17612 (char *) "self", NULL
17613 };
17614
17615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 result = (bool)(arg1)->GetColour();
17621
17622 wxPyEndAllowThreads(__tstate);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 }
17625 {
17626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17627 }
17628 return resultobj;
17629 fail:
17630 return NULL;
17631 }
17632
17633
17634 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17635 PyObject *resultobj;
17636 wxPrintData *arg1 = (wxPrintData *) 0 ;
17637 int result;
17638 PyObject * obj0 = 0 ;
17639 char *kwnames[] = {
17640 (char *) "self", NULL
17641 };
17642
17643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17646 {
17647 PyThreadState* __tstate = wxPyBeginAllowThreads();
17648 result = (int)(arg1)->GetDuplex();
17649
17650 wxPyEndAllowThreads(__tstate);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 }
17653 resultobj = SWIG_FromInt((int)result);
17654 return resultobj;
17655 fail:
17656 return NULL;
17657 }
17658
17659
17660 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17661 PyObject *resultobj;
17662 wxPrintData *arg1 = (wxPrintData *) 0 ;
17663 int result;
17664 PyObject * obj0 = 0 ;
17665 char *kwnames[] = {
17666 (char *) "self", NULL
17667 };
17668
17669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 result = (int)(arg1)->GetPaperId();
17675
17676 wxPyEndAllowThreads(__tstate);
17677 if (PyErr_Occurred()) SWIG_fail;
17678 }
17679 resultobj = SWIG_FromInt((int)result);
17680 return resultobj;
17681 fail:
17682 return NULL;
17683 }
17684
17685
17686 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17687 PyObject *resultobj;
17688 wxPrintData *arg1 = (wxPrintData *) 0 ;
17689 wxSize *result;
17690 PyObject * obj0 = 0 ;
17691 char *kwnames[] = {
17692 (char *) "self", NULL
17693 };
17694
17695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 {
17701 wxSize const &_result_ref = (arg1)->GetPaperSize();
17702 result = (wxSize *) &_result_ref;
17703 }
17704
17705 wxPyEndAllowThreads(__tstate);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 }
17708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17709 return resultobj;
17710 fail:
17711 return NULL;
17712 }
17713
17714
17715 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17716 PyObject *resultobj;
17717 wxPrintData *arg1 = (wxPrintData *) 0 ;
17718 int result;
17719 PyObject * obj0 = 0 ;
17720 char *kwnames[] = {
17721 (char *) "self", NULL
17722 };
17723
17724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17727 {
17728 PyThreadState* __tstate = wxPyBeginAllowThreads();
17729 result = (int)(arg1)->GetQuality();
17730
17731 wxPyEndAllowThreads(__tstate);
17732 if (PyErr_Occurred()) SWIG_fail;
17733 }
17734 resultobj = SWIG_FromInt((int)result);
17735 return resultobj;
17736 fail:
17737 return NULL;
17738 }
17739
17740
17741 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17742 PyObject *resultobj;
17743 wxPrintData *arg1 = (wxPrintData *) 0 ;
17744 int arg2 ;
17745 PyObject * obj0 = 0 ;
17746 PyObject * obj1 = 0 ;
17747 char *kwnames[] = {
17748 (char *) "self",(char *) "v", NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17754 arg2 = (int) SWIG_AsInt(obj1);
17755 if (PyErr_Occurred()) SWIG_fail;
17756 {
17757 PyThreadState* __tstate = wxPyBeginAllowThreads();
17758 (arg1)->SetNoCopies(arg2);
17759
17760 wxPyEndAllowThreads(__tstate);
17761 if (PyErr_Occurred()) SWIG_fail;
17762 }
17763 Py_INCREF(Py_None); resultobj = Py_None;
17764 return resultobj;
17765 fail:
17766 return NULL;
17767 }
17768
17769
17770 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17771 PyObject *resultobj;
17772 wxPrintData *arg1 = (wxPrintData *) 0 ;
17773 bool arg2 ;
17774 PyObject * obj0 = 0 ;
17775 PyObject * obj1 = 0 ;
17776 char *kwnames[] = {
17777 (char *) "self",(char *) "flag", NULL
17778 };
17779
17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17783 arg2 = (bool) SWIG_AsBool(obj1);
17784 if (PyErr_Occurred()) SWIG_fail;
17785 {
17786 PyThreadState* __tstate = wxPyBeginAllowThreads();
17787 (arg1)->SetCollate(arg2);
17788
17789 wxPyEndAllowThreads(__tstate);
17790 if (PyErr_Occurred()) SWIG_fail;
17791 }
17792 Py_INCREF(Py_None); resultobj = Py_None;
17793 return resultobj;
17794 fail:
17795 return NULL;
17796 }
17797
17798
17799 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17800 PyObject *resultobj;
17801 wxPrintData *arg1 = (wxPrintData *) 0 ;
17802 int arg2 ;
17803 PyObject * obj0 = 0 ;
17804 PyObject * obj1 = 0 ;
17805 char *kwnames[] = {
17806 (char *) "self",(char *) "orient", NULL
17807 };
17808
17809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17812 arg2 = (int) SWIG_AsInt(obj1);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 {
17815 PyThreadState* __tstate = wxPyBeginAllowThreads();
17816 (arg1)->SetOrientation(arg2);
17817
17818 wxPyEndAllowThreads(__tstate);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
17821 Py_INCREF(Py_None); resultobj = Py_None;
17822 return resultobj;
17823 fail:
17824 return NULL;
17825 }
17826
17827
17828 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17829 PyObject *resultobj;
17830 wxPrintData *arg1 = (wxPrintData *) 0 ;
17831 wxString *arg2 = 0 ;
17832 bool temp2 = False ;
17833 PyObject * obj0 = 0 ;
17834 PyObject * obj1 = 0 ;
17835 char *kwnames[] = {
17836 (char *) "self",(char *) "name", NULL
17837 };
17838
17839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
17840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17842 {
17843 arg2 = wxString_in_helper(obj1);
17844 if (arg2 == NULL) SWIG_fail;
17845 temp2 = True;
17846 }
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 (arg1)->SetPrinterName((wxString const &)*arg2);
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 Py_INCREF(Py_None); resultobj = Py_None;
17855 {
17856 if (temp2)
17857 delete arg2;
17858 }
17859 return resultobj;
17860 fail:
17861 {
17862 if (temp2)
17863 delete arg2;
17864 }
17865 return NULL;
17866 }
17867
17868
17869 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxPrintData *arg1 = (wxPrintData *) 0 ;
17872 bool arg2 ;
17873 PyObject * obj0 = 0 ;
17874 PyObject * obj1 = 0 ;
17875 char *kwnames[] = {
17876 (char *) "self",(char *) "colour", NULL
17877 };
17878
17879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
17880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17882 arg2 = (bool) SWIG_AsBool(obj1);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 (arg1)->SetColour(arg2);
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 Py_INCREF(Py_None); resultobj = Py_None;
17892 return resultobj;
17893 fail:
17894 return NULL;
17895 }
17896
17897
17898 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17899 PyObject *resultobj;
17900 wxPrintData *arg1 = (wxPrintData *) 0 ;
17901 int arg2 ;
17902 PyObject * obj0 = 0 ;
17903 PyObject * obj1 = 0 ;
17904 char *kwnames[] = {
17905 (char *) "self",(char *) "duplex", NULL
17906 };
17907
17908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
17909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17911 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
17912 if (PyErr_Occurred()) SWIG_fail;
17913 {
17914 PyThreadState* __tstate = wxPyBeginAllowThreads();
17915 (arg1)->SetDuplex((wxDuplexMode )arg2);
17916
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 Py_INCREF(Py_None); resultobj = Py_None;
17921 return resultobj;
17922 fail:
17923 return NULL;
17924 }
17925
17926
17927 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17928 PyObject *resultobj;
17929 wxPrintData *arg1 = (wxPrintData *) 0 ;
17930 int arg2 ;
17931 PyObject * obj0 = 0 ;
17932 PyObject * obj1 = 0 ;
17933 char *kwnames[] = {
17934 (char *) "self",(char *) "sizeId", NULL
17935 };
17936
17937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
17938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17940 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
17941 if (PyErr_Occurred()) SWIG_fail;
17942 {
17943 PyThreadState* __tstate = wxPyBeginAllowThreads();
17944 (arg1)->SetPaperId((wxPaperSize )arg2);
17945
17946 wxPyEndAllowThreads(__tstate);
17947 if (PyErr_Occurred()) SWIG_fail;
17948 }
17949 Py_INCREF(Py_None); resultobj = Py_None;
17950 return resultobj;
17951 fail:
17952 return NULL;
17953 }
17954
17955
17956 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17957 PyObject *resultobj;
17958 wxPrintData *arg1 = (wxPrintData *) 0 ;
17959 wxSize *arg2 = 0 ;
17960 wxSize temp2 ;
17961 PyObject * obj0 = 0 ;
17962 PyObject * obj1 = 0 ;
17963 char *kwnames[] = {
17964 (char *) "self",(char *) "sz", NULL
17965 };
17966
17967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17970 {
17971 arg2 = &temp2;
17972 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17973 }
17974 {
17975 PyThreadState* __tstate = wxPyBeginAllowThreads();
17976 (arg1)->SetPaperSize((wxSize const &)*arg2);
17977
17978 wxPyEndAllowThreads(__tstate);
17979 if (PyErr_Occurred()) SWIG_fail;
17980 }
17981 Py_INCREF(Py_None); resultobj = Py_None;
17982 return resultobj;
17983 fail:
17984 return NULL;
17985 }
17986
17987
17988 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17989 PyObject *resultobj;
17990 wxPrintData *arg1 = (wxPrintData *) 0 ;
17991 int arg2 ;
17992 PyObject * obj0 = 0 ;
17993 PyObject * obj1 = 0 ;
17994 char *kwnames[] = {
17995 (char *) "self",(char *) "quality", NULL
17996 };
17997
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
17999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18001 arg2 = (int) SWIG_AsInt(obj1);
18002 if (PyErr_Occurred()) SWIG_fail;
18003 {
18004 PyThreadState* __tstate = wxPyBeginAllowThreads();
18005 (arg1)->SetQuality(arg2);
18006
18007 wxPyEndAllowThreads(__tstate);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 }
18010 Py_INCREF(Py_None); resultobj = Py_None;
18011 return resultobj;
18012 fail:
18013 return NULL;
18014 }
18015
18016
18017 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18018 PyObject *resultobj;
18019 wxPrintData *arg1 = (wxPrintData *) 0 ;
18020 wxString *result;
18021 PyObject * obj0 = 0 ;
18022 char *kwnames[] = {
18023 (char *) "self", NULL
18024 };
18025
18026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18029 {
18030 PyThreadState* __tstate = wxPyBeginAllowThreads();
18031 {
18032 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18033 result = (wxString *) &_result_ref;
18034 }
18035
18036 wxPyEndAllowThreads(__tstate);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 }
18039 {
18040 #if wxUSE_UNICODE
18041 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18042 #else
18043 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18044 #endif
18045 }
18046 return resultobj;
18047 fail:
18048 return NULL;
18049 }
18050
18051
18052 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18053 PyObject *resultobj;
18054 wxPrintData *arg1 = (wxPrintData *) 0 ;
18055 wxString *result;
18056 PyObject * obj0 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "self", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18064 {
18065 PyThreadState* __tstate = wxPyBeginAllowThreads();
18066 {
18067 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18068 result = (wxString *) &_result_ref;
18069 }
18070
18071 wxPyEndAllowThreads(__tstate);
18072 if (PyErr_Occurred()) SWIG_fail;
18073 }
18074 {
18075 #if wxUSE_UNICODE
18076 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18077 #else
18078 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18079 #endif
18080 }
18081 return resultobj;
18082 fail:
18083 return NULL;
18084 }
18085
18086
18087 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18088 PyObject *resultobj;
18089 wxPrintData *arg1 = (wxPrintData *) 0 ;
18090 wxString *result;
18091 PyObject * obj0 = 0 ;
18092 char *kwnames[] = {
18093 (char *) "self", NULL
18094 };
18095
18096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18099 {
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 {
18102 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18103 result = (wxString *) &_result_ref;
18104 }
18105
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 {
18110 #if wxUSE_UNICODE
18111 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18112 #else
18113 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18114 #endif
18115 }
18116 return resultobj;
18117 fail:
18118 return NULL;
18119 }
18120
18121
18122 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18123 PyObject *resultobj;
18124 wxPrintData *arg1 = (wxPrintData *) 0 ;
18125 wxString *result;
18126 PyObject * obj0 = 0 ;
18127 char *kwnames[] = {
18128 (char *) "self", NULL
18129 };
18130
18131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18134 {
18135 PyThreadState* __tstate = wxPyBeginAllowThreads();
18136 {
18137 wxString const &_result_ref = (arg1)->GetFilename();
18138 result = (wxString *) &_result_ref;
18139 }
18140
18141 wxPyEndAllowThreads(__tstate);
18142 if (PyErr_Occurred()) SWIG_fail;
18143 }
18144 {
18145 #if wxUSE_UNICODE
18146 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18147 #else
18148 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18149 #endif
18150 }
18151 return resultobj;
18152 fail:
18153 return NULL;
18154 }
18155
18156
18157 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18158 PyObject *resultobj;
18159 wxPrintData *arg1 = (wxPrintData *) 0 ;
18160 wxString *result;
18161 PyObject * obj0 = 0 ;
18162 char *kwnames[] = {
18163 (char *) "self", NULL
18164 };
18165
18166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18169 {
18170 PyThreadState* __tstate = wxPyBeginAllowThreads();
18171 {
18172 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18173 result = (wxString *) &_result_ref;
18174 }
18175
18176 wxPyEndAllowThreads(__tstate);
18177 if (PyErr_Occurred()) SWIG_fail;
18178 }
18179 {
18180 #if wxUSE_UNICODE
18181 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18182 #else
18183 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18184 #endif
18185 }
18186 return resultobj;
18187 fail:
18188 return NULL;
18189 }
18190
18191
18192 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18193 PyObject *resultobj;
18194 wxPrintData *arg1 = (wxPrintData *) 0 ;
18195 double result;
18196 PyObject * obj0 = 0 ;
18197 char *kwnames[] = {
18198 (char *) "self", NULL
18199 };
18200
18201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18204 {
18205 PyThreadState* __tstate = wxPyBeginAllowThreads();
18206 result = (double)(arg1)->GetPrinterScaleX();
18207
18208 wxPyEndAllowThreads(__tstate);
18209 if (PyErr_Occurred()) SWIG_fail;
18210 }
18211 resultobj = SWIG_FromDouble((double)result);
18212 return resultobj;
18213 fail:
18214 return NULL;
18215 }
18216
18217
18218 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18219 PyObject *resultobj;
18220 wxPrintData *arg1 = (wxPrintData *) 0 ;
18221 double result;
18222 PyObject * obj0 = 0 ;
18223 char *kwnames[] = {
18224 (char *) "self", NULL
18225 };
18226
18227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18230 {
18231 PyThreadState* __tstate = wxPyBeginAllowThreads();
18232 result = (double)(arg1)->GetPrinterScaleY();
18233
18234 wxPyEndAllowThreads(__tstate);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 }
18237 resultobj = SWIG_FromDouble((double)result);
18238 return resultobj;
18239 fail:
18240 return NULL;
18241 }
18242
18243
18244 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18245 PyObject *resultobj;
18246 wxPrintData *arg1 = (wxPrintData *) 0 ;
18247 long result;
18248 PyObject * obj0 = 0 ;
18249 char *kwnames[] = {
18250 (char *) "self", NULL
18251 };
18252
18253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 result = (long)(arg1)->GetPrinterTranslateX();
18259
18260 wxPyEndAllowThreads(__tstate);
18261 if (PyErr_Occurred()) SWIG_fail;
18262 }
18263 resultobj = SWIG_FromLong((long)result);
18264 return resultobj;
18265 fail:
18266 return NULL;
18267 }
18268
18269
18270 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18271 PyObject *resultobj;
18272 wxPrintData *arg1 = (wxPrintData *) 0 ;
18273 long result;
18274 PyObject * obj0 = 0 ;
18275 char *kwnames[] = {
18276 (char *) "self", NULL
18277 };
18278
18279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 result = (long)(arg1)->GetPrinterTranslateY();
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 resultobj = SWIG_FromLong((long)result);
18290 return resultobj;
18291 fail:
18292 return NULL;
18293 }
18294
18295
18296 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 wxPrintData *arg1 = (wxPrintData *) 0 ;
18299 int result;
18300 PyObject * obj0 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "self", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (int)(arg1)->GetPrintMode();
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 resultobj = SWIG_FromInt((int)result);
18316 return resultobj;
18317 fail:
18318 return NULL;
18319 }
18320
18321
18322 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18323 PyObject *resultobj;
18324 wxPrintData *arg1 = (wxPrintData *) 0 ;
18325 wxString *arg2 = 0 ;
18326 bool temp2 = False ;
18327 PyObject * obj0 = 0 ;
18328 PyObject * obj1 = 0 ;
18329 char *kwnames[] = {
18330 (char *) "self",(char *) "command", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18336 {
18337 arg2 = wxString_in_helper(obj1);
18338 if (arg2 == NULL) SWIG_fail;
18339 temp2 = True;
18340 }
18341 {
18342 PyThreadState* __tstate = wxPyBeginAllowThreads();
18343 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18344
18345 wxPyEndAllowThreads(__tstate);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 Py_INCREF(Py_None); resultobj = Py_None;
18349 {
18350 if (temp2)
18351 delete arg2;
18352 }
18353 return resultobj;
18354 fail:
18355 {
18356 if (temp2)
18357 delete arg2;
18358 }
18359 return NULL;
18360 }
18361
18362
18363 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18364 PyObject *resultobj;
18365 wxPrintData *arg1 = (wxPrintData *) 0 ;
18366 wxString *arg2 = 0 ;
18367 bool temp2 = False ;
18368 PyObject * obj0 = 0 ;
18369 PyObject * obj1 = 0 ;
18370 char *kwnames[] = {
18371 (char *) "self",(char *) "options", NULL
18372 };
18373
18374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18377 {
18378 arg2 = wxString_in_helper(obj1);
18379 if (arg2 == NULL) SWIG_fail;
18380 temp2 = True;
18381 }
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 Py_INCREF(Py_None); resultobj = Py_None;
18390 {
18391 if (temp2)
18392 delete arg2;
18393 }
18394 return resultobj;
18395 fail:
18396 {
18397 if (temp2)
18398 delete arg2;
18399 }
18400 return NULL;
18401 }
18402
18403
18404 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18405 PyObject *resultobj;
18406 wxPrintData *arg1 = (wxPrintData *) 0 ;
18407 wxString *arg2 = 0 ;
18408 bool temp2 = False ;
18409 PyObject * obj0 = 0 ;
18410 PyObject * obj1 = 0 ;
18411 char *kwnames[] = {
18412 (char *) "self",(char *) "command", NULL
18413 };
18414
18415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18418 {
18419 arg2 = wxString_in_helper(obj1);
18420 if (arg2 == NULL) SWIG_fail;
18421 temp2 = True;
18422 }
18423 {
18424 PyThreadState* __tstate = wxPyBeginAllowThreads();
18425 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18426
18427 wxPyEndAllowThreads(__tstate);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 }
18430 Py_INCREF(Py_None); resultobj = Py_None;
18431 {
18432 if (temp2)
18433 delete arg2;
18434 }
18435 return resultobj;
18436 fail:
18437 {
18438 if (temp2)
18439 delete arg2;
18440 }
18441 return NULL;
18442 }
18443
18444
18445 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18446 PyObject *resultobj;
18447 wxPrintData *arg1 = (wxPrintData *) 0 ;
18448 wxString *arg2 = 0 ;
18449 bool temp2 = False ;
18450 PyObject * obj0 = 0 ;
18451 PyObject * obj1 = 0 ;
18452 char *kwnames[] = {
18453 (char *) "self",(char *) "filename", NULL
18454 };
18455
18456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18459 {
18460 arg2 = wxString_in_helper(obj1);
18461 if (arg2 == NULL) SWIG_fail;
18462 temp2 = True;
18463 }
18464 {
18465 PyThreadState* __tstate = wxPyBeginAllowThreads();
18466 (arg1)->SetFilename((wxString const &)*arg2);
18467
18468 wxPyEndAllowThreads(__tstate);
18469 if (PyErr_Occurred()) SWIG_fail;
18470 }
18471 Py_INCREF(Py_None); resultobj = Py_None;
18472 {
18473 if (temp2)
18474 delete arg2;
18475 }
18476 return resultobj;
18477 fail:
18478 {
18479 if (temp2)
18480 delete arg2;
18481 }
18482 return NULL;
18483 }
18484
18485
18486 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18487 PyObject *resultobj;
18488 wxPrintData *arg1 = (wxPrintData *) 0 ;
18489 wxString *arg2 = 0 ;
18490 bool temp2 = False ;
18491 PyObject * obj0 = 0 ;
18492 PyObject * obj1 = 0 ;
18493 char *kwnames[] = {
18494 (char *) "self",(char *) "path", NULL
18495 };
18496
18497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18500 {
18501 arg2 = wxString_in_helper(obj1);
18502 if (arg2 == NULL) SWIG_fail;
18503 temp2 = True;
18504 }
18505 {
18506 PyThreadState* __tstate = wxPyBeginAllowThreads();
18507 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18508
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 Py_INCREF(Py_None); resultobj = Py_None;
18513 {
18514 if (temp2)
18515 delete arg2;
18516 }
18517 return resultobj;
18518 fail:
18519 {
18520 if (temp2)
18521 delete arg2;
18522 }
18523 return NULL;
18524 }
18525
18526
18527 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18528 PyObject *resultobj;
18529 wxPrintData *arg1 = (wxPrintData *) 0 ;
18530 double arg2 ;
18531 PyObject * obj0 = 0 ;
18532 PyObject * obj1 = 0 ;
18533 char *kwnames[] = {
18534 (char *) "self",(char *) "x", NULL
18535 };
18536
18537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18540 arg2 = (double) SWIG_AsDouble(obj1);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 (arg1)->SetPrinterScaleX(arg2);
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 Py_INCREF(Py_None); resultobj = Py_None;
18550 return resultobj;
18551 fail:
18552 return NULL;
18553 }
18554
18555
18556 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18557 PyObject *resultobj;
18558 wxPrintData *arg1 = (wxPrintData *) 0 ;
18559 double arg2 ;
18560 PyObject * obj0 = 0 ;
18561 PyObject * obj1 = 0 ;
18562 char *kwnames[] = {
18563 (char *) "self",(char *) "y", NULL
18564 };
18565
18566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18569 arg2 = (double) SWIG_AsDouble(obj1);
18570 if (PyErr_Occurred()) SWIG_fail;
18571 {
18572 PyThreadState* __tstate = wxPyBeginAllowThreads();
18573 (arg1)->SetPrinterScaleY(arg2);
18574
18575 wxPyEndAllowThreads(__tstate);
18576 if (PyErr_Occurred()) SWIG_fail;
18577 }
18578 Py_INCREF(Py_None); resultobj = Py_None;
18579 return resultobj;
18580 fail:
18581 return NULL;
18582 }
18583
18584
18585 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18586 PyObject *resultobj;
18587 wxPrintData *arg1 = (wxPrintData *) 0 ;
18588 double arg2 ;
18589 double arg3 ;
18590 PyObject * obj0 = 0 ;
18591 PyObject * obj1 = 0 ;
18592 PyObject * obj2 = 0 ;
18593 char *kwnames[] = {
18594 (char *) "self",(char *) "x",(char *) "y", NULL
18595 };
18596
18597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18600 arg2 = (double) SWIG_AsDouble(obj1);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 arg3 = (double) SWIG_AsDouble(obj2);
18603 if (PyErr_Occurred()) SWIG_fail;
18604 {
18605 PyThreadState* __tstate = wxPyBeginAllowThreads();
18606 (arg1)->SetPrinterScaling(arg2,arg3);
18607
18608 wxPyEndAllowThreads(__tstate);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 }
18611 Py_INCREF(Py_None); resultobj = Py_None;
18612 return resultobj;
18613 fail:
18614 return NULL;
18615 }
18616
18617
18618 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18619 PyObject *resultobj;
18620 wxPrintData *arg1 = (wxPrintData *) 0 ;
18621 long arg2 ;
18622 PyObject * obj0 = 0 ;
18623 PyObject * obj1 = 0 ;
18624 char *kwnames[] = {
18625 (char *) "self",(char *) "x", NULL
18626 };
18627
18628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18631 arg2 = (long) SWIG_AsLong(obj1);
18632 if (PyErr_Occurred()) SWIG_fail;
18633 {
18634 PyThreadState* __tstate = wxPyBeginAllowThreads();
18635 (arg1)->SetPrinterTranslateX(arg2);
18636
18637 wxPyEndAllowThreads(__tstate);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 Py_INCREF(Py_None); resultobj = Py_None;
18641 return resultobj;
18642 fail:
18643 return NULL;
18644 }
18645
18646
18647 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18648 PyObject *resultobj;
18649 wxPrintData *arg1 = (wxPrintData *) 0 ;
18650 long arg2 ;
18651 PyObject * obj0 = 0 ;
18652 PyObject * obj1 = 0 ;
18653 char *kwnames[] = {
18654 (char *) "self",(char *) "y", NULL
18655 };
18656
18657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18660 arg2 = (long) SWIG_AsLong(obj1);
18661 if (PyErr_Occurred()) SWIG_fail;
18662 {
18663 PyThreadState* __tstate = wxPyBeginAllowThreads();
18664 (arg1)->SetPrinterTranslateY(arg2);
18665
18666 wxPyEndAllowThreads(__tstate);
18667 if (PyErr_Occurred()) SWIG_fail;
18668 }
18669 Py_INCREF(Py_None); resultobj = Py_None;
18670 return resultobj;
18671 fail:
18672 return NULL;
18673 }
18674
18675
18676 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18677 PyObject *resultobj;
18678 wxPrintData *arg1 = (wxPrintData *) 0 ;
18679 long arg2 ;
18680 long arg3 ;
18681 PyObject * obj0 = 0 ;
18682 PyObject * obj1 = 0 ;
18683 PyObject * obj2 = 0 ;
18684 char *kwnames[] = {
18685 (char *) "self",(char *) "x",(char *) "y", NULL
18686 };
18687
18688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18691 arg2 = (long) SWIG_AsLong(obj1);
18692 if (PyErr_Occurred()) SWIG_fail;
18693 arg3 = (long) SWIG_AsLong(obj2);
18694 if (PyErr_Occurred()) SWIG_fail;
18695 {
18696 PyThreadState* __tstate = wxPyBeginAllowThreads();
18697 (arg1)->SetPrinterTranslation(arg2,arg3);
18698
18699 wxPyEndAllowThreads(__tstate);
18700 if (PyErr_Occurred()) SWIG_fail;
18701 }
18702 Py_INCREF(Py_None); resultobj = Py_None;
18703 return resultobj;
18704 fail:
18705 return NULL;
18706 }
18707
18708
18709 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18710 PyObject *resultobj;
18711 wxPrintData *arg1 = (wxPrintData *) 0 ;
18712 int arg2 ;
18713 PyObject * obj0 = 0 ;
18714 PyObject * obj1 = 0 ;
18715 char *kwnames[] = {
18716 (char *) "self",(char *) "printMode", NULL
18717 };
18718
18719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18722 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 {
18725 PyThreadState* __tstate = wxPyBeginAllowThreads();
18726 (arg1)->SetPrintMode((wxPrintMode )arg2);
18727
18728 wxPyEndAllowThreads(__tstate);
18729 if (PyErr_Occurred()) SWIG_fail;
18730 }
18731 Py_INCREF(Py_None); resultobj = Py_None;
18732 return resultobj;
18733 fail:
18734 return NULL;
18735 }
18736
18737
18738 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18739 PyObject *resultobj;
18740 wxPrintData *arg1 = (wxPrintData *) 0 ;
18741 wxOutputStream *result;
18742 PyObject * obj0 = 0 ;
18743 char *kwnames[] = {
18744 (char *) "self", NULL
18745 };
18746
18747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 result = (wxOutputStream *)(arg1)->GetOutputStream();
18753
18754 wxPyEndAllowThreads(__tstate);
18755 if (PyErr_Occurred()) SWIG_fail;
18756 }
18757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18758 return resultobj;
18759 fail:
18760 return NULL;
18761 }
18762
18763
18764 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18765 PyObject *resultobj;
18766 wxPrintData *arg1 = (wxPrintData *) 0 ;
18767 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18768 PyObject * obj0 = 0 ;
18769 PyObject * obj1 = 0 ;
18770 char *kwnames[] = {
18771 (char *) "self",(char *) "outputstream", NULL
18772 };
18773
18774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18779 {
18780 PyThreadState* __tstate = wxPyBeginAllowThreads();
18781 (arg1)->SetOutputStream(arg2);
18782
18783 wxPyEndAllowThreads(__tstate);
18784 if (PyErr_Occurred()) SWIG_fail;
18785 }
18786 Py_INCREF(Py_None); resultobj = Py_None;
18787 return resultobj;
18788 fail:
18789 return NULL;
18790 }
18791
18792
18793 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18794 PyObject *obj;
18795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18796 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18797 Py_INCREF(obj);
18798 return Py_BuildValue((char *)"");
18799 }
18800 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18801 PyObject *resultobj;
18802 wxPageSetupDialogData *result;
18803 char *kwnames[] = {
18804 NULL
18805 };
18806
18807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18808 {
18809 PyThreadState* __tstate = wxPyBeginAllowThreads();
18810 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18811
18812 wxPyEndAllowThreads(__tstate);
18813 if (PyErr_Occurred()) SWIG_fail;
18814 }
18815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18816 return resultobj;
18817 fail:
18818 return NULL;
18819 }
18820
18821
18822 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18823 PyObject *resultobj;
18824 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18825 PyObject * obj0 = 0 ;
18826 char *kwnames[] = {
18827 (char *) "self", NULL
18828 };
18829
18830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
18831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18833 {
18834 PyThreadState* __tstate = wxPyBeginAllowThreads();
18835 delete arg1;
18836
18837 wxPyEndAllowThreads(__tstate);
18838 if (PyErr_Occurred()) SWIG_fail;
18839 }
18840 Py_INCREF(Py_None); resultobj = Py_None;
18841 return resultobj;
18842 fail:
18843 return NULL;
18844 }
18845
18846
18847 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18848 PyObject *resultobj;
18849 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18850 bool arg2 ;
18851 PyObject * obj0 = 0 ;
18852 PyObject * obj1 = 0 ;
18853 char *kwnames[] = {
18854 (char *) "self",(char *) "flag", NULL
18855 };
18856
18857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18860 arg2 = (bool) SWIG_AsBool(obj1);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 (arg1)->EnableHelp(arg2);
18865
18866 wxPyEndAllowThreads(__tstate);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 Py_INCREF(Py_None); resultobj = Py_None;
18870 return resultobj;
18871 fail:
18872 return NULL;
18873 }
18874
18875
18876 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18879 bool arg2 ;
18880 PyObject * obj0 = 0 ;
18881 PyObject * obj1 = 0 ;
18882 char *kwnames[] = {
18883 (char *) "self",(char *) "flag", NULL
18884 };
18885
18886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
18887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18889 arg2 = (bool) SWIG_AsBool(obj1);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 {
18892 PyThreadState* __tstate = wxPyBeginAllowThreads();
18893 (arg1)->EnableMargins(arg2);
18894
18895 wxPyEndAllowThreads(__tstate);
18896 if (PyErr_Occurred()) SWIG_fail;
18897 }
18898 Py_INCREF(Py_None); resultobj = Py_None;
18899 return resultobj;
18900 fail:
18901 return NULL;
18902 }
18903
18904
18905 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18906 PyObject *resultobj;
18907 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18908 bool arg2 ;
18909 PyObject * obj0 = 0 ;
18910 PyObject * obj1 = 0 ;
18911 char *kwnames[] = {
18912 (char *) "self",(char *) "flag", NULL
18913 };
18914
18915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
18916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18918 arg2 = (bool) SWIG_AsBool(obj1);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 {
18921 PyThreadState* __tstate = wxPyBeginAllowThreads();
18922 (arg1)->EnableOrientation(arg2);
18923
18924 wxPyEndAllowThreads(__tstate);
18925 if (PyErr_Occurred()) SWIG_fail;
18926 }
18927 Py_INCREF(Py_None); resultobj = Py_None;
18928 return resultobj;
18929 fail:
18930 return NULL;
18931 }
18932
18933
18934 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18935 PyObject *resultobj;
18936 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18937 bool arg2 ;
18938 PyObject * obj0 = 0 ;
18939 PyObject * obj1 = 0 ;
18940 char *kwnames[] = {
18941 (char *) "self",(char *) "flag", NULL
18942 };
18943
18944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
18945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18947 arg2 = (bool) SWIG_AsBool(obj1);
18948 if (PyErr_Occurred()) SWIG_fail;
18949 {
18950 PyThreadState* __tstate = wxPyBeginAllowThreads();
18951 (arg1)->EnablePaper(arg2);
18952
18953 wxPyEndAllowThreads(__tstate);
18954 if (PyErr_Occurred()) SWIG_fail;
18955 }
18956 Py_INCREF(Py_None); resultobj = Py_None;
18957 return resultobj;
18958 fail:
18959 return NULL;
18960 }
18961
18962
18963 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18964 PyObject *resultobj;
18965 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18966 bool arg2 ;
18967 PyObject * obj0 = 0 ;
18968 PyObject * obj1 = 0 ;
18969 char *kwnames[] = {
18970 (char *) "self",(char *) "flag", NULL
18971 };
18972
18973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
18974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18976 arg2 = (bool) SWIG_AsBool(obj1);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 {
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 (arg1)->EnablePrinter(arg2);
18981
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 Py_INCREF(Py_None); resultobj = Py_None;
18986 return resultobj;
18987 fail:
18988 return NULL;
18989 }
18990
18991
18992 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18995 bool result;
18996 PyObject * obj0 = 0 ;
18997 char *kwnames[] = {
18998 (char *) "self", NULL
18999 };
19000
19001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19004 {
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 result = (bool)(arg1)->GetDefaultMinMargins();
19007
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 {
19012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19013 }
19014 return resultobj;
19015 fail:
19016 return NULL;
19017 }
19018
19019
19020 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19021 PyObject *resultobj;
19022 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19023 bool result;
19024 PyObject * obj0 = 0 ;
19025 char *kwnames[] = {
19026 (char *) "self", NULL
19027 };
19028
19029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 result = (bool)(arg1)->GetEnableMargins();
19035
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 {
19040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19041 }
19042 return resultobj;
19043 fail:
19044 return NULL;
19045 }
19046
19047
19048 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19049 PyObject *resultobj;
19050 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19051 bool result;
19052 PyObject * obj0 = 0 ;
19053 char *kwnames[] = {
19054 (char *) "self", NULL
19055 };
19056
19057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 result = (bool)(arg1)->GetEnableOrientation();
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 {
19068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19069 }
19070 return resultobj;
19071 fail:
19072 return NULL;
19073 }
19074
19075
19076 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19077 PyObject *resultobj;
19078 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19079 bool result;
19080 PyObject * obj0 = 0 ;
19081 char *kwnames[] = {
19082 (char *) "self", NULL
19083 };
19084
19085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19088 {
19089 PyThreadState* __tstate = wxPyBeginAllowThreads();
19090 result = (bool)(arg1)->GetEnablePaper();
19091
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
19095 {
19096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19097 }
19098 return resultobj;
19099 fail:
19100 return NULL;
19101 }
19102
19103
19104 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19105 PyObject *resultobj;
19106 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19107 bool result;
19108 PyObject * obj0 = 0 ;
19109 char *kwnames[] = {
19110 (char *) "self", NULL
19111 };
19112
19113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 result = (bool)(arg1)->GetEnablePrinter();
19119
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 {
19124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19125 }
19126 return resultobj;
19127 fail:
19128 return NULL;
19129 }
19130
19131
19132 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19133 PyObject *resultobj;
19134 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19135 bool result;
19136 PyObject * obj0 = 0 ;
19137 char *kwnames[] = {
19138 (char *) "self", NULL
19139 };
19140
19141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19144 {
19145 PyThreadState* __tstate = wxPyBeginAllowThreads();
19146 result = (bool)(arg1)->GetEnableHelp();
19147
19148 wxPyEndAllowThreads(__tstate);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 }
19151 {
19152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19153 }
19154 return resultobj;
19155 fail:
19156 return NULL;
19157 }
19158
19159
19160 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19161 PyObject *resultobj;
19162 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19163 bool result;
19164 PyObject * obj0 = 0 ;
19165 char *kwnames[] = {
19166 (char *) "self", NULL
19167 };
19168
19169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19172 {
19173 PyThreadState* __tstate = wxPyBeginAllowThreads();
19174 result = (bool)(arg1)->GetDefaultInfo();
19175
19176 wxPyEndAllowThreads(__tstate);
19177 if (PyErr_Occurred()) SWIG_fail;
19178 }
19179 {
19180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19181 }
19182 return resultobj;
19183 fail:
19184 return NULL;
19185 }
19186
19187
19188 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19189 PyObject *resultobj;
19190 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19191 wxPoint result;
19192 PyObject * obj0 = 0 ;
19193 char *kwnames[] = {
19194 (char *) "self", NULL
19195 };
19196
19197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 result = (arg1)->GetMarginTopLeft();
19203
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
19207 {
19208 wxPoint * resultptr;
19209 resultptr = new wxPoint((wxPoint &) result);
19210 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19211 }
19212 return resultobj;
19213 fail:
19214 return NULL;
19215 }
19216
19217
19218 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19219 PyObject *resultobj;
19220 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19221 wxPoint result;
19222 PyObject * obj0 = 0 ;
19223 char *kwnames[] = {
19224 (char *) "self", NULL
19225 };
19226
19227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 result = (arg1)->GetMarginBottomRight();
19233
19234 wxPyEndAllowThreads(__tstate);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 }
19237 {
19238 wxPoint * resultptr;
19239 resultptr = new wxPoint((wxPoint &) result);
19240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19241 }
19242 return resultobj;
19243 fail:
19244 return NULL;
19245 }
19246
19247
19248 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19249 PyObject *resultobj;
19250 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19251 wxPoint result;
19252 PyObject * obj0 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "self", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19260 {
19261 PyThreadState* __tstate = wxPyBeginAllowThreads();
19262 result = (arg1)->GetMinMarginTopLeft();
19263
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
19267 {
19268 wxPoint * resultptr;
19269 resultptr = new wxPoint((wxPoint &) result);
19270 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19271 }
19272 return resultobj;
19273 fail:
19274 return NULL;
19275 }
19276
19277
19278 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19279 PyObject *resultobj;
19280 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19281 wxPoint result;
19282 PyObject * obj0 = 0 ;
19283 char *kwnames[] = {
19284 (char *) "self", NULL
19285 };
19286
19287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19290 {
19291 PyThreadState* __tstate = wxPyBeginAllowThreads();
19292 result = (arg1)->GetMinMarginBottomRight();
19293
19294 wxPyEndAllowThreads(__tstate);
19295 if (PyErr_Occurred()) SWIG_fail;
19296 }
19297 {
19298 wxPoint * resultptr;
19299 resultptr = new wxPoint((wxPoint &) result);
19300 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19301 }
19302 return resultobj;
19303 fail:
19304 return NULL;
19305 }
19306
19307
19308 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19309 PyObject *resultobj;
19310 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19311 int result;
19312 PyObject * obj0 = 0 ;
19313 char *kwnames[] = {
19314 (char *) "self", NULL
19315 };
19316
19317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19320 {
19321 PyThreadState* __tstate = wxPyBeginAllowThreads();
19322 result = (int)(arg1)->GetPaperId();
19323
19324 wxPyEndAllowThreads(__tstate);
19325 if (PyErr_Occurred()) SWIG_fail;
19326 }
19327 resultobj = SWIG_FromInt((int)result);
19328 return resultobj;
19329 fail:
19330 return NULL;
19331 }
19332
19333
19334 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19335 PyObject *resultobj;
19336 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19337 wxSize result;
19338 PyObject * obj0 = 0 ;
19339 char *kwnames[] = {
19340 (char *) "self", NULL
19341 };
19342
19343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19346 {
19347 PyThreadState* __tstate = wxPyBeginAllowThreads();
19348 result = (arg1)->GetPaperSize();
19349
19350 wxPyEndAllowThreads(__tstate);
19351 if (PyErr_Occurred()) SWIG_fail;
19352 }
19353 {
19354 wxSize * resultptr;
19355 resultptr = new wxSize((wxSize &) result);
19356 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19357 }
19358 return resultobj;
19359 fail:
19360 return NULL;
19361 }
19362
19363
19364 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19365 PyObject *resultobj;
19366 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19367 wxPrintData *result;
19368 PyObject * obj0 = 0 ;
19369 char *kwnames[] = {
19370 (char *) "self", NULL
19371 };
19372
19373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 {
19379 wxPrintData &_result_ref = (arg1)->GetPrintData();
19380 result = (wxPrintData *) &_result_ref;
19381 }
19382
19383 wxPyEndAllowThreads(__tstate);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 }
19386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19387 return resultobj;
19388 fail:
19389 return NULL;
19390 }
19391
19392
19393 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19394 PyObject *resultobj;
19395 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19396 bool result;
19397 PyObject * obj0 = 0 ;
19398 char *kwnames[] = {
19399 (char *) "self", NULL
19400 };
19401
19402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19405 {
19406 PyThreadState* __tstate = wxPyBeginAllowThreads();
19407 result = (bool)(arg1)->Ok();
19408
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 {
19413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19414 }
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj;
19423 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19424 bool arg2 ;
19425 PyObject * obj0 = 0 ;
19426 PyObject * obj1 = 0 ;
19427 char *kwnames[] = {
19428 (char *) "self",(char *) "flag", NULL
19429 };
19430
19431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19434 arg2 = (bool) SWIG_AsBool(obj1);
19435 if (PyErr_Occurred()) SWIG_fail;
19436 {
19437 PyThreadState* __tstate = wxPyBeginAllowThreads();
19438 (arg1)->SetDefaultInfo(arg2);
19439
19440 wxPyEndAllowThreads(__tstate);
19441 if (PyErr_Occurred()) SWIG_fail;
19442 }
19443 Py_INCREF(Py_None); resultobj = Py_None;
19444 return resultobj;
19445 fail:
19446 return NULL;
19447 }
19448
19449
19450 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19451 PyObject *resultobj;
19452 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19453 bool arg2 ;
19454 PyObject * obj0 = 0 ;
19455 PyObject * obj1 = 0 ;
19456 char *kwnames[] = {
19457 (char *) "self",(char *) "flag", NULL
19458 };
19459
19460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19463 arg2 = (bool) SWIG_AsBool(obj1);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 {
19466 PyThreadState* __tstate = wxPyBeginAllowThreads();
19467 (arg1)->SetDefaultMinMargins(arg2);
19468
19469 wxPyEndAllowThreads(__tstate);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
19472 Py_INCREF(Py_None); resultobj = Py_None;
19473 return resultobj;
19474 fail:
19475 return NULL;
19476 }
19477
19478
19479 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19480 PyObject *resultobj;
19481 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19482 wxPoint *arg2 = 0 ;
19483 wxPoint temp2 ;
19484 PyObject * obj0 = 0 ;
19485 PyObject * obj1 = 0 ;
19486 char *kwnames[] = {
19487 (char *) "self",(char *) "pt", NULL
19488 };
19489
19490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19493 {
19494 arg2 = &temp2;
19495 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19496 }
19497 {
19498 PyThreadState* __tstate = wxPyBeginAllowThreads();
19499 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19500
19501 wxPyEndAllowThreads(__tstate);
19502 if (PyErr_Occurred()) SWIG_fail;
19503 }
19504 Py_INCREF(Py_None); resultobj = Py_None;
19505 return resultobj;
19506 fail:
19507 return NULL;
19508 }
19509
19510
19511 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19512 PyObject *resultobj;
19513 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19514 wxPoint *arg2 = 0 ;
19515 wxPoint temp2 ;
19516 PyObject * obj0 = 0 ;
19517 PyObject * obj1 = 0 ;
19518 char *kwnames[] = {
19519 (char *) "self",(char *) "pt", NULL
19520 };
19521
19522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19525 {
19526 arg2 = &temp2;
19527 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19528 }
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
19531 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19532
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 Py_INCREF(Py_None); resultobj = Py_None;
19537 return resultobj;
19538 fail:
19539 return NULL;
19540 }
19541
19542
19543 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19544 PyObject *resultobj;
19545 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19546 wxPoint *arg2 = 0 ;
19547 wxPoint temp2 ;
19548 PyObject * obj0 = 0 ;
19549 PyObject * obj1 = 0 ;
19550 char *kwnames[] = {
19551 (char *) "self",(char *) "pt", NULL
19552 };
19553
19554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19557 {
19558 arg2 = &temp2;
19559 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19560 }
19561 {
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19564
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 Py_INCREF(Py_None); resultobj = Py_None;
19569 return resultobj;
19570 fail:
19571 return NULL;
19572 }
19573
19574
19575 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19576 PyObject *resultobj;
19577 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19578 wxPoint *arg2 = 0 ;
19579 wxPoint temp2 ;
19580 PyObject * obj0 = 0 ;
19581 PyObject * obj1 = 0 ;
19582 char *kwnames[] = {
19583 (char *) "self",(char *) "pt", NULL
19584 };
19585
19586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19589 {
19590 arg2 = &temp2;
19591 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19592 }
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 Py_INCREF(Py_None); resultobj = Py_None;
19601 return resultobj;
19602 fail:
19603 return NULL;
19604 }
19605
19606
19607 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19608 PyObject *resultobj;
19609 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19610 int arg2 ;
19611 PyObject * obj0 = 0 ;
19612 PyObject * obj1 = 0 ;
19613 char *kwnames[] = {
19614 (char *) "self",(char *) "id", NULL
19615 };
19616
19617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19620 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19621 if (PyErr_Occurred()) SWIG_fail;
19622 {
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
19624 (arg1)->SetPaperId((wxPaperSize )arg2);
19625
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 Py_INCREF(Py_None); resultobj = Py_None;
19630 return resultobj;
19631 fail:
19632 return NULL;
19633 }
19634
19635
19636 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19637 PyObject *resultobj;
19638 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19639 wxSize *arg2 = 0 ;
19640 wxSize temp2 ;
19641 PyObject * obj0 = 0 ;
19642 PyObject * obj1 = 0 ;
19643 char *kwnames[] = {
19644 (char *) "self",(char *) "size", NULL
19645 };
19646
19647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19650 {
19651 arg2 = &temp2;
19652 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19653 }
19654 {
19655 PyThreadState* __tstate = wxPyBeginAllowThreads();
19656 (arg1)->SetPaperSize((wxSize const &)*arg2);
19657
19658 wxPyEndAllowThreads(__tstate);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 }
19661 Py_INCREF(Py_None); resultobj = Py_None;
19662 return resultobj;
19663 fail:
19664 return NULL;
19665 }
19666
19667
19668 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19669 PyObject *resultobj;
19670 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19671 wxPrintData *arg2 = 0 ;
19672 PyObject * obj0 = 0 ;
19673 PyObject * obj1 = 0 ;
19674 char *kwnames[] = {
19675 (char *) "self",(char *) "printData", NULL
19676 };
19677
19678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19682 SWIG_POINTER_EXCEPTION | 0)) == -1)
19683 SWIG_fail;
19684 if (arg2 == NULL) {
19685 PyErr_SetString(PyExc_TypeError,"null reference");
19686 SWIG_fail;
19687 }
19688 {
19689 PyThreadState* __tstate = wxPyBeginAllowThreads();
19690 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19691
19692 wxPyEndAllowThreads(__tstate);
19693 if (PyErr_Occurred()) SWIG_fail;
19694 }
19695 Py_INCREF(Py_None); resultobj = Py_None;
19696 return resultobj;
19697 fail:
19698 return NULL;
19699 }
19700
19701
19702 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19703 PyObject *obj;
19704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19705 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19706 Py_INCREF(obj);
19707 return Py_BuildValue((char *)"");
19708 }
19709 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj;
19711 wxWindow *arg1 = (wxWindow *) 0 ;
19712 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19713 wxPageSetupDialog *result;
19714 PyObject * obj0 = 0 ;
19715 PyObject * obj1 = 0 ;
19716 char *kwnames[] = {
19717 (char *) "parent",(char *) "data", NULL
19718 };
19719
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19723 if (obj1) {
19724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19726 }
19727 {
19728 PyThreadState* __tstate = wxPyBeginAllowThreads();
19729 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19730
19731 wxPyEndAllowThreads(__tstate);
19732 if (PyErr_Occurred()) SWIG_fail;
19733 }
19734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19735 return resultobj;
19736 fail:
19737 return NULL;
19738 }
19739
19740
19741 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19742 PyObject *resultobj;
19743 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19744 wxPageSetupDialogData *result;
19745 PyObject * obj0 = 0 ;
19746 char *kwnames[] = {
19747 (char *) "self", NULL
19748 };
19749
19750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19753 {
19754 PyThreadState* __tstate = wxPyBeginAllowThreads();
19755 {
19756 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19757 result = (wxPageSetupDialogData *) &_result_ref;
19758 }
19759
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
19763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19764 return resultobj;
19765 fail:
19766 return NULL;
19767 }
19768
19769
19770 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19771 PyObject *resultobj;
19772 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19773 int result;
19774 PyObject * obj0 = 0 ;
19775 char *kwnames[] = {
19776 (char *) "self", NULL
19777 };
19778
19779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19782 {
19783 PyThreadState* __tstate = wxPyBeginAllowThreads();
19784 result = (int)(arg1)->ShowModal();
19785
19786 wxPyEndAllowThreads(__tstate);
19787 if (PyErr_Occurred()) SWIG_fail;
19788 }
19789 resultobj = SWIG_FromInt((int)result);
19790 return resultobj;
19791 fail:
19792 return NULL;
19793 }
19794
19795
19796 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19797 PyObject *obj;
19798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19799 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19800 Py_INCREF(obj);
19801 return Py_BuildValue((char *)"");
19802 }
19803 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
19804 PyObject *resultobj;
19805 wxPrintDialogData *result;
19806
19807 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 result = (wxPrintDialogData *)new wxPrintDialogData();
19811
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19816 return resultobj;
19817 fail:
19818 return NULL;
19819 }
19820
19821
19822 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19823 PyObject *resultobj;
19824 wxPrintData *arg1 = 0 ;
19825 wxPrintDialogData *result;
19826 PyObject * obj0 = 0 ;
19827
19828 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19830 SWIG_POINTER_EXCEPTION | 0)) == -1)
19831 SWIG_fail;
19832 if (arg1 == NULL) {
19833 PyErr_SetString(PyExc_TypeError,"null reference");
19834 SWIG_fail;
19835 }
19836 {
19837 PyThreadState* __tstate = wxPyBeginAllowThreads();
19838 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19839
19840 wxPyEndAllowThreads(__tstate);
19841 if (PyErr_Occurred()) SWIG_fail;
19842 }
19843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19844 return resultobj;
19845 fail:
19846 return NULL;
19847 }
19848
19849
19850 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19851 int argc;
19852 PyObject *argv[2];
19853 int ii;
19854
19855 argc = PyObject_Length(args);
19856 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19857 argv[ii] = PyTuple_GetItem(args,ii);
19858 }
19859 if (argc == 0) {
19860 return _wrap_new_PrintDialogData__SWIG_0(self,args);
19861 }
19862 if (argc == 1) {
19863 int _v;
19864 {
19865 void *ptr;
19866 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
19867 _v = 0;
19868 PyErr_Clear();
19869 } else {
19870 _v = 1;
19871 }
19872 }
19873 if (_v) {
19874 return _wrap_new_PrintDialogData__SWIG_1(self,args);
19875 }
19876 }
19877
19878 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
19879 return NULL;
19880 }
19881
19882
19883 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19886 PyObject * obj0 = 0 ;
19887 char *kwnames[] = {
19888 (char *) "self", NULL
19889 };
19890
19891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
19892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 delete arg1;
19897
19898 wxPyEndAllowThreads(__tstate);
19899 if (PyErr_Occurred()) SWIG_fail;
19900 }
19901 Py_INCREF(Py_None); resultobj = Py_None;
19902 return resultobj;
19903 fail:
19904 return NULL;
19905 }
19906
19907
19908 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19909 PyObject *resultobj;
19910 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19911 int result;
19912 PyObject * obj0 = 0 ;
19913 char *kwnames[] = {
19914 (char *) "self", NULL
19915 };
19916
19917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
19918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 resultobj = SWIG_FromInt((int)result);
19928 return resultobj;
19929 fail:
19930 return NULL;
19931 }
19932
19933
19934 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19935 PyObject *resultobj;
19936 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19937 int result;
19938 PyObject * obj0 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "self", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
19944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19946 {
19947 PyThreadState* __tstate = wxPyBeginAllowThreads();
19948 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
19949
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 resultobj = SWIG_FromInt((int)result);
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19963 int result;
19964 PyObject * obj0 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "self", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
19970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19972 {
19973 PyThreadState* __tstate = wxPyBeginAllowThreads();
19974 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
19975
19976 wxPyEndAllowThreads(__tstate);
19977 if (PyErr_Occurred()) SWIG_fail;
19978 }
19979 resultobj = SWIG_FromInt((int)result);
19980 return resultobj;
19981 fail:
19982 return NULL;
19983 }
19984
19985
19986 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19987 PyObject *resultobj;
19988 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19989 int result;
19990 PyObject * obj0 = 0 ;
19991 char *kwnames[] = {
19992 (char *) "self", NULL
19993 };
19994
19995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
19996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19998 {
19999 PyThreadState* __tstate = wxPyBeginAllowThreads();
20000 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20001
20002 wxPyEndAllowThreads(__tstate);
20003 if (PyErr_Occurred()) SWIG_fail;
20004 }
20005 resultobj = SWIG_FromInt((int)result);
20006 return resultobj;
20007 fail:
20008 return NULL;
20009 }
20010
20011
20012 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj;
20014 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20015 int result;
20016 PyObject * obj0 = 0 ;
20017 char *kwnames[] = {
20018 (char *) "self", NULL
20019 };
20020
20021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20024 {
20025 PyThreadState* __tstate = wxPyBeginAllowThreads();
20026 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20027
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 resultobj = SWIG_FromInt((int)result);
20032 return resultobj;
20033 fail:
20034 return NULL;
20035 }
20036
20037
20038 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20039 PyObject *resultobj;
20040 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20041 bool result;
20042 PyObject * obj0 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self", NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 {
20058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20059 }
20060 return resultobj;
20061 fail:
20062 return NULL;
20063 }
20064
20065
20066 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20067 PyObject *resultobj;
20068 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20069 bool result;
20070 PyObject * obj0 = 0 ;
20071 char *kwnames[] = {
20072 (char *) "self", NULL
20073 };
20074
20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 {
20086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20087 }
20088 return resultobj;
20089 fail:
20090 return NULL;
20091 }
20092
20093
20094 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20097 bool result;
20098 PyObject * obj0 = 0 ;
20099 char *kwnames[] = {
20100 (char *) "self", NULL
20101 };
20102
20103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20106 {
20107 PyThreadState* __tstate = wxPyBeginAllowThreads();
20108 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20109
20110 wxPyEndAllowThreads(__tstate);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 {
20114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20115 }
20116 return resultobj;
20117 fail:
20118 return NULL;
20119 }
20120
20121
20122 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20123 PyObject *resultobj;
20124 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20125 bool result;
20126 PyObject * obj0 = 0 ;
20127 char *kwnames[] = {
20128 (char *) "self", NULL
20129 };
20130
20131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20137
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 {
20142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20143 }
20144 return resultobj;
20145 fail:
20146 return NULL;
20147 }
20148
20149
20150 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20151 PyObject *resultobj;
20152 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20153 bool result;
20154 PyObject * obj0 = 0 ;
20155 char *kwnames[] = {
20156 (char *) "self", NULL
20157 };
20158
20159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20162 {
20163 PyThreadState* __tstate = wxPyBeginAllowThreads();
20164 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20165
20166 wxPyEndAllowThreads(__tstate);
20167 if (PyErr_Occurred()) SWIG_fail;
20168 }
20169 {
20170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20171 }
20172 return resultobj;
20173 fail:
20174 return NULL;
20175 }
20176
20177
20178 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20179 PyObject *resultobj;
20180 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20181 int arg2 ;
20182 PyObject * obj0 = 0 ;
20183 PyObject * obj1 = 0 ;
20184 char *kwnames[] = {
20185 (char *) "self",(char *) "v", NULL
20186 };
20187
20188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20191 arg2 = (int) SWIG_AsInt(obj1);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 (arg1)->SetFromPage(arg2);
20196
20197 wxPyEndAllowThreads(__tstate);
20198 if (PyErr_Occurred()) SWIG_fail;
20199 }
20200 Py_INCREF(Py_None); resultobj = Py_None;
20201 return resultobj;
20202 fail:
20203 return NULL;
20204 }
20205
20206
20207 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20208 PyObject *resultobj;
20209 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20210 int arg2 ;
20211 PyObject * obj0 = 0 ;
20212 PyObject * obj1 = 0 ;
20213 char *kwnames[] = {
20214 (char *) "self",(char *) "v", NULL
20215 };
20216
20217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20220 arg2 = (int) SWIG_AsInt(obj1);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 {
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 (arg1)->SetToPage(arg2);
20225
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 Py_INCREF(Py_None); resultobj = Py_None;
20230 return resultobj;
20231 fail:
20232 return NULL;
20233 }
20234
20235
20236 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj;
20238 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20239 int arg2 ;
20240 PyObject * obj0 = 0 ;
20241 PyObject * obj1 = 0 ;
20242 char *kwnames[] = {
20243 (char *) "self",(char *) "v", NULL
20244 };
20245
20246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20249 arg2 = (int) SWIG_AsInt(obj1);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 {
20252 PyThreadState* __tstate = wxPyBeginAllowThreads();
20253 (arg1)->SetMinPage(arg2);
20254
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 Py_INCREF(Py_None); resultobj = Py_None;
20259 return resultobj;
20260 fail:
20261 return NULL;
20262 }
20263
20264
20265 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj;
20267 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20268 int arg2 ;
20269 PyObject * obj0 = 0 ;
20270 PyObject * obj1 = 0 ;
20271 char *kwnames[] = {
20272 (char *) "self",(char *) "v", NULL
20273 };
20274
20275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20278 arg2 = (int) SWIG_AsInt(obj1);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
20282 (arg1)->SetMaxPage(arg2);
20283
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 Py_INCREF(Py_None); resultobj = Py_None;
20288 return resultobj;
20289 fail:
20290 return NULL;
20291 }
20292
20293
20294 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20295 PyObject *resultobj;
20296 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20297 int arg2 ;
20298 PyObject * obj0 = 0 ;
20299 PyObject * obj1 = 0 ;
20300 char *kwnames[] = {
20301 (char *) "self",(char *) "v", NULL
20302 };
20303
20304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20307 arg2 = (int) SWIG_AsInt(obj1);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 {
20310 PyThreadState* __tstate = wxPyBeginAllowThreads();
20311 (arg1)->SetNoCopies(arg2);
20312
20313 wxPyEndAllowThreads(__tstate);
20314 if (PyErr_Occurred()) SWIG_fail;
20315 }
20316 Py_INCREF(Py_None); resultobj = Py_None;
20317 return resultobj;
20318 fail:
20319 return NULL;
20320 }
20321
20322
20323 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20324 PyObject *resultobj;
20325 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20326 bool arg2 ;
20327 PyObject * obj0 = 0 ;
20328 PyObject * obj1 = 0 ;
20329 char *kwnames[] = {
20330 (char *) "self",(char *) "flag", NULL
20331 };
20332
20333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20336 arg2 = (bool) SWIG_AsBool(obj1);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 {
20339 PyThreadState* __tstate = wxPyBeginAllowThreads();
20340 (arg1)->SetAllPages(arg2);
20341
20342 wxPyEndAllowThreads(__tstate);
20343 if (PyErr_Occurred()) SWIG_fail;
20344 }
20345 Py_INCREF(Py_None); resultobj = Py_None;
20346 return resultobj;
20347 fail:
20348 return NULL;
20349 }
20350
20351
20352 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20353 PyObject *resultobj;
20354 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20355 bool arg2 ;
20356 PyObject * obj0 = 0 ;
20357 PyObject * obj1 = 0 ;
20358 char *kwnames[] = {
20359 (char *) "self",(char *) "flag", NULL
20360 };
20361
20362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20365 arg2 = (bool) SWIG_AsBool(obj1);
20366 if (PyErr_Occurred()) SWIG_fail;
20367 {
20368 PyThreadState* __tstate = wxPyBeginAllowThreads();
20369 (arg1)->SetSelection(arg2);
20370
20371 wxPyEndAllowThreads(__tstate);
20372 if (PyErr_Occurred()) SWIG_fail;
20373 }
20374 Py_INCREF(Py_None); resultobj = Py_None;
20375 return resultobj;
20376 fail:
20377 return NULL;
20378 }
20379
20380
20381 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20382 PyObject *resultobj;
20383 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20384 bool arg2 ;
20385 PyObject * obj0 = 0 ;
20386 PyObject * obj1 = 0 ;
20387 char *kwnames[] = {
20388 (char *) "self",(char *) "flag", NULL
20389 };
20390
20391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20394 arg2 = (bool) SWIG_AsBool(obj1);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 (arg1)->SetCollate(arg2);
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 Py_INCREF(Py_None); resultobj = Py_None;
20404 return resultobj;
20405 fail:
20406 return NULL;
20407 }
20408
20409
20410 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20411 PyObject *resultobj;
20412 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20413 bool arg2 ;
20414 PyObject * obj0 = 0 ;
20415 PyObject * obj1 = 0 ;
20416 char *kwnames[] = {
20417 (char *) "self",(char *) "flag", NULL
20418 };
20419
20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20423 arg2 = (bool) SWIG_AsBool(obj1);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 (arg1)->SetPrintToFile(arg2);
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 Py_INCREF(Py_None); resultobj = Py_None;
20433 return resultobj;
20434 fail:
20435 return NULL;
20436 }
20437
20438
20439 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20440 PyObject *resultobj;
20441 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20442 bool arg2 ;
20443 PyObject * obj0 = 0 ;
20444 PyObject * obj1 = 0 ;
20445 char *kwnames[] = {
20446 (char *) "self",(char *) "flag", NULL
20447 };
20448
20449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20452 arg2 = (bool) SWIG_AsBool(obj1);
20453 if (PyErr_Occurred()) SWIG_fail;
20454 {
20455 PyThreadState* __tstate = wxPyBeginAllowThreads();
20456 (arg1)->SetSetupDialog(arg2);
20457
20458 wxPyEndAllowThreads(__tstate);
20459 if (PyErr_Occurred()) SWIG_fail;
20460 }
20461 Py_INCREF(Py_None); resultobj = Py_None;
20462 return resultobj;
20463 fail:
20464 return NULL;
20465 }
20466
20467
20468 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20469 PyObject *resultobj;
20470 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20471 bool arg2 ;
20472 PyObject * obj0 = 0 ;
20473 PyObject * obj1 = 0 ;
20474 char *kwnames[] = {
20475 (char *) "self",(char *) "flag", NULL
20476 };
20477
20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20481 arg2 = (bool) SWIG_AsBool(obj1);
20482 if (PyErr_Occurred()) SWIG_fail;
20483 {
20484 PyThreadState* __tstate = wxPyBeginAllowThreads();
20485 (arg1)->EnablePrintToFile(arg2);
20486
20487 wxPyEndAllowThreads(__tstate);
20488 if (PyErr_Occurred()) SWIG_fail;
20489 }
20490 Py_INCREF(Py_None); resultobj = Py_None;
20491 return resultobj;
20492 fail:
20493 return NULL;
20494 }
20495
20496
20497 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20498 PyObject *resultobj;
20499 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20500 bool arg2 ;
20501 PyObject * obj0 = 0 ;
20502 PyObject * obj1 = 0 ;
20503 char *kwnames[] = {
20504 (char *) "self",(char *) "flag", NULL
20505 };
20506
20507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20510 arg2 = (bool) SWIG_AsBool(obj1);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 {
20513 PyThreadState* __tstate = wxPyBeginAllowThreads();
20514 (arg1)->EnableSelection(arg2);
20515
20516 wxPyEndAllowThreads(__tstate);
20517 if (PyErr_Occurred()) SWIG_fail;
20518 }
20519 Py_INCREF(Py_None); resultobj = Py_None;
20520 return resultobj;
20521 fail:
20522 return NULL;
20523 }
20524
20525
20526 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20527 PyObject *resultobj;
20528 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20529 bool arg2 ;
20530 PyObject * obj0 = 0 ;
20531 PyObject * obj1 = 0 ;
20532 char *kwnames[] = {
20533 (char *) "self",(char *) "flag", NULL
20534 };
20535
20536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20539 arg2 = (bool) SWIG_AsBool(obj1);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 {
20542 PyThreadState* __tstate = wxPyBeginAllowThreads();
20543 (arg1)->EnablePageNumbers(arg2);
20544
20545 wxPyEndAllowThreads(__tstate);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 }
20548 Py_INCREF(Py_None); resultobj = Py_None;
20549 return resultobj;
20550 fail:
20551 return NULL;
20552 }
20553
20554
20555 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20556 PyObject *resultobj;
20557 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20558 bool arg2 ;
20559 PyObject * obj0 = 0 ;
20560 PyObject * obj1 = 0 ;
20561 char *kwnames[] = {
20562 (char *) "self",(char *) "flag", NULL
20563 };
20564
20565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20568 arg2 = (bool) SWIG_AsBool(obj1);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 {
20571 PyThreadState* __tstate = wxPyBeginAllowThreads();
20572 (arg1)->EnableHelp(arg2);
20573
20574 wxPyEndAllowThreads(__tstate);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 }
20577 Py_INCREF(Py_None); resultobj = Py_None;
20578 return resultobj;
20579 fail:
20580 return NULL;
20581 }
20582
20583
20584 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20585 PyObject *resultobj;
20586 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20587 bool result;
20588 PyObject * obj0 = 0 ;
20589 char *kwnames[] = {
20590 (char *) "self", NULL
20591 };
20592
20593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20596 {
20597 PyThreadState* __tstate = wxPyBeginAllowThreads();
20598 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20599
20600 wxPyEndAllowThreads(__tstate);
20601 if (PyErr_Occurred()) SWIG_fail;
20602 }
20603 {
20604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20605 }
20606 return resultobj;
20607 fail:
20608 return NULL;
20609 }
20610
20611
20612 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20613 PyObject *resultobj;
20614 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20615 bool result;
20616 PyObject * obj0 = 0 ;
20617 char *kwnames[] = {
20618 (char *) "self", NULL
20619 };
20620
20621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20624 {
20625 PyThreadState* __tstate = wxPyBeginAllowThreads();
20626 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20627
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
20631 {
20632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20633 }
20634 return resultobj;
20635 fail:
20636 return NULL;
20637 }
20638
20639
20640 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20641 PyObject *resultobj;
20642 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20643 bool result;
20644 PyObject * obj0 = 0 ;
20645 char *kwnames[] = {
20646 (char *) "self", NULL
20647 };
20648
20649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20652 {
20653 PyThreadState* __tstate = wxPyBeginAllowThreads();
20654 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20655
20656 wxPyEndAllowThreads(__tstate);
20657 if (PyErr_Occurred()) SWIG_fail;
20658 }
20659 {
20660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20661 }
20662 return resultobj;
20663 fail:
20664 return NULL;
20665 }
20666
20667
20668 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20669 PyObject *resultobj;
20670 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20671 bool result;
20672 PyObject * obj0 = 0 ;
20673 char *kwnames[] = {
20674 (char *) "self", NULL
20675 };
20676
20677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20680 {
20681 PyThreadState* __tstate = wxPyBeginAllowThreads();
20682 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20683
20684 wxPyEndAllowThreads(__tstate);
20685 if (PyErr_Occurred()) SWIG_fail;
20686 }
20687 {
20688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20689 }
20690 return resultobj;
20691 fail:
20692 return NULL;
20693 }
20694
20695
20696 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20697 PyObject *resultobj;
20698 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20699 bool result;
20700 PyObject * obj0 = 0 ;
20701 char *kwnames[] = {
20702 (char *) "self", NULL
20703 };
20704
20705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 {
20716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20717 }
20718 return resultobj;
20719 fail:
20720 return NULL;
20721 }
20722
20723
20724 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20725 PyObject *resultobj;
20726 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20727 wxPrintData *result;
20728 PyObject * obj0 = 0 ;
20729 char *kwnames[] = {
20730 (char *) "self", NULL
20731 };
20732
20733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20736 {
20737 PyThreadState* __tstate = wxPyBeginAllowThreads();
20738 {
20739 wxPrintData &_result_ref = (arg1)->GetPrintData();
20740 result = (wxPrintData *) &_result_ref;
20741 }
20742
20743 wxPyEndAllowThreads(__tstate);
20744 if (PyErr_Occurred()) SWIG_fail;
20745 }
20746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20747 return resultobj;
20748 fail:
20749 return NULL;
20750 }
20751
20752
20753 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20754 PyObject *resultobj;
20755 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20756 wxPrintData *arg2 = 0 ;
20757 PyObject * obj0 = 0 ;
20758 PyObject * obj1 = 0 ;
20759 char *kwnames[] = {
20760 (char *) "self",(char *) "printData", NULL
20761 };
20762
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20767 SWIG_POINTER_EXCEPTION | 0)) == -1)
20768 SWIG_fail;
20769 if (arg2 == NULL) {
20770 PyErr_SetString(PyExc_TypeError,"null reference");
20771 SWIG_fail;
20772 }
20773 {
20774 PyThreadState* __tstate = wxPyBeginAllowThreads();
20775 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20776
20777 wxPyEndAllowThreads(__tstate);
20778 if (PyErr_Occurred()) SWIG_fail;
20779 }
20780 Py_INCREF(Py_None); resultobj = Py_None;
20781 return resultobj;
20782 fail:
20783 return NULL;
20784 }
20785
20786
20787 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20788 PyObject *obj;
20789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20790 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20791 Py_INCREF(obj);
20792 return Py_BuildValue((char *)"");
20793 }
20794 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20795 PyObject *resultobj;
20796 wxWindow *arg1 = (wxWindow *) 0 ;
20797 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20798 wxPrintDialog *result;
20799 PyObject * obj0 = 0 ;
20800 PyObject * obj1 = 0 ;
20801 char *kwnames[] = {
20802 (char *) "parent",(char *) "data", NULL
20803 };
20804
20805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20808 if (obj1) {
20809 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20811 }
20812 {
20813 PyThreadState* __tstate = wxPyBeginAllowThreads();
20814 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20815
20816 wxPyEndAllowThreads(__tstate);
20817 if (PyErr_Occurred()) SWIG_fail;
20818 }
20819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20820 return resultobj;
20821 fail:
20822 return NULL;
20823 }
20824
20825
20826 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20827 PyObject *resultobj;
20828 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20829 wxPrintDialogData *result;
20830 PyObject * obj0 = 0 ;
20831 char *kwnames[] = {
20832 (char *) "self", NULL
20833 };
20834
20835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
20836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20838 {
20839 PyThreadState* __tstate = wxPyBeginAllowThreads();
20840 {
20841 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20842 result = (wxPrintDialogData *) &_result_ref;
20843 }
20844
20845 wxPyEndAllowThreads(__tstate);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20849 return resultobj;
20850 fail:
20851 return NULL;
20852 }
20853
20854
20855 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20856 PyObject *resultobj;
20857 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20858 wxDC *result;
20859 PyObject * obj0 = 0 ;
20860 char *kwnames[] = {
20861 (char *) "self", NULL
20862 };
20863
20864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
20865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20867 {
20868 PyThreadState* __tstate = wxPyBeginAllowThreads();
20869 result = (wxDC *)(arg1)->GetPrintDC();
20870
20871 wxPyEndAllowThreads(__tstate);
20872 if (PyErr_Occurred()) SWIG_fail;
20873 }
20874 {
20875 resultobj = wxPyMake_wxObject(result);
20876 }
20877 return resultobj;
20878 fail:
20879 return NULL;
20880 }
20881
20882
20883 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20884 PyObject *resultobj;
20885 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20886 int result;
20887 PyObject * obj0 = 0 ;
20888 char *kwnames[] = {
20889 (char *) "self", NULL
20890 };
20891
20892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
20893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20895 {
20896 PyThreadState* __tstate = wxPyBeginAllowThreads();
20897 result = (int)(arg1)->ShowModal();
20898
20899 wxPyEndAllowThreads(__tstate);
20900 if (PyErr_Occurred()) SWIG_fail;
20901 }
20902 resultobj = SWIG_FromInt((int)result);
20903 return resultobj;
20904 fail:
20905 return NULL;
20906 }
20907
20908
20909 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
20910 PyObject *obj;
20911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20912 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
20913 Py_INCREF(obj);
20914 return Py_BuildValue((char *)"");
20915 }
20916 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20917 PyObject *resultobj;
20918 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
20919 wxPrinter *result;
20920 PyObject * obj0 = 0 ;
20921 char *kwnames[] = {
20922 (char *) "data", NULL
20923 };
20924
20925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
20926 if (obj0) {
20927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20929 }
20930 {
20931 PyThreadState* __tstate = wxPyBeginAllowThreads();
20932 result = (wxPrinter *)new wxPrinter(arg1);
20933
20934 wxPyEndAllowThreads(__tstate);
20935 if (PyErr_Occurred()) SWIG_fail;
20936 }
20937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
20938 return resultobj;
20939 fail:
20940 return NULL;
20941 }
20942
20943
20944 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20945 PyObject *resultobj;
20946 wxPrinter *arg1 = (wxPrinter *) 0 ;
20947 PyObject * obj0 = 0 ;
20948 char *kwnames[] = {
20949 (char *) "self", NULL
20950 };
20951
20952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
20953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20955 {
20956 PyThreadState* __tstate = wxPyBeginAllowThreads();
20957 delete arg1;
20958
20959 wxPyEndAllowThreads(__tstate);
20960 if (PyErr_Occurred()) SWIG_fail;
20961 }
20962 Py_INCREF(Py_None); resultobj = Py_None;
20963 return resultobj;
20964 fail:
20965 return NULL;
20966 }
20967
20968
20969 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20970 PyObject *resultobj;
20971 wxPrinter *arg1 = (wxPrinter *) 0 ;
20972 wxWindow *arg2 = (wxWindow *) 0 ;
20973 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20974 PyObject * obj0 = 0 ;
20975 PyObject * obj1 = 0 ;
20976 PyObject * obj2 = 0 ;
20977 char *kwnames[] = {
20978 (char *) "self",(char *) "parent",(char *) "printout", NULL
20979 };
20980
20981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
20982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20984 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20986 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 (arg1)->CreateAbortWindow(arg2,arg3);
20991
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 Py_INCREF(Py_None); resultobj = Py_None;
20996 return resultobj;
20997 fail:
20998 return NULL;
20999 }
21000
21001
21002 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21003 PyObject *resultobj;
21004 wxPrinter *arg1 = (wxPrinter *) 0 ;
21005 wxPrintDialogData *result;
21006 PyObject * obj0 = 0 ;
21007 char *kwnames[] = {
21008 (char *) "self", NULL
21009 };
21010
21011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21014 {
21015 PyThreadState* __tstate = wxPyBeginAllowThreads();
21016 {
21017 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21018 result = (wxPrintDialogData *) &_result_ref;
21019 }
21020
21021 wxPyEndAllowThreads(__tstate);
21022 if (PyErr_Occurred()) SWIG_fail;
21023 }
21024 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21025 return resultobj;
21026 fail:
21027 return NULL;
21028 }
21029
21030
21031 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21032 PyObject *resultobj;
21033 wxPrinter *arg1 = (wxPrinter *) 0 ;
21034 wxWindow *arg2 = (wxWindow *) 0 ;
21035 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21036 int arg4 = (int) True ;
21037 bool result;
21038 PyObject * obj0 = 0 ;
21039 PyObject * obj1 = 0 ;
21040 PyObject * obj2 = 0 ;
21041 PyObject * obj3 = 0 ;
21042 char *kwnames[] = {
21043 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21044 };
21045
21046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21051 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21053 if (obj3) {
21054 arg4 = (int) SWIG_AsInt(obj3);
21055 if (PyErr_Occurred()) SWIG_fail;
21056 }
21057 {
21058 PyThreadState* __tstate = wxPyBeginAllowThreads();
21059 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21060
21061 wxPyEndAllowThreads(__tstate);
21062 if (PyErr_Occurred()) SWIG_fail;
21063 }
21064 {
21065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21066 }
21067 return resultobj;
21068 fail:
21069 return NULL;
21070 }
21071
21072
21073 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21074 PyObject *resultobj;
21075 wxPrinter *arg1 = (wxPrinter *) 0 ;
21076 wxWindow *arg2 = (wxWindow *) 0 ;
21077 wxDC *result;
21078 PyObject * obj0 = 0 ;
21079 PyObject * obj1 = 0 ;
21080 char *kwnames[] = {
21081 (char *) "self",(char *) "parent", NULL
21082 };
21083
21084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21089 {
21090 PyThreadState* __tstate = wxPyBeginAllowThreads();
21091 result = (wxDC *)(arg1)->PrintDialog(arg2);
21092
21093 wxPyEndAllowThreads(__tstate);
21094 if (PyErr_Occurred()) SWIG_fail;
21095 }
21096 {
21097 resultobj = wxPyMake_wxObject(result);
21098 }
21099 return resultobj;
21100 fail:
21101 return NULL;
21102 }
21103
21104
21105 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21106 PyObject *resultobj;
21107 wxPrinter *arg1 = (wxPrinter *) 0 ;
21108 wxWindow *arg2 = (wxWindow *) 0 ;
21109 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21110 wxString *arg4 = 0 ;
21111 bool temp4 = False ;
21112 PyObject * obj0 = 0 ;
21113 PyObject * obj1 = 0 ;
21114 PyObject * obj2 = 0 ;
21115 PyObject * obj3 = 0 ;
21116 char *kwnames[] = {
21117 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21123 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21125 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21127 {
21128 arg4 = wxString_in_helper(obj3);
21129 if (arg4 == NULL) SWIG_fail;
21130 temp4 = True;
21131 }
21132 {
21133 PyThreadState* __tstate = wxPyBeginAllowThreads();
21134 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21135
21136 wxPyEndAllowThreads(__tstate);
21137 if (PyErr_Occurred()) SWIG_fail;
21138 }
21139 Py_INCREF(Py_None); resultobj = Py_None;
21140 {
21141 if (temp4)
21142 delete arg4;
21143 }
21144 return resultobj;
21145 fail:
21146 {
21147 if (temp4)
21148 delete arg4;
21149 }
21150 return NULL;
21151 }
21152
21153
21154 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21155 PyObject *resultobj;
21156 wxPrinter *arg1 = (wxPrinter *) 0 ;
21157 wxWindow *arg2 = (wxWindow *) 0 ;
21158 bool result;
21159 PyObject * obj0 = 0 ;
21160 PyObject * obj1 = 0 ;
21161 char *kwnames[] = {
21162 (char *) "self",(char *) "parent", NULL
21163 };
21164
21165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21168 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21170 {
21171 PyThreadState* __tstate = wxPyBeginAllowThreads();
21172 result = (bool)(arg1)->Setup(arg2);
21173
21174 wxPyEndAllowThreads(__tstate);
21175 if (PyErr_Occurred()) SWIG_fail;
21176 }
21177 {
21178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21179 }
21180 return resultobj;
21181 fail:
21182 return NULL;
21183 }
21184
21185
21186 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21187 PyObject *resultobj;
21188 wxPrinter *arg1 = (wxPrinter *) 0 ;
21189 bool result;
21190 PyObject * obj0 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21198 {
21199 PyThreadState* __tstate = wxPyBeginAllowThreads();
21200 result = (bool)(arg1)->GetAbort();
21201
21202 wxPyEndAllowThreads(__tstate);
21203 if (PyErr_Occurred()) SWIG_fail;
21204 }
21205 {
21206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21207 }
21208 return resultobj;
21209 fail:
21210 return NULL;
21211 }
21212
21213
21214 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21215 PyObject *resultobj;
21216 int result;
21217 char *kwnames[] = {
21218 NULL
21219 };
21220
21221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21222 {
21223 PyThreadState* __tstate = wxPyBeginAllowThreads();
21224 result = (int)wxPrinter::GetLastError();
21225
21226 wxPyEndAllowThreads(__tstate);
21227 if (PyErr_Occurred()) SWIG_fail;
21228 }
21229 resultobj = SWIG_FromInt((int)result);
21230 return resultobj;
21231 fail:
21232 return NULL;
21233 }
21234
21235
21236 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21237 PyObject *obj;
21238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21239 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21240 Py_INCREF(obj);
21241 return Py_BuildValue((char *)"");
21242 }
21243 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21244 PyObject *resultobj;
21245 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21246 wxString *arg1 = (wxString *) &arg1_defvalue ;
21247 wxPyPrintout *result;
21248 bool temp1 = False ;
21249 PyObject * obj0 = 0 ;
21250 char *kwnames[] = {
21251 (char *) "title", NULL
21252 };
21253
21254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21255 if (obj0) {
21256 {
21257 arg1 = wxString_in_helper(obj0);
21258 if (arg1 == NULL) SWIG_fail;
21259 temp1 = True;
21260 }
21261 }
21262 {
21263 PyThreadState* __tstate = wxPyBeginAllowThreads();
21264 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21265
21266 wxPyEndAllowThreads(__tstate);
21267 if (PyErr_Occurred()) SWIG_fail;
21268 }
21269 {
21270 resultobj = wxPyMake_wxObject(result);
21271 }
21272 {
21273 if (temp1)
21274 delete arg1;
21275 }
21276 return resultobj;
21277 fail:
21278 {
21279 if (temp1)
21280 delete arg1;
21281 }
21282 return NULL;
21283 }
21284
21285
21286 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21287 PyObject *resultobj;
21288 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21289 PyObject *arg2 = (PyObject *) 0 ;
21290 PyObject *arg3 = (PyObject *) 0 ;
21291 PyObject * obj0 = 0 ;
21292 PyObject * obj1 = 0 ;
21293 PyObject * obj2 = 0 ;
21294 char *kwnames[] = {
21295 (char *) "self",(char *) "self",(char *) "_class", NULL
21296 };
21297
21298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21301 arg2 = obj1;
21302 arg3 = obj2;
21303 {
21304 PyThreadState* __tstate = wxPyBeginAllowThreads();
21305 (arg1)->_setCallbackInfo(arg2,arg3);
21306
21307 wxPyEndAllowThreads(__tstate);
21308 if (PyErr_Occurred()) SWIG_fail;
21309 }
21310 Py_INCREF(Py_None); resultobj = Py_None;
21311 return resultobj;
21312 fail:
21313 return NULL;
21314 }
21315
21316
21317 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21318 PyObject *resultobj;
21319 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21320 wxString result;
21321 PyObject * obj0 = 0 ;
21322 char *kwnames[] = {
21323 (char *) "self", NULL
21324 };
21325
21326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21329 {
21330 PyThreadState* __tstate = wxPyBeginAllowThreads();
21331 result = ((wxPyPrintout const *)arg1)->GetTitle();
21332
21333 wxPyEndAllowThreads(__tstate);
21334 if (PyErr_Occurred()) SWIG_fail;
21335 }
21336 {
21337 #if wxUSE_UNICODE
21338 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21339 #else
21340 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21341 #endif
21342 }
21343 return resultobj;
21344 fail:
21345 return NULL;
21346 }
21347
21348
21349 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21350 PyObject *resultobj;
21351 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21352 wxDC *result;
21353 PyObject * obj0 = 0 ;
21354 char *kwnames[] = {
21355 (char *) "self", NULL
21356 };
21357
21358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 result = (wxDC *)(arg1)->GetDC();
21364
21365 wxPyEndAllowThreads(__tstate);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 {
21369 resultobj = wxPyMake_wxObject(result);
21370 }
21371 return resultobj;
21372 fail:
21373 return NULL;
21374 }
21375
21376
21377 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21378 PyObject *resultobj;
21379 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21380 wxDC *arg2 = (wxDC *) 0 ;
21381 PyObject * obj0 = 0 ;
21382 PyObject * obj1 = 0 ;
21383 char *kwnames[] = {
21384 (char *) "self",(char *) "dc", NULL
21385 };
21386
21387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21392 {
21393 PyThreadState* __tstate = wxPyBeginAllowThreads();
21394 (arg1)->SetDC(arg2);
21395
21396 wxPyEndAllowThreads(__tstate);
21397 if (PyErr_Occurred()) SWIG_fail;
21398 }
21399 Py_INCREF(Py_None); resultobj = Py_None;
21400 return resultobj;
21401 fail:
21402 return NULL;
21403 }
21404
21405
21406 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21407 PyObject *resultobj;
21408 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21409 int arg2 ;
21410 int arg3 ;
21411 PyObject * obj0 = 0 ;
21412 PyObject * obj1 = 0 ;
21413 PyObject * obj2 = 0 ;
21414 char *kwnames[] = {
21415 (char *) "self",(char *) "w",(char *) "h", NULL
21416 };
21417
21418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21421 arg2 = (int) SWIG_AsInt(obj1);
21422 if (PyErr_Occurred()) SWIG_fail;
21423 arg3 = (int) SWIG_AsInt(obj2);
21424 if (PyErr_Occurred()) SWIG_fail;
21425 {
21426 PyThreadState* __tstate = wxPyBeginAllowThreads();
21427 (arg1)->SetPageSizePixels(arg2,arg3);
21428
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 Py_INCREF(Py_None); resultobj = Py_None;
21433 return resultobj;
21434 fail:
21435 return NULL;
21436 }
21437
21438
21439 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21440 PyObject *resultobj;
21441 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21442 int *arg2 = (int *) 0 ;
21443 int *arg3 = (int *) 0 ;
21444 int temp2 ;
21445 int temp3 ;
21446 PyObject * obj0 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self", NULL
21449 };
21450
21451 arg2 = &temp2;
21452 arg3 = &temp3;
21453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21456 {
21457 PyThreadState* __tstate = wxPyBeginAllowThreads();
21458 (arg1)->GetPageSizePixels(arg2,arg3);
21459
21460 wxPyEndAllowThreads(__tstate);
21461 if (PyErr_Occurred()) SWIG_fail;
21462 }
21463 Py_INCREF(Py_None); resultobj = Py_None;
21464 {
21465 PyObject *o = PyInt_FromLong((long) (*arg2));
21466 resultobj = t_output_helper(resultobj,o);
21467 }
21468 {
21469 PyObject *o = PyInt_FromLong((long) (*arg3));
21470 resultobj = t_output_helper(resultobj,o);
21471 }
21472 return resultobj;
21473 fail:
21474 return NULL;
21475 }
21476
21477
21478 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21479 PyObject *resultobj;
21480 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21481 int arg2 ;
21482 int arg3 ;
21483 PyObject * obj0 = 0 ;
21484 PyObject * obj1 = 0 ;
21485 PyObject * obj2 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self",(char *) "w",(char *) "h", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21493 arg2 = (int) SWIG_AsInt(obj1);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 arg3 = (int) SWIG_AsInt(obj2);
21496 if (PyErr_Occurred()) SWIG_fail;
21497 {
21498 PyThreadState* __tstate = wxPyBeginAllowThreads();
21499 (arg1)->SetPageSizeMM(arg2,arg3);
21500
21501 wxPyEndAllowThreads(__tstate);
21502 if (PyErr_Occurred()) SWIG_fail;
21503 }
21504 Py_INCREF(Py_None); resultobj = Py_None;
21505 return resultobj;
21506 fail:
21507 return NULL;
21508 }
21509
21510
21511 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21512 PyObject *resultobj;
21513 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21514 int *arg2 = (int *) 0 ;
21515 int *arg3 = (int *) 0 ;
21516 int temp2 ;
21517 int temp3 ;
21518 PyObject * obj0 = 0 ;
21519 char *kwnames[] = {
21520 (char *) "self", NULL
21521 };
21522
21523 arg2 = &temp2;
21524 arg3 = &temp3;
21525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21528 {
21529 PyThreadState* __tstate = wxPyBeginAllowThreads();
21530 (arg1)->GetPageSizeMM(arg2,arg3);
21531
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 Py_INCREF(Py_None); resultobj = Py_None;
21536 {
21537 PyObject *o = PyInt_FromLong((long) (*arg2));
21538 resultobj = t_output_helper(resultobj,o);
21539 }
21540 {
21541 PyObject *o = PyInt_FromLong((long) (*arg3));
21542 resultobj = t_output_helper(resultobj,o);
21543 }
21544 return resultobj;
21545 fail:
21546 return NULL;
21547 }
21548
21549
21550 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21551 PyObject *resultobj;
21552 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21553 int arg2 ;
21554 int arg3 ;
21555 PyObject * obj0 = 0 ;
21556 PyObject * obj1 = 0 ;
21557 PyObject * obj2 = 0 ;
21558 char *kwnames[] = {
21559 (char *) "self",(char *) "x",(char *) "y", NULL
21560 };
21561
21562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21565 arg2 = (int) SWIG_AsInt(obj1);
21566 if (PyErr_Occurred()) SWIG_fail;
21567 arg3 = (int) SWIG_AsInt(obj2);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 {
21570 PyThreadState* __tstate = wxPyBeginAllowThreads();
21571 (arg1)->SetPPIScreen(arg2,arg3);
21572
21573 wxPyEndAllowThreads(__tstate);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 }
21576 Py_INCREF(Py_None); resultobj = Py_None;
21577 return resultobj;
21578 fail:
21579 return NULL;
21580 }
21581
21582
21583 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21584 PyObject *resultobj;
21585 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21586 int *arg2 = (int *) 0 ;
21587 int *arg3 = (int *) 0 ;
21588 int temp2 ;
21589 int temp3 ;
21590 PyObject * obj0 = 0 ;
21591 char *kwnames[] = {
21592 (char *) "self", NULL
21593 };
21594
21595 arg2 = &temp2;
21596 arg3 = &temp3;
21597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21600 {
21601 PyThreadState* __tstate = wxPyBeginAllowThreads();
21602 (arg1)->GetPPIScreen(arg2,arg3);
21603
21604 wxPyEndAllowThreads(__tstate);
21605 if (PyErr_Occurred()) SWIG_fail;
21606 }
21607 Py_INCREF(Py_None); resultobj = Py_None;
21608 {
21609 PyObject *o = PyInt_FromLong((long) (*arg2));
21610 resultobj = t_output_helper(resultobj,o);
21611 }
21612 {
21613 PyObject *o = PyInt_FromLong((long) (*arg3));
21614 resultobj = t_output_helper(resultobj,o);
21615 }
21616 return resultobj;
21617 fail:
21618 return NULL;
21619 }
21620
21621
21622 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21623 PyObject *resultobj;
21624 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21625 int arg2 ;
21626 int arg3 ;
21627 PyObject * obj0 = 0 ;
21628 PyObject * obj1 = 0 ;
21629 PyObject * obj2 = 0 ;
21630 char *kwnames[] = {
21631 (char *) "self",(char *) "x",(char *) "y", NULL
21632 };
21633
21634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21637 arg2 = (int) SWIG_AsInt(obj1);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 arg3 = (int) SWIG_AsInt(obj2);
21640 if (PyErr_Occurred()) SWIG_fail;
21641 {
21642 PyThreadState* __tstate = wxPyBeginAllowThreads();
21643 (arg1)->SetPPIPrinter(arg2,arg3);
21644
21645 wxPyEndAllowThreads(__tstate);
21646 if (PyErr_Occurred()) SWIG_fail;
21647 }
21648 Py_INCREF(Py_None); resultobj = Py_None;
21649 return resultobj;
21650 fail:
21651 return NULL;
21652 }
21653
21654
21655 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21656 PyObject *resultobj;
21657 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21658 int *arg2 = (int *) 0 ;
21659 int *arg3 = (int *) 0 ;
21660 int temp2 ;
21661 int temp3 ;
21662 PyObject * obj0 = 0 ;
21663 char *kwnames[] = {
21664 (char *) "self", NULL
21665 };
21666
21667 arg2 = &temp2;
21668 arg3 = &temp3;
21669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 (arg1)->GetPPIPrinter(arg2,arg3);
21675
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 Py_INCREF(Py_None); resultobj = Py_None;
21680 {
21681 PyObject *o = PyInt_FromLong((long) (*arg2));
21682 resultobj = t_output_helper(resultobj,o);
21683 }
21684 {
21685 PyObject *o = PyInt_FromLong((long) (*arg3));
21686 resultobj = t_output_helper(resultobj,o);
21687 }
21688 return resultobj;
21689 fail:
21690 return NULL;
21691 }
21692
21693
21694 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21695 PyObject *resultobj;
21696 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21697 bool result;
21698 PyObject * obj0 = 0 ;
21699 char *kwnames[] = {
21700 (char *) "self", NULL
21701 };
21702
21703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21706 {
21707 PyThreadState* __tstate = wxPyBeginAllowThreads();
21708 result = (bool)(arg1)->IsPreview();
21709
21710 wxPyEndAllowThreads(__tstate);
21711 if (PyErr_Occurred()) SWIG_fail;
21712 }
21713 {
21714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21715 }
21716 return resultobj;
21717 fail:
21718 return NULL;
21719 }
21720
21721
21722 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21723 PyObject *resultobj;
21724 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21725 bool arg2 ;
21726 PyObject * obj0 = 0 ;
21727 PyObject * obj1 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "self",(char *) "p", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21735 arg2 = (bool) SWIG_AsBool(obj1);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 {
21738 PyThreadState* __tstate = wxPyBeginAllowThreads();
21739 (arg1)->SetIsPreview(arg2);
21740
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 Py_INCREF(Py_None); resultobj = Py_None;
21745 return resultobj;
21746 fail:
21747 return NULL;
21748 }
21749
21750
21751 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21752 PyObject *resultobj;
21753 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21754 int arg2 ;
21755 int arg3 ;
21756 bool result;
21757 PyObject * obj0 = 0 ;
21758 PyObject * obj1 = 0 ;
21759 PyObject * obj2 = 0 ;
21760 char *kwnames[] = {
21761 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21762 };
21763
21764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21767 arg2 = (int) SWIG_AsInt(obj1);
21768 if (PyErr_Occurred()) SWIG_fail;
21769 arg3 = (int) SWIG_AsInt(obj2);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 {
21772 PyThreadState* __tstate = wxPyBeginAllowThreads();
21773 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21774
21775 wxPyEndAllowThreads(__tstate);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 }
21778 {
21779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21780 }
21781 return resultobj;
21782 fail:
21783 return NULL;
21784 }
21785
21786
21787 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21788 PyObject *resultobj;
21789 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21790 PyObject * obj0 = 0 ;
21791 char *kwnames[] = {
21792 (char *) "self", NULL
21793 };
21794
21795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21798 {
21799 PyThreadState* __tstate = wxPyBeginAllowThreads();
21800 (arg1)->base_OnEndDocument();
21801
21802 wxPyEndAllowThreads(__tstate);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 }
21805 Py_INCREF(Py_None); resultobj = Py_None;
21806 return resultobj;
21807 fail:
21808 return NULL;
21809 }
21810
21811
21812 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21813 PyObject *resultobj;
21814 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21815 PyObject * obj0 = 0 ;
21816 char *kwnames[] = {
21817 (char *) "self", NULL
21818 };
21819
21820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21823 {
21824 PyThreadState* __tstate = wxPyBeginAllowThreads();
21825 (arg1)->base_OnBeginPrinting();
21826
21827 wxPyEndAllowThreads(__tstate);
21828 if (PyErr_Occurred()) SWIG_fail;
21829 }
21830 Py_INCREF(Py_None); resultobj = Py_None;
21831 return resultobj;
21832 fail:
21833 return NULL;
21834 }
21835
21836
21837 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21838 PyObject *resultobj;
21839 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21840 PyObject * obj0 = 0 ;
21841 char *kwnames[] = {
21842 (char *) "self", NULL
21843 };
21844
21845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
21846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21848 {
21849 PyThreadState* __tstate = wxPyBeginAllowThreads();
21850 (arg1)->base_OnEndPrinting();
21851
21852 wxPyEndAllowThreads(__tstate);
21853 if (PyErr_Occurred()) SWIG_fail;
21854 }
21855 Py_INCREF(Py_None); resultobj = Py_None;
21856 return resultobj;
21857 fail:
21858 return NULL;
21859 }
21860
21861
21862 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21863 PyObject *resultobj;
21864 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21865 PyObject * obj0 = 0 ;
21866 char *kwnames[] = {
21867 (char *) "self", NULL
21868 };
21869
21870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
21871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21873 {
21874 PyThreadState* __tstate = wxPyBeginAllowThreads();
21875 (arg1)->base_OnPreparePrinting();
21876
21877 wxPyEndAllowThreads(__tstate);
21878 if (PyErr_Occurred()) SWIG_fail;
21879 }
21880 Py_INCREF(Py_None); resultobj = Py_None;
21881 return resultobj;
21882 fail:
21883 return NULL;
21884 }
21885
21886
21887 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21888 PyObject *resultobj;
21889 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21890 int arg2 ;
21891 bool result;
21892 PyObject * obj0 = 0 ;
21893 PyObject * obj1 = 0 ;
21894 char *kwnames[] = {
21895 (char *) "self",(char *) "page", NULL
21896 };
21897
21898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
21899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21901 arg2 = (int) SWIG_AsInt(obj1);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 {
21904 PyThreadState* __tstate = wxPyBeginAllowThreads();
21905 result = (bool)(arg1)->base_HasPage(arg2);
21906
21907 wxPyEndAllowThreads(__tstate);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 }
21910 {
21911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21912 }
21913 return resultobj;
21914 fail:
21915 return NULL;
21916 }
21917
21918
21919 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21920 PyObject *resultobj;
21921 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21922 int *arg2 = (int *) 0 ;
21923 int *arg3 = (int *) 0 ;
21924 int *arg4 = (int *) 0 ;
21925 int *arg5 = (int *) 0 ;
21926 int temp2 ;
21927 int temp3 ;
21928 int temp4 ;
21929 int temp5 ;
21930 PyObject * obj0 = 0 ;
21931 char *kwnames[] = {
21932 (char *) "self", NULL
21933 };
21934
21935 arg2 = &temp2;
21936 arg3 = &temp3;
21937 arg4 = &temp4;
21938 arg5 = &temp5;
21939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
21940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21942 {
21943 PyThreadState* __tstate = wxPyBeginAllowThreads();
21944 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
21945
21946 wxPyEndAllowThreads(__tstate);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 }
21949 Py_INCREF(Py_None); resultobj = Py_None;
21950 {
21951 PyObject *o = PyInt_FromLong((long) (*arg2));
21952 resultobj = t_output_helper(resultobj,o);
21953 }
21954 {
21955 PyObject *o = PyInt_FromLong((long) (*arg3));
21956 resultobj = t_output_helper(resultobj,o);
21957 }
21958 {
21959 PyObject *o = PyInt_FromLong((long) (*arg4));
21960 resultobj = t_output_helper(resultobj,o);
21961 }
21962 {
21963 PyObject *o = PyInt_FromLong((long) (*arg5));
21964 resultobj = t_output_helper(resultobj,o);
21965 }
21966 return resultobj;
21967 fail:
21968 return NULL;
21969 }
21970
21971
21972 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
21973 PyObject *obj;
21974 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21975 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
21976 Py_INCREF(obj);
21977 return Py_BuildValue((char *)"");
21978 }
21979 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21980 PyObject *resultobj;
21981 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21982 wxWindow *arg2 = (wxWindow *) 0 ;
21983 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21984 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21985 wxSize const &arg4_defvalue = wxDefaultSize ;
21986 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21987 long arg5 = (long) 0 ;
21988 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
21989 wxString *arg6 = (wxString *) &arg6_defvalue ;
21990 wxPreviewCanvas *result;
21991 wxPoint temp3 ;
21992 wxSize temp4 ;
21993 bool temp6 = False ;
21994 PyObject * obj0 = 0 ;
21995 PyObject * obj1 = 0 ;
21996 PyObject * obj2 = 0 ;
21997 PyObject * obj3 = 0 ;
21998 PyObject * obj4 = 0 ;
21999 PyObject * obj5 = 0 ;
22000 char *kwnames[] = {
22001 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22002 };
22003
22004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22009 if (obj2) {
22010 {
22011 arg3 = &temp3;
22012 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22013 }
22014 }
22015 if (obj3) {
22016 {
22017 arg4 = &temp4;
22018 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22019 }
22020 }
22021 if (obj4) {
22022 arg5 = (long) SWIG_AsLong(obj4);
22023 if (PyErr_Occurred()) SWIG_fail;
22024 }
22025 if (obj5) {
22026 {
22027 arg6 = wxString_in_helper(obj5);
22028 if (arg6 == NULL) SWIG_fail;
22029 temp6 = True;
22030 }
22031 }
22032 {
22033 PyThreadState* __tstate = wxPyBeginAllowThreads();
22034 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22035
22036 wxPyEndAllowThreads(__tstate);
22037 if (PyErr_Occurred()) SWIG_fail;
22038 }
22039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22040 {
22041 if (temp6)
22042 delete arg6;
22043 }
22044 return resultobj;
22045 fail:
22046 {
22047 if (temp6)
22048 delete arg6;
22049 }
22050 return NULL;
22051 }
22052
22053
22054 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22055 PyObject *obj;
22056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22057 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22058 Py_INCREF(obj);
22059 return Py_BuildValue((char *)"");
22060 }
22061 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22062 PyObject *resultobj;
22063 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22064 wxFrame *arg2 = (wxFrame *) 0 ;
22065 wxString *arg3 = 0 ;
22066 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22067 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22068 wxSize const &arg5_defvalue = wxDefaultSize ;
22069 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22070 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22071 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22072 wxString *arg7 = (wxString *) &arg7_defvalue ;
22073 wxPreviewFrame *result;
22074 bool temp3 = False ;
22075 wxPoint temp4 ;
22076 wxSize temp5 ;
22077 bool temp7 = False ;
22078 PyObject * obj0 = 0 ;
22079 PyObject * obj1 = 0 ;
22080 PyObject * obj2 = 0 ;
22081 PyObject * obj3 = 0 ;
22082 PyObject * obj4 = 0 ;
22083 PyObject * obj5 = 0 ;
22084 PyObject * obj6 = 0 ;
22085 char *kwnames[] = {
22086 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22087 };
22088
22089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22094 {
22095 arg3 = wxString_in_helper(obj2);
22096 if (arg3 == NULL) SWIG_fail;
22097 temp3 = True;
22098 }
22099 if (obj3) {
22100 {
22101 arg4 = &temp4;
22102 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22103 }
22104 }
22105 if (obj4) {
22106 {
22107 arg5 = &temp5;
22108 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22109 }
22110 }
22111 if (obj5) {
22112 arg6 = (long) SWIG_AsLong(obj5);
22113 if (PyErr_Occurred()) SWIG_fail;
22114 }
22115 if (obj6) {
22116 {
22117 arg7 = wxString_in_helper(obj6);
22118 if (arg7 == NULL) SWIG_fail;
22119 temp7 = True;
22120 }
22121 }
22122 {
22123 PyThreadState* __tstate = wxPyBeginAllowThreads();
22124 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22125
22126 wxPyEndAllowThreads(__tstate);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 }
22129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22130 {
22131 if (temp3)
22132 delete arg3;
22133 }
22134 {
22135 if (temp7)
22136 delete arg7;
22137 }
22138 return resultobj;
22139 fail:
22140 {
22141 if (temp3)
22142 delete arg3;
22143 }
22144 {
22145 if (temp7)
22146 delete arg7;
22147 }
22148 return NULL;
22149 }
22150
22151
22152 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22153 PyObject *resultobj;
22154 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22155 PyObject * obj0 = 0 ;
22156 char *kwnames[] = {
22157 (char *) "self", NULL
22158 };
22159
22160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22163 {
22164 PyThreadState* __tstate = wxPyBeginAllowThreads();
22165 (arg1)->Initialize();
22166
22167 wxPyEndAllowThreads(__tstate);
22168 if (PyErr_Occurred()) SWIG_fail;
22169 }
22170 Py_INCREF(Py_None); resultobj = Py_None;
22171 return resultobj;
22172 fail:
22173 return NULL;
22174 }
22175
22176
22177 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22178 PyObject *resultobj;
22179 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22180 PyObject * obj0 = 0 ;
22181 char *kwnames[] = {
22182 (char *) "self", NULL
22183 };
22184
22185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22188 {
22189 PyThreadState* __tstate = wxPyBeginAllowThreads();
22190 (arg1)->CreateControlBar();
22191
22192 wxPyEndAllowThreads(__tstate);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
22195 Py_INCREF(Py_None); resultobj = Py_None;
22196 return resultobj;
22197 fail:
22198 return NULL;
22199 }
22200
22201
22202 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22203 PyObject *resultobj;
22204 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22205 PyObject * obj0 = 0 ;
22206 char *kwnames[] = {
22207 (char *) "self", NULL
22208 };
22209
22210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22213 {
22214 PyThreadState* __tstate = wxPyBeginAllowThreads();
22215 (arg1)->CreateCanvas();
22216
22217 wxPyEndAllowThreads(__tstate);
22218 if (PyErr_Occurred()) SWIG_fail;
22219 }
22220 Py_INCREF(Py_None); resultobj = Py_None;
22221 return resultobj;
22222 fail:
22223 return NULL;
22224 }
22225
22226
22227 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22228 PyObject *resultobj;
22229 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22230 wxPreviewControlBar *result;
22231 PyObject * obj0 = 0 ;
22232 char *kwnames[] = {
22233 (char *) "self", NULL
22234 };
22235
22236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22239 {
22240 PyThreadState* __tstate = wxPyBeginAllowThreads();
22241 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22242
22243 wxPyEndAllowThreads(__tstate);
22244 if (PyErr_Occurred()) SWIG_fail;
22245 }
22246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22247 return resultobj;
22248 fail:
22249 return NULL;
22250 }
22251
22252
22253 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22254 PyObject *obj;
22255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22256 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22257 Py_INCREF(obj);
22258 return Py_BuildValue((char *)"");
22259 }
22260 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22261 PyObject *resultobj;
22262 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22263 long arg2 ;
22264 wxWindow *arg3 = (wxWindow *) 0 ;
22265 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22266 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22267 wxSize const &arg5_defvalue = wxDefaultSize ;
22268 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22269 long arg6 = (long) wxTAB_TRAVERSAL ;
22270 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22271 wxString *arg7 = (wxString *) &arg7_defvalue ;
22272 wxPreviewControlBar *result;
22273 wxPoint temp4 ;
22274 wxSize temp5 ;
22275 bool temp7 = False ;
22276 PyObject * obj0 = 0 ;
22277 PyObject * obj1 = 0 ;
22278 PyObject * obj2 = 0 ;
22279 PyObject * obj3 = 0 ;
22280 PyObject * obj4 = 0 ;
22281 PyObject * obj5 = 0 ;
22282 PyObject * obj6 = 0 ;
22283 char *kwnames[] = {
22284 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22285 };
22286
22287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22290 arg2 = (long) SWIG_AsLong(obj1);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22294 if (obj3) {
22295 {
22296 arg4 = &temp4;
22297 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22298 }
22299 }
22300 if (obj4) {
22301 {
22302 arg5 = &temp5;
22303 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22304 }
22305 }
22306 if (obj5) {
22307 arg6 = (long) SWIG_AsLong(obj5);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
22310 if (obj6) {
22311 {
22312 arg7 = wxString_in_helper(obj6);
22313 if (arg7 == NULL) SWIG_fail;
22314 temp7 = True;
22315 }
22316 }
22317 {
22318 PyThreadState* __tstate = wxPyBeginAllowThreads();
22319 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22320
22321 wxPyEndAllowThreads(__tstate);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 }
22324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22325 {
22326 if (temp7)
22327 delete arg7;
22328 }
22329 return resultobj;
22330 fail:
22331 {
22332 if (temp7)
22333 delete arg7;
22334 }
22335 return NULL;
22336 }
22337
22338
22339 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22340 PyObject *resultobj;
22341 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22342 int result;
22343 PyObject * obj0 = 0 ;
22344 char *kwnames[] = {
22345 (char *) "self", NULL
22346 };
22347
22348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22351 {
22352 PyThreadState* __tstate = wxPyBeginAllowThreads();
22353 result = (int)(arg1)->GetZoomControl();
22354
22355 wxPyEndAllowThreads(__tstate);
22356 if (PyErr_Occurred()) SWIG_fail;
22357 }
22358 resultobj = SWIG_FromInt((int)result);
22359 return resultobj;
22360 fail:
22361 return NULL;
22362 }
22363
22364
22365 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22366 PyObject *resultobj;
22367 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22368 int arg2 ;
22369 PyObject * obj0 = 0 ;
22370 PyObject * obj1 = 0 ;
22371 char *kwnames[] = {
22372 (char *) "self",(char *) "zoom", NULL
22373 };
22374
22375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22378 arg2 = (int) SWIG_AsInt(obj1);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 {
22381 PyThreadState* __tstate = wxPyBeginAllowThreads();
22382 (arg1)->SetZoomControl(arg2);
22383
22384 wxPyEndAllowThreads(__tstate);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 }
22387 Py_INCREF(Py_None); resultobj = Py_None;
22388 return resultobj;
22389 fail:
22390 return NULL;
22391 }
22392
22393
22394 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22395 PyObject *resultobj;
22396 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22397 wxPrintPreview *result;
22398 PyObject * obj0 = 0 ;
22399 char *kwnames[] = {
22400 (char *) "self", NULL
22401 };
22402
22403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22409
22410 wxPyEndAllowThreads(__tstate);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22414 return resultobj;
22415 fail:
22416 return NULL;
22417 }
22418
22419
22420 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22421 PyObject *resultobj;
22422 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22423 PyObject * obj0 = 0 ;
22424 char *kwnames[] = {
22425 (char *) "self", NULL
22426 };
22427
22428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22431 {
22432 PyThreadState* __tstate = wxPyBeginAllowThreads();
22433 (arg1)->OnNext();
22434
22435 wxPyEndAllowThreads(__tstate);
22436 if (PyErr_Occurred()) SWIG_fail;
22437 }
22438 Py_INCREF(Py_None); resultobj = Py_None;
22439 return resultobj;
22440 fail:
22441 return NULL;
22442 }
22443
22444
22445 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22446 PyObject *resultobj;
22447 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22448 PyObject * obj0 = 0 ;
22449 char *kwnames[] = {
22450 (char *) "self", NULL
22451 };
22452
22453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22456 {
22457 PyThreadState* __tstate = wxPyBeginAllowThreads();
22458 (arg1)->OnPrevious();
22459
22460 wxPyEndAllowThreads(__tstate);
22461 if (PyErr_Occurred()) SWIG_fail;
22462 }
22463 Py_INCREF(Py_None); resultobj = Py_None;
22464 return resultobj;
22465 fail:
22466 return NULL;
22467 }
22468
22469
22470 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22471 PyObject *resultobj;
22472 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22473 PyObject * obj0 = 0 ;
22474 char *kwnames[] = {
22475 (char *) "self", NULL
22476 };
22477
22478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22481 {
22482 PyThreadState* __tstate = wxPyBeginAllowThreads();
22483 (arg1)->OnFirst();
22484
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 Py_INCREF(Py_None); resultobj = Py_None;
22489 return resultobj;
22490 fail:
22491 return NULL;
22492 }
22493
22494
22495 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22496 PyObject *resultobj;
22497 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22498 PyObject * obj0 = 0 ;
22499 char *kwnames[] = {
22500 (char *) "self", NULL
22501 };
22502
22503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22506 {
22507 PyThreadState* __tstate = wxPyBeginAllowThreads();
22508 (arg1)->OnLast();
22509
22510 wxPyEndAllowThreads(__tstate);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 }
22513 Py_INCREF(Py_None); resultobj = Py_None;
22514 return resultobj;
22515 fail:
22516 return NULL;
22517 }
22518
22519
22520 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22521 PyObject *resultobj;
22522 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22523 PyObject * obj0 = 0 ;
22524 char *kwnames[] = {
22525 (char *) "self", NULL
22526 };
22527
22528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22531 {
22532 PyThreadState* __tstate = wxPyBeginAllowThreads();
22533 (arg1)->OnGoto();
22534
22535 wxPyEndAllowThreads(__tstate);
22536 if (PyErr_Occurred()) SWIG_fail;
22537 }
22538 Py_INCREF(Py_None); resultobj = Py_None;
22539 return resultobj;
22540 fail:
22541 return NULL;
22542 }
22543
22544
22545 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22546 PyObject *obj;
22547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22548 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22549 Py_INCREF(obj);
22550 return Py_BuildValue((char *)"");
22551 }
22552 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22553 PyObject *resultobj;
22554 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22555 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22556 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22557 wxPrintPreview *result;
22558 PyObject * obj0 = 0 ;
22559 PyObject * obj1 = 0 ;
22560 PyObject * obj2 = 0 ;
22561
22562 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22565 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22567 if (obj2) {
22568 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22570 }
22571 {
22572 PyThreadState* __tstate = wxPyBeginAllowThreads();
22573 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22574
22575 wxPyEndAllowThreads(__tstate);
22576 if (PyErr_Occurred()) SWIG_fail;
22577 }
22578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22579 return resultobj;
22580 fail:
22581 return NULL;
22582 }
22583
22584
22585 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22586 PyObject *resultobj;
22587 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22588 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22589 wxPrintData *arg3 = (wxPrintData *) 0 ;
22590 wxPrintPreview *result;
22591 PyObject * obj0 = 0 ;
22592 PyObject * obj1 = 0 ;
22593 PyObject * obj2 = 0 ;
22594
22595 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22600 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22602 {
22603 PyThreadState* __tstate = wxPyBeginAllowThreads();
22604 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22605
22606 wxPyEndAllowThreads(__tstate);
22607 if (PyErr_Occurred()) SWIG_fail;
22608 }
22609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22610 return resultobj;
22611 fail:
22612 return NULL;
22613 }
22614
22615
22616 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22617 int argc;
22618 PyObject *argv[4];
22619 int ii;
22620
22621 argc = PyObject_Length(args);
22622 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22623 argv[ii] = PyTuple_GetItem(args,ii);
22624 }
22625 if ((argc >= 2) && (argc <= 3)) {
22626 int _v;
22627 {
22628 void *ptr;
22629 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22630 _v = 0;
22631 PyErr_Clear();
22632 } else {
22633 _v = 1;
22634 }
22635 }
22636 if (_v) {
22637 {
22638 void *ptr;
22639 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22640 _v = 0;
22641 PyErr_Clear();
22642 } else {
22643 _v = 1;
22644 }
22645 }
22646 if (_v) {
22647 if (argc <= 2) {
22648 return _wrap_new_PrintPreview__SWIG_0(self,args);
22649 }
22650 {
22651 void *ptr;
22652 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22653 _v = 0;
22654 PyErr_Clear();
22655 } else {
22656 _v = 1;
22657 }
22658 }
22659 if (_v) {
22660 return _wrap_new_PrintPreview__SWIG_0(self,args);
22661 }
22662 }
22663 }
22664 }
22665 if (argc == 3) {
22666 int _v;
22667 {
22668 void *ptr;
22669 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22670 _v = 0;
22671 PyErr_Clear();
22672 } else {
22673 _v = 1;
22674 }
22675 }
22676 if (_v) {
22677 {
22678 void *ptr;
22679 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22680 _v = 0;
22681 PyErr_Clear();
22682 } else {
22683 _v = 1;
22684 }
22685 }
22686 if (_v) {
22687 {
22688 void *ptr;
22689 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22690 _v = 0;
22691 PyErr_Clear();
22692 } else {
22693 _v = 1;
22694 }
22695 }
22696 if (_v) {
22697 return _wrap_new_PrintPreview__SWIG_1(self,args);
22698 }
22699 }
22700 }
22701 }
22702
22703 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22704 return NULL;
22705 }
22706
22707
22708 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22709 PyObject *resultobj;
22710 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22711 int arg2 ;
22712 bool result;
22713 PyObject * obj0 = 0 ;
22714 PyObject * obj1 = 0 ;
22715 char *kwnames[] = {
22716 (char *) "self",(char *) "pageNum", NULL
22717 };
22718
22719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22722 arg2 = (int) SWIG_AsInt(obj1);
22723 if (PyErr_Occurred()) SWIG_fail;
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 result = (bool)(arg1)->SetCurrentPage(arg2);
22727
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 {
22732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22733 }
22734 return resultobj;
22735 fail:
22736 return NULL;
22737 }
22738
22739
22740 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22741 PyObject *resultobj;
22742 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22743 int result;
22744 PyObject * obj0 = 0 ;
22745 char *kwnames[] = {
22746 (char *) "self", NULL
22747 };
22748
22749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22752 {
22753 PyThreadState* __tstate = wxPyBeginAllowThreads();
22754 result = (int)(arg1)->GetCurrentPage();
22755
22756 wxPyEndAllowThreads(__tstate);
22757 if (PyErr_Occurred()) SWIG_fail;
22758 }
22759 resultobj = SWIG_FromInt((int)result);
22760 return resultobj;
22761 fail:
22762 return NULL;
22763 }
22764
22765
22766 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22767 PyObject *resultobj;
22768 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22769 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22770 PyObject * obj0 = 0 ;
22771 PyObject * obj1 = 0 ;
22772 char *kwnames[] = {
22773 (char *) "self",(char *) "printout", NULL
22774 };
22775
22776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22781 {
22782 PyThreadState* __tstate = wxPyBeginAllowThreads();
22783 (arg1)->SetPrintout(arg2);
22784
22785 wxPyEndAllowThreads(__tstate);
22786 if (PyErr_Occurred()) SWIG_fail;
22787 }
22788 Py_INCREF(Py_None); resultobj = Py_None;
22789 return resultobj;
22790 fail:
22791 return NULL;
22792 }
22793
22794
22795 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22796 PyObject *resultobj;
22797 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22798 wxPyPrintout *result;
22799 PyObject * obj0 = 0 ;
22800 char *kwnames[] = {
22801 (char *) "self", NULL
22802 };
22803
22804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22807 {
22808 PyThreadState* __tstate = wxPyBeginAllowThreads();
22809 result = (wxPyPrintout *)(arg1)->GetPrintout();
22810
22811 wxPyEndAllowThreads(__tstate);
22812 if (PyErr_Occurred()) SWIG_fail;
22813 }
22814 {
22815 resultobj = wxPyMake_wxObject(result);
22816 }
22817 return resultobj;
22818 fail:
22819 return NULL;
22820 }
22821
22822
22823 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22824 PyObject *resultobj;
22825 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22826 wxPyPrintout *result;
22827 PyObject * obj0 = 0 ;
22828 char *kwnames[] = {
22829 (char *) "self", NULL
22830 };
22831
22832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
22833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22835 {
22836 PyThreadState* __tstate = wxPyBeginAllowThreads();
22837 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22838
22839 wxPyEndAllowThreads(__tstate);
22840 if (PyErr_Occurred()) SWIG_fail;
22841 }
22842 {
22843 resultobj = wxPyMake_wxObject(result);
22844 }
22845 return resultobj;
22846 fail:
22847 return NULL;
22848 }
22849
22850
22851 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22852 PyObject *resultobj;
22853 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22854 wxFrame *arg2 = (wxFrame *) 0 ;
22855 PyObject * obj0 = 0 ;
22856 PyObject * obj1 = 0 ;
22857 char *kwnames[] = {
22858 (char *) "self",(char *) "frame", NULL
22859 };
22860
22861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
22862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22866 {
22867 PyThreadState* __tstate = wxPyBeginAllowThreads();
22868 (arg1)->SetFrame(arg2);
22869
22870 wxPyEndAllowThreads(__tstate);
22871 if (PyErr_Occurred()) SWIG_fail;
22872 }
22873 Py_INCREF(Py_None); resultobj = Py_None;
22874 return resultobj;
22875 fail:
22876 return NULL;
22877 }
22878
22879
22880 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22881 PyObject *resultobj;
22882 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22883 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22884 PyObject * obj0 = 0 ;
22885 PyObject * obj1 = 0 ;
22886 char *kwnames[] = {
22887 (char *) "self",(char *) "canvas", NULL
22888 };
22889
22890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
22891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22893 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22895 {
22896 PyThreadState* __tstate = wxPyBeginAllowThreads();
22897 (arg1)->SetCanvas(arg2);
22898
22899 wxPyEndAllowThreads(__tstate);
22900 if (PyErr_Occurred()) SWIG_fail;
22901 }
22902 Py_INCREF(Py_None); resultobj = Py_None;
22903 return resultobj;
22904 fail:
22905 return NULL;
22906 }
22907
22908
22909 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22910 PyObject *resultobj;
22911 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22912 wxFrame *result;
22913 PyObject * obj0 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
22919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 result = (wxFrame *)(arg1)->GetFrame();
22924
22925 wxPyEndAllowThreads(__tstate);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 }
22928 {
22929 resultobj = wxPyMake_wxObject(result);
22930 }
22931 return resultobj;
22932 fail:
22933 return NULL;
22934 }
22935
22936
22937 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22938 PyObject *resultobj;
22939 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22940 wxPreviewCanvas *result;
22941 PyObject * obj0 = 0 ;
22942 char *kwnames[] = {
22943 (char *) "self", NULL
22944 };
22945
22946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
22947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22949 {
22950 PyThreadState* __tstate = wxPyBeginAllowThreads();
22951 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
22952
22953 wxPyEndAllowThreads(__tstate);
22954 if (PyErr_Occurred()) SWIG_fail;
22955 }
22956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
22957 return resultobj;
22958 fail:
22959 return NULL;
22960 }
22961
22962
22963 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22964 PyObject *resultobj;
22965 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22966 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22967 wxDC *arg3 = 0 ;
22968 bool result;
22969 PyObject * obj0 = 0 ;
22970 PyObject * obj1 = 0 ;
22971 PyObject * obj2 = 0 ;
22972 char *kwnames[] = {
22973 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22974 };
22975
22976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22981 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22982 SWIG_POINTER_EXCEPTION | 0)) == -1)
22983 SWIG_fail;
22984 if (arg3 == NULL) {
22985 PyErr_SetString(PyExc_TypeError,"null reference");
22986 SWIG_fail;
22987 }
22988 {
22989 PyThreadState* __tstate = wxPyBeginAllowThreads();
22990 result = (bool)(arg1)->PaintPage(arg2,*arg3);
22991
22992 wxPyEndAllowThreads(__tstate);
22993 if (PyErr_Occurred()) SWIG_fail;
22994 }
22995 {
22996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22997 }
22998 return resultobj;
22999 fail:
23000 return NULL;
23001 }
23002
23003
23004 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23005 PyObject *resultobj;
23006 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23007 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23008 wxDC *arg3 = 0 ;
23009 bool result;
23010 PyObject * obj0 = 0 ;
23011 PyObject * obj1 = 0 ;
23012 PyObject * obj2 = 0 ;
23013 char *kwnames[] = {
23014 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23015 };
23016
23017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23022 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23023 SWIG_POINTER_EXCEPTION | 0)) == -1)
23024 SWIG_fail;
23025 if (arg3 == NULL) {
23026 PyErr_SetString(PyExc_TypeError,"null reference");
23027 SWIG_fail;
23028 }
23029 {
23030 PyThreadState* __tstate = wxPyBeginAllowThreads();
23031 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23032
23033 wxPyEndAllowThreads(__tstate);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
23036 {
23037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23038 }
23039 return resultobj;
23040 fail:
23041 return NULL;
23042 }
23043
23044
23045 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23046 PyObject *resultobj;
23047 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23048 int arg2 ;
23049 bool result;
23050 PyObject * obj0 = 0 ;
23051 PyObject * obj1 = 0 ;
23052 char *kwnames[] = {
23053 (char *) "self",(char *) "pageNum", NULL
23054 };
23055
23056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23059 arg2 = (int) SWIG_AsInt(obj1);
23060 if (PyErr_Occurred()) SWIG_fail;
23061 {
23062 PyThreadState* __tstate = wxPyBeginAllowThreads();
23063 result = (bool)(arg1)->RenderPage(arg2);
23064
23065 wxPyEndAllowThreads(__tstate);
23066 if (PyErr_Occurred()) SWIG_fail;
23067 }
23068 {
23069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23070 }
23071 return resultobj;
23072 fail:
23073 return NULL;
23074 }
23075
23076
23077 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23078 PyObject *resultobj;
23079 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23080 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23081 PyObject * obj0 = 0 ;
23082 PyObject * obj1 = 0 ;
23083 char *kwnames[] = {
23084 (char *) "self",(char *) "canvas", NULL
23085 };
23086
23087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23092 {
23093 PyThreadState* __tstate = wxPyBeginAllowThreads();
23094 (arg1)->AdjustScrollbars(arg2);
23095
23096 wxPyEndAllowThreads(__tstate);
23097 if (PyErr_Occurred()) SWIG_fail;
23098 }
23099 Py_INCREF(Py_None); resultobj = Py_None;
23100 return resultobj;
23101 fail:
23102 return NULL;
23103 }
23104
23105
23106 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23107 PyObject *resultobj;
23108 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23109 wxPrintDialogData *result;
23110 PyObject * obj0 = 0 ;
23111 char *kwnames[] = {
23112 (char *) "self", NULL
23113 };
23114
23115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 {
23121 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23122 result = (wxPrintDialogData *) &_result_ref;
23123 }
23124
23125 wxPyEndAllowThreads(__tstate);
23126 if (PyErr_Occurred()) SWIG_fail;
23127 }
23128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23129 return resultobj;
23130 fail:
23131 return NULL;
23132 }
23133
23134
23135 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23136 PyObject *resultobj;
23137 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23138 int arg2 ;
23139 PyObject * obj0 = 0 ;
23140 PyObject * obj1 = 0 ;
23141 char *kwnames[] = {
23142 (char *) "self",(char *) "percent", NULL
23143 };
23144
23145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23148 arg2 = (int) SWIG_AsInt(obj1);
23149 if (PyErr_Occurred()) SWIG_fail;
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 (arg1)->SetZoom(arg2);
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 Py_INCREF(Py_None); resultobj = Py_None;
23158 return resultobj;
23159 fail:
23160 return NULL;
23161 }
23162
23163
23164 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23165 PyObject *resultobj;
23166 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23167 int result;
23168 PyObject * obj0 = 0 ;
23169 char *kwnames[] = {
23170 (char *) "self", NULL
23171 };
23172
23173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23176 {
23177 PyThreadState* __tstate = wxPyBeginAllowThreads();
23178 result = (int)(arg1)->GetZoom();
23179
23180 wxPyEndAllowThreads(__tstate);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
23183 resultobj = SWIG_FromInt((int)result);
23184 return resultobj;
23185 fail:
23186 return NULL;
23187 }
23188
23189
23190 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23191 PyObject *resultobj;
23192 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23193 int result;
23194 PyObject * obj0 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self", NULL
23197 };
23198
23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 result = (int)(arg1)->GetMaxPage();
23205
23206 wxPyEndAllowThreads(__tstate);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 resultobj = SWIG_FromInt((int)result);
23210 return resultobj;
23211 fail:
23212 return NULL;
23213 }
23214
23215
23216 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23217 PyObject *resultobj;
23218 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23219 int result;
23220 PyObject * obj0 = 0 ;
23221 char *kwnames[] = {
23222 (char *) "self", NULL
23223 };
23224
23225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23228 {
23229 PyThreadState* __tstate = wxPyBeginAllowThreads();
23230 result = (int)(arg1)->GetMinPage();
23231
23232 wxPyEndAllowThreads(__tstate);
23233 if (PyErr_Occurred()) SWIG_fail;
23234 }
23235 resultobj = SWIG_FromInt((int)result);
23236 return resultobj;
23237 fail:
23238 return NULL;
23239 }
23240
23241
23242 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23243 PyObject *resultobj;
23244 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23245 bool result;
23246 PyObject * obj0 = 0 ;
23247 char *kwnames[] = {
23248 (char *) "self", NULL
23249 };
23250
23251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23254 {
23255 PyThreadState* __tstate = wxPyBeginAllowThreads();
23256 result = (bool)(arg1)->Ok();
23257
23258 wxPyEndAllowThreads(__tstate);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 {
23262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23263 }
23264 return resultobj;
23265 fail:
23266 return NULL;
23267 }
23268
23269
23270 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23271 PyObject *resultobj;
23272 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23273 bool arg2 ;
23274 PyObject * obj0 = 0 ;
23275 PyObject * obj1 = 0 ;
23276 char *kwnames[] = {
23277 (char *) "self",(char *) "ok", NULL
23278 };
23279
23280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23283 arg2 = (bool) SWIG_AsBool(obj1);
23284 if (PyErr_Occurred()) SWIG_fail;
23285 {
23286 PyThreadState* __tstate = wxPyBeginAllowThreads();
23287 (arg1)->SetOk(arg2);
23288
23289 wxPyEndAllowThreads(__tstate);
23290 if (PyErr_Occurred()) SWIG_fail;
23291 }
23292 Py_INCREF(Py_None); resultobj = Py_None;
23293 return resultobj;
23294 fail:
23295 return NULL;
23296 }
23297
23298
23299 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23300 PyObject *resultobj;
23301 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23302 bool arg2 ;
23303 bool result;
23304 PyObject * obj0 = 0 ;
23305 PyObject * obj1 = 0 ;
23306 char *kwnames[] = {
23307 (char *) "self",(char *) "interactive", NULL
23308 };
23309
23310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23313 arg2 = (bool) SWIG_AsBool(obj1);
23314 if (PyErr_Occurred()) SWIG_fail;
23315 {
23316 PyThreadState* __tstate = wxPyBeginAllowThreads();
23317 result = (bool)(arg1)->Print(arg2);
23318
23319 wxPyEndAllowThreads(__tstate);
23320 if (PyErr_Occurred()) SWIG_fail;
23321 }
23322 {
23323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23324 }
23325 return resultobj;
23326 fail:
23327 return NULL;
23328 }
23329
23330
23331 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23332 PyObject *resultobj;
23333 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23334 PyObject * obj0 = 0 ;
23335 char *kwnames[] = {
23336 (char *) "self", NULL
23337 };
23338
23339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23342 {
23343 PyThreadState* __tstate = wxPyBeginAllowThreads();
23344 (arg1)->DetermineScaling();
23345
23346 wxPyEndAllowThreads(__tstate);
23347 if (PyErr_Occurred()) SWIG_fail;
23348 }
23349 Py_INCREF(Py_None); resultobj = Py_None;
23350 return resultobj;
23351 fail:
23352 return NULL;
23353 }
23354
23355
23356 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23357 PyObject *obj;
23358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23359 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23360 Py_INCREF(obj);
23361 return Py_BuildValue((char *)"");
23362 }
23363 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23364 PyObject *resultobj;
23365 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23366 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23367 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23368 wxPyPrintPreview *result;
23369 PyObject * obj0 = 0 ;
23370 PyObject * obj1 = 0 ;
23371 PyObject * obj2 = 0 ;
23372
23373 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23378 if (obj2) {
23379 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23381 }
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23385
23386 wxPyEndAllowThreads(__tstate);
23387 if (PyErr_Occurred()) SWIG_fail;
23388 }
23389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23390 return resultobj;
23391 fail:
23392 return NULL;
23393 }
23394
23395
23396 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23397 PyObject *resultobj;
23398 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23399 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23400 wxPrintData *arg3 = (wxPrintData *) 0 ;
23401 wxPyPrintPreview *result;
23402 PyObject * obj0 = 0 ;
23403 PyObject * obj1 = 0 ;
23404 PyObject * obj2 = 0 ;
23405
23406 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23411 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23413 {
23414 PyThreadState* __tstate = wxPyBeginAllowThreads();
23415 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23416
23417 wxPyEndAllowThreads(__tstate);
23418 if (PyErr_Occurred()) SWIG_fail;
23419 }
23420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23421 return resultobj;
23422 fail:
23423 return NULL;
23424 }
23425
23426
23427 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23428 int argc;
23429 PyObject *argv[4];
23430 int ii;
23431
23432 argc = PyObject_Length(args);
23433 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23434 argv[ii] = PyTuple_GetItem(args,ii);
23435 }
23436 if ((argc >= 2) && (argc <= 3)) {
23437 int _v;
23438 {
23439 void *ptr;
23440 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23441 _v = 0;
23442 PyErr_Clear();
23443 } else {
23444 _v = 1;
23445 }
23446 }
23447 if (_v) {
23448 {
23449 void *ptr;
23450 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23451 _v = 0;
23452 PyErr_Clear();
23453 } else {
23454 _v = 1;
23455 }
23456 }
23457 if (_v) {
23458 if (argc <= 2) {
23459 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23460 }
23461 {
23462 void *ptr;
23463 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23464 _v = 0;
23465 PyErr_Clear();
23466 } else {
23467 _v = 1;
23468 }
23469 }
23470 if (_v) {
23471 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23472 }
23473 }
23474 }
23475 }
23476 if (argc == 3) {
23477 int _v;
23478 {
23479 void *ptr;
23480 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23481 _v = 0;
23482 PyErr_Clear();
23483 } else {
23484 _v = 1;
23485 }
23486 }
23487 if (_v) {
23488 {
23489 void *ptr;
23490 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23491 _v = 0;
23492 PyErr_Clear();
23493 } else {
23494 _v = 1;
23495 }
23496 }
23497 if (_v) {
23498 {
23499 void *ptr;
23500 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23501 _v = 0;
23502 PyErr_Clear();
23503 } else {
23504 _v = 1;
23505 }
23506 }
23507 if (_v) {
23508 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23509 }
23510 }
23511 }
23512 }
23513
23514 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23515 return NULL;
23516 }
23517
23518
23519 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23520 PyObject *resultobj;
23521 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23522 PyObject *arg2 = (PyObject *) 0 ;
23523 PyObject *arg3 = (PyObject *) 0 ;
23524 PyObject * obj0 = 0 ;
23525 PyObject * obj1 = 0 ;
23526 PyObject * obj2 = 0 ;
23527 char *kwnames[] = {
23528 (char *) "self",(char *) "self",(char *) "_class", NULL
23529 };
23530
23531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23534 arg2 = obj1;
23535 arg3 = obj2;
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
23538 (arg1)->_setCallbackInfo(arg2,arg3);
23539
23540 wxPyEndAllowThreads(__tstate);
23541 if (PyErr_Occurred()) SWIG_fail;
23542 }
23543 Py_INCREF(Py_None); resultobj = Py_None;
23544 return resultobj;
23545 fail:
23546 return NULL;
23547 }
23548
23549
23550 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23551 PyObject *resultobj;
23552 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23553 int arg2 ;
23554 bool result;
23555 PyObject * obj0 = 0 ;
23556 PyObject * obj1 = 0 ;
23557 char *kwnames[] = {
23558 (char *) "self",(char *) "pageNum", NULL
23559 };
23560
23561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23564 arg2 = (int) SWIG_AsInt(obj1);
23565 if (PyErr_Occurred()) SWIG_fail;
23566 {
23567 PyThreadState* __tstate = wxPyBeginAllowThreads();
23568 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23569
23570 wxPyEndAllowThreads(__tstate);
23571 if (PyErr_Occurred()) SWIG_fail;
23572 }
23573 {
23574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23575 }
23576 return resultobj;
23577 fail:
23578 return NULL;
23579 }
23580
23581
23582 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23583 PyObject *resultobj;
23584 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23585 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23586 wxDC *arg3 = 0 ;
23587 bool result;
23588 PyObject * obj0 = 0 ;
23589 PyObject * obj1 = 0 ;
23590 PyObject * obj2 = 0 ;
23591 char *kwnames[] = {
23592 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23593 };
23594
23595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23600 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23601 SWIG_POINTER_EXCEPTION | 0)) == -1)
23602 SWIG_fail;
23603 if (arg3 == NULL) {
23604 PyErr_SetString(PyExc_TypeError,"null reference");
23605 SWIG_fail;
23606 }
23607 {
23608 PyThreadState* __tstate = wxPyBeginAllowThreads();
23609 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23610
23611 wxPyEndAllowThreads(__tstate);
23612 if (PyErr_Occurred()) SWIG_fail;
23613 }
23614 {
23615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23616 }
23617 return resultobj;
23618 fail:
23619 return NULL;
23620 }
23621
23622
23623 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23624 PyObject *resultobj;
23625 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23626 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23627 wxDC *arg3 = 0 ;
23628 bool result;
23629 PyObject * obj0 = 0 ;
23630 PyObject * obj1 = 0 ;
23631 PyObject * obj2 = 0 ;
23632 char *kwnames[] = {
23633 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23634 };
23635
23636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23641 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23642 SWIG_POINTER_EXCEPTION | 0)) == -1)
23643 SWIG_fail;
23644 if (arg3 == NULL) {
23645 PyErr_SetString(PyExc_TypeError,"null reference");
23646 SWIG_fail;
23647 }
23648 {
23649 PyThreadState* __tstate = wxPyBeginAllowThreads();
23650 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23651
23652 wxPyEndAllowThreads(__tstate);
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
23655 {
23656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23657 }
23658 return resultobj;
23659 fail:
23660 return NULL;
23661 }
23662
23663
23664 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23665 PyObject *resultobj;
23666 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23667 int arg2 ;
23668 bool result;
23669 PyObject * obj0 = 0 ;
23670 PyObject * obj1 = 0 ;
23671 char *kwnames[] = {
23672 (char *) "self",(char *) "pageNum", NULL
23673 };
23674
23675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23678 arg2 = (int) SWIG_AsInt(obj1);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 result = (bool)(arg1)->base_RenderPage(arg2);
23683
23684 wxPyEndAllowThreads(__tstate);
23685 if (PyErr_Occurred()) SWIG_fail;
23686 }
23687 {
23688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23689 }
23690 return resultobj;
23691 fail:
23692 return NULL;
23693 }
23694
23695
23696 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23697 PyObject *resultobj;
23698 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23699 int arg2 ;
23700 PyObject * obj0 = 0 ;
23701 PyObject * obj1 = 0 ;
23702 char *kwnames[] = {
23703 (char *) "self",(char *) "percent", NULL
23704 };
23705
23706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23709 arg2 = (int) SWIG_AsInt(obj1);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 {
23712 PyThreadState* __tstate = wxPyBeginAllowThreads();
23713 (arg1)->base_SetZoom(arg2);
23714
23715 wxPyEndAllowThreads(__tstate);
23716 if (PyErr_Occurred()) SWIG_fail;
23717 }
23718 Py_INCREF(Py_None); resultobj = Py_None;
23719 return resultobj;
23720 fail:
23721 return NULL;
23722 }
23723
23724
23725 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23726 PyObject *resultobj;
23727 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23728 bool arg2 ;
23729 bool result;
23730 PyObject * obj0 = 0 ;
23731 PyObject * obj1 = 0 ;
23732 char *kwnames[] = {
23733 (char *) "self",(char *) "interactive", NULL
23734 };
23735
23736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23739 arg2 = (bool) SWIG_AsBool(obj1);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 {
23742 PyThreadState* __tstate = wxPyBeginAllowThreads();
23743 result = (bool)(arg1)->base_Print(arg2);
23744
23745 wxPyEndAllowThreads(__tstate);
23746 if (PyErr_Occurred()) SWIG_fail;
23747 }
23748 {
23749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23750 }
23751 return resultobj;
23752 fail:
23753 return NULL;
23754 }
23755
23756
23757 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23758 PyObject *resultobj;
23759 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23760 PyObject * obj0 = 0 ;
23761 char *kwnames[] = {
23762 (char *) "self", NULL
23763 };
23764
23765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 (arg1)->base_DetermineScaling();
23771
23772 wxPyEndAllowThreads(__tstate);
23773 if (PyErr_Occurred()) SWIG_fail;
23774 }
23775 Py_INCREF(Py_None); resultobj = Py_None;
23776 return resultobj;
23777 fail:
23778 return NULL;
23779 }
23780
23781
23782 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23783 PyObject *obj;
23784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23785 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23786 Py_INCREF(obj);
23787 return Py_BuildValue((char *)"");
23788 }
23789 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23790 PyObject *resultobj;
23791 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23792 wxFrame *arg2 = (wxFrame *) 0 ;
23793 wxString *arg3 = 0 ;
23794 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23795 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23796 wxSize const &arg5_defvalue = wxDefaultSize ;
23797 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23798 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23799 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23800 wxString *arg7 = (wxString *) &arg7_defvalue ;
23801 wxPyPreviewFrame *result;
23802 bool temp3 = False ;
23803 wxPoint temp4 ;
23804 wxSize temp5 ;
23805 bool temp7 = False ;
23806 PyObject * obj0 = 0 ;
23807 PyObject * obj1 = 0 ;
23808 PyObject * obj2 = 0 ;
23809 PyObject * obj3 = 0 ;
23810 PyObject * obj4 = 0 ;
23811 PyObject * obj5 = 0 ;
23812 PyObject * obj6 = 0 ;
23813 char *kwnames[] = {
23814 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23822 {
23823 arg3 = wxString_in_helper(obj2);
23824 if (arg3 == NULL) SWIG_fail;
23825 temp3 = True;
23826 }
23827 if (obj3) {
23828 {
23829 arg4 = &temp4;
23830 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23831 }
23832 }
23833 if (obj4) {
23834 {
23835 arg5 = &temp5;
23836 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23837 }
23838 }
23839 if (obj5) {
23840 arg6 = (long) SWIG_AsLong(obj5);
23841 if (PyErr_Occurred()) SWIG_fail;
23842 }
23843 if (obj6) {
23844 {
23845 arg7 = wxString_in_helper(obj6);
23846 if (arg7 == NULL) SWIG_fail;
23847 temp7 = True;
23848 }
23849 }
23850 {
23851 PyThreadState* __tstate = wxPyBeginAllowThreads();
23852 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23853
23854 wxPyEndAllowThreads(__tstate);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 }
23857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
23858 {
23859 if (temp3)
23860 delete arg3;
23861 }
23862 {
23863 if (temp7)
23864 delete arg7;
23865 }
23866 return resultobj;
23867 fail:
23868 {
23869 if (temp3)
23870 delete arg3;
23871 }
23872 {
23873 if (temp7)
23874 delete arg7;
23875 }
23876 return NULL;
23877 }
23878
23879
23880 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23881 PyObject *resultobj;
23882 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23883 PyObject *arg2 = (PyObject *) 0 ;
23884 PyObject *arg3 = (PyObject *) 0 ;
23885 PyObject * obj0 = 0 ;
23886 PyObject * obj1 = 0 ;
23887 PyObject * obj2 = 0 ;
23888 char *kwnames[] = {
23889 (char *) "self",(char *) "self",(char *) "_class", NULL
23890 };
23891
23892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23895 arg2 = obj1;
23896 arg3 = obj2;
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 (arg1)->_setCallbackInfo(arg2,arg3);
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 Py_INCREF(Py_None); resultobj = Py_None;
23905 return resultobj;
23906 fail:
23907 return NULL;
23908 }
23909
23910
23911 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23912 PyObject *resultobj;
23913 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23914 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23915 PyObject * obj0 = 0 ;
23916 PyObject * obj1 = 0 ;
23917 char *kwnames[] = {
23918 (char *) "self",(char *) "canvas", NULL
23919 };
23920
23921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
23922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23926 {
23927 PyThreadState* __tstate = wxPyBeginAllowThreads();
23928 (arg1)->SetPreviewCanvas(arg2);
23929
23930 wxPyEndAllowThreads(__tstate);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 Py_INCREF(Py_None); resultobj = Py_None;
23934 return resultobj;
23935 fail:
23936 return NULL;
23937 }
23938
23939
23940 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23941 PyObject *resultobj;
23942 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23943 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
23944 PyObject * obj0 = 0 ;
23945 PyObject * obj1 = 0 ;
23946 char *kwnames[] = {
23947 (char *) "self",(char *) "bar", NULL
23948 };
23949
23950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
23951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
23954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23955 {
23956 PyThreadState* __tstate = wxPyBeginAllowThreads();
23957 (arg1)->SetControlBar(arg2);
23958
23959 wxPyEndAllowThreads(__tstate);
23960 if (PyErr_Occurred()) SWIG_fail;
23961 }
23962 Py_INCREF(Py_None); resultobj = Py_None;
23963 return resultobj;
23964 fail:
23965 return NULL;
23966 }
23967
23968
23969 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
23970 PyObject *resultobj;
23971 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23972 PyObject * obj0 = 0 ;
23973 char *kwnames[] = {
23974 (char *) "self", NULL
23975 };
23976
23977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
23978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23980 {
23981 PyThreadState* __tstate = wxPyBeginAllowThreads();
23982 (arg1)->base_Initialize();
23983
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
23987 Py_INCREF(Py_None); resultobj = Py_None;
23988 return resultobj;
23989 fail:
23990 return NULL;
23991 }
23992
23993
23994 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23995 PyObject *resultobj;
23996 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23997 PyObject * obj0 = 0 ;
23998 char *kwnames[] = {
23999 (char *) "self", NULL
24000 };
24001
24002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24005 {
24006 PyThreadState* __tstate = wxPyBeginAllowThreads();
24007 (arg1)->base_CreateCanvas();
24008
24009 wxPyEndAllowThreads(__tstate);
24010 if (PyErr_Occurred()) SWIG_fail;
24011 }
24012 Py_INCREF(Py_None); resultobj = Py_None;
24013 return resultobj;
24014 fail:
24015 return NULL;
24016 }
24017
24018
24019 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24020 PyObject *resultobj;
24021 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24022 PyObject * obj0 = 0 ;
24023 char *kwnames[] = {
24024 (char *) "self", NULL
24025 };
24026
24027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24030 {
24031 PyThreadState* __tstate = wxPyBeginAllowThreads();
24032 (arg1)->base_CreateControlBar();
24033
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 Py_INCREF(Py_None); resultobj = Py_None;
24038 return resultobj;
24039 fail:
24040 return NULL;
24041 }
24042
24043
24044 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24045 PyObject *obj;
24046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24047 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24048 Py_INCREF(obj);
24049 return Py_BuildValue((char *)"");
24050 }
24051 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24052 PyObject *resultobj;
24053 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24054 long arg2 ;
24055 wxWindow *arg3 = (wxWindow *) 0 ;
24056 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24057 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24058 wxSize const &arg5_defvalue = wxDefaultSize ;
24059 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24060 long arg6 = (long) 0 ;
24061 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24062 wxString *arg7 = (wxString *) &arg7_defvalue ;
24063 wxPyPreviewControlBar *result;
24064 wxPoint temp4 ;
24065 wxSize temp5 ;
24066 bool temp7 = False ;
24067 PyObject * obj0 = 0 ;
24068 PyObject * obj1 = 0 ;
24069 PyObject * obj2 = 0 ;
24070 PyObject * obj3 = 0 ;
24071 PyObject * obj4 = 0 ;
24072 PyObject * obj5 = 0 ;
24073 PyObject * obj6 = 0 ;
24074 char *kwnames[] = {
24075 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24076 };
24077
24078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24081 arg2 = (long) SWIG_AsLong(obj1);
24082 if (PyErr_Occurred()) SWIG_fail;
24083 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24085 if (obj3) {
24086 {
24087 arg4 = &temp4;
24088 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24089 }
24090 }
24091 if (obj4) {
24092 {
24093 arg5 = &temp5;
24094 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24095 }
24096 }
24097 if (obj5) {
24098 arg6 = (long) SWIG_AsLong(obj5);
24099 if (PyErr_Occurred()) SWIG_fail;
24100 }
24101 if (obj6) {
24102 {
24103 arg7 = wxString_in_helper(obj6);
24104 if (arg7 == NULL) SWIG_fail;
24105 temp7 = True;
24106 }
24107 }
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
24110 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24111
24112 wxPyEndAllowThreads(__tstate);
24113 if (PyErr_Occurred()) SWIG_fail;
24114 }
24115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24116 {
24117 if (temp7)
24118 delete arg7;
24119 }
24120 return resultobj;
24121 fail:
24122 {
24123 if (temp7)
24124 delete arg7;
24125 }
24126 return NULL;
24127 }
24128
24129
24130 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24131 PyObject *resultobj;
24132 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24133 PyObject *arg2 = (PyObject *) 0 ;
24134 PyObject *arg3 = (PyObject *) 0 ;
24135 PyObject * obj0 = 0 ;
24136 PyObject * obj1 = 0 ;
24137 PyObject * obj2 = 0 ;
24138 char *kwnames[] = {
24139 (char *) "self",(char *) "self",(char *) "_class", NULL
24140 };
24141
24142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24145 arg2 = obj1;
24146 arg3 = obj2;
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 (arg1)->_setCallbackInfo(arg2,arg3);
24150
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
24154 Py_INCREF(Py_None); resultobj = Py_None;
24155 return resultobj;
24156 fail:
24157 return NULL;
24158 }
24159
24160
24161 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24162 PyObject *resultobj;
24163 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24164 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24165 PyObject * obj0 = 0 ;
24166 PyObject * obj1 = 0 ;
24167 char *kwnames[] = {
24168 (char *) "self",(char *) "preview", NULL
24169 };
24170
24171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24176 {
24177 PyThreadState* __tstate = wxPyBeginAllowThreads();
24178 (arg1)->SetPrintPreview(arg2);
24179
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 Py_INCREF(Py_None); resultobj = Py_None;
24184 return resultobj;
24185 fail:
24186 return NULL;
24187 }
24188
24189
24190 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj;
24192 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24193 PyObject * obj0 = 0 ;
24194 char *kwnames[] = {
24195 (char *) "self", NULL
24196 };
24197
24198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24201 {
24202 PyThreadState* __tstate = wxPyBeginAllowThreads();
24203 (arg1)->base_CreateButtons();
24204
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
24208 Py_INCREF(Py_None); resultobj = Py_None;
24209 return resultobj;
24210 fail:
24211 return NULL;
24212 }
24213
24214
24215 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj;
24217 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24218 int arg2 ;
24219 PyObject * obj0 = 0 ;
24220 PyObject * obj1 = 0 ;
24221 char *kwnames[] = {
24222 (char *) "self",(char *) "zoom", NULL
24223 };
24224
24225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24228 arg2 = (int) SWIG_AsInt(obj1);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 {
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 (arg1)->base_SetZoomControl(arg2);
24233
24234 wxPyEndAllowThreads(__tstate);
24235 if (PyErr_Occurred()) SWIG_fail;
24236 }
24237 Py_INCREF(Py_None); resultobj = Py_None;
24238 return resultobj;
24239 fail:
24240 return NULL;
24241 }
24242
24243
24244 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24245 PyObject *obj;
24246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24247 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24248 Py_INCREF(obj);
24249 return Py_BuildValue((char *)"");
24250 }
24251 static PyMethodDef SwigMethods[] = {
24252 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24253 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24254 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24255 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24256 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24257 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24258 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24259 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24260 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24261 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24262 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24263 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24264 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24265 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24266 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24267 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24268 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24269 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24270 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24271 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24272 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24273 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24274 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24275 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24276 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24277 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24278 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24279 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24280 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24281 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24282 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24283 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24284 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24285 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24286 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24287 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24288 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24289 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24290 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24291 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24292 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24293 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24294 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24295 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24296 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24297 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24298 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24299 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24300 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24301 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24302 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24303 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24304 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24305 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24306 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24307 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24308 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24309 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24310 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24311 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24312 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24313 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24314 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24315 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24316 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24317 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24318 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24319 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24320 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24321 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24322 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24323 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24324 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24325 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24326 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24327 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24328 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24329 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24330 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24331 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24332 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24333 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24334 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24335 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24336 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24337 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24338 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24339 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24340 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24341 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24342 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24343 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24344 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24345 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24346 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24347 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24348 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24349 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24350 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24351 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24352 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24353 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24354 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24355 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24356 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24357 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24358 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24359 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24360 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24361 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24362 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24363 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24364 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24365 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24366 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24367 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24368 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24369 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24370 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24371 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24372 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24373 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24374 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24375 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24376 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24377 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24378 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24379 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24380 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24381 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24382 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24383 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24384 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24385 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24386 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24387 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24388 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24389 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24390 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24391 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24392 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24394 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24396 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24398 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24402 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24404 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24407 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24408 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24410 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24411 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24412 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24414 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24415 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24416 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24418 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24419 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24421 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24422 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24429 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24441 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24445 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24447 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24456 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24462 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24465 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24468 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24472 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24490 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24516 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24524 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24528 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24530 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24539 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24542 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24549 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24567 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24571 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24576 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24580 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24596 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24599 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24601 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24605 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24614 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24623 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24629 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24641 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24648 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24652 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24676 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24700 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24724 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24770 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24802 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
24806 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
24807 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
24840 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
24845 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
24856 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
24879 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
24881 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
24887 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
24897 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
24898 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
24921 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
24922 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
24931 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
24939 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
24945 { NULL, NULL }
24946 };
24947
24948
24949 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24950
24951 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
24952 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24953 }
24954 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
24955 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
24956 }
24957 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
24958 return (void *)((wxEvent *) ((wxMenuEvent *) x));
24959 }
24960 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
24961 return (void *)((wxEvent *) ((wxCloseEvent *) x));
24962 }
24963 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
24964 return (void *)((wxEvent *) ((wxMouseEvent *) x));
24965 }
24966 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
24967 return (void *)((wxEvent *) ((wxEraseEvent *) x));
24968 }
24969 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
24970 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
24971 }
24972 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
24973 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
24974 }
24975 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
24976 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
24977 }
24978 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
24979 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
24980 }
24981 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
24982 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
24983 }
24984 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
24985 return (void *)((wxEvent *) ((wxPyEvent *) x));
24986 }
24987 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
24988 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
24989 }
24990 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
24991 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
24992 }
24993 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
24994 return (void *)((wxEvent *) ((wxIdleEvent *) x));
24995 }
24996 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
24997 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
24998 }
24999 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25000 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25001 }
25002 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25003 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25004 }
25005 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25006 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25007 }
25008 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25009 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25010 }
25011 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25012 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25013 }
25014 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25015 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25016 }
25017 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25018 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25019 }
25020 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25021 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25022 }
25023 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25024 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25025 }
25026 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25027 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25028 }
25029 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25030 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25031 }
25032 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25033 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25034 }
25035 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25036 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25037 }
25038 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25039 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25040 }
25041 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25042 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25043 }
25044 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25045 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25046 }
25047 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25048 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25049 }
25050 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25051 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25052 }
25053 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25054 return (void *)((wxEvent *) ((wxShowEvent *) x));
25055 }
25056 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25057 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25058 }
25059 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25060 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25061 }
25062 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25063 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25064 }
25065 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25066 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25067 }
25068 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25069 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25070 }
25071 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25072 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25073 }
25074 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25075 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25076 }
25077 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25078 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25079 }
25080 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25081 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25082 }
25083 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25084 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25085 }
25086 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25087 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25088 }
25089 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25090 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25091 }
25092 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25093 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25094 }
25095 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25096 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25097 }
25098 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25099 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25100 }
25101 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25102 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25103 }
25104 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25106 }
25107 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25108 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25109 }
25110 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25111 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25112 }
25113 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25114 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25115 }
25116 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25117 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25118 }
25119 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25120 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25121 }
25122 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25123 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25124 }
25125 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25126 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25127 }
25128 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25129 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25130 }
25131 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25132 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25133 }
25134 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25135 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25136 }
25137 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25138 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25139 }
25140 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25141 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25142 }
25143 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25144 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25145 }
25146 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25147 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25148 }
25149 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25150 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25151 }
25152 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25153 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25154 }
25155 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25156 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25157 }
25158 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25159 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25160 }
25161 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25162 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25163 }
25164 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25165 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25166 }
25167 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25168 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25169 }
25170 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25171 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25172 }
25173 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25174 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25175 }
25176 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25177 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25178 }
25179 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25180 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25181 }
25182 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25183 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25184 }
25185 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25186 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25187 }
25188 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25189 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25190 }
25191 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25192 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25193 }
25194 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25195 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25196 }
25197 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25198 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25199 }
25200 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25201 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25202 }
25203 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25204 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25205 }
25206 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25208 }
25209 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25210 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25211 }
25212 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25213 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25214 }
25215 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25216 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25217 }
25218 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25219 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25220 }
25221 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25222 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25223 }
25224 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25225 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25226 }
25227 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25228 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25229 }
25230 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25231 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25232 }
25233 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25234 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25235 }
25236 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25237 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25238 }
25239 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
25240 return (void *)((wxFrame *) ((wxTipWindow *) x));
25241 }
25242 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25243 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25244 }
25245 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25246 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25247 }
25248 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25249 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25250 }
25251 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25252 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25253 }
25254 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25255 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25256 }
25257 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25258 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25259 }
25260 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25261 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25262 }
25263 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25264 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25265 }
25266 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25267 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25268 }
25269 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25270 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25271 }
25272 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25273 return (void *)((wxObject *) ((wxSizerItem *) x));
25274 }
25275 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25276 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25277 }
25278 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25279 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25280 }
25281 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25282 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25283 }
25284 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25285 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25286 }
25287 static void *_p_wxSizerTo_p_wxObject(void *x) {
25288 return (void *)((wxObject *) ((wxSizer *) x));
25289 }
25290 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25291 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25292 }
25293 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25294 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25295 }
25296 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25297 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25298 }
25299 static void *_p_wxEventTo_p_wxObject(void *x) {
25300 return (void *)((wxObject *) ((wxEvent *) x));
25301 }
25302 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25303 return (void *)((wxObject *) ((wxFontData *) x));
25304 }
25305 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25306 return (void *)((wxObject *) ((wxPrintData *) x));
25307 }
25308 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25309 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25310 }
25311 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25312 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25313 }
25314 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25315 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25316 }
25317 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25318 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25319 }
25320 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25321 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25322 }
25323 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25324 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25325 }
25326 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25327 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25328 }
25329 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25330 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25331 }
25332 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25333 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25334 }
25335 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25336 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25337 }
25338 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25339 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25340 }
25341 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25342 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25343 }
25344 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25346 }
25347 static void *_p_wxControlTo_p_wxObject(void *x) {
25348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25349 }
25350 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25351 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25352 }
25353 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25354 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25355 }
25356 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25357 return (void *)((wxObject *) ((wxFSFile *) x));
25358 }
25359 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25360 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25361 }
25362 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25363 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25364 }
25365 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25366 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25367 }
25368 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25369 return (void *)((wxObject *) ((wxColourData *) x));
25370 }
25371 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25372 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25373 }
25374 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25375 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25376 }
25377 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25378 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25379 }
25380 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25382 }
25383 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25385 }
25386 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25388 }
25389 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25391 }
25392 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25393 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25394 }
25395 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25397 }
25398 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25400 }
25401 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25403 }
25404 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25405 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25406 }
25407 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25408 return (void *)((wxObject *) ((wxPrinter *) x));
25409 }
25410 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25411 return (void *)((wxObject *) ((wxMenuItem *) x));
25412 }
25413 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25414 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25415 }
25416 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25417 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25418 }
25419 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25420 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25421 }
25422 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25423 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25424 }
25425 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25426 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25427 }
25428 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25429 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25430 }
25431 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25432 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25433 }
25434 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25435 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25436 }
25437 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25438 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25439 }
25440 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25441 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25442 }
25443 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25444 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25445 }
25446 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25447 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25448 }
25449 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25450 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25451 }
25452 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25453 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25454 }
25455 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25456 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25457 }
25458 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25459 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25460 }
25461 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25462 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25463 }
25464 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25465 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25466 }
25467 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25468 return (void *)((wxObject *) ((wxImageHandler *) x));
25469 }
25470 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25471 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25472 }
25473 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25474 return (void *)((wxObject *) ((wxEvtHandler *) x));
25475 }
25476 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25477 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25478 }
25479 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25481 }
25482 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25484 }
25485 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25486 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25487 }
25488 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25489 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25490 }
25491 static void *_p_wxImageTo_p_wxObject(void *x) {
25492 return (void *)((wxObject *) ((wxImage *) x));
25493 }
25494 static void *_p_wxFrameTo_p_wxObject(void *x) {
25495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25496 }
25497 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25498 return (void *)((wxObject *) ((wxPyPrintout *) x));
25499 }
25500 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25501 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25502 }
25503 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25504 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25505 }
25506 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25508 }
25509 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25510 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25511 }
25512 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25513 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25514 }
25515 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25516 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25517 }
25518 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25519 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25520 }
25521 static void *_p_wxWindowTo_p_wxObject(void *x) {
25522 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25523 }
25524 static void *_p_wxMenuTo_p_wxObject(void *x) {
25525 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25526 }
25527 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25529 }
25530 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25532 }
25533 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25535 }
25536 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25538 }
25539 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25540 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25541 }
25542 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25543 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25544 }
25545 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25547 }
25548 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25549 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25550 }
25551 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25553 }
25554 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25556 }
25557 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25559 }
25560 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25562 }
25563 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25565 }
25566 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25567 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25568 }
25569 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25570 return (void *)((wxObject *) ((wxPrintPreview *) x));
25571 }
25572 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25573 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25574 }
25575 static void *_p_wxPanelTo_p_wxObject(void *x) {
25576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25577 }
25578 static void *_p_wxDialogTo_p_wxObject(void *x) {
25579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25580 }
25581 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25583 }
25584 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25586 }
25587 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25589 }
25590 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25592 }
25593 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25595 }
25596 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25597 return (void *)((wxObject *) ((wxFileSystem *) x));
25598 }
25599 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25600 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25601 }
25602 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25603 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25604 }
25605 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25606 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25607 }
25608 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25609 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25610 }
25611 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25612 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25613 }
25614 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25615 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25616 }
25617 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25618 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25619 }
25620 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25621 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25622 }
25623 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25625 }
25626 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25628 }
25629 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25630 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25631 }
25632 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25633 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25634 }
25635 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25636 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25637 }
25638 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25640 }
25641 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25642 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25643 }
25644 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25645 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25646 }
25647 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25648 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25649 }
25650 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25651 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25652 }
25653 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25654 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25655 }
25656 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25657 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25658 }
25659 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25660 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25661 }
25662 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25663 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25664 }
25665 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25666 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25667 }
25668 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25669 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25670 }
25671 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25672 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25673 }
25674 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25675 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25676 }
25677 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25678 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25679 }
25680 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25681 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25682 }
25683 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25684 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25685 }
25686 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25687 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25688 }
25689 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25690 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25691 }
25692 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
25693 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
25694 }
25695 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25696 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25697 }
25698 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25699 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25700 }
25701 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25702 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25703 }
25704 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25705 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25706 }
25707 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25708 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25709 }
25710 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25711 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25712 }
25713 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25714 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25715 }
25716 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25717 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25718 }
25719 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25720 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25721 }
25722 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25723 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25724 }
25725 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25726 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25727 }
25728 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25729 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25730 }
25731 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25732 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25733 }
25734 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25735 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25736 }
25737 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25738 return (void *)((wxWindow *) ((wxMenuBar *) x));
25739 }
25740 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25741 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25742 }
25743 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25744 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25745 }
25746 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25747 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25748 }
25749 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25750 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25751 }
25752 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25753 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25754 }
25755 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25756 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25757 }
25758 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25759 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25760 }
25761 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25762 return (void *)((wxWindow *) ((wxPanel *) x));
25763 }
25764 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25765 return (void *)((wxWindow *) ((wxStatusBar *) x));
25766 }
25767 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25768 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25769 }
25770 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25771 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25772 }
25773 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25774 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25775 }
25776 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25777 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25778 }
25779 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25780 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25781 }
25782 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25783 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25784 }
25785 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25786 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25787 }
25788 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25789 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25790 }
25791 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25792 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25793 }
25794 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25795 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25796 }
25797 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25798 return (void *)((wxWindow *) ((wxSashWindow *) x));
25799 }
25800 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25801 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25802 }
25803 static void *_p_wxControlTo_p_wxWindow(void *x) {
25804 return (void *)((wxWindow *) ((wxControl *) x));
25805 }
25806 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25807 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25808 }
25809 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25810 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25811 }
25812 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25813 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25814 }
25815 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25816 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25817 }
25818 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25819 return (void *)((wxWindow *) ((wxPyWindow *) x));
25820 }
25821 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25822 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25823 }
25824 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25825 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25826 }
25827 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25828 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25829 }
25830 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25831 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25832 }
25833 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25834 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25835 }
25836 static void *_p_wxFrameTo_p_wxWindow(void *x) {
25837 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25838 }
25839 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25840 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25841 }
25842 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25843 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25844 }
25845 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25846 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25847 }
25848 static void *_p_wxDialogTo_p_wxWindow(void *x) {
25849 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25850 }
25851 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25852 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25853 }
25854 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25855 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25856 }
25857 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
25858 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25859 }
25860 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
25861 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25862 }
25863 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
25864 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
25865 }
25866 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
25867 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
25868 }
25869 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
25870 return (void *)((wxDialog *) ((wxColourDialog *) x));
25871 }
25872 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
25873 return (void *)((wxDialog *) ((wxDirDialog *) x));
25874 }
25875 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
25876 return (void *)((wxDialog *) ((wxFontDialog *) x));
25877 }
25878 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
25879 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
25880 }
25881 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
25882 return (void *)((wxDialog *) ((wxPrintDialog *) x));
25883 }
25884 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
25885 return (void *)((wxDialog *) ((wxFileDialog *) x));
25886 }
25887 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
25888 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
25889 }
25890 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
25891 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
25892 }
25893 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
25894 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
25895 }
25896 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
25897 return (void *)((wxDialog *) ((wxMessageDialog *) x));
25898 }
25899 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
25900 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
25901 }
25902 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
25903 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
25904 }
25905 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
25906 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
25907 }
25908 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
25909 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25910 }
25911 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
25912 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25913 }
25914 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
25915 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25916 }
25917 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
25918 return (void *)((wxPanel *) ((wxPyPanel *) x));
25919 }
25920 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
25921 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
25922 }
25923 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
25924 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
25925 }
25926 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
25927 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25928 }
25929 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
25930 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
25931 }
25932 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
25933 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
25934 }
25935 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
25936 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
25937 }
25938 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
25939 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
25940 }
25941 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
25942 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
25943 }
25944 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
25945 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25946 }
25947 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
25948 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
25949 }
25950 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
25951 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
25952 }
25953 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
25954 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
25955 }
25956 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
25957 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
25958 }
25959 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
25960 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
25961 }
25962 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
25963 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25964 }
25965 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}};
25966 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}};
25967 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}};
25968 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}};
25969 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}};
25970 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}};
25971 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}};
25972 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}};
25973 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}};
25974 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}};
25975 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}};
25976 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}};
25977 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}};
25978 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}};
25979 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}};
25980 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}};
25981 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}};
25982 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}};
25983 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}};
25984 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}};
25985 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}};
25986 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}};
25987 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}};
25988 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}};
25989 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}};
25990 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}};
25991 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}};
25992 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}};
25993 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}};
25994 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}};
25995 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}};
25996 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}};
25997 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}};
25998 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}};
25999 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}};
26000 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}};
26001 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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}};
26002 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}};
26003 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}};
26004 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}};
26005 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}};
26006 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}};
26007 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}};
26008 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_wxTipWindow", _p_wxTipWindowTo_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}};
26009 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}};
26010 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}};
26011 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}};
26012 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}};
26013 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}};
26014 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}};
26015 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
26016 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}};
26017 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}};
26018 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}};
26019 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}};
26020 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}};
26021 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26022 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}};
26023 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}};
26024 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}};
26025 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},{0, 0, 0, 0, 0, 0, 0}};
26026 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}};
26027 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_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_wxDirDialog", _p_wxDirDialogTo_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_wxTipWindow", _p_wxTipWindowTo_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}};
26028 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_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}};
26029 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}};
26030 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}};
26031 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}};
26032 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}};
26033 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}};
26034 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}};
26035 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}};
26036 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}};
26037 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}};
26038 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}};
26039 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}};
26040 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}};
26041 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}};
26042 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}};
26043 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}};
26044 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}};
26045 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}};
26046 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}};
26047 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}};
26048 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}};
26049 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}};
26050 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}};
26051 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}};
26052
26053 static swig_type_info *swig_types_initial[] = {
26054 _swigt__p_wxQueryLayoutInfoEvent,
26055 _swigt__p_wxPreviewFrame,
26056 _swigt__p_wxPyPreviewFrame,
26057 _swigt__p_wxPyPanel,
26058 _swigt__p_wxMenu,
26059 _swigt__p_wxFontData,
26060 _swigt__p_wxEvent,
26061 _swigt__p_wxPrintData,
26062 _swigt__p_wxTaskBarIcon,
26063 _swigt__p_wxIconBundle,
26064 _swigt__p_wxLayoutAlgorithm,
26065 _swigt__p_wxFindDialogEvent,
26066 _swigt__p_wxPreviewCanvas,
26067 _swigt__p_wxFont,
26068 _swigt__p_wxSplitterEvent,
26069 _swigt__p_wxRegion,
26070 _swigt__p_wxFindReplaceData,
26071 _swigt__p_int,
26072 _swigt__p_wxSize,
26073 _swigt__p_wxDC,
26074 _swigt__p_wxIcon,
26075 _swigt__p_wxVisualAttributes,
26076 _swigt__p_wxMDIChildFrame,
26077 _swigt__p_wxColourData,
26078 _swigt__p_wxNotifyEvent,
26079 _swigt__p_wxPyWindow,
26080 _swigt__p_wxSplashScreen,
26081 _swigt__p_wxFindReplaceDialog,
26082 _swigt__p_wxProgressDialog,
26083 _swigt__p_wxMessageDialog,
26084 _swigt__p_wxTextEntryDialog,
26085 _swigt__p_wxSingleChoiceDialog,
26086 _swigt__p_wxMultiChoiceDialog,
26087 _swigt__p_wxFileDialog,
26088 _swigt__p_wxPrinter,
26089 _swigt__p_wxArrayInt,
26090 _swigt__p_wxEvtHandler,
26091 _swigt__p_wxCalculateLayoutEvent,
26092 _swigt__p_wxPyHtmlListBox,
26093 _swigt__p_wxPyVListBox,
26094 _swigt__p_wxRect,
26095 _swigt__p_char,
26096 _swigt__p_wxMiniFrame,
26097 _swigt__p_wxFrame,
26098 _swigt__p_wxPyPrintout,
26099 _swigt__p_wxTaskBarIconEvent,
26100 _swigt__p_wxScrollWinEvent,
26101 _swigt__p_wxStatusBar,
26102 _swigt__p_wxMDIParentFrame,
26103 _swigt__p_wxPoint,
26104 _swigt__p_wxObject,
26105 _swigt__p_wxOutputStream,
26106 _swigt__p_unsigned_long,
26107 _swigt__p_wxPyScrolledWindow,
26108 _swigt__p_wxMDIClientWindow,
26109 _swigt__p_wxTipWindow,
26110 _swigt__p_wxPyPopupTransientWindow,
26111 _swigt__p_wxSashLayoutWindow,
26112 _swigt__p_wxSplitterWindow,
26113 _swigt__p_wxPyVScrolledWindow,
26114 _swigt__p_wxPopupWindow,
26115 _swigt__p_wxSashWindow,
26116 _swigt__p_wxTopLevelWindow,
26117 _swigt__p_wxWindow,
26118 _swigt__p_wxScrolledWindow,
26119 _swigt__p_wxSplashScreenWindow,
26120 _swigt__p_wxMenuBar,
26121 _swigt__p_wxPrintPreview,
26122 _swigt__p_wxSashEvent,
26123 _swigt__p_wxString,
26124 _swigt__p_wxPyPrintPreview,
26125 _swigt__p_wxFontDialog,
26126 _swigt__p_wxDirDialog,
26127 _swigt__p_wxColourDialog,
26128 _swigt__p_wxDialog,
26129 _swigt__p_wxPanel,
26130 _swigt__p_wxPageSetupDialog,
26131 _swigt__p_wxPrintDialog,
26132 _swigt__p_wxFileSystem,
26133 _swigt__p_wxBitmap,
26134 _swigt__p_wxCommandEvent,
26135 _swigt__p_wxPreviewControlBar,
26136 _swigt__p_wxPyPreviewControlBar,
26137 _swigt__p_wxColour,
26138 _swigt__p_wxToolBar,
26139 _swigt__p_wxPageSetupDialogData,
26140 _swigt__p_wxPrintDialogData,
26141 0
26142 };
26143
26144
26145 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26146
26147 static swig_const_info swig_const_table[] = {
26148 {0}};
26149
26150 #ifdef __cplusplus
26151 }
26152 #endif
26153
26154 #ifdef __cplusplus
26155 extern "C"
26156 #endif
26157 SWIGEXPORT(void) SWIG_init(void) {
26158 static PyObject *SWIG_globals = 0;
26159 static int typeinit = 0;
26160 PyObject *m, *d;
26161 int i;
26162 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26163 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26164 d = PyModule_GetDict(m);
26165
26166 if (!typeinit) {
26167 for (i = 0; swig_types_initial[i]; i++) {
26168 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26169 }
26170 typeinit = 1;
26171 }
26172 SWIG_InstallConstants(d,swig_const_table);
26173
26174 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26175 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26176 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26177 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26178 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26179 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26180 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26181 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26182 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26183 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26184 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26185 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26186 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26187 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26188 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26189 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26190 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26191 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26192 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26193 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26194 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26195 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26196 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26197 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26198 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26199 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26200 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26201 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26202 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26203 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26204 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26205 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26206 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26207 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26208 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26209 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26210 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26211 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26212 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26213 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26214 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26215 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26216 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26217 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26218 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26219 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26220 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26221 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26222 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26223 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26224 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26225 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26226 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26227 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26228 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26229 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26230 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26231 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26232 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26233 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26234 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26235 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26236 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26237 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26238 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26239 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26240 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26241 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26242 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26243 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26244 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26245 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26246 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26247 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26248 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26249 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26250 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26251 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26252 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26253 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26254 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26255 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26256 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26257 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26258 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26259 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26260 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26261 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26262 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26263 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26264 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26265 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26266 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26267
26268 // Map renamed classes back to their common name for OOR
26269 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26270 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26271 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26272
26273 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26274 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26275 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26276 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26277 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26278 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26279 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26280 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26281 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26282 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26283 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26284 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26285 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26286 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26287 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26288 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26289 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26290 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26291 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26292 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26293 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26294 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26295 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26296 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26297 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26298 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26299 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26300 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26301 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26302 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26303 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26304 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26305 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26306 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26307 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26308 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26309 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26310 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26311 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26312 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26313 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26314 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26315 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26316 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26317 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26318 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26319 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26320 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26321 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26322 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26323 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26324 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26325 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26326 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26327 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26328 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26329 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26330 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26331 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26332 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26333
26334 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26335
26336 }
26337