]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
remove the Yield's
[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 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
863
864 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
865 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
866 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
867 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
868
869 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
870 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
871 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
872
873 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
874 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
875
876 DEC_PYCALLBACK__(InitDialog);
877 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
878 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
879 DEC_PYCALLBACK_BOOL_(Validate);
880
881 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
882 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
883 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
884
885 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
886 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
887
888 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
889 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
890 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
891
892 PYPRIVATE;
893 };
894
895 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
896
897 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
898 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
899 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
900 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
901
902 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
903 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
904 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
905
906 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
907 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
908
909 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
910 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
911 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
912 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
913
914 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
915 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
916 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
917
918 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
919 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
920
921 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
922 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
923 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
924
925
926 // C++ version of Python aware wxPanel
927 class wxPyPanel : public wxPanel
928 {
929 DECLARE_DYNAMIC_CLASS(wxPyPanel)
930 public:
931 wxPyPanel() : wxPanel() {}
932 wxPyPanel(wxWindow* parent, const wxWindowID id,
933 const wxPoint& pos = wxDefaultPosition,
934 const wxSize& size = wxDefaultSize,
935 long style = 0,
936 const wxString& name = wxPyPanelNameStr)
937 : wxPanel(parent, id, pos, size, style, name) {}
938
939 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
940
941
942 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
943 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
944 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
945 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
946
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
949 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
950
951 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
952 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
953
954 DEC_PYCALLBACK__(InitDialog);
955 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
956 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
957 DEC_PYCALLBACK_BOOL_(Validate);
958
959 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
960 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
961 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
962
963 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
964 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
965
966 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
967 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
968 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
969
970 PYPRIVATE;
971 };
972
973 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
974
975 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
976 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
977 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
978 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
979
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
981 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
982 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
983
984 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
985 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
986
987 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
988 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
989 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
990 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
991
992 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
993 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
994 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
995
996 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
997 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
998
999 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1000 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1001 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1002
1003
1004 // C++ version of Python aware wxScrolledWindow
1005 class wxPyScrolledWindow : public wxScrolledWindow
1006 {
1007 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1008 public:
1009 wxPyScrolledWindow() : wxScrolledWindow() {}
1010 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1011 const wxPoint& pos = wxDefaultPosition,
1012 const wxSize& size = wxDefaultSize,
1013 long style = 0,
1014 const wxString& name = wxPyPanelNameStr)
1015 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1016
1017 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1018
1019 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1020 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1021 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1022 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1023
1024 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1025 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1026 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1027
1028 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1029 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1030
1031 DEC_PYCALLBACK__(InitDialog);
1032 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1033 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1034 DEC_PYCALLBACK_BOOL_(Validate);
1035
1036 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1037 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1038 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1039
1040 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1041 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1042
1043 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1044 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1045 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1046
1047 PYPRIVATE;
1048 };
1049
1050 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1051
1052 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1053 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1054 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1055 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1056
1057 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1058 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1059 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1060
1061 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1062 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1063
1064 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1065 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1066 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1067 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1068
1069 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1070 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1071 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1072
1073 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1074 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1075
1076 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1077 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1078 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1079
1080
1081
1082 #include "wx/wxPython/printfw.h"
1083
1084
1085 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1086 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1087
1088
1089
1090 // Since this one would be tough and ugly to do with the Macros...
1091 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1092 bool hadErr = False;
1093 bool found;
1094
1095 bool blocked = wxPyBeginBlockThreads();
1096 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1097 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1098 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1099 PyObject* val;
1100
1101 val = PyTuple_GetItem(result, 0);
1102 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1103 else hadErr = True;
1104
1105 val = PyTuple_GetItem(result, 1);
1106 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1107 else hadErr = True;
1108
1109 val = PyTuple_GetItem(result, 2);
1110 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1111 else hadErr = True;
1112
1113 val = PyTuple_GetItem(result, 3);
1114 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1115 else hadErr = True;
1116 }
1117 else
1118 hadErr = True;
1119
1120 if (hadErr) {
1121 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1122 PyErr_Print();
1123 }
1124 Py_DECREF(result);
1125 }
1126 wxPyEndBlockThreads(blocked);
1127 if (! found)
1128 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1129 }
1130
1131 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1132 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1133 }
1134
1135
1136 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1137 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1138 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1139 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1140 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1141 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1142 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1143
1144
1145
1146
1147
1148 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1149 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1150 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1151
1152
1153 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1154 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1155 bool rval=False; \
1156 bool found; \
1157 bool blocked = wxPyBeginBlockThreads(); \
1158 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1159 PyObject* win = wxPyMake_wxObject(a); \
1160 PyObject* dc = wxPyMake_wxObject(&b); \
1161 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1162 Py_DECREF(win); \
1163 Py_DECREF(dc); \
1164 } \
1165 wxPyEndBlockThreads(blocked); \
1166 if (! found) \
1167 rval = PCLASS::CBNAME(a, b); \
1168 return rval; \
1169 } \
1170 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1171 return PCLASS::CBNAME(a, b); \
1172 }
1173
1174
1175
1176
1177 class wxPyPrintPreview : public wxPrintPreview
1178 {
1179 DECLARE_CLASS(wxPyPrintPreview)
1180 public:
1181 wxPyPrintPreview(wxPyPrintout* printout,
1182 wxPyPrintout* printoutForPrinting,
1183 wxPrintDialogData* data=NULL)
1184 : wxPrintPreview(printout, printoutForPrinting, data)
1185 {}
1186 wxPyPrintPreview(wxPyPrintout* printout,
1187 wxPyPrintout* printoutForPrinting,
1188 wxPrintData* data=NULL)
1189 : wxPrintPreview(printout, printoutForPrinting, data)
1190 {}
1191
1192 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1193 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1194 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1195 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1196 DEC_PYCALLBACK_VOID_INT(SetZoom);
1197 DEC_PYCALLBACK_BOOL_BOOL(Print);
1198 DEC_PYCALLBACK_VOID_(DetermineScaling);
1199
1200 PYPRIVATE;
1201 };
1202
1203 // Stupid renamed classes... Fix this in 2.5...
1204 #if defined(__WXMSW__)
1205 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1206 #elif defined(__WXMAC__)
1207 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1208 #else
1209 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1210 #endif
1211
1212 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1213 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1214 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1215 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1216 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1217 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1218 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1219
1220
1221 class wxPyPreviewFrame : public wxPreviewFrame
1222 {
1223 DECLARE_CLASS(wxPyPreviewFrame);
1224 public:
1225 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1226 const wxString& title,
1227 const wxPoint& pos = wxDefaultPosition,
1228 const wxSize& size = wxDefaultSize,
1229 long style = wxDEFAULT_FRAME_STYLE,
1230 const wxString& name = wxPyFrameNameStr)
1231 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1232 {}
1233
1234 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1235 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1236
1237 DEC_PYCALLBACK_VOID_(Initialize);
1238 DEC_PYCALLBACK_VOID_(CreateCanvas);
1239 DEC_PYCALLBACK_VOID_(CreateControlBar);
1240
1241 PYPRIVATE;
1242 };
1243
1244 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1245
1246 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1247 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1248 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1249
1250
1251 class wxPyPreviewControlBar : public wxPreviewControlBar
1252 {
1253 DECLARE_CLASS(wxPyPreviewControlBar);
1254 public:
1255 wxPyPreviewControlBar(wxPrintPreview *preview,
1256 long buttons,
1257 wxWindow *parent,
1258 const wxPoint& pos = wxDefaultPosition,
1259 const wxSize& size = wxDefaultSize,
1260 long style = 0,
1261 const wxString& name = wxPyPanelNameStr)
1262 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1263 {}
1264
1265 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1266
1267 DEC_PYCALLBACK_VOID_(CreateButtons);
1268 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1269
1270 PYPRIVATE;
1271 };
1272
1273 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1274 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1275 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1276
1277 #ifdef __cplusplus
1278 extern "C" {
1279 #endif
1280 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1281 PyObject *resultobj;
1282 wxWindow *arg1 = (wxWindow *) 0 ;
1283 int arg2 = (int) (int)-1 ;
1284 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1285 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1286 wxSize const &arg4_defvalue = wxDefaultSize ;
1287 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1288 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1289 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1290 wxString *arg6 = (wxString *) &arg6_defvalue ;
1291 wxPanel *result;
1292 wxPoint temp3 ;
1293 wxSize temp4 ;
1294 bool temp6 = False ;
1295 PyObject * obj0 = 0 ;
1296 PyObject * obj1 = 0 ;
1297 PyObject * obj2 = 0 ;
1298 PyObject * obj3 = 0 ;
1299 PyObject * obj4 = 0 ;
1300 PyObject * obj5 = 0 ;
1301 char *kwnames[] = {
1302 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1303 };
1304
1305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1308 if (obj1) {
1309 arg2 = (int const) SWIG_AsInt(obj1);
1310 if (PyErr_Occurred()) SWIG_fail;
1311 }
1312 if (obj2) {
1313 {
1314 arg3 = &temp3;
1315 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1316 }
1317 }
1318 if (obj3) {
1319 {
1320 arg4 = &temp4;
1321 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1322 }
1323 }
1324 if (obj4) {
1325 arg5 = (long) SWIG_AsLong(obj4);
1326 if (PyErr_Occurred()) SWIG_fail;
1327 }
1328 if (obj5) {
1329 {
1330 arg6 = wxString_in_helper(obj5);
1331 if (arg6 == NULL) SWIG_fail;
1332 temp6 = True;
1333 }
1334 }
1335 {
1336 if (!wxPyCheckForApp()) SWIG_fail;
1337 PyThreadState* __tstate = wxPyBeginAllowThreads();
1338 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1339
1340 wxPyEndAllowThreads(__tstate);
1341 if (PyErr_Occurred()) SWIG_fail;
1342 }
1343 {
1344 resultobj = wxPyMake_wxObject(result);
1345 }
1346 {
1347 if (temp6)
1348 delete arg6;
1349 }
1350 return resultobj;
1351 fail:
1352 {
1353 if (temp6)
1354 delete arg6;
1355 }
1356 return NULL;
1357 }
1358
1359
1360 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1361 PyObject *resultobj;
1362 wxPanel *result;
1363 char *kwnames[] = {
1364 NULL
1365 };
1366
1367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1368 {
1369 if (!wxPyCheckForApp()) SWIG_fail;
1370 PyThreadState* __tstate = wxPyBeginAllowThreads();
1371 result = (wxPanel *)new wxPanel();
1372
1373 wxPyEndAllowThreads(__tstate);
1374 if (PyErr_Occurred()) SWIG_fail;
1375 }
1376 {
1377 resultobj = wxPyMake_wxObject(result);
1378 }
1379 return resultobj;
1380 fail:
1381 return NULL;
1382 }
1383
1384
1385 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1386 PyObject *resultobj;
1387 wxPanel *arg1 = (wxPanel *) 0 ;
1388 wxWindow *arg2 = (wxWindow *) 0 ;
1389 int arg3 = (int) (int)-1 ;
1390 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1391 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1392 wxSize const &arg5_defvalue = wxDefaultSize ;
1393 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1394 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1395 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1396 wxString *arg7 = (wxString *) &arg7_defvalue ;
1397 bool result;
1398 wxPoint temp4 ;
1399 wxSize temp5 ;
1400 bool temp7 = False ;
1401 PyObject * obj0 = 0 ;
1402 PyObject * obj1 = 0 ;
1403 PyObject * obj2 = 0 ;
1404 PyObject * obj3 = 0 ;
1405 PyObject * obj4 = 0 ;
1406 PyObject * obj5 = 0 ;
1407 PyObject * obj6 = 0 ;
1408 char *kwnames[] = {
1409 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1410 };
1411
1412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1417 if (obj2) {
1418 arg3 = (int const) SWIG_AsInt(obj2);
1419 if (PyErr_Occurred()) SWIG_fail;
1420 }
1421 if (obj3) {
1422 {
1423 arg4 = &temp4;
1424 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1425 }
1426 }
1427 if (obj4) {
1428 {
1429 arg5 = &temp5;
1430 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1431 }
1432 }
1433 if (obj5) {
1434 arg6 = (long) SWIG_AsLong(obj5);
1435 if (PyErr_Occurred()) SWIG_fail;
1436 }
1437 if (obj6) {
1438 {
1439 arg7 = wxString_in_helper(obj6);
1440 if (arg7 == NULL) SWIG_fail;
1441 temp7 = True;
1442 }
1443 }
1444 {
1445 PyThreadState* __tstate = wxPyBeginAllowThreads();
1446 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1447
1448 wxPyEndAllowThreads(__tstate);
1449 if (PyErr_Occurred()) SWIG_fail;
1450 }
1451 {
1452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1453 }
1454 {
1455 if (temp7)
1456 delete arg7;
1457 }
1458 return resultobj;
1459 fail:
1460 {
1461 if (temp7)
1462 delete arg7;
1463 }
1464 return NULL;
1465 }
1466
1467
1468 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1469 PyObject *resultobj;
1470 wxPanel *arg1 = (wxPanel *) 0 ;
1471 PyObject * obj0 = 0 ;
1472 char *kwnames[] = {
1473 (char *) "self", NULL
1474 };
1475
1476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1479 {
1480 PyThreadState* __tstate = wxPyBeginAllowThreads();
1481 (arg1)->InitDialog();
1482
1483 wxPyEndAllowThreads(__tstate);
1484 if (PyErr_Occurred()) SWIG_fail;
1485 }
1486 Py_INCREF(Py_None); resultobj = Py_None;
1487 return resultobj;
1488 fail:
1489 return NULL;
1490 }
1491
1492
1493 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1494 PyObject *resultobj;
1495 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1496 wxVisualAttributes result;
1497 PyObject * obj0 = 0 ;
1498 char *kwnames[] = {
1499 (char *) "variant", NULL
1500 };
1501
1502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1503 if (obj0) {
1504 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1505 if (PyErr_Occurred()) SWIG_fail;
1506 }
1507 {
1508 if (!wxPyCheckForApp()) SWIG_fail;
1509 PyThreadState* __tstate = wxPyBeginAllowThreads();
1510 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1511
1512 wxPyEndAllowThreads(__tstate);
1513 if (PyErr_Occurred()) SWIG_fail;
1514 }
1515 {
1516 wxVisualAttributes * resultptr;
1517 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1518 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1519 }
1520 return resultobj;
1521 fail:
1522 return NULL;
1523 }
1524
1525
1526 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1527 PyObject *obj;
1528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1529 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1530 Py_INCREF(obj);
1531 return Py_BuildValue((char *)"");
1532 }
1533 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1534 PyObject *resultobj;
1535 wxWindow *arg1 = (wxWindow *) 0 ;
1536 int arg2 = (int) (int)-1 ;
1537 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1538 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1539 wxSize const &arg4_defvalue = wxDefaultSize ;
1540 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1541 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1542 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1543 wxString *arg6 = (wxString *) &arg6_defvalue ;
1544 wxScrolledWindow *result;
1545 wxPoint temp3 ;
1546 wxSize temp4 ;
1547 bool temp6 = False ;
1548 PyObject * obj0 = 0 ;
1549 PyObject * obj1 = 0 ;
1550 PyObject * obj2 = 0 ;
1551 PyObject * obj3 = 0 ;
1552 PyObject * obj4 = 0 ;
1553 PyObject * obj5 = 0 ;
1554 char *kwnames[] = {
1555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1556 };
1557
1558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1561 if (obj1) {
1562 arg2 = (int const) SWIG_AsInt(obj1);
1563 if (PyErr_Occurred()) SWIG_fail;
1564 }
1565 if (obj2) {
1566 {
1567 arg3 = &temp3;
1568 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1569 }
1570 }
1571 if (obj3) {
1572 {
1573 arg4 = &temp4;
1574 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1575 }
1576 }
1577 if (obj4) {
1578 arg5 = (long) SWIG_AsLong(obj4);
1579 if (PyErr_Occurred()) SWIG_fail;
1580 }
1581 if (obj5) {
1582 {
1583 arg6 = wxString_in_helper(obj5);
1584 if (arg6 == NULL) SWIG_fail;
1585 temp6 = True;
1586 }
1587 }
1588 {
1589 if (!wxPyCheckForApp()) SWIG_fail;
1590 PyThreadState* __tstate = wxPyBeginAllowThreads();
1591 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1592
1593 wxPyEndAllowThreads(__tstate);
1594 if (PyErr_Occurred()) SWIG_fail;
1595 }
1596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1597 {
1598 if (temp6)
1599 delete arg6;
1600 }
1601 return resultobj;
1602 fail:
1603 {
1604 if (temp6)
1605 delete arg6;
1606 }
1607 return NULL;
1608 }
1609
1610
1611 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1612 PyObject *resultobj;
1613 wxScrolledWindow *result;
1614 char *kwnames[] = {
1615 NULL
1616 };
1617
1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1619 {
1620 if (!wxPyCheckForApp()) SWIG_fail;
1621 PyThreadState* __tstate = wxPyBeginAllowThreads();
1622 result = (wxScrolledWindow *)new wxScrolledWindow();
1623
1624 wxPyEndAllowThreads(__tstate);
1625 if (PyErr_Occurred()) SWIG_fail;
1626 }
1627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1628 return resultobj;
1629 fail:
1630 return NULL;
1631 }
1632
1633
1634 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1635 PyObject *resultobj;
1636 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1637 wxWindow *arg2 = (wxWindow *) 0 ;
1638 int arg3 = (int) (int)-1 ;
1639 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1640 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1641 wxSize const &arg5_defvalue = wxDefaultSize ;
1642 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1643 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1644 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1645 wxString *arg7 = (wxString *) &arg7_defvalue ;
1646 bool result;
1647 wxPoint temp4 ;
1648 wxSize temp5 ;
1649 bool temp7 = False ;
1650 PyObject * obj0 = 0 ;
1651 PyObject * obj1 = 0 ;
1652 PyObject * obj2 = 0 ;
1653 PyObject * obj3 = 0 ;
1654 PyObject * obj4 = 0 ;
1655 PyObject * obj5 = 0 ;
1656 PyObject * obj6 = 0 ;
1657 char *kwnames[] = {
1658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1659 };
1660
1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1666 if (obj2) {
1667 arg3 = (int const) SWIG_AsInt(obj2);
1668 if (PyErr_Occurred()) SWIG_fail;
1669 }
1670 if (obj3) {
1671 {
1672 arg4 = &temp4;
1673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1674 }
1675 }
1676 if (obj4) {
1677 {
1678 arg5 = &temp5;
1679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1680 }
1681 }
1682 if (obj5) {
1683 arg6 = (long) SWIG_AsLong(obj5);
1684 if (PyErr_Occurred()) SWIG_fail;
1685 }
1686 if (obj6) {
1687 {
1688 arg7 = wxString_in_helper(obj6);
1689 if (arg7 == NULL) SWIG_fail;
1690 temp7 = True;
1691 }
1692 }
1693 {
1694 PyThreadState* __tstate = wxPyBeginAllowThreads();
1695 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1696
1697 wxPyEndAllowThreads(__tstate);
1698 if (PyErr_Occurred()) SWIG_fail;
1699 }
1700 {
1701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1702 }
1703 {
1704 if (temp7)
1705 delete arg7;
1706 }
1707 return resultobj;
1708 fail:
1709 {
1710 if (temp7)
1711 delete arg7;
1712 }
1713 return NULL;
1714 }
1715
1716
1717 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1718 PyObject *resultobj;
1719 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1720 int arg2 ;
1721 int arg3 ;
1722 int arg4 ;
1723 int arg5 ;
1724 int arg6 = (int) 0 ;
1725 int arg7 = (int) 0 ;
1726 bool arg8 = (bool) False ;
1727 PyObject * obj0 = 0 ;
1728 PyObject * obj1 = 0 ;
1729 PyObject * obj2 = 0 ;
1730 PyObject * obj3 = 0 ;
1731 PyObject * obj4 = 0 ;
1732 PyObject * obj5 = 0 ;
1733 PyObject * obj6 = 0 ;
1734 PyObject * obj7 = 0 ;
1735 char *kwnames[] = {
1736 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1737 };
1738
1739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1742 arg2 = (int) SWIG_AsInt(obj1);
1743 if (PyErr_Occurred()) SWIG_fail;
1744 arg3 = (int) SWIG_AsInt(obj2);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 arg4 = (int) SWIG_AsInt(obj3);
1747 if (PyErr_Occurred()) SWIG_fail;
1748 arg5 = (int) SWIG_AsInt(obj4);
1749 if (PyErr_Occurred()) SWIG_fail;
1750 if (obj5) {
1751 arg6 = (int) SWIG_AsInt(obj5);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 }
1754 if (obj6) {
1755 arg7 = (int) SWIG_AsInt(obj6);
1756 if (PyErr_Occurred()) SWIG_fail;
1757 }
1758 if (obj7) {
1759 arg8 = (bool) SWIG_AsBool(obj7);
1760 if (PyErr_Occurred()) SWIG_fail;
1761 }
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 Py_INCREF(Py_None); resultobj = Py_None;
1770 return resultobj;
1771 fail:
1772 return NULL;
1773 }
1774
1775
1776 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1777 PyObject *resultobj;
1778 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1779 int arg2 ;
1780 int arg3 ;
1781 PyObject * obj0 = 0 ;
1782 PyObject * obj1 = 0 ;
1783 PyObject * obj2 = 0 ;
1784 char *kwnames[] = {
1785 (char *) "self",(char *) "x",(char *) "y", NULL
1786 };
1787
1788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1791 arg2 = (int) SWIG_AsInt(obj1);
1792 if (PyErr_Occurred()) SWIG_fail;
1793 arg3 = (int) SWIG_AsInt(obj2);
1794 if (PyErr_Occurred()) SWIG_fail;
1795 {
1796 PyThreadState* __tstate = wxPyBeginAllowThreads();
1797 (arg1)->Scroll(arg2,arg3);
1798
1799 wxPyEndAllowThreads(__tstate);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 }
1802 Py_INCREF(Py_None); resultobj = Py_None;
1803 return resultobj;
1804 fail:
1805 return NULL;
1806 }
1807
1808
1809 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1810 PyObject *resultobj;
1811 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1812 int arg2 ;
1813 int result;
1814 PyObject * obj0 = 0 ;
1815 PyObject * obj1 = 0 ;
1816 char *kwnames[] = {
1817 (char *) "self",(char *) "orient", NULL
1818 };
1819
1820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1823 arg2 = (int) SWIG_AsInt(obj1);
1824 if (PyErr_Occurred()) SWIG_fail;
1825 {
1826 PyThreadState* __tstate = wxPyBeginAllowThreads();
1827 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1828
1829 wxPyEndAllowThreads(__tstate);
1830 if (PyErr_Occurred()) SWIG_fail;
1831 }
1832 resultobj = SWIG_FromInt((int)result);
1833 return resultobj;
1834 fail:
1835 return NULL;
1836 }
1837
1838
1839 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1840 PyObject *resultobj;
1841 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1842 int arg2 ;
1843 int arg3 ;
1844 PyObject * obj0 = 0 ;
1845 PyObject * obj1 = 0 ;
1846 PyObject * obj2 = 0 ;
1847 char *kwnames[] = {
1848 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1849 };
1850
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1854 arg2 = (int) SWIG_AsInt(obj1);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 arg3 = (int) SWIG_AsInt(obj2);
1857 if (PyErr_Occurred()) SWIG_fail;
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 (arg1)->SetScrollPageSize(arg2,arg3);
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 Py_INCREF(Py_None); resultobj = Py_None;
1866 return resultobj;
1867 fail:
1868 return NULL;
1869 }
1870
1871
1872 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1873 PyObject *resultobj;
1874 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1875 int arg2 ;
1876 int arg3 ;
1877 PyObject * obj0 = 0 ;
1878 PyObject * obj1 = 0 ;
1879 PyObject * obj2 = 0 ;
1880 char *kwnames[] = {
1881 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1882 };
1883
1884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1887 arg2 = (int) SWIG_AsInt(obj1);
1888 if (PyErr_Occurred()) SWIG_fail;
1889 arg3 = (int) SWIG_AsInt(obj2);
1890 if (PyErr_Occurred()) SWIG_fail;
1891 {
1892 PyThreadState* __tstate = wxPyBeginAllowThreads();
1893 (arg1)->SetScrollRate(arg2,arg3);
1894
1895 wxPyEndAllowThreads(__tstate);
1896 if (PyErr_Occurred()) SWIG_fail;
1897 }
1898 Py_INCREF(Py_None); resultobj = Py_None;
1899 return resultobj;
1900 fail:
1901 return NULL;
1902 }
1903
1904
1905 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1906 PyObject *resultobj;
1907 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1908 int *arg2 = (int *) 0 ;
1909 int *arg3 = (int *) 0 ;
1910 int temp2 ;
1911 int temp3 ;
1912 PyObject * obj0 = 0 ;
1913 char *kwnames[] = {
1914 (char *) "self", NULL
1915 };
1916
1917 arg2 = &temp2;
1918 arg3 = &temp3;
1919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1922 {
1923 PyThreadState* __tstate = wxPyBeginAllowThreads();
1924 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1925
1926 wxPyEndAllowThreads(__tstate);
1927 if (PyErr_Occurred()) SWIG_fail;
1928 }
1929 Py_INCREF(Py_None); resultobj = Py_None;
1930 {
1931 PyObject *o = PyInt_FromLong((long) (*arg2));
1932 resultobj = t_output_helper(resultobj,o);
1933 }
1934 {
1935 PyObject *o = PyInt_FromLong((long) (*arg3));
1936 resultobj = t_output_helper(resultobj,o);
1937 }
1938 return resultobj;
1939 fail:
1940 return NULL;
1941 }
1942
1943
1944 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1945 PyObject *resultobj;
1946 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1947 bool arg2 ;
1948 bool arg3 ;
1949 PyObject * obj0 = 0 ;
1950 PyObject * obj1 = 0 ;
1951 PyObject * obj2 = 0 ;
1952 char *kwnames[] = {
1953 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1954 };
1955
1956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1959 arg2 = (bool) SWIG_AsBool(obj1);
1960 if (PyErr_Occurred()) SWIG_fail;
1961 arg3 = (bool) SWIG_AsBool(obj2);
1962 if (PyErr_Occurred()) SWIG_fail;
1963 {
1964 PyThreadState* __tstate = wxPyBeginAllowThreads();
1965 (arg1)->EnableScrolling(arg2,arg3);
1966
1967 wxPyEndAllowThreads(__tstate);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
1970 Py_INCREF(Py_None); resultobj = Py_None;
1971 return resultobj;
1972 fail:
1973 return NULL;
1974 }
1975
1976
1977 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1980 int *arg2 = (int *) 0 ;
1981 int *arg3 = (int *) 0 ;
1982 int temp2 ;
1983 int temp3 ;
1984 PyObject * obj0 = 0 ;
1985 char *kwnames[] = {
1986 (char *) "self", NULL
1987 };
1988
1989 arg2 = &temp2;
1990 arg3 = &temp3;
1991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
2001 Py_INCREF(Py_None); resultobj = Py_None;
2002 {
2003 PyObject *o = PyInt_FromLong((long) (*arg2));
2004 resultobj = t_output_helper(resultobj,o);
2005 }
2006 {
2007 PyObject *o = PyInt_FromLong((long) (*arg3));
2008 resultobj = t_output_helper(resultobj,o);
2009 }
2010 return resultobj;
2011 fail:
2012 return NULL;
2013 }
2014
2015
2016 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
2017 PyObject *resultobj;
2018 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2019 double arg2 ;
2020 double arg3 ;
2021 PyObject * obj0 = 0 ;
2022 PyObject * obj1 = 0 ;
2023 PyObject * obj2 = 0 ;
2024 char *kwnames[] = {
2025 (char *) "self",(char *) "xs",(char *) "ys", NULL
2026 };
2027
2028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2031 arg2 = (double) SWIG_AsDouble(obj1);
2032 if (PyErr_Occurred()) SWIG_fail;
2033 arg3 = (double) SWIG_AsDouble(obj2);
2034 if (PyErr_Occurred()) SWIG_fail;
2035 {
2036 PyThreadState* __tstate = wxPyBeginAllowThreads();
2037 (arg1)->SetScale(arg2,arg3);
2038
2039 wxPyEndAllowThreads(__tstate);
2040 if (PyErr_Occurred()) SWIG_fail;
2041 }
2042 Py_INCREF(Py_None); resultobj = Py_None;
2043 return resultobj;
2044 fail:
2045 return NULL;
2046 }
2047
2048
2049 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2050 PyObject *resultobj;
2051 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2052 double result;
2053 PyObject * obj0 = 0 ;
2054 char *kwnames[] = {
2055 (char *) "self", NULL
2056 };
2057
2058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2061 {
2062 PyThreadState* __tstate = wxPyBeginAllowThreads();
2063 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2064
2065 wxPyEndAllowThreads(__tstate);
2066 if (PyErr_Occurred()) SWIG_fail;
2067 }
2068 resultobj = SWIG_FromDouble((double)result);
2069 return resultobj;
2070 fail:
2071 return NULL;
2072 }
2073
2074
2075 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2076 PyObject *resultobj;
2077 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2078 double result;
2079 PyObject * obj0 = 0 ;
2080 char *kwnames[] = {
2081 (char *) "self", NULL
2082 };
2083
2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2087 {
2088 PyThreadState* __tstate = wxPyBeginAllowThreads();
2089 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2090
2091 wxPyEndAllowThreads(__tstate);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 }
2094 resultobj = SWIG_FromDouble((double)result);
2095 return resultobj;
2096 fail:
2097 return NULL;
2098 }
2099
2100
2101 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2102 PyObject *resultobj;
2103 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2104 wxPoint *arg2 = 0 ;
2105 wxPoint result;
2106 wxPoint temp2 ;
2107 PyObject * obj0 = 0 ;
2108 PyObject * obj1 = 0 ;
2109
2110 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2113 {
2114 arg2 = &temp2;
2115 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2116 }
2117 {
2118 PyThreadState* __tstate = wxPyBeginAllowThreads();
2119 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2120
2121 wxPyEndAllowThreads(__tstate);
2122 if (PyErr_Occurred()) SWIG_fail;
2123 }
2124 {
2125 wxPoint * resultptr;
2126 resultptr = new wxPoint((wxPoint &) result);
2127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2128 }
2129 return resultobj;
2130 fail:
2131 return NULL;
2132 }
2133
2134
2135 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2136 PyObject *resultobj;
2137 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2138 int arg2 ;
2139 int arg3 ;
2140 int *arg4 = (int *) 0 ;
2141 int *arg5 = (int *) 0 ;
2142 int temp4 ;
2143 int temp5 ;
2144 PyObject * obj0 = 0 ;
2145 PyObject * obj1 = 0 ;
2146 PyObject * obj2 = 0 ;
2147
2148 arg4 = &temp4;
2149 arg5 = &temp5;
2150 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2153 arg2 = (int) SWIG_AsInt(obj1);
2154 if (PyErr_Occurred()) SWIG_fail;
2155 arg3 = (int) SWIG_AsInt(obj2);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 {
2158 PyThreadState* __tstate = wxPyBeginAllowThreads();
2159 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2160
2161 wxPyEndAllowThreads(__tstate);
2162 if (PyErr_Occurred()) SWIG_fail;
2163 }
2164 Py_INCREF(Py_None); resultobj = Py_None;
2165 {
2166 PyObject *o = PyInt_FromLong((long) (*arg4));
2167 resultobj = t_output_helper(resultobj,o);
2168 }
2169 {
2170 PyObject *o = PyInt_FromLong((long) (*arg5));
2171 resultobj = t_output_helper(resultobj,o);
2172 }
2173 return resultobj;
2174 fail:
2175 return NULL;
2176 }
2177
2178
2179 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2180 int argc;
2181 PyObject *argv[4];
2182 int ii;
2183
2184 argc = PyObject_Length(args);
2185 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2186 argv[ii] = PyTuple_GetItem(args,ii);
2187 }
2188 if (argc == 2) {
2189 int _v;
2190 {
2191 void *ptr;
2192 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2193 _v = 0;
2194 PyErr_Clear();
2195 } else {
2196 _v = 1;
2197 }
2198 }
2199 if (_v) {
2200 {
2201 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2202 }
2203 if (_v) {
2204 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2205 }
2206 }
2207 }
2208 if (argc == 3) {
2209 int _v;
2210 {
2211 void *ptr;
2212 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2213 _v = 0;
2214 PyErr_Clear();
2215 } else {
2216 _v = 1;
2217 }
2218 }
2219 if (_v) {
2220 _v = SWIG_CheckInt(argv[1]);
2221 if (_v) {
2222 _v = SWIG_CheckInt(argv[2]);
2223 if (_v) {
2224 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2225 }
2226 }
2227 }
2228 }
2229
2230 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2231 return NULL;
2232 }
2233
2234
2235 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2236 PyObject *resultobj;
2237 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2238 wxPoint *arg2 = 0 ;
2239 wxPoint result;
2240 wxPoint temp2 ;
2241 PyObject * obj0 = 0 ;
2242 PyObject * obj1 = 0 ;
2243
2244 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2247 {
2248 arg2 = &temp2;
2249 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2250 }
2251 {
2252 PyThreadState* __tstate = wxPyBeginAllowThreads();
2253 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2254
2255 wxPyEndAllowThreads(__tstate);
2256 if (PyErr_Occurred()) SWIG_fail;
2257 }
2258 {
2259 wxPoint * resultptr;
2260 resultptr = new wxPoint((wxPoint &) result);
2261 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2262 }
2263 return resultobj;
2264 fail:
2265 return NULL;
2266 }
2267
2268
2269 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2270 PyObject *resultobj;
2271 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2272 int arg2 ;
2273 int arg3 ;
2274 int *arg4 = (int *) 0 ;
2275 int *arg5 = (int *) 0 ;
2276 int temp4 ;
2277 int temp5 ;
2278 PyObject * obj0 = 0 ;
2279 PyObject * obj1 = 0 ;
2280 PyObject * obj2 = 0 ;
2281
2282 arg4 = &temp4;
2283 arg5 = &temp5;
2284 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2287 arg2 = (int) SWIG_AsInt(obj1);
2288 if (PyErr_Occurred()) SWIG_fail;
2289 arg3 = (int) SWIG_AsInt(obj2);
2290 if (PyErr_Occurred()) SWIG_fail;
2291 {
2292 PyThreadState* __tstate = wxPyBeginAllowThreads();
2293 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2294
2295 wxPyEndAllowThreads(__tstate);
2296 if (PyErr_Occurred()) SWIG_fail;
2297 }
2298 Py_INCREF(Py_None); resultobj = Py_None;
2299 {
2300 PyObject *o = PyInt_FromLong((long) (*arg4));
2301 resultobj = t_output_helper(resultobj,o);
2302 }
2303 {
2304 PyObject *o = PyInt_FromLong((long) (*arg5));
2305 resultobj = t_output_helper(resultobj,o);
2306 }
2307 return resultobj;
2308 fail:
2309 return NULL;
2310 }
2311
2312
2313 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2314 int argc;
2315 PyObject *argv[4];
2316 int ii;
2317
2318 argc = PyObject_Length(args);
2319 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2320 argv[ii] = PyTuple_GetItem(args,ii);
2321 }
2322 if (argc == 2) {
2323 int _v;
2324 {
2325 void *ptr;
2326 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2327 _v = 0;
2328 PyErr_Clear();
2329 } else {
2330 _v = 1;
2331 }
2332 }
2333 if (_v) {
2334 {
2335 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2336 }
2337 if (_v) {
2338 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2339 }
2340 }
2341 }
2342 if (argc == 3) {
2343 int _v;
2344 {
2345 void *ptr;
2346 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2347 _v = 0;
2348 PyErr_Clear();
2349 } else {
2350 _v = 1;
2351 }
2352 }
2353 if (_v) {
2354 _v = SWIG_CheckInt(argv[1]);
2355 if (_v) {
2356 _v = SWIG_CheckInt(argv[2]);
2357 if (_v) {
2358 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2359 }
2360 }
2361 }
2362 }
2363
2364 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2365 return NULL;
2366 }
2367
2368
2369 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2370 PyObject *resultobj;
2371 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2372 PyObject * obj0 = 0 ;
2373 char *kwnames[] = {
2374 (char *) "self", NULL
2375 };
2376
2377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2380 {
2381 PyThreadState* __tstate = wxPyBeginAllowThreads();
2382 (arg1)->AdjustScrollbars();
2383
2384 wxPyEndAllowThreads(__tstate);
2385 if (PyErr_Occurred()) SWIG_fail;
2386 }
2387 Py_INCREF(Py_None); resultobj = Py_None;
2388 return resultobj;
2389 fail:
2390 return NULL;
2391 }
2392
2393
2394 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2395 PyObject *resultobj;
2396 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2397 wxScrollWinEvent *arg2 = 0 ;
2398 int result;
2399 PyObject * obj0 = 0 ;
2400 PyObject * obj1 = 0 ;
2401 char *kwnames[] = {
2402 (char *) "self",(char *) "event", NULL
2403 };
2404
2405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2409 SWIG_POINTER_EXCEPTION | 0)) == -1)
2410 SWIG_fail;
2411 if (arg2 == NULL) {
2412 PyErr_SetString(PyExc_TypeError,"null reference");
2413 SWIG_fail;
2414 }
2415 {
2416 PyThreadState* __tstate = wxPyBeginAllowThreads();
2417 result = (int)(arg1)->CalcScrollInc(*arg2);
2418
2419 wxPyEndAllowThreads(__tstate);
2420 if (PyErr_Occurred()) SWIG_fail;
2421 }
2422 resultobj = SWIG_FromInt((int)result);
2423 return resultobj;
2424 fail:
2425 return NULL;
2426 }
2427
2428
2429 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2430 PyObject *resultobj;
2431 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2432 wxWindow *arg2 = (wxWindow *) 0 ;
2433 PyObject * obj0 = 0 ;
2434 PyObject * obj1 = 0 ;
2435 char *kwnames[] = {
2436 (char *) "self",(char *) "target", NULL
2437 };
2438
2439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2442 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2444 {
2445 PyThreadState* __tstate = wxPyBeginAllowThreads();
2446 (arg1)->SetTargetWindow(arg2);
2447
2448 wxPyEndAllowThreads(__tstate);
2449 if (PyErr_Occurred()) SWIG_fail;
2450 }
2451 Py_INCREF(Py_None); resultobj = Py_None;
2452 return resultobj;
2453 fail:
2454 return NULL;
2455 }
2456
2457
2458 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2459 PyObject *resultobj;
2460 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2461 wxWindow *result;
2462 PyObject * obj0 = 0 ;
2463 char *kwnames[] = {
2464 (char *) "self", NULL
2465 };
2466
2467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2470 {
2471 PyThreadState* __tstate = wxPyBeginAllowThreads();
2472 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2473
2474 wxPyEndAllowThreads(__tstate);
2475 if (PyErr_Occurred()) SWIG_fail;
2476 }
2477 {
2478 resultobj = wxPyMake_wxObject(result);
2479 }
2480 return resultobj;
2481 fail:
2482 return NULL;
2483 }
2484
2485
2486 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2487 PyObject *resultobj;
2488 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2489 wxRect *arg2 = 0 ;
2490 wxRect temp2 ;
2491 PyObject * obj0 = 0 ;
2492 PyObject * obj1 = 0 ;
2493 char *kwnames[] = {
2494 (char *) "self",(char *) "rect", NULL
2495 };
2496
2497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2500 {
2501 arg2 = &temp2;
2502 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2503 }
2504 {
2505 PyThreadState* __tstate = wxPyBeginAllowThreads();
2506 (arg1)->SetTargetRect((wxRect const &)*arg2);
2507
2508 wxPyEndAllowThreads(__tstate);
2509 if (PyErr_Occurred()) SWIG_fail;
2510 }
2511 Py_INCREF(Py_None); resultobj = Py_None;
2512 return resultobj;
2513 fail:
2514 return NULL;
2515 }
2516
2517
2518 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2519 PyObject *resultobj;
2520 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2521 wxRect result;
2522 PyObject * obj0 = 0 ;
2523 char *kwnames[] = {
2524 (char *) "self", NULL
2525 };
2526
2527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2530 {
2531 PyThreadState* __tstate = wxPyBeginAllowThreads();
2532 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2533
2534 wxPyEndAllowThreads(__tstate);
2535 if (PyErr_Occurred()) SWIG_fail;
2536 }
2537 {
2538 wxRect * resultptr;
2539 resultptr = new wxRect((wxRect &) result);
2540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2541 }
2542 return resultobj;
2543 fail:
2544 return NULL;
2545 }
2546
2547
2548 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2549 PyObject *resultobj;
2550 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2551 wxVisualAttributes result;
2552 PyObject * obj0 = 0 ;
2553 char *kwnames[] = {
2554 (char *) "variant", NULL
2555 };
2556
2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2558 if (obj0) {
2559 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2560 if (PyErr_Occurred()) SWIG_fail;
2561 }
2562 {
2563 if (!wxPyCheckForApp()) SWIG_fail;
2564 PyThreadState* __tstate = wxPyBeginAllowThreads();
2565 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2566
2567 wxPyEndAllowThreads(__tstate);
2568 if (PyErr_Occurred()) SWIG_fail;
2569 }
2570 {
2571 wxVisualAttributes * resultptr;
2572 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2574 }
2575 return resultobj;
2576 fail:
2577 return NULL;
2578 }
2579
2580
2581 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2582 PyObject *obj;
2583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2584 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2585 Py_INCREF(obj);
2586 return Py_BuildValue((char *)"");
2587 }
2588 static int _wrap_FrameNameStr_set(PyObject *_val) {
2589 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2590 return 1;
2591 }
2592
2593
2594 static PyObject *_wrap_FrameNameStr_get() {
2595 PyObject *pyobj;
2596
2597 {
2598 #if wxUSE_UNICODE
2599 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2600 #else
2601 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2602 #endif
2603 }
2604 return pyobj;
2605 }
2606
2607
2608 static int _wrap_DialogNameStr_set(PyObject *_val) {
2609 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2610 return 1;
2611 }
2612
2613
2614 static PyObject *_wrap_DialogNameStr_get() {
2615 PyObject *pyobj;
2616
2617 {
2618 #if wxUSE_UNICODE
2619 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2620 #else
2621 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2622 #endif
2623 }
2624 return pyobj;
2625 }
2626
2627
2628 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2629 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2630 return 1;
2631 }
2632
2633
2634 static PyObject *_wrap_StatusLineNameStr_get() {
2635 PyObject *pyobj;
2636
2637 {
2638 #if wxUSE_UNICODE
2639 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2640 #else
2641 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2642 #endif
2643 }
2644 return pyobj;
2645 }
2646
2647
2648 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2649 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2650 return 1;
2651 }
2652
2653
2654 static PyObject *_wrap_ToolBarNameStr_get() {
2655 PyObject *pyobj;
2656
2657 {
2658 #if wxUSE_UNICODE
2659 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2660 #else
2661 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2662 #endif
2663 }
2664 return pyobj;
2665 }
2666
2667
2668 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2669 PyObject *resultobj;
2670 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2671 bool arg2 = (bool) True ;
2672 PyObject * obj0 = 0 ;
2673 PyObject * obj1 = 0 ;
2674 char *kwnames[] = {
2675 (char *) "self",(char *) "maximize", NULL
2676 };
2677
2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2681 if (obj1) {
2682 arg2 = (bool) SWIG_AsBool(obj1);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 (arg1)->Maximize(arg2);
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 Py_INCREF(Py_None); resultobj = Py_None;
2693 return resultobj;
2694 fail:
2695 return NULL;
2696 }
2697
2698
2699 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2700 PyObject *resultobj;
2701 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2702 PyObject * obj0 = 0 ;
2703 char *kwnames[] = {
2704 (char *) "self", NULL
2705 };
2706
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 (arg1)->Restore();
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 Py_INCREF(Py_None); resultobj = Py_None;
2718 return resultobj;
2719 fail:
2720 return NULL;
2721 }
2722
2723
2724 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2725 PyObject *resultobj;
2726 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2727 bool arg2 = (bool) True ;
2728 PyObject * obj0 = 0 ;
2729 PyObject * obj1 = 0 ;
2730 char *kwnames[] = {
2731 (char *) "self",(char *) "iconize", NULL
2732 };
2733
2734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2737 if (obj1) {
2738 arg2 = (bool) SWIG_AsBool(obj1);
2739 if (PyErr_Occurred()) SWIG_fail;
2740 }
2741 {
2742 PyThreadState* __tstate = wxPyBeginAllowThreads();
2743 (arg1)->Iconize(arg2);
2744
2745 wxPyEndAllowThreads(__tstate);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 }
2748 Py_INCREF(Py_None); resultobj = Py_None;
2749 return resultobj;
2750 fail:
2751 return NULL;
2752 }
2753
2754
2755 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2756 PyObject *resultobj;
2757 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2758 bool result;
2759 PyObject * obj0 = 0 ;
2760 char *kwnames[] = {
2761 (char *) "self", NULL
2762 };
2763
2764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2767 {
2768 PyThreadState* __tstate = wxPyBeginAllowThreads();
2769 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2770
2771 wxPyEndAllowThreads(__tstate);
2772 if (PyErr_Occurred()) SWIG_fail;
2773 }
2774 {
2775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2776 }
2777 return resultobj;
2778 fail:
2779 return NULL;
2780 }
2781
2782
2783 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2784 PyObject *resultobj;
2785 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2786 bool result;
2787 PyObject * obj0 = 0 ;
2788 char *kwnames[] = {
2789 (char *) "self", NULL
2790 };
2791
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2795 {
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2798
2799 wxPyEndAllowThreads(__tstate);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 }
2802 {
2803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2804 }
2805 return resultobj;
2806 fail:
2807 return NULL;
2808 }
2809
2810
2811 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2812 PyObject *resultobj;
2813 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2814 wxIcon result;
2815 PyObject * obj0 = 0 ;
2816 char *kwnames[] = {
2817 (char *) "self", NULL
2818 };
2819
2820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2823 {
2824 PyThreadState* __tstate = wxPyBeginAllowThreads();
2825 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2826
2827 wxPyEndAllowThreads(__tstate);
2828 if (PyErr_Occurred()) SWIG_fail;
2829 }
2830 {
2831 wxIcon * resultptr;
2832 resultptr = new wxIcon((wxIcon &) result);
2833 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2834 }
2835 return resultobj;
2836 fail:
2837 return NULL;
2838 }
2839
2840
2841 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2842 PyObject *resultobj;
2843 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2844 wxIcon *arg2 = 0 ;
2845 PyObject * obj0 = 0 ;
2846 PyObject * obj1 = 0 ;
2847 char *kwnames[] = {
2848 (char *) "self",(char *) "icon", NULL
2849 };
2850
2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2855 SWIG_POINTER_EXCEPTION | 0)) == -1)
2856 SWIG_fail;
2857 if (arg2 == NULL) {
2858 PyErr_SetString(PyExc_TypeError,"null reference");
2859 SWIG_fail;
2860 }
2861 {
2862 PyThreadState* __tstate = wxPyBeginAllowThreads();
2863 (arg1)->SetIcon((wxIcon const &)*arg2);
2864
2865 wxPyEndAllowThreads(__tstate);
2866 if (PyErr_Occurred()) SWIG_fail;
2867 }
2868 Py_INCREF(Py_None); resultobj = Py_None;
2869 return resultobj;
2870 fail:
2871 return NULL;
2872 }
2873
2874
2875 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2876 PyObject *resultobj;
2877 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2878 wxIconBundle *arg2 = 0 ;
2879 PyObject * obj0 = 0 ;
2880 PyObject * obj1 = 0 ;
2881 char *kwnames[] = {
2882 (char *) "self",(char *) "icons", NULL
2883 };
2884
2885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2889 SWIG_POINTER_EXCEPTION | 0)) == -1)
2890 SWIG_fail;
2891 if (arg2 == NULL) {
2892 PyErr_SetString(PyExc_TypeError,"null reference");
2893 SWIG_fail;
2894 }
2895 {
2896 PyThreadState* __tstate = wxPyBeginAllowThreads();
2897 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2898
2899 wxPyEndAllowThreads(__tstate);
2900 if (PyErr_Occurred()) SWIG_fail;
2901 }
2902 Py_INCREF(Py_None); resultobj = Py_None;
2903 return resultobj;
2904 fail:
2905 return NULL;
2906 }
2907
2908
2909 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2910 PyObject *resultobj;
2911 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2912 bool arg2 ;
2913 long arg3 = (long) wxFULLSCREEN_ALL ;
2914 bool result;
2915 PyObject * obj0 = 0 ;
2916 PyObject * obj1 = 0 ;
2917 PyObject * obj2 = 0 ;
2918 char *kwnames[] = {
2919 (char *) "self",(char *) "show",(char *) "style", NULL
2920 };
2921
2922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2925 arg2 = (bool) SWIG_AsBool(obj1);
2926 if (PyErr_Occurred()) SWIG_fail;
2927 if (obj2) {
2928 arg3 = (long) SWIG_AsLong(obj2);
2929 if (PyErr_Occurred()) SWIG_fail;
2930 }
2931 {
2932 PyThreadState* __tstate = wxPyBeginAllowThreads();
2933 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2934
2935 wxPyEndAllowThreads(__tstate);
2936 if (PyErr_Occurred()) SWIG_fail;
2937 }
2938 {
2939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2940 }
2941 return resultobj;
2942 fail:
2943 return NULL;
2944 }
2945
2946
2947 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2948 PyObject *resultobj;
2949 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2950 bool result;
2951 PyObject * obj0 = 0 ;
2952 char *kwnames[] = {
2953 (char *) "self", NULL
2954 };
2955
2956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2959 {
2960 PyThreadState* __tstate = wxPyBeginAllowThreads();
2961 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2962
2963 wxPyEndAllowThreads(__tstate);
2964 if (PyErr_Occurred()) SWIG_fail;
2965 }
2966 {
2967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2968 }
2969 return resultobj;
2970 fail:
2971 return NULL;
2972 }
2973
2974
2975 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2976 PyObject *resultobj;
2977 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2978 wxString *arg2 = 0 ;
2979 bool temp2 = False ;
2980 PyObject * obj0 = 0 ;
2981 PyObject * obj1 = 0 ;
2982 char *kwnames[] = {
2983 (char *) "self",(char *) "title", NULL
2984 };
2985
2986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2989 {
2990 arg2 = wxString_in_helper(obj1);
2991 if (arg2 == NULL) SWIG_fail;
2992 temp2 = True;
2993 }
2994 {
2995 PyThreadState* __tstate = wxPyBeginAllowThreads();
2996 (arg1)->SetTitle((wxString const &)*arg2);
2997
2998 wxPyEndAllowThreads(__tstate);
2999 if (PyErr_Occurred()) SWIG_fail;
3000 }
3001 Py_INCREF(Py_None); resultobj = Py_None;
3002 {
3003 if (temp2)
3004 delete arg2;
3005 }
3006 return resultobj;
3007 fail:
3008 {
3009 if (temp2)
3010 delete arg2;
3011 }
3012 return NULL;
3013 }
3014
3015
3016 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3017 PyObject *resultobj;
3018 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3019 wxString result;
3020 PyObject * obj0 = 0 ;
3021 char *kwnames[] = {
3022 (char *) "self", NULL
3023 };
3024
3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3028 {
3029 PyThreadState* __tstate = wxPyBeginAllowThreads();
3030 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3031
3032 wxPyEndAllowThreads(__tstate);
3033 if (PyErr_Occurred()) SWIG_fail;
3034 }
3035 {
3036 #if wxUSE_UNICODE
3037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3038 #else
3039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3040 #endif
3041 }
3042 return resultobj;
3043 fail:
3044 return NULL;
3045 }
3046
3047
3048 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3049 PyObject *resultobj;
3050 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3051 wxRegion *arg2 = 0 ;
3052 bool result;
3053 PyObject * obj0 = 0 ;
3054 PyObject * obj1 = 0 ;
3055 char *kwnames[] = {
3056 (char *) "self",(char *) "region", NULL
3057 };
3058
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3063 SWIG_POINTER_EXCEPTION | 0)) == -1)
3064 SWIG_fail;
3065 if (arg2 == NULL) {
3066 PyErr_SetString(PyExc_TypeError,"null reference");
3067 SWIG_fail;
3068 }
3069 {
3070 PyThreadState* __tstate = wxPyBeginAllowThreads();
3071 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3072
3073 wxPyEndAllowThreads(__tstate);
3074 if (PyErr_Occurred()) SWIG_fail;
3075 }
3076 {
3077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3078 }
3079 return resultobj;
3080 fail:
3081 return NULL;
3082 }
3083
3084
3085 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
3086 PyObject *resultobj;
3087 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3088 bool arg2 ;
3089 PyObject * obj0 = 0 ;
3090 PyObject * obj1 = 0 ;
3091 char *kwnames[] = {
3092 (char *) "self",(char *) "on", NULL
3093 };
3094
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3098 arg2 = (bool) SWIG_AsBool(obj1);
3099 if (PyErr_Occurred()) SWIG_fail;
3100 {
3101 PyThreadState* __tstate = wxPyBeginAllowThreads();
3102 (arg1)->MacSetMetalAppearance(arg2);
3103
3104 wxPyEndAllowThreads(__tstate);
3105 if (PyErr_Occurred()) SWIG_fail;
3106 }
3107 Py_INCREF(Py_None); resultobj = Py_None;
3108 return resultobj;
3109 fail:
3110 return NULL;
3111 }
3112
3113
3114 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
3115 PyObject *resultobj;
3116 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3117 bool result;
3118 PyObject * obj0 = 0 ;
3119 char *kwnames[] = {
3120 (char *) "self", NULL
3121 };
3122
3123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3126 {
3127 PyThreadState* __tstate = wxPyBeginAllowThreads();
3128 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
3129
3130 wxPyEndAllowThreads(__tstate);
3131 if (PyErr_Occurred()) SWIG_fail;
3132 }
3133 {
3134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3135 }
3136 return resultobj;
3137 fail:
3138 return NULL;
3139 }
3140
3141
3142 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3143 PyObject *obj;
3144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3145 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3146 Py_INCREF(obj);
3147 return Py_BuildValue((char *)"");
3148 }
3149 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3150 PyObject *resultobj;
3151 wxWindow *arg1 = (wxWindow *) 0 ;
3152 int arg2 = (int) (int)-1 ;
3153 wxString const &arg3_defvalue = wxPyEmptyString ;
3154 wxString *arg3 = (wxString *) &arg3_defvalue ;
3155 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3156 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3157 wxSize const &arg5_defvalue = wxDefaultSize ;
3158 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3159 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3160 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3161 wxString *arg7 = (wxString *) &arg7_defvalue ;
3162 wxFrame *result;
3163 bool temp3 = False ;
3164 wxPoint temp4 ;
3165 wxSize temp5 ;
3166 bool temp7 = False ;
3167 PyObject * obj0 = 0 ;
3168 PyObject * obj1 = 0 ;
3169 PyObject * obj2 = 0 ;
3170 PyObject * obj3 = 0 ;
3171 PyObject * obj4 = 0 ;
3172 PyObject * obj5 = 0 ;
3173 PyObject * obj6 = 0 ;
3174 char *kwnames[] = {
3175 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3176 };
3177
3178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3181 if (obj1) {
3182 arg2 = (int const) SWIG_AsInt(obj1);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 if (obj2) {
3186 {
3187 arg3 = wxString_in_helper(obj2);
3188 if (arg3 == NULL) SWIG_fail;
3189 temp3 = True;
3190 }
3191 }
3192 if (obj3) {
3193 {
3194 arg4 = &temp4;
3195 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3196 }
3197 }
3198 if (obj4) {
3199 {
3200 arg5 = &temp5;
3201 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3202 }
3203 }
3204 if (obj5) {
3205 arg6 = (long) SWIG_AsLong(obj5);
3206 if (PyErr_Occurred()) SWIG_fail;
3207 }
3208 if (obj6) {
3209 {
3210 arg7 = wxString_in_helper(obj6);
3211 if (arg7 == NULL) SWIG_fail;
3212 temp7 = True;
3213 }
3214 }
3215 {
3216 if (!wxPyCheckForApp()) SWIG_fail;
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
3218 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
3223 {
3224 resultobj = wxPyMake_wxObject(result);
3225 }
3226 {
3227 if (temp3)
3228 delete arg3;
3229 }
3230 {
3231 if (temp7)
3232 delete arg7;
3233 }
3234 return resultobj;
3235 fail:
3236 {
3237 if (temp3)
3238 delete arg3;
3239 }
3240 {
3241 if (temp7)
3242 delete arg7;
3243 }
3244 return NULL;
3245 }
3246
3247
3248 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3249 PyObject *resultobj;
3250 wxFrame *result;
3251 char *kwnames[] = {
3252 NULL
3253 };
3254
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3256 {
3257 if (!wxPyCheckForApp()) SWIG_fail;
3258 PyThreadState* __tstate = wxPyBeginAllowThreads();
3259 result = (wxFrame *)new wxFrame();
3260
3261 wxPyEndAllowThreads(__tstate);
3262 if (PyErr_Occurred()) SWIG_fail;
3263 }
3264 {
3265 resultobj = wxPyMake_wxObject(result);
3266 }
3267 return resultobj;
3268 fail:
3269 return NULL;
3270 }
3271
3272
3273 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3274 PyObject *resultobj;
3275 wxFrame *arg1 = (wxFrame *) 0 ;
3276 wxWindow *arg2 = (wxWindow *) 0 ;
3277 int arg3 = (int) (int)-1 ;
3278 wxString const &arg4_defvalue = wxPyEmptyString ;
3279 wxString *arg4 = (wxString *) &arg4_defvalue ;
3280 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3281 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3282 wxSize const &arg6_defvalue = wxDefaultSize ;
3283 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3284 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3285 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3286 wxString *arg8 = (wxString *) &arg8_defvalue ;
3287 bool result;
3288 bool temp4 = False ;
3289 wxPoint temp5 ;
3290 wxSize temp6 ;
3291 bool temp8 = False ;
3292 PyObject * obj0 = 0 ;
3293 PyObject * obj1 = 0 ;
3294 PyObject * obj2 = 0 ;
3295 PyObject * obj3 = 0 ;
3296 PyObject * obj4 = 0 ;
3297 PyObject * obj5 = 0 ;
3298 PyObject * obj6 = 0 ;
3299 PyObject * obj7 = 0 ;
3300 char *kwnames[] = {
3301 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3302 };
3303
3304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3309 if (obj2) {
3310 arg3 = (int const) SWIG_AsInt(obj2);
3311 if (PyErr_Occurred()) SWIG_fail;
3312 }
3313 if (obj3) {
3314 {
3315 arg4 = wxString_in_helper(obj3);
3316 if (arg4 == NULL) SWIG_fail;
3317 temp4 = True;
3318 }
3319 }
3320 if (obj4) {
3321 {
3322 arg5 = &temp5;
3323 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3324 }
3325 }
3326 if (obj5) {
3327 {
3328 arg6 = &temp6;
3329 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3330 }
3331 }
3332 if (obj6) {
3333 arg7 = (long) SWIG_AsLong(obj6);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 if (obj7) {
3337 {
3338 arg8 = wxString_in_helper(obj7);
3339 if (arg8 == NULL) SWIG_fail;
3340 temp8 = True;
3341 }
3342 }
3343 {
3344 PyThreadState* __tstate = wxPyBeginAllowThreads();
3345 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3346
3347 wxPyEndAllowThreads(__tstate);
3348 if (PyErr_Occurred()) SWIG_fail;
3349 }
3350 {
3351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3352 }
3353 {
3354 if (temp4)
3355 delete arg4;
3356 }
3357 {
3358 if (temp8)
3359 delete arg8;
3360 }
3361 return resultobj;
3362 fail:
3363 {
3364 if (temp4)
3365 delete arg4;
3366 }
3367 {
3368 if (temp8)
3369 delete arg8;
3370 }
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxFrame *arg1 = (wxFrame *) 0 ;
3378 wxPoint result;
3379 PyObject * obj0 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3387 {
3388 PyThreadState* __tstate = wxPyBeginAllowThreads();
3389 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3390
3391 wxPyEndAllowThreads(__tstate);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 {
3395 wxPoint * resultptr;
3396 resultptr = new wxPoint((wxPoint &) result);
3397 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3398 }
3399 return resultobj;
3400 fail:
3401 return NULL;
3402 }
3403
3404
3405 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj;
3407 wxFrame *arg1 = (wxFrame *) 0 ;
3408 PyObject * obj0 = 0 ;
3409 char *kwnames[] = {
3410 (char *) "self", NULL
3411 };
3412
3413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3416 {
3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
3418 (arg1)->SendSizeEvent();
3419
3420 wxPyEndAllowThreads(__tstate);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 Py_INCREF(Py_None); resultobj = Py_None;
3424 return resultobj;
3425 fail:
3426 return NULL;
3427 }
3428
3429
3430 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3431 PyObject *resultobj;
3432 wxFrame *arg1 = (wxFrame *) 0 ;
3433 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3434 PyObject * obj0 = 0 ;
3435 PyObject * obj1 = 0 ;
3436 char *kwnames[] = {
3437 (char *) "self",(char *) "menubar", NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 (arg1)->SetMenuBar(arg2);
3448
3449 wxPyEndAllowThreads(__tstate);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 Py_INCREF(Py_None); resultobj = Py_None;
3453 return resultobj;
3454 fail:
3455 return NULL;
3456 }
3457
3458
3459 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3460 PyObject *resultobj;
3461 wxFrame *arg1 = (wxFrame *) 0 ;
3462 wxMenuBar *result;
3463 PyObject * obj0 = 0 ;
3464 char *kwnames[] = {
3465 (char *) "self", NULL
3466 };
3467
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3471 {
3472 PyThreadState* __tstate = wxPyBeginAllowThreads();
3473 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3474
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
3478 {
3479 resultobj = wxPyMake_wxObject(result);
3480 }
3481 return resultobj;
3482 fail:
3483 return NULL;
3484 }
3485
3486
3487 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3488 PyObject *resultobj;
3489 wxFrame *arg1 = (wxFrame *) 0 ;
3490 int arg2 ;
3491 bool result;
3492 PyObject * obj0 = 0 ;
3493 PyObject * obj1 = 0 ;
3494 char *kwnames[] = {
3495 (char *) "self",(char *) "winid", NULL
3496 };
3497
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3501 arg2 = (int) SWIG_AsInt(obj1);
3502 if (PyErr_Occurred()) SWIG_fail;
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 result = (bool)(arg1)->ProcessCommand(arg2);
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 {
3511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3512 }
3513 return resultobj;
3514 fail:
3515 return NULL;
3516 }
3517
3518
3519 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3520 PyObject *resultobj;
3521 wxFrame *arg1 = (wxFrame *) 0 ;
3522 int arg2 = (int) 1 ;
3523 long arg3 = (long) wxST_SIZEGRIP ;
3524 int arg4 = (int) 0 ;
3525 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3526 wxString *arg5 = (wxString *) &arg5_defvalue ;
3527 wxStatusBar *result;
3528 bool temp5 = False ;
3529 PyObject * obj0 = 0 ;
3530 PyObject * obj1 = 0 ;
3531 PyObject * obj2 = 0 ;
3532 PyObject * obj3 = 0 ;
3533 PyObject * obj4 = 0 ;
3534 char *kwnames[] = {
3535 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3541 if (obj1) {
3542 arg2 = (int) SWIG_AsInt(obj1);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 }
3545 if (obj2) {
3546 arg3 = (long) SWIG_AsLong(obj2);
3547 if (PyErr_Occurred()) SWIG_fail;
3548 }
3549 if (obj3) {
3550 arg4 = (int) SWIG_AsInt(obj3);
3551 if (PyErr_Occurred()) SWIG_fail;
3552 }
3553 if (obj4) {
3554 {
3555 arg5 = wxString_in_helper(obj4);
3556 if (arg5 == NULL) SWIG_fail;
3557 temp5 = True;
3558 }
3559 }
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 {
3568 resultobj = wxPyMake_wxObject(result);
3569 }
3570 {
3571 if (temp5)
3572 delete arg5;
3573 }
3574 return resultobj;
3575 fail:
3576 {
3577 if (temp5)
3578 delete arg5;
3579 }
3580 return NULL;
3581 }
3582
3583
3584 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3585 PyObject *resultobj;
3586 wxFrame *arg1 = (wxFrame *) 0 ;
3587 wxStatusBar *result;
3588 PyObject * obj0 = 0 ;
3589 char *kwnames[] = {
3590 (char *) "self", NULL
3591 };
3592
3593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3596 {
3597 PyThreadState* __tstate = wxPyBeginAllowThreads();
3598 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3599
3600 wxPyEndAllowThreads(__tstate);
3601 if (PyErr_Occurred()) SWIG_fail;
3602 }
3603 {
3604 resultobj = wxPyMake_wxObject(result);
3605 }
3606 return resultobj;
3607 fail:
3608 return NULL;
3609 }
3610
3611
3612 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3613 PyObject *resultobj;
3614 wxFrame *arg1 = (wxFrame *) 0 ;
3615 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3616 PyObject * obj0 = 0 ;
3617 PyObject * obj1 = 0 ;
3618 char *kwnames[] = {
3619 (char *) "self",(char *) "statBar", NULL
3620 };
3621
3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3627 {
3628 PyThreadState* __tstate = wxPyBeginAllowThreads();
3629 (arg1)->SetStatusBar(arg2);
3630
3631 wxPyEndAllowThreads(__tstate);
3632 if (PyErr_Occurred()) SWIG_fail;
3633 }
3634 Py_INCREF(Py_None); resultobj = Py_None;
3635 return resultobj;
3636 fail:
3637 return NULL;
3638 }
3639
3640
3641 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3642 PyObject *resultobj;
3643 wxFrame *arg1 = (wxFrame *) 0 ;
3644 wxString *arg2 = 0 ;
3645 int arg3 = (int) 0 ;
3646 bool temp2 = False ;
3647 PyObject * obj0 = 0 ;
3648 PyObject * obj1 = 0 ;
3649 PyObject * obj2 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self",(char *) "text",(char *) "number", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3657 {
3658 arg2 = wxString_in_helper(obj1);
3659 if (arg2 == NULL) SWIG_fail;
3660 temp2 = True;
3661 }
3662 if (obj2) {
3663 arg3 = (int) SWIG_AsInt(obj2);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
3666 {
3667 PyThreadState* __tstate = wxPyBeginAllowThreads();
3668 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3669
3670 wxPyEndAllowThreads(__tstate);
3671 if (PyErr_Occurred()) SWIG_fail;
3672 }
3673 Py_INCREF(Py_None); resultobj = Py_None;
3674 {
3675 if (temp2)
3676 delete arg2;
3677 }
3678 return resultobj;
3679 fail:
3680 {
3681 if (temp2)
3682 delete arg2;
3683 }
3684 return NULL;
3685 }
3686
3687
3688 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3689 PyObject *resultobj;
3690 wxFrame *arg1 = (wxFrame *) 0 ;
3691 int arg2 ;
3692 int *arg3 = (int *) 0 ;
3693 PyObject * obj0 = 0 ;
3694 PyObject * obj1 = 0 ;
3695 char *kwnames[] = {
3696 (char *) "self",(char *) "widths", NULL
3697 };
3698
3699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3702 {
3703 arg2 = PyList_Size(obj1);
3704 arg3 = int_LIST_helper(obj1);
3705 if (arg3 == NULL) SWIG_fail;
3706 }
3707 {
3708 PyThreadState* __tstate = wxPyBeginAllowThreads();
3709 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3710
3711 wxPyEndAllowThreads(__tstate);
3712 if (PyErr_Occurred()) SWIG_fail;
3713 }
3714 Py_INCREF(Py_None); resultobj = Py_None;
3715 {
3716 if (arg3) delete [] arg3;
3717 }
3718 return resultobj;
3719 fail:
3720 {
3721 if (arg3) delete [] arg3;
3722 }
3723 return NULL;
3724 }
3725
3726
3727 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3728 PyObject *resultobj;
3729 wxFrame *arg1 = (wxFrame *) 0 ;
3730 wxString *arg2 = 0 ;
3731 int arg3 = (int) 0 ;
3732 bool temp2 = False ;
3733 PyObject * obj0 = 0 ;
3734 PyObject * obj1 = 0 ;
3735 PyObject * obj2 = 0 ;
3736 char *kwnames[] = {
3737 (char *) "self",(char *) "text",(char *) "number", NULL
3738 };
3739
3740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3743 {
3744 arg2 = wxString_in_helper(obj1);
3745 if (arg2 == NULL) SWIG_fail;
3746 temp2 = True;
3747 }
3748 if (obj2) {
3749 arg3 = (int) SWIG_AsInt(obj2);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 Py_INCREF(Py_None); resultobj = Py_None;
3760 {
3761 if (temp2)
3762 delete arg2;
3763 }
3764 return resultobj;
3765 fail:
3766 {
3767 if (temp2)
3768 delete arg2;
3769 }
3770 return NULL;
3771 }
3772
3773
3774 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj;
3776 wxFrame *arg1 = (wxFrame *) 0 ;
3777 int arg2 = (int) 0 ;
3778 PyObject * obj0 = 0 ;
3779 PyObject * obj1 = 0 ;
3780 char *kwnames[] = {
3781 (char *) "self",(char *) "number", NULL
3782 };
3783
3784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3787 if (obj1) {
3788 arg2 = (int) SWIG_AsInt(obj1);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
3791 {
3792 PyThreadState* __tstate = wxPyBeginAllowThreads();
3793 (arg1)->PopStatusText(arg2);
3794
3795 wxPyEndAllowThreads(__tstate);
3796 if (PyErr_Occurred()) SWIG_fail;
3797 }
3798 Py_INCREF(Py_None); resultobj = Py_None;
3799 return resultobj;
3800 fail:
3801 return NULL;
3802 }
3803
3804
3805 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3806 PyObject *resultobj;
3807 wxFrame *arg1 = (wxFrame *) 0 ;
3808 int arg2 ;
3809 PyObject * obj0 = 0 ;
3810 PyObject * obj1 = 0 ;
3811 char *kwnames[] = {
3812 (char *) "self",(char *) "n", NULL
3813 };
3814
3815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3818 arg2 = (int) SWIG_AsInt(obj1);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 {
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 (arg1)->SetStatusBarPane(arg2);
3823
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 Py_INCREF(Py_None); resultobj = Py_None;
3828 return resultobj;
3829 fail:
3830 return NULL;
3831 }
3832
3833
3834 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj;
3836 wxFrame *arg1 = (wxFrame *) 0 ;
3837 int result;
3838 PyObject * obj0 = 0 ;
3839 char *kwnames[] = {
3840 (char *) "self", NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3846 {
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
3848 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3849
3850 wxPyEndAllowThreads(__tstate);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 }
3853 resultobj = SWIG_FromInt((int)result);
3854 return resultobj;
3855 fail:
3856 return NULL;
3857 }
3858
3859
3860 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3861 PyObject *resultobj;
3862 wxFrame *arg1 = (wxFrame *) 0 ;
3863 long arg2 = (long) -1 ;
3864 int arg3 = (int) -1 ;
3865 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3866 wxString *arg4 = (wxString *) &arg4_defvalue ;
3867 wxToolBar *result;
3868 bool temp4 = False ;
3869 PyObject * obj0 = 0 ;
3870 PyObject * obj1 = 0 ;
3871 PyObject * obj2 = 0 ;
3872 PyObject * obj3 = 0 ;
3873 char *kwnames[] = {
3874 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3875 };
3876
3877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3880 if (obj1) {
3881 arg2 = (long) SWIG_AsLong(obj1);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 if (obj2) {
3885 arg3 = (int) SWIG_AsInt(obj2);
3886 if (PyErr_Occurred()) SWIG_fail;
3887 }
3888 if (obj3) {
3889 {
3890 arg4 = wxString_in_helper(obj3);
3891 if (arg4 == NULL) SWIG_fail;
3892 temp4 = True;
3893 }
3894 }
3895 {
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3898
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 {
3903 resultobj = wxPyMake_wxObject(result);
3904 }
3905 {
3906 if (temp4)
3907 delete arg4;
3908 }
3909 return resultobj;
3910 fail:
3911 {
3912 if (temp4)
3913 delete arg4;
3914 }
3915 return NULL;
3916 }
3917
3918
3919 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3920 PyObject *resultobj;
3921 wxFrame *arg1 = (wxFrame *) 0 ;
3922 wxToolBar *result;
3923 PyObject * obj0 = 0 ;
3924 char *kwnames[] = {
3925 (char *) "self", NULL
3926 };
3927
3928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3931 {
3932 PyThreadState* __tstate = wxPyBeginAllowThreads();
3933 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3934
3935 wxPyEndAllowThreads(__tstate);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 }
3938 {
3939 resultobj = wxPyMake_wxObject(result);
3940 }
3941 return resultobj;
3942 fail:
3943 return NULL;
3944 }
3945
3946
3947 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3948 PyObject *resultobj;
3949 wxFrame *arg1 = (wxFrame *) 0 ;
3950 wxToolBar *arg2 = (wxToolBar *) 0 ;
3951 PyObject * obj0 = 0 ;
3952 PyObject * obj1 = 0 ;
3953 char *kwnames[] = {
3954 (char *) "self",(char *) "toolbar", NULL
3955 };
3956
3957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 (arg1)->SetToolBar(arg2);
3965
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 Py_INCREF(Py_None); resultobj = Py_None;
3970 return resultobj;
3971 fail:
3972 return NULL;
3973 }
3974
3975
3976 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3977 PyObject *resultobj;
3978 wxFrame *arg1 = (wxFrame *) 0 ;
3979 wxString *arg2 = 0 ;
3980 bool arg3 ;
3981 bool temp2 = False ;
3982 PyObject * obj0 = 0 ;
3983 PyObject * obj1 = 0 ;
3984 PyObject * obj2 = 0 ;
3985 char *kwnames[] = {
3986 (char *) "self",(char *) "text",(char *) "show", NULL
3987 };
3988
3989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3992 {
3993 arg2 = wxString_in_helper(obj1);
3994 if (arg2 == NULL) SWIG_fail;
3995 temp2 = True;
3996 }
3997 arg3 = (bool) SWIG_AsBool(obj2);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 Py_INCREF(Py_None); resultobj = Py_None;
4007 {
4008 if (temp2)
4009 delete arg2;
4010 }
4011 return resultobj;
4012 fail:
4013 {
4014 if (temp2)
4015 delete arg2;
4016 }
4017 return NULL;
4018 }
4019
4020
4021 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject *resultobj;
4023 wxFrame *arg1 = (wxFrame *) 0 ;
4024 wxMenu *arg2 = (wxMenu *) NULL ;
4025 PyObject * obj0 = 0 ;
4026 PyObject * obj1 = 0 ;
4027 char *kwnames[] = {
4028 (char *) "self",(char *) "menu", NULL
4029 };
4030
4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4034 if (obj1) {
4035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4037 }
4038 {
4039 PyThreadState* __tstate = wxPyBeginAllowThreads();
4040 (arg1)->DoMenuUpdates(arg2);
4041
4042 wxPyEndAllowThreads(__tstate);
4043 if (PyErr_Occurred()) SWIG_fail;
4044 }
4045 Py_INCREF(Py_None); resultobj = Py_None;
4046 return resultobj;
4047 fail:
4048 return NULL;
4049 }
4050
4051
4052 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4053 PyObject *resultobj;
4054 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4055 wxVisualAttributes result;
4056 PyObject * obj0 = 0 ;
4057 char *kwnames[] = {
4058 (char *) "variant", NULL
4059 };
4060
4061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4062 if (obj0) {
4063 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 {
4067 if (!wxPyCheckForApp()) SWIG_fail;
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 {
4075 wxVisualAttributes * resultptr;
4076 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4078 }
4079 return resultobj;
4080 fail:
4081 return NULL;
4082 }
4083
4084
4085 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
4086 PyObject *obj;
4087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4088 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4089 Py_INCREF(obj);
4090 return Py_BuildValue((char *)"");
4091 }
4092 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4093 PyObject *resultobj;
4094 wxWindow *arg1 = (wxWindow *) 0 ;
4095 int arg2 = (int) (int)-1 ;
4096 wxString const &arg3_defvalue = wxPyEmptyString ;
4097 wxString *arg3 = (wxString *) &arg3_defvalue ;
4098 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4099 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4100 wxSize const &arg5_defvalue = wxDefaultSize ;
4101 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4102 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4103 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4104 wxString *arg7 = (wxString *) &arg7_defvalue ;
4105 wxDialog *result;
4106 bool temp3 = False ;
4107 wxPoint temp4 ;
4108 wxSize temp5 ;
4109 bool temp7 = False ;
4110 PyObject * obj0 = 0 ;
4111 PyObject * obj1 = 0 ;
4112 PyObject * obj2 = 0 ;
4113 PyObject * obj3 = 0 ;
4114 PyObject * obj4 = 0 ;
4115 PyObject * obj5 = 0 ;
4116 PyObject * obj6 = 0 ;
4117 char *kwnames[] = {
4118 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4119 };
4120
4121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4124 if (obj1) {
4125 arg2 = (int const) SWIG_AsInt(obj1);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 if (obj2) {
4129 {
4130 arg3 = wxString_in_helper(obj2);
4131 if (arg3 == NULL) SWIG_fail;
4132 temp3 = True;
4133 }
4134 }
4135 if (obj3) {
4136 {
4137 arg4 = &temp4;
4138 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4139 }
4140 }
4141 if (obj4) {
4142 {
4143 arg5 = &temp5;
4144 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4145 }
4146 }
4147 if (obj5) {
4148 arg6 = (long) SWIG_AsLong(obj5);
4149 if (PyErr_Occurred()) SWIG_fail;
4150 }
4151 if (obj6) {
4152 {
4153 arg7 = wxString_in_helper(obj6);
4154 if (arg7 == NULL) SWIG_fail;
4155 temp7 = True;
4156 }
4157 }
4158 {
4159 if (!wxPyCheckForApp()) SWIG_fail;
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4166 {
4167 resultobj = wxPyMake_wxObject(result);
4168 }
4169 {
4170 if (temp3)
4171 delete arg3;
4172 }
4173 {
4174 if (temp7)
4175 delete arg7;
4176 }
4177 return resultobj;
4178 fail:
4179 {
4180 if (temp3)
4181 delete arg3;
4182 }
4183 {
4184 if (temp7)
4185 delete arg7;
4186 }
4187 return NULL;
4188 }
4189
4190
4191 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4192 PyObject *resultobj;
4193 wxDialog *result;
4194 char *kwnames[] = {
4195 NULL
4196 };
4197
4198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4199 {
4200 if (!wxPyCheckForApp()) SWIG_fail;
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 result = (wxDialog *)new wxDialog();
4203
4204 wxPyEndAllowThreads(__tstate);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 {
4208 resultobj = wxPyMake_wxObject(result);
4209 }
4210 return resultobj;
4211 fail:
4212 return NULL;
4213 }
4214
4215
4216 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject *resultobj;
4218 wxDialog *arg1 = (wxDialog *) 0 ;
4219 wxWindow *arg2 = (wxWindow *) 0 ;
4220 int arg3 = (int) (int)-1 ;
4221 wxString const &arg4_defvalue = wxPyEmptyString ;
4222 wxString *arg4 = (wxString *) &arg4_defvalue ;
4223 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4224 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4225 wxSize const &arg6_defvalue = wxDefaultSize ;
4226 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4227 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4228 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4229 wxString *arg8 = (wxString *) &arg8_defvalue ;
4230 bool result;
4231 bool temp4 = False ;
4232 wxPoint temp5 ;
4233 wxSize temp6 ;
4234 bool temp8 = False ;
4235 PyObject * obj0 = 0 ;
4236 PyObject * obj1 = 0 ;
4237 PyObject * obj2 = 0 ;
4238 PyObject * obj3 = 0 ;
4239 PyObject * obj4 = 0 ;
4240 PyObject * obj5 = 0 ;
4241 PyObject * obj6 = 0 ;
4242 PyObject * obj7 = 0 ;
4243 char *kwnames[] = {
4244 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4245 };
4246
4247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4250 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4252 if (obj2) {
4253 arg3 = (int const) SWIG_AsInt(obj2);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 if (obj3) {
4257 {
4258 arg4 = wxString_in_helper(obj3);
4259 if (arg4 == NULL) SWIG_fail;
4260 temp4 = True;
4261 }
4262 }
4263 if (obj4) {
4264 {
4265 arg5 = &temp5;
4266 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4267 }
4268 }
4269 if (obj5) {
4270 {
4271 arg6 = &temp6;
4272 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4273 }
4274 }
4275 if (obj6) {
4276 arg7 = (long) SWIG_AsLong(obj6);
4277 if (PyErr_Occurred()) SWIG_fail;
4278 }
4279 if (obj7) {
4280 {
4281 arg8 = wxString_in_helper(obj7);
4282 if (arg8 == NULL) SWIG_fail;
4283 temp8 = True;
4284 }
4285 }
4286 {
4287 PyThreadState* __tstate = wxPyBeginAllowThreads();
4288 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4289
4290 wxPyEndAllowThreads(__tstate);
4291 if (PyErr_Occurred()) SWIG_fail;
4292 }
4293 {
4294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4295 }
4296 {
4297 if (temp4)
4298 delete arg4;
4299 }
4300 {
4301 if (temp8)
4302 delete arg8;
4303 }
4304 return resultobj;
4305 fail:
4306 {
4307 if (temp4)
4308 delete arg4;
4309 }
4310 {
4311 if (temp8)
4312 delete arg8;
4313 }
4314 return NULL;
4315 }
4316
4317
4318 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4319 PyObject *resultobj;
4320 wxDialog *arg1 = (wxDialog *) 0 ;
4321 int arg2 ;
4322 PyObject * obj0 = 0 ;
4323 PyObject * obj1 = 0 ;
4324 char *kwnames[] = {
4325 (char *) "self",(char *) "returnCode", NULL
4326 };
4327
4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4331 arg2 = (int) SWIG_AsInt(obj1);
4332 if (PyErr_Occurred()) SWIG_fail;
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 (arg1)->SetReturnCode(arg2);
4336
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 Py_INCREF(Py_None); resultobj = Py_None;
4341 return resultobj;
4342 fail:
4343 return NULL;
4344 }
4345
4346
4347 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj;
4349 wxDialog *arg1 = (wxDialog *) 0 ;
4350 int result;
4351 PyObject * obj0 = 0 ;
4352 char *kwnames[] = {
4353 (char *) "self", NULL
4354 };
4355
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4362
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) SWIG_fail;
4365 }
4366 resultobj = SWIG_FromInt((int)result);
4367 return resultobj;
4368 fail:
4369 return NULL;
4370 }
4371
4372
4373 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4374 PyObject *resultobj;
4375 wxDialog *arg1 = (wxDialog *) 0 ;
4376 wxString *arg2 = 0 ;
4377 wxSizer *result;
4378 bool temp2 = False ;
4379 PyObject * obj0 = 0 ;
4380 PyObject * obj1 = 0 ;
4381 char *kwnames[] = {
4382 (char *) "self",(char *) "message", NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4388 {
4389 arg2 = wxString_in_helper(obj1);
4390 if (arg2 == NULL) SWIG_fail;
4391 temp2 = True;
4392 }
4393 {
4394 PyThreadState* __tstate = wxPyBeginAllowThreads();
4395 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4396
4397 wxPyEndAllowThreads(__tstate);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 }
4400 {
4401 resultobj = wxPyMake_wxSizer(result);
4402 }
4403 {
4404 if (temp2)
4405 delete arg2;
4406 }
4407 return resultobj;
4408 fail:
4409 {
4410 if (temp2)
4411 delete arg2;
4412 }
4413 return NULL;
4414 }
4415
4416
4417 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4418 PyObject *resultobj;
4419 wxDialog *arg1 = (wxDialog *) 0 ;
4420 long arg2 ;
4421 wxSizer *result;
4422 PyObject * obj0 = 0 ;
4423 PyObject * obj1 = 0 ;
4424 char *kwnames[] = {
4425 (char *) "self",(char *) "flags", NULL
4426 };
4427
4428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4431 arg2 = (long) SWIG_AsLong(obj1);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 {
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4436
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) SWIG_fail;
4439 }
4440 {
4441 resultobj = wxPyMake_wxSizer(result);
4442 }
4443 return resultobj;
4444 fail:
4445 return NULL;
4446 }
4447
4448
4449 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject *resultobj;
4451 wxDialog *arg1 = (wxDialog *) 0 ;
4452 bool result;
4453 PyObject * obj0 = 0 ;
4454 char *kwnames[] = {
4455 (char *) "self", NULL
4456 };
4457
4458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4461 {
4462 PyThreadState* __tstate = wxPyBeginAllowThreads();
4463 result = (bool)((wxDialog const *)arg1)->IsModal();
4464
4465 wxPyEndAllowThreads(__tstate);
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
4468 {
4469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4470 }
4471 return resultobj;
4472 fail:
4473 return NULL;
4474 }
4475
4476
4477 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4478 PyObject *resultobj;
4479 wxDialog *arg1 = (wxDialog *) 0 ;
4480 int result;
4481 PyObject * obj0 = 0 ;
4482 char *kwnames[] = {
4483 (char *) "self", NULL
4484 };
4485
4486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4489 {
4490 PyThreadState* __tstate = wxPyBeginAllowThreads();
4491 result = (int)(arg1)->ShowModal();
4492
4493 wxPyEndAllowThreads(__tstate);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 }
4496 resultobj = SWIG_FromInt((int)result);
4497 return resultobj;
4498 fail:
4499 return NULL;
4500 }
4501
4502
4503 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxDialog *arg1 = (wxDialog *) 0 ;
4506 int arg2 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 char *kwnames[] = {
4510 (char *) "self",(char *) "retCode", NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4516 arg2 = (int) SWIG_AsInt(obj1);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 {
4519 PyThreadState* __tstate = wxPyBeginAllowThreads();
4520 (arg1)->EndModal(arg2);
4521
4522 wxPyEndAllowThreads(__tstate);
4523 if (PyErr_Occurred()) SWIG_fail;
4524 }
4525 Py_INCREF(Py_None); resultobj = Py_None;
4526 return resultobj;
4527 fail:
4528 return NULL;
4529 }
4530
4531
4532 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4533 PyObject *resultobj;
4534 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4535 wxVisualAttributes result;
4536 PyObject * obj0 = 0 ;
4537 char *kwnames[] = {
4538 (char *) "variant", NULL
4539 };
4540
4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4542 if (obj0) {
4543 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4544 if (PyErr_Occurred()) SWIG_fail;
4545 }
4546 {
4547 if (!wxPyCheckForApp()) SWIG_fail;
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4550
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 {
4555 wxVisualAttributes * resultptr;
4556 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4558 }
4559 return resultobj;
4560 fail:
4561 return NULL;
4562 }
4563
4564
4565 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4566 PyObject *obj;
4567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4568 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4569 Py_INCREF(obj);
4570 return Py_BuildValue((char *)"");
4571 }
4572 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj;
4574 wxWindow *arg1 = (wxWindow *) 0 ;
4575 int arg2 = (int) (int)-1 ;
4576 wxString const &arg3_defvalue = wxPyEmptyString ;
4577 wxString *arg3 = (wxString *) &arg3_defvalue ;
4578 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4579 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4580 wxSize const &arg5_defvalue = wxDefaultSize ;
4581 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4582 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4583 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4584 wxString *arg7 = (wxString *) &arg7_defvalue ;
4585 wxMiniFrame *result;
4586 bool temp3 = False ;
4587 wxPoint temp4 ;
4588 wxSize temp5 ;
4589 bool temp7 = False ;
4590 PyObject * obj0 = 0 ;
4591 PyObject * obj1 = 0 ;
4592 PyObject * obj2 = 0 ;
4593 PyObject * obj3 = 0 ;
4594 PyObject * obj4 = 0 ;
4595 PyObject * obj5 = 0 ;
4596 PyObject * obj6 = 0 ;
4597 char *kwnames[] = {
4598 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4599 };
4600
4601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4604 if (obj1) {
4605 arg2 = (int const) SWIG_AsInt(obj1);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 if (obj2) {
4609 {
4610 arg3 = wxString_in_helper(obj2);
4611 if (arg3 == NULL) SWIG_fail;
4612 temp3 = True;
4613 }
4614 }
4615 if (obj3) {
4616 {
4617 arg4 = &temp4;
4618 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4619 }
4620 }
4621 if (obj4) {
4622 {
4623 arg5 = &temp5;
4624 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4625 }
4626 }
4627 if (obj5) {
4628 arg6 = (long) SWIG_AsLong(obj5);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 if (obj6) {
4632 {
4633 arg7 = wxString_in_helper(obj6);
4634 if (arg7 == NULL) SWIG_fail;
4635 temp7 = True;
4636 }
4637 }
4638 {
4639 if (!wxPyCheckForApp()) SWIG_fail;
4640 PyThreadState* __tstate = wxPyBeginAllowThreads();
4641 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4642
4643 wxPyEndAllowThreads(__tstate);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 }
4646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4647 {
4648 if (temp3)
4649 delete arg3;
4650 }
4651 {
4652 if (temp7)
4653 delete arg7;
4654 }
4655 return resultobj;
4656 fail:
4657 {
4658 if (temp3)
4659 delete arg3;
4660 }
4661 {
4662 if (temp7)
4663 delete arg7;
4664 }
4665 return NULL;
4666 }
4667
4668
4669 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4670 PyObject *resultobj;
4671 wxMiniFrame *result;
4672 char *kwnames[] = {
4673 NULL
4674 };
4675
4676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4677 {
4678 if (!wxPyCheckForApp()) SWIG_fail;
4679 PyThreadState* __tstate = wxPyBeginAllowThreads();
4680 result = (wxMiniFrame *)new wxMiniFrame();
4681
4682 wxPyEndAllowThreads(__tstate);
4683 if (PyErr_Occurred()) SWIG_fail;
4684 }
4685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4686 return resultobj;
4687 fail:
4688 return NULL;
4689 }
4690
4691
4692 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4693 PyObject *resultobj;
4694 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4695 wxWindow *arg2 = (wxWindow *) 0 ;
4696 int arg3 = (int) (int)-1 ;
4697 wxString const &arg4_defvalue = wxPyEmptyString ;
4698 wxString *arg4 = (wxString *) &arg4_defvalue ;
4699 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4700 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4701 wxSize const &arg6_defvalue = wxDefaultSize ;
4702 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4703 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4704 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4705 wxString *arg8 = (wxString *) &arg8_defvalue ;
4706 bool result;
4707 bool temp4 = False ;
4708 wxPoint temp5 ;
4709 wxSize temp6 ;
4710 bool temp8 = False ;
4711 PyObject * obj0 = 0 ;
4712 PyObject * obj1 = 0 ;
4713 PyObject * obj2 = 0 ;
4714 PyObject * obj3 = 0 ;
4715 PyObject * obj4 = 0 ;
4716 PyObject * obj5 = 0 ;
4717 PyObject * obj6 = 0 ;
4718 PyObject * obj7 = 0 ;
4719 char *kwnames[] = {
4720 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4721 };
4722
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4728 if (obj2) {
4729 arg3 = (int const) SWIG_AsInt(obj2);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 if (obj3) {
4733 {
4734 arg4 = wxString_in_helper(obj3);
4735 if (arg4 == NULL) SWIG_fail;
4736 temp4 = True;
4737 }
4738 }
4739 if (obj4) {
4740 {
4741 arg5 = &temp5;
4742 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4743 }
4744 }
4745 if (obj5) {
4746 {
4747 arg6 = &temp6;
4748 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4749 }
4750 }
4751 if (obj6) {
4752 arg7 = (long) SWIG_AsLong(obj6);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 }
4755 if (obj7) {
4756 {
4757 arg8 = wxString_in_helper(obj7);
4758 if (arg8 == NULL) SWIG_fail;
4759 temp8 = True;
4760 }
4761 }
4762 {
4763 PyThreadState* __tstate = wxPyBeginAllowThreads();
4764 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4765
4766 wxPyEndAllowThreads(__tstate);
4767 if (PyErr_Occurred()) SWIG_fail;
4768 }
4769 {
4770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4771 }
4772 {
4773 if (temp4)
4774 delete arg4;
4775 }
4776 {
4777 if (temp8)
4778 delete arg8;
4779 }
4780 return resultobj;
4781 fail:
4782 {
4783 if (temp4)
4784 delete arg4;
4785 }
4786 {
4787 if (temp8)
4788 delete arg8;
4789 }
4790 return NULL;
4791 }
4792
4793
4794 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4795 PyObject *obj;
4796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4797 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4798 Py_INCREF(obj);
4799 return Py_BuildValue((char *)"");
4800 }
4801 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4802 PyObject *resultobj;
4803 wxBitmap *arg1 = 0 ;
4804 wxWindow *arg2 = (wxWindow *) 0 ;
4805 int arg3 ;
4806 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4807 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4808 wxSize const &arg5_defvalue = wxDefaultSize ;
4809 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4810 long arg6 = (long) wxNO_BORDER ;
4811 wxSplashScreenWindow *result;
4812 wxPoint temp4 ;
4813 wxSize temp5 ;
4814 PyObject * obj0 = 0 ;
4815 PyObject * obj1 = 0 ;
4816 PyObject * obj2 = 0 ;
4817 PyObject * obj3 = 0 ;
4818 PyObject * obj4 = 0 ;
4819 PyObject * obj5 = 0 ;
4820 char *kwnames[] = {
4821 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4822 };
4823
4824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4826 SWIG_POINTER_EXCEPTION | 0)) == -1)
4827 SWIG_fail;
4828 if (arg1 == NULL) {
4829 PyErr_SetString(PyExc_TypeError,"null reference");
4830 SWIG_fail;
4831 }
4832 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4834 arg3 = (int) SWIG_AsInt(obj2);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 if (obj3) {
4837 {
4838 arg4 = &temp4;
4839 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4840 }
4841 }
4842 if (obj4) {
4843 {
4844 arg5 = &temp5;
4845 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4846 }
4847 }
4848 if (obj5) {
4849 arg6 = (long) SWIG_AsLong(obj5);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 {
4853 if (!wxPyCheckForApp()) SWIG_fail;
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4856
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4861 return resultobj;
4862 fail:
4863 return NULL;
4864 }
4865
4866
4867 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4868 PyObject *resultobj;
4869 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4870 wxBitmap *arg2 = 0 ;
4871 PyObject * obj0 = 0 ;
4872 PyObject * obj1 = 0 ;
4873 char *kwnames[] = {
4874 (char *) "self",(char *) "bitmap", NULL
4875 };
4876
4877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4881 SWIG_POINTER_EXCEPTION | 0)) == -1)
4882 SWIG_fail;
4883 if (arg2 == NULL) {
4884 PyErr_SetString(PyExc_TypeError,"null reference");
4885 SWIG_fail;
4886 }
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 Py_INCREF(Py_None); resultobj = Py_None;
4895 return resultobj;
4896 fail:
4897 return NULL;
4898 }
4899
4900
4901 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4902 PyObject *resultobj;
4903 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4904 wxBitmap *result;
4905 PyObject * obj0 = 0 ;
4906 char *kwnames[] = {
4907 (char *) "self", NULL
4908 };
4909
4910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4913 {
4914 PyThreadState* __tstate = wxPyBeginAllowThreads();
4915 {
4916 wxBitmap &_result_ref = (arg1)->GetBitmap();
4917 result = (wxBitmap *) &_result_ref;
4918 }
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 {
4924 wxBitmap* resultptr = new wxBitmap(*result);
4925 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4926 }
4927 return resultobj;
4928 fail:
4929 return NULL;
4930 }
4931
4932
4933 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4934 PyObject *obj;
4935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4936 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4937 Py_INCREF(obj);
4938 return Py_BuildValue((char *)"");
4939 }
4940 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4941 PyObject *resultobj;
4942 wxBitmap *arg1 = 0 ;
4943 long arg2 ;
4944 int arg3 ;
4945 wxWindow *arg4 = (wxWindow *) 0 ;
4946 int arg5 = (int) -1 ;
4947 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4948 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4949 wxSize const &arg7_defvalue = wxDefaultSize ;
4950 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4951 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4952 wxSplashScreen *result;
4953 wxPoint temp6 ;
4954 wxSize temp7 ;
4955 PyObject * obj0 = 0 ;
4956 PyObject * obj1 = 0 ;
4957 PyObject * obj2 = 0 ;
4958 PyObject * obj3 = 0 ;
4959 PyObject * obj4 = 0 ;
4960 PyObject * obj5 = 0 ;
4961 PyObject * obj6 = 0 ;
4962 PyObject * obj7 = 0 ;
4963 char *kwnames[] = {
4964 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4965 };
4966
4967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4969 SWIG_POINTER_EXCEPTION | 0)) == -1)
4970 SWIG_fail;
4971 if (arg1 == NULL) {
4972 PyErr_SetString(PyExc_TypeError,"null reference");
4973 SWIG_fail;
4974 }
4975 arg2 = (long) SWIG_AsLong(obj1);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 arg3 = (int) SWIG_AsInt(obj2);
4978 if (PyErr_Occurred()) SWIG_fail;
4979 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4981 if (obj4) {
4982 arg5 = (int) SWIG_AsInt(obj4);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 if (obj5) {
4986 {
4987 arg6 = &temp6;
4988 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4989 }
4990 }
4991 if (obj6) {
4992 {
4993 arg7 = &temp7;
4994 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4995 }
4996 }
4997 if (obj7) {
4998 arg8 = (long) SWIG_AsLong(obj7);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 {
5002 if (!wxPyCheckForApp()) SWIG_fail;
5003 PyThreadState* __tstate = wxPyBeginAllowThreads();
5004 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5005
5006 wxPyEndAllowThreads(__tstate);
5007 if (PyErr_Occurred()) SWIG_fail;
5008 }
5009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5010 return resultobj;
5011 fail:
5012 return NULL;
5013 }
5014
5015
5016 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
5017 PyObject *resultobj;
5018 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5019 long result;
5020 PyObject * obj0 = 0 ;
5021 char *kwnames[] = {
5022 (char *) "self", NULL
5023 };
5024
5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5028 {
5029 PyThreadState* __tstate = wxPyBeginAllowThreads();
5030 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5031
5032 wxPyEndAllowThreads(__tstate);
5033 if (PyErr_Occurred()) SWIG_fail;
5034 }
5035 resultobj = SWIG_FromLong((long)result);
5036 return resultobj;
5037 fail:
5038 return NULL;
5039 }
5040
5041
5042 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5043 PyObject *resultobj;
5044 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5045 wxSplashScreenWindow *result;
5046 PyObject * obj0 = 0 ;
5047 char *kwnames[] = {
5048 (char *) "self", NULL
5049 };
5050
5051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5054 {
5055 PyThreadState* __tstate = wxPyBeginAllowThreads();
5056 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5057
5058 wxPyEndAllowThreads(__tstate);
5059 if (PyErr_Occurred()) SWIG_fail;
5060 }
5061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5062 return resultobj;
5063 fail:
5064 return NULL;
5065 }
5066
5067
5068 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
5069 PyObject *resultobj;
5070 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5071 int result;
5072 PyObject * obj0 = 0 ;
5073 char *kwnames[] = {
5074 (char *) "self", NULL
5075 };
5076
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5080 {
5081 PyThreadState* __tstate = wxPyBeginAllowThreads();
5082 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5083
5084 wxPyEndAllowThreads(__tstate);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 resultobj = SWIG_FromInt((int)result);
5088 return resultobj;
5089 fail:
5090 return NULL;
5091 }
5092
5093
5094 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
5095 PyObject *obj;
5096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5097 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5098 Py_INCREF(obj);
5099 return Py_BuildValue((char *)"");
5100 }
5101 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5102 PyObject *resultobj;
5103 wxWindow *arg1 = (wxWindow *) 0 ;
5104 int arg2 = (int) -1 ;
5105 long arg3 = (long) wxST_SIZEGRIP ;
5106 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5107 wxString *arg4 = (wxString *) &arg4_defvalue ;
5108 wxStatusBar *result;
5109 bool temp4 = False ;
5110 PyObject * obj0 = 0 ;
5111 PyObject * obj1 = 0 ;
5112 PyObject * obj2 = 0 ;
5113 PyObject * obj3 = 0 ;
5114 char *kwnames[] = {
5115 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5116 };
5117
5118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5121 if (obj1) {
5122 arg2 = (int) SWIG_AsInt(obj1);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 if (obj2) {
5126 arg3 = (long) SWIG_AsLong(obj2);
5127 if (PyErr_Occurred()) SWIG_fail;
5128 }
5129 if (obj3) {
5130 {
5131 arg4 = wxString_in_helper(obj3);
5132 if (arg4 == NULL) SWIG_fail;
5133 temp4 = True;
5134 }
5135 }
5136 {
5137 if (!wxPyCheckForApp()) SWIG_fail;
5138 PyThreadState* __tstate = wxPyBeginAllowThreads();
5139 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5140
5141 wxPyEndAllowThreads(__tstate);
5142 if (PyErr_Occurred()) SWIG_fail;
5143 }
5144 {
5145 resultobj = wxPyMake_wxObject(result);
5146 }
5147 {
5148 if (temp4)
5149 delete arg4;
5150 }
5151 return resultobj;
5152 fail:
5153 {
5154 if (temp4)
5155 delete arg4;
5156 }
5157 return NULL;
5158 }
5159
5160
5161 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5162 PyObject *resultobj;
5163 wxStatusBar *result;
5164 char *kwnames[] = {
5165 NULL
5166 };
5167
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5169 {
5170 if (!wxPyCheckForApp()) SWIG_fail;
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 result = (wxStatusBar *)new wxStatusBar();
5173
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 {
5178 resultobj = wxPyMake_wxObject(result);
5179 }
5180 return resultobj;
5181 fail:
5182 return NULL;
5183 }
5184
5185
5186 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5187 PyObject *resultobj;
5188 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5189 wxWindow *arg2 = (wxWindow *) 0 ;
5190 int arg3 = (int) -1 ;
5191 long arg4 = (long) wxST_SIZEGRIP ;
5192 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5193 wxString *arg5 = (wxString *) &arg5_defvalue ;
5194 bool result;
5195 bool temp5 = False ;
5196 PyObject * obj0 = 0 ;
5197 PyObject * obj1 = 0 ;
5198 PyObject * obj2 = 0 ;
5199 PyObject * obj3 = 0 ;
5200 PyObject * obj4 = 0 ;
5201 char *kwnames[] = {
5202 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5203 };
5204
5205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5210 if (obj2) {
5211 arg3 = (int) SWIG_AsInt(obj2);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 if (obj3) {
5215 arg4 = (long) SWIG_AsLong(obj3);
5216 if (PyErr_Occurred()) SWIG_fail;
5217 }
5218 if (obj4) {
5219 {
5220 arg5 = wxString_in_helper(obj4);
5221 if (arg5 == NULL) SWIG_fail;
5222 temp5 = True;
5223 }
5224 }
5225 {
5226 PyThreadState* __tstate = wxPyBeginAllowThreads();
5227 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5228
5229 wxPyEndAllowThreads(__tstate);
5230 if (PyErr_Occurred()) SWIG_fail;
5231 }
5232 {
5233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5234 }
5235 {
5236 if (temp5)
5237 delete arg5;
5238 }
5239 return resultobj;
5240 fail:
5241 {
5242 if (temp5)
5243 delete arg5;
5244 }
5245 return NULL;
5246 }
5247
5248
5249 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject *resultobj;
5251 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5252 int arg2 = (int) 1 ;
5253 PyObject * obj0 = 0 ;
5254 PyObject * obj1 = 0 ;
5255 char *kwnames[] = {
5256 (char *) "self",(char *) "number", NULL
5257 };
5258
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5262 if (obj1) {
5263 arg2 = (int) SWIG_AsInt(obj1);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 {
5267 PyThreadState* __tstate = wxPyBeginAllowThreads();
5268 (arg1)->SetFieldsCount(arg2);
5269
5270 wxPyEndAllowThreads(__tstate);
5271 if (PyErr_Occurred()) SWIG_fail;
5272 }
5273 Py_INCREF(Py_None); resultobj = Py_None;
5274 return resultobj;
5275 fail:
5276 return NULL;
5277 }
5278
5279
5280 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5281 PyObject *resultobj;
5282 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5283 int result;
5284 PyObject * obj0 = 0 ;
5285 char *kwnames[] = {
5286 (char *) "self", NULL
5287 };
5288
5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5295
5296 wxPyEndAllowThreads(__tstate);
5297 if (PyErr_Occurred()) SWIG_fail;
5298 }
5299 resultobj = SWIG_FromInt((int)result);
5300 return resultobj;
5301 fail:
5302 return NULL;
5303 }
5304
5305
5306 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5307 PyObject *resultobj;
5308 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5309 wxString *arg2 = 0 ;
5310 int arg3 = (int) 0 ;
5311 bool temp2 = False ;
5312 PyObject * obj0 = 0 ;
5313 PyObject * obj1 = 0 ;
5314 PyObject * obj2 = 0 ;
5315 char *kwnames[] = {
5316 (char *) "self",(char *) "text",(char *) "number", NULL
5317 };
5318
5319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5322 {
5323 arg2 = wxString_in_helper(obj1);
5324 if (arg2 == NULL) SWIG_fail;
5325 temp2 = True;
5326 }
5327 if (obj2) {
5328 arg3 = (int) SWIG_AsInt(obj2);
5329 if (PyErr_Occurred()) SWIG_fail;
5330 }
5331 {
5332 PyThreadState* __tstate = wxPyBeginAllowThreads();
5333 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5334
5335 wxPyEndAllowThreads(__tstate);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
5338 Py_INCREF(Py_None); resultobj = Py_None;
5339 {
5340 if (temp2)
5341 delete arg2;
5342 }
5343 return resultobj;
5344 fail:
5345 {
5346 if (temp2)
5347 delete arg2;
5348 }
5349 return NULL;
5350 }
5351
5352
5353 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject *resultobj;
5355 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5356 int arg2 = (int) 0 ;
5357 wxString result;
5358 PyObject * obj0 = 0 ;
5359 PyObject * obj1 = 0 ;
5360 char *kwnames[] = {
5361 (char *) "self",(char *) "number", NULL
5362 };
5363
5364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5367 if (obj1) {
5368 arg2 = (int) SWIG_AsInt(obj1);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 {
5372 PyThreadState* __tstate = wxPyBeginAllowThreads();
5373 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5374
5375 wxPyEndAllowThreads(__tstate);
5376 if (PyErr_Occurred()) SWIG_fail;
5377 }
5378 {
5379 #if wxUSE_UNICODE
5380 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5381 #else
5382 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5383 #endif
5384 }
5385 return resultobj;
5386 fail:
5387 return NULL;
5388 }
5389
5390
5391 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5392 PyObject *resultobj;
5393 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5394 wxString *arg2 = 0 ;
5395 int arg3 = (int) 0 ;
5396 bool temp2 = False ;
5397 PyObject * obj0 = 0 ;
5398 PyObject * obj1 = 0 ;
5399 PyObject * obj2 = 0 ;
5400 char *kwnames[] = {
5401 (char *) "self",(char *) "text",(char *) "number", NULL
5402 };
5403
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5407 {
5408 arg2 = wxString_in_helper(obj1);
5409 if (arg2 == NULL) SWIG_fail;
5410 temp2 = True;
5411 }
5412 if (obj2) {
5413 arg3 = (int) SWIG_AsInt(obj2);
5414 if (PyErr_Occurred()) SWIG_fail;
5415 }
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5419
5420 wxPyEndAllowThreads(__tstate);
5421 if (PyErr_Occurred()) SWIG_fail;
5422 }
5423 Py_INCREF(Py_None); resultobj = Py_None;
5424 {
5425 if (temp2)
5426 delete arg2;
5427 }
5428 return resultobj;
5429 fail:
5430 {
5431 if (temp2)
5432 delete arg2;
5433 }
5434 return NULL;
5435 }
5436
5437
5438 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5439 PyObject *resultobj;
5440 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5441 int arg2 = (int) 0 ;
5442 PyObject * obj0 = 0 ;
5443 PyObject * obj1 = 0 ;
5444 char *kwnames[] = {
5445 (char *) "self",(char *) "number", NULL
5446 };
5447
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5451 if (obj1) {
5452 arg2 = (int) SWIG_AsInt(obj1);
5453 if (PyErr_Occurred()) SWIG_fail;
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 (arg1)->PopStatusText(arg2);
5458
5459 wxPyEndAllowThreads(__tstate);
5460 if (PyErr_Occurred()) SWIG_fail;
5461 }
5462 Py_INCREF(Py_None); resultobj = Py_None;
5463 return resultobj;
5464 fail:
5465 return NULL;
5466 }
5467
5468
5469 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj;
5471 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5472 int arg2 ;
5473 int *arg3 = (int *) 0 ;
5474 PyObject * obj0 = 0 ;
5475 PyObject * obj1 = 0 ;
5476 char *kwnames[] = {
5477 (char *) "self",(char *) "widths", NULL
5478 };
5479
5480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5483 {
5484 arg2 = PyList_Size(obj1);
5485 arg3 = int_LIST_helper(obj1);
5486 if (arg3 == NULL) SWIG_fail;
5487 }
5488 {
5489 PyThreadState* __tstate = wxPyBeginAllowThreads();
5490 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5491
5492 wxPyEndAllowThreads(__tstate);
5493 if (PyErr_Occurred()) SWIG_fail;
5494 }
5495 Py_INCREF(Py_None); resultobj = Py_None;
5496 {
5497 if (arg3) delete [] arg3;
5498 }
5499 return resultobj;
5500 fail:
5501 {
5502 if (arg3) delete [] arg3;
5503 }
5504 return NULL;
5505 }
5506
5507
5508 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5509 PyObject *resultobj;
5510 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5511 int arg2 ;
5512 wxRect result;
5513 PyObject * obj0 = 0 ;
5514 PyObject * obj1 = 0 ;
5515 char *kwnames[] = {
5516 (char *) "self",(char *) "i", NULL
5517 };
5518
5519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5522 arg2 = (int) SWIG_AsInt(obj1);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 {
5525 PyThreadState* __tstate = wxPyBeginAllowThreads();
5526 result = wxStatusBar_GetFieldRect(arg1,arg2);
5527
5528 wxPyEndAllowThreads(__tstate);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 {
5532 wxRect * resultptr;
5533 resultptr = new wxRect((wxRect &) result);
5534 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5535 }
5536 return resultobj;
5537 fail:
5538 return NULL;
5539 }
5540
5541
5542 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5543 PyObject *resultobj;
5544 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5545 int arg2 ;
5546 PyObject * obj0 = 0 ;
5547 PyObject * obj1 = 0 ;
5548 char *kwnames[] = {
5549 (char *) "self",(char *) "height", NULL
5550 };
5551
5552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5555 arg2 = (int) SWIG_AsInt(obj1);
5556 if (PyErr_Occurred()) SWIG_fail;
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 (arg1)->SetMinHeight(arg2);
5560
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 Py_INCREF(Py_None); resultobj = Py_None;
5565 return resultobj;
5566 fail:
5567 return NULL;
5568 }
5569
5570
5571 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5572 PyObject *resultobj;
5573 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5574 int result;
5575 PyObject * obj0 = 0 ;
5576 char *kwnames[] = {
5577 (char *) "self", NULL
5578 };
5579
5580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
5590 resultobj = SWIG_FromInt((int)result);
5591 return resultobj;
5592 fail:
5593 return NULL;
5594 }
5595
5596
5597 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5598 PyObject *resultobj;
5599 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5600 int result;
5601 PyObject * obj0 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "self", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
5616 resultobj = SWIG_FromInt((int)result);
5617 return resultobj;
5618 fail:
5619 return NULL;
5620 }
5621
5622
5623 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5624 PyObject *resultobj;
5625 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5626 wxVisualAttributes result;
5627 PyObject * obj0 = 0 ;
5628 char *kwnames[] = {
5629 (char *) "variant", NULL
5630 };
5631
5632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5633 if (obj0) {
5634 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5635 if (PyErr_Occurred()) SWIG_fail;
5636 }
5637 {
5638 if (!wxPyCheckForApp()) SWIG_fail;
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 {
5646 wxVisualAttributes * resultptr;
5647 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5648 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5649 }
5650 return resultobj;
5651 fail:
5652 return NULL;
5653 }
5654
5655
5656 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5657 PyObject *obj;
5658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5659 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5660 Py_INCREF(obj);
5661 return Py_BuildValue((char *)"");
5662 }
5663 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5664 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5665 return 1;
5666 }
5667
5668
5669 static PyObject *_wrap_SplitterNameStr_get() {
5670 PyObject *pyobj;
5671
5672 {
5673 #if wxUSE_UNICODE
5674 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5675 #else
5676 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5677 #endif
5678 }
5679 return pyobj;
5680 }
5681
5682
5683 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj;
5685 wxWindow *arg1 = (wxWindow *) 0 ;
5686 int arg2 = (int) -1 ;
5687 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5688 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5689 wxSize const &arg4_defvalue = wxDefaultSize ;
5690 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5691 long arg5 = (long) wxSP_3D ;
5692 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5693 wxString *arg6 = (wxString *) &arg6_defvalue ;
5694 wxSplitterWindow *result;
5695 wxPoint temp3 ;
5696 wxSize temp4 ;
5697 bool temp6 = False ;
5698 PyObject * obj0 = 0 ;
5699 PyObject * obj1 = 0 ;
5700 PyObject * obj2 = 0 ;
5701 PyObject * obj3 = 0 ;
5702 PyObject * obj4 = 0 ;
5703 PyObject * obj5 = 0 ;
5704 char *kwnames[] = {
5705 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5706 };
5707
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5711 if (obj1) {
5712 arg2 = (int) SWIG_AsInt(obj1);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
5715 if (obj2) {
5716 {
5717 arg3 = &temp3;
5718 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5719 }
5720 }
5721 if (obj3) {
5722 {
5723 arg4 = &temp4;
5724 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5725 }
5726 }
5727 if (obj4) {
5728 arg5 = (long) SWIG_AsLong(obj4);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 if (obj5) {
5732 {
5733 arg6 = wxString_in_helper(obj5);
5734 if (arg6 == NULL) SWIG_fail;
5735 temp6 = True;
5736 }
5737 }
5738 {
5739 if (!wxPyCheckForApp()) SWIG_fail;
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5742
5743 wxPyEndAllowThreads(__tstate);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5747 {
5748 if (temp6)
5749 delete arg6;
5750 }
5751 return resultobj;
5752 fail:
5753 {
5754 if (temp6)
5755 delete arg6;
5756 }
5757 return NULL;
5758 }
5759
5760
5761 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5762 PyObject *resultobj;
5763 wxSplitterWindow *result;
5764 char *kwnames[] = {
5765 NULL
5766 };
5767
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5769 {
5770 if (!wxPyCheckForApp()) SWIG_fail;
5771 PyThreadState* __tstate = wxPyBeginAllowThreads();
5772 result = (wxSplitterWindow *)new wxSplitterWindow();
5773
5774 wxPyEndAllowThreads(__tstate);
5775 if (PyErr_Occurred()) SWIG_fail;
5776 }
5777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5778 return resultobj;
5779 fail:
5780 return NULL;
5781 }
5782
5783
5784 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5785 PyObject *resultobj;
5786 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5787 wxWindow *arg2 = (wxWindow *) 0 ;
5788 int arg3 = (int) -1 ;
5789 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5790 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5791 wxSize const &arg5_defvalue = wxDefaultSize ;
5792 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5793 long arg6 = (long) wxSP_3D ;
5794 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5795 wxString *arg7 = (wxString *) &arg7_defvalue ;
5796 bool result;
5797 wxPoint temp4 ;
5798 wxSize temp5 ;
5799 bool temp7 = False ;
5800 PyObject * obj0 = 0 ;
5801 PyObject * obj1 = 0 ;
5802 PyObject * obj2 = 0 ;
5803 PyObject * obj3 = 0 ;
5804 PyObject * obj4 = 0 ;
5805 PyObject * obj5 = 0 ;
5806 PyObject * obj6 = 0 ;
5807 char *kwnames[] = {
5808 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5809 };
5810
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5816 if (obj2) {
5817 arg3 = (int) SWIG_AsInt(obj2);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 }
5820 if (obj3) {
5821 {
5822 arg4 = &temp4;
5823 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5824 }
5825 }
5826 if (obj4) {
5827 {
5828 arg5 = &temp5;
5829 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5830 }
5831 }
5832 if (obj5) {
5833 arg6 = (long) SWIG_AsLong(obj5);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 if (obj6) {
5837 {
5838 arg7 = wxString_in_helper(obj6);
5839 if (arg7 == NULL) SWIG_fail;
5840 temp7 = True;
5841 }
5842 }
5843 {
5844 PyThreadState* __tstate = wxPyBeginAllowThreads();
5845 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5846
5847 wxPyEndAllowThreads(__tstate);
5848 if (PyErr_Occurred()) SWIG_fail;
5849 }
5850 {
5851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5852 }
5853 {
5854 if (temp7)
5855 delete arg7;
5856 }
5857 return resultobj;
5858 fail:
5859 {
5860 if (temp7)
5861 delete arg7;
5862 }
5863 return NULL;
5864 }
5865
5866
5867 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj;
5869 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5870 wxWindow *result;
5871 PyObject * obj0 = 0 ;
5872 char *kwnames[] = {
5873 (char *) "self", NULL
5874 };
5875
5876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
5886 {
5887 resultobj = wxPyMake_wxObject(result);
5888 }
5889 return resultobj;
5890 fail:
5891 return NULL;
5892 }
5893
5894
5895 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject *resultobj;
5897 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5898 wxWindow *result;
5899 PyObject * obj0 = 0 ;
5900 char *kwnames[] = {
5901 (char *) "self", NULL
5902 };
5903
5904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5907 {
5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
5909 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5910
5911 wxPyEndAllowThreads(__tstate);
5912 if (PyErr_Occurred()) SWIG_fail;
5913 }
5914 {
5915 resultobj = wxPyMake_wxObject(result);
5916 }
5917 return resultobj;
5918 fail:
5919 return NULL;
5920 }
5921
5922
5923 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5924 PyObject *resultobj;
5925 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5926 int arg2 ;
5927 PyObject * obj0 = 0 ;
5928 PyObject * obj1 = 0 ;
5929 char *kwnames[] = {
5930 (char *) "self",(char *) "mode", NULL
5931 };
5932
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5936 arg2 = (int) SWIG_AsInt(obj1);
5937 if (PyErr_Occurred()) SWIG_fail;
5938 {
5939 PyThreadState* __tstate = wxPyBeginAllowThreads();
5940 (arg1)->SetSplitMode(arg2);
5941
5942 wxPyEndAllowThreads(__tstate);
5943 if (PyErr_Occurred()) SWIG_fail;
5944 }
5945 Py_INCREF(Py_None); resultobj = Py_None;
5946 return resultobj;
5947 fail:
5948 return NULL;
5949 }
5950
5951
5952 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5953 PyObject *resultobj;
5954 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5955 int result;
5956 PyObject * obj0 = 0 ;
5957 char *kwnames[] = {
5958 (char *) "self", NULL
5959 };
5960
5961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5967
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
5971 resultobj = SWIG_FromInt((int)result);
5972 return resultobj;
5973 fail:
5974 return NULL;
5975 }
5976
5977
5978 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5979 PyObject *resultobj;
5980 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5981 wxWindow *arg2 = (wxWindow *) 0 ;
5982 PyObject * obj0 = 0 ;
5983 PyObject * obj1 = 0 ;
5984 char *kwnames[] = {
5985 (char *) "self",(char *) "window", NULL
5986 };
5987
5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5993 {
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 (arg1)->Initialize(arg2);
5996
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 Py_INCREF(Py_None); resultobj = Py_None;
6001 return resultobj;
6002 fail:
6003 return NULL;
6004 }
6005
6006
6007 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
6008 PyObject *resultobj;
6009 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6010 wxWindow *arg2 = (wxWindow *) 0 ;
6011 wxWindow *arg3 = (wxWindow *) 0 ;
6012 int arg4 = (int) 0 ;
6013 bool result;
6014 PyObject * obj0 = 0 ;
6015 PyObject * obj1 = 0 ;
6016 PyObject * obj2 = 0 ;
6017 PyObject * obj3 = 0 ;
6018 char *kwnames[] = {
6019 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6020 };
6021
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6027 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6029 if (obj3) {
6030 arg4 = (int) SWIG_AsInt(obj3);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
6033 {
6034 PyThreadState* __tstate = wxPyBeginAllowThreads();
6035 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6036
6037 wxPyEndAllowThreads(__tstate);
6038 if (PyErr_Occurred()) SWIG_fail;
6039 }
6040 {
6041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6042 }
6043 return resultobj;
6044 fail:
6045 return NULL;
6046 }
6047
6048
6049 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
6050 PyObject *resultobj;
6051 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6052 wxWindow *arg2 = (wxWindow *) 0 ;
6053 wxWindow *arg3 = (wxWindow *) 0 ;
6054 int arg4 = (int) 0 ;
6055 bool result;
6056 PyObject * obj0 = 0 ;
6057 PyObject * obj1 = 0 ;
6058 PyObject * obj2 = 0 ;
6059 PyObject * obj3 = 0 ;
6060 char *kwnames[] = {
6061 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6062 };
6063
6064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6069 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6071 if (obj3) {
6072 arg4 = (int) SWIG_AsInt(obj3);
6073 if (PyErr_Occurred()) SWIG_fail;
6074 }
6075 {
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6078
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
6082 {
6083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6084 }
6085 return resultobj;
6086 fail:
6087 return NULL;
6088 }
6089
6090
6091 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6092 PyObject *resultobj;
6093 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6094 wxWindow *arg2 = (wxWindow *) NULL ;
6095 bool result;
6096 PyObject * obj0 = 0 ;
6097 PyObject * obj1 = 0 ;
6098 char *kwnames[] = {
6099 (char *) "self",(char *) "toRemove", NULL
6100 };
6101
6102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6105 if (obj1) {
6106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6108 }
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 result = (bool)(arg1)->Unsplit(arg2);
6112
6113 wxPyEndAllowThreads(__tstate);
6114 if (PyErr_Occurred()) SWIG_fail;
6115 }
6116 {
6117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6118 }
6119 return resultobj;
6120 fail:
6121 return NULL;
6122 }
6123
6124
6125 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6126 PyObject *resultobj;
6127 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6128 wxWindow *arg2 = (wxWindow *) 0 ;
6129 wxWindow *arg3 = (wxWindow *) 0 ;
6130 bool result;
6131 PyObject * obj0 = 0 ;
6132 PyObject * obj1 = 0 ;
6133 PyObject * obj2 = 0 ;
6134 char *kwnames[] = {
6135 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6136 };
6137
6138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6141 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6143 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6145 {
6146 PyThreadState* __tstate = wxPyBeginAllowThreads();
6147 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6148
6149 wxPyEndAllowThreads(__tstate);
6150 if (PyErr_Occurred()) SWIG_fail;
6151 }
6152 {
6153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6154 }
6155 return resultobj;
6156 fail:
6157 return NULL;
6158 }
6159
6160
6161 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6162 PyObject *resultobj;
6163 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6164 PyObject * obj0 = 0 ;
6165 char *kwnames[] = {
6166 (char *) "self", NULL
6167 };
6168
6169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->UpdateSize();
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 Py_INCREF(Py_None); resultobj = Py_None;
6180 return resultobj;
6181 fail:
6182 return NULL;
6183 }
6184
6185
6186 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj;
6188 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6189 bool result;
6190 PyObject * obj0 = 0 ;
6191 char *kwnames[] = {
6192 (char *) "self", NULL
6193 };
6194
6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6198 {
6199 PyThreadState* __tstate = wxPyBeginAllowThreads();
6200 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6201
6202 wxPyEndAllowThreads(__tstate);
6203 if (PyErr_Occurred()) SWIG_fail;
6204 }
6205 {
6206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6207 }
6208 return resultobj;
6209 fail:
6210 return NULL;
6211 }
6212
6213
6214 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6215 PyObject *resultobj;
6216 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6217 int arg2 ;
6218 PyObject * obj0 = 0 ;
6219 PyObject * obj1 = 0 ;
6220 char *kwnames[] = {
6221 (char *) "self",(char *) "width", NULL
6222 };
6223
6224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6227 arg2 = (int) SWIG_AsInt(obj1);
6228 if (PyErr_Occurred()) SWIG_fail;
6229 {
6230 PyThreadState* __tstate = wxPyBeginAllowThreads();
6231 (arg1)->SetSashSize(arg2);
6232
6233 wxPyEndAllowThreads(__tstate);
6234 if (PyErr_Occurred()) SWIG_fail;
6235 }
6236 Py_INCREF(Py_None); resultobj = Py_None;
6237 return resultobj;
6238 fail:
6239 return NULL;
6240 }
6241
6242
6243 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6244 PyObject *resultobj;
6245 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6246 int arg2 ;
6247 PyObject * obj0 = 0 ;
6248 PyObject * obj1 = 0 ;
6249 char *kwnames[] = {
6250 (char *) "self",(char *) "width", NULL
6251 };
6252
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6256 arg2 = (int) SWIG_AsInt(obj1);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 {
6259 PyThreadState* __tstate = wxPyBeginAllowThreads();
6260 (arg1)->SetBorderSize(arg2);
6261
6262 wxPyEndAllowThreads(__tstate);
6263 if (PyErr_Occurred()) SWIG_fail;
6264 }
6265 Py_INCREF(Py_None); resultobj = Py_None;
6266 return resultobj;
6267 fail:
6268 return NULL;
6269 }
6270
6271
6272 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6273 PyObject *resultobj;
6274 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6275 int result;
6276 PyObject * obj0 = 0 ;
6277 char *kwnames[] = {
6278 (char *) "self", NULL
6279 };
6280
6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 resultobj = SWIG_FromInt((int)result);
6292 return resultobj;
6293 fail:
6294 return NULL;
6295 }
6296
6297
6298 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6299 PyObject *resultobj;
6300 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6301 int result;
6302 PyObject * obj0 = 0 ;
6303 char *kwnames[] = {
6304 (char *) "self", NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6310 {
6311 PyThreadState* __tstate = wxPyBeginAllowThreads();
6312 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6313
6314 wxPyEndAllowThreads(__tstate);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
6317 resultobj = SWIG_FromInt((int)result);
6318 return resultobj;
6319 fail:
6320 return NULL;
6321 }
6322
6323
6324 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6325 PyObject *resultobj;
6326 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6327 int arg2 ;
6328 bool arg3 = (bool) True ;
6329 PyObject * obj0 = 0 ;
6330 PyObject * obj1 = 0 ;
6331 PyObject * obj2 = 0 ;
6332 char *kwnames[] = {
6333 (char *) "self",(char *) "position",(char *) "redraw", NULL
6334 };
6335
6336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6339 arg2 = (int) SWIG_AsInt(obj1);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 if (obj2) {
6342 arg3 = (bool) SWIG_AsBool(obj2);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 }
6345 {
6346 PyThreadState* __tstate = wxPyBeginAllowThreads();
6347 (arg1)->SetSashPosition(arg2,arg3);
6348
6349 wxPyEndAllowThreads(__tstate);
6350 if (PyErr_Occurred()) SWIG_fail;
6351 }
6352 Py_INCREF(Py_None); resultobj = Py_None;
6353 return resultobj;
6354 fail:
6355 return NULL;
6356 }
6357
6358
6359 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6360 PyObject *resultobj;
6361 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6362 int result;
6363 PyObject * obj0 = 0 ;
6364 char *kwnames[] = {
6365 (char *) "self", NULL
6366 };
6367
6368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6371 {
6372 PyThreadState* __tstate = wxPyBeginAllowThreads();
6373 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6374
6375 wxPyEndAllowThreads(__tstate);
6376 if (PyErr_Occurred()) SWIG_fail;
6377 }
6378 resultobj = SWIG_FromInt((int)result);
6379 return resultobj;
6380 fail:
6381 return NULL;
6382 }
6383
6384
6385 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6386 PyObject *resultobj;
6387 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6388 int arg2 ;
6389 PyObject * obj0 = 0 ;
6390 PyObject * obj1 = 0 ;
6391 char *kwnames[] = {
6392 (char *) "self",(char *) "min", NULL
6393 };
6394
6395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6398 arg2 = (int) SWIG_AsInt(obj1);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 (arg1)->SetMinimumPaneSize(arg2);
6403
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 Py_INCREF(Py_None); resultobj = Py_None;
6408 return resultobj;
6409 fail:
6410 return NULL;
6411 }
6412
6413
6414 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6415 PyObject *resultobj;
6416 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6417 int result;
6418 PyObject * obj0 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",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 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 resultobj = SWIG_FromInt((int)result);
6434 return resultobj;
6435 fail:
6436 return NULL;
6437 }
6438
6439
6440 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6441 PyObject *resultobj;
6442 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6443 int arg2 ;
6444 int arg3 ;
6445 int arg4 = (int) 5 ;
6446 bool result;
6447 PyObject * obj0 = 0 ;
6448 PyObject * obj1 = 0 ;
6449 PyObject * obj2 = 0 ;
6450 PyObject * obj3 = 0 ;
6451 char *kwnames[] = {
6452 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6453 };
6454
6455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6458 arg2 = (int) SWIG_AsInt(obj1);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 arg3 = (int) SWIG_AsInt(obj2);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 if (obj3) {
6463 arg4 = (int) SWIG_AsInt(obj3);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 {
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6469
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 }
6473 {
6474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6475 }
6476 return resultobj;
6477 fail:
6478 return NULL;
6479 }
6480
6481
6482 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6483 PyObject *resultobj;
6484 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6485 PyObject * obj0 = 0 ;
6486 char *kwnames[] = {
6487 (char *) "self", NULL
6488 };
6489
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6493 {
6494 PyThreadState* __tstate = wxPyBeginAllowThreads();
6495 (arg1)->SizeWindows();
6496
6497 wxPyEndAllowThreads(__tstate);
6498 if (PyErr_Occurred()) SWIG_fail;
6499 }
6500 Py_INCREF(Py_None); resultobj = Py_None;
6501 return resultobj;
6502 fail:
6503 return NULL;
6504 }
6505
6506
6507 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6508 PyObject *resultobj;
6509 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6510 bool arg2 ;
6511 PyObject * obj0 = 0 ;
6512 PyObject * obj1 = 0 ;
6513 char *kwnames[] = {
6514 (char *) "self",(char *) "needUpdating", NULL
6515 };
6516
6517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6520 arg2 = (bool) SWIG_AsBool(obj1);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 (arg1)->SetNeedUpdating(arg2);
6525
6526 wxPyEndAllowThreads(__tstate);
6527 if (PyErr_Occurred()) SWIG_fail;
6528 }
6529 Py_INCREF(Py_None); resultobj = Py_None;
6530 return resultobj;
6531 fail:
6532 return NULL;
6533 }
6534
6535
6536 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6537 PyObject *resultobj;
6538 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6539 bool result;
6540 PyObject * obj0 = 0 ;
6541 char *kwnames[] = {
6542 (char *) "self", NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6551
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
6555 {
6556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6557 }
6558 return resultobj;
6559 fail:
6560 return NULL;
6561 }
6562
6563
6564 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6565 PyObject *resultobj;
6566 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6567 wxVisualAttributes result;
6568 PyObject * obj0 = 0 ;
6569 char *kwnames[] = {
6570 (char *) "variant", NULL
6571 };
6572
6573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6574 if (obj0) {
6575 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 {
6579 if (!wxPyCheckForApp()) SWIG_fail;
6580 PyThreadState* __tstate = wxPyBeginAllowThreads();
6581 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6582
6583 wxPyEndAllowThreads(__tstate);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 }
6586 {
6587 wxVisualAttributes * resultptr;
6588 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6590 }
6591 return resultobj;
6592 fail:
6593 return NULL;
6594 }
6595
6596
6597 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6598 PyObject *obj;
6599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6600 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6601 Py_INCREF(obj);
6602 return Py_BuildValue((char *)"");
6603 }
6604 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6605 PyObject *resultobj;
6606 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6607 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6608 wxSplitterEvent *result;
6609 PyObject * obj0 = 0 ;
6610 PyObject * obj1 = 0 ;
6611 char *kwnames[] = {
6612 (char *) "type",(char *) "splitter", NULL
6613 };
6614
6615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6616 if (obj0) {
6617 arg1 = (wxEventType) SWIG_AsInt(obj0);
6618 if (PyErr_Occurred()) SWIG_fail;
6619 }
6620 if (obj1) {
6621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6623 }
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6632 return resultobj;
6633 fail:
6634 return NULL;
6635 }
6636
6637
6638 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6639 PyObject *resultobj;
6640 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6641 int arg2 ;
6642 PyObject * obj0 = 0 ;
6643 PyObject * obj1 = 0 ;
6644 char *kwnames[] = {
6645 (char *) "self",(char *) "pos", NULL
6646 };
6647
6648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6651 arg2 = (int) SWIG_AsInt(obj1);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 (arg1)->SetSashPosition(arg2);
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 Py_INCREF(Py_None); resultobj = Py_None;
6661 return resultobj;
6662 fail:
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6670 int result;
6671 PyObject * obj0 = 0 ;
6672 char *kwnames[] = {
6673 (char *) "self", NULL
6674 };
6675
6676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 resultobj = SWIG_FromInt((int)result);
6687 return resultobj;
6688 fail:
6689 return NULL;
6690 }
6691
6692
6693 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj;
6695 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6696 wxWindow *result;
6697 PyObject * obj0 = 0 ;
6698 char *kwnames[] = {
6699 (char *) "self", NULL
6700 };
6701
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6708
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 {
6713 resultobj = wxPyMake_wxObject(result);
6714 }
6715 return resultobj;
6716 fail:
6717 return NULL;
6718 }
6719
6720
6721 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6722 PyObject *resultobj;
6723 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6724 int result;
6725 PyObject * obj0 = 0 ;
6726 char *kwnames[] = {
6727 (char *) "self", NULL
6728 };
6729
6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6733 {
6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
6735 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6736
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 resultobj = SWIG_FromInt((int)result);
6741 return resultobj;
6742 fail:
6743 return NULL;
6744 }
6745
6746
6747 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj;
6749 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6750 int result;
6751 PyObject * obj0 = 0 ;
6752 char *kwnames[] = {
6753 (char *) "self", NULL
6754 };
6755
6756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6759 {
6760 PyThreadState* __tstate = wxPyBeginAllowThreads();
6761 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6762
6763 wxPyEndAllowThreads(__tstate);
6764 if (PyErr_Occurred()) SWIG_fail;
6765 }
6766 resultobj = SWIG_FromInt((int)result);
6767 return resultobj;
6768 fail:
6769 return NULL;
6770 }
6771
6772
6773 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6774 PyObject *obj;
6775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6776 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6777 Py_INCREF(obj);
6778 return Py_BuildValue((char *)"");
6779 }
6780 static int _wrap_SashNameStr_set(PyObject *_val) {
6781 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6782 return 1;
6783 }
6784
6785
6786 static PyObject *_wrap_SashNameStr_get() {
6787 PyObject *pyobj;
6788
6789 {
6790 #if wxUSE_UNICODE
6791 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6792 #else
6793 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6794 #endif
6795 }
6796 return pyobj;
6797 }
6798
6799
6800 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6801 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6802 return 1;
6803 }
6804
6805
6806 static PyObject *_wrap_SashLayoutNameStr_get() {
6807 PyObject *pyobj;
6808
6809 {
6810 #if wxUSE_UNICODE
6811 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6812 #else
6813 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6814 #endif
6815 }
6816 return pyobj;
6817 }
6818
6819
6820 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6821 PyObject *resultobj;
6822 wxWindow *arg1 = (wxWindow *) 0 ;
6823 int arg2 = (int) -1 ;
6824 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6825 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6826 wxSize const &arg4_defvalue = wxDefaultSize ;
6827 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6828 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6829 wxString const &arg6_defvalue = wxPySashNameStr ;
6830 wxString *arg6 = (wxString *) &arg6_defvalue ;
6831 wxSashWindow *result;
6832 wxPoint temp3 ;
6833 wxSize temp4 ;
6834 bool temp6 = False ;
6835 PyObject * obj0 = 0 ;
6836 PyObject * obj1 = 0 ;
6837 PyObject * obj2 = 0 ;
6838 PyObject * obj3 = 0 ;
6839 PyObject * obj4 = 0 ;
6840 PyObject * obj5 = 0 ;
6841 char *kwnames[] = {
6842 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6843 };
6844
6845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6848 if (obj1) {
6849 arg2 = (int) SWIG_AsInt(obj1);
6850 if (PyErr_Occurred()) SWIG_fail;
6851 }
6852 if (obj2) {
6853 {
6854 arg3 = &temp3;
6855 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6856 }
6857 }
6858 if (obj3) {
6859 {
6860 arg4 = &temp4;
6861 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6862 }
6863 }
6864 if (obj4) {
6865 arg5 = (long) SWIG_AsLong(obj4);
6866 if (PyErr_Occurred()) SWIG_fail;
6867 }
6868 if (obj5) {
6869 {
6870 arg6 = wxString_in_helper(obj5);
6871 if (arg6 == NULL) SWIG_fail;
6872 temp6 = True;
6873 }
6874 }
6875 {
6876 if (!wxPyCheckForApp()) SWIG_fail;
6877 PyThreadState* __tstate = wxPyBeginAllowThreads();
6878 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6879
6880 wxPyEndAllowThreads(__tstate);
6881 if (PyErr_Occurred()) SWIG_fail;
6882 }
6883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6884 {
6885 if (temp6)
6886 delete arg6;
6887 }
6888 return resultobj;
6889 fail:
6890 {
6891 if (temp6)
6892 delete arg6;
6893 }
6894 return NULL;
6895 }
6896
6897
6898 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6899 PyObject *resultobj;
6900 wxSashWindow *result;
6901 char *kwnames[] = {
6902 NULL
6903 };
6904
6905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6906 {
6907 if (!wxPyCheckForApp()) SWIG_fail;
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (wxSashWindow *)new wxSashWindow();
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6924 wxWindow *arg2 = (wxWindow *) 0 ;
6925 int arg3 = (int) -1 ;
6926 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6927 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6928 wxSize const &arg5_defvalue = wxDefaultSize ;
6929 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6930 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6931 wxString const &arg7_defvalue = wxPySashNameStr ;
6932 wxString *arg7 = (wxString *) &arg7_defvalue ;
6933 bool result;
6934 wxPoint temp4 ;
6935 wxSize temp5 ;
6936 bool temp7 = False ;
6937 PyObject * obj0 = 0 ;
6938 PyObject * obj1 = 0 ;
6939 PyObject * obj2 = 0 ;
6940 PyObject * obj3 = 0 ;
6941 PyObject * obj4 = 0 ;
6942 PyObject * obj5 = 0 ;
6943 PyObject * obj6 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6953 if (obj2) {
6954 arg3 = (int) SWIG_AsInt(obj2);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 if (obj3) {
6958 {
6959 arg4 = &temp4;
6960 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6961 }
6962 }
6963 if (obj4) {
6964 {
6965 arg5 = &temp5;
6966 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6967 }
6968 }
6969 if (obj5) {
6970 arg6 = (long) SWIG_AsLong(obj5);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 }
6973 if (obj6) {
6974 {
6975 arg7 = wxString_in_helper(obj6);
6976 if (arg7 == NULL) SWIG_fail;
6977 temp7 = True;
6978 }
6979 }
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 {
6988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6989 }
6990 {
6991 if (temp7)
6992 delete arg7;
6993 }
6994 return resultobj;
6995 fail:
6996 {
6997 if (temp7)
6998 delete arg7;
6999 }
7000 return NULL;
7001 }
7002
7003
7004 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7005 PyObject *resultobj;
7006 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7007 int arg2 ;
7008 bool arg3 ;
7009 PyObject * obj0 = 0 ;
7010 PyObject * obj1 = 0 ;
7011 PyObject * obj2 = 0 ;
7012 char *kwnames[] = {
7013 (char *) "self",(char *) "edge",(char *) "sash", NULL
7014 };
7015
7016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7019 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7020 if (PyErr_Occurred()) SWIG_fail;
7021 arg3 = (bool) SWIG_AsBool(obj2);
7022 if (PyErr_Occurred()) SWIG_fail;
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7026
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
7030 Py_INCREF(Py_None); resultobj = Py_None;
7031 return resultobj;
7032 fail:
7033 return NULL;
7034 }
7035
7036
7037 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7038 PyObject *resultobj;
7039 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7040 int arg2 ;
7041 bool result;
7042 PyObject * obj0 = 0 ;
7043 PyObject * obj1 = 0 ;
7044 char *kwnames[] = {
7045 (char *) "self",(char *) "edge", NULL
7046 };
7047
7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7051 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7052 if (PyErr_Occurred()) SWIG_fail;
7053 {
7054 PyThreadState* __tstate = wxPyBeginAllowThreads();
7055 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7056
7057 wxPyEndAllowThreads(__tstate);
7058 if (PyErr_Occurred()) SWIG_fail;
7059 }
7060 {
7061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7062 }
7063 return resultobj;
7064 fail:
7065 return NULL;
7066 }
7067
7068
7069 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7070 PyObject *resultobj;
7071 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7072 int arg2 ;
7073 bool arg3 ;
7074 PyObject * obj0 = 0 ;
7075 PyObject * obj1 = 0 ;
7076 PyObject * obj2 = 0 ;
7077 char *kwnames[] = {
7078 (char *) "self",(char *) "edge",(char *) "border", NULL
7079 };
7080
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7084 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7085 if (PyErr_Occurred()) SWIG_fail;
7086 arg3 = (bool) SWIG_AsBool(obj2);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 Py_INCREF(Py_None); resultobj = Py_None;
7096 return resultobj;
7097 fail:
7098 return NULL;
7099 }
7100
7101
7102 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7103 PyObject *resultobj;
7104 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7105 int arg2 ;
7106 bool result;
7107 PyObject * obj0 = 0 ;
7108 PyObject * obj1 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "self",(char *) "edge", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7116 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 {
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7121
7122 wxPyEndAllowThreads(__tstate);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 }
7125 {
7126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7127 }
7128 return resultobj;
7129 fail:
7130 return NULL;
7131 }
7132
7133
7134 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
7135 PyObject *resultobj;
7136 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7137 int arg2 ;
7138 int result;
7139 PyObject * obj0 = 0 ;
7140 PyObject * obj1 = 0 ;
7141 char *kwnames[] = {
7142 (char *) "self",(char *) "edge", NULL
7143 };
7144
7145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7148 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 {
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 resultobj = SWIG_FromInt((int)result);
7158 return resultobj;
7159 fail:
7160 return NULL;
7161 }
7162
7163
7164 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7165 PyObject *resultobj;
7166 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7167 int arg2 ;
7168 PyObject * obj0 = 0 ;
7169 PyObject * obj1 = 0 ;
7170 char *kwnames[] = {
7171 (char *) "self",(char *) "width", NULL
7172 };
7173
7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7177 arg2 = (int) SWIG_AsInt(obj1);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 (arg1)->SetDefaultBorderSize(arg2);
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 Py_INCREF(Py_None); resultobj = Py_None;
7187 return resultobj;
7188 fail:
7189 return NULL;
7190 }
7191
7192
7193 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7194 PyObject *resultobj;
7195 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7196 int result;
7197 PyObject * obj0 = 0 ;
7198 char *kwnames[] = {
7199 (char *) "self", NULL
7200 };
7201
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7205 {
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7208
7209 wxPyEndAllowThreads(__tstate);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 resultobj = SWIG_FromInt((int)result);
7213 return resultobj;
7214 fail:
7215 return NULL;
7216 }
7217
7218
7219 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7220 PyObject *resultobj;
7221 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7222 int arg2 ;
7223 PyObject * obj0 = 0 ;
7224 PyObject * obj1 = 0 ;
7225 char *kwnames[] = {
7226 (char *) "self",(char *) "width", NULL
7227 };
7228
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7232 arg2 = (int) SWIG_AsInt(obj1);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 {
7235 PyThreadState* __tstate = wxPyBeginAllowThreads();
7236 (arg1)->SetExtraBorderSize(arg2);
7237
7238 wxPyEndAllowThreads(__tstate);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 }
7241 Py_INCREF(Py_None); resultobj = Py_None;
7242 return resultobj;
7243 fail:
7244 return NULL;
7245 }
7246
7247
7248 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7249 PyObject *resultobj;
7250 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7251 int result;
7252 PyObject * obj0 = 0 ;
7253 char *kwnames[] = {
7254 (char *) "self", NULL
7255 };
7256
7257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7263
7264 wxPyEndAllowThreads(__tstate);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 }
7267 resultobj = SWIG_FromInt((int)result);
7268 return resultobj;
7269 fail:
7270 return NULL;
7271 }
7272
7273
7274 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7275 PyObject *resultobj;
7276 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7277 int arg2 ;
7278 PyObject * obj0 = 0 ;
7279 PyObject * obj1 = 0 ;
7280 char *kwnames[] = {
7281 (char *) "self",(char *) "min", NULL
7282 };
7283
7284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7287 arg2 = (int) SWIG_AsInt(obj1);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 (arg1)->SetMinimumSizeX(arg2);
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 Py_INCREF(Py_None); resultobj = Py_None;
7297 return resultobj;
7298 fail:
7299 return NULL;
7300 }
7301
7302
7303 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7304 PyObject *resultobj;
7305 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7306 int arg2 ;
7307 PyObject * obj0 = 0 ;
7308 PyObject * obj1 = 0 ;
7309 char *kwnames[] = {
7310 (char *) "self",(char *) "min", NULL
7311 };
7312
7313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7316 arg2 = (int) SWIG_AsInt(obj1);
7317 if (PyErr_Occurred()) SWIG_fail;
7318 {
7319 PyThreadState* __tstate = wxPyBeginAllowThreads();
7320 (arg1)->SetMinimumSizeY(arg2);
7321
7322 wxPyEndAllowThreads(__tstate);
7323 if (PyErr_Occurred()) SWIG_fail;
7324 }
7325 Py_INCREF(Py_None); resultobj = Py_None;
7326 return resultobj;
7327 fail:
7328 return NULL;
7329 }
7330
7331
7332 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7333 PyObject *resultobj;
7334 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7335 int result;
7336 PyObject * obj0 = 0 ;
7337 char *kwnames[] = {
7338 (char *) "self", NULL
7339 };
7340
7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7347
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 resultobj = SWIG_FromInt((int)result);
7352 return resultobj;
7353 fail:
7354 return NULL;
7355 }
7356
7357
7358 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj;
7360 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7361 int result;
7362 PyObject * obj0 = 0 ;
7363 char *kwnames[] = {
7364 (char *) "self", NULL
7365 };
7366
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7373
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 resultobj = SWIG_FromInt((int)result);
7378 return resultobj;
7379 fail:
7380 return NULL;
7381 }
7382
7383
7384 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7385 PyObject *resultobj;
7386 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7387 int arg2 ;
7388 PyObject * obj0 = 0 ;
7389 PyObject * obj1 = 0 ;
7390 char *kwnames[] = {
7391 (char *) "self",(char *) "max", NULL
7392 };
7393
7394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7397 arg2 = (int) SWIG_AsInt(obj1);
7398 if (PyErr_Occurred()) SWIG_fail;
7399 {
7400 PyThreadState* __tstate = wxPyBeginAllowThreads();
7401 (arg1)->SetMaximumSizeX(arg2);
7402
7403 wxPyEndAllowThreads(__tstate);
7404 if (PyErr_Occurred()) SWIG_fail;
7405 }
7406 Py_INCREF(Py_None); resultobj = Py_None;
7407 return resultobj;
7408 fail:
7409 return NULL;
7410 }
7411
7412
7413 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7414 PyObject *resultobj;
7415 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7416 int arg2 ;
7417 PyObject * obj0 = 0 ;
7418 PyObject * obj1 = 0 ;
7419 char *kwnames[] = {
7420 (char *) "self",(char *) "max", NULL
7421 };
7422
7423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7426 arg2 = (int) SWIG_AsInt(obj1);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 {
7429 PyThreadState* __tstate = wxPyBeginAllowThreads();
7430 (arg1)->SetMaximumSizeY(arg2);
7431
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 Py_INCREF(Py_None); resultobj = Py_None;
7436 return resultobj;
7437 fail:
7438 return NULL;
7439 }
7440
7441
7442 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj;
7444 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7445 int result;
7446 PyObject * obj0 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "self", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 resultobj = SWIG_FromInt((int)result);
7462 return resultobj;
7463 fail:
7464 return NULL;
7465 }
7466
7467
7468 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7469 PyObject *resultobj;
7470 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7471 int result;
7472 PyObject * obj0 = 0 ;
7473 char *kwnames[] = {
7474 (char *) "self", NULL
7475 };
7476
7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 resultobj = SWIG_FromInt((int)result);
7488 return resultobj;
7489 fail:
7490 return NULL;
7491 }
7492
7493
7494 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7497 int arg2 ;
7498 int arg3 ;
7499 int arg4 = (int) 2 ;
7500 int result;
7501 PyObject * obj0 = 0 ;
7502 PyObject * obj1 = 0 ;
7503 PyObject * obj2 = 0 ;
7504 PyObject * obj3 = 0 ;
7505 char *kwnames[] = {
7506 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7507 };
7508
7509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7512 arg2 = (int) SWIG_AsInt(obj1);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 arg3 = (int) SWIG_AsInt(obj2);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 if (obj3) {
7517 arg4 = (int) SWIG_AsInt(obj3);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 {
7521 PyThreadState* __tstate = wxPyBeginAllowThreads();
7522 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7523
7524 wxPyEndAllowThreads(__tstate);
7525 if (PyErr_Occurred()) SWIG_fail;
7526 }
7527 resultobj = SWIG_FromInt((int)result);
7528 return resultobj;
7529 fail:
7530 return NULL;
7531 }
7532
7533
7534 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7535 PyObject *resultobj;
7536 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7537 PyObject * obj0 = 0 ;
7538 char *kwnames[] = {
7539 (char *) "self", NULL
7540 };
7541
7542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7545 {
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 (arg1)->SizeWindows();
7548
7549 wxPyEndAllowThreads(__tstate);
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 Py_INCREF(Py_None); resultobj = Py_None;
7553 return resultobj;
7554 fail:
7555 return NULL;
7556 }
7557
7558
7559 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7560 PyObject *obj;
7561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7562 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7563 Py_INCREF(obj);
7564 return Py_BuildValue((char *)"");
7565 }
7566 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 int arg1 = (int) 0 ;
7569 int arg2 = (int) wxSASH_NONE ;
7570 wxSashEvent *result;
7571 PyObject * obj0 = 0 ;
7572 PyObject * obj1 = 0 ;
7573 char *kwnames[] = {
7574 (char *) "id",(char *) "edge", NULL
7575 };
7576
7577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7578 if (obj0) {
7579 arg1 = (int) SWIG_AsInt(obj0);
7580 if (PyErr_Occurred()) SWIG_fail;
7581 }
7582 if (obj1) {
7583 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7584 if (PyErr_Occurred()) SWIG_fail;
7585 }
7586 {
7587 PyThreadState* __tstate = wxPyBeginAllowThreads();
7588 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7589
7590 wxPyEndAllowThreads(__tstate);
7591 if (PyErr_Occurred()) SWIG_fail;
7592 }
7593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7594 return resultobj;
7595 fail:
7596 return NULL;
7597 }
7598
7599
7600 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7601 PyObject *resultobj;
7602 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7603 int arg2 ;
7604 PyObject * obj0 = 0 ;
7605 PyObject * obj1 = 0 ;
7606 char *kwnames[] = {
7607 (char *) "self",(char *) "edge", NULL
7608 };
7609
7610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7613 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 {
7616 PyThreadState* __tstate = wxPyBeginAllowThreads();
7617 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7618
7619 wxPyEndAllowThreads(__tstate);
7620 if (PyErr_Occurred()) SWIG_fail;
7621 }
7622 Py_INCREF(Py_None); resultobj = Py_None;
7623 return resultobj;
7624 fail:
7625 return NULL;
7626 }
7627
7628
7629 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7630 PyObject *resultobj;
7631 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7632 int result;
7633 PyObject * obj0 = 0 ;
7634 char *kwnames[] = {
7635 (char *) "self", NULL
7636 };
7637
7638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
7648 resultobj = SWIG_FromInt((int)result);
7649 return resultobj;
7650 fail:
7651 return NULL;
7652 }
7653
7654
7655 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7656 PyObject *resultobj;
7657 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7658 wxRect *arg2 = 0 ;
7659 wxRect temp2 ;
7660 PyObject * obj0 = 0 ;
7661 PyObject * obj1 = 0 ;
7662 char *kwnames[] = {
7663 (char *) "self",(char *) "rect", NULL
7664 };
7665
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7669 {
7670 arg2 = &temp2;
7671 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7672 }
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 (arg1)->SetDragRect((wxRect const &)*arg2);
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 Py_INCREF(Py_None); resultobj = Py_None;
7681 return resultobj;
7682 fail:
7683 return NULL;
7684 }
7685
7686
7687 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj;
7689 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7690 wxRect result;
7691 PyObject * obj0 = 0 ;
7692 char *kwnames[] = {
7693 (char *) "self", NULL
7694 };
7695
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 result = ((wxSashEvent const *)arg1)->GetDragRect();
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 {
7707 wxRect * resultptr;
7708 resultptr = new wxRect((wxRect &) result);
7709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7710 }
7711 return resultobj;
7712 fail:
7713 return NULL;
7714 }
7715
7716
7717 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7718 PyObject *resultobj;
7719 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7720 int arg2 ;
7721 PyObject * obj0 = 0 ;
7722 PyObject * obj1 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self",(char *) "status", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7730 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7731 if (PyErr_Occurred()) SWIG_fail;
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 Py_INCREF(Py_None); resultobj = Py_None;
7740 return resultobj;
7741 fail:
7742 return NULL;
7743 }
7744
7745
7746 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7747 PyObject *resultobj;
7748 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7749 int result;
7750 PyObject * obj0 = 0 ;
7751 char *kwnames[] = {
7752 (char *) "self", NULL
7753 };
7754
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7758 {
7759 PyThreadState* __tstate = wxPyBeginAllowThreads();
7760 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7761
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
7765 resultobj = SWIG_FromInt((int)result);
7766 return resultobj;
7767 fail:
7768 return NULL;
7769 }
7770
7771
7772 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7773 PyObject *obj;
7774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7775 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7776 Py_INCREF(obj);
7777 return Py_BuildValue((char *)"");
7778 }
7779 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7780 PyObject *resultobj;
7781 int arg1 = (int) 0 ;
7782 wxQueryLayoutInfoEvent *result;
7783 PyObject * obj0 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "id", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7789 if (obj0) {
7790 arg1 = (int) SWIG_AsInt(obj0);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7796
7797 wxPyEndAllowThreads(__tstate);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 }
7800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7801 return resultobj;
7802 fail:
7803 return NULL;
7804 }
7805
7806
7807 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7808 PyObject *resultobj;
7809 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7810 int arg2 ;
7811 PyObject * obj0 = 0 ;
7812 PyObject * obj1 = 0 ;
7813 char *kwnames[] = {
7814 (char *) "self",(char *) "length", NULL
7815 };
7816
7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7820 arg2 = (int) SWIG_AsInt(obj1);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 {
7823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7824 (arg1)->SetRequestedLength(arg2);
7825
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 Py_INCREF(Py_None); resultobj = Py_None;
7830 return resultobj;
7831 fail:
7832 return NULL;
7833 }
7834
7835
7836 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7837 PyObject *resultobj;
7838 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7839 int result;
7840 PyObject * obj0 = 0 ;
7841 char *kwnames[] = {
7842 (char *) "self", NULL
7843 };
7844
7845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 resultobj = SWIG_FromInt((int)result);
7856 return resultobj;
7857 fail:
7858 return NULL;
7859 }
7860
7861
7862 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7863 PyObject *resultobj;
7864 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7865 int arg2 ;
7866 PyObject * obj0 = 0 ;
7867 PyObject * obj1 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self",(char *) "flags", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7875 arg2 = (int) SWIG_AsInt(obj1);
7876 if (PyErr_Occurred()) SWIG_fail;
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 (arg1)->SetFlags(arg2);
7880
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 Py_INCREF(Py_None); resultobj = Py_None;
7885 return resultobj;
7886 fail:
7887 return NULL;
7888 }
7889
7890
7891 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7892 PyObject *resultobj;
7893 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7894 int result;
7895 PyObject * obj0 = 0 ;
7896 char *kwnames[] = {
7897 (char *) "self", NULL
7898 };
7899
7900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7903 {
7904 PyThreadState* __tstate = wxPyBeginAllowThreads();
7905 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7906
7907 wxPyEndAllowThreads(__tstate);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 resultobj = SWIG_FromInt((int)result);
7911 return resultobj;
7912 fail:
7913 return NULL;
7914 }
7915
7916
7917 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7918 PyObject *resultobj;
7919 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7920 wxSize *arg2 = 0 ;
7921 wxSize temp2 ;
7922 PyObject * obj0 = 0 ;
7923 PyObject * obj1 = 0 ;
7924 char *kwnames[] = {
7925 (char *) "self",(char *) "size", NULL
7926 };
7927
7928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7931 {
7932 arg2 = &temp2;
7933 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7934 }
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 (arg1)->SetSize((wxSize const &)*arg2);
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 Py_INCREF(Py_None); resultobj = Py_None;
7943 return resultobj;
7944 fail:
7945 return NULL;
7946 }
7947
7948
7949 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj;
7951 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7952 wxSize result;
7953 PyObject * obj0 = 0 ;
7954 char *kwnames[] = {
7955 (char *) "self", NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 {
7969 wxSize * resultptr;
7970 resultptr = new wxSize((wxSize &) result);
7971 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7972 }
7973 return resultobj;
7974 fail:
7975 return NULL;
7976 }
7977
7978
7979 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject *resultobj;
7981 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7982 int arg2 ;
7983 PyObject * obj0 = 0 ;
7984 PyObject * obj1 = 0 ;
7985 char *kwnames[] = {
7986 (char *) "self",(char *) "orient", NULL
7987 };
7988
7989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7992 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 Py_INCREF(Py_None); resultobj = Py_None;
8002 return resultobj;
8003 fail:
8004 return NULL;
8005 }
8006
8007
8008 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8009 PyObject *resultobj;
8010 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8011 int result;
8012 PyObject * obj0 = 0 ;
8013 char *kwnames[] = {
8014 (char *) "self", NULL
8015 };
8016
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 resultobj = SWIG_FromInt((int)result);
8028 return resultobj;
8029 fail:
8030 return NULL;
8031 }
8032
8033
8034 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj;
8036 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8037 int arg2 ;
8038 PyObject * obj0 = 0 ;
8039 PyObject * obj1 = 0 ;
8040 char *kwnames[] = {
8041 (char *) "self",(char *) "align", NULL
8042 };
8043
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8047 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8048 if (PyErr_Occurred()) SWIG_fail;
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8052
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 Py_INCREF(Py_None); resultobj = Py_None;
8057 return resultobj;
8058 fail:
8059 return NULL;
8060 }
8061
8062
8063 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8064 PyObject *resultobj;
8065 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8066 int result;
8067 PyObject * obj0 = 0 ;
8068 char *kwnames[] = {
8069 (char *) "self", NULL
8070 };
8071
8072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8075 {
8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
8077 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8078
8079 wxPyEndAllowThreads(__tstate);
8080 if (PyErr_Occurred()) SWIG_fail;
8081 }
8082 resultobj = SWIG_FromInt((int)result);
8083 return resultobj;
8084 fail:
8085 return NULL;
8086 }
8087
8088
8089 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
8090 PyObject *obj;
8091 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8092 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8093 Py_INCREF(obj);
8094 return Py_BuildValue((char *)"");
8095 }
8096 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8097 PyObject *resultobj;
8098 int arg1 = (int) 0 ;
8099 wxCalculateLayoutEvent *result;
8100 PyObject * obj0 = 0 ;
8101 char *kwnames[] = {
8102 (char *) "id", NULL
8103 };
8104
8105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8106 if (obj0) {
8107 arg1 = (int) SWIG_AsInt(obj0);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 {
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
8112 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8113
8114 wxPyEndAllowThreads(__tstate);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 }
8117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8118 return resultobj;
8119 fail:
8120 return NULL;
8121 }
8122
8123
8124 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8125 PyObject *resultobj;
8126 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8127 int arg2 ;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self",(char *) "flags", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8137 arg2 = (int) SWIG_AsInt(obj1);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 {
8140 PyThreadState* __tstate = wxPyBeginAllowThreads();
8141 (arg1)->SetFlags(arg2);
8142
8143 wxPyEndAllowThreads(__tstate);
8144 if (PyErr_Occurred()) SWIG_fail;
8145 }
8146 Py_INCREF(Py_None); resultobj = Py_None;
8147 return resultobj;
8148 fail:
8149 return NULL;
8150 }
8151
8152
8153 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8154 PyObject *resultobj;
8155 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8156 int result;
8157 PyObject * obj0 = 0 ;
8158 char *kwnames[] = {
8159 (char *) "self", NULL
8160 };
8161
8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8165 {
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8168
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
8172 resultobj = SWIG_FromInt((int)result);
8173 return resultobj;
8174 fail:
8175 return NULL;
8176 }
8177
8178
8179 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8180 PyObject *resultobj;
8181 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8182 wxRect *arg2 = 0 ;
8183 wxRect temp2 ;
8184 PyObject * obj0 = 0 ;
8185 PyObject * obj1 = 0 ;
8186 char *kwnames[] = {
8187 (char *) "self",(char *) "rect", NULL
8188 };
8189
8190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8193 {
8194 arg2 = &temp2;
8195 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8196 }
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 (arg1)->SetRect((wxRect const &)*arg2);
8200
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 Py_INCREF(Py_None); resultobj = Py_None;
8205 return resultobj;
8206 fail:
8207 return NULL;
8208 }
8209
8210
8211 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj;
8213 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8214 wxRect result;
8215 PyObject * obj0 = 0 ;
8216 char *kwnames[] = {
8217 (char *) "self", NULL
8218 };
8219
8220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
8225 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8226
8227 wxPyEndAllowThreads(__tstate);
8228 if (PyErr_Occurred()) SWIG_fail;
8229 }
8230 {
8231 wxRect * resultptr;
8232 resultptr = new wxRect((wxRect &) result);
8233 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8234 }
8235 return resultobj;
8236 fail:
8237 return NULL;
8238 }
8239
8240
8241 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8242 PyObject *obj;
8243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8244 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8245 Py_INCREF(obj);
8246 return Py_BuildValue((char *)"");
8247 }
8248 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8249 PyObject *resultobj;
8250 wxWindow *arg1 = (wxWindow *) 0 ;
8251 int arg2 = (int) -1 ;
8252 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8253 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8254 wxSize const &arg4_defvalue = wxDefaultSize ;
8255 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8256 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8257 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8258 wxString *arg6 = (wxString *) &arg6_defvalue ;
8259 wxSashLayoutWindow *result;
8260 wxPoint temp3 ;
8261 wxSize temp4 ;
8262 bool temp6 = False ;
8263 PyObject * obj0 = 0 ;
8264 PyObject * obj1 = 0 ;
8265 PyObject * obj2 = 0 ;
8266 PyObject * obj3 = 0 ;
8267 PyObject * obj4 = 0 ;
8268 PyObject * obj5 = 0 ;
8269 char *kwnames[] = {
8270 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8271 };
8272
8273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8276 if (obj1) {
8277 arg2 = (int) SWIG_AsInt(obj1);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 if (obj2) {
8281 {
8282 arg3 = &temp3;
8283 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8284 }
8285 }
8286 if (obj3) {
8287 {
8288 arg4 = &temp4;
8289 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8290 }
8291 }
8292 if (obj4) {
8293 arg5 = (long) SWIG_AsLong(obj4);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 if (obj5) {
8297 {
8298 arg6 = wxString_in_helper(obj5);
8299 if (arg6 == NULL) SWIG_fail;
8300 temp6 = True;
8301 }
8302 }
8303 {
8304 if (!wxPyCheckForApp()) SWIG_fail;
8305 PyThreadState* __tstate = wxPyBeginAllowThreads();
8306 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8307
8308 wxPyEndAllowThreads(__tstate);
8309 if (PyErr_Occurred()) SWIG_fail;
8310 }
8311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8312 {
8313 if (temp6)
8314 delete arg6;
8315 }
8316 return resultobj;
8317 fail:
8318 {
8319 if (temp6)
8320 delete arg6;
8321 }
8322 return NULL;
8323 }
8324
8325
8326 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8327 PyObject *resultobj;
8328 wxSashLayoutWindow *result;
8329 char *kwnames[] = {
8330 NULL
8331 };
8332
8333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8334 {
8335 if (!wxPyCheckForApp()) SWIG_fail;
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8343 return resultobj;
8344 fail:
8345 return NULL;
8346 }
8347
8348
8349 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8350 PyObject *resultobj;
8351 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8352 wxWindow *arg2 = (wxWindow *) 0 ;
8353 int arg3 = (int) -1 ;
8354 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8355 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8356 wxSize const &arg5_defvalue = wxDefaultSize ;
8357 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8358 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8359 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8360 wxString *arg7 = (wxString *) &arg7_defvalue ;
8361 bool result;
8362 wxPoint temp4 ;
8363 wxSize temp5 ;
8364 bool temp7 = False ;
8365 PyObject * obj0 = 0 ;
8366 PyObject * obj1 = 0 ;
8367 PyObject * obj2 = 0 ;
8368 PyObject * obj3 = 0 ;
8369 PyObject * obj4 = 0 ;
8370 PyObject * obj5 = 0 ;
8371 PyObject * obj6 = 0 ;
8372 char *kwnames[] = {
8373 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8374 };
8375
8376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8381 if (obj2) {
8382 arg3 = (int) SWIG_AsInt(obj2);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 }
8385 if (obj3) {
8386 {
8387 arg4 = &temp4;
8388 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8389 }
8390 }
8391 if (obj4) {
8392 {
8393 arg5 = &temp5;
8394 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8395 }
8396 }
8397 if (obj5) {
8398 arg6 = (long) SWIG_AsLong(obj5);
8399 if (PyErr_Occurred()) SWIG_fail;
8400 }
8401 if (obj6) {
8402 {
8403 arg7 = wxString_in_helper(obj6);
8404 if (arg7 == NULL) SWIG_fail;
8405 temp7 = True;
8406 }
8407 }
8408 {
8409 PyThreadState* __tstate = wxPyBeginAllowThreads();
8410 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8411
8412 wxPyEndAllowThreads(__tstate);
8413 if (PyErr_Occurred()) SWIG_fail;
8414 }
8415 {
8416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8417 }
8418 {
8419 if (temp7)
8420 delete arg7;
8421 }
8422 return resultobj;
8423 fail:
8424 {
8425 if (temp7)
8426 delete arg7;
8427 }
8428 return NULL;
8429 }
8430
8431
8432 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8433 PyObject *resultobj;
8434 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8435 int result;
8436 PyObject * obj0 = 0 ;
8437 char *kwnames[] = {
8438 (char *) "self", NULL
8439 };
8440
8441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 result = (int)(arg1)->GetAlignment();
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 resultobj = SWIG_FromInt((int)result);
8452 return resultobj;
8453 fail:
8454 return NULL;
8455 }
8456
8457
8458 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8459 PyObject *resultobj;
8460 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8461 int result;
8462 PyObject * obj0 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "self", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 result = (int)(arg1)->GetOrientation();
8473
8474 wxPyEndAllowThreads(__tstate);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 resultobj = SWIG_FromInt((int)result);
8478 return resultobj;
8479 fail:
8480 return NULL;
8481 }
8482
8483
8484 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj;
8486 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8487 int arg2 ;
8488 PyObject * obj0 = 0 ;
8489 PyObject * obj1 = 0 ;
8490 char *kwnames[] = {
8491 (char *) "self",(char *) "alignment", NULL
8492 };
8493
8494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8497 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 {
8500 PyThreadState* __tstate = wxPyBeginAllowThreads();
8501 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8502
8503 wxPyEndAllowThreads(__tstate);
8504 if (PyErr_Occurred()) SWIG_fail;
8505 }
8506 Py_INCREF(Py_None); resultobj = Py_None;
8507 return resultobj;
8508 fail:
8509 return NULL;
8510 }
8511
8512
8513 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8514 PyObject *resultobj;
8515 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8516 wxSize *arg2 = 0 ;
8517 wxSize temp2 ;
8518 PyObject * obj0 = 0 ;
8519 PyObject * obj1 = 0 ;
8520 char *kwnames[] = {
8521 (char *) "self",(char *) "size", NULL
8522 };
8523
8524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8527 {
8528 arg2 = &temp2;
8529 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8530 }
8531 {
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8534
8535 wxPyEndAllowThreads(__tstate);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 }
8538 Py_INCREF(Py_None); resultobj = Py_None;
8539 return resultobj;
8540 fail:
8541 return NULL;
8542 }
8543
8544
8545 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8546 PyObject *resultobj;
8547 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8548 int arg2 ;
8549 PyObject * obj0 = 0 ;
8550 PyObject * obj1 = 0 ;
8551 char *kwnames[] = {
8552 (char *) "self",(char *) "orientation", NULL
8553 };
8554
8555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8558 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8559 if (PyErr_Occurred()) SWIG_fail;
8560 {
8561 PyThreadState* __tstate = wxPyBeginAllowThreads();
8562 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8563
8564 wxPyEndAllowThreads(__tstate);
8565 if (PyErr_Occurred()) SWIG_fail;
8566 }
8567 Py_INCREF(Py_None); resultobj = Py_None;
8568 return resultobj;
8569 fail:
8570 return NULL;
8571 }
8572
8573
8574 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8575 PyObject *obj;
8576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8577 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8578 Py_INCREF(obj);
8579 return Py_BuildValue((char *)"");
8580 }
8581 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8582 PyObject *resultobj;
8583 wxLayoutAlgorithm *result;
8584 char *kwnames[] = {
8585 NULL
8586 };
8587
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8589 {
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8592
8593 wxPyEndAllowThreads(__tstate);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8597 return resultobj;
8598 fail:
8599 return NULL;
8600 }
8601
8602
8603 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8604 PyObject *resultobj;
8605 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8606 PyObject * obj0 = 0 ;
8607 char *kwnames[] = {
8608 (char *) "self", NULL
8609 };
8610
8611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 delete arg1;
8617
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 Py_INCREF(Py_None); resultobj = Py_None;
8622 return resultobj;
8623 fail:
8624 return NULL;
8625 }
8626
8627
8628 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8629 PyObject *resultobj;
8630 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8631 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8632 wxRect *arg3 = (wxRect *) NULL ;
8633 bool result;
8634 PyObject * obj0 = 0 ;
8635 PyObject * obj1 = 0 ;
8636 PyObject * obj2 = 0 ;
8637 char *kwnames[] = {
8638 (char *) "self",(char *) "frame",(char *) "rect", NULL
8639 };
8640
8641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8646 if (obj2) {
8647 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8649 }
8650 {
8651 PyThreadState* __tstate = wxPyBeginAllowThreads();
8652 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8653
8654 wxPyEndAllowThreads(__tstate);
8655 if (PyErr_Occurred()) SWIG_fail;
8656 }
8657 {
8658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8659 }
8660 return resultobj;
8661 fail:
8662 return NULL;
8663 }
8664
8665
8666 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8667 PyObject *resultobj;
8668 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8669 wxFrame *arg2 = (wxFrame *) 0 ;
8670 wxWindow *arg3 = (wxWindow *) NULL ;
8671 bool result;
8672 PyObject * obj0 = 0 ;
8673 PyObject * obj1 = 0 ;
8674 PyObject * obj2 = 0 ;
8675 char *kwnames[] = {
8676 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8677 };
8678
8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8684 if (obj2) {
8685 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8687 }
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 {
8696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8697 }
8698 return resultobj;
8699 fail:
8700 return NULL;
8701 }
8702
8703
8704 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj;
8706 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8707 wxWindow *arg2 = (wxWindow *) 0 ;
8708 wxWindow *arg3 = (wxWindow *) NULL ;
8709 bool result;
8710 PyObject * obj0 = 0 ;
8711 PyObject * obj1 = 0 ;
8712 PyObject * obj2 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8722 if (obj2) {
8723 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8725 }
8726 {
8727 PyThreadState* __tstate = wxPyBeginAllowThreads();
8728 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8729
8730 wxPyEndAllowThreads(__tstate);
8731 if (PyErr_Occurred()) SWIG_fail;
8732 }
8733 {
8734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8735 }
8736 return resultobj;
8737 fail:
8738 return NULL;
8739 }
8740
8741
8742 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8743 PyObject *obj;
8744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8745 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8746 Py_INCREF(obj);
8747 return Py_BuildValue((char *)"");
8748 }
8749 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8750 PyObject *resultobj;
8751 wxWindow *arg1 = (wxWindow *) 0 ;
8752 int arg2 = (int) wxBORDER_NONE ;
8753 wxPopupWindow *result;
8754 PyObject * obj0 = 0 ;
8755 PyObject * obj1 = 0 ;
8756 char *kwnames[] = {
8757 (char *) "parent",(char *) "flags", NULL
8758 };
8759
8760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8763 if (obj1) {
8764 arg2 = (int) SWIG_AsInt(obj1);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 {
8768 PyThreadState* __tstate = wxPyBeginAllowThreads();
8769 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8770
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8775 return resultobj;
8776 fail:
8777 return NULL;
8778 }
8779
8780
8781 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8782 PyObject *resultobj;
8783 wxPopupWindow *result;
8784 char *kwnames[] = {
8785 NULL
8786 };
8787
8788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8789 {
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 result = (wxPopupWindow *)new wxPopupWindow();
8792
8793 wxPyEndAllowThreads(__tstate);
8794 if (PyErr_Occurred()) SWIG_fail;
8795 }
8796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8797 return resultobj;
8798 fail:
8799 return NULL;
8800 }
8801
8802
8803 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8804 PyObject *obj;
8805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8806 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8807 Py_INCREF(obj);
8808 return Py_BuildValue((char *)"");
8809 }
8810 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxWindow *arg1 = (wxWindow *) 0 ;
8813 int arg2 = (int) wxBORDER_NONE ;
8814 wxPyPopupTransientWindow *result;
8815 PyObject * obj0 = 0 ;
8816 PyObject * obj1 = 0 ;
8817 char *kwnames[] = {
8818 (char *) "parent",(char *) "style", NULL
8819 };
8820
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8824 if (obj1) {
8825 arg2 = (int) SWIG_AsInt(obj1);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 {
8829 PyThreadState* __tstate = wxPyBeginAllowThreads();
8830 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8831
8832 wxPyEndAllowThreads(__tstate);
8833 if (PyErr_Occurred()) SWIG_fail;
8834 }
8835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8836 return resultobj;
8837 fail:
8838 return NULL;
8839 }
8840
8841
8842 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8843 PyObject *resultobj;
8844 wxPyPopupTransientWindow *result;
8845 char *kwnames[] = {
8846 NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8853
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8858 return resultobj;
8859 fail:
8860 return NULL;
8861 }
8862
8863
8864 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8865 PyObject *obj;
8866 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8867 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8868 Py_INCREF(obj);
8869 return Py_BuildValue((char *)"");
8870 }
8871 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8872 PyObject *resultobj;
8873 wxWindow *arg1 = (wxWindow *) 0 ;
8874 wxString *arg2 = 0 ;
8875 int arg3 = (int) 100 ;
8876 wxRect *arg4 = (wxRect *) NULL ;
8877 wxTipWindow *result;
8878 bool temp2 = False ;
8879 PyObject * obj0 = 0 ;
8880 PyObject * obj1 = 0 ;
8881 PyObject * obj2 = 0 ;
8882 PyObject * obj3 = 0 ;
8883 char *kwnames[] = {
8884 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8885 };
8886
8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8890 {
8891 arg2 = wxString_in_helper(obj1);
8892 if (arg2 == NULL) SWIG_fail;
8893 temp2 = True;
8894 }
8895 if (obj2) {
8896 arg3 = (int) SWIG_AsInt(obj2);
8897 if (PyErr_Occurred()) SWIG_fail;
8898 }
8899 if (obj3) {
8900 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8902 }
8903 {
8904 if (!wxPyCheckForApp()) SWIG_fail;
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
8911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8912 {
8913 if (temp2)
8914 delete arg2;
8915 }
8916 return resultobj;
8917 fail:
8918 {
8919 if (temp2)
8920 delete arg2;
8921 }
8922 return NULL;
8923 }
8924
8925
8926 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8927 PyObject *resultobj;
8928 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8929 wxRect *arg2 = 0 ;
8930 wxRect temp2 ;
8931 PyObject * obj0 = 0 ;
8932 PyObject * obj1 = 0 ;
8933 char *kwnames[] = {
8934 (char *) "self",(char *) "rectBound", NULL
8935 };
8936
8937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8940 {
8941 arg2 = &temp2;
8942 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8943 }
8944 {
8945 PyThreadState* __tstate = wxPyBeginAllowThreads();
8946 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8947
8948 wxPyEndAllowThreads(__tstate);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 }
8951 Py_INCREF(Py_None); resultobj = Py_None;
8952 return resultobj;
8953 fail:
8954 return NULL;
8955 }
8956
8957
8958 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8959 PyObject *resultobj;
8960 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8961 PyObject * obj0 = 0 ;
8962 char *kwnames[] = {
8963 (char *) "self", NULL
8964 };
8965
8966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 (arg1)->Close();
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
8976 Py_INCREF(Py_None); resultobj = Py_None;
8977 return resultobj;
8978 fail:
8979 return NULL;
8980 }
8981
8982
8983 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8984 PyObject *obj;
8985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8986 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8987 Py_INCREF(obj);
8988 return Py_BuildValue((char *)"");
8989 }
8990 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8991 PyObject *resultobj;
8992 wxWindow *arg1 = (wxWindow *) 0 ;
8993 int arg2 = (int) wxID_ANY ;
8994 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8995 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8996 wxSize const &arg4_defvalue = wxDefaultSize ;
8997 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8998 long arg5 = (long) 0 ;
8999 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9000 wxString *arg6 = (wxString *) &arg6_defvalue ;
9001 wxPyVScrolledWindow *result;
9002 wxPoint temp3 ;
9003 wxSize temp4 ;
9004 bool temp6 = False ;
9005 PyObject * obj0 = 0 ;
9006 PyObject * obj1 = 0 ;
9007 PyObject * obj2 = 0 ;
9008 PyObject * obj3 = 0 ;
9009 PyObject * obj4 = 0 ;
9010 PyObject * obj5 = 0 ;
9011 char *kwnames[] = {
9012 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9013 };
9014
9015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9018 if (obj1) {
9019 arg2 = (int) SWIG_AsInt(obj1);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 if (obj2) {
9023 {
9024 arg3 = &temp3;
9025 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9026 }
9027 }
9028 if (obj3) {
9029 {
9030 arg4 = &temp4;
9031 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9032 }
9033 }
9034 if (obj4) {
9035 arg5 = (long) SWIG_AsLong(obj4);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
9038 if (obj5) {
9039 {
9040 arg6 = wxString_in_helper(obj5);
9041 if (arg6 == NULL) SWIG_fail;
9042 temp6 = True;
9043 }
9044 }
9045 {
9046 if (!wxPyCheckForApp()) SWIG_fail;
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9049
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9054 {
9055 if (temp6)
9056 delete arg6;
9057 }
9058 return resultobj;
9059 fail:
9060 {
9061 if (temp6)
9062 delete arg6;
9063 }
9064 return NULL;
9065 }
9066
9067
9068 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxPyVScrolledWindow *result;
9071 char *kwnames[] = {
9072 NULL
9073 };
9074
9075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9076 {
9077 if (!wxPyCheckForApp()) SWIG_fail;
9078 PyThreadState* __tstate = wxPyBeginAllowThreads();
9079 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9080
9081 wxPyEndAllowThreads(__tstate);
9082 if (PyErr_Occurred()) SWIG_fail;
9083 }
9084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9085 return resultobj;
9086 fail:
9087 return NULL;
9088 }
9089
9090
9091 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9092 PyObject *resultobj;
9093 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9094 PyObject *arg2 = (PyObject *) 0 ;
9095 PyObject *arg3 = (PyObject *) 0 ;
9096 PyObject * obj0 = 0 ;
9097 PyObject * obj1 = 0 ;
9098 PyObject * obj2 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self",(char *) "self",(char *) "_class", NULL
9101 };
9102
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9106 arg2 = obj1;
9107 arg3 = obj2;
9108 {
9109 PyThreadState* __tstate = wxPyBeginAllowThreads();
9110 (arg1)->_setCallbackInfo(arg2,arg3);
9111
9112 wxPyEndAllowThreads(__tstate);
9113 if (PyErr_Occurred()) SWIG_fail;
9114 }
9115 Py_INCREF(Py_None); resultobj = Py_None;
9116 return resultobj;
9117 fail:
9118 return NULL;
9119 }
9120
9121
9122 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj;
9124 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9125 wxWindow *arg2 = (wxWindow *) 0 ;
9126 int arg3 = (int) wxID_ANY ;
9127 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9128 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9129 wxSize const &arg5_defvalue = wxDefaultSize ;
9130 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9131 long arg6 = (long) 0 ;
9132 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9133 wxString *arg7 = (wxString *) &arg7_defvalue ;
9134 bool result;
9135 wxPoint temp4 ;
9136 wxSize temp5 ;
9137 bool temp7 = False ;
9138 PyObject * obj0 = 0 ;
9139 PyObject * obj1 = 0 ;
9140 PyObject * obj2 = 0 ;
9141 PyObject * obj3 = 0 ;
9142 PyObject * obj4 = 0 ;
9143 PyObject * obj5 = 0 ;
9144 PyObject * obj6 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9154 if (obj2) {
9155 arg3 = (int) SWIG_AsInt(obj2);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 if (obj3) {
9159 {
9160 arg4 = &temp4;
9161 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9162 }
9163 }
9164 if (obj4) {
9165 {
9166 arg5 = &temp5;
9167 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9168 }
9169 }
9170 if (obj5) {
9171 arg6 = (long) SWIG_AsLong(obj5);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
9174 if (obj6) {
9175 {
9176 arg7 = wxString_in_helper(obj6);
9177 if (arg7 == NULL) SWIG_fail;
9178 temp7 = True;
9179 }
9180 }
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 {
9189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9190 }
9191 {
9192 if (temp7)
9193 delete arg7;
9194 }
9195 return resultobj;
9196 fail:
9197 {
9198 if (temp7)
9199 delete arg7;
9200 }
9201 return NULL;
9202 }
9203
9204
9205 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9206 PyObject *resultobj;
9207 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9208 size_t arg2 ;
9209 PyObject * obj0 = 0 ;
9210 PyObject * obj1 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self",(char *) "count", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9218 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 (arg1)->SetLineCount(arg2);
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 Py_INCREF(Py_None); resultobj = Py_None;
9228 return resultobj;
9229 fail:
9230 return NULL;
9231 }
9232
9233
9234 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9237 size_t arg2 ;
9238 bool result;
9239 PyObject * obj0 = 0 ;
9240 PyObject * obj1 = 0 ;
9241 char *kwnames[] = {
9242 (char *) "self",(char *) "line", NULL
9243 };
9244
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9248 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9249 if (PyErr_Occurred()) SWIG_fail;
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 result = (bool)(arg1)->ScrollToLine(arg2);
9253
9254 wxPyEndAllowThreads(__tstate);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 }
9257 {
9258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9259 }
9260 return resultobj;
9261 fail:
9262 return NULL;
9263 }
9264
9265
9266 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9267 PyObject *resultobj;
9268 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9269 int arg2 ;
9270 bool result;
9271 PyObject * obj0 = 0 ;
9272 PyObject * obj1 = 0 ;
9273 char *kwnames[] = {
9274 (char *) "self",(char *) "lines", NULL
9275 };
9276
9277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9280 arg2 = (int) SWIG_AsInt(obj1);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 result = (bool)(arg1)->ScrollLines(arg2);
9285
9286 wxPyEndAllowThreads(__tstate);
9287 if (PyErr_Occurred()) SWIG_fail;
9288 }
9289 {
9290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9291 }
9292 return resultobj;
9293 fail:
9294 return NULL;
9295 }
9296
9297
9298 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9299 PyObject *resultobj;
9300 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9301 int arg2 ;
9302 bool result;
9303 PyObject * obj0 = 0 ;
9304 PyObject * obj1 = 0 ;
9305 char *kwnames[] = {
9306 (char *) "self",(char *) "pages", NULL
9307 };
9308
9309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9312 arg2 = (int) SWIG_AsInt(obj1);
9313 if (PyErr_Occurred()) SWIG_fail;
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 result = (bool)(arg1)->ScrollPages(arg2);
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 {
9322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9323 }
9324 return resultobj;
9325 fail:
9326 return NULL;
9327 }
9328
9329
9330 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9331 PyObject *resultobj;
9332 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9333 size_t arg2 ;
9334 PyObject * obj0 = 0 ;
9335 PyObject * obj1 = 0 ;
9336 char *kwnames[] = {
9337 (char *) "self",(char *) "line", NULL
9338 };
9339
9340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9343 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9344 if (PyErr_Occurred()) SWIG_fail;
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 (arg1)->RefreshLine(arg2);
9348
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
9352 Py_INCREF(Py_None); resultobj = Py_None;
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj;
9361 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9362 size_t arg2 ;
9363 size_t arg3 ;
9364 PyObject * obj0 = 0 ;
9365 PyObject * obj1 = 0 ;
9366 PyObject * obj2 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "self",(char *) "from",(char *) "to", NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9374 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 {
9379 PyThreadState* __tstate = wxPyBeginAllowThreads();
9380 (arg1)->RefreshLines(arg2,arg3);
9381
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 Py_INCREF(Py_None); resultobj = Py_None;
9386 return resultobj;
9387 fail:
9388 return NULL;
9389 }
9390
9391
9392 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9393 PyObject *resultobj;
9394 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9395 int arg2 ;
9396 int arg3 ;
9397 int result;
9398 PyObject * obj0 = 0 ;
9399 PyObject * obj1 = 0 ;
9400 PyObject * obj2 = 0 ;
9401 char *kwnames[] = {
9402 (char *) "self",(char *) "x",(char *) "y", NULL
9403 };
9404
9405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9408 arg2 = (int) SWIG_AsInt(obj1);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 arg3 = (int) SWIG_AsInt(obj2);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 {
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9414 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9415
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 resultobj = SWIG_FromInt((int)result);
9420 return resultobj;
9421 fail:
9422 return NULL;
9423 }
9424
9425
9426 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9427 PyObject *resultobj;
9428 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9429 wxPoint *arg2 = 0 ;
9430 int result;
9431 wxPoint temp2 ;
9432 PyObject * obj0 = 0 ;
9433 PyObject * obj1 = 0 ;
9434 char *kwnames[] = {
9435 (char *) "self",(char *) "pt", NULL
9436 };
9437
9438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9441 {
9442 arg2 = &temp2;
9443 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9444 }
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9448
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 }
9452 resultobj = SWIG_FromInt((int)result);
9453 return resultobj;
9454 fail:
9455 return NULL;
9456 }
9457
9458
9459 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9460 PyObject *resultobj;
9461 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9462 PyObject * obj0 = 0 ;
9463 char *kwnames[] = {
9464 (char *) "self", NULL
9465 };
9466
9467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9470 {
9471 PyThreadState* __tstate = wxPyBeginAllowThreads();
9472 (arg1)->RefreshAll();
9473
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) SWIG_fail;
9476 }
9477 Py_INCREF(Py_None); resultobj = Py_None;
9478 return resultobj;
9479 fail:
9480 return NULL;
9481 }
9482
9483
9484 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj;
9486 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9487 size_t result;
9488 PyObject * obj0 = 0 ;
9489 char *kwnames[] = {
9490 (char *) "self", NULL
9491 };
9492
9493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9496 {
9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
9498 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9499
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9504 return resultobj;
9505 fail:
9506 return NULL;
9507 }
9508
9509
9510 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9511 PyObject *resultobj;
9512 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9513 size_t result;
9514 PyObject * obj0 = 0 ;
9515 char *kwnames[] = {
9516 (char *) "self", NULL
9517 };
9518
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9530 return resultobj;
9531 fail:
9532 return NULL;
9533 }
9534
9535
9536 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9537 PyObject *resultobj;
9538 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9539 size_t result;
9540 PyObject * obj0 = 0 ;
9541 char *kwnames[] = {
9542 (char *) "self", NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9548 {
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9550 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9551
9552 wxPyEndAllowThreads(__tstate);
9553 if (PyErr_Occurred()) SWIG_fail;
9554 }
9555 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9556 return resultobj;
9557 fail:
9558 return NULL;
9559 }
9560
9561
9562 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9563 PyObject *resultobj;
9564 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9565 size_t arg2 ;
9566 bool result;
9567 PyObject * obj0 = 0 ;
9568 PyObject * obj1 = 0 ;
9569 char *kwnames[] = {
9570 (char *) "self",(char *) "line", NULL
9571 };
9572
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9576 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 {
9586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9587 }
9588 return resultobj;
9589 fail:
9590 return NULL;
9591 }
9592
9593
9594 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9595 PyObject *obj;
9596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9597 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9598 Py_INCREF(obj);
9599 return Py_BuildValue((char *)"");
9600 }
9601 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9602 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9603 return 1;
9604 }
9605
9606
9607 static PyObject *_wrap_VListBoxNameStr_get() {
9608 PyObject *pyobj;
9609
9610 {
9611 #if wxUSE_UNICODE
9612 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9613 #else
9614 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9615 #endif
9616 }
9617 return pyobj;
9618 }
9619
9620
9621 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9622 PyObject *resultobj;
9623 wxWindow *arg1 = (wxWindow *) 0 ;
9624 int arg2 = (int) wxID_ANY ;
9625 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9626 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9627 wxSize const &arg4_defvalue = wxDefaultSize ;
9628 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9629 long arg5 = (long) 0 ;
9630 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9631 wxString *arg6 = (wxString *) &arg6_defvalue ;
9632 wxPyVListBox *result;
9633 wxPoint temp3 ;
9634 wxSize temp4 ;
9635 bool temp6 = False ;
9636 PyObject * obj0 = 0 ;
9637 PyObject * obj1 = 0 ;
9638 PyObject * obj2 = 0 ;
9639 PyObject * obj3 = 0 ;
9640 PyObject * obj4 = 0 ;
9641 PyObject * obj5 = 0 ;
9642 char *kwnames[] = {
9643 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9644 };
9645
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9649 if (obj1) {
9650 arg2 = (int) SWIG_AsInt(obj1);
9651 if (PyErr_Occurred()) SWIG_fail;
9652 }
9653 if (obj2) {
9654 {
9655 arg3 = &temp3;
9656 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9657 }
9658 }
9659 if (obj3) {
9660 {
9661 arg4 = &temp4;
9662 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9663 }
9664 }
9665 if (obj4) {
9666 arg5 = (long) SWIG_AsLong(obj4);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 if (obj5) {
9670 {
9671 arg6 = wxString_in_helper(obj5);
9672 if (arg6 == NULL) SWIG_fail;
9673 temp6 = True;
9674 }
9675 }
9676 {
9677 if (!wxPyCheckForApp()) SWIG_fail;
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9680
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
9684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9685 {
9686 if (temp6)
9687 delete arg6;
9688 }
9689 return resultobj;
9690 fail:
9691 {
9692 if (temp6)
9693 delete arg6;
9694 }
9695 return NULL;
9696 }
9697
9698
9699 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9700 PyObject *resultobj;
9701 wxPyVListBox *result;
9702 char *kwnames[] = {
9703 NULL
9704 };
9705
9706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9707 {
9708 if (!wxPyCheckForApp()) SWIG_fail;
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 result = (wxPyVListBox *)new wxPyVListBox();
9711
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
9715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9716 return resultobj;
9717 fail:
9718 return NULL;
9719 }
9720
9721
9722 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9723 PyObject *resultobj;
9724 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9725 PyObject *arg2 = (PyObject *) 0 ;
9726 PyObject *arg3 = (PyObject *) 0 ;
9727 PyObject * obj0 = 0 ;
9728 PyObject * obj1 = 0 ;
9729 PyObject * obj2 = 0 ;
9730 char *kwnames[] = {
9731 (char *) "self",(char *) "self",(char *) "_class", NULL
9732 };
9733
9734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9737 arg2 = obj1;
9738 arg3 = obj2;
9739 {
9740 PyThreadState* __tstate = wxPyBeginAllowThreads();
9741 (arg1)->_setCallbackInfo(arg2,arg3);
9742
9743 wxPyEndAllowThreads(__tstate);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 }
9746 Py_INCREF(Py_None); resultobj = Py_None;
9747 return resultobj;
9748 fail:
9749 return NULL;
9750 }
9751
9752
9753 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9754 PyObject *resultobj;
9755 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9756 wxWindow *arg2 = (wxWindow *) 0 ;
9757 int arg3 = (int) wxID_ANY ;
9758 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9759 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9760 wxSize const &arg5_defvalue = wxDefaultSize ;
9761 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9762 long arg6 = (long) 0 ;
9763 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9764 wxString *arg7 = (wxString *) &arg7_defvalue ;
9765 bool result;
9766 wxPoint temp4 ;
9767 wxSize temp5 ;
9768 bool temp7 = False ;
9769 PyObject * obj0 = 0 ;
9770 PyObject * obj1 = 0 ;
9771 PyObject * obj2 = 0 ;
9772 PyObject * obj3 = 0 ;
9773 PyObject * obj4 = 0 ;
9774 PyObject * obj5 = 0 ;
9775 PyObject * obj6 = 0 ;
9776 char *kwnames[] = {
9777 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9778 };
9779
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9785 if (obj2) {
9786 arg3 = (int) SWIG_AsInt(obj2);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 if (obj3) {
9790 {
9791 arg4 = &temp4;
9792 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9793 }
9794 }
9795 if (obj4) {
9796 {
9797 arg5 = &temp5;
9798 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9799 }
9800 }
9801 if (obj5) {
9802 arg6 = (long) SWIG_AsLong(obj5);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 if (obj6) {
9806 {
9807 arg7 = wxString_in_helper(obj6);
9808 if (arg7 == NULL) SWIG_fail;
9809 temp7 = True;
9810 }
9811 }
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
9814 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9815
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
9819 {
9820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9821 }
9822 {
9823 if (temp7)
9824 delete arg7;
9825 }
9826 return resultobj;
9827 fail:
9828 {
9829 if (temp7)
9830 delete arg7;
9831 }
9832 return NULL;
9833 }
9834
9835
9836 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9837 PyObject *resultobj;
9838 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9839 size_t result;
9840 PyObject * obj0 = 0 ;
9841 char *kwnames[] = {
9842 (char *) "self", NULL
9843 };
9844
9845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9851
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9856 return resultobj;
9857 fail:
9858 return NULL;
9859 }
9860
9861
9862 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9863 PyObject *resultobj;
9864 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9865 bool result;
9866 PyObject * obj0 = 0 ;
9867 char *kwnames[] = {
9868 (char *) "self", NULL
9869 };
9870
9871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9874 {
9875 PyThreadState* __tstate = wxPyBeginAllowThreads();
9876 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9877
9878 wxPyEndAllowThreads(__tstate);
9879 if (PyErr_Occurred()) SWIG_fail;
9880 }
9881 {
9882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9883 }
9884 return resultobj;
9885 fail:
9886 return NULL;
9887 }
9888
9889
9890 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9891 PyObject *resultobj;
9892 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9893 int result;
9894 PyObject * obj0 = 0 ;
9895 char *kwnames[] = {
9896 (char *) "self", NULL
9897 };
9898
9899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9902 {
9903 PyThreadState* __tstate = wxPyBeginAllowThreads();
9904 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9905
9906 wxPyEndAllowThreads(__tstate);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 }
9909 resultobj = SWIG_FromInt((int)result);
9910 return resultobj;
9911 fail:
9912 return NULL;
9913 }
9914
9915
9916 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9917 PyObject *resultobj;
9918 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9919 size_t arg2 ;
9920 bool result;
9921 PyObject * obj0 = 0 ;
9922 PyObject * obj1 = 0 ;
9923 char *kwnames[] = {
9924 (char *) "self",(char *) "item", NULL
9925 };
9926
9927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9930 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 {
9933 PyThreadState* __tstate = wxPyBeginAllowThreads();
9934 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9935
9936 wxPyEndAllowThreads(__tstate);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 }
9939 {
9940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9941 }
9942 return resultobj;
9943 fail:
9944 return NULL;
9945 }
9946
9947
9948 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj;
9950 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9951 size_t arg2 ;
9952 bool result;
9953 PyObject * obj0 = 0 ;
9954 PyObject * obj1 = 0 ;
9955 char *kwnames[] = {
9956 (char *) "self",(char *) "item", NULL
9957 };
9958
9959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9962 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9963 if (PyErr_Occurred()) SWIG_fail;
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 {
9972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9973 }
9974 return resultobj;
9975 fail:
9976 return NULL;
9977 }
9978
9979
9980 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9981 PyObject *resultobj;
9982 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9983 size_t result;
9984 PyObject * obj0 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9992 {
9993 PyThreadState* __tstate = wxPyBeginAllowThreads();
9994 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9995
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10009 unsigned long *arg2 = 0 ;
10010 int result;
10011 PyObject * obj0 = 0 ;
10012 PyObject * obj1 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self",(char *) "cookie", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
10018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
10021 SWIG_POINTER_EXCEPTION | 0)) == -1)
10022 SWIG_fail;
10023 if (arg2 == NULL) {
10024 PyErr_SetString(PyExc_TypeError,"null reference");
10025 SWIG_fail;
10026 }
10027 {
10028 PyThreadState* __tstate = wxPyBeginAllowThreads();
10029 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
10030
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 }
10034 resultobj = SWIG_FromInt((int)result);
10035 return resultobj;
10036 fail:
10037 return NULL;
10038 }
10039
10040
10041 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10042 PyObject *resultobj;
10043 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10044 unsigned long *arg2 = 0 ;
10045 int result;
10046 PyObject * obj0 = 0 ;
10047 PyObject * obj1 = 0 ;
10048 char *kwnames[] = {
10049 (char *) "self",(char *) "cookie", NULL
10050 };
10051
10052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10055 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
10056 SWIG_POINTER_EXCEPTION | 0)) == -1)
10057 SWIG_fail;
10058 if (arg2 == NULL) {
10059 PyErr_SetString(PyExc_TypeError,"null reference");
10060 SWIG_fail;
10061 }
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
10065
10066 wxPyEndAllowThreads(__tstate);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 }
10069 resultobj = SWIG_FromInt((int)result);
10070 return resultobj;
10071 fail:
10072 return NULL;
10073 }
10074
10075
10076 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10077 PyObject *resultobj;
10078 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10079 wxPoint result;
10080 PyObject * obj0 = 0 ;
10081 char *kwnames[] = {
10082 (char *) "self", NULL
10083 };
10084
10085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10088 {
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 result = ((wxPyVListBox const *)arg1)->GetMargins();
10091
10092 wxPyEndAllowThreads(__tstate);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 {
10096 wxPoint * resultptr;
10097 resultptr = new wxPoint((wxPoint &) result);
10098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10099 }
10100 return resultobj;
10101 fail:
10102 return NULL;
10103 }
10104
10105
10106 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10107 PyObject *resultobj;
10108 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10109 wxColour *result;
10110 PyObject * obj0 = 0 ;
10111 char *kwnames[] = {
10112 (char *) "self", NULL
10113 };
10114
10115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10118 {
10119 PyThreadState* __tstate = wxPyBeginAllowThreads();
10120 {
10121 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10122 result = (wxColour *) &_result_ref;
10123 }
10124
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10129 return resultobj;
10130 fail:
10131 return NULL;
10132 }
10133
10134
10135 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10136 PyObject *resultobj;
10137 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10138 size_t arg2 ;
10139 PyObject * obj0 = 0 ;
10140 PyObject * obj1 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "self",(char *) "count", NULL
10143 };
10144
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10148 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 {
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
10152 (arg1)->SetItemCount(arg2);
10153
10154 wxPyEndAllowThreads(__tstate);
10155 if (PyErr_Occurred()) SWIG_fail;
10156 }
10157 Py_INCREF(Py_None); resultobj = Py_None;
10158 return resultobj;
10159 fail:
10160 return NULL;
10161 }
10162
10163
10164 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10165 PyObject *resultobj;
10166 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10167 PyObject * obj0 = 0 ;
10168 char *kwnames[] = {
10169 (char *) "self", NULL
10170 };
10171
10172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 (arg1)->Clear();
10178
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 Py_INCREF(Py_None); resultobj = Py_None;
10183 return resultobj;
10184 fail:
10185 return NULL;
10186 }
10187
10188
10189 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10190 PyObject *resultobj;
10191 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10192 int arg2 ;
10193 PyObject * obj0 = 0 ;
10194 PyObject * obj1 = 0 ;
10195 char *kwnames[] = {
10196 (char *) "self",(char *) "selection", NULL
10197 };
10198
10199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10202 arg2 = (int) SWIG_AsInt(obj1);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 (arg1)->SetSelection(arg2);
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 Py_INCREF(Py_None); resultobj = Py_None;
10212 return resultobj;
10213 fail:
10214 return NULL;
10215 }
10216
10217
10218 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10219 PyObject *resultobj;
10220 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10221 size_t arg2 ;
10222 bool arg3 = (bool) True ;
10223 bool result;
10224 PyObject * obj0 = 0 ;
10225 PyObject * obj1 = 0 ;
10226 PyObject * obj2 = 0 ;
10227 char *kwnames[] = {
10228 (char *) "self",(char *) "item",(char *) "select", NULL
10229 };
10230
10231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10234 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10235 if (PyErr_Occurred()) SWIG_fail;
10236 if (obj2) {
10237 arg3 = (bool) SWIG_AsBool(obj2);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 result = (bool)(arg1)->Select(arg2,arg3);
10243
10244 wxPyEndAllowThreads(__tstate);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 }
10247 {
10248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10249 }
10250 return resultobj;
10251 fail:
10252 return NULL;
10253 }
10254
10255
10256 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10257 PyObject *resultobj;
10258 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10259 size_t arg2 ;
10260 size_t arg3 ;
10261 bool result;
10262 PyObject * obj0 = 0 ;
10263 PyObject * obj1 = 0 ;
10264 PyObject * obj2 = 0 ;
10265 char *kwnames[] = {
10266 (char *) "self",(char *) "from",(char *) "to", NULL
10267 };
10268
10269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10272 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 result = (bool)(arg1)->SelectRange(arg2,arg3);
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_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj;
10294 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10295 size_t arg2 ;
10296 PyObject * obj0 = 0 ;
10297 PyObject * obj1 = 0 ;
10298 char *kwnames[] = {
10299 (char *) "self",(char *) "item", NULL
10300 };
10301
10302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10305 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10306 if (PyErr_Occurred()) SWIG_fail;
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
10309 (arg1)->Toggle(arg2);
10310
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 Py_INCREF(Py_None); resultobj = Py_None;
10315 return resultobj;
10316 fail:
10317 return NULL;
10318 }
10319
10320
10321 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10322 PyObject *resultobj;
10323 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10324 bool result;
10325 PyObject * obj0 = 0 ;
10326 char *kwnames[] = {
10327 (char *) "self", NULL
10328 };
10329
10330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
10335 result = (bool)(arg1)->SelectAll();
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 {
10341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10342 }
10343 return resultobj;
10344 fail:
10345 return NULL;
10346 }
10347
10348
10349 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj;
10351 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10352 bool result;
10353 PyObject * obj0 = 0 ;
10354 char *kwnames[] = {
10355 (char *) "self", NULL
10356 };
10357
10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 result = (bool)(arg1)->DeselectAll();
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 {
10369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10370 }
10371 return resultobj;
10372 fail:
10373 return NULL;
10374 }
10375
10376
10377 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10378 PyObject *resultobj;
10379 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10380 wxPoint *arg2 = 0 ;
10381 wxPoint temp2 ;
10382 PyObject * obj0 = 0 ;
10383 PyObject * obj1 = 0 ;
10384 char *kwnames[] = {
10385 (char *) "self",(char *) "pt", NULL
10386 };
10387
10388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10391 {
10392 arg2 = &temp2;
10393 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10394 }
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 (arg1)->SetMargins((wxPoint const &)*arg2);
10398
10399 wxPyEndAllowThreads(__tstate);
10400 if (PyErr_Occurred()) SWIG_fail;
10401 }
10402 Py_INCREF(Py_None); resultobj = Py_None;
10403 return resultobj;
10404 fail:
10405 return NULL;
10406 }
10407
10408
10409 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10410 PyObject *resultobj;
10411 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10412 int arg2 ;
10413 int arg3 ;
10414 PyObject * obj0 = 0 ;
10415 PyObject * obj1 = 0 ;
10416 PyObject * obj2 = 0 ;
10417 char *kwnames[] = {
10418 (char *) "self",(char *) "x",(char *) "y", NULL
10419 };
10420
10421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10424 arg2 = (int) SWIG_AsInt(obj1);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 arg3 = (int) SWIG_AsInt(obj2);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 {
10429 PyThreadState* __tstate = wxPyBeginAllowThreads();
10430 (arg1)->SetMargins(arg2,arg3);
10431
10432 wxPyEndAllowThreads(__tstate);
10433 if (PyErr_Occurred()) SWIG_fail;
10434 }
10435 Py_INCREF(Py_None); resultobj = Py_None;
10436 return resultobj;
10437 fail:
10438 return NULL;
10439 }
10440
10441
10442 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10443 PyObject *resultobj;
10444 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10445 wxColour *arg2 = 0 ;
10446 wxColour temp2 ;
10447 PyObject * obj0 = 0 ;
10448 PyObject * obj1 = 0 ;
10449 char *kwnames[] = {
10450 (char *) "self",(char *) "col", NULL
10451 };
10452
10453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10456 {
10457 arg2 = &temp2;
10458 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10459 }
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 Py_INCREF(Py_None); resultobj = Py_None;
10468 return resultobj;
10469 fail:
10470 return NULL;
10471 }
10472
10473
10474 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10475 PyObject *obj;
10476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10477 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10478 Py_INCREF(obj);
10479 return Py_BuildValue((char *)"");
10480 }
10481 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10482 PyObject *resultobj;
10483 wxWindow *arg1 = (wxWindow *) 0 ;
10484 int arg2 = (int) wxID_ANY ;
10485 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10486 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10487 wxSize const &arg4_defvalue = wxDefaultSize ;
10488 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10489 long arg5 = (long) 0 ;
10490 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10491 wxString *arg6 = (wxString *) &arg6_defvalue ;
10492 wxPyHtmlListBox *result;
10493 wxPoint temp3 ;
10494 wxSize temp4 ;
10495 bool temp6 = False ;
10496 PyObject * obj0 = 0 ;
10497 PyObject * obj1 = 0 ;
10498 PyObject * obj2 = 0 ;
10499 PyObject * obj3 = 0 ;
10500 PyObject * obj4 = 0 ;
10501 PyObject * obj5 = 0 ;
10502 char *kwnames[] = {
10503 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10504 };
10505
10506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10509 if (obj1) {
10510 arg2 = (int) SWIG_AsInt(obj1);
10511 if (PyErr_Occurred()) SWIG_fail;
10512 }
10513 if (obj2) {
10514 {
10515 arg3 = &temp3;
10516 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10517 }
10518 }
10519 if (obj3) {
10520 {
10521 arg4 = &temp4;
10522 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10523 }
10524 }
10525 if (obj4) {
10526 arg5 = (long) SWIG_AsLong(obj4);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
10529 if (obj5) {
10530 {
10531 arg6 = wxString_in_helper(obj5);
10532 if (arg6 == NULL) SWIG_fail;
10533 temp6 = True;
10534 }
10535 }
10536 {
10537 if (!wxPyCheckForApp()) SWIG_fail;
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10540
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10545 {
10546 if (temp6)
10547 delete arg6;
10548 }
10549 return resultobj;
10550 fail:
10551 {
10552 if (temp6)
10553 delete arg6;
10554 }
10555 return NULL;
10556 }
10557
10558
10559 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10560 PyObject *resultobj;
10561 wxPyHtmlListBox *result;
10562 char *kwnames[] = {
10563 NULL
10564 };
10565
10566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10567 {
10568 if (!wxPyCheckForApp()) SWIG_fail;
10569 PyThreadState* __tstate = wxPyBeginAllowThreads();
10570 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10571
10572 wxPyEndAllowThreads(__tstate);
10573 if (PyErr_Occurred()) SWIG_fail;
10574 }
10575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10576 return resultobj;
10577 fail:
10578 return NULL;
10579 }
10580
10581
10582 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10583 PyObject *resultobj;
10584 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10585 PyObject *arg2 = (PyObject *) 0 ;
10586 PyObject *arg3 = (PyObject *) 0 ;
10587 PyObject * obj0 = 0 ;
10588 PyObject * obj1 = 0 ;
10589 PyObject * obj2 = 0 ;
10590 char *kwnames[] = {
10591 (char *) "self",(char *) "self",(char *) "_class", NULL
10592 };
10593
10594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10597 arg2 = obj1;
10598 arg3 = obj2;
10599 {
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
10601 (arg1)->_setCallbackInfo(arg2,arg3);
10602
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 }
10606 Py_INCREF(Py_None); resultobj = Py_None;
10607 return resultobj;
10608 fail:
10609 return NULL;
10610 }
10611
10612
10613 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10614 PyObject *resultobj;
10615 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10616 wxWindow *arg2 = (wxWindow *) 0 ;
10617 int arg3 = (int) wxID_ANY ;
10618 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10619 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10620 wxSize const &arg5_defvalue = wxDefaultSize ;
10621 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10622 long arg6 = (long) 0 ;
10623 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10624 wxString *arg7 = (wxString *) &arg7_defvalue ;
10625 bool result;
10626 wxPoint temp4 ;
10627 wxSize temp5 ;
10628 bool temp7 = False ;
10629 PyObject * obj0 = 0 ;
10630 PyObject * obj1 = 0 ;
10631 PyObject * obj2 = 0 ;
10632 PyObject * obj3 = 0 ;
10633 PyObject * obj4 = 0 ;
10634 PyObject * obj5 = 0 ;
10635 PyObject * obj6 = 0 ;
10636 char *kwnames[] = {
10637 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10638 };
10639
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10643 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10645 if (obj2) {
10646 arg3 = (int) SWIG_AsInt(obj2);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
10649 if (obj3) {
10650 {
10651 arg4 = &temp4;
10652 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10653 }
10654 }
10655 if (obj4) {
10656 {
10657 arg5 = &temp5;
10658 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10659 }
10660 }
10661 if (obj5) {
10662 arg6 = (long) SWIG_AsLong(obj5);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 if (obj6) {
10666 {
10667 arg7 = wxString_in_helper(obj6);
10668 if (arg7 == NULL) SWIG_fail;
10669 temp7 = True;
10670 }
10671 }
10672 {
10673 PyThreadState* __tstate = wxPyBeginAllowThreads();
10674 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10675
10676 wxPyEndAllowThreads(__tstate);
10677 if (PyErr_Occurred()) SWIG_fail;
10678 }
10679 {
10680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10681 }
10682 {
10683 if (temp7)
10684 delete arg7;
10685 }
10686 return resultobj;
10687 fail:
10688 {
10689 if (temp7)
10690 delete arg7;
10691 }
10692 return NULL;
10693 }
10694
10695
10696 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10699 PyObject * obj0 = 0 ;
10700 char *kwnames[] = {
10701 (char *) "self", NULL
10702 };
10703
10704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10707 {
10708 PyThreadState* __tstate = wxPyBeginAllowThreads();
10709 (arg1)->RefreshAll();
10710
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 }
10714 Py_INCREF(Py_None); resultobj = Py_None;
10715 return resultobj;
10716 fail:
10717 return NULL;
10718 }
10719
10720
10721 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10722 PyObject *resultobj;
10723 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10724 size_t arg2 ;
10725 PyObject * obj0 = 0 ;
10726 PyObject * obj1 = 0 ;
10727 char *kwnames[] = {
10728 (char *) "self",(char *) "count", NULL
10729 };
10730
10731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10734 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10735 if (PyErr_Occurred()) SWIG_fail;
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 (arg1)->SetItemCount(arg2);
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 Py_INCREF(Py_None); resultobj = Py_None;
10744 return resultobj;
10745 fail:
10746 return NULL;
10747 }
10748
10749
10750 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10751 PyObject *resultobj;
10752 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10753 wxFileSystem *result;
10754 PyObject * obj0 = 0 ;
10755 char *kwnames[] = {
10756 (char *) "self", NULL
10757 };
10758
10759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10762 {
10763 PyThreadState* __tstate = wxPyBeginAllowThreads();
10764 {
10765 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10766 result = (wxFileSystem *) &_result_ref;
10767 }
10768
10769 wxPyEndAllowThreads(__tstate);
10770 if (PyErr_Occurred()) SWIG_fail;
10771 }
10772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10773 return resultobj;
10774 fail:
10775 return NULL;
10776 }
10777
10778
10779 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10780 PyObject *obj;
10781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10782 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10783 Py_INCREF(obj);
10784 return Py_BuildValue((char *)"");
10785 }
10786 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10787 PyObject *resultobj;
10788 wxTaskBarIcon *result;
10789 char *kwnames[] = {
10790 NULL
10791 };
10792
10793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10794 {
10795 if (!wxPyCheckForApp()) SWIG_fail;
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10803 return resultobj;
10804 fail:
10805 return NULL;
10806 }
10807
10808
10809 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj;
10811 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10812 PyObject * obj0 = 0 ;
10813 char *kwnames[] = {
10814 (char *) "self", NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10820 {
10821 PyThreadState* __tstate = wxPyBeginAllowThreads();
10822 delete arg1;
10823
10824 wxPyEndAllowThreads(__tstate);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 }
10827 Py_INCREF(Py_None); resultobj = Py_None;
10828 return resultobj;
10829 fail:
10830 return NULL;
10831 }
10832
10833
10834 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10835 PyObject *resultobj;
10836 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10837 PyObject * obj0 = 0 ;
10838 char *kwnames[] = {
10839 (char *) "self", NULL
10840 };
10841
10842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10845 {
10846 PyThreadState* __tstate = wxPyBeginAllowThreads();
10847 wxTaskBarIcon_Destroy(arg1);
10848
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 Py_INCREF(Py_None); resultobj = Py_None;
10853 return resultobj;
10854 fail:
10855 return NULL;
10856 }
10857
10858
10859 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10860 PyObject *obj;
10861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10862 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10863 Py_INCREF(obj);
10864 return Py_BuildValue((char *)"");
10865 }
10866 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10867 PyObject *resultobj;
10868 wxEventType arg1 ;
10869 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10870 wxTaskBarIconEvent *result;
10871 PyObject * obj0 = 0 ;
10872 PyObject * obj1 = 0 ;
10873 char *kwnames[] = {
10874 (char *) "evtType",(char *) "tbIcon", NULL
10875 };
10876
10877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10878 arg1 = (wxEventType) SWIG_AsInt(obj0);
10879 if (PyErr_Occurred()) SWIG_fail;
10880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10882 {
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10885
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10890 return resultobj;
10891 fail:
10892 return NULL;
10893 }
10894
10895
10896 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10897 PyObject *obj;
10898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10899 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10900 Py_INCREF(obj);
10901 return Py_BuildValue((char *)"");
10902 }
10903 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10904 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10905 return 1;
10906 }
10907
10908
10909 static PyObject *_wrap_FileSelectorPromptStr_get() {
10910 PyObject *pyobj;
10911
10912 {
10913 #if wxUSE_UNICODE
10914 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10915 #else
10916 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10917 #endif
10918 }
10919 return pyobj;
10920 }
10921
10922
10923 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10924 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10925 return 1;
10926 }
10927
10928
10929 static PyObject *_wrap_DirSelectorPromptStr_get() {
10930 PyObject *pyobj;
10931
10932 {
10933 #if wxUSE_UNICODE
10934 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10935 #else
10936 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10937 #endif
10938 }
10939 return pyobj;
10940 }
10941
10942
10943 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10944 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10945 return 1;
10946 }
10947
10948
10949 static PyObject *_wrap_DirDialogNameStr_get() {
10950 PyObject *pyobj;
10951
10952 {
10953 #if wxUSE_UNICODE
10954 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10955 #else
10956 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10957 #endif
10958 }
10959 return pyobj;
10960 }
10961
10962
10963 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10964 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10965 return 1;
10966 }
10967
10968
10969 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10970 PyObject *pyobj;
10971
10972 {
10973 #if wxUSE_UNICODE
10974 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10975 #else
10976 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10977 #endif
10978 }
10979 return pyobj;
10980 }
10981
10982
10983 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10984 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10985 return 1;
10986 }
10987
10988
10989 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10990 PyObject *pyobj;
10991
10992 {
10993 #if wxUSE_UNICODE
10994 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10995 #else
10996 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10997 #endif
10998 }
10999 return pyobj;
11000 }
11001
11002
11003 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11004 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11005 return 1;
11006 }
11007
11008
11009 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11010 PyObject *pyobj;
11011
11012 {
11013 #if wxUSE_UNICODE
11014 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11015 #else
11016 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11017 #endif
11018 }
11019 return pyobj;
11020 }
11021
11022
11023 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11024 PyObject *resultobj;
11025 wxColourData *result;
11026 char *kwnames[] = {
11027 NULL
11028 };
11029
11030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 result = (wxColourData *)new wxColourData();
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
11038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11039 return resultobj;
11040 fail:
11041 return NULL;
11042 }
11043
11044
11045 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11046 PyObject *resultobj;
11047 wxColourData *arg1 = (wxColourData *) 0 ;
11048 PyObject * obj0 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 delete arg1;
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 Py_INCREF(Py_None); resultobj = Py_None;
11064 return resultobj;
11065 fail:
11066 return NULL;
11067 }
11068
11069
11070 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11071 PyObject *resultobj;
11072 wxColourData *arg1 = (wxColourData *) 0 ;
11073 bool result;
11074 PyObject * obj0 = 0 ;
11075 char *kwnames[] = {
11076 (char *) "self", NULL
11077 };
11078
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11082 {
11083 PyThreadState* __tstate = wxPyBeginAllowThreads();
11084 result = (bool)(arg1)->GetChooseFull();
11085
11086 wxPyEndAllowThreads(__tstate);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 {
11090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11091 }
11092 return resultobj;
11093 fail:
11094 return NULL;
11095 }
11096
11097
11098 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11099 PyObject *resultobj;
11100 wxColourData *arg1 = (wxColourData *) 0 ;
11101 wxColour result;
11102 PyObject * obj0 = 0 ;
11103 char *kwnames[] = {
11104 (char *) "self", NULL
11105 };
11106
11107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 result = (arg1)->GetColour();
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 {
11118 wxColour * resultptr;
11119 resultptr = new wxColour((wxColour &) result);
11120 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11121 }
11122 return resultobj;
11123 fail:
11124 return NULL;
11125 }
11126
11127
11128 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11129 PyObject *resultobj;
11130 wxColourData *arg1 = (wxColourData *) 0 ;
11131 int arg2 ;
11132 wxColour result;
11133 PyObject * obj0 = 0 ;
11134 PyObject * obj1 = 0 ;
11135 char *kwnames[] = {
11136 (char *) "self",(char *) "i", NULL
11137 };
11138
11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11142 arg2 = (int) SWIG_AsInt(obj1);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 result = (arg1)->GetCustomColour(arg2);
11147
11148 wxPyEndAllowThreads(__tstate);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 }
11151 {
11152 wxColour * resultptr;
11153 resultptr = new wxColour((wxColour &) result);
11154 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11155 }
11156 return resultobj;
11157 fail:
11158 return NULL;
11159 }
11160
11161
11162 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11163 PyObject *resultobj;
11164 wxColourData *arg1 = (wxColourData *) 0 ;
11165 int arg2 ;
11166 PyObject * obj0 = 0 ;
11167 PyObject * obj1 = 0 ;
11168 char *kwnames[] = {
11169 (char *) "self",(char *) "flag", NULL
11170 };
11171
11172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11175 arg2 = (int) SWIG_AsInt(obj1);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 (arg1)->SetChooseFull(arg2);
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 Py_INCREF(Py_None); resultobj = Py_None;
11185 return resultobj;
11186 fail:
11187 return NULL;
11188 }
11189
11190
11191 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj;
11193 wxColourData *arg1 = (wxColourData *) 0 ;
11194 wxColour *arg2 = 0 ;
11195 wxColour temp2 ;
11196 PyObject * obj0 = 0 ;
11197 PyObject * obj1 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "self",(char *) "colour", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11205 {
11206 arg2 = &temp2;
11207 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11208 }
11209 {
11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
11211 (arg1)->SetColour((wxColour const &)*arg2);
11212
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 Py_INCREF(Py_None); resultobj = Py_None;
11217 return resultobj;
11218 fail:
11219 return NULL;
11220 }
11221
11222
11223 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11224 PyObject *resultobj;
11225 wxColourData *arg1 = (wxColourData *) 0 ;
11226 int arg2 ;
11227 wxColour *arg3 = 0 ;
11228 wxColour temp3 ;
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 PyObject * obj2 = 0 ;
11232 char *kwnames[] = {
11233 (char *) "self",(char *) "i",(char *) "colour", NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11239 arg2 = (int) SWIG_AsInt(obj1);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 {
11242 arg3 = &temp3;
11243 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11244 }
11245 {
11246 PyThreadState* __tstate = wxPyBeginAllowThreads();
11247 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11248
11249 wxPyEndAllowThreads(__tstate);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 }
11252 Py_INCREF(Py_None); resultobj = Py_None;
11253 return resultobj;
11254 fail:
11255 return NULL;
11256 }
11257
11258
11259 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11260 PyObject *obj;
11261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11262 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11263 Py_INCREF(obj);
11264 return Py_BuildValue((char *)"");
11265 }
11266 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11267 PyObject *resultobj;
11268 wxWindow *arg1 = (wxWindow *) 0 ;
11269 wxColourData *arg2 = (wxColourData *) NULL ;
11270 wxColourDialog *result;
11271 PyObject * obj0 = 0 ;
11272 PyObject * obj1 = 0 ;
11273 char *kwnames[] = {
11274 (char *) "parent",(char *) "data", NULL
11275 };
11276
11277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11280 if (obj1) {
11281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11283 }
11284 {
11285 if (!wxPyCheckForApp()) SWIG_fail;
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11293 return resultobj;
11294 fail:
11295 return NULL;
11296 }
11297
11298
11299 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11300 PyObject *resultobj;
11301 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11302 wxColourData *result;
11303 PyObject * obj0 = 0 ;
11304 char *kwnames[] = {
11305 (char *) "self", NULL
11306 };
11307
11308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 {
11314 wxColourData &_result_ref = (arg1)->GetColourData();
11315 result = (wxColourData *) &_result_ref;
11316 }
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11322 return resultobj;
11323 fail:
11324 return NULL;
11325 }
11326
11327
11328 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11329 PyObject *obj;
11330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11331 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11332 Py_INCREF(obj);
11333 return Py_BuildValue((char *)"");
11334 }
11335 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11336 PyObject *resultobj;
11337 wxWindow *arg1 = (wxWindow *) 0 ;
11338 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11339 wxString *arg2 = (wxString *) &arg2_defvalue ;
11340 wxString const &arg3_defvalue = wxPyEmptyString ;
11341 wxString *arg3 = (wxString *) &arg3_defvalue ;
11342 long arg4 = (long) 0 ;
11343 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11344 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11345 wxSize const &arg6_defvalue = wxDefaultSize ;
11346 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11347 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11348 wxString *arg7 = (wxString *) &arg7_defvalue ;
11349 wxDirDialog *result;
11350 bool temp2 = False ;
11351 bool temp3 = False ;
11352 wxPoint temp5 ;
11353 wxSize temp6 ;
11354 bool temp7 = False ;
11355 PyObject * obj0 = 0 ;
11356 PyObject * obj1 = 0 ;
11357 PyObject * obj2 = 0 ;
11358 PyObject * obj3 = 0 ;
11359 PyObject * obj4 = 0 ;
11360 PyObject * obj5 = 0 ;
11361 PyObject * obj6 = 0 ;
11362 char *kwnames[] = {
11363 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11364 };
11365
11366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11369 if (obj1) {
11370 {
11371 arg2 = wxString_in_helper(obj1);
11372 if (arg2 == NULL) SWIG_fail;
11373 temp2 = True;
11374 }
11375 }
11376 if (obj2) {
11377 {
11378 arg3 = wxString_in_helper(obj2);
11379 if (arg3 == NULL) SWIG_fail;
11380 temp3 = True;
11381 }
11382 }
11383 if (obj3) {
11384 arg4 = (long) SWIG_AsLong(obj3);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 }
11387 if (obj4) {
11388 {
11389 arg5 = &temp5;
11390 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11391 }
11392 }
11393 if (obj5) {
11394 {
11395 arg6 = &temp6;
11396 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11397 }
11398 }
11399 if (obj6) {
11400 {
11401 arg7 = wxString_in_helper(obj6);
11402 if (arg7 == NULL) SWIG_fail;
11403 temp7 = True;
11404 }
11405 }
11406 {
11407 if (!wxPyCheckForApp()) SWIG_fail;
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11410
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11415 {
11416 if (temp2)
11417 delete arg2;
11418 }
11419 {
11420 if (temp3)
11421 delete arg3;
11422 }
11423 {
11424 if (temp7)
11425 delete arg7;
11426 }
11427 return resultobj;
11428 fail:
11429 {
11430 if (temp2)
11431 delete arg2;
11432 }
11433 {
11434 if (temp3)
11435 delete arg3;
11436 }
11437 {
11438 if (temp7)
11439 delete arg7;
11440 }
11441 return NULL;
11442 }
11443
11444
11445 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11446 PyObject *resultobj;
11447 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11448 wxString result;
11449 PyObject * obj0 = 0 ;
11450 char *kwnames[] = {
11451 (char *) "self", NULL
11452 };
11453
11454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 result = (arg1)->GetPath();
11460
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 {
11465 #if wxUSE_UNICODE
11466 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11467 #else
11468 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11469 #endif
11470 }
11471 return resultobj;
11472 fail:
11473 return NULL;
11474 }
11475
11476
11477 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj;
11479 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11480 wxString result;
11481 PyObject * obj0 = 0 ;
11482 char *kwnames[] = {
11483 (char *) "self", NULL
11484 };
11485
11486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11489 {
11490 PyThreadState* __tstate = wxPyBeginAllowThreads();
11491 result = (arg1)->GetMessage();
11492
11493 wxPyEndAllowThreads(__tstate);
11494 if (PyErr_Occurred()) SWIG_fail;
11495 }
11496 {
11497 #if wxUSE_UNICODE
11498 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11499 #else
11500 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11501 #endif
11502 }
11503 return resultobj;
11504 fail:
11505 return NULL;
11506 }
11507
11508
11509 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11510 PyObject *resultobj;
11511 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11512 long result;
11513 PyObject * obj0 = 0 ;
11514 char *kwnames[] = {
11515 (char *) "self", NULL
11516 };
11517
11518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11521 {
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 result = (long)(arg1)->GetStyle();
11524
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 resultobj = SWIG_FromLong((long)result);
11529 return resultobj;
11530 fail:
11531 return NULL;
11532 }
11533
11534
11535 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11536 PyObject *resultobj;
11537 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11538 wxString *arg2 = 0 ;
11539 bool temp2 = False ;
11540 PyObject * obj0 = 0 ;
11541 PyObject * obj1 = 0 ;
11542 char *kwnames[] = {
11543 (char *) "self",(char *) "message", NULL
11544 };
11545
11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11549 {
11550 arg2 = wxString_in_helper(obj1);
11551 if (arg2 == NULL) SWIG_fail;
11552 temp2 = True;
11553 }
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 (arg1)->SetMessage((wxString const &)*arg2);
11557
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 Py_INCREF(Py_None); resultobj = Py_None;
11562 {
11563 if (temp2)
11564 delete arg2;
11565 }
11566 return resultobj;
11567 fail:
11568 {
11569 if (temp2)
11570 delete arg2;
11571 }
11572 return NULL;
11573 }
11574
11575
11576 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11577 PyObject *resultobj;
11578 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11579 wxString *arg2 = 0 ;
11580 bool temp2 = False ;
11581 PyObject * obj0 = 0 ;
11582 PyObject * obj1 = 0 ;
11583 char *kwnames[] = {
11584 (char *) "self",(char *) "path", NULL
11585 };
11586
11587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11590 {
11591 arg2 = wxString_in_helper(obj1);
11592 if (arg2 == NULL) SWIG_fail;
11593 temp2 = True;
11594 }
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 (arg1)->SetPath((wxString const &)*arg2);
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 Py_INCREF(Py_None); resultobj = Py_None;
11603 {
11604 if (temp2)
11605 delete arg2;
11606 }
11607 return resultobj;
11608 fail:
11609 {
11610 if (temp2)
11611 delete arg2;
11612 }
11613 return NULL;
11614 }
11615
11616
11617 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11618 PyObject *obj;
11619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11620 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11621 Py_INCREF(obj);
11622 return Py_BuildValue((char *)"");
11623 }
11624 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11625 PyObject *resultobj;
11626 wxWindow *arg1 = (wxWindow *) 0 ;
11627 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11628 wxString *arg2 = (wxString *) &arg2_defvalue ;
11629 wxString const &arg3_defvalue = wxPyEmptyString ;
11630 wxString *arg3 = (wxString *) &arg3_defvalue ;
11631 wxString const &arg4_defvalue = wxPyEmptyString ;
11632 wxString *arg4 = (wxString *) &arg4_defvalue ;
11633 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11634 wxString *arg5 = (wxString *) &arg5_defvalue ;
11635 long arg6 = (long) 0 ;
11636 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11637 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11638 wxFileDialog *result;
11639 bool temp2 = False ;
11640 bool temp3 = False ;
11641 bool temp4 = False ;
11642 bool temp5 = False ;
11643 wxPoint temp7 ;
11644 PyObject * obj0 = 0 ;
11645 PyObject * obj1 = 0 ;
11646 PyObject * obj2 = 0 ;
11647 PyObject * obj3 = 0 ;
11648 PyObject * obj4 = 0 ;
11649 PyObject * obj5 = 0 ;
11650 PyObject * obj6 = 0 ;
11651 char *kwnames[] = {
11652 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11658 if (obj1) {
11659 {
11660 arg2 = wxString_in_helper(obj1);
11661 if (arg2 == NULL) SWIG_fail;
11662 temp2 = True;
11663 }
11664 }
11665 if (obj2) {
11666 {
11667 arg3 = wxString_in_helper(obj2);
11668 if (arg3 == NULL) SWIG_fail;
11669 temp3 = True;
11670 }
11671 }
11672 if (obj3) {
11673 {
11674 arg4 = wxString_in_helper(obj3);
11675 if (arg4 == NULL) SWIG_fail;
11676 temp4 = True;
11677 }
11678 }
11679 if (obj4) {
11680 {
11681 arg5 = wxString_in_helper(obj4);
11682 if (arg5 == NULL) SWIG_fail;
11683 temp5 = True;
11684 }
11685 }
11686 if (obj5) {
11687 arg6 = (long) SWIG_AsLong(obj5);
11688 if (PyErr_Occurred()) SWIG_fail;
11689 }
11690 if (obj6) {
11691 {
11692 arg7 = &temp7;
11693 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11694 }
11695 }
11696 {
11697 if (!wxPyCheckForApp()) SWIG_fail;
11698 PyThreadState* __tstate = wxPyBeginAllowThreads();
11699 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11700
11701 wxPyEndAllowThreads(__tstate);
11702 if (PyErr_Occurred()) SWIG_fail;
11703 }
11704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11705 {
11706 if (temp2)
11707 delete arg2;
11708 }
11709 {
11710 if (temp3)
11711 delete arg3;
11712 }
11713 {
11714 if (temp4)
11715 delete arg4;
11716 }
11717 {
11718 if (temp5)
11719 delete arg5;
11720 }
11721 return resultobj;
11722 fail:
11723 {
11724 if (temp2)
11725 delete arg2;
11726 }
11727 {
11728 if (temp3)
11729 delete arg3;
11730 }
11731 {
11732 if (temp4)
11733 delete arg4;
11734 }
11735 {
11736 if (temp5)
11737 delete arg5;
11738 }
11739 return NULL;
11740 }
11741
11742
11743 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11744 PyObject *resultobj;
11745 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11746 wxString *arg2 = 0 ;
11747 bool temp2 = False ;
11748 PyObject * obj0 = 0 ;
11749 PyObject * obj1 = 0 ;
11750 char *kwnames[] = {
11751 (char *) "self",(char *) "message", NULL
11752 };
11753
11754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11757 {
11758 arg2 = wxString_in_helper(obj1);
11759 if (arg2 == NULL) SWIG_fail;
11760 temp2 = True;
11761 }
11762 {
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
11764 (arg1)->SetMessage((wxString const &)*arg2);
11765
11766 wxPyEndAllowThreads(__tstate);
11767 if (PyErr_Occurred()) SWIG_fail;
11768 }
11769 Py_INCREF(Py_None); resultobj = Py_None;
11770 {
11771 if (temp2)
11772 delete arg2;
11773 }
11774 return resultobj;
11775 fail:
11776 {
11777 if (temp2)
11778 delete arg2;
11779 }
11780 return NULL;
11781 }
11782
11783
11784 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11785 PyObject *resultobj;
11786 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11787 wxString *arg2 = 0 ;
11788 bool temp2 = False ;
11789 PyObject * obj0 = 0 ;
11790 PyObject * obj1 = 0 ;
11791 char *kwnames[] = {
11792 (char *) "self",(char *) "path", NULL
11793 };
11794
11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11798 {
11799 arg2 = wxString_in_helper(obj1);
11800 if (arg2 == NULL) SWIG_fail;
11801 temp2 = True;
11802 }
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 (arg1)->SetPath((wxString const &)*arg2);
11806
11807 wxPyEndAllowThreads(__tstate);
11808 if (PyErr_Occurred()) SWIG_fail;
11809 }
11810 Py_INCREF(Py_None); resultobj = Py_None;
11811 {
11812 if (temp2)
11813 delete arg2;
11814 }
11815 return resultobj;
11816 fail:
11817 {
11818 if (temp2)
11819 delete arg2;
11820 }
11821 return NULL;
11822 }
11823
11824
11825 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11826 PyObject *resultobj;
11827 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11828 wxString *arg2 = 0 ;
11829 bool temp2 = False ;
11830 PyObject * obj0 = 0 ;
11831 PyObject * obj1 = 0 ;
11832 char *kwnames[] = {
11833 (char *) "self",(char *) "dir", NULL
11834 };
11835
11836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11839 {
11840 arg2 = wxString_in_helper(obj1);
11841 if (arg2 == NULL) SWIG_fail;
11842 temp2 = True;
11843 }
11844 {
11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
11846 (arg1)->SetDirectory((wxString const &)*arg2);
11847
11848 wxPyEndAllowThreads(__tstate);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
11851 Py_INCREF(Py_None); resultobj = Py_None;
11852 {
11853 if (temp2)
11854 delete arg2;
11855 }
11856 return resultobj;
11857 fail:
11858 {
11859 if (temp2)
11860 delete arg2;
11861 }
11862 return NULL;
11863 }
11864
11865
11866 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11867 PyObject *resultobj;
11868 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11869 wxString *arg2 = 0 ;
11870 bool temp2 = False ;
11871 PyObject * obj0 = 0 ;
11872 PyObject * obj1 = 0 ;
11873 char *kwnames[] = {
11874 (char *) "self",(char *) "name", NULL
11875 };
11876
11877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11880 {
11881 arg2 = wxString_in_helper(obj1);
11882 if (arg2 == NULL) SWIG_fail;
11883 temp2 = True;
11884 }
11885 {
11886 PyThreadState* __tstate = wxPyBeginAllowThreads();
11887 (arg1)->SetFilename((wxString const &)*arg2);
11888
11889 wxPyEndAllowThreads(__tstate);
11890 if (PyErr_Occurred()) SWIG_fail;
11891 }
11892 Py_INCREF(Py_None); resultobj = Py_None;
11893 {
11894 if (temp2)
11895 delete arg2;
11896 }
11897 return resultobj;
11898 fail:
11899 {
11900 if (temp2)
11901 delete arg2;
11902 }
11903 return NULL;
11904 }
11905
11906
11907 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj;
11909 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11910 wxString *arg2 = 0 ;
11911 bool temp2 = False ;
11912 PyObject * obj0 = 0 ;
11913 PyObject * obj1 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self",(char *) "wildCard", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11921 {
11922 arg2 = wxString_in_helper(obj1);
11923 if (arg2 == NULL) SWIG_fail;
11924 temp2 = True;
11925 }
11926 {
11927 PyThreadState* __tstate = wxPyBeginAllowThreads();
11928 (arg1)->SetWildcard((wxString const &)*arg2);
11929
11930 wxPyEndAllowThreads(__tstate);
11931 if (PyErr_Occurred()) SWIG_fail;
11932 }
11933 Py_INCREF(Py_None); resultobj = Py_None;
11934 {
11935 if (temp2)
11936 delete arg2;
11937 }
11938 return resultobj;
11939 fail:
11940 {
11941 if (temp2)
11942 delete arg2;
11943 }
11944 return NULL;
11945 }
11946
11947
11948 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11949 PyObject *resultobj;
11950 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11951 long arg2 ;
11952 PyObject * obj0 = 0 ;
11953 PyObject * obj1 = 0 ;
11954 char *kwnames[] = {
11955 (char *) "self",(char *) "style", NULL
11956 };
11957
11958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11961 arg2 = (long) SWIG_AsLong(obj1);
11962 if (PyErr_Occurred()) SWIG_fail;
11963 {
11964 PyThreadState* __tstate = wxPyBeginAllowThreads();
11965 (arg1)->SetStyle(arg2);
11966
11967 wxPyEndAllowThreads(__tstate);
11968 if (PyErr_Occurred()) SWIG_fail;
11969 }
11970 Py_INCREF(Py_None); resultobj = Py_None;
11971 return resultobj;
11972 fail:
11973 return NULL;
11974 }
11975
11976
11977 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11978 PyObject *resultobj;
11979 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11980 int arg2 ;
11981 PyObject * obj0 = 0 ;
11982 PyObject * obj1 = 0 ;
11983 char *kwnames[] = {
11984 (char *) "self",(char *) "filterIndex", NULL
11985 };
11986
11987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11990 arg2 = (int) SWIG_AsInt(obj1);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 (arg1)->SetFilterIndex(arg2);
11995
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 Py_INCREF(Py_None); resultobj = Py_None;
12000 return resultobj;
12001 fail:
12002 return NULL;
12003 }
12004
12005
12006 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12007 PyObject *resultobj;
12008 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12009 wxString result;
12010 PyObject * obj0 = 0 ;
12011 char *kwnames[] = {
12012 (char *) "self", NULL
12013 };
12014
12015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12018 {
12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
12020 result = ((wxFileDialog const *)arg1)->GetMessage();
12021
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 {
12026 #if wxUSE_UNICODE
12027 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12028 #else
12029 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12030 #endif
12031 }
12032 return resultobj;
12033 fail:
12034 return NULL;
12035 }
12036
12037
12038 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12039 PyObject *resultobj;
12040 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12041 wxString result;
12042 PyObject * obj0 = 0 ;
12043 char *kwnames[] = {
12044 (char *) "self", NULL
12045 };
12046
12047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12050 {
12051 PyThreadState* __tstate = wxPyBeginAllowThreads();
12052 result = ((wxFileDialog const *)arg1)->GetPath();
12053
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 {
12058 #if wxUSE_UNICODE
12059 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12060 #else
12061 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12062 #endif
12063 }
12064 return resultobj;
12065 fail:
12066 return NULL;
12067 }
12068
12069
12070 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12071 PyObject *resultobj;
12072 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12073 wxString result;
12074 PyObject * obj0 = 0 ;
12075 char *kwnames[] = {
12076 (char *) "self", NULL
12077 };
12078
12079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12082 {
12083 PyThreadState* __tstate = wxPyBeginAllowThreads();
12084 result = ((wxFileDialog const *)arg1)->GetDirectory();
12085
12086 wxPyEndAllowThreads(__tstate);
12087 if (PyErr_Occurred()) SWIG_fail;
12088 }
12089 {
12090 #if wxUSE_UNICODE
12091 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12092 #else
12093 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12094 #endif
12095 }
12096 return resultobj;
12097 fail:
12098 return NULL;
12099 }
12100
12101
12102 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj;
12104 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12105 wxString result;
12106 PyObject * obj0 = 0 ;
12107 char *kwnames[] = {
12108 (char *) "self", NULL
12109 };
12110
12111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 result = ((wxFileDialog const *)arg1)->GetFilename();
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 {
12122 #if wxUSE_UNICODE
12123 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12124 #else
12125 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12126 #endif
12127 }
12128 return resultobj;
12129 fail:
12130 return NULL;
12131 }
12132
12133
12134 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12135 PyObject *resultobj;
12136 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12137 wxString result;
12138 PyObject * obj0 = 0 ;
12139 char *kwnames[] = {
12140 (char *) "self", NULL
12141 };
12142
12143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12146 {
12147 PyThreadState* __tstate = wxPyBeginAllowThreads();
12148 result = ((wxFileDialog const *)arg1)->GetWildcard();
12149
12150 wxPyEndAllowThreads(__tstate);
12151 if (PyErr_Occurred()) SWIG_fail;
12152 }
12153 {
12154 #if wxUSE_UNICODE
12155 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12156 #else
12157 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12158 #endif
12159 }
12160 return resultobj;
12161 fail:
12162 return NULL;
12163 }
12164
12165
12166 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12167 PyObject *resultobj;
12168 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12169 long result;
12170 PyObject * obj0 = 0 ;
12171 char *kwnames[] = {
12172 (char *) "self", NULL
12173 };
12174
12175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12178 {
12179 PyThreadState* __tstate = wxPyBeginAllowThreads();
12180 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12181
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
12185 resultobj = SWIG_FromLong((long)result);
12186 return resultobj;
12187 fail:
12188 return NULL;
12189 }
12190
12191
12192 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12193 PyObject *resultobj;
12194 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12195 int result;
12196 PyObject * obj0 = 0 ;
12197 char *kwnames[] = {
12198 (char *) "self", NULL
12199 };
12200
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12204 {
12205 PyThreadState* __tstate = wxPyBeginAllowThreads();
12206 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12207
12208 wxPyEndAllowThreads(__tstate);
12209 if (PyErr_Occurred()) SWIG_fail;
12210 }
12211 resultobj = SWIG_FromInt((int)result);
12212 return resultobj;
12213 fail:
12214 return NULL;
12215 }
12216
12217
12218 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12219 PyObject *resultobj;
12220 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12221 PyObject *result;
12222 PyObject * obj0 = 0 ;
12223 char *kwnames[] = {
12224 (char *) "self", NULL
12225 };
12226
12227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12230 {
12231 PyThreadState* __tstate = wxPyBeginAllowThreads();
12232 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12233
12234 wxPyEndAllowThreads(__tstate);
12235 if (PyErr_Occurred()) SWIG_fail;
12236 }
12237 resultobj = result;
12238 return resultobj;
12239 fail:
12240 return NULL;
12241 }
12242
12243
12244 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12245 PyObject *resultobj;
12246 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12247 PyObject *result;
12248 PyObject * obj0 = 0 ;
12249 char *kwnames[] = {
12250 (char *) "self", NULL
12251 };
12252
12253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12256 {
12257 PyThreadState* __tstate = wxPyBeginAllowThreads();
12258 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12259
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 }
12263 resultobj = result;
12264 return resultobj;
12265 fail:
12266 return NULL;
12267 }
12268
12269
12270 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12271 PyObject *obj;
12272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12273 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12274 Py_INCREF(obj);
12275 return Py_BuildValue((char *)"");
12276 }
12277 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12278 PyObject *resultobj;
12279 wxWindow *arg1 = (wxWindow *) 0 ;
12280 wxString *arg2 = 0 ;
12281 wxString *arg3 = 0 ;
12282 int arg4 = (int) 0 ;
12283 wxString *arg5 = (wxString *) NULL ;
12284 long arg6 = (long) wxCHOICEDLG_STYLE ;
12285 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12286 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12287 wxMultiChoiceDialog *result;
12288 bool temp2 = False ;
12289 bool temp3 = False ;
12290 wxPoint temp6 ;
12291 PyObject * obj0 = 0 ;
12292 PyObject * obj1 = 0 ;
12293 PyObject * obj2 = 0 ;
12294 PyObject * obj3 = 0 ;
12295 PyObject * obj4 = 0 ;
12296 PyObject * obj5 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12304 {
12305 arg2 = wxString_in_helper(obj1);
12306 if (arg2 == NULL) SWIG_fail;
12307 temp2 = True;
12308 }
12309 {
12310 arg3 = wxString_in_helper(obj2);
12311 if (arg3 == NULL) SWIG_fail;
12312 temp3 = True;
12313 }
12314 if (obj3) {
12315 {
12316 arg4 = PyList_Size(obj3);
12317 arg5 = wxString_LIST_helper(obj3);
12318 if (arg5 == NULL) SWIG_fail;
12319 }
12320 }
12321 if (obj4) {
12322 arg6 = (long) SWIG_AsLong(obj4);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 if (obj5) {
12326 {
12327 arg7 = &temp6;
12328 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12329 }
12330 }
12331 {
12332 if (!wxPyCheckForApp()) SWIG_fail;
12333 PyThreadState* __tstate = wxPyBeginAllowThreads();
12334 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12335
12336 wxPyEndAllowThreads(__tstate);
12337 if (PyErr_Occurred()) SWIG_fail;
12338 }
12339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12340 {
12341 if (temp2)
12342 delete arg2;
12343 }
12344 {
12345 if (temp3)
12346 delete arg3;
12347 }
12348 {
12349 if (arg5) delete [] arg5;
12350 }
12351 return resultobj;
12352 fail:
12353 {
12354 if (temp2)
12355 delete arg2;
12356 }
12357 {
12358 if (temp3)
12359 delete arg3;
12360 }
12361 {
12362 if (arg5) delete [] arg5;
12363 }
12364 return NULL;
12365 }
12366
12367
12368 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12369 PyObject *resultobj;
12370 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12371 wxArrayInt *arg2 = 0 ;
12372 bool temp2 = False ;
12373 PyObject * obj0 = 0 ;
12374 PyObject * obj1 = 0 ;
12375 char *kwnames[] = {
12376 (char *) "self",(char *) "selections", NULL
12377 };
12378
12379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12382 {
12383 if (! PySequence_Check(obj1)) {
12384 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12385 SWIG_fail;
12386 }
12387 arg2 = new wxArrayInt;
12388 temp2 = True;
12389 int i, len=PySequence_Length(obj1);
12390 for (i=0; i<len; i++) {
12391 PyObject* item = PySequence_GetItem(obj1, i);
12392 PyObject* number = PyNumber_Int(item);
12393 arg2->Add(PyInt_AS_LONG(number));
12394 Py_DECREF(item);
12395 Py_DECREF(number);
12396 }
12397 }
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 Py_INCREF(Py_None); resultobj = Py_None;
12406 {
12407 if (temp2) delete arg2;
12408 }
12409 return resultobj;
12410 fail:
12411 {
12412 if (temp2) delete arg2;
12413 }
12414 return NULL;
12415 }
12416
12417
12418 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12419 PyObject *resultobj;
12420 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12421 PyObject *result;
12422 PyObject * obj0 = 0 ;
12423 char *kwnames[] = {
12424 (char *) "self", NULL
12425 };
12426
12427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12430 {
12431 PyThreadState* __tstate = wxPyBeginAllowThreads();
12432 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12433
12434 wxPyEndAllowThreads(__tstate);
12435 if (PyErr_Occurred()) SWIG_fail;
12436 }
12437 resultobj = result;
12438 return resultobj;
12439 fail:
12440 return NULL;
12441 }
12442
12443
12444 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12445 PyObject *obj;
12446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12447 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12448 Py_INCREF(obj);
12449 return Py_BuildValue((char *)"");
12450 }
12451 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12452 PyObject *resultobj;
12453 wxWindow *arg1 = (wxWindow *) 0 ;
12454 wxString *arg2 = 0 ;
12455 wxString *arg3 = 0 ;
12456 int arg4 ;
12457 wxString *arg5 = (wxString *) 0 ;
12458 long arg6 = (long) wxCHOICEDLG_STYLE ;
12459 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12460 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12461 wxSingleChoiceDialog *result;
12462 bool temp2 = False ;
12463 bool temp3 = False ;
12464 wxPoint temp6 ;
12465 PyObject * obj0 = 0 ;
12466 PyObject * obj1 = 0 ;
12467 PyObject * obj2 = 0 ;
12468 PyObject * obj3 = 0 ;
12469 PyObject * obj4 = 0 ;
12470 PyObject * obj5 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12478 {
12479 arg2 = wxString_in_helper(obj1);
12480 if (arg2 == NULL) SWIG_fail;
12481 temp2 = True;
12482 }
12483 {
12484 arg3 = wxString_in_helper(obj2);
12485 if (arg3 == NULL) SWIG_fail;
12486 temp3 = True;
12487 }
12488 {
12489 arg4 = PyList_Size(obj3);
12490 arg5 = wxString_LIST_helper(obj3);
12491 if (arg5 == NULL) SWIG_fail;
12492 }
12493 if (obj4) {
12494 arg6 = (long) SWIG_AsLong(obj4);
12495 if (PyErr_Occurred()) SWIG_fail;
12496 }
12497 if (obj5) {
12498 {
12499 arg7 = &temp6;
12500 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12501 }
12502 }
12503 {
12504 if (!wxPyCheckForApp()) SWIG_fail;
12505 PyThreadState* __tstate = wxPyBeginAllowThreads();
12506 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12507
12508 wxPyEndAllowThreads(__tstate);
12509 if (PyErr_Occurred()) SWIG_fail;
12510 }
12511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12512 {
12513 if (temp2)
12514 delete arg2;
12515 }
12516 {
12517 if (temp3)
12518 delete arg3;
12519 }
12520 {
12521 if (arg5) delete [] arg5;
12522 }
12523 return resultobj;
12524 fail:
12525 {
12526 if (temp2)
12527 delete arg2;
12528 }
12529 {
12530 if (temp3)
12531 delete arg3;
12532 }
12533 {
12534 if (arg5) delete [] arg5;
12535 }
12536 return NULL;
12537 }
12538
12539
12540 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12541 PyObject *resultobj;
12542 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12543 int result;
12544 PyObject * obj0 = 0 ;
12545 char *kwnames[] = {
12546 (char *) "self", NULL
12547 };
12548
12549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 result = (int)(arg1)->GetSelection();
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 resultobj = SWIG_FromInt((int)result);
12560 return resultobj;
12561 fail:
12562 return NULL;
12563 }
12564
12565
12566 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12567 PyObject *resultobj;
12568 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12569 wxString result;
12570 PyObject * obj0 = 0 ;
12571 char *kwnames[] = {
12572 (char *) "self", NULL
12573 };
12574
12575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 result = (arg1)->GetStringSelection();
12581
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
12585 {
12586 #if wxUSE_UNICODE
12587 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12588 #else
12589 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12590 #endif
12591 }
12592 return resultobj;
12593 fail:
12594 return NULL;
12595 }
12596
12597
12598 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12599 PyObject *resultobj;
12600 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12601 int arg2 ;
12602 PyObject * obj0 = 0 ;
12603 PyObject * obj1 = 0 ;
12604 char *kwnames[] = {
12605 (char *) "self",(char *) "sel", NULL
12606 };
12607
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12611 arg2 = (int) SWIG_AsInt(obj1);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 {
12614 PyThreadState* __tstate = wxPyBeginAllowThreads();
12615 (arg1)->SetSelection(arg2);
12616
12617 wxPyEndAllowThreads(__tstate);
12618 if (PyErr_Occurred()) SWIG_fail;
12619 }
12620 Py_INCREF(Py_None); resultobj = Py_None;
12621 return resultobj;
12622 fail:
12623 return NULL;
12624 }
12625
12626
12627 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12628 PyObject *obj;
12629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12630 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12631 Py_INCREF(obj);
12632 return Py_BuildValue((char *)"");
12633 }
12634 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12635 PyObject *resultobj;
12636 wxWindow *arg1 = (wxWindow *) 0 ;
12637 wxString *arg2 = 0 ;
12638 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12639 wxString *arg3 = (wxString *) &arg3_defvalue ;
12640 wxString const &arg4_defvalue = wxPyEmptyString ;
12641 wxString *arg4 = (wxString *) &arg4_defvalue ;
12642 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12643 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12644 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12645 wxTextEntryDialog *result;
12646 bool temp2 = False ;
12647 bool temp3 = False ;
12648 bool temp4 = False ;
12649 wxPoint temp6 ;
12650 PyObject * obj0 = 0 ;
12651 PyObject * obj1 = 0 ;
12652 PyObject * obj2 = 0 ;
12653 PyObject * obj3 = 0 ;
12654 PyObject * obj4 = 0 ;
12655 PyObject * obj5 = 0 ;
12656 char *kwnames[] = {
12657 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12658 };
12659
12660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12663 {
12664 arg2 = wxString_in_helper(obj1);
12665 if (arg2 == NULL) SWIG_fail;
12666 temp2 = True;
12667 }
12668 if (obj2) {
12669 {
12670 arg3 = wxString_in_helper(obj2);
12671 if (arg3 == NULL) SWIG_fail;
12672 temp3 = True;
12673 }
12674 }
12675 if (obj3) {
12676 {
12677 arg4 = wxString_in_helper(obj3);
12678 if (arg4 == NULL) SWIG_fail;
12679 temp4 = True;
12680 }
12681 }
12682 if (obj4) {
12683 arg5 = (long) SWIG_AsLong(obj4);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 if (obj5) {
12687 {
12688 arg6 = &temp6;
12689 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12690 }
12691 }
12692 {
12693 if (!wxPyCheckForApp()) SWIG_fail;
12694 PyThreadState* __tstate = wxPyBeginAllowThreads();
12695 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12696
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 }
12700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12701 {
12702 if (temp2)
12703 delete arg2;
12704 }
12705 {
12706 if (temp3)
12707 delete arg3;
12708 }
12709 {
12710 if (temp4)
12711 delete arg4;
12712 }
12713 return resultobj;
12714 fail:
12715 {
12716 if (temp2)
12717 delete arg2;
12718 }
12719 {
12720 if (temp3)
12721 delete arg3;
12722 }
12723 {
12724 if (temp4)
12725 delete arg4;
12726 }
12727 return NULL;
12728 }
12729
12730
12731 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12732 PyObject *resultobj;
12733 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12734 wxString result;
12735 PyObject * obj0 = 0 ;
12736 char *kwnames[] = {
12737 (char *) "self", NULL
12738 };
12739
12740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12743 {
12744 PyThreadState* __tstate = wxPyBeginAllowThreads();
12745 result = (arg1)->GetValue();
12746
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
12750 {
12751 #if wxUSE_UNICODE
12752 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12753 #else
12754 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12755 #endif
12756 }
12757 return resultobj;
12758 fail:
12759 return NULL;
12760 }
12761
12762
12763 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12764 PyObject *resultobj;
12765 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12766 wxString *arg2 = 0 ;
12767 bool temp2 = False ;
12768 PyObject * obj0 = 0 ;
12769 PyObject * obj1 = 0 ;
12770 char *kwnames[] = {
12771 (char *) "self",(char *) "value", NULL
12772 };
12773
12774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12777 {
12778 arg2 = wxString_in_helper(obj1);
12779 if (arg2 == NULL) SWIG_fail;
12780 temp2 = True;
12781 }
12782 {
12783 PyThreadState* __tstate = wxPyBeginAllowThreads();
12784 (arg1)->SetValue((wxString const &)*arg2);
12785
12786 wxPyEndAllowThreads(__tstate);
12787 if (PyErr_Occurred()) SWIG_fail;
12788 }
12789 Py_INCREF(Py_None); resultobj = Py_None;
12790 {
12791 if (temp2)
12792 delete arg2;
12793 }
12794 return resultobj;
12795 fail:
12796 {
12797 if (temp2)
12798 delete arg2;
12799 }
12800 return NULL;
12801 }
12802
12803
12804 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12805 PyObject *obj;
12806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12807 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12808 Py_INCREF(obj);
12809 return Py_BuildValue((char *)"");
12810 }
12811 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12812 PyObject *resultobj;
12813 wxFontData *result;
12814 char *kwnames[] = {
12815 NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12819 {
12820 PyThreadState* __tstate = wxPyBeginAllowThreads();
12821 result = (wxFontData *)new wxFontData();
12822
12823 wxPyEndAllowThreads(__tstate);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 }
12826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12827 return resultobj;
12828 fail:
12829 return NULL;
12830 }
12831
12832
12833 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12834 PyObject *resultobj;
12835 wxFontData *arg1 = (wxFontData *) 0 ;
12836 PyObject * obj0 = 0 ;
12837 char *kwnames[] = {
12838 (char *) "self", NULL
12839 };
12840
12841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12844 {
12845 PyThreadState* __tstate = wxPyBeginAllowThreads();
12846 delete arg1;
12847
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 Py_INCREF(Py_None); resultobj = Py_None;
12852 return resultobj;
12853 fail:
12854 return NULL;
12855 }
12856
12857
12858 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj;
12860 wxFontData *arg1 = (wxFontData *) 0 ;
12861 bool arg2 ;
12862 PyObject * obj0 = 0 ;
12863 PyObject * obj1 = 0 ;
12864 char *kwnames[] = {
12865 (char *) "self",(char *) "enable", NULL
12866 };
12867
12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12871 arg2 = (bool) SWIG_AsBool(obj1);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 {
12874 PyThreadState* __tstate = wxPyBeginAllowThreads();
12875 (arg1)->EnableEffects(arg2);
12876
12877 wxPyEndAllowThreads(__tstate);
12878 if (PyErr_Occurred()) SWIG_fail;
12879 }
12880 Py_INCREF(Py_None); resultobj = Py_None;
12881 return resultobj;
12882 fail:
12883 return NULL;
12884 }
12885
12886
12887 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12888 PyObject *resultobj;
12889 wxFontData *arg1 = (wxFontData *) 0 ;
12890 bool result;
12891 PyObject * obj0 = 0 ;
12892 char *kwnames[] = {
12893 (char *) "self", NULL
12894 };
12895
12896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12899 {
12900 PyThreadState* __tstate = wxPyBeginAllowThreads();
12901 result = (bool)(arg1)->GetAllowSymbols();
12902
12903 wxPyEndAllowThreads(__tstate);
12904 if (PyErr_Occurred()) SWIG_fail;
12905 }
12906 {
12907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12908 }
12909 return resultobj;
12910 fail:
12911 return NULL;
12912 }
12913
12914
12915 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12916 PyObject *resultobj;
12917 wxFontData *arg1 = (wxFontData *) 0 ;
12918 wxColour result;
12919 PyObject * obj0 = 0 ;
12920 char *kwnames[] = {
12921 (char *) "self", NULL
12922 };
12923
12924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12927 {
12928 PyThreadState* __tstate = wxPyBeginAllowThreads();
12929 result = (arg1)->GetColour();
12930
12931 wxPyEndAllowThreads(__tstate);
12932 if (PyErr_Occurred()) SWIG_fail;
12933 }
12934 {
12935 wxColour * resultptr;
12936 resultptr = new wxColour((wxColour &) result);
12937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12938 }
12939 return resultobj;
12940 fail:
12941 return NULL;
12942 }
12943
12944
12945 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12946 PyObject *resultobj;
12947 wxFontData *arg1 = (wxFontData *) 0 ;
12948 wxFont result;
12949 PyObject * obj0 = 0 ;
12950 char *kwnames[] = {
12951 (char *) "self", NULL
12952 };
12953
12954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12957 {
12958 PyThreadState* __tstate = wxPyBeginAllowThreads();
12959 result = (arg1)->GetChosenFont();
12960
12961 wxPyEndAllowThreads(__tstate);
12962 if (PyErr_Occurred()) SWIG_fail;
12963 }
12964 {
12965 wxFont * resultptr;
12966 resultptr = new wxFont((wxFont &) result);
12967 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12968 }
12969 return resultobj;
12970 fail:
12971 return NULL;
12972 }
12973
12974
12975 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12976 PyObject *resultobj;
12977 wxFontData *arg1 = (wxFontData *) 0 ;
12978 bool result;
12979 PyObject * obj0 = 0 ;
12980 char *kwnames[] = {
12981 (char *) "self", NULL
12982 };
12983
12984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12987 {
12988 PyThreadState* __tstate = wxPyBeginAllowThreads();
12989 result = (bool)(arg1)->GetEnableEffects();
12990
12991 wxPyEndAllowThreads(__tstate);
12992 if (PyErr_Occurred()) SWIG_fail;
12993 }
12994 {
12995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12996 }
12997 return resultobj;
12998 fail:
12999 return NULL;
13000 }
13001
13002
13003 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13004 PyObject *resultobj;
13005 wxFontData *arg1 = (wxFontData *) 0 ;
13006 wxFont result;
13007 PyObject * obj0 = 0 ;
13008 char *kwnames[] = {
13009 (char *) "self", NULL
13010 };
13011
13012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13015 {
13016 PyThreadState* __tstate = wxPyBeginAllowThreads();
13017 result = (arg1)->GetInitialFont();
13018
13019 wxPyEndAllowThreads(__tstate);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 {
13023 wxFont * resultptr;
13024 resultptr = new wxFont((wxFont &) result);
13025 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13026 }
13027 return resultobj;
13028 fail:
13029 return NULL;
13030 }
13031
13032
13033 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13034 PyObject *resultobj;
13035 wxFontData *arg1 = (wxFontData *) 0 ;
13036 bool result;
13037 PyObject * obj0 = 0 ;
13038 char *kwnames[] = {
13039 (char *) "self", NULL
13040 };
13041
13042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13045 {
13046 PyThreadState* __tstate = wxPyBeginAllowThreads();
13047 result = (bool)(arg1)->GetShowHelp();
13048
13049 wxPyEndAllowThreads(__tstate);
13050 if (PyErr_Occurred()) SWIG_fail;
13051 }
13052 {
13053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13054 }
13055 return resultobj;
13056 fail:
13057 return NULL;
13058 }
13059
13060
13061 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13062 PyObject *resultobj;
13063 wxFontData *arg1 = (wxFontData *) 0 ;
13064 bool arg2 ;
13065 PyObject * obj0 = 0 ;
13066 PyObject * obj1 = 0 ;
13067 char *kwnames[] = {
13068 (char *) "self",(char *) "allowSymbols", NULL
13069 };
13070
13071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13074 arg2 = (bool) SWIG_AsBool(obj1);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 {
13077 PyThreadState* __tstate = wxPyBeginAllowThreads();
13078 (arg1)->SetAllowSymbols(arg2);
13079
13080 wxPyEndAllowThreads(__tstate);
13081 if (PyErr_Occurred()) SWIG_fail;
13082 }
13083 Py_INCREF(Py_None); resultobj = Py_None;
13084 return resultobj;
13085 fail:
13086 return NULL;
13087 }
13088
13089
13090 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13091 PyObject *resultobj;
13092 wxFontData *arg1 = (wxFontData *) 0 ;
13093 wxFont *arg2 = 0 ;
13094 PyObject * obj0 = 0 ;
13095 PyObject * obj1 = 0 ;
13096 char *kwnames[] = {
13097 (char *) "self",(char *) "font", NULL
13098 };
13099
13100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13104 SWIG_POINTER_EXCEPTION | 0)) == -1)
13105 SWIG_fail;
13106 if (arg2 == NULL) {
13107 PyErr_SetString(PyExc_TypeError,"null reference");
13108 SWIG_fail;
13109 }
13110 {
13111 PyThreadState* __tstate = wxPyBeginAllowThreads();
13112 (arg1)->SetChosenFont((wxFont const &)*arg2);
13113
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
13117 Py_INCREF(Py_None); resultobj = Py_None;
13118 return resultobj;
13119 fail:
13120 return NULL;
13121 }
13122
13123
13124 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13125 PyObject *resultobj;
13126 wxFontData *arg1 = (wxFontData *) 0 ;
13127 wxColour *arg2 = 0 ;
13128 wxColour temp2 ;
13129 PyObject * obj0 = 0 ;
13130 PyObject * obj1 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self",(char *) "colour", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13138 {
13139 arg2 = &temp2;
13140 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13141 }
13142 {
13143 PyThreadState* __tstate = wxPyBeginAllowThreads();
13144 (arg1)->SetColour((wxColour const &)*arg2);
13145
13146 wxPyEndAllowThreads(__tstate);
13147 if (PyErr_Occurred()) SWIG_fail;
13148 }
13149 Py_INCREF(Py_None); resultobj = Py_None;
13150 return resultobj;
13151 fail:
13152 return NULL;
13153 }
13154
13155
13156 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13157 PyObject *resultobj;
13158 wxFontData *arg1 = (wxFontData *) 0 ;
13159 wxFont *arg2 = 0 ;
13160 PyObject * obj0 = 0 ;
13161 PyObject * obj1 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self",(char *) "font", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13169 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13170 SWIG_POINTER_EXCEPTION | 0)) == -1)
13171 SWIG_fail;
13172 if (arg2 == NULL) {
13173 PyErr_SetString(PyExc_TypeError,"null reference");
13174 SWIG_fail;
13175 }
13176 {
13177 PyThreadState* __tstate = wxPyBeginAllowThreads();
13178 (arg1)->SetInitialFont((wxFont const &)*arg2);
13179
13180 wxPyEndAllowThreads(__tstate);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 }
13183 Py_INCREF(Py_None); resultobj = Py_None;
13184 return resultobj;
13185 fail:
13186 return NULL;
13187 }
13188
13189
13190 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13191 PyObject *resultobj;
13192 wxFontData *arg1 = (wxFontData *) 0 ;
13193 int arg2 ;
13194 int arg3 ;
13195 PyObject * obj0 = 0 ;
13196 PyObject * obj1 = 0 ;
13197 PyObject * obj2 = 0 ;
13198 char *kwnames[] = {
13199 (char *) "self",(char *) "min",(char *) "max", NULL
13200 };
13201
13202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13205 arg2 = (int) SWIG_AsInt(obj1);
13206 if (PyErr_Occurred()) SWIG_fail;
13207 arg3 = (int) SWIG_AsInt(obj2);
13208 if (PyErr_Occurred()) SWIG_fail;
13209 {
13210 PyThreadState* __tstate = wxPyBeginAllowThreads();
13211 (arg1)->SetRange(arg2,arg3);
13212
13213 wxPyEndAllowThreads(__tstate);
13214 if (PyErr_Occurred()) SWIG_fail;
13215 }
13216 Py_INCREF(Py_None); resultobj = Py_None;
13217 return resultobj;
13218 fail:
13219 return NULL;
13220 }
13221
13222
13223 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13224 PyObject *resultobj;
13225 wxFontData *arg1 = (wxFontData *) 0 ;
13226 bool arg2 ;
13227 PyObject * obj0 = 0 ;
13228 PyObject * obj1 = 0 ;
13229 char *kwnames[] = {
13230 (char *) "self",(char *) "showHelp", NULL
13231 };
13232
13233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13236 arg2 = (bool) SWIG_AsBool(obj1);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 {
13239 PyThreadState* __tstate = wxPyBeginAllowThreads();
13240 (arg1)->SetShowHelp(arg2);
13241
13242 wxPyEndAllowThreads(__tstate);
13243 if (PyErr_Occurred()) SWIG_fail;
13244 }
13245 Py_INCREF(Py_None); resultobj = Py_None;
13246 return resultobj;
13247 fail:
13248 return NULL;
13249 }
13250
13251
13252 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13253 PyObject *obj;
13254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13255 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13256 Py_INCREF(obj);
13257 return Py_BuildValue((char *)"");
13258 }
13259 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13260 PyObject *resultobj;
13261 wxWindow *arg1 = (wxWindow *) 0 ;
13262 wxFontData *arg2 = 0 ;
13263 wxFontDialog *result;
13264 PyObject * obj0 = 0 ;
13265 PyObject * obj1 = 0 ;
13266 char *kwnames[] = {
13267 (char *) "parent",(char *) "data", NULL
13268 };
13269
13270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13274 SWIG_POINTER_EXCEPTION | 0)) == -1)
13275 SWIG_fail;
13276 if (arg2 == NULL) {
13277 PyErr_SetString(PyExc_TypeError,"null reference");
13278 SWIG_fail;
13279 }
13280 {
13281 if (!wxPyCheckForApp()) SWIG_fail;
13282 PyThreadState* __tstate = wxPyBeginAllowThreads();
13283 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13284
13285 wxPyEndAllowThreads(__tstate);
13286 if (PyErr_Occurred()) SWIG_fail;
13287 }
13288 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13289 return resultobj;
13290 fail:
13291 return NULL;
13292 }
13293
13294
13295 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13296 PyObject *resultobj;
13297 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13298 wxFontData *result;
13299 PyObject * obj0 = 0 ;
13300 char *kwnames[] = {
13301 (char *) "self", NULL
13302 };
13303
13304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13307 {
13308 PyThreadState* __tstate = wxPyBeginAllowThreads();
13309 {
13310 wxFontData &_result_ref = (arg1)->GetFontData();
13311 result = (wxFontData *) &_result_ref;
13312 }
13313
13314 wxPyEndAllowThreads(__tstate);
13315 if (PyErr_Occurred()) SWIG_fail;
13316 }
13317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13318 return resultobj;
13319 fail:
13320 return NULL;
13321 }
13322
13323
13324 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13325 PyObject *obj;
13326 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13327 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13328 Py_INCREF(obj);
13329 return Py_BuildValue((char *)"");
13330 }
13331 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13332 PyObject *resultobj;
13333 wxWindow *arg1 = (wxWindow *) 0 ;
13334 wxString *arg2 = 0 ;
13335 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13336 wxString *arg3 = (wxString *) &arg3_defvalue ;
13337 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13338 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13339 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13340 wxMessageDialog *result;
13341 bool temp2 = False ;
13342 bool temp3 = False ;
13343 wxPoint temp5 ;
13344 PyObject * obj0 = 0 ;
13345 PyObject * obj1 = 0 ;
13346 PyObject * obj2 = 0 ;
13347 PyObject * obj3 = 0 ;
13348 PyObject * obj4 = 0 ;
13349 char *kwnames[] = {
13350 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13351 };
13352
13353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13356 {
13357 arg2 = wxString_in_helper(obj1);
13358 if (arg2 == NULL) SWIG_fail;
13359 temp2 = True;
13360 }
13361 if (obj2) {
13362 {
13363 arg3 = wxString_in_helper(obj2);
13364 if (arg3 == NULL) SWIG_fail;
13365 temp3 = True;
13366 }
13367 }
13368 if (obj3) {
13369 arg4 = (long) SWIG_AsLong(obj3);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 if (obj4) {
13373 {
13374 arg5 = &temp5;
13375 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13376 }
13377 }
13378 {
13379 if (!wxPyCheckForApp()) SWIG_fail;
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13382
13383 wxPyEndAllowThreads(__tstate);
13384 if (PyErr_Occurred()) SWIG_fail;
13385 }
13386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13387 {
13388 if (temp2)
13389 delete arg2;
13390 }
13391 {
13392 if (temp3)
13393 delete arg3;
13394 }
13395 return resultobj;
13396 fail:
13397 {
13398 if (temp2)
13399 delete arg2;
13400 }
13401 {
13402 if (temp3)
13403 delete arg3;
13404 }
13405 return NULL;
13406 }
13407
13408
13409 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13410 PyObject *obj;
13411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13412 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13413 Py_INCREF(obj);
13414 return Py_BuildValue((char *)"");
13415 }
13416 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13417 PyObject *resultobj;
13418 wxString *arg1 = 0 ;
13419 wxString *arg2 = 0 ;
13420 int arg3 = (int) 100 ;
13421 wxWindow *arg4 = (wxWindow *) NULL ;
13422 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13423 wxProgressDialog *result;
13424 bool temp1 = False ;
13425 bool temp2 = False ;
13426 PyObject * obj0 = 0 ;
13427 PyObject * obj1 = 0 ;
13428 PyObject * obj2 = 0 ;
13429 PyObject * obj3 = 0 ;
13430 PyObject * obj4 = 0 ;
13431 char *kwnames[] = {
13432 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13433 };
13434
13435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13436 {
13437 arg1 = wxString_in_helper(obj0);
13438 if (arg1 == NULL) SWIG_fail;
13439 temp1 = True;
13440 }
13441 {
13442 arg2 = wxString_in_helper(obj1);
13443 if (arg2 == NULL) SWIG_fail;
13444 temp2 = True;
13445 }
13446 if (obj2) {
13447 arg3 = (int) SWIG_AsInt(obj2);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 if (obj3) {
13451 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13453 }
13454 if (obj4) {
13455 arg5 = (int) SWIG_AsInt(obj4);
13456 if (PyErr_Occurred()) SWIG_fail;
13457 }
13458 {
13459 if (!wxPyCheckForApp()) SWIG_fail;
13460 PyThreadState* __tstate = wxPyBeginAllowThreads();
13461 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13462
13463 wxPyEndAllowThreads(__tstate);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 }
13466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13467 {
13468 if (temp1)
13469 delete arg1;
13470 }
13471 {
13472 if (temp2)
13473 delete arg2;
13474 }
13475 return resultobj;
13476 fail:
13477 {
13478 if (temp1)
13479 delete arg1;
13480 }
13481 {
13482 if (temp2)
13483 delete arg2;
13484 }
13485 return NULL;
13486 }
13487
13488
13489 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13490 PyObject *resultobj;
13491 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13492 int arg2 ;
13493 wxString const &arg3_defvalue = wxPyEmptyString ;
13494 wxString *arg3 = (wxString *) &arg3_defvalue ;
13495 bool result;
13496 bool temp3 = False ;
13497 PyObject * obj0 = 0 ;
13498 PyObject * obj1 = 0 ;
13499 PyObject * obj2 = 0 ;
13500 char *kwnames[] = {
13501 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13502 };
13503
13504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13507 arg2 = (int) SWIG_AsInt(obj1);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 if (obj2) {
13510 {
13511 arg3 = wxString_in_helper(obj2);
13512 if (arg3 == NULL) SWIG_fail;
13513 temp3 = True;
13514 }
13515 }
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 {
13524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13525 }
13526 {
13527 if (temp3)
13528 delete arg3;
13529 }
13530 return resultobj;
13531 fail:
13532 {
13533 if (temp3)
13534 delete arg3;
13535 }
13536 return NULL;
13537 }
13538
13539
13540 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13541 PyObject *resultobj;
13542 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13543 PyObject * obj0 = 0 ;
13544 char *kwnames[] = {
13545 (char *) "self", NULL
13546 };
13547
13548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13551 {
13552 PyThreadState* __tstate = wxPyBeginAllowThreads();
13553 (arg1)->Resume();
13554
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
13558 Py_INCREF(Py_None); resultobj = Py_None;
13559 return resultobj;
13560 fail:
13561 return NULL;
13562 }
13563
13564
13565 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13566 PyObject *obj;
13567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13568 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13569 Py_INCREF(obj);
13570 return Py_BuildValue((char *)"");
13571 }
13572 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13573 PyObject *resultobj;
13574 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13575 int arg2 = (int) 0 ;
13576 wxFindDialogEvent *result;
13577 PyObject * obj0 = 0 ;
13578 PyObject * obj1 = 0 ;
13579 char *kwnames[] = {
13580 (char *) "commandType",(char *) "id", NULL
13581 };
13582
13583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13584 if (obj0) {
13585 arg1 = (wxEventType) SWIG_AsInt(obj0);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 if (obj1) {
13589 arg2 = (int) SWIG_AsInt(obj1);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
13592 {
13593 PyThreadState* __tstate = wxPyBeginAllowThreads();
13594 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13595
13596 wxPyEndAllowThreads(__tstate);
13597 if (PyErr_Occurred()) SWIG_fail;
13598 }
13599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13600 return resultobj;
13601 fail:
13602 return NULL;
13603 }
13604
13605
13606 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13607 PyObject *resultobj;
13608 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13609 int result;
13610 PyObject * obj0 = 0 ;
13611 char *kwnames[] = {
13612 (char *) "self", NULL
13613 };
13614
13615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13618 {
13619 PyThreadState* __tstate = wxPyBeginAllowThreads();
13620 result = (int)(arg1)->GetFlags();
13621
13622 wxPyEndAllowThreads(__tstate);
13623 if (PyErr_Occurred()) SWIG_fail;
13624 }
13625 resultobj = SWIG_FromInt((int)result);
13626 return resultobj;
13627 fail:
13628 return NULL;
13629 }
13630
13631
13632 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13633 PyObject *resultobj;
13634 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13635 wxString *result;
13636 PyObject * obj0 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "self", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13644 {
13645 PyThreadState* __tstate = wxPyBeginAllowThreads();
13646 {
13647 wxString const &_result_ref = (arg1)->GetFindString();
13648 result = (wxString *) &_result_ref;
13649 }
13650
13651 wxPyEndAllowThreads(__tstate);
13652 if (PyErr_Occurred()) SWIG_fail;
13653 }
13654 {
13655 #if wxUSE_UNICODE
13656 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13657 #else
13658 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13659 #endif
13660 }
13661 return resultobj;
13662 fail:
13663 return NULL;
13664 }
13665
13666
13667 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13668 PyObject *resultobj;
13669 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13670 wxString *result;
13671 PyObject * obj0 = 0 ;
13672 char *kwnames[] = {
13673 (char *) "self", NULL
13674 };
13675
13676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13679 {
13680 PyThreadState* __tstate = wxPyBeginAllowThreads();
13681 {
13682 wxString const &_result_ref = (arg1)->GetReplaceString();
13683 result = (wxString *) &_result_ref;
13684 }
13685
13686 wxPyEndAllowThreads(__tstate);
13687 if (PyErr_Occurred()) SWIG_fail;
13688 }
13689 {
13690 #if wxUSE_UNICODE
13691 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13692 #else
13693 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13694 #endif
13695 }
13696 return resultobj;
13697 fail:
13698 return NULL;
13699 }
13700
13701
13702 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13703 PyObject *resultobj;
13704 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13705 wxFindReplaceDialog *result;
13706 PyObject * obj0 = 0 ;
13707 char *kwnames[] = {
13708 (char *) "self", NULL
13709 };
13710
13711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13714 {
13715 PyThreadState* __tstate = wxPyBeginAllowThreads();
13716 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13717
13718 wxPyEndAllowThreads(__tstate);
13719 if (PyErr_Occurred()) SWIG_fail;
13720 }
13721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13722 return resultobj;
13723 fail:
13724 return NULL;
13725 }
13726
13727
13728 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13729 PyObject *resultobj;
13730 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13731 int arg2 ;
13732 PyObject * obj0 = 0 ;
13733 PyObject * obj1 = 0 ;
13734 char *kwnames[] = {
13735 (char *) "self",(char *) "flags", NULL
13736 };
13737
13738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13741 arg2 = (int) SWIG_AsInt(obj1);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 (arg1)->SetFlags(arg2);
13746
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 Py_INCREF(Py_None); resultobj = Py_None;
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj;
13759 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13760 wxString *arg2 = 0 ;
13761 bool temp2 = False ;
13762 PyObject * obj0 = 0 ;
13763 PyObject * obj1 = 0 ;
13764 char *kwnames[] = {
13765 (char *) "self",(char *) "str", NULL
13766 };
13767
13768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13771 {
13772 arg2 = wxString_in_helper(obj1);
13773 if (arg2 == NULL) SWIG_fail;
13774 temp2 = True;
13775 }
13776 {
13777 PyThreadState* __tstate = wxPyBeginAllowThreads();
13778 (arg1)->SetFindString((wxString const &)*arg2);
13779
13780 wxPyEndAllowThreads(__tstate);
13781 if (PyErr_Occurred()) SWIG_fail;
13782 }
13783 Py_INCREF(Py_None); resultobj = Py_None;
13784 {
13785 if (temp2)
13786 delete arg2;
13787 }
13788 return resultobj;
13789 fail:
13790 {
13791 if (temp2)
13792 delete arg2;
13793 }
13794 return NULL;
13795 }
13796
13797
13798 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13799 PyObject *resultobj;
13800 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13801 wxString *arg2 = 0 ;
13802 bool temp2 = False ;
13803 PyObject * obj0 = 0 ;
13804 PyObject * obj1 = 0 ;
13805 char *kwnames[] = {
13806 (char *) "self",(char *) "str", NULL
13807 };
13808
13809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13812 {
13813 arg2 = wxString_in_helper(obj1);
13814 if (arg2 == NULL) SWIG_fail;
13815 temp2 = True;
13816 }
13817 {
13818 PyThreadState* __tstate = wxPyBeginAllowThreads();
13819 (arg1)->SetReplaceString((wxString const &)*arg2);
13820
13821 wxPyEndAllowThreads(__tstate);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 }
13824 Py_INCREF(Py_None); resultobj = Py_None;
13825 {
13826 if (temp2)
13827 delete arg2;
13828 }
13829 return resultobj;
13830 fail:
13831 {
13832 if (temp2)
13833 delete arg2;
13834 }
13835 return NULL;
13836 }
13837
13838
13839 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13840 PyObject *obj;
13841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13842 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13843 Py_INCREF(obj);
13844 return Py_BuildValue((char *)"");
13845 }
13846 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13847 PyObject *resultobj;
13848 int arg1 = (int) 0 ;
13849 wxFindReplaceData *result;
13850 PyObject * obj0 = 0 ;
13851 char *kwnames[] = {
13852 (char *) "flags", NULL
13853 };
13854
13855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13856 if (obj0) {
13857 arg1 = (int) SWIG_AsInt(obj0);
13858 if (PyErr_Occurred()) SWIG_fail;
13859 }
13860 {
13861 PyThreadState* __tstate = wxPyBeginAllowThreads();
13862 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13863
13864 wxPyEndAllowThreads(__tstate);
13865 if (PyErr_Occurred()) SWIG_fail;
13866 }
13867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13868 return resultobj;
13869 fail:
13870 return NULL;
13871 }
13872
13873
13874 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13875 PyObject *resultobj;
13876 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13877 PyObject * obj0 = 0 ;
13878 char *kwnames[] = {
13879 (char *) "self", NULL
13880 };
13881
13882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13885 {
13886 PyThreadState* __tstate = wxPyBeginAllowThreads();
13887 delete arg1;
13888
13889 wxPyEndAllowThreads(__tstate);
13890 if (PyErr_Occurred()) SWIG_fail;
13891 }
13892 Py_INCREF(Py_None); resultobj = Py_None;
13893 return resultobj;
13894 fail:
13895 return NULL;
13896 }
13897
13898
13899 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13900 PyObject *resultobj;
13901 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13902 wxString *result;
13903 PyObject * obj0 = 0 ;
13904 char *kwnames[] = {
13905 (char *) "self", NULL
13906 };
13907
13908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13911 {
13912 PyThreadState* __tstate = wxPyBeginAllowThreads();
13913 {
13914 wxString const &_result_ref = (arg1)->GetFindString();
13915 result = (wxString *) &_result_ref;
13916 }
13917
13918 wxPyEndAllowThreads(__tstate);
13919 if (PyErr_Occurred()) SWIG_fail;
13920 }
13921 {
13922 #if wxUSE_UNICODE
13923 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13924 #else
13925 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13926 #endif
13927 }
13928 return resultobj;
13929 fail:
13930 return NULL;
13931 }
13932
13933
13934 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj;
13936 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13937 wxString *result;
13938 PyObject * obj0 = 0 ;
13939 char *kwnames[] = {
13940 (char *) "self", NULL
13941 };
13942
13943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 {
13949 wxString const &_result_ref = (arg1)->GetReplaceString();
13950 result = (wxString *) &_result_ref;
13951 }
13952
13953 wxPyEndAllowThreads(__tstate);
13954 if (PyErr_Occurred()) SWIG_fail;
13955 }
13956 {
13957 #if wxUSE_UNICODE
13958 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13959 #else
13960 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13961 #endif
13962 }
13963 return resultobj;
13964 fail:
13965 return NULL;
13966 }
13967
13968
13969 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13970 PyObject *resultobj;
13971 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13972 int result;
13973 PyObject * obj0 = 0 ;
13974 char *kwnames[] = {
13975 (char *) "self", NULL
13976 };
13977
13978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13981 {
13982 PyThreadState* __tstate = wxPyBeginAllowThreads();
13983 result = (int)(arg1)->GetFlags();
13984
13985 wxPyEndAllowThreads(__tstate);
13986 if (PyErr_Occurred()) SWIG_fail;
13987 }
13988 resultobj = SWIG_FromInt((int)result);
13989 return resultobj;
13990 fail:
13991 return NULL;
13992 }
13993
13994
13995 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13996 PyObject *resultobj;
13997 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13998 int arg2 ;
13999 PyObject * obj0 = 0 ;
14000 PyObject * obj1 = 0 ;
14001 char *kwnames[] = {
14002 (char *) "self",(char *) "flags", NULL
14003 };
14004
14005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14008 arg2 = (int) SWIG_AsInt(obj1);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 {
14011 PyThreadState* __tstate = wxPyBeginAllowThreads();
14012 (arg1)->SetFlags(arg2);
14013
14014 wxPyEndAllowThreads(__tstate);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 }
14017 Py_INCREF(Py_None); resultobj = Py_None;
14018 return resultobj;
14019 fail:
14020 return NULL;
14021 }
14022
14023
14024 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14025 PyObject *resultobj;
14026 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14027 wxString *arg2 = 0 ;
14028 bool temp2 = False ;
14029 PyObject * obj0 = 0 ;
14030 PyObject * obj1 = 0 ;
14031 char *kwnames[] = {
14032 (char *) "self",(char *) "str", NULL
14033 };
14034
14035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14038 {
14039 arg2 = wxString_in_helper(obj1);
14040 if (arg2 == NULL) SWIG_fail;
14041 temp2 = True;
14042 }
14043 {
14044 PyThreadState* __tstate = wxPyBeginAllowThreads();
14045 (arg1)->SetFindString((wxString const &)*arg2);
14046
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 Py_INCREF(Py_None); resultobj = Py_None;
14051 {
14052 if (temp2)
14053 delete arg2;
14054 }
14055 return resultobj;
14056 fail:
14057 {
14058 if (temp2)
14059 delete arg2;
14060 }
14061 return NULL;
14062 }
14063
14064
14065 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14066 PyObject *resultobj;
14067 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14068 wxString *arg2 = 0 ;
14069 bool temp2 = False ;
14070 PyObject * obj0 = 0 ;
14071 PyObject * obj1 = 0 ;
14072 char *kwnames[] = {
14073 (char *) "self",(char *) "str", NULL
14074 };
14075
14076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14079 {
14080 arg2 = wxString_in_helper(obj1);
14081 if (arg2 == NULL) SWIG_fail;
14082 temp2 = True;
14083 }
14084 {
14085 PyThreadState* __tstate = wxPyBeginAllowThreads();
14086 (arg1)->SetReplaceString((wxString const &)*arg2);
14087
14088 wxPyEndAllowThreads(__tstate);
14089 if (PyErr_Occurred()) SWIG_fail;
14090 }
14091 Py_INCREF(Py_None); resultobj = Py_None;
14092 {
14093 if (temp2)
14094 delete arg2;
14095 }
14096 return resultobj;
14097 fail:
14098 {
14099 if (temp2)
14100 delete arg2;
14101 }
14102 return NULL;
14103 }
14104
14105
14106 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14107 PyObject *obj;
14108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14109 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14110 Py_INCREF(obj);
14111 return Py_BuildValue((char *)"");
14112 }
14113 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14114 PyObject *resultobj;
14115 wxWindow *arg1 = (wxWindow *) 0 ;
14116 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14117 wxString *arg3 = 0 ;
14118 int arg4 = (int) 0 ;
14119 wxFindReplaceDialog *result;
14120 bool temp3 = False ;
14121 PyObject * obj0 = 0 ;
14122 PyObject * obj1 = 0 ;
14123 PyObject * obj2 = 0 ;
14124 PyObject * obj3 = 0 ;
14125 char *kwnames[] = {
14126 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14127 };
14128
14129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14134 {
14135 arg3 = wxString_in_helper(obj2);
14136 if (arg3 == NULL) SWIG_fail;
14137 temp3 = True;
14138 }
14139 if (obj3) {
14140 arg4 = (int) SWIG_AsInt(obj3);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 {
14144 if (!wxPyCheckForApp()) SWIG_fail;
14145 PyThreadState* __tstate = wxPyBeginAllowThreads();
14146 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14147
14148 wxPyEndAllowThreads(__tstate);
14149 if (PyErr_Occurred()) SWIG_fail;
14150 }
14151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14152 {
14153 if (temp3)
14154 delete arg3;
14155 }
14156 return resultobj;
14157 fail:
14158 {
14159 if (temp3)
14160 delete arg3;
14161 }
14162 return NULL;
14163 }
14164
14165
14166 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14167 PyObject *resultobj;
14168 wxFindReplaceDialog *result;
14169 char *kwnames[] = {
14170 NULL
14171 };
14172
14173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14174 {
14175 if (!wxPyCheckForApp()) SWIG_fail;
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14178
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
14182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14183 return resultobj;
14184 fail:
14185 return NULL;
14186 }
14187
14188
14189 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14190 PyObject *resultobj;
14191 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14192 wxWindow *arg2 = (wxWindow *) 0 ;
14193 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14194 wxString *arg4 = 0 ;
14195 int arg5 = (int) 0 ;
14196 bool result;
14197 bool temp4 = False ;
14198 PyObject * obj0 = 0 ;
14199 PyObject * obj1 = 0 ;
14200 PyObject * obj2 = 0 ;
14201 PyObject * obj3 = 0 ;
14202 PyObject * obj4 = 0 ;
14203 char *kwnames[] = {
14204 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14205 };
14206
14207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14210 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14212 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14214 {
14215 arg4 = wxString_in_helper(obj3);
14216 if (arg4 == NULL) SWIG_fail;
14217 temp4 = True;
14218 }
14219 if (obj4) {
14220 arg5 = (int) SWIG_AsInt(obj4);
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 {
14224 PyThreadState* __tstate = wxPyBeginAllowThreads();
14225 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14226
14227 wxPyEndAllowThreads(__tstate);
14228 if (PyErr_Occurred()) SWIG_fail;
14229 }
14230 {
14231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14232 }
14233 {
14234 if (temp4)
14235 delete arg4;
14236 }
14237 return resultobj;
14238 fail:
14239 {
14240 if (temp4)
14241 delete arg4;
14242 }
14243 return NULL;
14244 }
14245
14246
14247 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14248 PyObject *resultobj;
14249 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14250 wxFindReplaceData *result;
14251 PyObject * obj0 = 0 ;
14252 char *kwnames[] = {
14253 (char *) "self", NULL
14254 };
14255
14256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14259 {
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 result = (wxFindReplaceData *)(arg1)->GetData();
14262
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14267 return resultobj;
14268 fail:
14269 return NULL;
14270 }
14271
14272
14273 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14274 PyObject *resultobj;
14275 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14276 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14277 PyObject * obj0 = 0 ;
14278 PyObject * obj1 = 0 ;
14279 char *kwnames[] = {
14280 (char *) "self",(char *) "data", NULL
14281 };
14282
14283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14288 {
14289 PyThreadState* __tstate = wxPyBeginAllowThreads();
14290 (arg1)->SetData(arg2);
14291
14292 wxPyEndAllowThreads(__tstate);
14293 if (PyErr_Occurred()) SWIG_fail;
14294 }
14295 Py_INCREF(Py_None); resultobj = Py_None;
14296 return resultobj;
14297 fail:
14298 return NULL;
14299 }
14300
14301
14302 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14303 PyObject *obj;
14304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14305 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14306 Py_INCREF(obj);
14307 return Py_BuildValue((char *)"");
14308 }
14309 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14310 PyObject *resultobj;
14311 wxWindow *arg1 = (wxWindow *) 0 ;
14312 int arg2 = (int) (int)-1 ;
14313 wxString const &arg3_defvalue = wxPyEmptyString ;
14314 wxString *arg3 = (wxString *) &arg3_defvalue ;
14315 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14316 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14317 wxSize const &arg5_defvalue = wxDefaultSize ;
14318 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14319 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14320 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14321 wxString *arg7 = (wxString *) &arg7_defvalue ;
14322 wxMDIParentFrame *result;
14323 bool temp3 = False ;
14324 wxPoint temp4 ;
14325 wxSize temp5 ;
14326 bool temp7 = False ;
14327 PyObject * obj0 = 0 ;
14328 PyObject * obj1 = 0 ;
14329 PyObject * obj2 = 0 ;
14330 PyObject * obj3 = 0 ;
14331 PyObject * obj4 = 0 ;
14332 PyObject * obj5 = 0 ;
14333 PyObject * obj6 = 0 ;
14334 char *kwnames[] = {
14335 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14336 };
14337
14338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14341 if (obj1) {
14342 arg2 = (int const) SWIG_AsInt(obj1);
14343 if (PyErr_Occurred()) SWIG_fail;
14344 }
14345 if (obj2) {
14346 {
14347 arg3 = wxString_in_helper(obj2);
14348 if (arg3 == NULL) SWIG_fail;
14349 temp3 = True;
14350 }
14351 }
14352 if (obj3) {
14353 {
14354 arg4 = &temp4;
14355 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14356 }
14357 }
14358 if (obj4) {
14359 {
14360 arg5 = &temp5;
14361 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14362 }
14363 }
14364 if (obj5) {
14365 arg6 = (long) SWIG_AsLong(obj5);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
14368 if (obj6) {
14369 {
14370 arg7 = wxString_in_helper(obj6);
14371 if (arg7 == NULL) SWIG_fail;
14372 temp7 = True;
14373 }
14374 }
14375 {
14376 if (!wxPyCheckForApp()) SWIG_fail;
14377 PyThreadState* __tstate = wxPyBeginAllowThreads();
14378 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14379
14380 wxPyEndAllowThreads(__tstate);
14381 if (PyErr_Occurred()) SWIG_fail;
14382 }
14383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14384 {
14385 if (temp3)
14386 delete arg3;
14387 }
14388 {
14389 if (temp7)
14390 delete arg7;
14391 }
14392 return resultobj;
14393 fail:
14394 {
14395 if (temp3)
14396 delete arg3;
14397 }
14398 {
14399 if (temp7)
14400 delete arg7;
14401 }
14402 return NULL;
14403 }
14404
14405
14406 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14407 PyObject *resultobj;
14408 wxMDIParentFrame *result;
14409 char *kwnames[] = {
14410 NULL
14411 };
14412
14413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14414 {
14415 if (!wxPyCheckForApp()) SWIG_fail;
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14418
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14423 return resultobj;
14424 fail:
14425 return NULL;
14426 }
14427
14428
14429 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14430 PyObject *resultobj;
14431 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14432 wxWindow *arg2 = (wxWindow *) 0 ;
14433 int arg3 = (int) (int)-1 ;
14434 wxString const &arg4_defvalue = wxPyEmptyString ;
14435 wxString *arg4 = (wxString *) &arg4_defvalue ;
14436 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14437 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14438 wxSize const &arg6_defvalue = wxDefaultSize ;
14439 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14440 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14441 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14442 wxString *arg8 = (wxString *) &arg8_defvalue ;
14443 bool result;
14444 bool temp4 = False ;
14445 wxPoint temp5 ;
14446 wxSize temp6 ;
14447 bool temp8 = False ;
14448 PyObject * obj0 = 0 ;
14449 PyObject * obj1 = 0 ;
14450 PyObject * obj2 = 0 ;
14451 PyObject * obj3 = 0 ;
14452 PyObject * obj4 = 0 ;
14453 PyObject * obj5 = 0 ;
14454 PyObject * obj6 = 0 ;
14455 PyObject * obj7 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14465 if (obj2) {
14466 arg3 = (int const) SWIG_AsInt(obj2);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 if (obj3) {
14470 {
14471 arg4 = wxString_in_helper(obj3);
14472 if (arg4 == NULL) SWIG_fail;
14473 temp4 = True;
14474 }
14475 }
14476 if (obj4) {
14477 {
14478 arg5 = &temp5;
14479 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14480 }
14481 }
14482 if (obj5) {
14483 {
14484 arg6 = &temp6;
14485 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14486 }
14487 }
14488 if (obj6) {
14489 arg7 = (long) SWIG_AsLong(obj6);
14490 if (PyErr_Occurred()) SWIG_fail;
14491 }
14492 if (obj7) {
14493 {
14494 arg8 = wxString_in_helper(obj7);
14495 if (arg8 == NULL) SWIG_fail;
14496 temp8 = True;
14497 }
14498 }
14499 {
14500 PyThreadState* __tstate = wxPyBeginAllowThreads();
14501 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14502
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 {
14507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14508 }
14509 {
14510 if (temp4)
14511 delete arg4;
14512 }
14513 {
14514 if (temp8)
14515 delete arg8;
14516 }
14517 return resultobj;
14518 fail:
14519 {
14520 if (temp4)
14521 delete arg4;
14522 }
14523 {
14524 if (temp8)
14525 delete arg8;
14526 }
14527 return NULL;
14528 }
14529
14530
14531 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14532 PyObject *resultobj;
14533 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14534 PyObject * obj0 = 0 ;
14535 char *kwnames[] = {
14536 (char *) "self", NULL
14537 };
14538
14539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14542 {
14543 PyThreadState* __tstate = wxPyBeginAllowThreads();
14544 (arg1)->ActivateNext();
14545
14546 wxPyEndAllowThreads(__tstate);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 }
14549 Py_INCREF(Py_None); resultobj = Py_None;
14550 return resultobj;
14551 fail:
14552 return NULL;
14553 }
14554
14555
14556 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14557 PyObject *resultobj;
14558 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14559 PyObject * obj0 = 0 ;
14560 char *kwnames[] = {
14561 (char *) "self", NULL
14562 };
14563
14564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 (arg1)->ActivatePrevious();
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 Py_INCREF(Py_None); resultobj = Py_None;
14575 return resultobj;
14576 fail:
14577 return NULL;
14578 }
14579
14580
14581 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14582 PyObject *resultobj;
14583 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14584 PyObject * obj0 = 0 ;
14585 char *kwnames[] = {
14586 (char *) "self", NULL
14587 };
14588
14589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14592 {
14593 PyThreadState* __tstate = wxPyBeginAllowThreads();
14594 (arg1)->ArrangeIcons();
14595
14596 wxPyEndAllowThreads(__tstate);
14597 if (PyErr_Occurred()) SWIG_fail;
14598 }
14599 Py_INCREF(Py_None); resultobj = Py_None;
14600 return resultobj;
14601 fail:
14602 return NULL;
14603 }
14604
14605
14606 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14607 PyObject *resultobj;
14608 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14609 PyObject * obj0 = 0 ;
14610 char *kwnames[] = {
14611 (char *) "self", NULL
14612 };
14613
14614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14617 {
14618 PyThreadState* __tstate = wxPyBeginAllowThreads();
14619 (arg1)->Cascade();
14620
14621 wxPyEndAllowThreads(__tstate);
14622 if (PyErr_Occurred()) SWIG_fail;
14623 }
14624 Py_INCREF(Py_None); resultobj = Py_None;
14625 return resultobj;
14626 fail:
14627 return NULL;
14628 }
14629
14630
14631 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj;
14633 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14634 wxMDIChildFrame *result;
14635 PyObject * obj0 = 0 ;
14636 char *kwnames[] = {
14637 (char *) "self", NULL
14638 };
14639
14640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14643 {
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14646
14647 wxPyEndAllowThreads(__tstate);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 }
14650 {
14651 resultobj = wxPyMake_wxObject(result);
14652 }
14653 return resultobj;
14654 fail:
14655 return NULL;
14656 }
14657
14658
14659 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14660 PyObject *resultobj;
14661 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14662 wxMDIClientWindow *result;
14663 PyObject * obj0 = 0 ;
14664 char *kwnames[] = {
14665 (char *) "self", NULL
14666 };
14667
14668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14671 {
14672 PyThreadState* __tstate = wxPyBeginAllowThreads();
14673 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14674
14675 wxPyEndAllowThreads(__tstate);
14676 if (PyErr_Occurred()) SWIG_fail;
14677 }
14678 {
14679 resultobj = wxPyMake_wxObject(result);
14680 }
14681 return resultobj;
14682 fail:
14683 return NULL;
14684 }
14685
14686
14687 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14688 PyObject *resultobj;
14689 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14690 wxWindow *result;
14691 PyObject * obj0 = 0 ;
14692 char *kwnames[] = {
14693 (char *) "self", NULL
14694 };
14695
14696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 result = (wxWindow *)(arg1)->GetToolBar();
14702
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 {
14707 resultobj = wxPyMake_wxObject(result);
14708 }
14709 return resultobj;
14710 fail:
14711 return NULL;
14712 }
14713
14714
14715 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14716 PyObject *resultobj;
14717 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14718 PyObject * obj0 = 0 ;
14719 char *kwnames[] = {
14720 (char *) "self", NULL
14721 };
14722
14723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14726 {
14727 PyThreadState* __tstate = wxPyBeginAllowThreads();
14728 (arg1)->Tile();
14729
14730 wxPyEndAllowThreads(__tstate);
14731 if (PyErr_Occurred()) SWIG_fail;
14732 }
14733 Py_INCREF(Py_None); resultobj = Py_None;
14734 return resultobj;
14735 fail:
14736 return NULL;
14737 }
14738
14739
14740 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14741 PyObject *obj;
14742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14743 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14744 Py_INCREF(obj);
14745 return Py_BuildValue((char *)"");
14746 }
14747 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14748 PyObject *resultobj;
14749 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14750 int arg2 = (int) (int)-1 ;
14751 wxString const &arg3_defvalue = wxPyEmptyString ;
14752 wxString *arg3 = (wxString *) &arg3_defvalue ;
14753 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14754 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14755 wxSize const &arg5_defvalue = wxDefaultSize ;
14756 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14757 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14758 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14759 wxString *arg7 = (wxString *) &arg7_defvalue ;
14760 wxMDIChildFrame *result;
14761 bool temp3 = False ;
14762 wxPoint temp4 ;
14763 wxSize temp5 ;
14764 bool temp7 = False ;
14765 PyObject * obj0 = 0 ;
14766 PyObject * obj1 = 0 ;
14767 PyObject * obj2 = 0 ;
14768 PyObject * obj3 = 0 ;
14769 PyObject * obj4 = 0 ;
14770 PyObject * obj5 = 0 ;
14771 PyObject * obj6 = 0 ;
14772 char *kwnames[] = {
14773 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14774 };
14775
14776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14779 if (obj1) {
14780 arg2 = (int const) SWIG_AsInt(obj1);
14781 if (PyErr_Occurred()) SWIG_fail;
14782 }
14783 if (obj2) {
14784 {
14785 arg3 = wxString_in_helper(obj2);
14786 if (arg3 == NULL) SWIG_fail;
14787 temp3 = True;
14788 }
14789 }
14790 if (obj3) {
14791 {
14792 arg4 = &temp4;
14793 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14794 }
14795 }
14796 if (obj4) {
14797 {
14798 arg5 = &temp5;
14799 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14800 }
14801 }
14802 if (obj5) {
14803 arg6 = (long) SWIG_AsLong(obj5);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 if (obj6) {
14807 {
14808 arg7 = wxString_in_helper(obj6);
14809 if (arg7 == NULL) SWIG_fail;
14810 temp7 = True;
14811 }
14812 }
14813 {
14814 if (!wxPyCheckForApp()) SWIG_fail;
14815 PyThreadState* __tstate = wxPyBeginAllowThreads();
14816 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14817
14818 wxPyEndAllowThreads(__tstate);
14819 if (PyErr_Occurred()) SWIG_fail;
14820 }
14821 {
14822 resultobj = wxPyMake_wxObject(result);
14823 }
14824 {
14825 if (temp3)
14826 delete arg3;
14827 }
14828 {
14829 if (temp7)
14830 delete arg7;
14831 }
14832 return resultobj;
14833 fail:
14834 {
14835 if (temp3)
14836 delete arg3;
14837 }
14838 {
14839 if (temp7)
14840 delete arg7;
14841 }
14842 return NULL;
14843 }
14844
14845
14846 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14847 PyObject *resultobj;
14848 wxMDIChildFrame *result;
14849 char *kwnames[] = {
14850 NULL
14851 };
14852
14853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14854 {
14855 if (!wxPyCheckForApp()) SWIG_fail;
14856 PyThreadState* __tstate = wxPyBeginAllowThreads();
14857 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14858
14859 wxPyEndAllowThreads(__tstate);
14860 if (PyErr_Occurred()) SWIG_fail;
14861 }
14862 {
14863 resultobj = wxPyMake_wxObject(result);
14864 }
14865 return resultobj;
14866 fail:
14867 return NULL;
14868 }
14869
14870
14871 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14872 PyObject *resultobj;
14873 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14874 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14875 int arg3 = (int) (int)-1 ;
14876 wxString const &arg4_defvalue = wxPyEmptyString ;
14877 wxString *arg4 = (wxString *) &arg4_defvalue ;
14878 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14879 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14880 wxSize const &arg6_defvalue = wxDefaultSize ;
14881 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14882 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14883 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14884 wxString *arg8 = (wxString *) &arg8_defvalue ;
14885 bool result;
14886 bool temp4 = False ;
14887 wxPoint temp5 ;
14888 wxSize temp6 ;
14889 bool temp8 = False ;
14890 PyObject * obj0 = 0 ;
14891 PyObject * obj1 = 0 ;
14892 PyObject * obj2 = 0 ;
14893 PyObject * obj3 = 0 ;
14894 PyObject * obj4 = 0 ;
14895 PyObject * obj5 = 0 ;
14896 PyObject * obj6 = 0 ;
14897 PyObject * obj7 = 0 ;
14898 char *kwnames[] = {
14899 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14900 };
14901
14902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14907 if (obj2) {
14908 arg3 = (int const) SWIG_AsInt(obj2);
14909 if (PyErr_Occurred()) SWIG_fail;
14910 }
14911 if (obj3) {
14912 {
14913 arg4 = wxString_in_helper(obj3);
14914 if (arg4 == NULL) SWIG_fail;
14915 temp4 = True;
14916 }
14917 }
14918 if (obj4) {
14919 {
14920 arg5 = &temp5;
14921 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14922 }
14923 }
14924 if (obj5) {
14925 {
14926 arg6 = &temp6;
14927 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14928 }
14929 }
14930 if (obj6) {
14931 arg7 = (long) SWIG_AsLong(obj6);
14932 if (PyErr_Occurred()) SWIG_fail;
14933 }
14934 if (obj7) {
14935 {
14936 arg8 = wxString_in_helper(obj7);
14937 if (arg8 == NULL) SWIG_fail;
14938 temp8 = True;
14939 }
14940 }
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 {
14949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14950 }
14951 {
14952 if (temp4)
14953 delete arg4;
14954 }
14955 {
14956 if (temp8)
14957 delete arg8;
14958 }
14959 return resultobj;
14960 fail:
14961 {
14962 if (temp4)
14963 delete arg4;
14964 }
14965 {
14966 if (temp8)
14967 delete arg8;
14968 }
14969 return NULL;
14970 }
14971
14972
14973 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14974 PyObject *resultobj;
14975 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14976 PyObject * obj0 = 0 ;
14977 char *kwnames[] = {
14978 (char *) "self", NULL
14979 };
14980
14981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14984 {
14985 PyThreadState* __tstate = wxPyBeginAllowThreads();
14986 (arg1)->Activate();
14987
14988 wxPyEndAllowThreads(__tstate);
14989 if (PyErr_Occurred()) SWIG_fail;
14990 }
14991 Py_INCREF(Py_None); resultobj = Py_None;
14992 return resultobj;
14993 fail:
14994 return NULL;
14995 }
14996
14997
14998 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14999 PyObject *resultobj;
15000 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15001 bool arg2 ;
15002 PyObject * obj0 = 0 ;
15003 PyObject * obj1 = 0 ;
15004 char *kwnames[] = {
15005 (char *) "self",(char *) "maximize", NULL
15006 };
15007
15008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15011 arg2 = (bool) SWIG_AsBool(obj1);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 {
15014 PyThreadState* __tstate = wxPyBeginAllowThreads();
15015 (arg1)->Maximize(arg2);
15016
15017 wxPyEndAllowThreads(__tstate);
15018 if (PyErr_Occurred()) SWIG_fail;
15019 }
15020 Py_INCREF(Py_None); resultobj = Py_None;
15021 return resultobj;
15022 fail:
15023 return NULL;
15024 }
15025
15026
15027 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15028 PyObject *resultobj;
15029 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15030 PyObject * obj0 = 0 ;
15031 char *kwnames[] = {
15032 (char *) "self", NULL
15033 };
15034
15035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15038 {
15039 PyThreadState* __tstate = wxPyBeginAllowThreads();
15040 (arg1)->Restore();
15041
15042 wxPyEndAllowThreads(__tstate);
15043 if (PyErr_Occurred()) SWIG_fail;
15044 }
15045 Py_INCREF(Py_None); resultobj = Py_None;
15046 return resultobj;
15047 fail:
15048 return NULL;
15049 }
15050
15051
15052 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15053 PyObject *obj;
15054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15055 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15056 Py_INCREF(obj);
15057 return Py_BuildValue((char *)"");
15058 }
15059 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15060 PyObject *resultobj;
15061 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15062 long arg2 = (long) 0 ;
15063 wxMDIClientWindow *result;
15064 PyObject * obj0 = 0 ;
15065 PyObject * obj1 = 0 ;
15066 char *kwnames[] = {
15067 (char *) "parent",(char *) "style", NULL
15068 };
15069
15070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15073 if (obj1) {
15074 arg2 = (long) SWIG_AsLong(obj1);
15075 if (PyErr_Occurred()) SWIG_fail;
15076 }
15077 {
15078 if (!wxPyCheckForApp()) SWIG_fail;
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15081
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 {
15086 resultobj = wxPyMake_wxObject(result);
15087 }
15088 return resultobj;
15089 fail:
15090 return NULL;
15091 }
15092
15093
15094 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj;
15096 wxMDIClientWindow *result;
15097 char *kwnames[] = {
15098 NULL
15099 };
15100
15101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15102 {
15103 if (!wxPyCheckForApp()) SWIG_fail;
15104 PyThreadState* __tstate = wxPyBeginAllowThreads();
15105 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15106
15107 wxPyEndAllowThreads(__tstate);
15108 if (PyErr_Occurred()) SWIG_fail;
15109 }
15110 {
15111 resultobj = wxPyMake_wxObject(result);
15112 }
15113 return resultobj;
15114 fail:
15115 return NULL;
15116 }
15117
15118
15119 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15120 PyObject *resultobj;
15121 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15122 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15123 long arg3 = (long) 0 ;
15124 bool result;
15125 PyObject * obj0 = 0 ;
15126 PyObject * obj1 = 0 ;
15127 PyObject * obj2 = 0 ;
15128 char *kwnames[] = {
15129 (char *) "self",(char *) "parent",(char *) "style", NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15137 if (obj2) {
15138 arg3 = (long) SWIG_AsLong(obj2);
15139 if (PyErr_Occurred()) SWIG_fail;
15140 }
15141 {
15142 PyThreadState* __tstate = wxPyBeginAllowThreads();
15143 result = (bool)(arg1)->Create(arg2,arg3);
15144
15145 wxPyEndAllowThreads(__tstate);
15146 if (PyErr_Occurred()) SWIG_fail;
15147 }
15148 {
15149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15150 }
15151 return resultobj;
15152 fail:
15153 return NULL;
15154 }
15155
15156
15157 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15158 PyObject *obj;
15159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15160 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15161 Py_INCREF(obj);
15162 return Py_BuildValue((char *)"");
15163 }
15164 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15165 PyObject *resultobj;
15166 wxWindow *arg1 = (wxWindow *) 0 ;
15167 int arg2 = (int) (int)-1 ;
15168 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15169 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15170 wxSize const &arg4_defvalue = wxDefaultSize ;
15171 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15172 long arg5 = (long) 0 ;
15173 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15174 wxString *arg6 = (wxString *) &arg6_defvalue ;
15175 wxPyWindow *result;
15176 wxPoint temp3 ;
15177 wxSize temp4 ;
15178 bool temp6 = False ;
15179 PyObject * obj0 = 0 ;
15180 PyObject * obj1 = 0 ;
15181 PyObject * obj2 = 0 ;
15182 PyObject * obj3 = 0 ;
15183 PyObject * obj4 = 0 ;
15184 PyObject * obj5 = 0 ;
15185 char *kwnames[] = {
15186 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15187 };
15188
15189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15192 if (obj1) {
15193 arg2 = (int const) SWIG_AsInt(obj1);
15194 if (PyErr_Occurred()) SWIG_fail;
15195 }
15196 if (obj2) {
15197 {
15198 arg3 = &temp3;
15199 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15200 }
15201 }
15202 if (obj3) {
15203 {
15204 arg4 = &temp4;
15205 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15206 }
15207 }
15208 if (obj4) {
15209 arg5 = (long) SWIG_AsLong(obj4);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 }
15212 if (obj5) {
15213 {
15214 arg6 = wxString_in_helper(obj5);
15215 if (arg6 == NULL) SWIG_fail;
15216 temp6 = True;
15217 }
15218 }
15219 {
15220 if (!wxPyCheckForApp()) SWIG_fail;
15221 PyThreadState* __tstate = wxPyBeginAllowThreads();
15222 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15223
15224 wxPyEndAllowThreads(__tstate);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15228 {
15229 if (temp6)
15230 delete arg6;
15231 }
15232 return resultobj;
15233 fail:
15234 {
15235 if (temp6)
15236 delete arg6;
15237 }
15238 return NULL;
15239 }
15240
15241
15242 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj;
15244 wxPyWindow *result;
15245 char *kwnames[] = {
15246 NULL
15247 };
15248
15249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15250 {
15251 if (!wxPyCheckForApp()) SWIG_fail;
15252 PyThreadState* __tstate = wxPyBeginAllowThreads();
15253 result = (wxPyWindow *)new wxPyWindow();
15254
15255 wxPyEndAllowThreads(__tstate);
15256 if (PyErr_Occurred()) SWIG_fail;
15257 }
15258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15259 return resultobj;
15260 fail:
15261 return NULL;
15262 }
15263
15264
15265 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15266 PyObject *resultobj;
15267 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15268 PyObject *arg2 = (PyObject *) 0 ;
15269 PyObject *arg3 = (PyObject *) 0 ;
15270 PyObject * obj0 = 0 ;
15271 PyObject * obj1 = 0 ;
15272 PyObject * obj2 = 0 ;
15273 char *kwnames[] = {
15274 (char *) "self",(char *) "self",(char *) "_class", NULL
15275 };
15276
15277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15280 arg2 = obj1;
15281 arg3 = obj2;
15282 {
15283 PyThreadState* __tstate = wxPyBeginAllowThreads();
15284 (arg1)->_setCallbackInfo(arg2,arg3);
15285
15286 wxPyEndAllowThreads(__tstate);
15287 if (PyErr_Occurred()) SWIG_fail;
15288 }
15289 Py_INCREF(Py_None); resultobj = Py_None;
15290 return resultobj;
15291 fail:
15292 return NULL;
15293 }
15294
15295
15296 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15297 PyObject *resultobj;
15298 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15299 wxSize *arg2 = 0 ;
15300 wxSize temp2 ;
15301 PyObject * obj0 = 0 ;
15302 PyObject * obj1 = 0 ;
15303 char *kwnames[] = {
15304 (char *) "self",(char *) "size", NULL
15305 };
15306
15307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15310 {
15311 arg2 = &temp2;
15312 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15313 }
15314 {
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 (arg1)->SetBestSize((wxSize const &)*arg2);
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 Py_INCREF(Py_None); resultobj = Py_None;
15322 return resultobj;
15323 fail:
15324 return NULL;
15325 }
15326
15327
15328 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj;
15330 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15331 int arg2 ;
15332 int arg3 ;
15333 int arg4 ;
15334 int arg5 ;
15335 PyObject * obj0 = 0 ;
15336 PyObject * obj1 = 0 ;
15337 PyObject * obj2 = 0 ;
15338 PyObject * obj3 = 0 ;
15339 PyObject * obj4 = 0 ;
15340 char *kwnames[] = {
15341 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15342 };
15343
15344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15347 arg2 = (int) SWIG_AsInt(obj1);
15348 if (PyErr_Occurred()) SWIG_fail;
15349 arg3 = (int) SWIG_AsInt(obj2);
15350 if (PyErr_Occurred()) SWIG_fail;
15351 arg4 = (int) SWIG_AsInt(obj3);
15352 if (PyErr_Occurred()) SWIG_fail;
15353 arg5 = (int) SWIG_AsInt(obj4);
15354 if (PyErr_Occurred()) SWIG_fail;
15355 {
15356 PyThreadState* __tstate = wxPyBeginAllowThreads();
15357 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15358
15359 wxPyEndAllowThreads(__tstate);
15360 if (PyErr_Occurred()) SWIG_fail;
15361 }
15362 Py_INCREF(Py_None); resultobj = Py_None;
15363 return resultobj;
15364 fail:
15365 return NULL;
15366 }
15367
15368
15369 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15370 PyObject *resultobj;
15371 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15372 int arg2 ;
15373 int arg3 ;
15374 int arg4 ;
15375 int arg5 ;
15376 int arg6 = (int) wxSIZE_AUTO ;
15377 PyObject * obj0 = 0 ;
15378 PyObject * obj1 = 0 ;
15379 PyObject * obj2 = 0 ;
15380 PyObject * obj3 = 0 ;
15381 PyObject * obj4 = 0 ;
15382 PyObject * obj5 = 0 ;
15383 char *kwnames[] = {
15384 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15385 };
15386
15387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15390 arg2 = (int) SWIG_AsInt(obj1);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 arg3 = (int) SWIG_AsInt(obj2);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 arg4 = (int) SWIG_AsInt(obj3);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 arg5 = (int) SWIG_AsInt(obj4);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 if (obj5) {
15399 arg6 = (int) SWIG_AsInt(obj5);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 {
15403 PyThreadState* __tstate = wxPyBeginAllowThreads();
15404 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15405
15406 wxPyEndAllowThreads(__tstate);
15407 if (PyErr_Occurred()) SWIG_fail;
15408 }
15409 Py_INCREF(Py_None); resultobj = Py_None;
15410 return resultobj;
15411 fail:
15412 return NULL;
15413 }
15414
15415
15416 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15417 PyObject *resultobj;
15418 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15419 int arg2 ;
15420 int arg3 ;
15421 PyObject * obj0 = 0 ;
15422 PyObject * obj1 = 0 ;
15423 PyObject * obj2 = 0 ;
15424 char *kwnames[] = {
15425 (char *) "self",(char *) "width",(char *) "height", NULL
15426 };
15427
15428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15431 arg2 = (int) SWIG_AsInt(obj1);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 arg3 = (int) SWIG_AsInt(obj2);
15434 if (PyErr_Occurred()) SWIG_fail;
15435 {
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 (arg1)->base_DoSetClientSize(arg2,arg3);
15438
15439 wxPyEndAllowThreads(__tstate);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 Py_INCREF(Py_None); resultobj = Py_None;
15443 return resultobj;
15444 fail:
15445 return NULL;
15446 }
15447
15448
15449 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj;
15451 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15452 int arg2 ;
15453 int arg3 ;
15454 PyObject * obj0 = 0 ;
15455 PyObject * obj1 = 0 ;
15456 PyObject * obj2 = 0 ;
15457 char *kwnames[] = {
15458 (char *) "self",(char *) "x",(char *) "y", NULL
15459 };
15460
15461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15464 arg2 = (int) SWIG_AsInt(obj1);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 arg3 = (int) SWIG_AsInt(obj2);
15467 if (PyErr_Occurred()) SWIG_fail;
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
15470 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15471
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
15475 Py_INCREF(Py_None); resultobj = Py_None;
15476 return resultobj;
15477 fail:
15478 return NULL;
15479 }
15480
15481
15482 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15483 PyObject *resultobj;
15484 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15485 int *arg2 = (int *) 0 ;
15486 int *arg3 = (int *) 0 ;
15487 int temp2 ;
15488 int temp3 ;
15489 PyObject * obj0 = 0 ;
15490 char *kwnames[] = {
15491 (char *) "self", NULL
15492 };
15493
15494 arg2 = &temp2;
15495 arg3 = &temp3;
15496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15499 {
15500 PyThreadState* __tstate = wxPyBeginAllowThreads();
15501 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15502
15503 wxPyEndAllowThreads(__tstate);
15504 if (PyErr_Occurred()) SWIG_fail;
15505 }
15506 Py_INCREF(Py_None); resultobj = Py_None;
15507 {
15508 PyObject *o = PyInt_FromLong((long) (*arg2));
15509 resultobj = t_output_helper(resultobj,o);
15510 }
15511 {
15512 PyObject *o = PyInt_FromLong((long) (*arg3));
15513 resultobj = t_output_helper(resultobj,o);
15514 }
15515 return resultobj;
15516 fail:
15517 return NULL;
15518 }
15519
15520
15521 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15522 PyObject *resultobj;
15523 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15524 int *arg2 = (int *) 0 ;
15525 int *arg3 = (int *) 0 ;
15526 int temp2 ;
15527 int temp3 ;
15528 PyObject * obj0 = 0 ;
15529 char *kwnames[] = {
15530 (char *) "self", NULL
15531 };
15532
15533 arg2 = &temp2;
15534 arg3 = &temp3;
15535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15538 {
15539 PyThreadState* __tstate = wxPyBeginAllowThreads();
15540 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15541
15542 wxPyEndAllowThreads(__tstate);
15543 if (PyErr_Occurred()) SWIG_fail;
15544 }
15545 Py_INCREF(Py_None); resultobj = Py_None;
15546 {
15547 PyObject *o = PyInt_FromLong((long) (*arg2));
15548 resultobj = t_output_helper(resultobj,o);
15549 }
15550 {
15551 PyObject *o = PyInt_FromLong((long) (*arg3));
15552 resultobj = t_output_helper(resultobj,o);
15553 }
15554 return resultobj;
15555 fail:
15556 return NULL;
15557 }
15558
15559
15560 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15561 PyObject *resultobj;
15562 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15563 int *arg2 = (int *) 0 ;
15564 int *arg3 = (int *) 0 ;
15565 int temp2 ;
15566 int temp3 ;
15567 PyObject * obj0 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "self", NULL
15570 };
15571
15572 arg2 = &temp2;
15573 arg3 = &temp3;
15574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15577 {
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15580
15581 wxPyEndAllowThreads(__tstate);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 Py_INCREF(Py_None); resultobj = Py_None;
15585 {
15586 PyObject *o = PyInt_FromLong((long) (*arg2));
15587 resultobj = t_output_helper(resultobj,o);
15588 }
15589 {
15590 PyObject *o = PyInt_FromLong((long) (*arg3));
15591 resultobj = t_output_helper(resultobj,o);
15592 }
15593 return resultobj;
15594 fail:
15595 return NULL;
15596 }
15597
15598
15599 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15600 PyObject *resultobj;
15601 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15602 wxSize result;
15603 PyObject * obj0 = 0 ;
15604 char *kwnames[] = {
15605 (char *) "self", NULL
15606 };
15607
15608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15611 {
15612 PyThreadState* __tstate = wxPyBeginAllowThreads();
15613 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15614
15615 wxPyEndAllowThreads(__tstate);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 }
15618 {
15619 wxSize * resultptr;
15620 resultptr = new wxSize((wxSize &) result);
15621 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15622 }
15623 return resultobj;
15624 fail:
15625 return NULL;
15626 }
15627
15628
15629 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15630 PyObject *resultobj;
15631 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15632 wxSize result;
15633 PyObject * obj0 = 0 ;
15634 char *kwnames[] = {
15635 (char *) "self", NULL
15636 };
15637
15638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15641 {
15642 PyThreadState* __tstate = wxPyBeginAllowThreads();
15643 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15644
15645 wxPyEndAllowThreads(__tstate);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 }
15648 {
15649 wxSize * resultptr;
15650 resultptr = new wxSize((wxSize &) result);
15651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15652 }
15653 return resultobj;
15654 fail:
15655 return NULL;
15656 }
15657
15658
15659 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15660 PyObject *resultobj;
15661 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15662 PyObject * obj0 = 0 ;
15663 char *kwnames[] = {
15664 (char *) "self", NULL
15665 };
15666
15667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15670 {
15671 PyThreadState* __tstate = wxPyBeginAllowThreads();
15672 (arg1)->base_InitDialog();
15673
15674 wxPyEndAllowThreads(__tstate);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 }
15677 Py_INCREF(Py_None); resultobj = Py_None;
15678 return resultobj;
15679 fail:
15680 return NULL;
15681 }
15682
15683
15684 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj;
15686 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15687 bool result;
15688 PyObject * obj0 = 0 ;
15689 char *kwnames[] = {
15690 (char *) "self", NULL
15691 };
15692
15693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 result = (bool)(arg1)->base_TransferDataToWindow();
15699
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 {
15704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15705 }
15706 return resultobj;
15707 fail:
15708 return NULL;
15709 }
15710
15711
15712 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj;
15714 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15715 bool result;
15716 PyObject * obj0 = 0 ;
15717 char *kwnames[] = {
15718 (char *) "self", NULL
15719 };
15720
15721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15724 {
15725 PyThreadState* __tstate = wxPyBeginAllowThreads();
15726 result = (bool)(arg1)->base_TransferDataFromWindow();
15727
15728 wxPyEndAllowThreads(__tstate);
15729 if (PyErr_Occurred()) SWIG_fail;
15730 }
15731 {
15732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15733 }
15734 return resultobj;
15735 fail:
15736 return NULL;
15737 }
15738
15739
15740 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15741 PyObject *resultobj;
15742 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15743 bool result;
15744 PyObject * obj0 = 0 ;
15745 char *kwnames[] = {
15746 (char *) "self", NULL
15747 };
15748
15749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15752 {
15753 PyThreadState* __tstate = wxPyBeginAllowThreads();
15754 result = (bool)(arg1)->base_Validate();
15755
15756 wxPyEndAllowThreads(__tstate);
15757 if (PyErr_Occurred()) SWIG_fail;
15758 }
15759 {
15760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15761 }
15762 return resultobj;
15763 fail:
15764 return NULL;
15765 }
15766
15767
15768 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj;
15770 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15771 bool result;
15772 PyObject * obj0 = 0 ;
15773 char *kwnames[] = {
15774 (char *) "self", NULL
15775 };
15776
15777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15780 {
15781 PyThreadState* __tstate = wxPyBeginAllowThreads();
15782 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15783
15784 wxPyEndAllowThreads(__tstate);
15785 if (PyErr_Occurred()) SWIG_fail;
15786 }
15787 {
15788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15789 }
15790 return resultobj;
15791 fail:
15792 return NULL;
15793 }
15794
15795
15796 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15797 PyObject *resultobj;
15798 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15799 bool result;
15800 PyObject * obj0 = 0 ;
15801 char *kwnames[] = {
15802 (char *) "self", NULL
15803 };
15804
15805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15808 {
15809 PyThreadState* __tstate = wxPyBeginAllowThreads();
15810 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15811
15812 wxPyEndAllowThreads(__tstate);
15813 if (PyErr_Occurred()) SWIG_fail;
15814 }
15815 {
15816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15817 }
15818 return resultobj;
15819 fail:
15820 return NULL;
15821 }
15822
15823
15824 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15825 PyObject *resultobj;
15826 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15827 wxSize result;
15828 PyObject * obj0 = 0 ;
15829 char *kwnames[] = {
15830 (char *) "self", NULL
15831 };
15832
15833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15836 {
15837 PyThreadState* __tstate = wxPyBeginAllowThreads();
15838 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15839
15840 wxPyEndAllowThreads(__tstate);
15841 if (PyErr_Occurred()) SWIG_fail;
15842 }
15843 {
15844 wxSize * resultptr;
15845 resultptr = new wxSize((wxSize &) result);
15846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15847 }
15848 return resultobj;
15849 fail:
15850 return NULL;
15851 }
15852
15853
15854 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15855 PyObject *resultobj;
15856 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15857 wxWindow *arg2 = (wxWindow *) 0 ;
15858 PyObject * obj0 = 0 ;
15859 PyObject * obj1 = 0 ;
15860 char *kwnames[] = {
15861 (char *) "self",(char *) "child", NULL
15862 };
15863
15864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15869 {
15870 PyThreadState* __tstate = wxPyBeginAllowThreads();
15871 (arg1)->base_AddChild(arg2);
15872
15873 wxPyEndAllowThreads(__tstate);
15874 if (PyErr_Occurred()) SWIG_fail;
15875 }
15876 Py_INCREF(Py_None); resultobj = Py_None;
15877 return resultobj;
15878 fail:
15879 return NULL;
15880 }
15881
15882
15883 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15884 PyObject *resultobj;
15885 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15886 wxWindow *arg2 = (wxWindow *) 0 ;
15887 PyObject * obj0 = 0 ;
15888 PyObject * obj1 = 0 ;
15889 char *kwnames[] = {
15890 (char *) "self",(char *) "child", NULL
15891 };
15892
15893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15898 {
15899 PyThreadState* __tstate = wxPyBeginAllowThreads();
15900 (arg1)->base_RemoveChild(arg2);
15901
15902 wxPyEndAllowThreads(__tstate);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 }
15905 Py_INCREF(Py_None); resultobj = Py_None;
15906 return resultobj;
15907 fail:
15908 return NULL;
15909 }
15910
15911
15912 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15913 PyObject *resultobj;
15914 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15915 bool result;
15916 PyObject * obj0 = 0 ;
15917 char *kwnames[] = {
15918 (char *) "self", NULL
15919 };
15920
15921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
15927
15928 wxPyEndAllowThreads(__tstate);
15929 if (PyErr_Occurred()) SWIG_fail;
15930 }
15931 {
15932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15933 }
15934 return resultobj;
15935 fail:
15936 return NULL;
15937 }
15938
15939
15940 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15941 PyObject *resultobj;
15942 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15943 wxColour *arg2 = 0 ;
15944 wxColour temp2 ;
15945 PyObject * obj0 = 0 ;
15946 PyObject * obj1 = 0 ;
15947 char *kwnames[] = {
15948 (char *) "self",(char *) "c", NULL
15949 };
15950
15951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15954 {
15955 arg2 = &temp2;
15956 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15957 }
15958 {
15959 PyThreadState* __tstate = wxPyBeginAllowThreads();
15960 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15961
15962 wxPyEndAllowThreads(__tstate);
15963 if (PyErr_Occurred()) SWIG_fail;
15964 }
15965 Py_INCREF(Py_None); resultobj = Py_None;
15966 return resultobj;
15967 fail:
15968 return NULL;
15969 }
15970
15971
15972 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15973 PyObject *resultobj;
15974 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15975 wxVisualAttributes result;
15976 PyObject * obj0 = 0 ;
15977 char *kwnames[] = {
15978 (char *) "self", NULL
15979 };
15980
15981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
15982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15984 {
15985 PyThreadState* __tstate = wxPyBeginAllowThreads();
15986 result = (arg1)->base_GetDefaultAttributes();
15987
15988 wxPyEndAllowThreads(__tstate);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 }
15991 {
15992 wxVisualAttributes * resultptr;
15993 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15994 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15995 }
15996 return resultobj;
15997 fail:
15998 return NULL;
15999 }
16000
16001
16002 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
16003 PyObject *obj;
16004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16005 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16006 Py_INCREF(obj);
16007 return Py_BuildValue((char *)"");
16008 }
16009 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16010 PyObject *resultobj;
16011 wxWindow *arg1 = (wxWindow *) 0 ;
16012 int arg2 = (int) (int)-1 ;
16013 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16014 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16015 wxSize const &arg4_defvalue = wxDefaultSize ;
16016 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16017 long arg5 = (long) 0 ;
16018 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16019 wxString *arg6 = (wxString *) &arg6_defvalue ;
16020 wxPyPanel *result;
16021 wxPoint temp3 ;
16022 wxSize temp4 ;
16023 bool temp6 = False ;
16024 PyObject * obj0 = 0 ;
16025 PyObject * obj1 = 0 ;
16026 PyObject * obj2 = 0 ;
16027 PyObject * obj3 = 0 ;
16028 PyObject * obj4 = 0 ;
16029 PyObject * obj5 = 0 ;
16030 char *kwnames[] = {
16031 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16032 };
16033
16034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16037 if (obj1) {
16038 arg2 = (int const) SWIG_AsInt(obj1);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 if (obj2) {
16042 {
16043 arg3 = &temp3;
16044 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16045 }
16046 }
16047 if (obj3) {
16048 {
16049 arg4 = &temp4;
16050 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16051 }
16052 }
16053 if (obj4) {
16054 arg5 = (long) SWIG_AsLong(obj4);
16055 if (PyErr_Occurred()) SWIG_fail;
16056 }
16057 if (obj5) {
16058 {
16059 arg6 = wxString_in_helper(obj5);
16060 if (arg6 == NULL) SWIG_fail;
16061 temp6 = True;
16062 }
16063 }
16064 {
16065 if (!wxPyCheckForApp()) SWIG_fail;
16066 PyThreadState* __tstate = wxPyBeginAllowThreads();
16067 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16068
16069 wxPyEndAllowThreads(__tstate);
16070 if (PyErr_Occurred()) SWIG_fail;
16071 }
16072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16073 {
16074 if (temp6)
16075 delete arg6;
16076 }
16077 return resultobj;
16078 fail:
16079 {
16080 if (temp6)
16081 delete arg6;
16082 }
16083 return NULL;
16084 }
16085
16086
16087 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16088 PyObject *resultobj;
16089 wxPyPanel *result;
16090 char *kwnames[] = {
16091 NULL
16092 };
16093
16094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16095 {
16096 if (!wxPyCheckForApp()) SWIG_fail;
16097 PyThreadState* __tstate = wxPyBeginAllowThreads();
16098 result = (wxPyPanel *)new wxPyPanel();
16099
16100 wxPyEndAllowThreads(__tstate);
16101 if (PyErr_Occurred()) SWIG_fail;
16102 }
16103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16104 return resultobj;
16105 fail:
16106 return NULL;
16107 }
16108
16109
16110 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16111 PyObject *resultobj;
16112 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16113 PyObject *arg2 = (PyObject *) 0 ;
16114 PyObject *arg3 = (PyObject *) 0 ;
16115 PyObject * obj0 = 0 ;
16116 PyObject * obj1 = 0 ;
16117 PyObject * obj2 = 0 ;
16118 char *kwnames[] = {
16119 (char *) "self",(char *) "self",(char *) "_class", NULL
16120 };
16121
16122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16125 arg2 = obj1;
16126 arg3 = obj2;
16127 {
16128 PyThreadState* __tstate = wxPyBeginAllowThreads();
16129 (arg1)->_setCallbackInfo(arg2,arg3);
16130
16131 wxPyEndAllowThreads(__tstate);
16132 if (PyErr_Occurred()) SWIG_fail;
16133 }
16134 Py_INCREF(Py_None); resultobj = Py_None;
16135 return resultobj;
16136 fail:
16137 return NULL;
16138 }
16139
16140
16141 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16142 PyObject *resultobj;
16143 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16144 wxSize *arg2 = 0 ;
16145 wxSize temp2 ;
16146 PyObject * obj0 = 0 ;
16147 PyObject * obj1 = 0 ;
16148 char *kwnames[] = {
16149 (char *) "self",(char *) "size", NULL
16150 };
16151
16152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16155 {
16156 arg2 = &temp2;
16157 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16158 }
16159 {
16160 PyThreadState* __tstate = wxPyBeginAllowThreads();
16161 (arg1)->SetBestSize((wxSize const &)*arg2);
16162
16163 wxPyEndAllowThreads(__tstate);
16164 if (PyErr_Occurred()) SWIG_fail;
16165 }
16166 Py_INCREF(Py_None); resultobj = Py_None;
16167 return resultobj;
16168 fail:
16169 return NULL;
16170 }
16171
16172
16173 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16174 PyObject *resultobj;
16175 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16176 int arg2 ;
16177 int arg3 ;
16178 int arg4 ;
16179 int arg5 ;
16180 PyObject * obj0 = 0 ;
16181 PyObject * obj1 = 0 ;
16182 PyObject * obj2 = 0 ;
16183 PyObject * obj3 = 0 ;
16184 PyObject * obj4 = 0 ;
16185 char *kwnames[] = {
16186 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16187 };
16188
16189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16192 arg2 = (int) SWIG_AsInt(obj1);
16193 if (PyErr_Occurred()) SWIG_fail;
16194 arg3 = (int) SWIG_AsInt(obj2);
16195 if (PyErr_Occurred()) SWIG_fail;
16196 arg4 = (int) SWIG_AsInt(obj3);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 arg5 = (int) SWIG_AsInt(obj4);
16199 if (PyErr_Occurred()) SWIG_fail;
16200 {
16201 PyThreadState* __tstate = wxPyBeginAllowThreads();
16202 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16203
16204 wxPyEndAllowThreads(__tstate);
16205 if (PyErr_Occurred()) SWIG_fail;
16206 }
16207 Py_INCREF(Py_None); resultobj = Py_None;
16208 return resultobj;
16209 fail:
16210 return NULL;
16211 }
16212
16213
16214 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16215 PyObject *resultobj;
16216 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16217 int arg2 ;
16218 int arg3 ;
16219 int arg4 ;
16220 int arg5 ;
16221 int arg6 = (int) wxSIZE_AUTO ;
16222 PyObject * obj0 = 0 ;
16223 PyObject * obj1 = 0 ;
16224 PyObject * obj2 = 0 ;
16225 PyObject * obj3 = 0 ;
16226 PyObject * obj4 = 0 ;
16227 PyObject * obj5 = 0 ;
16228 char *kwnames[] = {
16229 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16230 };
16231
16232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16235 arg2 = (int) SWIG_AsInt(obj1);
16236 if (PyErr_Occurred()) SWIG_fail;
16237 arg3 = (int) SWIG_AsInt(obj2);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 arg4 = (int) SWIG_AsInt(obj3);
16240 if (PyErr_Occurred()) SWIG_fail;
16241 arg5 = (int) SWIG_AsInt(obj4);
16242 if (PyErr_Occurred()) SWIG_fail;
16243 if (obj5) {
16244 arg6 = (int) SWIG_AsInt(obj5);
16245 if (PyErr_Occurred()) SWIG_fail;
16246 }
16247 {
16248 PyThreadState* __tstate = wxPyBeginAllowThreads();
16249 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16250
16251 wxPyEndAllowThreads(__tstate);
16252 if (PyErr_Occurred()) SWIG_fail;
16253 }
16254 Py_INCREF(Py_None); resultobj = Py_None;
16255 return resultobj;
16256 fail:
16257 return NULL;
16258 }
16259
16260
16261 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16262 PyObject *resultobj;
16263 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16264 int arg2 ;
16265 int arg3 ;
16266 PyObject * obj0 = 0 ;
16267 PyObject * obj1 = 0 ;
16268 PyObject * obj2 = 0 ;
16269 char *kwnames[] = {
16270 (char *) "self",(char *) "width",(char *) "height", NULL
16271 };
16272
16273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16276 arg2 = (int) SWIG_AsInt(obj1);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 arg3 = (int) SWIG_AsInt(obj2);
16279 if (PyErr_Occurred()) SWIG_fail;
16280 {
16281 PyThreadState* __tstate = wxPyBeginAllowThreads();
16282 (arg1)->base_DoSetClientSize(arg2,arg3);
16283
16284 wxPyEndAllowThreads(__tstate);
16285 if (PyErr_Occurred()) SWIG_fail;
16286 }
16287 Py_INCREF(Py_None); resultobj = Py_None;
16288 return resultobj;
16289 fail:
16290 return NULL;
16291 }
16292
16293
16294 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16295 PyObject *resultobj;
16296 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16297 int arg2 ;
16298 int arg3 ;
16299 PyObject * obj0 = 0 ;
16300 PyObject * obj1 = 0 ;
16301 PyObject * obj2 = 0 ;
16302 char *kwnames[] = {
16303 (char *) "self",(char *) "x",(char *) "y", NULL
16304 };
16305
16306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16309 arg2 = (int) SWIG_AsInt(obj1);
16310 if (PyErr_Occurred()) SWIG_fail;
16311 arg3 = (int) SWIG_AsInt(obj2);
16312 if (PyErr_Occurred()) SWIG_fail;
16313 {
16314 PyThreadState* __tstate = wxPyBeginAllowThreads();
16315 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16316
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 Py_INCREF(Py_None); resultobj = Py_None;
16321 return resultobj;
16322 fail:
16323 return NULL;
16324 }
16325
16326
16327 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj;
16329 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16330 int *arg2 = (int *) 0 ;
16331 int *arg3 = (int *) 0 ;
16332 int temp2 ;
16333 int temp3 ;
16334 PyObject * obj0 = 0 ;
16335 char *kwnames[] = {
16336 (char *) "self", NULL
16337 };
16338
16339 arg2 = &temp2;
16340 arg3 = &temp3;
16341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16344 {
16345 PyThreadState* __tstate = wxPyBeginAllowThreads();
16346 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16347
16348 wxPyEndAllowThreads(__tstate);
16349 if (PyErr_Occurred()) SWIG_fail;
16350 }
16351 Py_INCREF(Py_None); resultobj = Py_None;
16352 {
16353 PyObject *o = PyInt_FromLong((long) (*arg2));
16354 resultobj = t_output_helper(resultobj,o);
16355 }
16356 {
16357 PyObject *o = PyInt_FromLong((long) (*arg3));
16358 resultobj = t_output_helper(resultobj,o);
16359 }
16360 return resultobj;
16361 fail:
16362 return NULL;
16363 }
16364
16365
16366 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16367 PyObject *resultobj;
16368 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16369 int *arg2 = (int *) 0 ;
16370 int *arg3 = (int *) 0 ;
16371 int temp2 ;
16372 int temp3 ;
16373 PyObject * obj0 = 0 ;
16374 char *kwnames[] = {
16375 (char *) "self", NULL
16376 };
16377
16378 arg2 = &temp2;
16379 arg3 = &temp3;
16380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16383 {
16384 PyThreadState* __tstate = wxPyBeginAllowThreads();
16385 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16386
16387 wxPyEndAllowThreads(__tstate);
16388 if (PyErr_Occurred()) SWIG_fail;
16389 }
16390 Py_INCREF(Py_None); resultobj = Py_None;
16391 {
16392 PyObject *o = PyInt_FromLong((long) (*arg2));
16393 resultobj = t_output_helper(resultobj,o);
16394 }
16395 {
16396 PyObject *o = PyInt_FromLong((long) (*arg3));
16397 resultobj = t_output_helper(resultobj,o);
16398 }
16399 return resultobj;
16400 fail:
16401 return NULL;
16402 }
16403
16404
16405 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16406 PyObject *resultobj;
16407 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16408 int *arg2 = (int *) 0 ;
16409 int *arg3 = (int *) 0 ;
16410 int temp2 ;
16411 int temp3 ;
16412 PyObject * obj0 = 0 ;
16413 char *kwnames[] = {
16414 (char *) "self", NULL
16415 };
16416
16417 arg2 = &temp2;
16418 arg3 = &temp3;
16419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
16429 Py_INCREF(Py_None); resultobj = Py_None;
16430 {
16431 PyObject *o = PyInt_FromLong((long) (*arg2));
16432 resultobj = t_output_helper(resultobj,o);
16433 }
16434 {
16435 PyObject *o = PyInt_FromLong((long) (*arg3));
16436 resultobj = t_output_helper(resultobj,o);
16437 }
16438 return resultobj;
16439 fail:
16440 return NULL;
16441 }
16442
16443
16444 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16445 PyObject *resultobj;
16446 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16447 wxSize result;
16448 PyObject * obj0 = 0 ;
16449 char *kwnames[] = {
16450 (char *) "self", NULL
16451 };
16452
16453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
16458 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 {
16464 wxSize * resultptr;
16465 resultptr = new wxSize((wxSize &) result);
16466 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16467 }
16468 return resultobj;
16469 fail:
16470 return NULL;
16471 }
16472
16473
16474 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16475 PyObject *resultobj;
16476 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16477 wxSize result;
16478 PyObject * obj0 = 0 ;
16479 char *kwnames[] = {
16480 (char *) "self", NULL
16481 };
16482
16483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16486 {
16487 PyThreadState* __tstate = wxPyBeginAllowThreads();
16488 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16489
16490 wxPyEndAllowThreads(__tstate);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 }
16493 {
16494 wxSize * resultptr;
16495 resultptr = new wxSize((wxSize &) result);
16496 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16497 }
16498 return resultobj;
16499 fail:
16500 return NULL;
16501 }
16502
16503
16504 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16505 PyObject *resultobj;
16506 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16507 PyObject * obj0 = 0 ;
16508 char *kwnames[] = {
16509 (char *) "self", NULL
16510 };
16511
16512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 (arg1)->base_InitDialog();
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 Py_INCREF(Py_None); resultobj = Py_None;
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16530 PyObject *resultobj;
16531 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16532 bool result;
16533 PyObject * obj0 = 0 ;
16534 char *kwnames[] = {
16535 (char *) "self", NULL
16536 };
16537
16538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16541 {
16542 PyThreadState* __tstate = wxPyBeginAllowThreads();
16543 result = (bool)(arg1)->base_TransferDataToWindow();
16544
16545 wxPyEndAllowThreads(__tstate);
16546 if (PyErr_Occurred()) SWIG_fail;
16547 }
16548 {
16549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16550 }
16551 return resultobj;
16552 fail:
16553 return NULL;
16554 }
16555
16556
16557 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16558 PyObject *resultobj;
16559 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16560 bool result;
16561 PyObject * obj0 = 0 ;
16562 char *kwnames[] = {
16563 (char *) "self", NULL
16564 };
16565
16566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16569 {
16570 PyThreadState* __tstate = wxPyBeginAllowThreads();
16571 result = (bool)(arg1)->base_TransferDataFromWindow();
16572
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 {
16577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16578 }
16579 return resultobj;
16580 fail:
16581 return NULL;
16582 }
16583
16584
16585 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16586 PyObject *resultobj;
16587 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16588 bool result;
16589 PyObject * obj0 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "self", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16597 {
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 result = (bool)(arg1)->base_Validate();
16600
16601 wxPyEndAllowThreads(__tstate);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 {
16605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16606 }
16607 return resultobj;
16608 fail:
16609 return NULL;
16610 }
16611
16612
16613 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16614 PyObject *resultobj;
16615 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16616 bool result;
16617 PyObject * obj0 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "self", NULL
16620 };
16621
16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16625 {
16626 PyThreadState* __tstate = wxPyBeginAllowThreads();
16627 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16628
16629 wxPyEndAllowThreads(__tstate);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 {
16633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16634 }
16635 return resultobj;
16636 fail:
16637 return NULL;
16638 }
16639
16640
16641 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16642 PyObject *resultobj;
16643 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16644 bool result;
16645 PyObject * obj0 = 0 ;
16646 char *kwnames[] = {
16647 (char *) "self", NULL
16648 };
16649
16650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16653 {
16654 PyThreadState* __tstate = wxPyBeginAllowThreads();
16655 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16656
16657 wxPyEndAllowThreads(__tstate);
16658 if (PyErr_Occurred()) SWIG_fail;
16659 }
16660 {
16661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16662 }
16663 return resultobj;
16664 fail:
16665 return NULL;
16666 }
16667
16668
16669 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16670 PyObject *resultobj;
16671 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16672 wxSize result;
16673 PyObject * obj0 = 0 ;
16674 char *kwnames[] = {
16675 (char *) "self", NULL
16676 };
16677
16678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16681 {
16682 PyThreadState* __tstate = wxPyBeginAllowThreads();
16683 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16684
16685 wxPyEndAllowThreads(__tstate);
16686 if (PyErr_Occurred()) SWIG_fail;
16687 }
16688 {
16689 wxSize * resultptr;
16690 resultptr = new wxSize((wxSize &) result);
16691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16692 }
16693 return resultobj;
16694 fail:
16695 return NULL;
16696 }
16697
16698
16699 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16700 PyObject *resultobj;
16701 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16702 wxWindow *arg2 = (wxWindow *) 0 ;
16703 PyObject * obj0 = 0 ;
16704 PyObject * obj1 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "self",(char *) "child", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16714 {
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 (arg1)->base_AddChild(arg2);
16717
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 Py_INCREF(Py_None); resultobj = Py_None;
16722 return resultobj;
16723 fail:
16724 return NULL;
16725 }
16726
16727
16728 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16729 PyObject *resultobj;
16730 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16731 wxWindow *arg2 = (wxWindow *) 0 ;
16732 PyObject * obj0 = 0 ;
16733 PyObject * obj1 = 0 ;
16734 char *kwnames[] = {
16735 (char *) "self",(char *) "child", NULL
16736 };
16737
16738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 (arg1)->base_RemoveChild(arg2);
16746
16747 wxPyEndAllowThreads(__tstate);
16748 if (PyErr_Occurred()) SWIG_fail;
16749 }
16750 Py_INCREF(Py_None); resultobj = Py_None;
16751 return resultobj;
16752 fail:
16753 return NULL;
16754 }
16755
16756
16757 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16758 PyObject *resultobj;
16759 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16760 bool result;
16761 PyObject * obj0 = 0 ;
16762 char *kwnames[] = {
16763 (char *) "self", NULL
16764 };
16765
16766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16769 {
16770 PyThreadState* __tstate = wxPyBeginAllowThreads();
16771 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
16772
16773 wxPyEndAllowThreads(__tstate);
16774 if (PyErr_Occurred()) SWIG_fail;
16775 }
16776 {
16777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16778 }
16779 return resultobj;
16780 fail:
16781 return NULL;
16782 }
16783
16784
16785 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16786 PyObject *resultobj;
16787 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16788 wxColour *arg2 = 0 ;
16789 wxColour temp2 ;
16790 PyObject * obj0 = 0 ;
16791 PyObject * obj1 = 0 ;
16792 char *kwnames[] = {
16793 (char *) "self",(char *) "c", NULL
16794 };
16795
16796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16799 {
16800 arg2 = &temp2;
16801 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16802 }
16803 {
16804 PyThreadState* __tstate = wxPyBeginAllowThreads();
16805 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16806
16807 wxPyEndAllowThreads(__tstate);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 }
16810 Py_INCREF(Py_None); resultobj = Py_None;
16811 return resultobj;
16812 fail:
16813 return NULL;
16814 }
16815
16816
16817 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16818 PyObject *resultobj;
16819 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16820 wxVisualAttributes result;
16821 PyObject * obj0 = 0 ;
16822 char *kwnames[] = {
16823 (char *) "self", NULL
16824 };
16825
16826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16829 {
16830 PyThreadState* __tstate = wxPyBeginAllowThreads();
16831 result = (arg1)->base_GetDefaultAttributes();
16832
16833 wxPyEndAllowThreads(__tstate);
16834 if (PyErr_Occurred()) SWIG_fail;
16835 }
16836 {
16837 wxVisualAttributes * resultptr;
16838 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16840 }
16841 return resultobj;
16842 fail:
16843 return NULL;
16844 }
16845
16846
16847 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16848 PyObject *obj;
16849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16850 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16851 Py_INCREF(obj);
16852 return Py_BuildValue((char *)"");
16853 }
16854 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16855 PyObject *resultobj;
16856 wxWindow *arg1 = (wxWindow *) 0 ;
16857 int arg2 = (int) (int)-1 ;
16858 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16859 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16860 wxSize const &arg4_defvalue = wxDefaultSize ;
16861 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16862 long arg5 = (long) 0 ;
16863 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16864 wxString *arg6 = (wxString *) &arg6_defvalue ;
16865 wxPyScrolledWindow *result;
16866 wxPoint temp3 ;
16867 wxSize temp4 ;
16868 bool temp6 = False ;
16869 PyObject * obj0 = 0 ;
16870 PyObject * obj1 = 0 ;
16871 PyObject * obj2 = 0 ;
16872 PyObject * obj3 = 0 ;
16873 PyObject * obj4 = 0 ;
16874 PyObject * obj5 = 0 ;
16875 char *kwnames[] = {
16876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16877 };
16878
16879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16882 if (obj1) {
16883 arg2 = (int const) SWIG_AsInt(obj1);
16884 if (PyErr_Occurred()) SWIG_fail;
16885 }
16886 if (obj2) {
16887 {
16888 arg3 = &temp3;
16889 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16890 }
16891 }
16892 if (obj3) {
16893 {
16894 arg4 = &temp4;
16895 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16896 }
16897 }
16898 if (obj4) {
16899 arg5 = (long) SWIG_AsLong(obj4);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 if (obj5) {
16903 {
16904 arg6 = wxString_in_helper(obj5);
16905 if (arg6 == NULL) SWIG_fail;
16906 temp6 = True;
16907 }
16908 }
16909 {
16910 if (!wxPyCheckForApp()) SWIG_fail;
16911 PyThreadState* __tstate = wxPyBeginAllowThreads();
16912 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16913
16914 wxPyEndAllowThreads(__tstate);
16915 if (PyErr_Occurred()) SWIG_fail;
16916 }
16917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16918 {
16919 if (temp6)
16920 delete arg6;
16921 }
16922 return resultobj;
16923 fail:
16924 {
16925 if (temp6)
16926 delete arg6;
16927 }
16928 return NULL;
16929 }
16930
16931
16932 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16933 PyObject *resultobj;
16934 wxPyScrolledWindow *result;
16935 char *kwnames[] = {
16936 NULL
16937 };
16938
16939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16940 {
16941 if (!wxPyCheckForApp()) SWIG_fail;
16942 PyThreadState* __tstate = wxPyBeginAllowThreads();
16943 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16944
16945 wxPyEndAllowThreads(__tstate);
16946 if (PyErr_Occurred()) SWIG_fail;
16947 }
16948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16949 return resultobj;
16950 fail:
16951 return NULL;
16952 }
16953
16954
16955 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16956 PyObject *resultobj;
16957 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16958 PyObject *arg2 = (PyObject *) 0 ;
16959 PyObject *arg3 = (PyObject *) 0 ;
16960 PyObject * obj0 = 0 ;
16961 PyObject * obj1 = 0 ;
16962 PyObject * obj2 = 0 ;
16963 char *kwnames[] = {
16964 (char *) "self",(char *) "self",(char *) "_class", NULL
16965 };
16966
16967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16970 arg2 = obj1;
16971 arg3 = obj2;
16972 {
16973 PyThreadState* __tstate = wxPyBeginAllowThreads();
16974 (arg1)->_setCallbackInfo(arg2,arg3);
16975
16976 wxPyEndAllowThreads(__tstate);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 Py_INCREF(Py_None); resultobj = Py_None;
16980 return resultobj;
16981 fail:
16982 return NULL;
16983 }
16984
16985
16986 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16987 PyObject *resultobj;
16988 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16989 wxSize *arg2 = 0 ;
16990 wxSize temp2 ;
16991 PyObject * obj0 = 0 ;
16992 PyObject * obj1 = 0 ;
16993 char *kwnames[] = {
16994 (char *) "self",(char *) "size", NULL
16995 };
16996
16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17000 {
17001 arg2 = &temp2;
17002 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17003 }
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 (arg1)->SetBestSize((wxSize const &)*arg2);
17007
17008 wxPyEndAllowThreads(__tstate);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 Py_INCREF(Py_None); resultobj = Py_None;
17012 return resultobj;
17013 fail:
17014 return NULL;
17015 }
17016
17017
17018 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17019 PyObject *resultobj;
17020 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17021 int arg2 ;
17022 int arg3 ;
17023 int arg4 ;
17024 int arg5 ;
17025 PyObject * obj0 = 0 ;
17026 PyObject * obj1 = 0 ;
17027 PyObject * obj2 = 0 ;
17028 PyObject * obj3 = 0 ;
17029 PyObject * obj4 = 0 ;
17030 char *kwnames[] = {
17031 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17032 };
17033
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17037 arg2 = (int) SWIG_AsInt(obj1);
17038 if (PyErr_Occurred()) SWIG_fail;
17039 arg3 = (int) SWIG_AsInt(obj2);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 arg4 = (int) SWIG_AsInt(obj3);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 arg5 = (int) SWIG_AsInt(obj4);
17044 if (PyErr_Occurred()) SWIG_fail;
17045 {
17046 PyThreadState* __tstate = wxPyBeginAllowThreads();
17047 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17048
17049 wxPyEndAllowThreads(__tstate);
17050 if (PyErr_Occurred()) SWIG_fail;
17051 }
17052 Py_INCREF(Py_None); resultobj = Py_None;
17053 return resultobj;
17054 fail:
17055 return NULL;
17056 }
17057
17058
17059 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17060 PyObject *resultobj;
17061 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17062 int arg2 ;
17063 int arg3 ;
17064 int arg4 ;
17065 int arg5 ;
17066 int arg6 = (int) wxSIZE_AUTO ;
17067 PyObject * obj0 = 0 ;
17068 PyObject * obj1 = 0 ;
17069 PyObject * obj2 = 0 ;
17070 PyObject * obj3 = 0 ;
17071 PyObject * obj4 = 0 ;
17072 PyObject * obj5 = 0 ;
17073 char *kwnames[] = {
17074 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17075 };
17076
17077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17080 arg2 = (int) SWIG_AsInt(obj1);
17081 if (PyErr_Occurred()) SWIG_fail;
17082 arg3 = (int) SWIG_AsInt(obj2);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 arg4 = (int) SWIG_AsInt(obj3);
17085 if (PyErr_Occurred()) SWIG_fail;
17086 arg5 = (int) SWIG_AsInt(obj4);
17087 if (PyErr_Occurred()) SWIG_fail;
17088 if (obj5) {
17089 arg6 = (int) SWIG_AsInt(obj5);
17090 if (PyErr_Occurred()) SWIG_fail;
17091 }
17092 {
17093 PyThreadState* __tstate = wxPyBeginAllowThreads();
17094 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17095
17096 wxPyEndAllowThreads(__tstate);
17097 if (PyErr_Occurred()) SWIG_fail;
17098 }
17099 Py_INCREF(Py_None); resultobj = Py_None;
17100 return resultobj;
17101 fail:
17102 return NULL;
17103 }
17104
17105
17106 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17107 PyObject *resultobj;
17108 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17109 int arg2 ;
17110 int arg3 ;
17111 PyObject * obj0 = 0 ;
17112 PyObject * obj1 = 0 ;
17113 PyObject * obj2 = 0 ;
17114 char *kwnames[] = {
17115 (char *) "self",(char *) "width",(char *) "height", NULL
17116 };
17117
17118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17121 arg2 = (int) SWIG_AsInt(obj1);
17122 if (PyErr_Occurred()) SWIG_fail;
17123 arg3 = (int) SWIG_AsInt(obj2);
17124 if (PyErr_Occurred()) SWIG_fail;
17125 {
17126 PyThreadState* __tstate = wxPyBeginAllowThreads();
17127 (arg1)->base_DoSetClientSize(arg2,arg3);
17128
17129 wxPyEndAllowThreads(__tstate);
17130 if (PyErr_Occurred()) SWIG_fail;
17131 }
17132 Py_INCREF(Py_None); resultobj = Py_None;
17133 return resultobj;
17134 fail:
17135 return NULL;
17136 }
17137
17138
17139 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17140 PyObject *resultobj;
17141 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17142 int arg2 ;
17143 int arg3 ;
17144 PyObject * obj0 = 0 ;
17145 PyObject * obj1 = 0 ;
17146 PyObject * obj2 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "self",(char *) "x",(char *) "y", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17154 arg2 = (int) SWIG_AsInt(obj1);
17155 if (PyErr_Occurred()) SWIG_fail;
17156 arg3 = (int) SWIG_AsInt(obj2);
17157 if (PyErr_Occurred()) SWIG_fail;
17158 {
17159 PyThreadState* __tstate = wxPyBeginAllowThreads();
17160 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17161
17162 wxPyEndAllowThreads(__tstate);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
17165 Py_INCREF(Py_None); resultobj = Py_None;
17166 return resultobj;
17167 fail:
17168 return NULL;
17169 }
17170
17171
17172 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17173 PyObject *resultobj;
17174 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17175 int *arg2 = (int *) 0 ;
17176 int *arg3 = (int *) 0 ;
17177 int temp2 ;
17178 int temp3 ;
17179 PyObject * obj0 = 0 ;
17180 char *kwnames[] = {
17181 (char *) "self", NULL
17182 };
17183
17184 arg2 = &temp2;
17185 arg3 = &temp3;
17186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17189 {
17190 PyThreadState* __tstate = wxPyBeginAllowThreads();
17191 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17192
17193 wxPyEndAllowThreads(__tstate);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 }
17196 Py_INCREF(Py_None); resultobj = Py_None;
17197 {
17198 PyObject *o = PyInt_FromLong((long) (*arg2));
17199 resultobj = t_output_helper(resultobj,o);
17200 }
17201 {
17202 PyObject *o = PyInt_FromLong((long) (*arg3));
17203 resultobj = t_output_helper(resultobj,o);
17204 }
17205 return resultobj;
17206 fail:
17207 return NULL;
17208 }
17209
17210
17211 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17212 PyObject *resultobj;
17213 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17214 int *arg2 = (int *) 0 ;
17215 int *arg3 = (int *) 0 ;
17216 int temp2 ;
17217 int temp3 ;
17218 PyObject * obj0 = 0 ;
17219 char *kwnames[] = {
17220 (char *) "self", NULL
17221 };
17222
17223 arg2 = &temp2;
17224 arg3 = &temp3;
17225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
17230 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17231
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 Py_INCREF(Py_None); resultobj = Py_None;
17236 {
17237 PyObject *o = PyInt_FromLong((long) (*arg2));
17238 resultobj = t_output_helper(resultobj,o);
17239 }
17240 {
17241 PyObject *o = PyInt_FromLong((long) (*arg3));
17242 resultobj = t_output_helper(resultobj,o);
17243 }
17244 return resultobj;
17245 fail:
17246 return NULL;
17247 }
17248
17249
17250 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17251 PyObject *resultobj;
17252 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17253 int *arg2 = (int *) 0 ;
17254 int *arg3 = (int *) 0 ;
17255 int temp2 ;
17256 int temp3 ;
17257 PyObject * obj0 = 0 ;
17258 char *kwnames[] = {
17259 (char *) "self", NULL
17260 };
17261
17262 arg2 = &temp2;
17263 arg3 = &temp3;
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17267 {
17268 PyThreadState* __tstate = wxPyBeginAllowThreads();
17269 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17270
17271 wxPyEndAllowThreads(__tstate);
17272 if (PyErr_Occurred()) SWIG_fail;
17273 }
17274 Py_INCREF(Py_None); resultobj = Py_None;
17275 {
17276 PyObject *o = PyInt_FromLong((long) (*arg2));
17277 resultobj = t_output_helper(resultobj,o);
17278 }
17279 {
17280 PyObject *o = PyInt_FromLong((long) (*arg3));
17281 resultobj = t_output_helper(resultobj,o);
17282 }
17283 return resultobj;
17284 fail:
17285 return NULL;
17286 }
17287
17288
17289 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17290 PyObject *resultobj;
17291 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17292 wxSize result;
17293 PyObject * obj0 = 0 ;
17294 char *kwnames[] = {
17295 (char *) "self", NULL
17296 };
17297
17298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17301 {
17302 PyThreadState* __tstate = wxPyBeginAllowThreads();
17303 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17304
17305 wxPyEndAllowThreads(__tstate);
17306 if (PyErr_Occurred()) SWIG_fail;
17307 }
17308 {
17309 wxSize * resultptr;
17310 resultptr = new wxSize((wxSize &) result);
17311 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17312 }
17313 return resultobj;
17314 fail:
17315 return NULL;
17316 }
17317
17318
17319 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17320 PyObject *resultobj;
17321 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17322 wxSize result;
17323 PyObject * obj0 = 0 ;
17324 char *kwnames[] = {
17325 (char *) "self", NULL
17326 };
17327
17328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 {
17339 wxSize * resultptr;
17340 resultptr = new wxSize((wxSize &) result);
17341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17342 }
17343 return resultobj;
17344 fail:
17345 return NULL;
17346 }
17347
17348
17349 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17350 PyObject *resultobj;
17351 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17352 PyObject * obj0 = 0 ;
17353 char *kwnames[] = {
17354 (char *) "self", NULL
17355 };
17356
17357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17360 {
17361 PyThreadState* __tstate = wxPyBeginAllowThreads();
17362 (arg1)->base_InitDialog();
17363
17364 wxPyEndAllowThreads(__tstate);
17365 if (PyErr_Occurred()) SWIG_fail;
17366 }
17367 Py_INCREF(Py_None); resultobj = Py_None;
17368 return resultobj;
17369 fail:
17370 return NULL;
17371 }
17372
17373
17374 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17375 PyObject *resultobj;
17376 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17377 bool result;
17378 PyObject * obj0 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17386 {
17387 PyThreadState* __tstate = wxPyBeginAllowThreads();
17388 result = (bool)(arg1)->base_TransferDataToWindow();
17389
17390 wxPyEndAllowThreads(__tstate);
17391 if (PyErr_Occurred()) SWIG_fail;
17392 }
17393 {
17394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17395 }
17396 return resultobj;
17397 fail:
17398 return NULL;
17399 }
17400
17401
17402 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17403 PyObject *resultobj;
17404 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17405 bool result;
17406 PyObject * obj0 = 0 ;
17407 char *kwnames[] = {
17408 (char *) "self", NULL
17409 };
17410
17411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17414 {
17415 PyThreadState* __tstate = wxPyBeginAllowThreads();
17416 result = (bool)(arg1)->base_TransferDataFromWindow();
17417
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 {
17422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17423 }
17424 return resultobj;
17425 fail:
17426 return NULL;
17427 }
17428
17429
17430 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17431 PyObject *resultobj;
17432 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17433 bool result;
17434 PyObject * obj0 = 0 ;
17435 char *kwnames[] = {
17436 (char *) "self", NULL
17437 };
17438
17439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17442 {
17443 PyThreadState* __tstate = wxPyBeginAllowThreads();
17444 result = (bool)(arg1)->base_Validate();
17445
17446 wxPyEndAllowThreads(__tstate);
17447 if (PyErr_Occurred()) SWIG_fail;
17448 }
17449 {
17450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17451 }
17452 return resultobj;
17453 fail:
17454 return NULL;
17455 }
17456
17457
17458 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17459 PyObject *resultobj;
17460 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17461 bool result;
17462 PyObject * obj0 = 0 ;
17463 char *kwnames[] = {
17464 (char *) "self", NULL
17465 };
17466
17467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17470 {
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
17477 {
17478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17479 }
17480 return resultobj;
17481 fail:
17482 return NULL;
17483 }
17484
17485
17486 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17487 PyObject *resultobj;
17488 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17489 bool result;
17490 PyObject * obj0 = 0 ;
17491 char *kwnames[] = {
17492 (char *) "self", NULL
17493 };
17494
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17498 {
17499 PyThreadState* __tstate = wxPyBeginAllowThreads();
17500 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17501
17502 wxPyEndAllowThreads(__tstate);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 }
17505 {
17506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17507 }
17508 return resultobj;
17509 fail:
17510 return NULL;
17511 }
17512
17513
17514 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17515 PyObject *resultobj;
17516 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17517 wxSize result;
17518 PyObject * obj0 = 0 ;
17519 char *kwnames[] = {
17520 (char *) "self", NULL
17521 };
17522
17523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17526 {
17527 PyThreadState* __tstate = wxPyBeginAllowThreads();
17528 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17529
17530 wxPyEndAllowThreads(__tstate);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 }
17533 {
17534 wxSize * resultptr;
17535 resultptr = new wxSize((wxSize &) result);
17536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17537 }
17538 return resultobj;
17539 fail:
17540 return NULL;
17541 }
17542
17543
17544 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17545 PyObject *resultobj;
17546 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17547 wxWindow *arg2 = (wxWindow *) 0 ;
17548 PyObject * obj0 = 0 ;
17549 PyObject * obj1 = 0 ;
17550 char *kwnames[] = {
17551 (char *) "self",(char *) "child", NULL
17552 };
17553
17554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17557 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17559 {
17560 PyThreadState* __tstate = wxPyBeginAllowThreads();
17561 (arg1)->base_AddChild(arg2);
17562
17563 wxPyEndAllowThreads(__tstate);
17564 if (PyErr_Occurred()) SWIG_fail;
17565 }
17566 Py_INCREF(Py_None); resultobj = Py_None;
17567 return resultobj;
17568 fail:
17569 return NULL;
17570 }
17571
17572
17573 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17574 PyObject *resultobj;
17575 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17576 wxWindow *arg2 = (wxWindow *) 0 ;
17577 PyObject * obj0 = 0 ;
17578 PyObject * obj1 = 0 ;
17579 char *kwnames[] = {
17580 (char *) "self",(char *) "child", NULL
17581 };
17582
17583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17588 {
17589 PyThreadState* __tstate = wxPyBeginAllowThreads();
17590 (arg1)->base_RemoveChild(arg2);
17591
17592 wxPyEndAllowThreads(__tstate);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 }
17595 Py_INCREF(Py_None); resultobj = Py_None;
17596 return resultobj;
17597 fail:
17598 return NULL;
17599 }
17600
17601
17602 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17603 PyObject *resultobj;
17604 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17605 bool result;
17606 PyObject * obj0 = 0 ;
17607 char *kwnames[] = {
17608 (char *) "self", NULL
17609 };
17610
17611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17614 {
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
17617
17618 wxPyEndAllowThreads(__tstate);
17619 if (PyErr_Occurred()) SWIG_fail;
17620 }
17621 {
17622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17623 }
17624 return resultobj;
17625 fail:
17626 return NULL;
17627 }
17628
17629
17630 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17631 PyObject *resultobj;
17632 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17633 wxColour *arg2 = 0 ;
17634 wxColour temp2 ;
17635 PyObject * obj0 = 0 ;
17636 PyObject * obj1 = 0 ;
17637 char *kwnames[] = {
17638 (char *) "self",(char *) "c", NULL
17639 };
17640
17641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17644 {
17645 arg2 = &temp2;
17646 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17647 }
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
17650 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 Py_INCREF(Py_None); resultobj = Py_None;
17656 return resultobj;
17657 fail:
17658 return NULL;
17659 }
17660
17661
17662 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj;
17664 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17665 wxVisualAttributes result;
17666 PyObject * obj0 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17674 {
17675 PyThreadState* __tstate = wxPyBeginAllowThreads();
17676 result = (arg1)->base_GetDefaultAttributes();
17677
17678 wxPyEndAllowThreads(__tstate);
17679 if (PyErr_Occurred()) SWIG_fail;
17680 }
17681 {
17682 wxVisualAttributes * resultptr;
17683 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17685 }
17686 return resultobj;
17687 fail:
17688 return NULL;
17689 }
17690
17691
17692 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17693 PyObject *obj;
17694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17695 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17696 Py_INCREF(obj);
17697 return Py_BuildValue((char *)"");
17698 }
17699 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17700 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17701 return 1;
17702 }
17703
17704
17705 static PyObject *_wrap_PrintoutTitleStr_get() {
17706 PyObject *pyobj;
17707
17708 {
17709 #if wxUSE_UNICODE
17710 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17711 #else
17712 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17713 #endif
17714 }
17715 return pyobj;
17716 }
17717
17718
17719 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17720 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17721 return 1;
17722 }
17723
17724
17725 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17726 PyObject *pyobj;
17727
17728 {
17729 #if wxUSE_UNICODE
17730 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17731 #else
17732 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17733 #endif
17734 }
17735 return pyobj;
17736 }
17737
17738
17739 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17740 PyObject *resultobj;
17741 wxPrintData *result;
17742 char *kwnames[] = {
17743 NULL
17744 };
17745
17746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17747 {
17748 PyThreadState* __tstate = wxPyBeginAllowThreads();
17749 result = (wxPrintData *)new wxPrintData();
17750
17751 wxPyEndAllowThreads(__tstate);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17755 return resultobj;
17756 fail:
17757 return NULL;
17758 }
17759
17760
17761 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17762 PyObject *resultobj;
17763 wxPrintData *arg1 = (wxPrintData *) 0 ;
17764 PyObject * obj0 = 0 ;
17765 char *kwnames[] = {
17766 (char *) "self", NULL
17767 };
17768
17769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 delete arg1;
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 Py_INCREF(Py_None); resultobj = Py_None;
17780 return resultobj;
17781 fail:
17782 return NULL;
17783 }
17784
17785
17786 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxPrintData *arg1 = (wxPrintData *) 0 ;
17789 int result;
17790 PyObject * obj0 = 0 ;
17791 char *kwnames[] = {
17792 (char *) "self", NULL
17793 };
17794
17795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 result = (int)(arg1)->GetNoCopies();
17801
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 resultobj = SWIG_FromInt((int)result);
17806 return resultobj;
17807 fail:
17808 return NULL;
17809 }
17810
17811
17812 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj;
17814 wxPrintData *arg1 = (wxPrintData *) 0 ;
17815 bool result;
17816 PyObject * obj0 = 0 ;
17817 char *kwnames[] = {
17818 (char *) "self", NULL
17819 };
17820
17821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17824 {
17825 PyThreadState* __tstate = wxPyBeginAllowThreads();
17826 result = (bool)(arg1)->GetCollate();
17827
17828 wxPyEndAllowThreads(__tstate);
17829 if (PyErr_Occurred()) SWIG_fail;
17830 }
17831 {
17832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17833 }
17834 return resultobj;
17835 fail:
17836 return NULL;
17837 }
17838
17839
17840 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17841 PyObject *resultobj;
17842 wxPrintData *arg1 = (wxPrintData *) 0 ;
17843 int result;
17844 PyObject * obj0 = 0 ;
17845 char *kwnames[] = {
17846 (char *) "self", NULL
17847 };
17848
17849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17852 {
17853 PyThreadState* __tstate = wxPyBeginAllowThreads();
17854 result = (int)(arg1)->GetOrientation();
17855
17856 wxPyEndAllowThreads(__tstate);
17857 if (PyErr_Occurred()) SWIG_fail;
17858 }
17859 resultobj = SWIG_FromInt((int)result);
17860 return resultobj;
17861 fail:
17862 return NULL;
17863 }
17864
17865
17866 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17867 PyObject *resultobj;
17868 wxPrintData *arg1 = (wxPrintData *) 0 ;
17869 bool result;
17870 PyObject * obj0 = 0 ;
17871 char *kwnames[] = {
17872 (char *) "self", NULL
17873 };
17874
17875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 result = (bool)(arg1)->Ok();
17881
17882 wxPyEndAllowThreads(__tstate);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
17885 {
17886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17887 }
17888 return resultobj;
17889 fail:
17890 return NULL;
17891 }
17892
17893
17894 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17895 PyObject *resultobj;
17896 wxPrintData *arg1 = (wxPrintData *) 0 ;
17897 wxString *result;
17898 PyObject * obj0 = 0 ;
17899 char *kwnames[] = {
17900 (char *) "self", NULL
17901 };
17902
17903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17906 {
17907 PyThreadState* __tstate = wxPyBeginAllowThreads();
17908 {
17909 wxString const &_result_ref = (arg1)->GetPrinterName();
17910 result = (wxString *) &_result_ref;
17911 }
17912
17913 wxPyEndAllowThreads(__tstate);
17914 if (PyErr_Occurred()) SWIG_fail;
17915 }
17916 {
17917 #if wxUSE_UNICODE
17918 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17919 #else
17920 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17921 #endif
17922 }
17923 return resultobj;
17924 fail:
17925 return NULL;
17926 }
17927
17928
17929 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17930 PyObject *resultobj;
17931 wxPrintData *arg1 = (wxPrintData *) 0 ;
17932 bool result;
17933 PyObject * obj0 = 0 ;
17934 char *kwnames[] = {
17935 (char *) "self", NULL
17936 };
17937
17938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17941 {
17942 PyThreadState* __tstate = wxPyBeginAllowThreads();
17943 result = (bool)(arg1)->GetColour();
17944
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 {
17949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17950 }
17951 return resultobj;
17952 fail:
17953 return NULL;
17954 }
17955
17956
17957 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17958 PyObject *resultobj;
17959 wxPrintData *arg1 = (wxPrintData *) 0 ;
17960 int result;
17961 PyObject * obj0 = 0 ;
17962 char *kwnames[] = {
17963 (char *) "self", NULL
17964 };
17965
17966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17969 {
17970 PyThreadState* __tstate = wxPyBeginAllowThreads();
17971 result = (int)(arg1)->GetDuplex();
17972
17973 wxPyEndAllowThreads(__tstate);
17974 if (PyErr_Occurred()) SWIG_fail;
17975 }
17976 resultobj = SWIG_FromInt((int)result);
17977 return resultobj;
17978 fail:
17979 return NULL;
17980 }
17981
17982
17983 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17984 PyObject *resultobj;
17985 wxPrintData *arg1 = (wxPrintData *) 0 ;
17986 int result;
17987 PyObject * obj0 = 0 ;
17988 char *kwnames[] = {
17989 (char *) "self", NULL
17990 };
17991
17992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17995 {
17996 PyThreadState* __tstate = wxPyBeginAllowThreads();
17997 result = (int)(arg1)->GetPaperId();
17998
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 resultobj = SWIG_FromInt((int)result);
18003 return resultobj;
18004 fail:
18005 return NULL;
18006 }
18007
18008
18009 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18010 PyObject *resultobj;
18011 wxPrintData *arg1 = (wxPrintData *) 0 ;
18012 wxSize *result;
18013 PyObject * obj0 = 0 ;
18014 char *kwnames[] = {
18015 (char *) "self", NULL
18016 };
18017
18018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 {
18024 wxSize const &_result_ref = (arg1)->GetPaperSize();
18025 result = (wxSize *) &_result_ref;
18026 }
18027
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18032 return resultobj;
18033 fail:
18034 return NULL;
18035 }
18036
18037
18038 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxPrintData *arg1 = (wxPrintData *) 0 ;
18041 int result;
18042 PyObject * obj0 = 0 ;
18043 char *kwnames[] = {
18044 (char *) "self", NULL
18045 };
18046
18047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18050 {
18051 PyThreadState* __tstate = wxPyBeginAllowThreads();
18052 result = (int)(arg1)->GetQuality();
18053
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 resultobj = SWIG_FromInt((int)result);
18058 return resultobj;
18059 fail:
18060 return NULL;
18061 }
18062
18063
18064 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18065 PyObject *resultobj;
18066 wxPrintData *arg1 = (wxPrintData *) 0 ;
18067 int arg2 ;
18068 PyObject * obj0 = 0 ;
18069 PyObject * obj1 = 0 ;
18070 char *kwnames[] = {
18071 (char *) "self",(char *) "v", NULL
18072 };
18073
18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18077 arg2 = (int) SWIG_AsInt(obj1);
18078 if (PyErr_Occurred()) SWIG_fail;
18079 {
18080 PyThreadState* __tstate = wxPyBeginAllowThreads();
18081 (arg1)->SetNoCopies(arg2);
18082
18083 wxPyEndAllowThreads(__tstate);
18084 if (PyErr_Occurred()) SWIG_fail;
18085 }
18086 Py_INCREF(Py_None); resultobj = Py_None;
18087 return resultobj;
18088 fail:
18089 return NULL;
18090 }
18091
18092
18093 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18094 PyObject *resultobj;
18095 wxPrintData *arg1 = (wxPrintData *) 0 ;
18096 bool arg2 ;
18097 PyObject * obj0 = 0 ;
18098 PyObject * obj1 = 0 ;
18099 char *kwnames[] = {
18100 (char *) "self",(char *) "flag", NULL
18101 };
18102
18103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18106 arg2 = (bool) SWIG_AsBool(obj1);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 {
18109 PyThreadState* __tstate = wxPyBeginAllowThreads();
18110 (arg1)->SetCollate(arg2);
18111
18112 wxPyEndAllowThreads(__tstate);
18113 if (PyErr_Occurred()) SWIG_fail;
18114 }
18115 Py_INCREF(Py_None); resultobj = Py_None;
18116 return resultobj;
18117 fail:
18118 return NULL;
18119 }
18120
18121
18122 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18123 PyObject *resultobj;
18124 wxPrintData *arg1 = (wxPrintData *) 0 ;
18125 int arg2 ;
18126 PyObject * obj0 = 0 ;
18127 PyObject * obj1 = 0 ;
18128 char *kwnames[] = {
18129 (char *) "self",(char *) "orient", NULL
18130 };
18131
18132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18135 arg2 = (int) SWIG_AsInt(obj1);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 {
18138 PyThreadState* __tstate = wxPyBeginAllowThreads();
18139 (arg1)->SetOrientation(arg2);
18140
18141 wxPyEndAllowThreads(__tstate);
18142 if (PyErr_Occurred()) SWIG_fail;
18143 }
18144 Py_INCREF(Py_None); resultobj = Py_None;
18145 return resultobj;
18146 fail:
18147 return NULL;
18148 }
18149
18150
18151 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18152 PyObject *resultobj;
18153 wxPrintData *arg1 = (wxPrintData *) 0 ;
18154 wxString *arg2 = 0 ;
18155 bool temp2 = False ;
18156 PyObject * obj0 = 0 ;
18157 PyObject * obj1 = 0 ;
18158 char *kwnames[] = {
18159 (char *) "self",(char *) "name", NULL
18160 };
18161
18162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18165 {
18166 arg2 = wxString_in_helper(obj1);
18167 if (arg2 == NULL) SWIG_fail;
18168 temp2 = True;
18169 }
18170 {
18171 PyThreadState* __tstate = wxPyBeginAllowThreads();
18172 (arg1)->SetPrinterName((wxString const &)*arg2);
18173
18174 wxPyEndAllowThreads(__tstate);
18175 if (PyErr_Occurred()) SWIG_fail;
18176 }
18177 Py_INCREF(Py_None); resultobj = Py_None;
18178 {
18179 if (temp2)
18180 delete arg2;
18181 }
18182 return resultobj;
18183 fail:
18184 {
18185 if (temp2)
18186 delete arg2;
18187 }
18188 return NULL;
18189 }
18190
18191
18192 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18193 PyObject *resultobj;
18194 wxPrintData *arg1 = (wxPrintData *) 0 ;
18195 bool arg2 ;
18196 PyObject * obj0 = 0 ;
18197 PyObject * obj1 = 0 ;
18198 char *kwnames[] = {
18199 (char *) "self",(char *) "colour", NULL
18200 };
18201
18202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18205 arg2 = (bool) SWIG_AsBool(obj1);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 {
18208 PyThreadState* __tstate = wxPyBeginAllowThreads();
18209 (arg1)->SetColour(arg2);
18210
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
18214 Py_INCREF(Py_None); resultobj = Py_None;
18215 return resultobj;
18216 fail:
18217 return NULL;
18218 }
18219
18220
18221 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18222 PyObject *resultobj;
18223 wxPrintData *arg1 = (wxPrintData *) 0 ;
18224 int arg2 ;
18225 PyObject * obj0 = 0 ;
18226 PyObject * obj1 = 0 ;
18227 char *kwnames[] = {
18228 (char *) "self",(char *) "duplex", NULL
18229 };
18230
18231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18234 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 {
18237 PyThreadState* __tstate = wxPyBeginAllowThreads();
18238 (arg1)->SetDuplex((wxDuplexMode )arg2);
18239
18240 wxPyEndAllowThreads(__tstate);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
18243 Py_INCREF(Py_None); resultobj = Py_None;
18244 return resultobj;
18245 fail:
18246 return NULL;
18247 }
18248
18249
18250 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18251 PyObject *resultobj;
18252 wxPrintData *arg1 = (wxPrintData *) 0 ;
18253 int arg2 ;
18254 PyObject * obj0 = 0 ;
18255 PyObject * obj1 = 0 ;
18256 char *kwnames[] = {
18257 (char *) "self",(char *) "sizeId", NULL
18258 };
18259
18260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18263 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 {
18266 PyThreadState* __tstate = wxPyBeginAllowThreads();
18267 (arg1)->SetPaperId((wxPaperSize )arg2);
18268
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 Py_INCREF(Py_None); resultobj = Py_None;
18273 return resultobj;
18274 fail:
18275 return NULL;
18276 }
18277
18278
18279 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18280 PyObject *resultobj;
18281 wxPrintData *arg1 = (wxPrintData *) 0 ;
18282 wxSize *arg2 = 0 ;
18283 wxSize temp2 ;
18284 PyObject * obj0 = 0 ;
18285 PyObject * obj1 = 0 ;
18286 char *kwnames[] = {
18287 (char *) "self",(char *) "sz", NULL
18288 };
18289
18290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18293 {
18294 arg2 = &temp2;
18295 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18296 }
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 (arg1)->SetPaperSize((wxSize const &)*arg2);
18300
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 Py_INCREF(Py_None); resultobj = Py_None;
18305 return resultobj;
18306 fail:
18307 return NULL;
18308 }
18309
18310
18311 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18312 PyObject *resultobj;
18313 wxPrintData *arg1 = (wxPrintData *) 0 ;
18314 int arg2 ;
18315 PyObject * obj0 = 0 ;
18316 PyObject * obj1 = 0 ;
18317 char *kwnames[] = {
18318 (char *) "self",(char *) "quality", NULL
18319 };
18320
18321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18324 arg2 = (int) SWIG_AsInt(obj1);
18325 if (PyErr_Occurred()) SWIG_fail;
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 (arg1)->SetQuality(arg2);
18329
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 Py_INCREF(Py_None); resultobj = Py_None;
18334 return resultobj;
18335 fail:
18336 return NULL;
18337 }
18338
18339
18340 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18341 PyObject *resultobj;
18342 wxPrintData *arg1 = (wxPrintData *) 0 ;
18343 wxString *result;
18344 PyObject * obj0 = 0 ;
18345 char *kwnames[] = {
18346 (char *) "self", NULL
18347 };
18348
18349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18352 {
18353 PyThreadState* __tstate = wxPyBeginAllowThreads();
18354 {
18355 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18356 result = (wxString *) &_result_ref;
18357 }
18358
18359 wxPyEndAllowThreads(__tstate);
18360 if (PyErr_Occurred()) SWIG_fail;
18361 }
18362 {
18363 #if wxUSE_UNICODE
18364 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18365 #else
18366 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18367 #endif
18368 }
18369 return resultobj;
18370 fail:
18371 return NULL;
18372 }
18373
18374
18375 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18376 PyObject *resultobj;
18377 wxPrintData *arg1 = (wxPrintData *) 0 ;
18378 wxString *result;
18379 PyObject * obj0 = 0 ;
18380 char *kwnames[] = {
18381 (char *) "self", NULL
18382 };
18383
18384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18387 {
18388 PyThreadState* __tstate = wxPyBeginAllowThreads();
18389 {
18390 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18391 result = (wxString *) &_result_ref;
18392 }
18393
18394 wxPyEndAllowThreads(__tstate);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 }
18397 {
18398 #if wxUSE_UNICODE
18399 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18400 #else
18401 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18402 #endif
18403 }
18404 return resultobj;
18405 fail:
18406 return NULL;
18407 }
18408
18409
18410 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18411 PyObject *resultobj;
18412 wxPrintData *arg1 = (wxPrintData *) 0 ;
18413 wxString *result;
18414 PyObject * obj0 = 0 ;
18415 char *kwnames[] = {
18416 (char *) "self", NULL
18417 };
18418
18419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18422 {
18423 PyThreadState* __tstate = wxPyBeginAllowThreads();
18424 {
18425 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18426 result = (wxString *) &_result_ref;
18427 }
18428
18429 wxPyEndAllowThreads(__tstate);
18430 if (PyErr_Occurred()) SWIG_fail;
18431 }
18432 {
18433 #if wxUSE_UNICODE
18434 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18435 #else
18436 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18437 #endif
18438 }
18439 return resultobj;
18440 fail:
18441 return NULL;
18442 }
18443
18444
18445 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18446 PyObject *resultobj;
18447 wxPrintData *arg1 = (wxPrintData *) 0 ;
18448 wxString *result;
18449 PyObject * obj0 = 0 ;
18450 char *kwnames[] = {
18451 (char *) "self", NULL
18452 };
18453
18454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18457 {
18458 PyThreadState* __tstate = wxPyBeginAllowThreads();
18459 {
18460 wxString const &_result_ref = (arg1)->GetFilename();
18461 result = (wxString *) &_result_ref;
18462 }
18463
18464 wxPyEndAllowThreads(__tstate);
18465 if (PyErr_Occurred()) SWIG_fail;
18466 }
18467 {
18468 #if wxUSE_UNICODE
18469 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18470 #else
18471 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18472 #endif
18473 }
18474 return resultobj;
18475 fail:
18476 return NULL;
18477 }
18478
18479
18480 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18481 PyObject *resultobj;
18482 wxPrintData *arg1 = (wxPrintData *) 0 ;
18483 wxString *result;
18484 PyObject * obj0 = 0 ;
18485 char *kwnames[] = {
18486 (char *) "self", NULL
18487 };
18488
18489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18492 {
18493 PyThreadState* __tstate = wxPyBeginAllowThreads();
18494 {
18495 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18496 result = (wxString *) &_result_ref;
18497 }
18498
18499 wxPyEndAllowThreads(__tstate);
18500 if (PyErr_Occurred()) SWIG_fail;
18501 }
18502 {
18503 #if wxUSE_UNICODE
18504 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18505 #else
18506 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18507 #endif
18508 }
18509 return resultobj;
18510 fail:
18511 return NULL;
18512 }
18513
18514
18515 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18516 PyObject *resultobj;
18517 wxPrintData *arg1 = (wxPrintData *) 0 ;
18518 double result;
18519 PyObject * obj0 = 0 ;
18520 char *kwnames[] = {
18521 (char *) "self", NULL
18522 };
18523
18524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18527 {
18528 PyThreadState* __tstate = wxPyBeginAllowThreads();
18529 result = (double)(arg1)->GetPrinterScaleX();
18530
18531 wxPyEndAllowThreads(__tstate);
18532 if (PyErr_Occurred()) SWIG_fail;
18533 }
18534 resultobj = SWIG_FromDouble((double)result);
18535 return resultobj;
18536 fail:
18537 return NULL;
18538 }
18539
18540
18541 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18542 PyObject *resultobj;
18543 wxPrintData *arg1 = (wxPrintData *) 0 ;
18544 double result;
18545 PyObject * obj0 = 0 ;
18546 char *kwnames[] = {
18547 (char *) "self", NULL
18548 };
18549
18550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
18555 result = (double)(arg1)->GetPrinterScaleY();
18556
18557 wxPyEndAllowThreads(__tstate);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 }
18560 resultobj = SWIG_FromDouble((double)result);
18561 return resultobj;
18562 fail:
18563 return NULL;
18564 }
18565
18566
18567 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18568 PyObject *resultobj;
18569 wxPrintData *arg1 = (wxPrintData *) 0 ;
18570 long result;
18571 PyObject * obj0 = 0 ;
18572 char *kwnames[] = {
18573 (char *) "self", NULL
18574 };
18575
18576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18579 {
18580 PyThreadState* __tstate = wxPyBeginAllowThreads();
18581 result = (long)(arg1)->GetPrinterTranslateX();
18582
18583 wxPyEndAllowThreads(__tstate);
18584 if (PyErr_Occurred()) SWIG_fail;
18585 }
18586 resultobj = SWIG_FromLong((long)result);
18587 return resultobj;
18588 fail:
18589 return NULL;
18590 }
18591
18592
18593 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18594 PyObject *resultobj;
18595 wxPrintData *arg1 = (wxPrintData *) 0 ;
18596 long result;
18597 PyObject * obj0 = 0 ;
18598 char *kwnames[] = {
18599 (char *) "self", NULL
18600 };
18601
18602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18605 {
18606 PyThreadState* __tstate = wxPyBeginAllowThreads();
18607 result = (long)(arg1)->GetPrinterTranslateY();
18608
18609 wxPyEndAllowThreads(__tstate);
18610 if (PyErr_Occurred()) SWIG_fail;
18611 }
18612 resultobj = SWIG_FromLong((long)result);
18613 return resultobj;
18614 fail:
18615 return NULL;
18616 }
18617
18618
18619 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18620 PyObject *resultobj;
18621 wxPrintData *arg1 = (wxPrintData *) 0 ;
18622 int result;
18623 PyObject * obj0 = 0 ;
18624 char *kwnames[] = {
18625 (char *) "self", NULL
18626 };
18627
18628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 result = (int)(arg1)->GetPrintMode();
18634
18635 wxPyEndAllowThreads(__tstate);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 resultobj = SWIG_FromInt((int)result);
18639 return resultobj;
18640 fail:
18641 return NULL;
18642 }
18643
18644
18645 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18646 PyObject *resultobj;
18647 wxPrintData *arg1 = (wxPrintData *) 0 ;
18648 wxString *arg2 = 0 ;
18649 bool temp2 = False ;
18650 PyObject * obj0 = 0 ;
18651 PyObject * obj1 = 0 ;
18652 char *kwnames[] = {
18653 (char *) "self",(char *) "command", NULL
18654 };
18655
18656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18659 {
18660 arg2 = wxString_in_helper(obj1);
18661 if (arg2 == NULL) SWIG_fail;
18662 temp2 = True;
18663 }
18664 {
18665 PyThreadState* __tstate = wxPyBeginAllowThreads();
18666 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18667
18668 wxPyEndAllowThreads(__tstate);
18669 if (PyErr_Occurred()) SWIG_fail;
18670 }
18671 Py_INCREF(Py_None); resultobj = Py_None;
18672 {
18673 if (temp2)
18674 delete arg2;
18675 }
18676 return resultobj;
18677 fail:
18678 {
18679 if (temp2)
18680 delete arg2;
18681 }
18682 return NULL;
18683 }
18684
18685
18686 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18687 PyObject *resultobj;
18688 wxPrintData *arg1 = (wxPrintData *) 0 ;
18689 wxString *arg2 = 0 ;
18690 bool temp2 = False ;
18691 PyObject * obj0 = 0 ;
18692 PyObject * obj1 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self",(char *) "options", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18700 {
18701 arg2 = wxString_in_helper(obj1);
18702 if (arg2 == NULL) SWIG_fail;
18703 temp2 = True;
18704 }
18705 {
18706 PyThreadState* __tstate = wxPyBeginAllowThreads();
18707 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18708
18709 wxPyEndAllowThreads(__tstate);
18710 if (PyErr_Occurred()) SWIG_fail;
18711 }
18712 Py_INCREF(Py_None); resultobj = Py_None;
18713 {
18714 if (temp2)
18715 delete arg2;
18716 }
18717 return resultobj;
18718 fail:
18719 {
18720 if (temp2)
18721 delete arg2;
18722 }
18723 return NULL;
18724 }
18725
18726
18727 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18728 PyObject *resultobj;
18729 wxPrintData *arg1 = (wxPrintData *) 0 ;
18730 wxString *arg2 = 0 ;
18731 bool temp2 = False ;
18732 PyObject * obj0 = 0 ;
18733 PyObject * obj1 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self",(char *) "command", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18741 {
18742 arg2 = wxString_in_helper(obj1);
18743 if (arg2 == NULL) SWIG_fail;
18744 temp2 = True;
18745 }
18746 {
18747 PyThreadState* __tstate = wxPyBeginAllowThreads();
18748 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18749
18750 wxPyEndAllowThreads(__tstate);
18751 if (PyErr_Occurred()) SWIG_fail;
18752 }
18753 Py_INCREF(Py_None); resultobj = Py_None;
18754 {
18755 if (temp2)
18756 delete arg2;
18757 }
18758 return resultobj;
18759 fail:
18760 {
18761 if (temp2)
18762 delete arg2;
18763 }
18764 return NULL;
18765 }
18766
18767
18768 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18769 PyObject *resultobj;
18770 wxPrintData *arg1 = (wxPrintData *) 0 ;
18771 wxString *arg2 = 0 ;
18772 bool temp2 = False ;
18773 PyObject * obj0 = 0 ;
18774 PyObject * obj1 = 0 ;
18775 char *kwnames[] = {
18776 (char *) "self",(char *) "filename", NULL
18777 };
18778
18779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18782 {
18783 arg2 = wxString_in_helper(obj1);
18784 if (arg2 == NULL) SWIG_fail;
18785 temp2 = True;
18786 }
18787 {
18788 PyThreadState* __tstate = wxPyBeginAllowThreads();
18789 (arg1)->SetFilename((wxString const &)*arg2);
18790
18791 wxPyEndAllowThreads(__tstate);
18792 if (PyErr_Occurred()) SWIG_fail;
18793 }
18794 Py_INCREF(Py_None); resultobj = Py_None;
18795 {
18796 if (temp2)
18797 delete arg2;
18798 }
18799 return resultobj;
18800 fail:
18801 {
18802 if (temp2)
18803 delete arg2;
18804 }
18805 return NULL;
18806 }
18807
18808
18809 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18810 PyObject *resultobj;
18811 wxPrintData *arg1 = (wxPrintData *) 0 ;
18812 wxString *arg2 = 0 ;
18813 bool temp2 = False ;
18814 PyObject * obj0 = 0 ;
18815 PyObject * obj1 = 0 ;
18816 char *kwnames[] = {
18817 (char *) "self",(char *) "path", NULL
18818 };
18819
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18823 {
18824 arg2 = wxString_in_helper(obj1);
18825 if (arg2 == NULL) SWIG_fail;
18826 temp2 = True;
18827 }
18828 {
18829 PyThreadState* __tstate = wxPyBeginAllowThreads();
18830 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18831
18832 wxPyEndAllowThreads(__tstate);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
18835 Py_INCREF(Py_None); resultobj = Py_None;
18836 {
18837 if (temp2)
18838 delete arg2;
18839 }
18840 return resultobj;
18841 fail:
18842 {
18843 if (temp2)
18844 delete arg2;
18845 }
18846 return NULL;
18847 }
18848
18849
18850 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18851 PyObject *resultobj;
18852 wxPrintData *arg1 = (wxPrintData *) 0 ;
18853 double arg2 ;
18854 PyObject * obj0 = 0 ;
18855 PyObject * obj1 = 0 ;
18856 char *kwnames[] = {
18857 (char *) "self",(char *) "x", NULL
18858 };
18859
18860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18863 arg2 = (double) SWIG_AsDouble(obj1);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 {
18866 PyThreadState* __tstate = wxPyBeginAllowThreads();
18867 (arg1)->SetPrinterScaleX(arg2);
18868
18869 wxPyEndAllowThreads(__tstate);
18870 if (PyErr_Occurred()) SWIG_fail;
18871 }
18872 Py_INCREF(Py_None); resultobj = Py_None;
18873 return resultobj;
18874 fail:
18875 return NULL;
18876 }
18877
18878
18879 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18880 PyObject *resultobj;
18881 wxPrintData *arg1 = (wxPrintData *) 0 ;
18882 double arg2 ;
18883 PyObject * obj0 = 0 ;
18884 PyObject * obj1 = 0 ;
18885 char *kwnames[] = {
18886 (char *) "self",(char *) "y", NULL
18887 };
18888
18889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18892 arg2 = (double) SWIG_AsDouble(obj1);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 {
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 (arg1)->SetPrinterScaleY(arg2);
18897
18898 wxPyEndAllowThreads(__tstate);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 Py_INCREF(Py_None); resultobj = Py_None;
18902 return resultobj;
18903 fail:
18904 return NULL;
18905 }
18906
18907
18908 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18909 PyObject *resultobj;
18910 wxPrintData *arg1 = (wxPrintData *) 0 ;
18911 double arg2 ;
18912 double arg3 ;
18913 PyObject * obj0 = 0 ;
18914 PyObject * obj1 = 0 ;
18915 PyObject * obj2 = 0 ;
18916 char *kwnames[] = {
18917 (char *) "self",(char *) "x",(char *) "y", NULL
18918 };
18919
18920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18923 arg2 = (double) SWIG_AsDouble(obj1);
18924 if (PyErr_Occurred()) SWIG_fail;
18925 arg3 = (double) SWIG_AsDouble(obj2);
18926 if (PyErr_Occurred()) SWIG_fail;
18927 {
18928 PyThreadState* __tstate = wxPyBeginAllowThreads();
18929 (arg1)->SetPrinterScaling(arg2,arg3);
18930
18931 wxPyEndAllowThreads(__tstate);
18932 if (PyErr_Occurred()) SWIG_fail;
18933 }
18934 Py_INCREF(Py_None); resultobj = Py_None;
18935 return resultobj;
18936 fail:
18937 return NULL;
18938 }
18939
18940
18941 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18942 PyObject *resultobj;
18943 wxPrintData *arg1 = (wxPrintData *) 0 ;
18944 long arg2 ;
18945 PyObject * obj0 = 0 ;
18946 PyObject * obj1 = 0 ;
18947 char *kwnames[] = {
18948 (char *) "self",(char *) "x", NULL
18949 };
18950
18951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18954 arg2 = (long) SWIG_AsLong(obj1);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 {
18957 PyThreadState* __tstate = wxPyBeginAllowThreads();
18958 (arg1)->SetPrinterTranslateX(arg2);
18959
18960 wxPyEndAllowThreads(__tstate);
18961 if (PyErr_Occurred()) SWIG_fail;
18962 }
18963 Py_INCREF(Py_None); resultobj = Py_None;
18964 return resultobj;
18965 fail:
18966 return NULL;
18967 }
18968
18969
18970 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18971 PyObject *resultobj;
18972 wxPrintData *arg1 = (wxPrintData *) 0 ;
18973 long arg2 ;
18974 PyObject * obj0 = 0 ;
18975 PyObject * obj1 = 0 ;
18976 char *kwnames[] = {
18977 (char *) "self",(char *) "y", NULL
18978 };
18979
18980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18983 arg2 = (long) SWIG_AsLong(obj1);
18984 if (PyErr_Occurred()) SWIG_fail;
18985 {
18986 PyThreadState* __tstate = wxPyBeginAllowThreads();
18987 (arg1)->SetPrinterTranslateY(arg2);
18988
18989 wxPyEndAllowThreads(__tstate);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 Py_INCREF(Py_None); resultobj = Py_None;
18993 return resultobj;
18994 fail:
18995 return NULL;
18996 }
18997
18998
18999 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
19000 PyObject *resultobj;
19001 wxPrintData *arg1 = (wxPrintData *) 0 ;
19002 long arg2 ;
19003 long arg3 ;
19004 PyObject * obj0 = 0 ;
19005 PyObject * obj1 = 0 ;
19006 PyObject * obj2 = 0 ;
19007 char *kwnames[] = {
19008 (char *) "self",(char *) "x",(char *) "y", NULL
19009 };
19010
19011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19014 arg2 = (long) SWIG_AsLong(obj1);
19015 if (PyErr_Occurred()) SWIG_fail;
19016 arg3 = (long) SWIG_AsLong(obj2);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 {
19019 PyThreadState* __tstate = wxPyBeginAllowThreads();
19020 (arg1)->SetPrinterTranslation(arg2,arg3);
19021
19022 wxPyEndAllowThreads(__tstate);
19023 if (PyErr_Occurred()) SWIG_fail;
19024 }
19025 Py_INCREF(Py_None); resultobj = Py_None;
19026 return resultobj;
19027 fail:
19028 return NULL;
19029 }
19030
19031
19032 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj;
19034 wxPrintData *arg1 = (wxPrintData *) 0 ;
19035 int arg2 ;
19036 PyObject * obj0 = 0 ;
19037 PyObject * obj1 = 0 ;
19038 char *kwnames[] = {
19039 (char *) "self",(char *) "printMode", NULL
19040 };
19041
19042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19045 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
19046 if (PyErr_Occurred()) SWIG_fail;
19047 {
19048 PyThreadState* __tstate = wxPyBeginAllowThreads();
19049 (arg1)->SetPrintMode((wxPrintMode )arg2);
19050
19051 wxPyEndAllowThreads(__tstate);
19052 if (PyErr_Occurred()) SWIG_fail;
19053 }
19054 Py_INCREF(Py_None); resultobj = Py_None;
19055 return resultobj;
19056 fail:
19057 return NULL;
19058 }
19059
19060
19061 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19062 PyObject *resultobj;
19063 wxPrintData *arg1 = (wxPrintData *) 0 ;
19064 wxOutputStream *result;
19065 PyObject * obj0 = 0 ;
19066 char *kwnames[] = {
19067 (char *) "self", NULL
19068 };
19069
19070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19073 {
19074 PyThreadState* __tstate = wxPyBeginAllowThreads();
19075 result = (wxOutputStream *)(arg1)->GetOutputStream();
19076
19077 wxPyEndAllowThreads(__tstate);
19078 if (PyErr_Occurred()) SWIG_fail;
19079 }
19080 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19081 return resultobj;
19082 fail:
19083 return NULL;
19084 }
19085
19086
19087 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19088 PyObject *resultobj;
19089 wxPrintData *arg1 = (wxPrintData *) 0 ;
19090 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19091 PyObject * obj0 = 0 ;
19092 PyObject * obj1 = 0 ;
19093 char *kwnames[] = {
19094 (char *) "self",(char *) "outputstream", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19102 {
19103 PyThreadState* __tstate = wxPyBeginAllowThreads();
19104 (arg1)->SetOutputStream(arg2);
19105
19106 wxPyEndAllowThreads(__tstate);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
19109 Py_INCREF(Py_None); resultobj = Py_None;
19110 return resultobj;
19111 fail:
19112 return NULL;
19113 }
19114
19115
19116 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
19117 PyObject *obj;
19118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19119 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19120 Py_INCREF(obj);
19121 return Py_BuildValue((char *)"");
19122 }
19123 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19124 PyObject *resultobj;
19125 wxPageSetupDialogData *result;
19126 char *kwnames[] = {
19127 NULL
19128 };
19129
19130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
19131 {
19132 PyThreadState* __tstate = wxPyBeginAllowThreads();
19133 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19134
19135 wxPyEndAllowThreads(__tstate);
19136 if (PyErr_Occurred()) SWIG_fail;
19137 }
19138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19139 return resultobj;
19140 fail:
19141 return NULL;
19142 }
19143
19144
19145 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19146 PyObject *resultobj;
19147 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19148 PyObject * obj0 = 0 ;
19149 char *kwnames[] = {
19150 (char *) "self", NULL
19151 };
19152
19153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19156 {
19157 PyThreadState* __tstate = wxPyBeginAllowThreads();
19158 delete arg1;
19159
19160 wxPyEndAllowThreads(__tstate);
19161 if (PyErr_Occurred()) SWIG_fail;
19162 }
19163 Py_INCREF(Py_None); resultobj = Py_None;
19164 return resultobj;
19165 fail:
19166 return NULL;
19167 }
19168
19169
19170 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19171 PyObject *resultobj;
19172 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19173 bool arg2 ;
19174 PyObject * obj0 = 0 ;
19175 PyObject * obj1 = 0 ;
19176 char *kwnames[] = {
19177 (char *) "self",(char *) "flag", NULL
19178 };
19179
19180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19183 arg2 = (bool) SWIG_AsBool(obj1);
19184 if (PyErr_Occurred()) SWIG_fail;
19185 {
19186 PyThreadState* __tstate = wxPyBeginAllowThreads();
19187 (arg1)->EnableHelp(arg2);
19188
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 Py_INCREF(Py_None); resultobj = Py_None;
19193 return resultobj;
19194 fail:
19195 return NULL;
19196 }
19197
19198
19199 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj;
19201 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19202 bool arg2 ;
19203 PyObject * obj0 = 0 ;
19204 PyObject * obj1 = 0 ;
19205 char *kwnames[] = {
19206 (char *) "self",(char *) "flag", NULL
19207 };
19208
19209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19212 arg2 = (bool) SWIG_AsBool(obj1);
19213 if (PyErr_Occurred()) SWIG_fail;
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 (arg1)->EnableMargins(arg2);
19217
19218 wxPyEndAllowThreads(__tstate);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
19221 Py_INCREF(Py_None); resultobj = Py_None;
19222 return resultobj;
19223 fail:
19224 return NULL;
19225 }
19226
19227
19228 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19229 PyObject *resultobj;
19230 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19231 bool arg2 ;
19232 PyObject * obj0 = 0 ;
19233 PyObject * obj1 = 0 ;
19234 char *kwnames[] = {
19235 (char *) "self",(char *) "flag", NULL
19236 };
19237
19238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19241 arg2 = (bool) SWIG_AsBool(obj1);
19242 if (PyErr_Occurred()) SWIG_fail;
19243 {
19244 PyThreadState* __tstate = wxPyBeginAllowThreads();
19245 (arg1)->EnableOrientation(arg2);
19246
19247 wxPyEndAllowThreads(__tstate);
19248 if (PyErr_Occurred()) SWIG_fail;
19249 }
19250 Py_INCREF(Py_None); resultobj = Py_None;
19251 return resultobj;
19252 fail:
19253 return NULL;
19254 }
19255
19256
19257 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19258 PyObject *resultobj;
19259 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19260 bool arg2 ;
19261 PyObject * obj0 = 0 ;
19262 PyObject * obj1 = 0 ;
19263 char *kwnames[] = {
19264 (char *) "self",(char *) "flag", NULL
19265 };
19266
19267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19270 arg2 = (bool) SWIG_AsBool(obj1);
19271 if (PyErr_Occurred()) SWIG_fail;
19272 {
19273 PyThreadState* __tstate = wxPyBeginAllowThreads();
19274 (arg1)->EnablePaper(arg2);
19275
19276 wxPyEndAllowThreads(__tstate);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 }
19279 Py_INCREF(Py_None); resultobj = Py_None;
19280 return resultobj;
19281 fail:
19282 return NULL;
19283 }
19284
19285
19286 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19287 PyObject *resultobj;
19288 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19289 bool arg2 ;
19290 PyObject * obj0 = 0 ;
19291 PyObject * obj1 = 0 ;
19292 char *kwnames[] = {
19293 (char *) "self",(char *) "flag", NULL
19294 };
19295
19296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19299 arg2 = (bool) SWIG_AsBool(obj1);
19300 if (PyErr_Occurred()) SWIG_fail;
19301 {
19302 PyThreadState* __tstate = wxPyBeginAllowThreads();
19303 (arg1)->EnablePrinter(arg2);
19304
19305 wxPyEndAllowThreads(__tstate);
19306 if (PyErr_Occurred()) SWIG_fail;
19307 }
19308 Py_INCREF(Py_None); resultobj = Py_None;
19309 return resultobj;
19310 fail:
19311 return NULL;
19312 }
19313
19314
19315 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19318 bool result;
19319 PyObject * obj0 = 0 ;
19320 char *kwnames[] = {
19321 (char *) "self", NULL
19322 };
19323
19324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19327 {
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
19329 result = (bool)(arg1)->GetDefaultMinMargins();
19330
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 {
19335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19336 }
19337 return resultobj;
19338 fail:
19339 return NULL;
19340 }
19341
19342
19343 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19344 PyObject *resultobj;
19345 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19346 bool result;
19347 PyObject * obj0 = 0 ;
19348 char *kwnames[] = {
19349 (char *) "self", NULL
19350 };
19351
19352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19355 {
19356 PyThreadState* __tstate = wxPyBeginAllowThreads();
19357 result = (bool)(arg1)->GetEnableMargins();
19358
19359 wxPyEndAllowThreads(__tstate);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 }
19362 {
19363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19364 }
19365 return resultobj;
19366 fail:
19367 return NULL;
19368 }
19369
19370
19371 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19372 PyObject *resultobj;
19373 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19374 bool result;
19375 PyObject * obj0 = 0 ;
19376 char *kwnames[] = {
19377 (char *) "self", NULL
19378 };
19379
19380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19383 {
19384 PyThreadState* __tstate = wxPyBeginAllowThreads();
19385 result = (bool)(arg1)->GetEnableOrientation();
19386
19387 wxPyEndAllowThreads(__tstate);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 }
19390 {
19391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19392 }
19393 return resultobj;
19394 fail:
19395 return NULL;
19396 }
19397
19398
19399 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19400 PyObject *resultobj;
19401 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19402 bool result;
19403 PyObject * obj0 = 0 ;
19404 char *kwnames[] = {
19405 (char *) "self", NULL
19406 };
19407
19408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19411 {
19412 PyThreadState* __tstate = wxPyBeginAllowThreads();
19413 result = (bool)(arg1)->GetEnablePaper();
19414
19415 wxPyEndAllowThreads(__tstate);
19416 if (PyErr_Occurred()) SWIG_fail;
19417 }
19418 {
19419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19420 }
19421 return resultobj;
19422 fail:
19423 return NULL;
19424 }
19425
19426
19427 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19428 PyObject *resultobj;
19429 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19430 bool result;
19431 PyObject * obj0 = 0 ;
19432 char *kwnames[] = {
19433 (char *) "self", NULL
19434 };
19435
19436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19439 {
19440 PyThreadState* __tstate = wxPyBeginAllowThreads();
19441 result = (bool)(arg1)->GetEnablePrinter();
19442
19443 wxPyEndAllowThreads(__tstate);
19444 if (PyErr_Occurred()) SWIG_fail;
19445 }
19446 {
19447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19448 }
19449 return resultobj;
19450 fail:
19451 return NULL;
19452 }
19453
19454
19455 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19456 PyObject *resultobj;
19457 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19458 bool result;
19459 PyObject * obj0 = 0 ;
19460 char *kwnames[] = {
19461 (char *) "self", NULL
19462 };
19463
19464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19467 {
19468 PyThreadState* __tstate = wxPyBeginAllowThreads();
19469 result = (bool)(arg1)->GetEnableHelp();
19470
19471 wxPyEndAllowThreads(__tstate);
19472 if (PyErr_Occurred()) SWIG_fail;
19473 }
19474 {
19475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19476 }
19477 return resultobj;
19478 fail:
19479 return NULL;
19480 }
19481
19482
19483 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19484 PyObject *resultobj;
19485 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19486 bool result;
19487 PyObject * obj0 = 0 ;
19488 char *kwnames[] = {
19489 (char *) "self", NULL
19490 };
19491
19492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19495 {
19496 PyThreadState* __tstate = wxPyBeginAllowThreads();
19497 result = (bool)(arg1)->GetDefaultInfo();
19498
19499 wxPyEndAllowThreads(__tstate);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 {
19503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19504 }
19505 return resultobj;
19506 fail:
19507 return NULL;
19508 }
19509
19510
19511 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19512 PyObject *resultobj;
19513 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19514 wxPoint result;
19515 PyObject * obj0 = 0 ;
19516 char *kwnames[] = {
19517 (char *) "self", NULL
19518 };
19519
19520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19523 {
19524 PyThreadState* __tstate = wxPyBeginAllowThreads();
19525 result = (arg1)->GetMarginTopLeft();
19526
19527 wxPyEndAllowThreads(__tstate);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 {
19531 wxPoint * resultptr;
19532 resultptr = new wxPoint((wxPoint &) result);
19533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19534 }
19535 return resultobj;
19536 fail:
19537 return NULL;
19538 }
19539
19540
19541 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19542 PyObject *resultobj;
19543 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19544 wxPoint result;
19545 PyObject * obj0 = 0 ;
19546 char *kwnames[] = {
19547 (char *) "self", NULL
19548 };
19549
19550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19553 {
19554 PyThreadState* __tstate = wxPyBeginAllowThreads();
19555 result = (arg1)->GetMarginBottomRight();
19556
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 {
19561 wxPoint * resultptr;
19562 resultptr = new wxPoint((wxPoint &) result);
19563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19564 }
19565 return resultobj;
19566 fail:
19567 return NULL;
19568 }
19569
19570
19571 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19572 PyObject *resultobj;
19573 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19574 wxPoint result;
19575 PyObject * obj0 = 0 ;
19576 char *kwnames[] = {
19577 (char *) "self", NULL
19578 };
19579
19580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19583 {
19584 PyThreadState* __tstate = wxPyBeginAllowThreads();
19585 result = (arg1)->GetMinMarginTopLeft();
19586
19587 wxPyEndAllowThreads(__tstate);
19588 if (PyErr_Occurred()) SWIG_fail;
19589 }
19590 {
19591 wxPoint * resultptr;
19592 resultptr = new wxPoint((wxPoint &) result);
19593 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19594 }
19595 return resultobj;
19596 fail:
19597 return NULL;
19598 }
19599
19600
19601 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19602 PyObject *resultobj;
19603 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19604 wxPoint result;
19605 PyObject * obj0 = 0 ;
19606 char *kwnames[] = {
19607 (char *) "self", NULL
19608 };
19609
19610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19613 {
19614 PyThreadState* __tstate = wxPyBeginAllowThreads();
19615 result = (arg1)->GetMinMarginBottomRight();
19616
19617 wxPyEndAllowThreads(__tstate);
19618 if (PyErr_Occurred()) SWIG_fail;
19619 }
19620 {
19621 wxPoint * resultptr;
19622 resultptr = new wxPoint((wxPoint &) result);
19623 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19624 }
19625 return resultobj;
19626 fail:
19627 return NULL;
19628 }
19629
19630
19631 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19632 PyObject *resultobj;
19633 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19634 int result;
19635 PyObject * obj0 = 0 ;
19636 char *kwnames[] = {
19637 (char *) "self", NULL
19638 };
19639
19640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19643 {
19644 PyThreadState* __tstate = wxPyBeginAllowThreads();
19645 result = (int)(arg1)->GetPaperId();
19646
19647 wxPyEndAllowThreads(__tstate);
19648 if (PyErr_Occurred()) SWIG_fail;
19649 }
19650 resultobj = SWIG_FromInt((int)result);
19651 return resultobj;
19652 fail:
19653 return NULL;
19654 }
19655
19656
19657 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19658 PyObject *resultobj;
19659 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19660 wxSize result;
19661 PyObject * obj0 = 0 ;
19662 char *kwnames[] = {
19663 (char *) "self", NULL
19664 };
19665
19666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 result = (arg1)->GetPaperSize();
19672
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 {
19677 wxSize * resultptr;
19678 resultptr = new wxSize((wxSize &) result);
19679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19680 }
19681 return resultobj;
19682 fail:
19683 return NULL;
19684 }
19685
19686
19687 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19688 PyObject *resultobj;
19689 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19690 wxPrintData *result;
19691 PyObject * obj0 = 0 ;
19692 char *kwnames[] = {
19693 (char *) "self", NULL
19694 };
19695
19696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19699 {
19700 PyThreadState* __tstate = wxPyBeginAllowThreads();
19701 {
19702 wxPrintData &_result_ref = (arg1)->GetPrintData();
19703 result = (wxPrintData *) &_result_ref;
19704 }
19705
19706 wxPyEndAllowThreads(__tstate);
19707 if (PyErr_Occurred()) SWIG_fail;
19708 }
19709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19710 return resultobj;
19711 fail:
19712 return NULL;
19713 }
19714
19715
19716 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19717 PyObject *resultobj;
19718 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19719 bool result;
19720 PyObject * obj0 = 0 ;
19721 char *kwnames[] = {
19722 (char *) "self", NULL
19723 };
19724
19725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19728 {
19729 PyThreadState* __tstate = wxPyBeginAllowThreads();
19730 result = (bool)(arg1)->Ok();
19731
19732 wxPyEndAllowThreads(__tstate);
19733 if (PyErr_Occurred()) SWIG_fail;
19734 }
19735 {
19736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19737 }
19738 return resultobj;
19739 fail:
19740 return NULL;
19741 }
19742
19743
19744 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19745 PyObject *resultobj;
19746 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19747 bool arg2 ;
19748 PyObject * obj0 = 0 ;
19749 PyObject * obj1 = 0 ;
19750 char *kwnames[] = {
19751 (char *) "self",(char *) "flag", NULL
19752 };
19753
19754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19757 arg2 = (bool) SWIG_AsBool(obj1);
19758 if (PyErr_Occurred()) SWIG_fail;
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 (arg1)->SetDefaultInfo(arg2);
19762
19763 wxPyEndAllowThreads(__tstate);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
19766 Py_INCREF(Py_None); resultobj = Py_None;
19767 return resultobj;
19768 fail:
19769 return NULL;
19770 }
19771
19772
19773 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj;
19775 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19776 bool arg2 ;
19777 PyObject * obj0 = 0 ;
19778 PyObject * obj1 = 0 ;
19779 char *kwnames[] = {
19780 (char *) "self",(char *) "flag", NULL
19781 };
19782
19783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19786 arg2 = (bool) SWIG_AsBool(obj1);
19787 if (PyErr_Occurred()) SWIG_fail;
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 (arg1)->SetDefaultMinMargins(arg2);
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 Py_INCREF(Py_None); resultobj = Py_None;
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19805 wxPoint *arg2 = 0 ;
19806 wxPoint temp2 ;
19807 PyObject * obj0 = 0 ;
19808 PyObject * obj1 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self",(char *) "pt", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19816 {
19817 arg2 = &temp2;
19818 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19819 }
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 Py_INCREF(Py_None); resultobj = Py_None;
19828 return resultobj;
19829 fail:
19830 return NULL;
19831 }
19832
19833
19834 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19835 PyObject *resultobj;
19836 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19837 wxPoint *arg2 = 0 ;
19838 wxPoint temp2 ;
19839 PyObject * obj0 = 0 ;
19840 PyObject * obj1 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "self",(char *) "pt", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19848 {
19849 arg2 = &temp2;
19850 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19851 }
19852 {
19853 PyThreadState* __tstate = wxPyBeginAllowThreads();
19854 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19855
19856 wxPyEndAllowThreads(__tstate);
19857 if (PyErr_Occurred()) SWIG_fail;
19858 }
19859 Py_INCREF(Py_None); resultobj = Py_None;
19860 return resultobj;
19861 fail:
19862 return NULL;
19863 }
19864
19865
19866 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19867 PyObject *resultobj;
19868 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19869 wxPoint *arg2 = 0 ;
19870 wxPoint temp2 ;
19871 PyObject * obj0 = 0 ;
19872 PyObject * obj1 = 0 ;
19873 char *kwnames[] = {
19874 (char *) "self",(char *) "pt", NULL
19875 };
19876
19877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19880 {
19881 arg2 = &temp2;
19882 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19883 }
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19887
19888 wxPyEndAllowThreads(__tstate);
19889 if (PyErr_Occurred()) SWIG_fail;
19890 }
19891 Py_INCREF(Py_None); resultobj = Py_None;
19892 return resultobj;
19893 fail:
19894 return NULL;
19895 }
19896
19897
19898 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19899 PyObject *resultobj;
19900 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19901 wxPoint *arg2 = 0 ;
19902 wxPoint temp2 ;
19903 PyObject * obj0 = 0 ;
19904 PyObject * obj1 = 0 ;
19905 char *kwnames[] = {
19906 (char *) "self",(char *) "pt", NULL
19907 };
19908
19909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19912 {
19913 arg2 = &temp2;
19914 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19915 }
19916 {
19917 PyThreadState* __tstate = wxPyBeginAllowThreads();
19918 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19919
19920 wxPyEndAllowThreads(__tstate);
19921 if (PyErr_Occurred()) SWIG_fail;
19922 }
19923 Py_INCREF(Py_None); resultobj = Py_None;
19924 return resultobj;
19925 fail:
19926 return NULL;
19927 }
19928
19929
19930 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19931 PyObject *resultobj;
19932 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19933 int arg2 ;
19934 PyObject * obj0 = 0 ;
19935 PyObject * obj1 = 0 ;
19936 char *kwnames[] = {
19937 (char *) "self",(char *) "id", NULL
19938 };
19939
19940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19943 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19944 if (PyErr_Occurred()) SWIG_fail;
19945 {
19946 PyThreadState* __tstate = wxPyBeginAllowThreads();
19947 (arg1)->SetPaperId((wxPaperSize )arg2);
19948
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 Py_INCREF(Py_None); resultobj = Py_None;
19953 return resultobj;
19954 fail:
19955 return NULL;
19956 }
19957
19958
19959 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19960 PyObject *resultobj;
19961 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19962 wxSize *arg2 = 0 ;
19963 wxSize temp2 ;
19964 PyObject * obj0 = 0 ;
19965 PyObject * obj1 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self",(char *) "size", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19973 {
19974 arg2 = &temp2;
19975 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19976 }
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 (arg1)->SetPaperSize((wxSize const &)*arg2);
19980
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 Py_INCREF(Py_None); resultobj = Py_None;
19985 return resultobj;
19986 fail:
19987 return NULL;
19988 }
19989
19990
19991 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19992 PyObject *resultobj;
19993 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19994 wxPrintData *arg2 = 0 ;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self",(char *) "printData", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20005 SWIG_POINTER_EXCEPTION | 0)) == -1)
20006 SWIG_fail;
20007 if (arg2 == NULL) {
20008 PyErr_SetString(PyExc_TypeError,"null reference");
20009 SWIG_fail;
20010 }
20011 {
20012 PyThreadState* __tstate = wxPyBeginAllowThreads();
20013 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20014
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
20018 Py_INCREF(Py_None); resultobj = Py_None;
20019 return resultobj;
20020 fail:
20021 return NULL;
20022 }
20023
20024
20025 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
20026 PyObject *obj;
20027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20028 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20029 Py_INCREF(obj);
20030 return Py_BuildValue((char *)"");
20031 }
20032 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20033 PyObject *resultobj;
20034 wxWindow *arg1 = (wxWindow *) 0 ;
20035 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20036 wxPageSetupDialog *result;
20037 PyObject * obj0 = 0 ;
20038 PyObject * obj1 = 0 ;
20039 char *kwnames[] = {
20040 (char *) "parent",(char *) "data", NULL
20041 };
20042
20043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20046 if (obj1) {
20047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20049 }
20050 {
20051 if (!wxPyCheckForApp()) SWIG_fail;
20052 PyThreadState* __tstate = wxPyBeginAllowThreads();
20053 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20054
20055 wxPyEndAllowThreads(__tstate);
20056 if (PyErr_Occurred()) SWIG_fail;
20057 }
20058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20059 return resultobj;
20060 fail:
20061 return NULL;
20062 }
20063
20064
20065 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
20066 PyObject *resultobj;
20067 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20068 wxPageSetupDialogData *result;
20069 PyObject * obj0 = 0 ;
20070 char *kwnames[] = {
20071 (char *) "self", NULL
20072 };
20073
20074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20077 {
20078 PyThreadState* __tstate = wxPyBeginAllowThreads();
20079 {
20080 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20081 result = (wxPageSetupDialogData *) &_result_ref;
20082 }
20083
20084 wxPyEndAllowThreads(__tstate);
20085 if (PyErr_Occurred()) SWIG_fail;
20086 }
20087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20088 return resultobj;
20089 fail:
20090 return NULL;
20091 }
20092
20093
20094 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20097 int result;
20098 PyObject * obj0 = 0 ;
20099 char *kwnames[] = {
20100 (char *) "self", NULL
20101 };
20102
20103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20106 {
20107 PyThreadState* __tstate = wxPyBeginAllowThreads();
20108 result = (int)(arg1)->ShowModal();
20109
20110 wxPyEndAllowThreads(__tstate);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 resultobj = SWIG_FromInt((int)result);
20114 return resultobj;
20115 fail:
20116 return NULL;
20117 }
20118
20119
20120 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
20121 PyObject *obj;
20122 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20123 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20124 Py_INCREF(obj);
20125 return Py_BuildValue((char *)"");
20126 }
20127 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
20128 PyObject *resultobj;
20129 wxPrintDialogData *result;
20130
20131 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20132 {
20133 PyThreadState* __tstate = wxPyBeginAllowThreads();
20134 result = (wxPrintDialogData *)new wxPrintDialogData();
20135
20136 wxPyEndAllowThreads(__tstate);
20137 if (PyErr_Occurred()) SWIG_fail;
20138 }
20139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20140 return resultobj;
20141 fail:
20142 return NULL;
20143 }
20144
20145
20146 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
20147 PyObject *resultobj;
20148 wxPrintData *arg1 = 0 ;
20149 wxPrintDialogData *result;
20150 PyObject * obj0 = 0 ;
20151
20152 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20154 SWIG_POINTER_EXCEPTION | 0)) == -1)
20155 SWIG_fail;
20156 if (arg1 == NULL) {
20157 PyErr_SetString(PyExc_TypeError,"null reference");
20158 SWIG_fail;
20159 }
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20168 return resultobj;
20169 fail:
20170 return NULL;
20171 }
20172
20173
20174 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20175 int argc;
20176 PyObject *argv[2];
20177 int ii;
20178
20179 argc = PyObject_Length(args);
20180 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20181 argv[ii] = PyTuple_GetItem(args,ii);
20182 }
20183 if (argc == 0) {
20184 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20185 }
20186 if (argc == 1) {
20187 int _v;
20188 {
20189 void *ptr;
20190 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20191 _v = 0;
20192 PyErr_Clear();
20193 } else {
20194 _v = 1;
20195 }
20196 }
20197 if (_v) {
20198 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20199 }
20200 }
20201
20202 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20203 return NULL;
20204 }
20205
20206
20207 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20208 PyObject *resultobj;
20209 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20210 PyObject * obj0 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20218 {
20219 PyThreadState* __tstate = wxPyBeginAllowThreads();
20220 delete arg1;
20221
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
20225 Py_INCREF(Py_None); resultobj = Py_None;
20226 return resultobj;
20227 fail:
20228 return NULL;
20229 }
20230
20231
20232 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj;
20234 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20235 int result;
20236 PyObject * obj0 = 0 ;
20237 char *kwnames[] = {
20238 (char *) "self", NULL
20239 };
20240
20241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20244 {
20245 PyThreadState* __tstate = wxPyBeginAllowThreads();
20246 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20247
20248 wxPyEndAllowThreads(__tstate);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 }
20251 resultobj = SWIG_FromInt((int)result);
20252 return resultobj;
20253 fail:
20254 return NULL;
20255 }
20256
20257
20258 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20259 PyObject *resultobj;
20260 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20261 int result;
20262 PyObject * obj0 = 0 ;
20263 char *kwnames[] = {
20264 (char *) "self", NULL
20265 };
20266
20267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20270 {
20271 PyThreadState* __tstate = wxPyBeginAllowThreads();
20272 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20273
20274 wxPyEndAllowThreads(__tstate);
20275 if (PyErr_Occurred()) SWIG_fail;
20276 }
20277 resultobj = SWIG_FromInt((int)result);
20278 return resultobj;
20279 fail:
20280 return NULL;
20281 }
20282
20283
20284 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20285 PyObject *resultobj;
20286 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20287 int result;
20288 PyObject * obj0 = 0 ;
20289 char *kwnames[] = {
20290 (char *) "self", NULL
20291 };
20292
20293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 resultobj = SWIG_FromInt((int)result);
20304 return resultobj;
20305 fail:
20306 return NULL;
20307 }
20308
20309
20310 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj;
20312 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20313 int result;
20314 PyObject * obj0 = 0 ;
20315 char *kwnames[] = {
20316 (char *) "self", NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20322 {
20323 PyThreadState* __tstate = wxPyBeginAllowThreads();
20324 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20325
20326 wxPyEndAllowThreads(__tstate);
20327 if (PyErr_Occurred()) SWIG_fail;
20328 }
20329 resultobj = SWIG_FromInt((int)result);
20330 return resultobj;
20331 fail:
20332 return NULL;
20333 }
20334
20335
20336 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20337 PyObject *resultobj;
20338 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20339 int result;
20340 PyObject * obj0 = 0 ;
20341 char *kwnames[] = {
20342 (char *) "self", NULL
20343 };
20344
20345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20348 {
20349 PyThreadState* __tstate = wxPyBeginAllowThreads();
20350 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20351
20352 wxPyEndAllowThreads(__tstate);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 }
20355 resultobj = SWIG_FromInt((int)result);
20356 return resultobj;
20357 fail:
20358 return NULL;
20359 }
20360
20361
20362 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20363 PyObject *resultobj;
20364 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20365 bool result;
20366 PyObject * obj0 = 0 ;
20367 char *kwnames[] = {
20368 (char *) "self", NULL
20369 };
20370
20371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20374 {
20375 PyThreadState* __tstate = wxPyBeginAllowThreads();
20376 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20377
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 {
20382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20383 }
20384 return resultobj;
20385 fail:
20386 return NULL;
20387 }
20388
20389
20390 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj;
20392 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20393 bool result;
20394 PyObject * obj0 = 0 ;
20395 char *kwnames[] = {
20396 (char *) "self", NULL
20397 };
20398
20399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20402 {
20403 PyThreadState* __tstate = wxPyBeginAllowThreads();
20404 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20405
20406 wxPyEndAllowThreads(__tstate);
20407 if (PyErr_Occurred()) SWIG_fail;
20408 }
20409 {
20410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20411 }
20412 return resultobj;
20413 fail:
20414 return NULL;
20415 }
20416
20417
20418 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20419 PyObject *resultobj;
20420 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20421 bool result;
20422 PyObject * obj0 = 0 ;
20423 char *kwnames[] = {
20424 (char *) "self", NULL
20425 };
20426
20427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20430 {
20431 PyThreadState* __tstate = wxPyBeginAllowThreads();
20432 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20433
20434 wxPyEndAllowThreads(__tstate);
20435 if (PyErr_Occurred()) SWIG_fail;
20436 }
20437 {
20438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20439 }
20440 return resultobj;
20441 fail:
20442 return NULL;
20443 }
20444
20445
20446 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20447 PyObject *resultobj;
20448 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20449 bool result;
20450 PyObject * obj0 = 0 ;
20451 char *kwnames[] = {
20452 (char *) "self", NULL
20453 };
20454
20455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20458 {
20459 PyThreadState* __tstate = wxPyBeginAllowThreads();
20460 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20461
20462 wxPyEndAllowThreads(__tstate);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 }
20465 {
20466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20467 }
20468 return resultobj;
20469 fail:
20470 return NULL;
20471 }
20472
20473
20474 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20475 PyObject *resultobj;
20476 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20477 bool result;
20478 PyObject * obj0 = 0 ;
20479 char *kwnames[] = {
20480 (char *) "self", NULL
20481 };
20482
20483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20486 {
20487 PyThreadState* __tstate = wxPyBeginAllowThreads();
20488 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20489
20490 wxPyEndAllowThreads(__tstate);
20491 if (PyErr_Occurred()) SWIG_fail;
20492 }
20493 {
20494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20495 }
20496 return resultobj;
20497 fail:
20498 return NULL;
20499 }
20500
20501
20502 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20503 PyObject *resultobj;
20504 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20505 int arg2 ;
20506 PyObject * obj0 = 0 ;
20507 PyObject * obj1 = 0 ;
20508 char *kwnames[] = {
20509 (char *) "self",(char *) "v", NULL
20510 };
20511
20512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20515 arg2 = (int) SWIG_AsInt(obj1);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 {
20518 PyThreadState* __tstate = wxPyBeginAllowThreads();
20519 (arg1)->SetFromPage(arg2);
20520
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
20524 Py_INCREF(Py_None); resultobj = Py_None;
20525 return resultobj;
20526 fail:
20527 return NULL;
20528 }
20529
20530
20531 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20532 PyObject *resultobj;
20533 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20534 int arg2 ;
20535 PyObject * obj0 = 0 ;
20536 PyObject * obj1 = 0 ;
20537 char *kwnames[] = {
20538 (char *) "self",(char *) "v", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20544 arg2 = (int) SWIG_AsInt(obj1);
20545 if (PyErr_Occurred()) SWIG_fail;
20546 {
20547 PyThreadState* __tstate = wxPyBeginAllowThreads();
20548 (arg1)->SetToPage(arg2);
20549
20550 wxPyEndAllowThreads(__tstate);
20551 if (PyErr_Occurred()) SWIG_fail;
20552 }
20553 Py_INCREF(Py_None); resultobj = Py_None;
20554 return resultobj;
20555 fail:
20556 return NULL;
20557 }
20558
20559
20560 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20561 PyObject *resultobj;
20562 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20563 int arg2 ;
20564 PyObject * obj0 = 0 ;
20565 PyObject * obj1 = 0 ;
20566 char *kwnames[] = {
20567 (char *) "self",(char *) "v", NULL
20568 };
20569
20570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20573 arg2 = (int) SWIG_AsInt(obj1);
20574 if (PyErr_Occurred()) SWIG_fail;
20575 {
20576 PyThreadState* __tstate = wxPyBeginAllowThreads();
20577 (arg1)->SetMinPage(arg2);
20578
20579 wxPyEndAllowThreads(__tstate);
20580 if (PyErr_Occurred()) SWIG_fail;
20581 }
20582 Py_INCREF(Py_None); resultobj = Py_None;
20583 return resultobj;
20584 fail:
20585 return NULL;
20586 }
20587
20588
20589 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20590 PyObject *resultobj;
20591 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20592 int arg2 ;
20593 PyObject * obj0 = 0 ;
20594 PyObject * obj1 = 0 ;
20595 char *kwnames[] = {
20596 (char *) "self",(char *) "v", NULL
20597 };
20598
20599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20602 arg2 = (int) SWIG_AsInt(obj1);
20603 if (PyErr_Occurred()) SWIG_fail;
20604 {
20605 PyThreadState* __tstate = wxPyBeginAllowThreads();
20606 (arg1)->SetMaxPage(arg2);
20607
20608 wxPyEndAllowThreads(__tstate);
20609 if (PyErr_Occurred()) SWIG_fail;
20610 }
20611 Py_INCREF(Py_None); resultobj = Py_None;
20612 return resultobj;
20613 fail:
20614 return NULL;
20615 }
20616
20617
20618 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20619 PyObject *resultobj;
20620 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20621 int arg2 ;
20622 PyObject * obj0 = 0 ;
20623 PyObject * obj1 = 0 ;
20624 char *kwnames[] = {
20625 (char *) "self",(char *) "v", NULL
20626 };
20627
20628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20631 arg2 = (int) SWIG_AsInt(obj1);
20632 if (PyErr_Occurred()) SWIG_fail;
20633 {
20634 PyThreadState* __tstate = wxPyBeginAllowThreads();
20635 (arg1)->SetNoCopies(arg2);
20636
20637 wxPyEndAllowThreads(__tstate);
20638 if (PyErr_Occurred()) SWIG_fail;
20639 }
20640 Py_INCREF(Py_None); resultobj = Py_None;
20641 return resultobj;
20642 fail:
20643 return NULL;
20644 }
20645
20646
20647 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20648 PyObject *resultobj;
20649 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20650 bool arg2 ;
20651 PyObject * obj0 = 0 ;
20652 PyObject * obj1 = 0 ;
20653 char *kwnames[] = {
20654 (char *) "self",(char *) "flag", NULL
20655 };
20656
20657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20660 arg2 = (bool) SWIG_AsBool(obj1);
20661 if (PyErr_Occurred()) SWIG_fail;
20662 {
20663 PyThreadState* __tstate = wxPyBeginAllowThreads();
20664 (arg1)->SetAllPages(arg2);
20665
20666 wxPyEndAllowThreads(__tstate);
20667 if (PyErr_Occurred()) SWIG_fail;
20668 }
20669 Py_INCREF(Py_None); resultobj = Py_None;
20670 return resultobj;
20671 fail:
20672 return NULL;
20673 }
20674
20675
20676 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20677 PyObject *resultobj;
20678 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20679 bool arg2 ;
20680 PyObject * obj0 = 0 ;
20681 PyObject * obj1 = 0 ;
20682 char *kwnames[] = {
20683 (char *) "self",(char *) "flag", NULL
20684 };
20685
20686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20689 arg2 = (bool) SWIG_AsBool(obj1);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 {
20692 PyThreadState* __tstate = wxPyBeginAllowThreads();
20693 (arg1)->SetSelection(arg2);
20694
20695 wxPyEndAllowThreads(__tstate);
20696 if (PyErr_Occurred()) SWIG_fail;
20697 }
20698 Py_INCREF(Py_None); resultobj = Py_None;
20699 return resultobj;
20700 fail:
20701 return NULL;
20702 }
20703
20704
20705 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20706 PyObject *resultobj;
20707 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20708 bool arg2 ;
20709 PyObject * obj0 = 0 ;
20710 PyObject * obj1 = 0 ;
20711 char *kwnames[] = {
20712 (char *) "self",(char *) "flag", NULL
20713 };
20714
20715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20718 arg2 = (bool) SWIG_AsBool(obj1);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 {
20721 PyThreadState* __tstate = wxPyBeginAllowThreads();
20722 (arg1)->SetCollate(arg2);
20723
20724 wxPyEndAllowThreads(__tstate);
20725 if (PyErr_Occurred()) SWIG_fail;
20726 }
20727 Py_INCREF(Py_None); resultobj = Py_None;
20728 return resultobj;
20729 fail:
20730 return NULL;
20731 }
20732
20733
20734 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20735 PyObject *resultobj;
20736 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20737 bool arg2 ;
20738 PyObject * obj0 = 0 ;
20739 PyObject * obj1 = 0 ;
20740 char *kwnames[] = {
20741 (char *) "self",(char *) "flag", NULL
20742 };
20743
20744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20747 arg2 = (bool) SWIG_AsBool(obj1);
20748 if (PyErr_Occurred()) SWIG_fail;
20749 {
20750 PyThreadState* __tstate = wxPyBeginAllowThreads();
20751 (arg1)->SetPrintToFile(arg2);
20752
20753 wxPyEndAllowThreads(__tstate);
20754 if (PyErr_Occurred()) SWIG_fail;
20755 }
20756 Py_INCREF(Py_None); resultobj = Py_None;
20757 return resultobj;
20758 fail:
20759 return NULL;
20760 }
20761
20762
20763 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20764 PyObject *resultobj;
20765 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20766 bool arg2 ;
20767 PyObject * obj0 = 0 ;
20768 PyObject * obj1 = 0 ;
20769 char *kwnames[] = {
20770 (char *) "self",(char *) "flag", NULL
20771 };
20772
20773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20776 arg2 = (bool) SWIG_AsBool(obj1);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 {
20779 PyThreadState* __tstate = wxPyBeginAllowThreads();
20780 (arg1)->SetSetupDialog(arg2);
20781
20782 wxPyEndAllowThreads(__tstate);
20783 if (PyErr_Occurred()) SWIG_fail;
20784 }
20785 Py_INCREF(Py_None); resultobj = Py_None;
20786 return resultobj;
20787 fail:
20788 return NULL;
20789 }
20790
20791
20792 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20793 PyObject *resultobj;
20794 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20795 bool arg2 ;
20796 PyObject * obj0 = 0 ;
20797 PyObject * obj1 = 0 ;
20798 char *kwnames[] = {
20799 (char *) "self",(char *) "flag", NULL
20800 };
20801
20802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20805 arg2 = (bool) SWIG_AsBool(obj1);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 {
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 (arg1)->EnablePrintToFile(arg2);
20810
20811 wxPyEndAllowThreads(__tstate);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 Py_INCREF(Py_None); resultobj = Py_None;
20815 return resultobj;
20816 fail:
20817 return NULL;
20818 }
20819
20820
20821 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20822 PyObject *resultobj;
20823 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20824 bool arg2 ;
20825 PyObject * obj0 = 0 ;
20826 PyObject * obj1 = 0 ;
20827 char *kwnames[] = {
20828 (char *) "self",(char *) "flag", NULL
20829 };
20830
20831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20834 arg2 = (bool) SWIG_AsBool(obj1);
20835 if (PyErr_Occurred()) SWIG_fail;
20836 {
20837 PyThreadState* __tstate = wxPyBeginAllowThreads();
20838 (arg1)->EnableSelection(arg2);
20839
20840 wxPyEndAllowThreads(__tstate);
20841 if (PyErr_Occurred()) SWIG_fail;
20842 }
20843 Py_INCREF(Py_None); resultobj = Py_None;
20844 return resultobj;
20845 fail:
20846 return NULL;
20847 }
20848
20849
20850 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20851 PyObject *resultobj;
20852 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20853 bool arg2 ;
20854 PyObject * obj0 = 0 ;
20855 PyObject * obj1 = 0 ;
20856 char *kwnames[] = {
20857 (char *) "self",(char *) "flag", NULL
20858 };
20859
20860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20863 arg2 = (bool) SWIG_AsBool(obj1);
20864 if (PyErr_Occurred()) SWIG_fail;
20865 {
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 (arg1)->EnablePageNumbers(arg2);
20868
20869 wxPyEndAllowThreads(__tstate);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 Py_INCREF(Py_None); resultobj = Py_None;
20873 return resultobj;
20874 fail:
20875 return NULL;
20876 }
20877
20878
20879 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20880 PyObject *resultobj;
20881 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20882 bool arg2 ;
20883 PyObject * obj0 = 0 ;
20884 PyObject * obj1 = 0 ;
20885 char *kwnames[] = {
20886 (char *) "self",(char *) "flag", NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20892 arg2 = (bool) SWIG_AsBool(obj1);
20893 if (PyErr_Occurred()) SWIG_fail;
20894 {
20895 PyThreadState* __tstate = wxPyBeginAllowThreads();
20896 (arg1)->EnableHelp(arg2);
20897
20898 wxPyEndAllowThreads(__tstate);
20899 if (PyErr_Occurred()) SWIG_fail;
20900 }
20901 Py_INCREF(Py_None); resultobj = Py_None;
20902 return resultobj;
20903 fail:
20904 return NULL;
20905 }
20906
20907
20908 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20909 PyObject *resultobj;
20910 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20911 bool result;
20912 PyObject * obj0 = 0 ;
20913 char *kwnames[] = {
20914 (char *) "self", NULL
20915 };
20916
20917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 {
20928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20929 }
20930 return resultobj;
20931 fail:
20932 return NULL;
20933 }
20934
20935
20936 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20937 PyObject *resultobj;
20938 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20939 bool result;
20940 PyObject * obj0 = 0 ;
20941 char *kwnames[] = {
20942 (char *) "self", NULL
20943 };
20944
20945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20948 {
20949 PyThreadState* __tstate = wxPyBeginAllowThreads();
20950 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20951
20952 wxPyEndAllowThreads(__tstate);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 }
20955 {
20956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20957 }
20958 return resultobj;
20959 fail:
20960 return NULL;
20961 }
20962
20963
20964 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20965 PyObject *resultobj;
20966 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20967 bool result;
20968 PyObject * obj0 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "self", NULL
20971 };
20972
20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20976 {
20977 PyThreadState* __tstate = wxPyBeginAllowThreads();
20978 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20979
20980 wxPyEndAllowThreads(__tstate);
20981 if (PyErr_Occurred()) SWIG_fail;
20982 }
20983 {
20984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20985 }
20986 return resultobj;
20987 fail:
20988 return NULL;
20989 }
20990
20991
20992 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20993 PyObject *resultobj;
20994 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20995 bool result;
20996 PyObject * obj0 = 0 ;
20997 char *kwnames[] = {
20998 (char *) "self", NULL
20999 };
21000
21001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21004 {
21005 PyThreadState* __tstate = wxPyBeginAllowThreads();
21006 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21007
21008 wxPyEndAllowThreads(__tstate);
21009 if (PyErr_Occurred()) SWIG_fail;
21010 }
21011 {
21012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21013 }
21014 return resultobj;
21015 fail:
21016 return NULL;
21017 }
21018
21019
21020 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21021 PyObject *resultobj;
21022 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21023 bool result;
21024 PyObject * obj0 = 0 ;
21025 char *kwnames[] = {
21026 (char *) "self", NULL
21027 };
21028
21029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21032 {
21033 PyThreadState* __tstate = wxPyBeginAllowThreads();
21034 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21035
21036 wxPyEndAllowThreads(__tstate);
21037 if (PyErr_Occurred()) SWIG_fail;
21038 }
21039 {
21040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21041 }
21042 return resultobj;
21043 fail:
21044 return NULL;
21045 }
21046
21047
21048 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21049 PyObject *resultobj;
21050 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21051 wxPrintData *result;
21052 PyObject * obj0 = 0 ;
21053 char *kwnames[] = {
21054 (char *) "self", NULL
21055 };
21056
21057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21060 {
21061 PyThreadState* __tstate = wxPyBeginAllowThreads();
21062 {
21063 wxPrintData &_result_ref = (arg1)->GetPrintData();
21064 result = (wxPrintData *) &_result_ref;
21065 }
21066
21067 wxPyEndAllowThreads(__tstate);
21068 if (PyErr_Occurred()) SWIG_fail;
21069 }
21070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21071 return resultobj;
21072 fail:
21073 return NULL;
21074 }
21075
21076
21077 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21078 PyObject *resultobj;
21079 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21080 wxPrintData *arg2 = 0 ;
21081 PyObject * obj0 = 0 ;
21082 PyObject * obj1 = 0 ;
21083 char *kwnames[] = {
21084 (char *) "self",(char *) "printData", NULL
21085 };
21086
21087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21091 SWIG_POINTER_EXCEPTION | 0)) == -1)
21092 SWIG_fail;
21093 if (arg2 == NULL) {
21094 PyErr_SetString(PyExc_TypeError,"null reference");
21095 SWIG_fail;
21096 }
21097 {
21098 PyThreadState* __tstate = wxPyBeginAllowThreads();
21099 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21100
21101 wxPyEndAllowThreads(__tstate);
21102 if (PyErr_Occurred()) SWIG_fail;
21103 }
21104 Py_INCREF(Py_None); resultobj = Py_None;
21105 return resultobj;
21106 fail:
21107 return NULL;
21108 }
21109
21110
21111 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
21112 PyObject *obj;
21113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21114 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21115 Py_INCREF(obj);
21116 return Py_BuildValue((char *)"");
21117 }
21118 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21119 PyObject *resultobj;
21120 wxWindow *arg1 = (wxWindow *) 0 ;
21121 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21122 wxPrintDialog *result;
21123 PyObject * obj0 = 0 ;
21124 PyObject * obj1 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "parent",(char *) "data", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21132 if (obj1) {
21133 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21135 }
21136 {
21137 if (!wxPyCheckForApp()) SWIG_fail;
21138 PyThreadState* __tstate = wxPyBeginAllowThreads();
21139 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21140
21141 wxPyEndAllowThreads(__tstate);
21142 if (PyErr_Occurred()) SWIG_fail;
21143 }
21144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21145 return resultobj;
21146 fail:
21147 return NULL;
21148 }
21149
21150
21151 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21152 PyObject *resultobj;
21153 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21154 wxPrintDialogData *result;
21155 PyObject * obj0 = 0 ;
21156 char *kwnames[] = {
21157 (char *) "self", NULL
21158 };
21159
21160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21163 {
21164 PyThreadState* __tstate = wxPyBeginAllowThreads();
21165 {
21166 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21167 result = (wxPrintDialogData *) &_result_ref;
21168 }
21169
21170 wxPyEndAllowThreads(__tstate);
21171 if (PyErr_Occurred()) SWIG_fail;
21172 }
21173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21174 return resultobj;
21175 fail:
21176 return NULL;
21177 }
21178
21179
21180 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21181 PyObject *resultobj;
21182 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21183 wxDC *result;
21184 PyObject * obj0 = 0 ;
21185 char *kwnames[] = {
21186 (char *) "self", NULL
21187 };
21188
21189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21192 {
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 result = (wxDC *)(arg1)->GetPrintDC();
21195
21196 wxPyEndAllowThreads(__tstate);
21197 if (PyErr_Occurred()) SWIG_fail;
21198 }
21199 {
21200 resultobj = wxPyMake_wxObject(result);
21201 }
21202 return resultobj;
21203 fail:
21204 return NULL;
21205 }
21206
21207
21208 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21209 PyObject *resultobj;
21210 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21211 int result;
21212 PyObject * obj0 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21220 {
21221 PyThreadState* __tstate = wxPyBeginAllowThreads();
21222 result = (int)(arg1)->ShowModal();
21223
21224 wxPyEndAllowThreads(__tstate);
21225 if (PyErr_Occurred()) SWIG_fail;
21226 }
21227 resultobj = SWIG_FromInt((int)result);
21228 return resultobj;
21229 fail:
21230 return NULL;
21231 }
21232
21233
21234 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21235 PyObject *obj;
21236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21237 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21238 Py_INCREF(obj);
21239 return Py_BuildValue((char *)"");
21240 }
21241 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21242 PyObject *resultobj;
21243 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21244 wxPrinter *result;
21245 PyObject * obj0 = 0 ;
21246 char *kwnames[] = {
21247 (char *) "data", NULL
21248 };
21249
21250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21251 if (obj0) {
21252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21254 }
21255 {
21256 if (!wxPyCheckForApp()) SWIG_fail;
21257 PyThreadState* __tstate = wxPyBeginAllowThreads();
21258 result = (wxPrinter *)new wxPrinter(arg1);
21259
21260 wxPyEndAllowThreads(__tstate);
21261 if (PyErr_Occurred()) SWIG_fail;
21262 }
21263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21264 return resultobj;
21265 fail:
21266 return NULL;
21267 }
21268
21269
21270 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21271 PyObject *resultobj;
21272 wxPrinter *arg1 = (wxPrinter *) 0 ;
21273 PyObject * obj0 = 0 ;
21274 char *kwnames[] = {
21275 (char *) "self", NULL
21276 };
21277
21278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21281 {
21282 PyThreadState* __tstate = wxPyBeginAllowThreads();
21283 delete arg1;
21284
21285 wxPyEndAllowThreads(__tstate);
21286 if (PyErr_Occurred()) SWIG_fail;
21287 }
21288 Py_INCREF(Py_None); resultobj = Py_None;
21289 return resultobj;
21290 fail:
21291 return NULL;
21292 }
21293
21294
21295 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21296 PyObject *resultobj;
21297 wxPrinter *arg1 = (wxPrinter *) 0 ;
21298 wxWindow *arg2 = (wxWindow *) 0 ;
21299 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21300 PyObject * obj0 = 0 ;
21301 PyObject * obj1 = 0 ;
21302 PyObject * obj2 = 0 ;
21303 char *kwnames[] = {
21304 (char *) "self",(char *) "parent",(char *) "printout", NULL
21305 };
21306
21307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21312 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21314 {
21315 PyThreadState* __tstate = wxPyBeginAllowThreads();
21316 (arg1)->CreateAbortWindow(arg2,arg3);
21317
21318 wxPyEndAllowThreads(__tstate);
21319 if (PyErr_Occurred()) SWIG_fail;
21320 }
21321 Py_INCREF(Py_None); resultobj = Py_None;
21322 return resultobj;
21323 fail:
21324 return NULL;
21325 }
21326
21327
21328 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21329 PyObject *resultobj;
21330 wxPrinter *arg1 = (wxPrinter *) 0 ;
21331 wxPrintDialogData *result;
21332 PyObject * obj0 = 0 ;
21333 char *kwnames[] = {
21334 (char *) "self", NULL
21335 };
21336
21337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21340 {
21341 PyThreadState* __tstate = wxPyBeginAllowThreads();
21342 {
21343 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21344 result = (wxPrintDialogData *) &_result_ref;
21345 }
21346
21347 wxPyEndAllowThreads(__tstate);
21348 if (PyErr_Occurred()) SWIG_fail;
21349 }
21350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21351 return resultobj;
21352 fail:
21353 return NULL;
21354 }
21355
21356
21357 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21358 PyObject *resultobj;
21359 wxPrinter *arg1 = (wxPrinter *) 0 ;
21360 wxWindow *arg2 = (wxWindow *) 0 ;
21361 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21362 int arg4 = (int) True ;
21363 bool result;
21364 PyObject * obj0 = 0 ;
21365 PyObject * obj1 = 0 ;
21366 PyObject * obj2 = 0 ;
21367 PyObject * obj3 = 0 ;
21368 char *kwnames[] = {
21369 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21370 };
21371
21372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21377 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21379 if (obj3) {
21380 arg4 = (int) SWIG_AsInt(obj3);
21381 if (PyErr_Occurred()) SWIG_fail;
21382 }
21383 {
21384 PyThreadState* __tstate = wxPyBeginAllowThreads();
21385 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21386
21387 wxPyEndAllowThreads(__tstate);
21388 if (PyErr_Occurred()) SWIG_fail;
21389 }
21390 {
21391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21392 }
21393 return resultobj;
21394 fail:
21395 return NULL;
21396 }
21397
21398
21399 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21400 PyObject *resultobj;
21401 wxPrinter *arg1 = (wxPrinter *) 0 ;
21402 wxWindow *arg2 = (wxWindow *) 0 ;
21403 wxDC *result;
21404 PyObject * obj0 = 0 ;
21405 PyObject * obj1 = 0 ;
21406 char *kwnames[] = {
21407 (char *) "self",(char *) "parent", NULL
21408 };
21409
21410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21415 {
21416 PyThreadState* __tstate = wxPyBeginAllowThreads();
21417 result = (wxDC *)(arg1)->PrintDialog(arg2);
21418
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 {
21423 resultobj = wxPyMake_wxObject(result);
21424 }
21425 return resultobj;
21426 fail:
21427 return NULL;
21428 }
21429
21430
21431 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21432 PyObject *resultobj;
21433 wxPrinter *arg1 = (wxPrinter *) 0 ;
21434 wxWindow *arg2 = (wxWindow *) 0 ;
21435 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21436 wxString *arg4 = 0 ;
21437 bool temp4 = False ;
21438 PyObject * obj0 = 0 ;
21439 PyObject * obj1 = 0 ;
21440 PyObject * obj2 = 0 ;
21441 PyObject * obj3 = 0 ;
21442 char *kwnames[] = {
21443 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21444 };
21445
21446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21449 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21451 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21453 {
21454 arg4 = wxString_in_helper(obj3);
21455 if (arg4 == NULL) SWIG_fail;
21456 temp4 = True;
21457 }
21458 {
21459 PyThreadState* __tstate = wxPyBeginAllowThreads();
21460 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21461
21462 wxPyEndAllowThreads(__tstate);
21463 if (PyErr_Occurred()) SWIG_fail;
21464 }
21465 Py_INCREF(Py_None); resultobj = Py_None;
21466 {
21467 if (temp4)
21468 delete arg4;
21469 }
21470 return resultobj;
21471 fail:
21472 {
21473 if (temp4)
21474 delete arg4;
21475 }
21476 return NULL;
21477 }
21478
21479
21480 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21481 PyObject *resultobj;
21482 wxPrinter *arg1 = (wxPrinter *) 0 ;
21483 wxWindow *arg2 = (wxWindow *) 0 ;
21484 bool result;
21485 PyObject * obj0 = 0 ;
21486 PyObject * obj1 = 0 ;
21487 char *kwnames[] = {
21488 (char *) "self",(char *) "parent", NULL
21489 };
21490
21491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21496 {
21497 PyThreadState* __tstate = wxPyBeginAllowThreads();
21498 result = (bool)(arg1)->Setup(arg2);
21499
21500 wxPyEndAllowThreads(__tstate);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 }
21503 {
21504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21505 }
21506 return resultobj;
21507 fail:
21508 return NULL;
21509 }
21510
21511
21512 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21513 PyObject *resultobj;
21514 wxPrinter *arg1 = (wxPrinter *) 0 ;
21515 bool result;
21516 PyObject * obj0 = 0 ;
21517 char *kwnames[] = {
21518 (char *) "self", NULL
21519 };
21520
21521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21524 {
21525 PyThreadState* __tstate = wxPyBeginAllowThreads();
21526 result = (bool)(arg1)->GetAbort();
21527
21528 wxPyEndAllowThreads(__tstate);
21529 if (PyErr_Occurred()) SWIG_fail;
21530 }
21531 {
21532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21533 }
21534 return resultobj;
21535 fail:
21536 return NULL;
21537 }
21538
21539
21540 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21541 PyObject *resultobj;
21542 int result;
21543 char *kwnames[] = {
21544 NULL
21545 };
21546
21547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 result = (int)wxPrinter::GetLastError();
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 resultobj = SWIG_FromInt((int)result);
21556 return resultobj;
21557 fail:
21558 return NULL;
21559 }
21560
21561
21562 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21563 PyObject *obj;
21564 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21565 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21566 Py_INCREF(obj);
21567 return Py_BuildValue((char *)"");
21568 }
21569 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21570 PyObject *resultobj;
21571 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21572 wxString *arg1 = (wxString *) &arg1_defvalue ;
21573 wxPyPrintout *result;
21574 bool temp1 = False ;
21575 PyObject * obj0 = 0 ;
21576 char *kwnames[] = {
21577 (char *) "title", NULL
21578 };
21579
21580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21581 if (obj0) {
21582 {
21583 arg1 = wxString_in_helper(obj0);
21584 if (arg1 == NULL) SWIG_fail;
21585 temp1 = True;
21586 }
21587 }
21588 {
21589 if (!wxPyCheckForApp()) SWIG_fail;
21590 PyThreadState* __tstate = wxPyBeginAllowThreads();
21591 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21592
21593 wxPyEndAllowThreads(__tstate);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
21596 {
21597 resultobj = wxPyMake_wxObject(result);
21598 }
21599 {
21600 if (temp1)
21601 delete arg1;
21602 }
21603 return resultobj;
21604 fail:
21605 {
21606 if (temp1)
21607 delete arg1;
21608 }
21609 return NULL;
21610 }
21611
21612
21613 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21616 PyObject *arg2 = (PyObject *) 0 ;
21617 PyObject *arg3 = (PyObject *) 0 ;
21618 PyObject * obj0 = 0 ;
21619 PyObject * obj1 = 0 ;
21620 PyObject * obj2 = 0 ;
21621 char *kwnames[] = {
21622 (char *) "self",(char *) "self",(char *) "_class", NULL
21623 };
21624
21625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21628 arg2 = obj1;
21629 arg3 = obj2;
21630 {
21631 PyThreadState* __tstate = wxPyBeginAllowThreads();
21632 (arg1)->_setCallbackInfo(arg2,arg3);
21633
21634 wxPyEndAllowThreads(__tstate);
21635 if (PyErr_Occurred()) SWIG_fail;
21636 }
21637 Py_INCREF(Py_None); resultobj = Py_None;
21638 return resultobj;
21639 fail:
21640 return NULL;
21641 }
21642
21643
21644 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21645 PyObject *resultobj;
21646 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21647 wxString result;
21648 PyObject * obj0 = 0 ;
21649 char *kwnames[] = {
21650 (char *) "self", NULL
21651 };
21652
21653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21656 {
21657 PyThreadState* __tstate = wxPyBeginAllowThreads();
21658 result = ((wxPyPrintout const *)arg1)->GetTitle();
21659
21660 wxPyEndAllowThreads(__tstate);
21661 if (PyErr_Occurred()) SWIG_fail;
21662 }
21663 {
21664 #if wxUSE_UNICODE
21665 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21666 #else
21667 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21668 #endif
21669 }
21670 return resultobj;
21671 fail:
21672 return NULL;
21673 }
21674
21675
21676 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21677 PyObject *resultobj;
21678 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21679 wxDC *result;
21680 PyObject * obj0 = 0 ;
21681 char *kwnames[] = {
21682 (char *) "self", NULL
21683 };
21684
21685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21688 {
21689 PyThreadState* __tstate = wxPyBeginAllowThreads();
21690 result = (wxDC *)(arg1)->GetDC();
21691
21692 wxPyEndAllowThreads(__tstate);
21693 if (PyErr_Occurred()) SWIG_fail;
21694 }
21695 {
21696 resultobj = wxPyMake_wxObject(result);
21697 }
21698 return resultobj;
21699 fail:
21700 return NULL;
21701 }
21702
21703
21704 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21705 PyObject *resultobj;
21706 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21707 wxDC *arg2 = (wxDC *) 0 ;
21708 PyObject * obj0 = 0 ;
21709 PyObject * obj1 = 0 ;
21710 char *kwnames[] = {
21711 (char *) "self",(char *) "dc", NULL
21712 };
21713
21714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21719 {
21720 PyThreadState* __tstate = wxPyBeginAllowThreads();
21721 (arg1)->SetDC(arg2);
21722
21723 wxPyEndAllowThreads(__tstate);
21724 if (PyErr_Occurred()) SWIG_fail;
21725 }
21726 Py_INCREF(Py_None); resultobj = Py_None;
21727 return resultobj;
21728 fail:
21729 return NULL;
21730 }
21731
21732
21733 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21734 PyObject *resultobj;
21735 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21736 int arg2 ;
21737 int arg3 ;
21738 PyObject * obj0 = 0 ;
21739 PyObject * obj1 = 0 ;
21740 PyObject * obj2 = 0 ;
21741 char *kwnames[] = {
21742 (char *) "self",(char *) "w",(char *) "h", NULL
21743 };
21744
21745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21748 arg2 = (int) SWIG_AsInt(obj1);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 arg3 = (int) SWIG_AsInt(obj2);
21751 if (PyErr_Occurred()) SWIG_fail;
21752 {
21753 PyThreadState* __tstate = wxPyBeginAllowThreads();
21754 (arg1)->SetPageSizePixels(arg2,arg3);
21755
21756 wxPyEndAllowThreads(__tstate);
21757 if (PyErr_Occurred()) SWIG_fail;
21758 }
21759 Py_INCREF(Py_None); resultobj = Py_None;
21760 return resultobj;
21761 fail:
21762 return NULL;
21763 }
21764
21765
21766 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21767 PyObject *resultobj;
21768 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21769 int *arg2 = (int *) 0 ;
21770 int *arg3 = (int *) 0 ;
21771 int temp2 ;
21772 int temp3 ;
21773 PyObject * obj0 = 0 ;
21774 char *kwnames[] = {
21775 (char *) "self", NULL
21776 };
21777
21778 arg2 = &temp2;
21779 arg3 = &temp3;
21780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21783 {
21784 PyThreadState* __tstate = wxPyBeginAllowThreads();
21785 (arg1)->GetPageSizePixels(arg2,arg3);
21786
21787 wxPyEndAllowThreads(__tstate);
21788 if (PyErr_Occurred()) SWIG_fail;
21789 }
21790 Py_INCREF(Py_None); resultobj = Py_None;
21791 {
21792 PyObject *o = PyInt_FromLong((long) (*arg2));
21793 resultobj = t_output_helper(resultobj,o);
21794 }
21795 {
21796 PyObject *o = PyInt_FromLong((long) (*arg3));
21797 resultobj = t_output_helper(resultobj,o);
21798 }
21799 return resultobj;
21800 fail:
21801 return NULL;
21802 }
21803
21804
21805 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21806 PyObject *resultobj;
21807 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21808 int arg2 ;
21809 int arg3 ;
21810 PyObject * obj0 = 0 ;
21811 PyObject * obj1 = 0 ;
21812 PyObject * obj2 = 0 ;
21813 char *kwnames[] = {
21814 (char *) "self",(char *) "w",(char *) "h", NULL
21815 };
21816
21817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21820 arg2 = (int) SWIG_AsInt(obj1);
21821 if (PyErr_Occurred()) SWIG_fail;
21822 arg3 = (int) SWIG_AsInt(obj2);
21823 if (PyErr_Occurred()) SWIG_fail;
21824 {
21825 PyThreadState* __tstate = wxPyBeginAllowThreads();
21826 (arg1)->SetPageSizeMM(arg2,arg3);
21827
21828 wxPyEndAllowThreads(__tstate);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 }
21831 Py_INCREF(Py_None); resultobj = Py_None;
21832 return resultobj;
21833 fail:
21834 return NULL;
21835 }
21836
21837
21838 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21839 PyObject *resultobj;
21840 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21841 int *arg2 = (int *) 0 ;
21842 int *arg3 = (int *) 0 ;
21843 int temp2 ;
21844 int temp3 ;
21845 PyObject * obj0 = 0 ;
21846 char *kwnames[] = {
21847 (char *) "self", NULL
21848 };
21849
21850 arg2 = &temp2;
21851 arg3 = &temp3;
21852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21855 {
21856 PyThreadState* __tstate = wxPyBeginAllowThreads();
21857 (arg1)->GetPageSizeMM(arg2,arg3);
21858
21859 wxPyEndAllowThreads(__tstate);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 }
21862 Py_INCREF(Py_None); resultobj = Py_None;
21863 {
21864 PyObject *o = PyInt_FromLong((long) (*arg2));
21865 resultobj = t_output_helper(resultobj,o);
21866 }
21867 {
21868 PyObject *o = PyInt_FromLong((long) (*arg3));
21869 resultobj = t_output_helper(resultobj,o);
21870 }
21871 return resultobj;
21872 fail:
21873 return NULL;
21874 }
21875
21876
21877 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21878 PyObject *resultobj;
21879 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21880 int arg2 ;
21881 int arg3 ;
21882 PyObject * obj0 = 0 ;
21883 PyObject * obj1 = 0 ;
21884 PyObject * obj2 = 0 ;
21885 char *kwnames[] = {
21886 (char *) "self",(char *) "x",(char *) "y", NULL
21887 };
21888
21889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21892 arg2 = (int) SWIG_AsInt(obj1);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 arg3 = (int) SWIG_AsInt(obj2);
21895 if (PyErr_Occurred()) SWIG_fail;
21896 {
21897 PyThreadState* __tstate = wxPyBeginAllowThreads();
21898 (arg1)->SetPPIScreen(arg2,arg3);
21899
21900 wxPyEndAllowThreads(__tstate);
21901 if (PyErr_Occurred()) SWIG_fail;
21902 }
21903 Py_INCREF(Py_None); resultobj = Py_None;
21904 return resultobj;
21905 fail:
21906 return NULL;
21907 }
21908
21909
21910 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21911 PyObject *resultobj;
21912 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21913 int *arg2 = (int *) 0 ;
21914 int *arg3 = (int *) 0 ;
21915 int temp2 ;
21916 int temp3 ;
21917 PyObject * obj0 = 0 ;
21918 char *kwnames[] = {
21919 (char *) "self", NULL
21920 };
21921
21922 arg2 = &temp2;
21923 arg3 = &temp3;
21924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21927 {
21928 PyThreadState* __tstate = wxPyBeginAllowThreads();
21929 (arg1)->GetPPIScreen(arg2,arg3);
21930
21931 wxPyEndAllowThreads(__tstate);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
21934 Py_INCREF(Py_None); resultobj = Py_None;
21935 {
21936 PyObject *o = PyInt_FromLong((long) (*arg2));
21937 resultobj = t_output_helper(resultobj,o);
21938 }
21939 {
21940 PyObject *o = PyInt_FromLong((long) (*arg3));
21941 resultobj = t_output_helper(resultobj,o);
21942 }
21943 return resultobj;
21944 fail:
21945 return NULL;
21946 }
21947
21948
21949 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21950 PyObject *resultobj;
21951 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21952 int arg2 ;
21953 int arg3 ;
21954 PyObject * obj0 = 0 ;
21955 PyObject * obj1 = 0 ;
21956 PyObject * obj2 = 0 ;
21957 char *kwnames[] = {
21958 (char *) "self",(char *) "x",(char *) "y", NULL
21959 };
21960
21961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21964 arg2 = (int) SWIG_AsInt(obj1);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 arg3 = (int) SWIG_AsInt(obj2);
21967 if (PyErr_Occurred()) SWIG_fail;
21968 {
21969 PyThreadState* __tstate = wxPyBeginAllowThreads();
21970 (arg1)->SetPPIPrinter(arg2,arg3);
21971
21972 wxPyEndAllowThreads(__tstate);
21973 if (PyErr_Occurred()) SWIG_fail;
21974 }
21975 Py_INCREF(Py_None); resultobj = Py_None;
21976 return resultobj;
21977 fail:
21978 return NULL;
21979 }
21980
21981
21982 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21983 PyObject *resultobj;
21984 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21985 int *arg2 = (int *) 0 ;
21986 int *arg3 = (int *) 0 ;
21987 int temp2 ;
21988 int temp3 ;
21989 PyObject * obj0 = 0 ;
21990 char *kwnames[] = {
21991 (char *) "self", NULL
21992 };
21993
21994 arg2 = &temp2;
21995 arg3 = &temp3;
21996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21999 {
22000 PyThreadState* __tstate = wxPyBeginAllowThreads();
22001 (arg1)->GetPPIPrinter(arg2,arg3);
22002
22003 wxPyEndAllowThreads(__tstate);
22004 if (PyErr_Occurred()) SWIG_fail;
22005 }
22006 Py_INCREF(Py_None); resultobj = Py_None;
22007 {
22008 PyObject *o = PyInt_FromLong((long) (*arg2));
22009 resultobj = t_output_helper(resultobj,o);
22010 }
22011 {
22012 PyObject *o = PyInt_FromLong((long) (*arg3));
22013 resultobj = t_output_helper(resultobj,o);
22014 }
22015 return resultobj;
22016 fail:
22017 return NULL;
22018 }
22019
22020
22021 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22022 PyObject *resultobj;
22023 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22024 bool result;
22025 PyObject * obj0 = 0 ;
22026 char *kwnames[] = {
22027 (char *) "self", NULL
22028 };
22029
22030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22033 {
22034 PyThreadState* __tstate = wxPyBeginAllowThreads();
22035 result = (bool)(arg1)->IsPreview();
22036
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 {
22041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22042 }
22043 return resultobj;
22044 fail:
22045 return NULL;
22046 }
22047
22048
22049 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22050 PyObject *resultobj;
22051 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22052 bool arg2 ;
22053 PyObject * obj0 = 0 ;
22054 PyObject * obj1 = 0 ;
22055 char *kwnames[] = {
22056 (char *) "self",(char *) "p", NULL
22057 };
22058
22059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22062 arg2 = (bool) SWIG_AsBool(obj1);
22063 if (PyErr_Occurred()) SWIG_fail;
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 (arg1)->SetIsPreview(arg2);
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 Py_INCREF(Py_None); resultobj = Py_None;
22072 return resultobj;
22073 fail:
22074 return NULL;
22075 }
22076
22077
22078 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22079 PyObject *resultobj;
22080 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22081 int arg2 ;
22082 int arg3 ;
22083 bool result;
22084 PyObject * obj0 = 0 ;
22085 PyObject * obj1 = 0 ;
22086 PyObject * obj2 = 0 ;
22087 char *kwnames[] = {
22088 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22089 };
22090
22091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22094 arg2 = (int) SWIG_AsInt(obj1);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 arg3 = (int) SWIG_AsInt(obj2);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 {
22099 PyThreadState* __tstate = wxPyBeginAllowThreads();
22100 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22101
22102 wxPyEndAllowThreads(__tstate);
22103 if (PyErr_Occurred()) SWIG_fail;
22104 }
22105 {
22106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22107 }
22108 return resultobj;
22109 fail:
22110 return NULL;
22111 }
22112
22113
22114 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22115 PyObject *resultobj;
22116 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22117 PyObject * obj0 = 0 ;
22118 char *kwnames[] = {
22119 (char *) "self", NULL
22120 };
22121
22122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22125 {
22126 PyThreadState* __tstate = wxPyBeginAllowThreads();
22127 (arg1)->base_OnEndDocument();
22128
22129 wxPyEndAllowThreads(__tstate);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
22132 Py_INCREF(Py_None); resultobj = Py_None;
22133 return resultobj;
22134 fail:
22135 return NULL;
22136 }
22137
22138
22139 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22140 PyObject *resultobj;
22141 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22142 PyObject * obj0 = 0 ;
22143 char *kwnames[] = {
22144 (char *) "self", NULL
22145 };
22146
22147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22150 {
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 (arg1)->base_OnBeginPrinting();
22153
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 Py_INCREF(Py_None); resultobj = Py_None;
22158 return resultobj;
22159 fail:
22160 return NULL;
22161 }
22162
22163
22164 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22165 PyObject *resultobj;
22166 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22167 PyObject * obj0 = 0 ;
22168 char *kwnames[] = {
22169 (char *) "self", NULL
22170 };
22171
22172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22175 {
22176 PyThreadState* __tstate = wxPyBeginAllowThreads();
22177 (arg1)->base_OnEndPrinting();
22178
22179 wxPyEndAllowThreads(__tstate);
22180 if (PyErr_Occurred()) SWIG_fail;
22181 }
22182 Py_INCREF(Py_None); resultobj = Py_None;
22183 return resultobj;
22184 fail:
22185 return NULL;
22186 }
22187
22188
22189 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22190 PyObject *resultobj;
22191 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22192 PyObject * obj0 = 0 ;
22193 char *kwnames[] = {
22194 (char *) "self", NULL
22195 };
22196
22197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22200 {
22201 PyThreadState* __tstate = wxPyBeginAllowThreads();
22202 (arg1)->base_OnPreparePrinting();
22203
22204 wxPyEndAllowThreads(__tstate);
22205 if (PyErr_Occurred()) SWIG_fail;
22206 }
22207 Py_INCREF(Py_None); resultobj = Py_None;
22208 return resultobj;
22209 fail:
22210 return NULL;
22211 }
22212
22213
22214 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22215 PyObject *resultobj;
22216 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22217 int arg2 ;
22218 bool result;
22219 PyObject * obj0 = 0 ;
22220 PyObject * obj1 = 0 ;
22221 char *kwnames[] = {
22222 (char *) "self",(char *) "page", NULL
22223 };
22224
22225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22228 arg2 = (int) SWIG_AsInt(obj1);
22229 if (PyErr_Occurred()) SWIG_fail;
22230 {
22231 PyThreadState* __tstate = wxPyBeginAllowThreads();
22232 result = (bool)(arg1)->base_HasPage(arg2);
22233
22234 wxPyEndAllowThreads(__tstate);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
22237 {
22238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22239 }
22240 return resultobj;
22241 fail:
22242 return NULL;
22243 }
22244
22245
22246 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22247 PyObject *resultobj;
22248 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22249 int *arg2 = (int *) 0 ;
22250 int *arg3 = (int *) 0 ;
22251 int *arg4 = (int *) 0 ;
22252 int *arg5 = (int *) 0 ;
22253 int temp2 ;
22254 int temp3 ;
22255 int temp4 ;
22256 int temp5 ;
22257 PyObject * obj0 = 0 ;
22258 char *kwnames[] = {
22259 (char *) "self", NULL
22260 };
22261
22262 arg2 = &temp2;
22263 arg3 = &temp3;
22264 arg4 = &temp4;
22265 arg5 = &temp5;
22266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22269 {
22270 PyThreadState* __tstate = wxPyBeginAllowThreads();
22271 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22272
22273 wxPyEndAllowThreads(__tstate);
22274 if (PyErr_Occurred()) SWIG_fail;
22275 }
22276 Py_INCREF(Py_None); resultobj = Py_None;
22277 {
22278 PyObject *o = PyInt_FromLong((long) (*arg2));
22279 resultobj = t_output_helper(resultobj,o);
22280 }
22281 {
22282 PyObject *o = PyInt_FromLong((long) (*arg3));
22283 resultobj = t_output_helper(resultobj,o);
22284 }
22285 {
22286 PyObject *o = PyInt_FromLong((long) (*arg4));
22287 resultobj = t_output_helper(resultobj,o);
22288 }
22289 {
22290 PyObject *o = PyInt_FromLong((long) (*arg5));
22291 resultobj = t_output_helper(resultobj,o);
22292 }
22293 return resultobj;
22294 fail:
22295 return NULL;
22296 }
22297
22298
22299 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22300 PyObject *obj;
22301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22302 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22303 Py_INCREF(obj);
22304 return Py_BuildValue((char *)"");
22305 }
22306 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22309 wxWindow *arg2 = (wxWindow *) 0 ;
22310 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22311 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22312 wxSize const &arg4_defvalue = wxDefaultSize ;
22313 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22314 long arg5 = (long) 0 ;
22315 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22316 wxString *arg6 = (wxString *) &arg6_defvalue ;
22317 wxPreviewCanvas *result;
22318 wxPoint temp3 ;
22319 wxSize temp4 ;
22320 bool temp6 = False ;
22321 PyObject * obj0 = 0 ;
22322 PyObject * obj1 = 0 ;
22323 PyObject * obj2 = 0 ;
22324 PyObject * obj3 = 0 ;
22325 PyObject * obj4 = 0 ;
22326 PyObject * obj5 = 0 ;
22327 char *kwnames[] = {
22328 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22329 };
22330
22331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22336 if (obj2) {
22337 {
22338 arg3 = &temp3;
22339 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22340 }
22341 }
22342 if (obj3) {
22343 {
22344 arg4 = &temp4;
22345 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22346 }
22347 }
22348 if (obj4) {
22349 arg5 = (long) SWIG_AsLong(obj4);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 if (obj5) {
22353 {
22354 arg6 = wxString_in_helper(obj5);
22355 if (arg6 == NULL) SWIG_fail;
22356 temp6 = True;
22357 }
22358 }
22359 {
22360 if (!wxPyCheckForApp()) SWIG_fail;
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
22362 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22363
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22368 {
22369 if (temp6)
22370 delete arg6;
22371 }
22372 return resultobj;
22373 fail:
22374 {
22375 if (temp6)
22376 delete arg6;
22377 }
22378 return NULL;
22379 }
22380
22381
22382 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22383 PyObject *obj;
22384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22385 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22386 Py_INCREF(obj);
22387 return Py_BuildValue((char *)"");
22388 }
22389 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22390 PyObject *resultobj;
22391 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22392 wxFrame *arg2 = (wxFrame *) 0 ;
22393 wxString *arg3 = 0 ;
22394 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22395 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22396 wxSize const &arg5_defvalue = wxDefaultSize ;
22397 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22398 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22399 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22400 wxString *arg7 = (wxString *) &arg7_defvalue ;
22401 wxPreviewFrame *result;
22402 bool temp3 = False ;
22403 wxPoint temp4 ;
22404 wxSize temp5 ;
22405 bool temp7 = False ;
22406 PyObject * obj0 = 0 ;
22407 PyObject * obj1 = 0 ;
22408 PyObject * obj2 = 0 ;
22409 PyObject * obj3 = 0 ;
22410 PyObject * obj4 = 0 ;
22411 PyObject * obj5 = 0 ;
22412 PyObject * obj6 = 0 ;
22413 char *kwnames[] = {
22414 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22415 };
22416
22417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22420 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22422 {
22423 arg3 = wxString_in_helper(obj2);
22424 if (arg3 == NULL) SWIG_fail;
22425 temp3 = True;
22426 }
22427 if (obj3) {
22428 {
22429 arg4 = &temp4;
22430 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22431 }
22432 }
22433 if (obj4) {
22434 {
22435 arg5 = &temp5;
22436 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22437 }
22438 }
22439 if (obj5) {
22440 arg6 = (long) SWIG_AsLong(obj5);
22441 if (PyErr_Occurred()) SWIG_fail;
22442 }
22443 if (obj6) {
22444 {
22445 arg7 = wxString_in_helper(obj6);
22446 if (arg7 == NULL) SWIG_fail;
22447 temp7 = True;
22448 }
22449 }
22450 {
22451 if (!wxPyCheckForApp()) SWIG_fail;
22452 PyThreadState* __tstate = wxPyBeginAllowThreads();
22453 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22454
22455 wxPyEndAllowThreads(__tstate);
22456 if (PyErr_Occurred()) SWIG_fail;
22457 }
22458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22459 {
22460 if (temp3)
22461 delete arg3;
22462 }
22463 {
22464 if (temp7)
22465 delete arg7;
22466 }
22467 return resultobj;
22468 fail:
22469 {
22470 if (temp3)
22471 delete arg3;
22472 }
22473 {
22474 if (temp7)
22475 delete arg7;
22476 }
22477 return NULL;
22478 }
22479
22480
22481 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22482 PyObject *resultobj;
22483 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22484 PyObject * obj0 = 0 ;
22485 char *kwnames[] = {
22486 (char *) "self", NULL
22487 };
22488
22489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 (arg1)->Initialize();
22495
22496 wxPyEndAllowThreads(__tstate);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 }
22499 Py_INCREF(Py_None); resultobj = Py_None;
22500 return resultobj;
22501 fail:
22502 return NULL;
22503 }
22504
22505
22506 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22507 PyObject *resultobj;
22508 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22509 PyObject * obj0 = 0 ;
22510 char *kwnames[] = {
22511 (char *) "self", NULL
22512 };
22513
22514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22517 {
22518 PyThreadState* __tstate = wxPyBeginAllowThreads();
22519 (arg1)->CreateControlBar();
22520
22521 wxPyEndAllowThreads(__tstate);
22522 if (PyErr_Occurred()) SWIG_fail;
22523 }
22524 Py_INCREF(Py_None); resultobj = Py_None;
22525 return resultobj;
22526 fail:
22527 return NULL;
22528 }
22529
22530
22531 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22532 PyObject *resultobj;
22533 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22534 PyObject * obj0 = 0 ;
22535 char *kwnames[] = {
22536 (char *) "self", NULL
22537 };
22538
22539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22542 {
22543 PyThreadState* __tstate = wxPyBeginAllowThreads();
22544 (arg1)->CreateCanvas();
22545
22546 wxPyEndAllowThreads(__tstate);
22547 if (PyErr_Occurred()) SWIG_fail;
22548 }
22549 Py_INCREF(Py_None); resultobj = Py_None;
22550 return resultobj;
22551 fail:
22552 return NULL;
22553 }
22554
22555
22556 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22557 PyObject *resultobj;
22558 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22559 wxPreviewControlBar *result;
22560 PyObject * obj0 = 0 ;
22561 char *kwnames[] = {
22562 (char *) "self", NULL
22563 };
22564
22565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22568 {
22569 PyThreadState* __tstate = wxPyBeginAllowThreads();
22570 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22571
22572 wxPyEndAllowThreads(__tstate);
22573 if (PyErr_Occurred()) SWIG_fail;
22574 }
22575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22576 return resultobj;
22577 fail:
22578 return NULL;
22579 }
22580
22581
22582 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22583 PyObject *obj;
22584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22585 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22586 Py_INCREF(obj);
22587 return Py_BuildValue((char *)"");
22588 }
22589 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22590 PyObject *resultobj;
22591 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22592 long arg2 ;
22593 wxWindow *arg3 = (wxWindow *) 0 ;
22594 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22595 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22596 wxSize const &arg5_defvalue = wxDefaultSize ;
22597 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22598 long arg6 = (long) wxTAB_TRAVERSAL ;
22599 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22600 wxString *arg7 = (wxString *) &arg7_defvalue ;
22601 wxPreviewControlBar *result;
22602 wxPoint temp4 ;
22603 wxSize temp5 ;
22604 bool temp7 = False ;
22605 PyObject * obj0 = 0 ;
22606 PyObject * obj1 = 0 ;
22607 PyObject * obj2 = 0 ;
22608 PyObject * obj3 = 0 ;
22609 PyObject * obj4 = 0 ;
22610 PyObject * obj5 = 0 ;
22611 PyObject * obj6 = 0 ;
22612 char *kwnames[] = {
22613 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22614 };
22615
22616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22619 arg2 = (long) SWIG_AsLong(obj1);
22620 if (PyErr_Occurred()) SWIG_fail;
22621 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22623 if (obj3) {
22624 {
22625 arg4 = &temp4;
22626 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22627 }
22628 }
22629 if (obj4) {
22630 {
22631 arg5 = &temp5;
22632 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22633 }
22634 }
22635 if (obj5) {
22636 arg6 = (long) SWIG_AsLong(obj5);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 if (obj6) {
22640 {
22641 arg7 = wxString_in_helper(obj6);
22642 if (arg7 == NULL) SWIG_fail;
22643 temp7 = True;
22644 }
22645 }
22646 {
22647 if (!wxPyCheckForApp()) SWIG_fail;
22648 PyThreadState* __tstate = wxPyBeginAllowThreads();
22649 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22650
22651 wxPyEndAllowThreads(__tstate);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22655 {
22656 if (temp7)
22657 delete arg7;
22658 }
22659 return resultobj;
22660 fail:
22661 {
22662 if (temp7)
22663 delete arg7;
22664 }
22665 return NULL;
22666 }
22667
22668
22669 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22670 PyObject *resultobj;
22671 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22672 int result;
22673 PyObject * obj0 = 0 ;
22674 char *kwnames[] = {
22675 (char *) "self", NULL
22676 };
22677
22678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22681 {
22682 PyThreadState* __tstate = wxPyBeginAllowThreads();
22683 result = (int)(arg1)->GetZoomControl();
22684
22685 wxPyEndAllowThreads(__tstate);
22686 if (PyErr_Occurred()) SWIG_fail;
22687 }
22688 resultobj = SWIG_FromInt((int)result);
22689 return resultobj;
22690 fail:
22691 return NULL;
22692 }
22693
22694
22695 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22696 PyObject *resultobj;
22697 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22698 int arg2 ;
22699 PyObject * obj0 = 0 ;
22700 PyObject * obj1 = 0 ;
22701 char *kwnames[] = {
22702 (char *) "self",(char *) "zoom", NULL
22703 };
22704
22705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22708 arg2 = (int) SWIG_AsInt(obj1);
22709 if (PyErr_Occurred()) SWIG_fail;
22710 {
22711 PyThreadState* __tstate = wxPyBeginAllowThreads();
22712 (arg1)->SetZoomControl(arg2);
22713
22714 wxPyEndAllowThreads(__tstate);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 }
22717 Py_INCREF(Py_None); resultobj = Py_None;
22718 return resultobj;
22719 fail:
22720 return NULL;
22721 }
22722
22723
22724 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22725 PyObject *resultobj;
22726 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22727 wxPrintPreview *result;
22728 PyObject * obj0 = 0 ;
22729 char *kwnames[] = {
22730 (char *) "self", NULL
22731 };
22732
22733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22736 {
22737 PyThreadState* __tstate = wxPyBeginAllowThreads();
22738 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22739
22740 wxPyEndAllowThreads(__tstate);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 }
22743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22744 return resultobj;
22745 fail:
22746 return NULL;
22747 }
22748
22749
22750 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22751 PyObject *resultobj;
22752 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22753 PyObject * obj0 = 0 ;
22754 char *kwnames[] = {
22755 (char *) "self", NULL
22756 };
22757
22758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22761 {
22762 PyThreadState* __tstate = wxPyBeginAllowThreads();
22763 (arg1)->OnNext();
22764
22765 wxPyEndAllowThreads(__tstate);
22766 if (PyErr_Occurred()) SWIG_fail;
22767 }
22768 Py_INCREF(Py_None); resultobj = Py_None;
22769 return resultobj;
22770 fail:
22771 return NULL;
22772 }
22773
22774
22775 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22776 PyObject *resultobj;
22777 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22778 PyObject * obj0 = 0 ;
22779 char *kwnames[] = {
22780 (char *) "self", NULL
22781 };
22782
22783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22786 {
22787 PyThreadState* __tstate = wxPyBeginAllowThreads();
22788 (arg1)->OnPrevious();
22789
22790 wxPyEndAllowThreads(__tstate);
22791 if (PyErr_Occurred()) SWIG_fail;
22792 }
22793 Py_INCREF(Py_None); resultobj = Py_None;
22794 return resultobj;
22795 fail:
22796 return NULL;
22797 }
22798
22799
22800 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22801 PyObject *resultobj;
22802 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22803 PyObject * obj0 = 0 ;
22804 char *kwnames[] = {
22805 (char *) "self", NULL
22806 };
22807
22808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22811 {
22812 PyThreadState* __tstate = wxPyBeginAllowThreads();
22813 (arg1)->OnFirst();
22814
22815 wxPyEndAllowThreads(__tstate);
22816 if (PyErr_Occurred()) SWIG_fail;
22817 }
22818 Py_INCREF(Py_None); resultobj = Py_None;
22819 return resultobj;
22820 fail:
22821 return NULL;
22822 }
22823
22824
22825 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22826 PyObject *resultobj;
22827 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22828 PyObject * obj0 = 0 ;
22829 char *kwnames[] = {
22830 (char *) "self", NULL
22831 };
22832
22833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22836 {
22837 PyThreadState* __tstate = wxPyBeginAllowThreads();
22838 (arg1)->OnLast();
22839
22840 wxPyEndAllowThreads(__tstate);
22841 if (PyErr_Occurred()) SWIG_fail;
22842 }
22843 Py_INCREF(Py_None); resultobj = Py_None;
22844 return resultobj;
22845 fail:
22846 return NULL;
22847 }
22848
22849
22850 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22851 PyObject *resultobj;
22852 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22853 PyObject * obj0 = 0 ;
22854 char *kwnames[] = {
22855 (char *) "self", NULL
22856 };
22857
22858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 (arg1)->OnGoto();
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
22868 Py_INCREF(Py_None); resultobj = Py_None;
22869 return resultobj;
22870 fail:
22871 return NULL;
22872 }
22873
22874
22875 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22876 PyObject *obj;
22877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22878 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22879 Py_INCREF(obj);
22880 return Py_BuildValue((char *)"");
22881 }
22882 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22883 PyObject *resultobj;
22884 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22885 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22886 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22887 wxPrintPreview *result;
22888 PyObject * obj0 = 0 ;
22889 PyObject * obj1 = 0 ;
22890 PyObject * obj2 = 0 ;
22891
22892 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22897 if (obj2) {
22898 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22900 }
22901 {
22902 if (!wxPyCheckForApp()) SWIG_fail;
22903 PyThreadState* __tstate = wxPyBeginAllowThreads();
22904 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22905
22906 wxPyEndAllowThreads(__tstate);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 }
22909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22910 return resultobj;
22911 fail:
22912 return NULL;
22913 }
22914
22915
22916 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22917 PyObject *resultobj;
22918 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22919 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22920 wxPrintData *arg3 = (wxPrintData *) 0 ;
22921 wxPrintPreview *result;
22922 PyObject * obj0 = 0 ;
22923 PyObject * obj1 = 0 ;
22924 PyObject * obj2 = 0 ;
22925
22926 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22931 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22933 {
22934 if (!wxPyCheckForApp()) SWIG_fail;
22935 PyThreadState* __tstate = wxPyBeginAllowThreads();
22936 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22937
22938 wxPyEndAllowThreads(__tstate);
22939 if (PyErr_Occurred()) SWIG_fail;
22940 }
22941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22942 return resultobj;
22943 fail:
22944 return NULL;
22945 }
22946
22947
22948 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22949 int argc;
22950 PyObject *argv[4];
22951 int ii;
22952
22953 argc = PyObject_Length(args);
22954 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22955 argv[ii] = PyTuple_GetItem(args,ii);
22956 }
22957 if ((argc >= 2) && (argc <= 3)) {
22958 int _v;
22959 {
22960 void *ptr;
22961 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22962 _v = 0;
22963 PyErr_Clear();
22964 } else {
22965 _v = 1;
22966 }
22967 }
22968 if (_v) {
22969 {
22970 void *ptr;
22971 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22972 _v = 0;
22973 PyErr_Clear();
22974 } else {
22975 _v = 1;
22976 }
22977 }
22978 if (_v) {
22979 if (argc <= 2) {
22980 return _wrap_new_PrintPreview__SWIG_0(self,args);
22981 }
22982 {
22983 void *ptr;
22984 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22985 _v = 0;
22986 PyErr_Clear();
22987 } else {
22988 _v = 1;
22989 }
22990 }
22991 if (_v) {
22992 return _wrap_new_PrintPreview__SWIG_0(self,args);
22993 }
22994 }
22995 }
22996 }
22997 if (argc == 3) {
22998 int _v;
22999 {
23000 void *ptr;
23001 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23002 _v = 0;
23003 PyErr_Clear();
23004 } else {
23005 _v = 1;
23006 }
23007 }
23008 if (_v) {
23009 {
23010 void *ptr;
23011 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23012 _v = 0;
23013 PyErr_Clear();
23014 } else {
23015 _v = 1;
23016 }
23017 }
23018 if (_v) {
23019 {
23020 void *ptr;
23021 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23022 _v = 0;
23023 PyErr_Clear();
23024 } else {
23025 _v = 1;
23026 }
23027 }
23028 if (_v) {
23029 return _wrap_new_PrintPreview__SWIG_1(self,args);
23030 }
23031 }
23032 }
23033 }
23034
23035 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23036 return NULL;
23037 }
23038
23039
23040 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23041 PyObject *resultobj;
23042 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23043 int arg2 ;
23044 bool result;
23045 PyObject * obj0 = 0 ;
23046 PyObject * obj1 = 0 ;
23047 char *kwnames[] = {
23048 (char *) "self",(char *) "pageNum", NULL
23049 };
23050
23051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23054 arg2 = (int) SWIG_AsInt(obj1);
23055 if (PyErr_Occurred()) SWIG_fail;
23056 {
23057 PyThreadState* __tstate = wxPyBeginAllowThreads();
23058 result = (bool)(arg1)->SetCurrentPage(arg2);
23059
23060 wxPyEndAllowThreads(__tstate);
23061 if (PyErr_Occurred()) SWIG_fail;
23062 }
23063 {
23064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23065 }
23066 return resultobj;
23067 fail:
23068 return NULL;
23069 }
23070
23071
23072 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23073 PyObject *resultobj;
23074 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23075 int result;
23076 PyObject * obj0 = 0 ;
23077 char *kwnames[] = {
23078 (char *) "self", NULL
23079 };
23080
23081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23084 {
23085 PyThreadState* __tstate = wxPyBeginAllowThreads();
23086 result = (int)(arg1)->GetCurrentPage();
23087
23088 wxPyEndAllowThreads(__tstate);
23089 if (PyErr_Occurred()) SWIG_fail;
23090 }
23091 resultobj = SWIG_FromInt((int)result);
23092 return resultobj;
23093 fail:
23094 return NULL;
23095 }
23096
23097
23098 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23099 PyObject *resultobj;
23100 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23101 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23102 PyObject * obj0 = 0 ;
23103 PyObject * obj1 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "self",(char *) "printout", NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23113 {
23114 PyThreadState* __tstate = wxPyBeginAllowThreads();
23115 (arg1)->SetPrintout(arg2);
23116
23117 wxPyEndAllowThreads(__tstate);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 }
23120 Py_INCREF(Py_None); resultobj = Py_None;
23121 return resultobj;
23122 fail:
23123 return NULL;
23124 }
23125
23126
23127 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23128 PyObject *resultobj;
23129 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23130 wxPyPrintout *result;
23131 PyObject * obj0 = 0 ;
23132 char *kwnames[] = {
23133 (char *) "self", NULL
23134 };
23135
23136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23139 {
23140 PyThreadState* __tstate = wxPyBeginAllowThreads();
23141 result = (wxPyPrintout *)(arg1)->GetPrintout();
23142
23143 wxPyEndAllowThreads(__tstate);
23144 if (PyErr_Occurred()) SWIG_fail;
23145 }
23146 {
23147 resultobj = wxPyMake_wxObject(result);
23148 }
23149 return resultobj;
23150 fail:
23151 return NULL;
23152 }
23153
23154
23155 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
23156 PyObject *resultobj;
23157 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23158 wxPyPrintout *result;
23159 PyObject * obj0 = 0 ;
23160 char *kwnames[] = {
23161 (char *) "self", NULL
23162 };
23163
23164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 {
23175 resultobj = wxPyMake_wxObject(result);
23176 }
23177 return resultobj;
23178 fail:
23179 return NULL;
23180 }
23181
23182
23183 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23184 PyObject *resultobj;
23185 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23186 wxFrame *arg2 = (wxFrame *) 0 ;
23187 PyObject * obj0 = 0 ;
23188 PyObject * obj1 = 0 ;
23189 char *kwnames[] = {
23190 (char *) "self",(char *) "frame", NULL
23191 };
23192
23193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23198 {
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 (arg1)->SetFrame(arg2);
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 Py_INCREF(Py_None); resultobj = Py_None;
23206 return resultobj;
23207 fail:
23208 return NULL;
23209 }
23210
23211
23212 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23213 PyObject *resultobj;
23214 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23215 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23216 PyObject * obj0 = 0 ;
23217 PyObject * obj1 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self",(char *) "canvas", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23227 {
23228 PyThreadState* __tstate = wxPyBeginAllowThreads();
23229 (arg1)->SetCanvas(arg2);
23230
23231 wxPyEndAllowThreads(__tstate);
23232 if (PyErr_Occurred()) SWIG_fail;
23233 }
23234 Py_INCREF(Py_None); resultobj = Py_None;
23235 return resultobj;
23236 fail:
23237 return NULL;
23238 }
23239
23240
23241 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23242 PyObject *resultobj;
23243 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23244 wxFrame *result;
23245 PyObject * obj0 = 0 ;
23246 char *kwnames[] = {
23247 (char *) "self", NULL
23248 };
23249
23250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23253 {
23254 PyThreadState* __tstate = wxPyBeginAllowThreads();
23255 result = (wxFrame *)(arg1)->GetFrame();
23256
23257 wxPyEndAllowThreads(__tstate);
23258 if (PyErr_Occurred()) SWIG_fail;
23259 }
23260 {
23261 resultobj = wxPyMake_wxObject(result);
23262 }
23263 return resultobj;
23264 fail:
23265 return NULL;
23266 }
23267
23268
23269 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23270 PyObject *resultobj;
23271 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23272 wxPreviewCanvas *result;
23273 PyObject * obj0 = 0 ;
23274 char *kwnames[] = {
23275 (char *) "self", NULL
23276 };
23277
23278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23281 {
23282 PyThreadState* __tstate = wxPyBeginAllowThreads();
23283 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23284
23285 wxPyEndAllowThreads(__tstate);
23286 if (PyErr_Occurred()) SWIG_fail;
23287 }
23288 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23289 return resultobj;
23290 fail:
23291 return NULL;
23292 }
23293
23294
23295 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23296 PyObject *resultobj;
23297 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23298 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23299 wxDC *arg3 = 0 ;
23300 bool result;
23301 PyObject * obj0 = 0 ;
23302 PyObject * obj1 = 0 ;
23303 PyObject * obj2 = 0 ;
23304 char *kwnames[] = {
23305 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23306 };
23307
23308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23313 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23314 SWIG_POINTER_EXCEPTION | 0)) == -1)
23315 SWIG_fail;
23316 if (arg3 == NULL) {
23317 PyErr_SetString(PyExc_TypeError,"null reference");
23318 SWIG_fail;
23319 }
23320 {
23321 PyThreadState* __tstate = wxPyBeginAllowThreads();
23322 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23323
23324 wxPyEndAllowThreads(__tstate);
23325 if (PyErr_Occurred()) SWIG_fail;
23326 }
23327 {
23328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23329 }
23330 return resultobj;
23331 fail:
23332 return NULL;
23333 }
23334
23335
23336 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23337 PyObject *resultobj;
23338 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23339 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23340 wxDC *arg3 = 0 ;
23341 bool result;
23342 PyObject * obj0 = 0 ;
23343 PyObject * obj1 = 0 ;
23344 PyObject * obj2 = 0 ;
23345 char *kwnames[] = {
23346 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23347 };
23348
23349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23354 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23355 SWIG_POINTER_EXCEPTION | 0)) == -1)
23356 SWIG_fail;
23357 if (arg3 == NULL) {
23358 PyErr_SetString(PyExc_TypeError,"null reference");
23359 SWIG_fail;
23360 }
23361 {
23362 PyThreadState* __tstate = wxPyBeginAllowThreads();
23363 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23364
23365 wxPyEndAllowThreads(__tstate);
23366 if (PyErr_Occurred()) SWIG_fail;
23367 }
23368 {
23369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23370 }
23371 return resultobj;
23372 fail:
23373 return NULL;
23374 }
23375
23376
23377 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23378 PyObject *resultobj;
23379 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23380 int arg2 ;
23381 bool result;
23382 PyObject * obj0 = 0 ;
23383 PyObject * obj1 = 0 ;
23384 char *kwnames[] = {
23385 (char *) "self",(char *) "pageNum", NULL
23386 };
23387
23388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23391 arg2 = (int) SWIG_AsInt(obj1);
23392 if (PyErr_Occurred()) SWIG_fail;
23393 {
23394 PyThreadState* __tstate = wxPyBeginAllowThreads();
23395 result = (bool)(arg1)->RenderPage(arg2);
23396
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
23400 {
23401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23402 }
23403 return resultobj;
23404 fail:
23405 return NULL;
23406 }
23407
23408
23409 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23410 PyObject *resultobj;
23411 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23412 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23413 PyObject * obj0 = 0 ;
23414 PyObject * obj1 = 0 ;
23415 char *kwnames[] = {
23416 (char *) "self",(char *) "canvas", NULL
23417 };
23418
23419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23424 {
23425 PyThreadState* __tstate = wxPyBeginAllowThreads();
23426 (arg1)->AdjustScrollbars(arg2);
23427
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 Py_INCREF(Py_None); resultobj = Py_None;
23432 return resultobj;
23433 fail:
23434 return NULL;
23435 }
23436
23437
23438 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23439 PyObject *resultobj;
23440 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23441 wxPrintDialogData *result;
23442 PyObject * obj0 = 0 ;
23443 char *kwnames[] = {
23444 (char *) "self", NULL
23445 };
23446
23447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23450 {
23451 PyThreadState* __tstate = wxPyBeginAllowThreads();
23452 {
23453 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23454 result = (wxPrintDialogData *) &_result_ref;
23455 }
23456
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
23460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23461 return resultobj;
23462 fail:
23463 return NULL;
23464 }
23465
23466
23467 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23468 PyObject *resultobj;
23469 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23470 int arg2 ;
23471 PyObject * obj0 = 0 ;
23472 PyObject * obj1 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "self",(char *) "percent", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23480 arg2 = (int) SWIG_AsInt(obj1);
23481 if (PyErr_Occurred()) SWIG_fail;
23482 {
23483 PyThreadState* __tstate = wxPyBeginAllowThreads();
23484 (arg1)->SetZoom(arg2);
23485
23486 wxPyEndAllowThreads(__tstate);
23487 if (PyErr_Occurred()) SWIG_fail;
23488 }
23489 Py_INCREF(Py_None); resultobj = Py_None;
23490 return resultobj;
23491 fail:
23492 return NULL;
23493 }
23494
23495
23496 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23497 PyObject *resultobj;
23498 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23499 int result;
23500 PyObject * obj0 = 0 ;
23501 char *kwnames[] = {
23502 (char *) "self", NULL
23503 };
23504
23505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23508 {
23509 PyThreadState* __tstate = wxPyBeginAllowThreads();
23510 result = (int)(arg1)->GetZoom();
23511
23512 wxPyEndAllowThreads(__tstate);
23513 if (PyErr_Occurred()) SWIG_fail;
23514 }
23515 resultobj = SWIG_FromInt((int)result);
23516 return resultobj;
23517 fail:
23518 return NULL;
23519 }
23520
23521
23522 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23523 PyObject *resultobj;
23524 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23525 int result;
23526 PyObject * obj0 = 0 ;
23527 char *kwnames[] = {
23528 (char *) "self", NULL
23529 };
23530
23531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23534 {
23535 PyThreadState* __tstate = wxPyBeginAllowThreads();
23536 result = (int)(arg1)->GetMaxPage();
23537
23538 wxPyEndAllowThreads(__tstate);
23539 if (PyErr_Occurred()) SWIG_fail;
23540 }
23541 resultobj = SWIG_FromInt((int)result);
23542 return resultobj;
23543 fail:
23544 return NULL;
23545 }
23546
23547
23548 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23549 PyObject *resultobj;
23550 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23551 int result;
23552 PyObject * obj0 = 0 ;
23553 char *kwnames[] = {
23554 (char *) "self", NULL
23555 };
23556
23557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23560 {
23561 PyThreadState* __tstate = wxPyBeginAllowThreads();
23562 result = (int)(arg1)->GetMinPage();
23563
23564 wxPyEndAllowThreads(__tstate);
23565 if (PyErr_Occurred()) SWIG_fail;
23566 }
23567 resultobj = SWIG_FromInt((int)result);
23568 return resultobj;
23569 fail:
23570 return NULL;
23571 }
23572
23573
23574 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23575 PyObject *resultobj;
23576 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23577 bool result;
23578 PyObject * obj0 = 0 ;
23579 char *kwnames[] = {
23580 (char *) "self", NULL
23581 };
23582
23583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23586 {
23587 PyThreadState* __tstate = wxPyBeginAllowThreads();
23588 result = (bool)(arg1)->Ok();
23589
23590 wxPyEndAllowThreads(__tstate);
23591 if (PyErr_Occurred()) SWIG_fail;
23592 }
23593 {
23594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23595 }
23596 return resultobj;
23597 fail:
23598 return NULL;
23599 }
23600
23601
23602 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23603 PyObject *resultobj;
23604 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23605 bool arg2 ;
23606 PyObject * obj0 = 0 ;
23607 PyObject * obj1 = 0 ;
23608 char *kwnames[] = {
23609 (char *) "self",(char *) "ok", NULL
23610 };
23611
23612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23615 arg2 = (bool) SWIG_AsBool(obj1);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 {
23618 PyThreadState* __tstate = wxPyBeginAllowThreads();
23619 (arg1)->SetOk(arg2);
23620
23621 wxPyEndAllowThreads(__tstate);
23622 if (PyErr_Occurred()) SWIG_fail;
23623 }
23624 Py_INCREF(Py_None); resultobj = Py_None;
23625 return resultobj;
23626 fail:
23627 return NULL;
23628 }
23629
23630
23631 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23632 PyObject *resultobj;
23633 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23634 bool arg2 ;
23635 bool result;
23636 PyObject * obj0 = 0 ;
23637 PyObject * obj1 = 0 ;
23638 char *kwnames[] = {
23639 (char *) "self",(char *) "interactive", NULL
23640 };
23641
23642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23645 arg2 = (bool) SWIG_AsBool(obj1);
23646 if (PyErr_Occurred()) SWIG_fail;
23647 {
23648 PyThreadState* __tstate = wxPyBeginAllowThreads();
23649 result = (bool)(arg1)->Print(arg2);
23650
23651 wxPyEndAllowThreads(__tstate);
23652 if (PyErr_Occurred()) SWIG_fail;
23653 }
23654 {
23655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23656 }
23657 return resultobj;
23658 fail:
23659 return NULL;
23660 }
23661
23662
23663 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23664 PyObject *resultobj;
23665 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23666 PyObject * obj0 = 0 ;
23667 char *kwnames[] = {
23668 (char *) "self", NULL
23669 };
23670
23671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 (arg1)->DetermineScaling();
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 Py_INCREF(Py_None); resultobj = Py_None;
23682 return resultobj;
23683 fail:
23684 return NULL;
23685 }
23686
23687
23688 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23689 PyObject *obj;
23690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23691 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23692 Py_INCREF(obj);
23693 return Py_BuildValue((char *)"");
23694 }
23695 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23696 PyObject *resultobj;
23697 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23698 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23699 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23700 wxPyPrintPreview *result;
23701 PyObject * obj0 = 0 ;
23702 PyObject * obj1 = 0 ;
23703 PyObject * obj2 = 0 ;
23704
23705 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23710 if (obj2) {
23711 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23713 }
23714 {
23715 if (!wxPyCheckForApp()) SWIG_fail;
23716 PyThreadState* __tstate = wxPyBeginAllowThreads();
23717 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23718
23719 wxPyEndAllowThreads(__tstate);
23720 if (PyErr_Occurred()) SWIG_fail;
23721 }
23722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23723 return resultobj;
23724 fail:
23725 return NULL;
23726 }
23727
23728
23729 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23730 PyObject *resultobj;
23731 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23732 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23733 wxPrintData *arg3 = (wxPrintData *) 0 ;
23734 wxPyPrintPreview *result;
23735 PyObject * obj0 = 0 ;
23736 PyObject * obj1 = 0 ;
23737 PyObject * obj2 = 0 ;
23738
23739 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23744 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23746 {
23747 if (!wxPyCheckForApp()) SWIG_fail;
23748 PyThreadState* __tstate = wxPyBeginAllowThreads();
23749 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23750
23751 wxPyEndAllowThreads(__tstate);
23752 if (PyErr_Occurred()) SWIG_fail;
23753 }
23754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23755 return resultobj;
23756 fail:
23757 return NULL;
23758 }
23759
23760
23761 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23762 int argc;
23763 PyObject *argv[4];
23764 int ii;
23765
23766 argc = PyObject_Length(args);
23767 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23768 argv[ii] = PyTuple_GetItem(args,ii);
23769 }
23770 if ((argc >= 2) && (argc <= 3)) {
23771 int _v;
23772 {
23773 void *ptr;
23774 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23775 _v = 0;
23776 PyErr_Clear();
23777 } else {
23778 _v = 1;
23779 }
23780 }
23781 if (_v) {
23782 {
23783 void *ptr;
23784 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23785 _v = 0;
23786 PyErr_Clear();
23787 } else {
23788 _v = 1;
23789 }
23790 }
23791 if (_v) {
23792 if (argc <= 2) {
23793 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23794 }
23795 {
23796 void *ptr;
23797 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23798 _v = 0;
23799 PyErr_Clear();
23800 } else {
23801 _v = 1;
23802 }
23803 }
23804 if (_v) {
23805 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23806 }
23807 }
23808 }
23809 }
23810 if (argc == 3) {
23811 int _v;
23812 {
23813 void *ptr;
23814 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23815 _v = 0;
23816 PyErr_Clear();
23817 } else {
23818 _v = 1;
23819 }
23820 }
23821 if (_v) {
23822 {
23823 void *ptr;
23824 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23825 _v = 0;
23826 PyErr_Clear();
23827 } else {
23828 _v = 1;
23829 }
23830 }
23831 if (_v) {
23832 {
23833 void *ptr;
23834 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23835 _v = 0;
23836 PyErr_Clear();
23837 } else {
23838 _v = 1;
23839 }
23840 }
23841 if (_v) {
23842 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23843 }
23844 }
23845 }
23846 }
23847
23848 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23849 return NULL;
23850 }
23851
23852
23853 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23854 PyObject *resultobj;
23855 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23856 PyObject *arg2 = (PyObject *) 0 ;
23857 PyObject *arg3 = (PyObject *) 0 ;
23858 PyObject * obj0 = 0 ;
23859 PyObject * obj1 = 0 ;
23860 PyObject * obj2 = 0 ;
23861 char *kwnames[] = {
23862 (char *) "self",(char *) "self",(char *) "_class", NULL
23863 };
23864
23865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23868 arg2 = obj1;
23869 arg3 = obj2;
23870 {
23871 PyThreadState* __tstate = wxPyBeginAllowThreads();
23872 (arg1)->_setCallbackInfo(arg2,arg3);
23873
23874 wxPyEndAllowThreads(__tstate);
23875 if (PyErr_Occurred()) SWIG_fail;
23876 }
23877 Py_INCREF(Py_None); resultobj = Py_None;
23878 return resultobj;
23879 fail:
23880 return NULL;
23881 }
23882
23883
23884 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23885 PyObject *resultobj;
23886 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23887 int arg2 ;
23888 bool result;
23889 PyObject * obj0 = 0 ;
23890 PyObject * obj1 = 0 ;
23891 char *kwnames[] = {
23892 (char *) "self",(char *) "pageNum", NULL
23893 };
23894
23895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23898 arg2 = (int) SWIG_AsInt(obj1);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 {
23901 PyThreadState* __tstate = wxPyBeginAllowThreads();
23902 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23903
23904 wxPyEndAllowThreads(__tstate);
23905 if (PyErr_Occurred()) SWIG_fail;
23906 }
23907 {
23908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23909 }
23910 return resultobj;
23911 fail:
23912 return NULL;
23913 }
23914
23915
23916 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23917 PyObject *resultobj;
23918 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23919 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23920 wxDC *arg3 = 0 ;
23921 bool result;
23922 PyObject * obj0 = 0 ;
23923 PyObject * obj1 = 0 ;
23924 PyObject * obj2 = 0 ;
23925 char *kwnames[] = {
23926 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23927 };
23928
23929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23934 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23935 SWIG_POINTER_EXCEPTION | 0)) == -1)
23936 SWIG_fail;
23937 if (arg3 == NULL) {
23938 PyErr_SetString(PyExc_TypeError,"null reference");
23939 SWIG_fail;
23940 }
23941 {
23942 PyThreadState* __tstate = wxPyBeginAllowThreads();
23943 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23944
23945 wxPyEndAllowThreads(__tstate);
23946 if (PyErr_Occurred()) SWIG_fail;
23947 }
23948 {
23949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23950 }
23951 return resultobj;
23952 fail:
23953 return NULL;
23954 }
23955
23956
23957 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23958 PyObject *resultobj;
23959 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23960 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23961 wxDC *arg3 = 0 ;
23962 bool result;
23963 PyObject * obj0 = 0 ;
23964 PyObject * obj1 = 0 ;
23965 PyObject * obj2 = 0 ;
23966 char *kwnames[] = {
23967 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23968 };
23969
23970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23975 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23976 SWIG_POINTER_EXCEPTION | 0)) == -1)
23977 SWIG_fail;
23978 if (arg3 == NULL) {
23979 PyErr_SetString(PyExc_TypeError,"null reference");
23980 SWIG_fail;
23981 }
23982 {
23983 PyThreadState* __tstate = wxPyBeginAllowThreads();
23984 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23985
23986 wxPyEndAllowThreads(__tstate);
23987 if (PyErr_Occurred()) SWIG_fail;
23988 }
23989 {
23990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23991 }
23992 return resultobj;
23993 fail:
23994 return NULL;
23995 }
23996
23997
23998 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23999 PyObject *resultobj;
24000 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24001 int arg2 ;
24002 bool result;
24003 PyObject * obj0 = 0 ;
24004 PyObject * obj1 = 0 ;
24005 char *kwnames[] = {
24006 (char *) "self",(char *) "pageNum", NULL
24007 };
24008
24009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24012 arg2 = (int) SWIG_AsInt(obj1);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 {
24015 PyThreadState* __tstate = wxPyBeginAllowThreads();
24016 result = (bool)(arg1)->base_RenderPage(arg2);
24017
24018 wxPyEndAllowThreads(__tstate);
24019 if (PyErr_Occurred()) SWIG_fail;
24020 }
24021 {
24022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24023 }
24024 return resultobj;
24025 fail:
24026 return NULL;
24027 }
24028
24029
24030 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
24031 PyObject *resultobj;
24032 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24033 int arg2 ;
24034 PyObject * obj0 = 0 ;
24035 PyObject * obj1 = 0 ;
24036 char *kwnames[] = {
24037 (char *) "self",(char *) "percent", NULL
24038 };
24039
24040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24043 arg2 = (int) SWIG_AsInt(obj1);
24044 if (PyErr_Occurred()) SWIG_fail;
24045 {
24046 PyThreadState* __tstate = wxPyBeginAllowThreads();
24047 (arg1)->base_SetZoom(arg2);
24048
24049 wxPyEndAllowThreads(__tstate);
24050 if (PyErr_Occurred()) SWIG_fail;
24051 }
24052 Py_INCREF(Py_None); resultobj = Py_None;
24053 return resultobj;
24054 fail:
24055 return NULL;
24056 }
24057
24058
24059 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24060 PyObject *resultobj;
24061 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24062 bool arg2 ;
24063 bool result;
24064 PyObject * obj0 = 0 ;
24065 PyObject * obj1 = 0 ;
24066 char *kwnames[] = {
24067 (char *) "self",(char *) "interactive", NULL
24068 };
24069
24070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24073 arg2 = (bool) SWIG_AsBool(obj1);
24074 if (PyErr_Occurred()) SWIG_fail;
24075 {
24076 PyThreadState* __tstate = wxPyBeginAllowThreads();
24077 result = (bool)(arg1)->base_Print(arg2);
24078
24079 wxPyEndAllowThreads(__tstate);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 }
24082 {
24083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24084 }
24085 return resultobj;
24086 fail:
24087 return NULL;
24088 }
24089
24090
24091 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24092 PyObject *resultobj;
24093 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24094 PyObject * obj0 = 0 ;
24095 char *kwnames[] = {
24096 (char *) "self", NULL
24097 };
24098
24099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24102 {
24103 PyThreadState* __tstate = wxPyBeginAllowThreads();
24104 (arg1)->base_DetermineScaling();
24105
24106 wxPyEndAllowThreads(__tstate);
24107 if (PyErr_Occurred()) SWIG_fail;
24108 }
24109 Py_INCREF(Py_None); resultobj = Py_None;
24110 return resultobj;
24111 fail:
24112 return NULL;
24113 }
24114
24115
24116 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
24117 PyObject *obj;
24118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24119 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24120 Py_INCREF(obj);
24121 return Py_BuildValue((char *)"");
24122 }
24123 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
24124 PyObject *resultobj;
24125 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24126 wxFrame *arg2 = (wxFrame *) 0 ;
24127 wxString *arg3 = 0 ;
24128 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24129 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24130 wxSize const &arg5_defvalue = wxDefaultSize ;
24131 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24132 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24133 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24134 wxString *arg7 = (wxString *) &arg7_defvalue ;
24135 wxPyPreviewFrame *result;
24136 bool temp3 = False ;
24137 wxPoint temp4 ;
24138 wxSize temp5 ;
24139 bool temp7 = False ;
24140 PyObject * obj0 = 0 ;
24141 PyObject * obj1 = 0 ;
24142 PyObject * obj2 = 0 ;
24143 PyObject * obj3 = 0 ;
24144 PyObject * obj4 = 0 ;
24145 PyObject * obj5 = 0 ;
24146 PyObject * obj6 = 0 ;
24147 char *kwnames[] = {
24148 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24149 };
24150
24151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24156 {
24157 arg3 = wxString_in_helper(obj2);
24158 if (arg3 == NULL) SWIG_fail;
24159 temp3 = True;
24160 }
24161 if (obj3) {
24162 {
24163 arg4 = &temp4;
24164 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24165 }
24166 }
24167 if (obj4) {
24168 {
24169 arg5 = &temp5;
24170 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24171 }
24172 }
24173 if (obj5) {
24174 arg6 = (long) SWIG_AsLong(obj5);
24175 if (PyErr_Occurred()) SWIG_fail;
24176 }
24177 if (obj6) {
24178 {
24179 arg7 = wxString_in_helper(obj6);
24180 if (arg7 == NULL) SWIG_fail;
24181 temp7 = True;
24182 }
24183 }
24184 {
24185 if (!wxPyCheckForApp()) SWIG_fail;
24186 PyThreadState* __tstate = wxPyBeginAllowThreads();
24187 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24188
24189 wxPyEndAllowThreads(__tstate);
24190 if (PyErr_Occurred()) SWIG_fail;
24191 }
24192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24193 {
24194 if (temp3)
24195 delete arg3;
24196 }
24197 {
24198 if (temp7)
24199 delete arg7;
24200 }
24201 return resultobj;
24202 fail:
24203 {
24204 if (temp3)
24205 delete arg3;
24206 }
24207 {
24208 if (temp7)
24209 delete arg7;
24210 }
24211 return NULL;
24212 }
24213
24214
24215 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj;
24217 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24218 PyObject *arg2 = (PyObject *) 0 ;
24219 PyObject *arg3 = (PyObject *) 0 ;
24220 PyObject * obj0 = 0 ;
24221 PyObject * obj1 = 0 ;
24222 PyObject * obj2 = 0 ;
24223 char *kwnames[] = {
24224 (char *) "self",(char *) "self",(char *) "_class", NULL
24225 };
24226
24227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24230 arg2 = obj1;
24231 arg3 = obj2;
24232 {
24233 PyThreadState* __tstate = wxPyBeginAllowThreads();
24234 (arg1)->_setCallbackInfo(arg2,arg3);
24235
24236 wxPyEndAllowThreads(__tstate);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 Py_INCREF(Py_None); resultobj = Py_None;
24240 return resultobj;
24241 fail:
24242 return NULL;
24243 }
24244
24245
24246 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24247 PyObject *resultobj;
24248 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24249 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24250 PyObject * obj0 = 0 ;
24251 PyObject * obj1 = 0 ;
24252 char *kwnames[] = {
24253 (char *) "self",(char *) "canvas", NULL
24254 };
24255
24256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24259 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24261 {
24262 PyThreadState* __tstate = wxPyBeginAllowThreads();
24263 (arg1)->SetPreviewCanvas(arg2);
24264
24265 wxPyEndAllowThreads(__tstate);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 }
24268 Py_INCREF(Py_None); resultobj = Py_None;
24269 return resultobj;
24270 fail:
24271 return NULL;
24272 }
24273
24274
24275 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24276 PyObject *resultobj;
24277 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24278 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24279 PyObject * obj0 = 0 ;
24280 PyObject * obj1 = 0 ;
24281 char *kwnames[] = {
24282 (char *) "self",(char *) "bar", NULL
24283 };
24284
24285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24288 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24290 {
24291 PyThreadState* __tstate = wxPyBeginAllowThreads();
24292 (arg1)->SetControlBar(arg2);
24293
24294 wxPyEndAllowThreads(__tstate);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 }
24297 Py_INCREF(Py_None); resultobj = Py_None;
24298 return resultobj;
24299 fail:
24300 return NULL;
24301 }
24302
24303
24304 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24305 PyObject *resultobj;
24306 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24307 PyObject * obj0 = 0 ;
24308 char *kwnames[] = {
24309 (char *) "self", NULL
24310 };
24311
24312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24315 {
24316 PyThreadState* __tstate = wxPyBeginAllowThreads();
24317 (arg1)->base_Initialize();
24318
24319 wxPyEndAllowThreads(__tstate);
24320 if (PyErr_Occurred()) SWIG_fail;
24321 }
24322 Py_INCREF(Py_None); resultobj = Py_None;
24323 return resultobj;
24324 fail:
24325 return NULL;
24326 }
24327
24328
24329 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24330 PyObject *resultobj;
24331 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24332 PyObject * obj0 = 0 ;
24333 char *kwnames[] = {
24334 (char *) "self", NULL
24335 };
24336
24337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24340 {
24341 PyThreadState* __tstate = wxPyBeginAllowThreads();
24342 (arg1)->base_CreateCanvas();
24343
24344 wxPyEndAllowThreads(__tstate);
24345 if (PyErr_Occurred()) SWIG_fail;
24346 }
24347 Py_INCREF(Py_None); resultobj = Py_None;
24348 return resultobj;
24349 fail:
24350 return NULL;
24351 }
24352
24353
24354 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24355 PyObject *resultobj;
24356 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24357 PyObject * obj0 = 0 ;
24358 char *kwnames[] = {
24359 (char *) "self", NULL
24360 };
24361
24362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24365 {
24366 PyThreadState* __tstate = wxPyBeginAllowThreads();
24367 (arg1)->base_CreateControlBar();
24368
24369 wxPyEndAllowThreads(__tstate);
24370 if (PyErr_Occurred()) SWIG_fail;
24371 }
24372 Py_INCREF(Py_None); resultobj = Py_None;
24373 return resultobj;
24374 fail:
24375 return NULL;
24376 }
24377
24378
24379 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24380 PyObject *obj;
24381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24382 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24383 Py_INCREF(obj);
24384 return Py_BuildValue((char *)"");
24385 }
24386 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24387 PyObject *resultobj;
24388 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24389 long arg2 ;
24390 wxWindow *arg3 = (wxWindow *) 0 ;
24391 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24392 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24393 wxSize const &arg5_defvalue = wxDefaultSize ;
24394 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24395 long arg6 = (long) 0 ;
24396 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24397 wxString *arg7 = (wxString *) &arg7_defvalue ;
24398 wxPyPreviewControlBar *result;
24399 wxPoint temp4 ;
24400 wxSize temp5 ;
24401 bool temp7 = False ;
24402 PyObject * obj0 = 0 ;
24403 PyObject * obj1 = 0 ;
24404 PyObject * obj2 = 0 ;
24405 PyObject * obj3 = 0 ;
24406 PyObject * obj4 = 0 ;
24407 PyObject * obj5 = 0 ;
24408 PyObject * obj6 = 0 ;
24409 char *kwnames[] = {
24410 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24411 };
24412
24413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24416 arg2 = (long) SWIG_AsLong(obj1);
24417 if (PyErr_Occurred()) SWIG_fail;
24418 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24420 if (obj3) {
24421 {
24422 arg4 = &temp4;
24423 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24424 }
24425 }
24426 if (obj4) {
24427 {
24428 arg5 = &temp5;
24429 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24430 }
24431 }
24432 if (obj5) {
24433 arg6 = (long) SWIG_AsLong(obj5);
24434 if (PyErr_Occurred()) SWIG_fail;
24435 }
24436 if (obj6) {
24437 {
24438 arg7 = wxString_in_helper(obj6);
24439 if (arg7 == NULL) SWIG_fail;
24440 temp7 = True;
24441 }
24442 }
24443 {
24444 if (!wxPyCheckForApp()) SWIG_fail;
24445 PyThreadState* __tstate = wxPyBeginAllowThreads();
24446 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24447
24448 wxPyEndAllowThreads(__tstate);
24449 if (PyErr_Occurred()) SWIG_fail;
24450 }
24451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24452 {
24453 if (temp7)
24454 delete arg7;
24455 }
24456 return resultobj;
24457 fail:
24458 {
24459 if (temp7)
24460 delete arg7;
24461 }
24462 return NULL;
24463 }
24464
24465
24466 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24467 PyObject *resultobj;
24468 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24469 PyObject *arg2 = (PyObject *) 0 ;
24470 PyObject *arg3 = (PyObject *) 0 ;
24471 PyObject * obj0 = 0 ;
24472 PyObject * obj1 = 0 ;
24473 PyObject * obj2 = 0 ;
24474 char *kwnames[] = {
24475 (char *) "self",(char *) "self",(char *) "_class", NULL
24476 };
24477
24478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24481 arg2 = obj1;
24482 arg3 = obj2;
24483 {
24484 PyThreadState* __tstate = wxPyBeginAllowThreads();
24485 (arg1)->_setCallbackInfo(arg2,arg3);
24486
24487 wxPyEndAllowThreads(__tstate);
24488 if (PyErr_Occurred()) SWIG_fail;
24489 }
24490 Py_INCREF(Py_None); resultobj = Py_None;
24491 return resultobj;
24492 fail:
24493 return NULL;
24494 }
24495
24496
24497 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24498 PyObject *resultobj;
24499 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24500 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24501 PyObject * obj0 = 0 ;
24502 PyObject * obj1 = 0 ;
24503 char *kwnames[] = {
24504 (char *) "self",(char *) "preview", NULL
24505 };
24506
24507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24512 {
24513 PyThreadState* __tstate = wxPyBeginAllowThreads();
24514 (arg1)->SetPrintPreview(arg2);
24515
24516 wxPyEndAllowThreads(__tstate);
24517 if (PyErr_Occurred()) SWIG_fail;
24518 }
24519 Py_INCREF(Py_None); resultobj = Py_None;
24520 return resultobj;
24521 fail:
24522 return NULL;
24523 }
24524
24525
24526 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24527 PyObject *resultobj;
24528 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24529 PyObject * obj0 = 0 ;
24530 char *kwnames[] = {
24531 (char *) "self", NULL
24532 };
24533
24534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24537 {
24538 PyThreadState* __tstate = wxPyBeginAllowThreads();
24539 (arg1)->base_CreateButtons();
24540
24541 wxPyEndAllowThreads(__tstate);
24542 if (PyErr_Occurred()) SWIG_fail;
24543 }
24544 Py_INCREF(Py_None); resultobj = Py_None;
24545 return resultobj;
24546 fail:
24547 return NULL;
24548 }
24549
24550
24551 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24552 PyObject *resultobj;
24553 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24554 int arg2 ;
24555 PyObject * obj0 = 0 ;
24556 PyObject * obj1 = 0 ;
24557 char *kwnames[] = {
24558 (char *) "self",(char *) "zoom", NULL
24559 };
24560
24561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24564 arg2 = (int) SWIG_AsInt(obj1);
24565 if (PyErr_Occurred()) SWIG_fail;
24566 {
24567 PyThreadState* __tstate = wxPyBeginAllowThreads();
24568 (arg1)->base_SetZoomControl(arg2);
24569
24570 wxPyEndAllowThreads(__tstate);
24571 if (PyErr_Occurred()) SWIG_fail;
24572 }
24573 Py_INCREF(Py_None); resultobj = Py_None;
24574 return resultobj;
24575 fail:
24576 return NULL;
24577 }
24578
24579
24580 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24581 PyObject *obj;
24582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24583 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24584 Py_INCREF(obj);
24585 return Py_BuildValue((char *)"");
24586 }
24587 static PyMethodDef SwigMethods[] = {
24588 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24594 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24609 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24610 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24618 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24634 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24658 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24670 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24674 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24678 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24683 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24699 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24727 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24734 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24757 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24765 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24777 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24783 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24792 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24798 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24801 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24804 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24808 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24826 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24852 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24860 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24864 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24866 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24875 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24878 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24885 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24903 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24907 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24912 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24916 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24932 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24935 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24937 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24941 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24950 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24959 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24965 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24977 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24984 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24988 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
25014 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
25040 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
25066 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
25112 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
25144 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
25148 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
25149 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25182 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25187 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25198 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25221 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25223 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25229 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25239 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25240 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25263 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25264 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25273 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25281 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25287 { NULL, NULL }
25288 };
25289
25290
25291 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25292
25293 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25294 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25295 }
25296 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25297 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25298 }
25299 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25300 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25301 }
25302 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25303 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25304 }
25305 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25306 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25307 }
25308 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25309 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25310 }
25311 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25312 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25313 }
25314 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25315 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25316 }
25317 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25318 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25319 }
25320 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25321 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25322 }
25323 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25324 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25325 }
25326 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25327 return (void *)((wxEvent *) ((wxPyEvent *) x));
25328 }
25329 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25330 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25331 }
25332 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25333 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25334 }
25335 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25336 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25337 }
25338 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25339 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25340 }
25341 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25342 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25343 }
25344 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25345 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25346 }
25347 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25348 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25349 }
25350 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25351 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25352 }
25353 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25354 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25355 }
25356 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25357 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25358 }
25359 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25360 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25361 }
25362 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25363 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25364 }
25365 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25366 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25367 }
25368 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25369 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25370 }
25371 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25372 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25373 }
25374 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25375 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25376 }
25377 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25378 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25379 }
25380 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25381 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25382 }
25383 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25384 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25385 }
25386 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25388 }
25389 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25390 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25391 }
25392 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25393 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25394 }
25395 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25396 return (void *)((wxEvent *) ((wxShowEvent *) x));
25397 }
25398 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25399 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25400 }
25401 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25402 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25403 }
25404 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25405 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25406 }
25407 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25408 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25409 }
25410 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25411 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25412 }
25413 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25414 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25415 }
25416 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25417 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25418 }
25419 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25420 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25421 }
25422 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25423 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25424 }
25425 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25426 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25427 }
25428 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25429 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25430 }
25431 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25432 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25433 }
25434 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25435 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25436 }
25437 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25438 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25439 }
25440 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25441 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25442 }
25443 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25445 }
25446 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25447 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25448 }
25449 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25450 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25451 }
25452 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25453 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25454 }
25455 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25456 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25457 }
25458 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25459 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25460 }
25461 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25462 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25463 }
25464 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25465 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25466 }
25467 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25468 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25469 }
25470 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25471 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25472 }
25473 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25474 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25475 }
25476 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25477 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25478 }
25479 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25480 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25481 }
25482 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25483 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25484 }
25485 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25486 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25487 }
25488 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25489 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25490 }
25491 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25492 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25493 }
25494 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25495 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25496 }
25497 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25498 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25499 }
25500 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25501 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25502 }
25503 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25504 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25505 }
25506 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25507 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25508 }
25509 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25510 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25511 }
25512 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25513 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25514 }
25515 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25516 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25517 }
25518 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25519 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25520 }
25521 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25522 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25523 }
25524 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25525 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25526 }
25527 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25528 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25529 }
25530 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25531 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25532 }
25533 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25534 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25535 }
25536 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25537 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25538 }
25539 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25540 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25541 }
25542 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25543 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25544 }
25545 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25546 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25547 }
25548 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25550 }
25551 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25553 }
25554 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25555 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25556 }
25557 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25558 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25559 }
25560 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25561 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25562 }
25563 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25564 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25565 }
25566 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25567 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25568 }
25569 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25570 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25571 }
25572 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25573 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25574 }
25575 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25576 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25577 }
25578 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25579 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25580 }
25581 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
25582 return (void *)((wxFrame *) ((wxTipWindow *) x));
25583 }
25584 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25585 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25586 }
25587 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25588 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25589 }
25590 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25591 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25592 }
25593 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25594 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25595 }
25596 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25597 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25598 }
25599 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25600 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25601 }
25602 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25603 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25604 }
25605 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25607 }
25608 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25610 }
25611 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25612 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25613 }
25614 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25615 return (void *)((wxObject *) ((wxSizerItem *) x));
25616 }
25617 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25618 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25619 }
25620 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25621 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25622 }
25623 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25624 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25625 }
25626 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25627 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25628 }
25629 static void *_p_wxSizerTo_p_wxObject(void *x) {
25630 return (void *)((wxObject *) ((wxSizer *) x));
25631 }
25632 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25633 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25634 }
25635 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25636 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25637 }
25638 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25640 }
25641 static void *_p_wxEventTo_p_wxObject(void *x) {
25642 return (void *)((wxObject *) ((wxEvent *) x));
25643 }
25644 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25645 return (void *)((wxObject *) ((wxFontData *) x));
25646 }
25647 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25648 return (void *)((wxObject *) ((wxPrintData *) x));
25649 }
25650 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25651 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25652 }
25653 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25654 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25655 }
25656 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25657 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25658 }
25659 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25660 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25661 }
25662 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25663 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25664 }
25665 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25666 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25667 }
25668 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25669 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25670 }
25671 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25672 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25673 }
25674 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25675 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25676 }
25677 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25678 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25679 }
25680 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25681 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25682 }
25683 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25684 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25685 }
25686 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25688 }
25689 static void *_p_wxControlTo_p_wxObject(void *x) {
25690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25691 }
25692 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25693 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25694 }
25695 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25696 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25697 }
25698 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25699 return (void *)((wxObject *) ((wxFSFile *) x));
25700 }
25701 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25702 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25703 }
25704 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25705 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25706 }
25707 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25709 }
25710 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25711 return (void *)((wxObject *) ((wxColourData *) x));
25712 }
25713 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25714 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25715 }
25716 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25717 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25718 }
25719 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25721 }
25722 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25724 }
25725 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25727 }
25728 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25730 }
25731 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25733 }
25734 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25736 }
25737 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25739 }
25740 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25742 }
25743 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25745 }
25746 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25747 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25748 }
25749 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25750 return (void *)((wxObject *) ((wxPrinter *) x));
25751 }
25752 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25753 return (void *)((wxObject *) ((wxMenuItem *) x));
25754 }
25755 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25756 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25757 }
25758 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25759 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25760 }
25761 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25762 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25763 }
25764 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25765 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25766 }
25767 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25768 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25769 }
25770 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25771 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25772 }
25773 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25774 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25775 }
25776 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25777 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25778 }
25779 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25780 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25781 }
25782 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25783 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25784 }
25785 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25786 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25787 }
25788 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25789 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25790 }
25791 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25792 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25793 }
25794 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25795 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25796 }
25797 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25798 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25799 }
25800 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25801 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25802 }
25803 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25804 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25805 }
25806 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25807 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25808 }
25809 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25810 return (void *)((wxObject *) ((wxImageHandler *) x));
25811 }
25812 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25813 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25814 }
25815 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25816 return (void *)((wxObject *) ((wxEvtHandler *) x));
25817 }
25818 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25819 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25820 }
25821 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25823 }
25824 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25826 }
25827 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25828 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25829 }
25830 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25832 }
25833 static void *_p_wxImageTo_p_wxObject(void *x) {
25834 return (void *)((wxObject *) ((wxImage *) x));
25835 }
25836 static void *_p_wxFrameTo_p_wxObject(void *x) {
25837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25838 }
25839 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25840 return (void *)((wxObject *) ((wxPyPrintout *) x));
25841 }
25842 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25843 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25844 }
25845 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25846 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25847 }
25848 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25850 }
25851 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25853 }
25854 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25855 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25856 }
25857 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25858 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25859 }
25860 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25861 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25862 }
25863 static void *_p_wxWindowTo_p_wxObject(void *x) {
25864 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25865 }
25866 static void *_p_wxMenuTo_p_wxObject(void *x) {
25867 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25868 }
25869 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25871 }
25872 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25874 }
25875 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25877 }
25878 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25880 }
25881 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25883 }
25884 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25886 }
25887 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25889 }
25890 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25892 }
25893 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25895 }
25896 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25898 }
25899 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25901 }
25902 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25904 }
25905 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25907 }
25908 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25909 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25910 }
25911 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25912 return (void *)((wxObject *) ((wxPrintPreview *) x));
25913 }
25914 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25915 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25916 }
25917 static void *_p_wxPanelTo_p_wxObject(void *x) {
25918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25919 }
25920 static void *_p_wxDialogTo_p_wxObject(void *x) {
25921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25922 }
25923 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25925 }
25926 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25928 }
25929 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25931 }
25932 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25934 }
25935 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25937 }
25938 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25939 return (void *)((wxObject *) ((wxFileSystem *) x));
25940 }
25941 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25942 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25943 }
25944 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25945 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25946 }
25947 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25948 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25949 }
25950 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25951 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25952 }
25953 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25954 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25955 }
25956 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25957 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25958 }
25959 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25960 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25961 }
25962 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25963 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25964 }
25965 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25967 }
25968 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25970 }
25971 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25972 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25973 }
25974 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25975 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25976 }
25977 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25978 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25979 }
25980 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25982 }
25983 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25984 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25985 }
25986 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25987 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25988 }
25989 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25990 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25991 }
25992 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25993 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25994 }
25995 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25996 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25997 }
25998 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25999 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26000 }
26001 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26002 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26003 }
26004 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26005 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26006 }
26007 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26008 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26009 }
26010 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26011 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26012 }
26013 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26014 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26015 }
26016 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26017 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26018 }
26019 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26020 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26021 }
26022 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26023 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26024 }
26025 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26026 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26027 }
26028 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26029 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26030 }
26031 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26032 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26033 }
26034 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
26035 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
26036 }
26037 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26038 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26039 }
26040 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26041 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26042 }
26043 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26044 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26045 }
26046 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26047 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26048 }
26049 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26050 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26051 }
26052 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26053 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26054 }
26055 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26056 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26057 }
26058 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26059 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26060 }
26061 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26062 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26063 }
26064 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26065 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26066 }
26067 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26068 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26069 }
26070 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26071 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26072 }
26073 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26074 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26075 }
26076 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26077 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26078 }
26079 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26080 return (void *)((wxWindow *) ((wxMenuBar *) x));
26081 }
26082 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26083 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26084 }
26085 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26086 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26087 }
26088 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26089 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26090 }
26091 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26092 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26093 }
26094 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26095 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26096 }
26097 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26098 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26099 }
26100 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26101 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26102 }
26103 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26104 return (void *)((wxWindow *) ((wxPanel *) x));
26105 }
26106 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26107 return (void *)((wxWindow *) ((wxStatusBar *) x));
26108 }
26109 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26110 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26111 }
26112 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26113 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26114 }
26115 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26116 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26117 }
26118 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26119 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26120 }
26121 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26122 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26123 }
26124 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26125 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26126 }
26127 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26128 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26129 }
26130 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26131 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26132 }
26133 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26134 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26135 }
26136 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26137 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26138 }
26139 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26140 return (void *)((wxWindow *) ((wxSashWindow *) x));
26141 }
26142 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26143 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26144 }
26145 static void *_p_wxControlTo_p_wxWindow(void *x) {
26146 return (void *)((wxWindow *) ((wxControl *) x));
26147 }
26148 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26149 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26150 }
26151 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26152 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26153 }
26154 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26155 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26156 }
26157 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26158 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26159 }
26160 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26161 return (void *)((wxWindow *) ((wxPyWindow *) x));
26162 }
26163 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26164 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26165 }
26166 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26167 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26168 }
26169 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26170 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26171 }
26172 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26173 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26174 }
26175 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26176 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26177 }
26178 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26179 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26180 }
26181 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26183 }
26184 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26185 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26186 }
26187 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26188 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26189 }
26190 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26191 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26192 }
26193 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26194 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26195 }
26196 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26197 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26198 }
26199 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26200 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26201 }
26202 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26203 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26204 }
26205 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26206 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26207 }
26208 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26209 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26210 }
26211 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26212 return (void *)((wxDialog *) ((wxColourDialog *) x));
26213 }
26214 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26215 return (void *)((wxDialog *) ((wxDirDialog *) x));
26216 }
26217 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26218 return (void *)((wxDialog *) ((wxFontDialog *) x));
26219 }
26220 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26221 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26222 }
26223 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26224 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26225 }
26226 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26227 return (void *)((wxDialog *) ((wxFileDialog *) x));
26228 }
26229 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26230 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26231 }
26232 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26233 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26234 }
26235 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26236 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26237 }
26238 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26239 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26240 }
26241 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26242 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26243 }
26244 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26245 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26246 }
26247 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26248 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26249 }
26250 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26251 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26252 }
26253 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26254 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26255 }
26256 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26257 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26258 }
26259 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26260 return (void *)((wxPanel *) ((wxPyPanel *) x));
26261 }
26262 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26263 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26264 }
26265 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26266 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26267 }
26268 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26269 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26270 }
26271 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26272 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26273 }
26274 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26275 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26276 }
26277 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26278 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26279 }
26280 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26281 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26282 }
26283 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26284 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26285 }
26286 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26287 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26288 }
26289 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26290 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26291 }
26292 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26293 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26294 }
26295 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26296 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26297 }
26298 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26299 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26300 }
26301 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26302 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26303 }
26304 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26305 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26306 }
26307 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}};
26308 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}};
26309 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}};
26310 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}};
26311 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}};
26312 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}};
26313 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}};
26314 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}};
26315 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}};
26316 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}};
26317 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}};
26318 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}};
26319 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}};
26320 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}};
26321 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}};
26322 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}};
26323 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}};
26324 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}};
26325 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}};
26326 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}};
26327 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}};
26328 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}};
26329 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}};
26330 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}};
26331 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}};
26332 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}};
26333 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}};
26334 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}};
26335 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}};
26336 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}};
26337 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}};
26338 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}};
26339 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}};
26340 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}};
26341 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}};
26342 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}};
26343 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}};
26344 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}};
26345 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}};
26346 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}};
26347 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}};
26348 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}};
26349 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}};
26350 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}};
26351 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}};
26352 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}};
26353 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}};
26354 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}};
26355 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}};
26356 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}};
26357 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}};
26358 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}};
26359 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}};
26360 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}};
26361 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}};
26362 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}};
26363 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}};
26364 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}};
26365 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}};
26366 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}};
26367 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}};
26368 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}};
26369 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}};
26370 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}};
26371 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}};
26372 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}};
26373 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}};
26374 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}};
26375 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}};
26376 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}};
26377 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}};
26378 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}};
26379 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}};
26380 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}};
26381 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}};
26382 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}};
26383 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}};
26384 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}};
26385 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}};
26386 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}};
26387 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}};
26388 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}};
26389 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}};
26390 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}};
26391 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}};
26392 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}};
26393 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}};
26394
26395 static swig_type_info *swig_types_initial[] = {
26396 _swigt__p_wxQueryLayoutInfoEvent,
26397 _swigt__p_wxPreviewFrame,
26398 _swigt__p_wxPyPreviewFrame,
26399 _swigt__p_wxPyPanel,
26400 _swigt__p_wxMenu,
26401 _swigt__p_wxFontData,
26402 _swigt__p_wxEvent,
26403 _swigt__p_wxPrintData,
26404 _swigt__p_wxTaskBarIcon,
26405 _swigt__p_wxIconBundle,
26406 _swigt__p_wxLayoutAlgorithm,
26407 _swigt__p_wxFindDialogEvent,
26408 _swigt__p_wxPreviewCanvas,
26409 _swigt__p_wxFont,
26410 _swigt__p_wxSplitterEvent,
26411 _swigt__p_wxRegion,
26412 _swigt__p_wxFindReplaceData,
26413 _swigt__p_int,
26414 _swigt__p_wxSize,
26415 _swigt__p_wxDC,
26416 _swigt__p_wxIcon,
26417 _swigt__p_wxVisualAttributes,
26418 _swigt__p_wxMDIChildFrame,
26419 _swigt__p_wxColourData,
26420 _swigt__p_wxNotifyEvent,
26421 _swigt__p_wxPyWindow,
26422 _swigt__p_wxSplashScreen,
26423 _swigt__p_wxFindReplaceDialog,
26424 _swigt__p_wxProgressDialog,
26425 _swigt__p_wxMessageDialog,
26426 _swigt__p_wxTextEntryDialog,
26427 _swigt__p_wxSingleChoiceDialog,
26428 _swigt__p_wxMultiChoiceDialog,
26429 _swigt__p_wxFileDialog,
26430 _swigt__p_wxPrinter,
26431 _swigt__p_wxArrayInt,
26432 _swigt__p_wxEvtHandler,
26433 _swigt__p_wxCalculateLayoutEvent,
26434 _swigt__p_wxPyHtmlListBox,
26435 _swigt__p_wxPyVListBox,
26436 _swigt__p_wxRect,
26437 _swigt__p_char,
26438 _swigt__p_wxMiniFrame,
26439 _swigt__p_wxFrame,
26440 _swigt__p_wxPyPrintout,
26441 _swigt__p_wxTaskBarIconEvent,
26442 _swigt__p_wxScrollWinEvent,
26443 _swigt__p_wxStatusBar,
26444 _swigt__p_wxMDIParentFrame,
26445 _swigt__p_wxPoint,
26446 _swigt__p_wxObject,
26447 _swigt__p_wxOutputStream,
26448 _swigt__p_unsigned_long,
26449 _swigt__p_wxPyScrolledWindow,
26450 _swigt__p_wxMDIClientWindow,
26451 _swigt__p_wxTipWindow,
26452 _swigt__p_wxPyPopupTransientWindow,
26453 _swigt__p_wxSashLayoutWindow,
26454 _swigt__p_wxSplitterWindow,
26455 _swigt__p_wxPyVScrolledWindow,
26456 _swigt__p_wxPopupWindow,
26457 _swigt__p_wxSashWindow,
26458 _swigt__p_wxTopLevelWindow,
26459 _swigt__p_wxWindow,
26460 _swigt__p_wxScrolledWindow,
26461 _swigt__p_wxSplashScreenWindow,
26462 _swigt__p_wxMenuBar,
26463 _swigt__p_wxPrintPreview,
26464 _swigt__p_wxSashEvent,
26465 _swigt__p_wxString,
26466 _swigt__p_wxPyPrintPreview,
26467 _swigt__p_wxFontDialog,
26468 _swigt__p_wxDirDialog,
26469 _swigt__p_wxColourDialog,
26470 _swigt__p_wxDialog,
26471 _swigt__p_wxPanel,
26472 _swigt__p_wxPageSetupDialog,
26473 _swigt__p_wxPrintDialog,
26474 _swigt__p_wxFileSystem,
26475 _swigt__p_wxBitmap,
26476 _swigt__p_wxCommandEvent,
26477 _swigt__p_wxPreviewControlBar,
26478 _swigt__p_wxPyPreviewControlBar,
26479 _swigt__p_wxColour,
26480 _swigt__p_wxToolBar,
26481 _swigt__p_wxPageSetupDialogData,
26482 _swigt__p_wxPrintDialogData,
26483 0
26484 };
26485
26486
26487 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26488
26489 static swig_const_info swig_const_table[] = {
26490 {0}};
26491
26492 #ifdef __cplusplus
26493 }
26494 #endif
26495
26496 #ifdef __cplusplus
26497 extern "C"
26498 #endif
26499 SWIGEXPORT(void) SWIG_init(void) {
26500 static PyObject *SWIG_globals = 0;
26501 static int typeinit = 0;
26502 PyObject *m, *d;
26503 int i;
26504 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26505 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26506 d = PyModule_GetDict(m);
26507
26508 if (!typeinit) {
26509 for (i = 0; swig_types_initial[i]; i++) {
26510 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26511 }
26512 typeinit = 1;
26513 }
26514 SWIG_InstallConstants(d,swig_const_table);
26515
26516 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26517 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26518 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26519 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26520 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26521 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26522 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26523 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26524 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26525 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26526 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26527 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26528 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26529 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26530 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26531 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26532 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26533 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26534 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26535 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26536 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26537 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26538 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26539 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26540 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26541 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26542 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26543 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26544 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26545 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26546 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26547 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26548 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26549 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26550 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26551 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26552 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26553 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26554 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26555 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26556 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26557 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26558 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26559 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26560 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26561 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26562 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26563 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26564 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26565 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26566 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26567 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26568 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26569 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26570 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26571 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26572 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26573 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26574 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26575 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26576 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26577 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26578 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26579 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26580 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26581 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26582 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26583 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26584 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26585 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26586 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26587 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26588 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26589 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26590 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26591 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26592 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26593 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26594 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26595 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26596 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26597 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26598 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26599 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26600 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26601 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26602 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26603 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26604 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26605 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26606 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26607 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26608 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26609
26610 // Map renamed classes back to their common name for OOR
26611 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26612 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26613 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26614
26615 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26616 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26617 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26618 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26619 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26620 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26621 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26622 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26623 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26624 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26625 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26626 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26627 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26628 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26629 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26630 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26631 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26632 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26633 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26634 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26635 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26636 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26637 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26638 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26639 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26640 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26641 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26642 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26643 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26644 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26645 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26646 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26647 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26648 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26649 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26650 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26651 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26652 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26653 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26654 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26655 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26656 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26657 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26658 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26659 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26660 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26661 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26662 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26663 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26664 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26665 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26666 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26667 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26668 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26669 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26670 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26671 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26672 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26673 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26674 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26675
26676 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26677
26678 }
26679