]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows_wrap.cpp
docstring patch has been submitted to SF
[wxWidgets.git] / wxPython / src / gtk / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #include <limits.h>
141 #include <float.h>
142
143 #ifdef __cplusplus
144 #define SWIG_STATIC_INLINE static inline
145 #else
146 #define SWIG_STATIC_INLINE static
147 #endif
148
149 SWIG_STATIC_INLINE long
150 SPyObj_AsLong(PyObject * obj)
151 {
152 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
153 }
154
155 SWIG_STATIC_INLINE unsigned long
156 SPyObj_AsUnsignedLong(PyObject * obj)
157 {
158 if (PyLong_Check(obj)) {
159 return PyLong_AsUnsignedLong(obj);
160 } else {
161 long i = PyInt_AsLong(obj);
162 if ( !PyErr_Occurred() && (i < 0)) {
163 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
164 }
165 return i;
166 }
167 }
168
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject*
171 SPyObj_FromLongLong(long long value)
172 {
173 return (value > (long)(LONG_MAX)) ?
174 PyLong_FromLongLong(value) : PyInt_FromLong((long)value);
175 }
176 #endif
177
178 SWIG_STATIC_INLINE PyObject*
179 SPyObj_FromUnsignedLong(unsigned long value)
180 {
181 return (value > (unsigned long)(LONG_MAX)) ?
182 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
183 }
184
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject*
187 SPyObj_FromUnsignedLongLong(unsigned long long value)
188 {
189 return (value > (unsigned long long)(LONG_MAX)) ?
190 PyLong_FromUnsignedLongLong(value) : PyInt_FromLong((long)value);
191 }
192 #endif
193
194 SWIG_STATIC_INLINE long
195 SPyObj_AsLongInRange(PyObject * obj, long min_value, long max_value)
196 {
197 long value = SPyObj_AsLong(obj);
198 if (!PyErr_Occurred()) {
199 if (value < min_value) {
200 PyErr_SetString(PyExc_OverflowError,"value is smaller than type minimum");
201 } else if (value > max_value) {
202 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
203 }
204 }
205 return value;
206 }
207
208 SWIG_STATIC_INLINE unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject *obj, unsigned long max_value)
210 {
211 unsigned long value = SPyObj_AsUnsignedLong(obj);
212 if (!PyErr_Occurred()) {
213 if (value > max_value) {
214 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
215 }
216 }
217 return value;
218 }
219
220 SWIG_STATIC_INLINE signed char
221 SPyObj_AsSignedChar(PyObject *obj) {
222 return (signed char)SPyObj_AsLongInRange(obj, SCHAR_MIN, SCHAR_MAX);
223 }
224
225 SWIG_STATIC_INLINE short
226 SPyObj_AsShort(PyObject *obj) {
227 return (short)SPyObj_AsLongInRange(obj, SHRT_MIN, SHRT_MAX);
228 }
229
230 SWIG_STATIC_INLINE int
231 SPyObj_AsInt(PyObject *obj) {
232 return SPyObj_AsLongInRange(obj, INT_MIN, INT_MAX);
233 }
234
235 SWIG_STATIC_INLINE unsigned char
236 SPyObj_AsUnsignedChar(PyObject *obj) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj, UCHAR_MAX);
238 }
239
240 SWIG_STATIC_INLINE unsigned short
241 SPyObj_AsUnsignedShort(PyObject *obj) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj, USHRT_MAX);
243 }
244
245 SWIG_STATIC_INLINE unsigned int
246 SPyObj_AsUnsignedInt(PyObject *obj) {
247 return SPyObj_AsUnsignedLongInRange(obj, UINT_MAX);
248 }
249
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE long long
252 SPyObj_AsLongLong(PyObject *obj) {
253 return PyInt_Check(obj) ?
254 PyInt_AsLong(obj) : PyLong_AsLongLong(obj);
255 }
256
257 SWIG_STATIC_INLINE unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject *obj) {
259 return PyLong_Check(obj) ?
260 PyLong_AsUnsignedLongLong(obj) : SPyObj_AsUnsignedLong(obj);
261 }
262 #endif
263
264 SWIG_STATIC_INLINE double
265 SPyObj_AsDouble(PyObject *obj) {
266 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
267 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
268 }
269
270 SWIG_STATIC_INLINE float
271 SPyObj_AsFloat(PyObject *obj) {
272 double value = SPyObj_AsDouble(obj);
273 if (!PyErr_Occurred()) {
274 if (value < FLT_MIN) {
275 PyErr_SetString(PyExc_OverflowError,"float is smaller than flt_min");
276 } else if (value > FLT_MAX) {
277 PyErr_SetString(PyExc_OverflowError,"float is greater than flt_max");
278 }
279 }
280 return (float) value;
281 }
282
283 SWIG_STATIC_INLINE char
284 SPyObj_AsChar(PyObject *obj) {
285 char c = (PyString_Check(obj) && PyString_Size(obj) == 1) ?
286 PyString_AsString(obj)[0]
287 : (char) SPyObj_AsLongInRange(obj, CHAR_MIN, CHAR_MAX);
288 if (PyErr_Occurred()) {
289 PyErr_Clear();
290 PyErr_SetString(PyExc_TypeError, "a char is required");
291 }
292 return c;
293 }
294
295 SWIG_STATIC_INLINE PyObject *
296 SPyObj_FromChar(char c) {
297 return PyString_FromStringAndSize(&c,1);
298 }
299
300 SWIG_STATIC_INLINE PyObject *
301 SPyObj_FromCharPtr(const char* cptr) {
302 return cptr ? PyString_FromString(cptr) : Py_BuildValue((char*)"");
303 }
304
305 SWIG_STATIC_INLINE int
306 SPyObj_AsBool(PyObject *obj) {
307 return SPyObj_AsLong/*Long*/(obj) ? 1 : 0;
308 }
309
310
311
312 #ifdef __cplusplus
313 extern "C" {
314 #endif
315
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
321
322 /* Flags for pointer conversion */
323
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
326
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
329
330 /* Constant information structure */
331 typedef struct swig_const_info {
332 int type;
333 char *name;
334 long lvalue;
335 double dvalue;
336 void *pvalue;
337 swig_type_info **ptype;
338 } swig_const_info;
339
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
347
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
359
360
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
362 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
364 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
367 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
369
370
371
372 /* Contract support */
373
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
375
376 #ifdef __cplusplus
377 }
378 #endif
379
380
381
382 /* -------- TYPES TABLE (BEGIN) -------- */
383
384 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
385 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
386 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
387 #define SWIGTYPE_p_wxPyPanel swig_types[3]
388 #define SWIGTYPE_p_wxMenu swig_types[4]
389 #define SWIGTYPE_p_wxPrintData swig_types[5]
390 #define SWIGTYPE_p_wxFontData swig_types[6]
391 #define SWIGTYPE_p_wxEvent swig_types[7]
392 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
393 #define SWIGTYPE_p_wxIconBundle swig_types[9]
394 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
395 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
396 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
397 #define SWIGTYPE_p_wxFont swig_types[13]
398 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
399 #define SWIGTYPE_p_wxRegion swig_types[15]
400 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
401 #define SWIGTYPE_p_int swig_types[17]
402 #define SWIGTYPE_p_wxSize swig_types[18]
403 #define SWIGTYPE_p_wxDC swig_types[19]
404 #define SWIGTYPE_p_wxIcon swig_types[20]
405 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
406 #define SWIGTYPE_p_wxColourData swig_types[22]
407 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
408 #define SWIGTYPE_p_wxPyWindow swig_types[24]
409 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
410 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
411 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
412 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
413 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
414 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
415 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
416 #define SWIGTYPE_p_wxFileDialog swig_types[32]
417 #define SWIGTYPE_p_wxPrinter swig_types[33]
418 #define SWIGTYPE_p_wxArrayInt swig_types[34]
419 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
420 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
421 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
422 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
423 #define SWIGTYPE_p_wxRect swig_types[39]
424 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
425 #define SWIGTYPE_p_wxFrame swig_types[41]
426 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
427 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
428 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
429 #define SWIGTYPE_p_wxStatusBar swig_types[45]
430 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
431 #define SWIGTYPE_p_wxPoint swig_types[47]
432 #define SWIGTYPE_p_wxObject swig_types[48]
433 #define SWIGTYPE_p_unsigned_long swig_types[49]
434 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
435 #define SWIGTYPE_p_wxTipWindow swig_types[51]
436 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
437 #define SWIGTYPE_p_wxSplitterWindow swig_types[53]
438 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
439 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
440 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
441 #define SWIGTYPE_p_wxSashWindow swig_types[57]
442 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
443 #define SWIGTYPE_p_wxWindow swig_types[59]
444 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
445 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
446 #define SWIGTYPE_p_wxMenuBar swig_types[62]
447 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
448 #define SWIGTYPE_p_wxSashEvent swig_types[64]
449 #define SWIGTYPE_p_wxString swig_types[65]
450 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
451 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
452 #define SWIGTYPE_p_wxFontDialog swig_types[68]
453 #define SWIGTYPE_p_wxDirDialog swig_types[69]
454 #define SWIGTYPE_p_wxColourDialog swig_types[70]
455 #define SWIGTYPE_p_wxDialog swig_types[71]
456 #define SWIGTYPE_p_wxPanel swig_types[72]
457 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
458 #define SWIGTYPE_p_wxBitmap swig_types[74]
459 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
460 #define SWIGTYPE_p_wxPreviewControlBar swig_types[76]
461 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[77]
462 #define SWIGTYPE_p_wxColour swig_types[78]
463 #define SWIGTYPE_p_wxToolBar swig_types[79]
464 #define SWIGTYPE_p_wxPrintDialogData swig_types[80]
465 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
466 static swig_type_info *swig_types[83];
467
468 /* -------- TYPES TABLE (END) -------- */
469
470
471 /*-----------------------------------------------
472 @(target):= _windows.so
473 ------------------------------------------------*/
474 #define SWIG_init init_windows
475
476 #define SWIG_name "_windows"
477
478 #include "wx/wxPython/wxPython.h"
479 #include "wx/wxPython/pyclasses.h"
480
481
482 static const wxString wxPyEmptyString(wxEmptyString);
483 static const wxString wxPyPanelNameStr(wxPanelNameStr);
484
485
486
487 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
488 PyObject* o2;
489 PyObject* o3;
490
491 if (!target) {
492 target = o;
493 } else if (target == Py_None) {
494 Py_DECREF(Py_None);
495 target = o;
496 } else {
497 if (!PyTuple_Check(target)) {
498 o2 = target;
499 target = PyTuple_New(1);
500 PyTuple_SetItem(target, 0, o2);
501 }
502 o3 = PyTuple_New(1);
503 PyTuple_SetItem(o3, 0, o);
504
505 o2 = target;
506 target = PySequence_Concat(o2, o3);
507 Py_DECREF(o2);
508 Py_DECREF(o3);
509 }
510 return target;
511 }
512
513 static const wxString wxPyFrameNameStr(wxFrameNameStr);
514 static const wxString wxPyDialogNameStr(wxDialogNameStr);
515 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
516 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
517 bool wxDialog_IsModalShowing(wxDialog *self){
518
519 return self->m_modalShowing;
520
521
522
523 }
524
525
526 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
527 wxRect r;
528 self->GetFieldRect(i, r);
529 return r;
530 }
531 static const wxString wxPySplitterNameStr(wxT("splitter"));
532 static const wxString wxPySashNameStr(wxT("sashWindow"));
533 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
534
535 #include <wx/popupwin.h>
536
537
538 class wxPyPopupTransientWindow : public wxPopupTransientWindow
539 {
540 public:
541 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
542 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
543 : wxPopupTransientWindow(parent, style) {}
544
545 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
546 DEC_PYCALLBACK__(OnDismiss);
547 DEC_PYCALLBACK_BOOL_(CanDismiss);
548 PYPRIVATE;
549 };
550
551
552 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
553 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
554 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
555
556
557 #include <wx/tipwin.h>
558
559 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
560 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
561 }
562
563 #include <wx/tipwin.h>
564
565
566 #include <wx/vscroll.h>
567
568
569 class wxPyVScrolledWindow : public wxVScrolledWindow
570 {
571 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
572 public:
573 wxPyVScrolledWindow() : wxVScrolledWindow() {}
574
575 wxPyVScrolledWindow(wxWindow *parent,
576 wxWindowID id = wxID_ANY,
577 const wxPoint& pos = wxDefaultPosition,
578 const wxSize& size = wxDefaultSize,
579 long style = 0,
580 const wxString& name = wxPyPanelNameStr)
581 : wxVScrolledWindow(parent, id, pos, size, style, name)
582 {}
583
584 // Overridable virtuals
585
586 // this function must be overridden in the derived class and it should
587 // return the height of the given line in pixels
588 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
589
590
591 // this function doesn't have to be overridden but it may be useful to do
592 // it if calculating the lines heights is a relatively expensive operation
593 // as it gives the user code a possibility to calculate several of them at
594 // once
595 //
596 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
597 // shouldn't rely on the latter being called for all lines in the interval
598 // specified here. It is also possible that OnGetLineHeight() will be
599 // called for the lines outside of this interval, so this is really just a
600 // hint, not a promise.
601 //
602 // finally note that lineMin is inclusive, while lineMax is exclusive, as
603 // usual
604 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
605
606
607 // when the number of lines changes, we try to estimate the total height
608 // of all lines which is a rather expensive operation in terms of lines
609 // access, so if the user code may estimate the average height
610 // better/faster than we do, it should override this function to implement
611 // its own logic
612 //
613 // this function should return the best guess for the total height it may
614 // make
615 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
616
617
618 // Also expose some other interesting protected methods
619
620
621 // find the index of the line we need to show at the top of the window such
622 // that the last (fully or partially) visible line is the given one
623 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
624 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
625
626 // get the total height of the lines between lineMin (inclusive) and
627 // lineMax (exclusive)
628 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
629 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
630
631
632 PYPRIVATE;
633 };
634
635 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
636
637 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
638 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
639 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
640
641
642 #include <wx/vlbox.h>
643
644 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
645
646 class wxPyVListBox : public wxVListBox
647 {
648 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
649 public:
650 wxPyVListBox() : wxVListBox() {}
651
652 wxPyVListBox(wxWindow *parent,
653 wxWindowID id = wxID_ANY,
654 const wxPoint& pos = wxDefaultPosition,
655 const wxSize& size = wxDefaultSize,
656 long style = 0,
657 const wxString& name = wxPyVListBoxNameStr)
658 : wxVListBox(parent, id, pos, size, style, name)
659 {}
660
661 // Overridable virtuals
662
663 // the derived class must implement this function to actually draw the item
664 // with the given index on the provided DC
665 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
666 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
667
668
669 // the derived class must implement this method to return the height of the
670 // specified item
671 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
672 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
673
674
675 // this method may be used to draw separators between the lines; note that
676 // the rectangle may be modified, typically to deflate it a bit before
677 // passing to OnDrawItem()
678 //
679 // the base class version doesn't do anything
680 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
681 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
682
683
684 // this method is used to draw the items background and, maybe, a border
685 // around it
686 //
687 // the base class version implements a reasonable default behaviour which
688 // consists in drawing the selected item with the standard background
689 // colour and drawing a border around the item if it is either selected or
690 // current
691 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
692 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
693
694
695 PYPRIVATE;
696 };
697
698 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
699
700 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
701 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
702 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
703 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
704
705
706
707 #include <wx/htmllbox.h>
708
709
710 class wxPyHtmlListBox : public wxHtmlListBox
711 {
712 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
713 public:
714 wxPyHtmlListBox() : wxHtmlListBox() {}
715
716 wxPyHtmlListBox(wxWindow *parent,
717 wxWindowID id = wxID_ANY,
718 const wxPoint& pos = wxDefaultPosition,
719 const wxSize& size = wxDefaultSize,
720 long style = 0,
721 const wxString& name = wxPyVListBoxNameStr)
722 : wxHtmlListBox(parent, id, pos, size, style, name)
723 {}
724
725 // Overridable virtuals
726
727 // this method must be implemented in the derived class and should return
728 // the body (i.e. without <html>) of the HTML for the given item
729 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
730
731 // this function may be overridden to decorate HTML returned by OnGetItem()
732 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
733
734 // TODO:
735 // // this method allows to customize the selection appearance: it may be used
736 // // to specify the colour of the text which normally has the given colour
737 // // colFg when it is inside the selection
738 // //
739 // // by default, the original colour is not used at all and all text has the
740 // // same (default for this system) colour inside selection
741 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
742
743 // // this is the same as GetSelectedTextColour() but allows to customize the
744 // // background colour -- this is even more rarely used as you can change it
745 // // globally using SetSelectionBackground()
746 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
747
748
749 PYPRIVATE;
750 };
751
752
753 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
754
755 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
756 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
757
758
759
760
761
762 #ifdef __WXMAC__
763 // implement dummy classes and such for wxMac
764
765 class wxTaskBarIcon : public wxEvtHandler
766 {
767 public:
768 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
769 };
770
771
772 class wxTaskBarIconEvent : public wxEvent
773 {
774 public:
775 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
776 { wxPyRaiseNotImplemented(); }
777 virtual wxEvent* Clone() const { return NULL; }
778 };
779
780 enum {
781 wxEVT_TASKBAR_MOVE = 0,
782 wxEVT_TASKBAR_LEFT_DOWN = 0,
783 wxEVT_TASKBAR_LEFT_UP = 0,
784 wxEVT_TASKBAR_RIGHT_DOWN = 0,
785 wxEVT_TASKBAR_RIGHT_UP = 0,
786 wxEVT_TASKBAR_LEFT_DCLICK = 0,
787 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
788 };
789 #endif
790
791 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
792 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
793 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
794 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
795 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
796 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
797 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
798 wxArrayString arr;
799 self->GetFilenames(arr);
800 return wxArrayString2PyList_helper(arr);
801 }
802 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
803 wxArrayString arr;
804 self->GetPaths(arr);
805 return wxArrayString2PyList_helper(arr);
806 }
807 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
808 return wxArrayInt2PyList_helper(self->GetSelections());
809 }
810 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
811 return new wxSingleChoiceDialog(parent, message, caption,
812 choices, choices_array, NULL, style, pos);
813 }
814
815 #include <wx/mdi.h>
816
817 // C++ version of Python aware wxWindow
818 class wxPyWindow : public wxWindow
819 {
820 DECLARE_DYNAMIC_CLASS(wxPyWindow)
821 public:
822 wxPyWindow() : wxWindow() {}
823 wxPyWindow(wxWindow* parent, const wxWindowID id,
824 const wxPoint& pos = wxDefaultPosition,
825 const wxSize& size = wxDefaultSize,
826 long style = 0,
827 const wxString& name = wxPyPanelNameStr)
828 : wxWindow(parent, id, pos, size, style, name) {}
829
830
831 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
832 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
833 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
834 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
835
836 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
837 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
838 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
839
840 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
841 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
842
843 DEC_PYCALLBACK__(InitDialog);
844 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
845 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
846 DEC_PYCALLBACK_BOOL_(Validate);
847
848 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
849 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
850 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
851
852 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
853 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
854
855 PYPRIVATE;
856 };
857
858 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
859
860 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
861 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
862 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
863 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
864
865 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
866 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
867 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
868
869 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
870 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
871
872 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
873 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
874 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
875 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
876
877 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
878 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
879 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
880
881 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
882 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
883
884
885 // C++ version of Python aware wxPanel
886 class wxPyPanel : public wxPanel
887 {
888 DECLARE_DYNAMIC_CLASS(wxPyPanel)
889 public:
890 wxPyPanel() : wxPanel() {}
891 wxPyPanel(wxWindow* parent, const wxWindowID id,
892 const wxPoint& pos = wxDefaultPosition,
893 const wxSize& size = wxDefaultSize,
894 long style = 0,
895 const wxString& name = wxPyPanelNameStr)
896 : wxPanel(parent, id, pos, size, style, name) {}
897
898
899 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
900 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
901 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
902 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
903
904 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
905 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
906 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
907
908 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
909 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
910
911 DEC_PYCALLBACK__(InitDialog);
912 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
913 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
914 DEC_PYCALLBACK_BOOL_(Validate);
915
916 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
917 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
918 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
919
920 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
921 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
922
923 PYPRIVATE;
924 };
925
926 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
927
928 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
929 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
930 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
931 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
932
933 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
934 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
935 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
936
937 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
938 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
939
940 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
941 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
942 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
943 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
944
945 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
946 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
947 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
948
949 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
950 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
951
952
953
954 #include "wx/wxPython/printfw.h"
955
956
957 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
958 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
959
960
961
962 // Since this one would be tough and ugly to do with the Macros...
963 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
964 bool hadErr = False;
965 bool found;
966
967 wxPyBeginBlockThreads();
968 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
969 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
970 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
971 PyObject* val;
972
973 val = PyTuple_GetItem(result, 0);
974 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
975 else hadErr = True;
976
977 val = PyTuple_GetItem(result, 1);
978 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
979 else hadErr = True;
980
981 val = PyTuple_GetItem(result, 2);
982 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
983 else hadErr = True;
984
985 val = PyTuple_GetItem(result, 3);
986 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
987 else hadErr = True;
988 }
989 else
990 hadErr = True;
991
992 if (hadErr) {
993 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
994 PyErr_Print();
995 }
996 Py_DECREF(result);
997 }
998 wxPyEndBlockThreads();
999 if (! found)
1000 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1001 }
1002
1003 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1004 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1005 }
1006
1007
1008 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1009 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1010 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1011 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1012 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1013 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1014 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1015
1016
1017
1018
1019
1020 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1021 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1022 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1023
1024
1025 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1026 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1027 bool rval=False; \
1028 bool found; \
1029 wxPyBeginBlockThreads(); \
1030 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1031 PyObject* win = wxPyMake_wxObject(a); \
1032 PyObject* dc = wxPyMake_wxObject(&b); \
1033 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1034 Py_DECREF(win); \
1035 Py_DECREF(dc); \
1036 } \
1037 wxPyEndBlockThreads(); \
1038 if (! found) \
1039 rval = PCLASS::CBNAME(a, b); \
1040 return rval; \
1041 } \
1042 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1043 return PCLASS::CBNAME(a, b); \
1044 }
1045
1046
1047
1048
1049 class wxPyPrintPreview : public wxPrintPreview
1050 {
1051 DECLARE_CLASS(wxPyPrintPreview)
1052 public:
1053 wxPyPrintPreview(wxPyPrintout* printout,
1054 wxPyPrintout* printoutForPrinting,
1055 wxPrintData* data=NULL)
1056 : wxPrintPreview(printout, printoutForPrinting, data)
1057 {}
1058
1059 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1060 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1061 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1062 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1063 DEC_PYCALLBACK_VOID_INT(SetZoom);
1064 DEC_PYCALLBACK_BOOL_BOOL(Print);
1065 DEC_PYCALLBACK_VOID_(DetermineScaling);
1066
1067 PYPRIVATE;
1068 };
1069
1070 // Stupid renamed classes... Fix this in 2.5...
1071 #if defined(__WXMSW__)
1072 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1073 #elif defined(__WXMAC__)
1074 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1075 #else
1076 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1077 #endif
1078
1079 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1080 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1081 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1082 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1083 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1084 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1085 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1086
1087
1088 class wxPyPreviewFrame : public wxPreviewFrame
1089 {
1090 DECLARE_CLASS(wxPyPreviewFrame);
1091 public:
1092 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1093 const wxString& title,
1094 const wxPoint& pos = wxDefaultPosition,
1095 const wxSize& size = wxDefaultSize,
1096 long style = wxDEFAULT_FRAME_STYLE,
1097 const wxString& name = wxPyFrameNameStr)
1098 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1099 {}
1100
1101 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1102 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1103
1104 DEC_PYCALLBACK_VOID_(Initialize);
1105 DEC_PYCALLBACK_VOID_(CreateCanvas);
1106 DEC_PYCALLBACK_VOID_(CreateControlBar);
1107
1108 PYPRIVATE;
1109 };
1110
1111 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1112
1113 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1114 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1115 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1116
1117
1118 class wxPyPreviewControlBar : public wxPreviewControlBar
1119 {
1120 DECLARE_CLASS(wxPyPreviewControlBar);
1121 public:
1122 wxPyPreviewControlBar(wxPrintPreview *preview,
1123 long buttons,
1124 wxWindow *parent,
1125 const wxPoint& pos = wxDefaultPosition,
1126 const wxSize& size = wxDefaultSize,
1127 long style = 0,
1128 const wxString& name = wxPyPanelNameStr)
1129 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1130 {}
1131
1132 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1133
1134 DEC_PYCALLBACK_VOID_(CreateButtons);
1135 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1136
1137 PYPRIVATE;
1138 };
1139
1140 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1141 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1142 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1143
1144 #ifdef __cplusplus
1145 extern "C" {
1146 #endif
1147 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1148 PyObject *resultobj;
1149 wxWindow *arg1 = (wxWindow *) 0 ;
1150 int arg2 = (int) (int)-1 ;
1151 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1152 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1153 wxSize const &arg4_defvalue = wxDefaultSize ;
1154 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1155 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1156 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1157 wxString *arg6 = (wxString *) &arg6_defvalue ;
1158 wxPanel *result;
1159 wxPoint temp3 ;
1160 wxSize temp4 ;
1161 bool temp6 = False ;
1162 PyObject * obj0 = 0 ;
1163 PyObject * obj2 = 0 ;
1164 PyObject * obj3 = 0 ;
1165 PyObject * obj5 = 0 ;
1166 char *kwnames[] = {
1167 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1168 };
1169
1170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1172 if (obj2) {
1173 {
1174 arg3 = &temp3;
1175 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1176 }
1177 }
1178 if (obj3) {
1179 {
1180 arg4 = &temp4;
1181 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1182 }
1183 }
1184 if (obj5) {
1185 {
1186 arg6 = wxString_in_helper(obj5);
1187 if (arg6 == NULL) SWIG_fail;
1188 temp6 = True;
1189 }
1190 }
1191 {
1192 PyThreadState* __tstate = wxPyBeginAllowThreads();
1193 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1194
1195 wxPyEndAllowThreads(__tstate);
1196 if (PyErr_Occurred()) SWIG_fail;
1197 }
1198 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1199 {
1200 if (temp6)
1201 delete arg6;
1202 }
1203 return resultobj;
1204 fail:
1205 {
1206 if (temp6)
1207 delete arg6;
1208 }
1209 return NULL;
1210 }
1211
1212
1213 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1214 PyObject *resultobj;
1215 wxPanel *result;
1216 char *kwnames[] = {
1217 NULL
1218 };
1219
1220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1221 {
1222 PyThreadState* __tstate = wxPyBeginAllowThreads();
1223 result = (wxPanel *)new wxPanel();
1224
1225 wxPyEndAllowThreads(__tstate);
1226 if (PyErr_Occurred()) SWIG_fail;
1227 }
1228 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1229 return resultobj;
1230 fail:
1231 return NULL;
1232 }
1233
1234
1235 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1236 PyObject *resultobj;
1237 wxPanel *arg1 = (wxPanel *) 0 ;
1238 wxWindow *arg2 = (wxWindow *) 0 ;
1239 int arg3 ;
1240 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1241 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1242 wxSize const &arg5_defvalue = wxDefaultSize ;
1243 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1244 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1245 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1246 wxString *arg7 = (wxString *) &arg7_defvalue ;
1247 bool result;
1248 wxPoint temp4 ;
1249 wxSize temp5 ;
1250 bool temp7 = False ;
1251 PyObject * obj0 = 0 ;
1252 PyObject * obj1 = 0 ;
1253 PyObject * obj3 = 0 ;
1254 PyObject * obj4 = 0 ;
1255 PyObject * obj6 = 0 ;
1256 char *kwnames[] = {
1257 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1258 };
1259
1260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1263 if (obj3) {
1264 {
1265 arg4 = &temp4;
1266 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1267 }
1268 }
1269 if (obj4) {
1270 {
1271 arg5 = &temp5;
1272 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1273 }
1274 }
1275 if (obj6) {
1276 {
1277 arg7 = wxString_in_helper(obj6);
1278 if (arg7 == NULL) SWIG_fail;
1279 temp7 = True;
1280 }
1281 }
1282 {
1283 PyThreadState* __tstate = wxPyBeginAllowThreads();
1284 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1285
1286 wxPyEndAllowThreads(__tstate);
1287 if (PyErr_Occurred()) SWIG_fail;
1288 }
1289 resultobj = PyInt_FromLong((long)result);
1290 {
1291 if (temp7)
1292 delete arg7;
1293 }
1294 return resultobj;
1295 fail:
1296 {
1297 if (temp7)
1298 delete arg7;
1299 }
1300 return NULL;
1301 }
1302
1303
1304 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1305 PyObject *resultobj;
1306 wxPanel *arg1 = (wxPanel *) 0 ;
1307 PyObject * obj0 = 0 ;
1308 char *kwnames[] = {
1309 (char *) "self", NULL
1310 };
1311
1312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1314 {
1315 PyThreadState* __tstate = wxPyBeginAllowThreads();
1316 (arg1)->InitDialog();
1317
1318 wxPyEndAllowThreads(__tstate);
1319 if (PyErr_Occurred()) SWIG_fail;
1320 }
1321 Py_INCREF(Py_None); resultobj = Py_None;
1322 return resultobj;
1323 fail:
1324 return NULL;
1325 }
1326
1327
1328 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1329 PyObject *obj;
1330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1331 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1332 Py_INCREF(obj);
1333 return Py_BuildValue((char *)"");
1334 }
1335 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1336 PyObject *resultobj;
1337 wxWindow *arg1 = (wxWindow *) 0 ;
1338 int arg2 = (int) (int)-1 ;
1339 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1340 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1341 wxSize const &arg4_defvalue = wxDefaultSize ;
1342 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1343 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1344 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1345 wxString *arg6 = (wxString *) &arg6_defvalue ;
1346 wxScrolledWindow *result;
1347 wxPoint temp3 ;
1348 wxSize temp4 ;
1349 bool temp6 = False ;
1350 PyObject * obj0 = 0 ;
1351 PyObject * obj2 = 0 ;
1352 PyObject * obj3 = 0 ;
1353 PyObject * obj5 = 0 ;
1354 char *kwnames[] = {
1355 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1356 };
1357
1358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1360 if (obj2) {
1361 {
1362 arg3 = &temp3;
1363 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1364 }
1365 }
1366 if (obj3) {
1367 {
1368 arg4 = &temp4;
1369 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1370 }
1371 }
1372 if (obj5) {
1373 {
1374 arg6 = wxString_in_helper(obj5);
1375 if (arg6 == NULL) SWIG_fail;
1376 temp6 = True;
1377 }
1378 }
1379 {
1380 PyThreadState* __tstate = wxPyBeginAllowThreads();
1381 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1382
1383 wxPyEndAllowThreads(__tstate);
1384 if (PyErr_Occurred()) SWIG_fail;
1385 }
1386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1387 {
1388 if (temp6)
1389 delete arg6;
1390 }
1391 return resultobj;
1392 fail:
1393 {
1394 if (temp6)
1395 delete arg6;
1396 }
1397 return NULL;
1398 }
1399
1400
1401 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1402 PyObject *resultobj;
1403 wxScrolledWindow *result;
1404 char *kwnames[] = {
1405 NULL
1406 };
1407
1408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1409 {
1410 PyThreadState* __tstate = wxPyBeginAllowThreads();
1411 result = (wxScrolledWindow *)new wxScrolledWindow();
1412
1413 wxPyEndAllowThreads(__tstate);
1414 if (PyErr_Occurred()) SWIG_fail;
1415 }
1416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1417 return resultobj;
1418 fail:
1419 return NULL;
1420 }
1421
1422
1423 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1424 PyObject *resultobj;
1425 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1426 wxWindow *arg2 = (wxWindow *) 0 ;
1427 int arg3 = (int) (int)-1 ;
1428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1430 wxSize const &arg5_defvalue = wxDefaultSize ;
1431 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1432 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1433 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1434 wxString *arg7 = (wxString *) &arg7_defvalue ;
1435 bool result;
1436 wxPoint temp4 ;
1437 wxSize temp5 ;
1438 bool temp7 = False ;
1439 PyObject * obj0 = 0 ;
1440 PyObject * obj1 = 0 ;
1441 PyObject * obj3 = 0 ;
1442 PyObject * obj4 = 0 ;
1443 PyObject * obj6 = 0 ;
1444 char *kwnames[] = {
1445 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1446 };
1447
1448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1451 if (obj3) {
1452 {
1453 arg4 = &temp4;
1454 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1455 }
1456 }
1457 if (obj4) {
1458 {
1459 arg5 = &temp5;
1460 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1461 }
1462 }
1463 if (obj6) {
1464 {
1465 arg7 = wxString_in_helper(obj6);
1466 if (arg7 == NULL) SWIG_fail;
1467 temp7 = True;
1468 }
1469 }
1470 {
1471 PyThreadState* __tstate = wxPyBeginAllowThreads();
1472 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1473
1474 wxPyEndAllowThreads(__tstate);
1475 if (PyErr_Occurred()) SWIG_fail;
1476 }
1477 resultobj = PyInt_FromLong((long)result);
1478 {
1479 if (temp7)
1480 delete arg7;
1481 }
1482 return resultobj;
1483 fail:
1484 {
1485 if (temp7)
1486 delete arg7;
1487 }
1488 return NULL;
1489 }
1490
1491
1492 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1493 PyObject *resultobj;
1494 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1495 int arg2 ;
1496 int arg3 ;
1497 int arg4 ;
1498 int arg5 ;
1499 int arg6 = (int) 0 ;
1500 int arg7 = (int) 0 ;
1501 bool arg8 = (bool) False ;
1502 PyObject * obj0 = 0 ;
1503 PyObject * obj7 = 0 ;
1504 char *kwnames[] = {
1505 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1506 };
1507
1508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1510 if (obj7) {
1511 {
1512 arg8 = (bool) SPyObj_AsBool(obj7);
1513 if (PyErr_Occurred()) SWIG_fail;
1514 }
1515 }
1516 {
1517 PyThreadState* __tstate = wxPyBeginAllowThreads();
1518 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1519
1520 wxPyEndAllowThreads(__tstate);
1521 if (PyErr_Occurred()) SWIG_fail;
1522 }
1523 Py_INCREF(Py_None); resultobj = Py_None;
1524 return resultobj;
1525 fail:
1526 return NULL;
1527 }
1528
1529
1530 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1531 PyObject *resultobj;
1532 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1533 int arg2 ;
1534 int arg3 ;
1535 PyObject * obj0 = 0 ;
1536 char *kwnames[] = {
1537 (char *) "self",(char *) "x",(char *) "y", NULL
1538 };
1539
1540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1542 {
1543 PyThreadState* __tstate = wxPyBeginAllowThreads();
1544 (arg1)->Scroll(arg2,arg3);
1545
1546 wxPyEndAllowThreads(__tstate);
1547 if (PyErr_Occurred()) SWIG_fail;
1548 }
1549 Py_INCREF(Py_None); resultobj = Py_None;
1550 return resultobj;
1551 fail:
1552 return NULL;
1553 }
1554
1555
1556 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1557 PyObject *resultobj;
1558 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1559 int arg2 ;
1560 int result;
1561 PyObject * obj0 = 0 ;
1562 char *kwnames[] = {
1563 (char *) "self",(char *) "orient", NULL
1564 };
1565
1566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1568 {
1569 PyThreadState* __tstate = wxPyBeginAllowThreads();
1570 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1571
1572 wxPyEndAllowThreads(__tstate);
1573 if (PyErr_Occurred()) SWIG_fail;
1574 }
1575 resultobj = PyInt_FromLong((long)result);
1576 return resultobj;
1577 fail:
1578 return NULL;
1579 }
1580
1581
1582 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1583 PyObject *resultobj;
1584 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1585 int arg2 ;
1586 int arg3 ;
1587 PyObject * obj0 = 0 ;
1588 char *kwnames[] = {
1589 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1590 };
1591
1592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1594 {
1595 PyThreadState* __tstate = wxPyBeginAllowThreads();
1596 (arg1)->SetScrollPageSize(arg2,arg3);
1597
1598 wxPyEndAllowThreads(__tstate);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 }
1601 Py_INCREF(Py_None); resultobj = Py_None;
1602 return resultobj;
1603 fail:
1604 return NULL;
1605 }
1606
1607
1608 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1609 PyObject *resultobj;
1610 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1611 int arg2 ;
1612 int arg3 ;
1613 PyObject * obj0 = 0 ;
1614 char *kwnames[] = {
1615 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1616 };
1617
1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1620 {
1621 PyThreadState* __tstate = wxPyBeginAllowThreads();
1622 (arg1)->SetScrollRate(arg2,arg3);
1623
1624 wxPyEndAllowThreads(__tstate);
1625 if (PyErr_Occurred()) SWIG_fail;
1626 }
1627 Py_INCREF(Py_None); resultobj = Py_None;
1628 return resultobj;
1629 fail:
1630 return NULL;
1631 }
1632
1633
1634 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1635 PyObject *resultobj;
1636 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1637 int *arg2 = (int *) 0 ;
1638 int *arg3 = (int *) 0 ;
1639 int temp2 ;
1640 int temp3 ;
1641 PyObject * obj0 = 0 ;
1642 char *kwnames[] = {
1643 (char *) "self", NULL
1644 };
1645
1646 arg2 = &temp2;
1647 arg3 = &temp3;
1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1650 {
1651 PyThreadState* __tstate = wxPyBeginAllowThreads();
1652 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1653
1654 wxPyEndAllowThreads(__tstate);
1655 if (PyErr_Occurred()) SWIG_fail;
1656 }
1657 Py_INCREF(Py_None); resultobj = Py_None;
1658 {
1659 PyObject *o = PyInt_FromLong((long) (*arg2));
1660 resultobj = t_output_helper(resultobj,o);
1661 }
1662 {
1663 PyObject *o = PyInt_FromLong((long) (*arg3));
1664 resultobj = t_output_helper(resultobj,o);
1665 }
1666 return resultobj;
1667 fail:
1668 return NULL;
1669 }
1670
1671
1672 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1673 PyObject *resultobj;
1674 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1675 bool arg2 ;
1676 bool arg3 ;
1677 PyObject * obj0 = 0 ;
1678 PyObject * obj1 = 0 ;
1679 PyObject * obj2 = 0 ;
1680 char *kwnames[] = {
1681 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1682 };
1683
1684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1686 {
1687 arg2 = (bool) SPyObj_AsBool(obj1);
1688 if (PyErr_Occurred()) SWIG_fail;
1689 }
1690 {
1691 arg3 = (bool) SPyObj_AsBool(obj2);
1692 if (PyErr_Occurred()) SWIG_fail;
1693 }
1694 {
1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
1696 (arg1)->EnableScrolling(arg2,arg3);
1697
1698 wxPyEndAllowThreads(__tstate);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 }
1701 Py_INCREF(Py_None); resultobj = Py_None;
1702 return resultobj;
1703 fail:
1704 return NULL;
1705 }
1706
1707
1708 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1709 PyObject *resultobj;
1710 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1711 int *arg2 = (int *) 0 ;
1712 int *arg3 = (int *) 0 ;
1713 int temp2 ;
1714 int temp3 ;
1715 PyObject * obj0 = 0 ;
1716 char *kwnames[] = {
1717 (char *) "self", NULL
1718 };
1719
1720 arg2 = &temp2;
1721 arg3 = &temp3;
1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1724 {
1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
1726 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1727
1728 wxPyEndAllowThreads(__tstate);
1729 if (PyErr_Occurred()) SWIG_fail;
1730 }
1731 Py_INCREF(Py_None); resultobj = Py_None;
1732 {
1733 PyObject *o = PyInt_FromLong((long) (*arg2));
1734 resultobj = t_output_helper(resultobj,o);
1735 }
1736 {
1737 PyObject *o = PyInt_FromLong((long) (*arg3));
1738 resultobj = t_output_helper(resultobj,o);
1739 }
1740 return resultobj;
1741 fail:
1742 return NULL;
1743 }
1744
1745
1746 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1747 PyObject *resultobj;
1748 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1749 double arg2 ;
1750 double arg3 ;
1751 PyObject * obj0 = 0 ;
1752 char *kwnames[] = {
1753 (char *) "self",(char *) "xs",(char *) "ys", NULL
1754 };
1755
1756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1758 {
1759 PyThreadState* __tstate = wxPyBeginAllowThreads();
1760 (arg1)->SetScale(arg2,arg3);
1761
1762 wxPyEndAllowThreads(__tstate);
1763 if (PyErr_Occurred()) SWIG_fail;
1764 }
1765 Py_INCREF(Py_None); resultobj = Py_None;
1766 return resultobj;
1767 fail:
1768 return NULL;
1769 }
1770
1771
1772 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1773 PyObject *resultobj;
1774 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1775 double result;
1776 PyObject * obj0 = 0 ;
1777 char *kwnames[] = {
1778 (char *) "self", NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1783 {
1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
1785 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1786
1787 wxPyEndAllowThreads(__tstate);
1788 if (PyErr_Occurred()) SWIG_fail;
1789 }
1790 resultobj = PyFloat_FromDouble(result);
1791 return resultobj;
1792 fail:
1793 return NULL;
1794 }
1795
1796
1797 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject *resultobj;
1799 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1800 double result;
1801 PyObject * obj0 = 0 ;
1802 char *kwnames[] = {
1803 (char *) "self", NULL
1804 };
1805
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 resultobj = PyFloat_FromDouble(result);
1816 return resultobj;
1817 fail:
1818 return NULL;
1819 }
1820
1821
1822 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1823 PyObject *resultobj;
1824 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1825 wxPoint *arg2 = 0 ;
1826 wxPoint result;
1827 wxPoint temp2 ;
1828 PyObject * obj0 = 0 ;
1829 PyObject * obj1 = 0 ;
1830
1831 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1833 {
1834 arg2 = &temp2;
1835 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1836 }
1837 {
1838 PyThreadState* __tstate = wxPyBeginAllowThreads();
1839 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1840
1841 wxPyEndAllowThreads(__tstate);
1842 if (PyErr_Occurred()) SWIG_fail;
1843 }
1844 {
1845 wxPoint * resultptr;
1846 resultptr = new wxPoint((wxPoint &) result);
1847 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1848 }
1849 return resultobj;
1850 fail:
1851 return NULL;
1852 }
1853
1854
1855 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1856 PyObject *resultobj;
1857 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1858 int arg2 ;
1859 int arg3 ;
1860 int *arg4 = (int *) 0 ;
1861 int *arg5 = (int *) 0 ;
1862 int temp4 ;
1863 int temp5 ;
1864 PyObject * obj0 = 0 ;
1865
1866 arg4 = &temp4;
1867 arg5 = &temp5;
1868 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1870 {
1871 PyThreadState* __tstate = wxPyBeginAllowThreads();
1872 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1873
1874 wxPyEndAllowThreads(__tstate);
1875 if (PyErr_Occurred()) SWIG_fail;
1876 }
1877 Py_INCREF(Py_None); resultobj = Py_None;
1878 {
1879 PyObject *o = PyInt_FromLong((long) (*arg4));
1880 resultobj = t_output_helper(resultobj,o);
1881 }
1882 {
1883 PyObject *o = PyInt_FromLong((long) (*arg5));
1884 resultobj = t_output_helper(resultobj,o);
1885 }
1886 return resultobj;
1887 fail:
1888 return NULL;
1889 }
1890
1891
1892 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1893 int argc;
1894 PyObject *argv[4];
1895 int ii;
1896
1897 argc = PyObject_Length(args);
1898 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1899 argv[ii] = PyTuple_GetItem(args,ii);
1900 }
1901 if (argc == 2) {
1902 int _v;
1903 {
1904 void *ptr;
1905 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1906 _v = 0;
1907 PyErr_Clear();
1908 } else {
1909 _v = 1;
1910 }
1911 }
1912 if (_v) {
1913 {
1914 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1915 }
1916 if (_v) {
1917 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1918 }
1919 }
1920 }
1921 if (argc == 3) {
1922 int _v;
1923 {
1924 void *ptr;
1925 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1926 _v = 0;
1927 PyErr_Clear();
1928 } else {
1929 _v = 1;
1930 }
1931 }
1932 if (_v) {
1933 {
1934 SPyObj_AsInt(argv[1]);
1935 if (PyErr_Occurred()) {
1936 _v = 0;
1937 PyErr_Clear();
1938 } else {
1939 _v = 1;
1940 }
1941 }
1942 if (_v) {
1943 {
1944 SPyObj_AsInt(argv[2]);
1945 if (PyErr_Occurred()) {
1946 _v = 0;
1947 PyErr_Clear();
1948 } else {
1949 _v = 1;
1950 }
1951 }
1952 if (_v) {
1953 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1954 }
1955 }
1956 }
1957 }
1958
1959 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1960 return NULL;
1961 }
1962
1963
1964 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1965 PyObject *resultobj;
1966 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1967 wxPoint *arg2 = 0 ;
1968 wxPoint result;
1969 wxPoint temp2 ;
1970 PyObject * obj0 = 0 ;
1971 PyObject * obj1 = 0 ;
1972
1973 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1975 {
1976 arg2 = &temp2;
1977 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1978 }
1979 {
1980 PyThreadState* __tstate = wxPyBeginAllowThreads();
1981 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1982
1983 wxPyEndAllowThreads(__tstate);
1984 if (PyErr_Occurred()) SWIG_fail;
1985 }
1986 {
1987 wxPoint * resultptr;
1988 resultptr = new wxPoint((wxPoint &) result);
1989 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1990 }
1991 return resultobj;
1992 fail:
1993 return NULL;
1994 }
1995
1996
1997 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1998 PyObject *resultobj;
1999 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2000 int arg2 ;
2001 int arg3 ;
2002 int *arg4 = (int *) 0 ;
2003 int *arg5 = (int *) 0 ;
2004 int temp4 ;
2005 int temp5 ;
2006 PyObject * obj0 = 0 ;
2007
2008 arg4 = &temp4;
2009 arg5 = &temp5;
2010 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
2011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2012 {
2013 PyThreadState* __tstate = wxPyBeginAllowThreads();
2014 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2015
2016 wxPyEndAllowThreads(__tstate);
2017 if (PyErr_Occurred()) SWIG_fail;
2018 }
2019 Py_INCREF(Py_None); resultobj = Py_None;
2020 {
2021 PyObject *o = PyInt_FromLong((long) (*arg4));
2022 resultobj = t_output_helper(resultobj,o);
2023 }
2024 {
2025 PyObject *o = PyInt_FromLong((long) (*arg5));
2026 resultobj = t_output_helper(resultobj,o);
2027 }
2028 return resultobj;
2029 fail:
2030 return NULL;
2031 }
2032
2033
2034 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2035 int argc;
2036 PyObject *argv[4];
2037 int ii;
2038
2039 argc = PyObject_Length(args);
2040 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2041 argv[ii] = PyTuple_GetItem(args,ii);
2042 }
2043 if (argc == 2) {
2044 int _v;
2045 {
2046 void *ptr;
2047 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2048 _v = 0;
2049 PyErr_Clear();
2050 } else {
2051 _v = 1;
2052 }
2053 }
2054 if (_v) {
2055 {
2056 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2057 }
2058 if (_v) {
2059 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2060 }
2061 }
2062 }
2063 if (argc == 3) {
2064 int _v;
2065 {
2066 void *ptr;
2067 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2068 _v = 0;
2069 PyErr_Clear();
2070 } else {
2071 _v = 1;
2072 }
2073 }
2074 if (_v) {
2075 {
2076 SPyObj_AsInt(argv[1]);
2077 if (PyErr_Occurred()) {
2078 _v = 0;
2079 PyErr_Clear();
2080 } else {
2081 _v = 1;
2082 }
2083 }
2084 if (_v) {
2085 {
2086 SPyObj_AsInt(argv[2]);
2087 if (PyErr_Occurred()) {
2088 _v = 0;
2089 PyErr_Clear();
2090 } else {
2091 _v = 1;
2092 }
2093 }
2094 if (_v) {
2095 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2096 }
2097 }
2098 }
2099 }
2100
2101 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2102 return NULL;
2103 }
2104
2105
2106 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2107 PyObject *resultobj;
2108 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2109 PyObject * obj0 = 0 ;
2110 char *kwnames[] = {
2111 (char *) "self", NULL
2112 };
2113
2114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 (arg1)->AdjustScrollbars();
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 Py_INCREF(Py_None); resultobj = Py_None;
2124 return resultobj;
2125 fail:
2126 return NULL;
2127 }
2128
2129
2130 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2131 PyObject *resultobj;
2132 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2133 wxScrollWinEvent *arg2 = 0 ;
2134 int result;
2135 PyObject * obj0 = 0 ;
2136 PyObject * obj1 = 0 ;
2137 char *kwnames[] = {
2138 (char *) "self",(char *) "event", NULL
2139 };
2140
2141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2144 if (arg2 == NULL) {
2145 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2146 }
2147 {
2148 PyThreadState* __tstate = wxPyBeginAllowThreads();
2149 result = (int)(arg1)->CalcScrollInc(*arg2);
2150
2151 wxPyEndAllowThreads(__tstate);
2152 if (PyErr_Occurred()) SWIG_fail;
2153 }
2154 resultobj = PyInt_FromLong((long)result);
2155 return resultobj;
2156 fail:
2157 return NULL;
2158 }
2159
2160
2161 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2162 PyObject *resultobj;
2163 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2164 wxWindow *arg2 = (wxWindow *) 0 ;
2165 PyObject * obj0 = 0 ;
2166 PyObject * obj1 = 0 ;
2167 char *kwnames[] = {
2168 (char *) "self",(char *) "target", NULL
2169 };
2170
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2174 {
2175 PyThreadState* __tstate = wxPyBeginAllowThreads();
2176 (arg1)->SetTargetWindow(arg2);
2177
2178 wxPyEndAllowThreads(__tstate);
2179 if (PyErr_Occurred()) SWIG_fail;
2180 }
2181 Py_INCREF(Py_None); resultobj = Py_None;
2182 return resultobj;
2183 fail:
2184 return NULL;
2185 }
2186
2187
2188 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2189 PyObject *resultobj;
2190 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2191 wxWindow *result;
2192 PyObject * obj0 = 0 ;
2193 char *kwnames[] = {
2194 (char *) "self", NULL
2195 };
2196
2197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
2206 {
2207 resultobj = wxPyMake_wxObject(result);
2208 }
2209 return resultobj;
2210 fail:
2211 return NULL;
2212 }
2213
2214
2215 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2216 PyObject *obj;
2217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2218 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2219 Py_INCREF(obj);
2220 return Py_BuildValue((char *)"");
2221 }
2222 static int _wrap_FrameNameStr_set(PyObject *_val) {
2223 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2224 return 1;
2225 }
2226
2227
2228 static PyObject *_wrap_FrameNameStr_get() {
2229 PyObject *pyobj;
2230
2231 {
2232 #if wxUSE_UNICODE
2233 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2234 #else
2235 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2236 #endif
2237 }
2238 return pyobj;
2239 }
2240
2241
2242 static int _wrap_DialogNameStr_set(PyObject *_val) {
2243 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2244 return 1;
2245 }
2246
2247
2248 static PyObject *_wrap_DialogNameStr_get() {
2249 PyObject *pyobj;
2250
2251 {
2252 #if wxUSE_UNICODE
2253 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2254 #else
2255 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2256 #endif
2257 }
2258 return pyobj;
2259 }
2260
2261
2262 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2263 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2264 return 1;
2265 }
2266
2267
2268 static PyObject *_wrap_StatusLineNameStr_get() {
2269 PyObject *pyobj;
2270
2271 {
2272 #if wxUSE_UNICODE
2273 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2274 #else
2275 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2276 #endif
2277 }
2278 return pyobj;
2279 }
2280
2281
2282 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2283 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2284 return 1;
2285 }
2286
2287
2288 static PyObject *_wrap_ToolBarNameStr_get() {
2289 PyObject *pyobj;
2290
2291 {
2292 #if wxUSE_UNICODE
2293 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2294 #else
2295 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2296 #endif
2297 }
2298 return pyobj;
2299 }
2300
2301
2302 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2303 PyObject *resultobj;
2304 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2305 bool arg2 = (bool) True ;
2306 PyObject * obj0 = 0 ;
2307 PyObject * obj1 = 0 ;
2308 char *kwnames[] = {
2309 (char *) "self",(char *) "maximize", NULL
2310 };
2311
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2314 if (obj1) {
2315 {
2316 arg2 = (bool) SPyObj_AsBool(obj1);
2317 if (PyErr_Occurred()) SWIG_fail;
2318 }
2319 }
2320 {
2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
2322 (arg1)->Maximize(arg2);
2323
2324 wxPyEndAllowThreads(__tstate);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 }
2327 Py_INCREF(Py_None); resultobj = Py_None;
2328 return resultobj;
2329 fail:
2330 return NULL;
2331 }
2332
2333
2334 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2335 PyObject *resultobj;
2336 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2337 PyObject * obj0 = 0 ;
2338 char *kwnames[] = {
2339 (char *) "self", NULL
2340 };
2341
2342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2344 {
2345 PyThreadState* __tstate = wxPyBeginAllowThreads();
2346 (arg1)->Restore();
2347
2348 wxPyEndAllowThreads(__tstate);
2349 if (PyErr_Occurred()) SWIG_fail;
2350 }
2351 Py_INCREF(Py_None); resultobj = Py_None;
2352 return resultobj;
2353 fail:
2354 return NULL;
2355 }
2356
2357
2358 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2359 PyObject *resultobj;
2360 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2361 bool arg2 = (bool) True ;
2362 PyObject * obj0 = 0 ;
2363 PyObject * obj1 = 0 ;
2364 char *kwnames[] = {
2365 (char *) "self",(char *) "iconize", NULL
2366 };
2367
2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2370 if (obj1) {
2371 {
2372 arg2 = (bool) SPyObj_AsBool(obj1);
2373 if (PyErr_Occurred()) SWIG_fail;
2374 }
2375 }
2376 {
2377 PyThreadState* __tstate = wxPyBeginAllowThreads();
2378 (arg1)->Iconize(arg2);
2379
2380 wxPyEndAllowThreads(__tstate);
2381 if (PyErr_Occurred()) SWIG_fail;
2382 }
2383 Py_INCREF(Py_None); resultobj = Py_None;
2384 return resultobj;
2385 fail:
2386 return NULL;
2387 }
2388
2389
2390 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2391 PyObject *resultobj;
2392 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2393 bool result;
2394 PyObject * obj0 = 0 ;
2395 char *kwnames[] = {
2396 (char *) "self", NULL
2397 };
2398
2399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2401 {
2402 PyThreadState* __tstate = wxPyBeginAllowThreads();
2403 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2404
2405 wxPyEndAllowThreads(__tstate);
2406 if (PyErr_Occurred()) SWIG_fail;
2407 }
2408 resultobj = PyInt_FromLong((long)result);
2409 return resultobj;
2410 fail:
2411 return NULL;
2412 }
2413
2414
2415 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2416 PyObject *resultobj;
2417 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2418 bool result;
2419 PyObject * obj0 = 0 ;
2420 char *kwnames[] = {
2421 (char *) "self", NULL
2422 };
2423
2424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2426 {
2427 PyThreadState* __tstate = wxPyBeginAllowThreads();
2428 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2429
2430 wxPyEndAllowThreads(__tstate);
2431 if (PyErr_Occurred()) SWIG_fail;
2432 }
2433 resultobj = PyInt_FromLong((long)result);
2434 return resultobj;
2435 fail:
2436 return NULL;
2437 }
2438
2439
2440 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2441 PyObject *resultobj;
2442 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2443 wxIcon result;
2444 PyObject * obj0 = 0 ;
2445 char *kwnames[] = {
2446 (char *) "self", NULL
2447 };
2448
2449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2451 {
2452 PyThreadState* __tstate = wxPyBeginAllowThreads();
2453 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2454
2455 wxPyEndAllowThreads(__tstate);
2456 if (PyErr_Occurred()) SWIG_fail;
2457 }
2458 {
2459 wxIcon * resultptr;
2460 resultptr = new wxIcon((wxIcon &) result);
2461 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2462 }
2463 return resultobj;
2464 fail:
2465 return NULL;
2466 }
2467
2468
2469 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject *resultobj;
2471 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2472 wxIcon *arg2 = 0 ;
2473 PyObject * obj0 = 0 ;
2474 PyObject * obj1 = 0 ;
2475 char *kwnames[] = {
2476 (char *) "self",(char *) "icon", NULL
2477 };
2478
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2482 if (arg2 == NULL) {
2483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2484 }
2485 {
2486 PyThreadState* __tstate = wxPyBeginAllowThreads();
2487 (arg1)->SetIcon((wxIcon const &)*arg2);
2488
2489 wxPyEndAllowThreads(__tstate);
2490 if (PyErr_Occurred()) SWIG_fail;
2491 }
2492 Py_INCREF(Py_None); resultobj = Py_None;
2493 return resultobj;
2494 fail:
2495 return NULL;
2496 }
2497
2498
2499 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2500 PyObject *resultobj;
2501 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2502 wxIconBundle *arg2 = 0 ;
2503 PyObject * obj0 = 0 ;
2504 PyObject * obj1 = 0 ;
2505 char *kwnames[] = {
2506 (char *) "self",(char *) "icons", NULL
2507 };
2508
2509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2512 if (arg2 == NULL) {
2513 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2514 }
2515 {
2516 PyThreadState* __tstate = wxPyBeginAllowThreads();
2517 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2518
2519 wxPyEndAllowThreads(__tstate);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 }
2522 Py_INCREF(Py_None); resultobj = Py_None;
2523 return resultobj;
2524 fail:
2525 return NULL;
2526 }
2527
2528
2529 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2530 PyObject *resultobj;
2531 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2532 bool arg2 ;
2533 long arg3 = (long) wxFULLSCREEN_ALL ;
2534 bool result;
2535 PyObject * obj0 = 0 ;
2536 PyObject * obj1 = 0 ;
2537 char *kwnames[] = {
2538 (char *) "self",(char *) "show",(char *) "style", NULL
2539 };
2540
2541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2543 {
2544 arg2 = (bool) SPyObj_AsBool(obj1);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 {
2548 PyThreadState* __tstate = wxPyBeginAllowThreads();
2549 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2550
2551 wxPyEndAllowThreads(__tstate);
2552 if (PyErr_Occurred()) SWIG_fail;
2553 }
2554 resultobj = PyInt_FromLong((long)result);
2555 return resultobj;
2556 fail:
2557 return NULL;
2558 }
2559
2560
2561 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2562 PyObject *resultobj;
2563 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2564 bool result;
2565 PyObject * obj0 = 0 ;
2566 char *kwnames[] = {
2567 (char *) "self", NULL
2568 };
2569
2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2572 {
2573 PyThreadState* __tstate = wxPyBeginAllowThreads();
2574 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2575
2576 wxPyEndAllowThreads(__tstate);
2577 if (PyErr_Occurred()) SWIG_fail;
2578 }
2579 resultobj = PyInt_FromLong((long)result);
2580 return resultobj;
2581 fail:
2582 return NULL;
2583 }
2584
2585
2586 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2587 PyObject *resultobj;
2588 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2589 wxString *arg2 = 0 ;
2590 bool temp2 = False ;
2591 PyObject * obj0 = 0 ;
2592 PyObject * obj1 = 0 ;
2593 char *kwnames[] = {
2594 (char *) "self",(char *) "title", NULL
2595 };
2596
2597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2599 {
2600 arg2 = wxString_in_helper(obj1);
2601 if (arg2 == NULL) SWIG_fail;
2602 temp2 = True;
2603 }
2604 {
2605 PyThreadState* __tstate = wxPyBeginAllowThreads();
2606 (arg1)->SetTitle((wxString const &)*arg2);
2607
2608 wxPyEndAllowThreads(__tstate);
2609 if (PyErr_Occurred()) SWIG_fail;
2610 }
2611 Py_INCREF(Py_None); resultobj = Py_None;
2612 {
2613 if (temp2)
2614 delete arg2;
2615 }
2616 return resultobj;
2617 fail:
2618 {
2619 if (temp2)
2620 delete arg2;
2621 }
2622 return NULL;
2623 }
2624
2625
2626 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2627 PyObject *resultobj;
2628 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2629 wxString result;
2630 PyObject * obj0 = 0 ;
2631 char *kwnames[] = {
2632 (char *) "self", NULL
2633 };
2634
2635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2637 {
2638 PyThreadState* __tstate = wxPyBeginAllowThreads();
2639 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2640
2641 wxPyEndAllowThreads(__tstate);
2642 if (PyErr_Occurred()) SWIG_fail;
2643 }
2644 {
2645 #if wxUSE_UNICODE
2646 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2647 #else
2648 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2649 #endif
2650 }
2651 return resultobj;
2652 fail:
2653 return NULL;
2654 }
2655
2656
2657 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2658 PyObject *resultobj;
2659 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2660 wxRegion *arg2 = 0 ;
2661 bool result;
2662 PyObject * obj0 = 0 ;
2663 PyObject * obj1 = 0 ;
2664 char *kwnames[] = {
2665 (char *) "self",(char *) "region", NULL
2666 };
2667
2668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2670 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2671 if (arg2 == NULL) {
2672 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2673 }
2674 {
2675 PyThreadState* __tstate = wxPyBeginAllowThreads();
2676 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2677
2678 wxPyEndAllowThreads(__tstate);
2679 if (PyErr_Occurred()) SWIG_fail;
2680 }
2681 resultobj = PyInt_FromLong((long)result);
2682 return resultobj;
2683 fail:
2684 return NULL;
2685 }
2686
2687
2688 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2689 PyObject *obj;
2690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2691 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2692 Py_INCREF(obj);
2693 return Py_BuildValue((char *)"");
2694 }
2695 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2696 PyObject *resultobj;
2697 wxWindow *arg1 = (wxWindow *) 0 ;
2698 int arg2 ;
2699 wxString *arg3 = 0 ;
2700 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2701 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2702 wxSize const &arg5_defvalue = wxDefaultSize ;
2703 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2704 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2705 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2706 wxString *arg7 = (wxString *) &arg7_defvalue ;
2707 wxFrame *result;
2708 bool temp3 = False ;
2709 wxPoint temp4 ;
2710 wxSize temp5 ;
2711 bool temp7 = False ;
2712 PyObject * obj0 = 0 ;
2713 PyObject * obj2 = 0 ;
2714 PyObject * obj3 = 0 ;
2715 PyObject * obj4 = 0 ;
2716 PyObject * obj6 = 0 ;
2717 char *kwnames[] = {
2718 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2719 };
2720
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2723 {
2724 arg3 = wxString_in_helper(obj2);
2725 if (arg3 == NULL) SWIG_fail;
2726 temp3 = True;
2727 }
2728 if (obj3) {
2729 {
2730 arg4 = &temp4;
2731 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2732 }
2733 }
2734 if (obj4) {
2735 {
2736 arg5 = &temp5;
2737 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2738 }
2739 }
2740 if (obj6) {
2741 {
2742 arg7 = wxString_in_helper(obj6);
2743 if (arg7 == NULL) SWIG_fail;
2744 temp7 = True;
2745 }
2746 }
2747 {
2748 PyThreadState* __tstate = wxPyBeginAllowThreads();
2749 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2750
2751 wxPyEndAllowThreads(__tstate);
2752 if (PyErr_Occurred()) SWIG_fail;
2753 }
2754 {
2755 resultobj = wxPyMake_wxObject(result);
2756 }
2757 {
2758 if (temp3)
2759 delete arg3;
2760 }
2761 {
2762 if (temp7)
2763 delete arg7;
2764 }
2765 return resultobj;
2766 fail:
2767 {
2768 if (temp3)
2769 delete arg3;
2770 }
2771 {
2772 if (temp7)
2773 delete arg7;
2774 }
2775 return NULL;
2776 }
2777
2778
2779 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2780 PyObject *resultobj;
2781 wxFrame *result;
2782 char *kwnames[] = {
2783 NULL
2784 };
2785
2786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2787 {
2788 PyThreadState* __tstate = wxPyBeginAllowThreads();
2789 result = (wxFrame *)new wxFrame();
2790
2791 wxPyEndAllowThreads(__tstate);
2792 if (PyErr_Occurred()) SWIG_fail;
2793 }
2794 {
2795 resultobj = wxPyMake_wxObject(result);
2796 }
2797 return resultobj;
2798 fail:
2799 return NULL;
2800 }
2801
2802
2803 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2804 PyObject *resultobj;
2805 wxFrame *arg1 = (wxFrame *) 0 ;
2806 wxWindow *arg2 = (wxWindow *) 0 ;
2807 int arg3 ;
2808 wxString *arg4 = 0 ;
2809 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2810 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2811 wxSize const &arg6_defvalue = wxDefaultSize ;
2812 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2813 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2814 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2815 wxString *arg8 = (wxString *) &arg8_defvalue ;
2816 bool result;
2817 bool temp4 = False ;
2818 wxPoint temp5 ;
2819 wxSize temp6 ;
2820 bool temp8 = False ;
2821 PyObject * obj0 = 0 ;
2822 PyObject * obj1 = 0 ;
2823 PyObject * obj3 = 0 ;
2824 PyObject * obj4 = 0 ;
2825 PyObject * obj5 = 0 ;
2826 PyObject * obj7 = 0 ;
2827 char *kwnames[] = {
2828 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2829 };
2830
2831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2833 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2834 {
2835 arg4 = wxString_in_helper(obj3);
2836 if (arg4 == NULL) SWIG_fail;
2837 temp4 = True;
2838 }
2839 if (obj4) {
2840 {
2841 arg5 = &temp5;
2842 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2843 }
2844 }
2845 if (obj5) {
2846 {
2847 arg6 = &temp6;
2848 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2849 }
2850 }
2851 if (obj7) {
2852 {
2853 arg8 = wxString_in_helper(obj7);
2854 if (arg8 == NULL) SWIG_fail;
2855 temp8 = True;
2856 }
2857 }
2858 {
2859 PyThreadState* __tstate = wxPyBeginAllowThreads();
2860 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2861
2862 wxPyEndAllowThreads(__tstate);
2863 if (PyErr_Occurred()) SWIG_fail;
2864 }
2865 resultobj = PyInt_FromLong((long)result);
2866 {
2867 if (temp4)
2868 delete arg4;
2869 }
2870 {
2871 if (temp8)
2872 delete arg8;
2873 }
2874 return resultobj;
2875 fail:
2876 {
2877 if (temp4)
2878 delete arg4;
2879 }
2880 {
2881 if (temp8)
2882 delete arg8;
2883 }
2884 return NULL;
2885 }
2886
2887
2888 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2889 PyObject *resultobj;
2890 wxFrame *arg1 = (wxFrame *) 0 ;
2891 wxPoint result;
2892 PyObject * obj0 = 0 ;
2893 char *kwnames[] = {
2894 (char *) "self", NULL
2895 };
2896
2897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2899 {
2900 PyThreadState* __tstate = wxPyBeginAllowThreads();
2901 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2902
2903 wxPyEndAllowThreads(__tstate);
2904 if (PyErr_Occurred()) SWIG_fail;
2905 }
2906 {
2907 wxPoint * resultptr;
2908 resultptr = new wxPoint((wxPoint &) result);
2909 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2910 }
2911 return resultobj;
2912 fail:
2913 return NULL;
2914 }
2915
2916
2917 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2918 PyObject *resultobj;
2919 wxFrame *arg1 = (wxFrame *) 0 ;
2920 PyObject * obj0 = 0 ;
2921 char *kwnames[] = {
2922 (char *) "self", NULL
2923 };
2924
2925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2927 {
2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
2929 (arg1)->SendSizeEvent();
2930
2931 wxPyEndAllowThreads(__tstate);
2932 if (PyErr_Occurred()) SWIG_fail;
2933 }
2934 Py_INCREF(Py_None); resultobj = Py_None;
2935 return resultobj;
2936 fail:
2937 return NULL;
2938 }
2939
2940
2941 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2942 PyObject *resultobj;
2943 wxFrame *arg1 = (wxFrame *) 0 ;
2944 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2945 PyObject * obj0 = 0 ;
2946 PyObject * obj1 = 0 ;
2947 char *kwnames[] = {
2948 (char *) "self",(char *) "menubar", NULL
2949 };
2950
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2954 {
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 (arg1)->SetMenuBar(arg2);
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 Py_INCREF(Py_None); resultobj = Py_None;
2962 return resultobj;
2963 fail:
2964 return NULL;
2965 }
2966
2967
2968 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2969 PyObject *resultobj;
2970 wxFrame *arg1 = (wxFrame *) 0 ;
2971 wxMenuBar *result;
2972 PyObject * obj0 = 0 ;
2973 char *kwnames[] = {
2974 (char *) "self", NULL
2975 };
2976
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2979 {
2980 PyThreadState* __tstate = wxPyBeginAllowThreads();
2981 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2982
2983 wxPyEndAllowThreads(__tstate);
2984 if (PyErr_Occurred()) SWIG_fail;
2985 }
2986 {
2987 resultobj = wxPyMake_wxObject(result);
2988 }
2989 return resultobj;
2990 fail:
2991 return NULL;
2992 }
2993
2994
2995 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2996 PyObject *resultobj;
2997 wxFrame *arg1 = (wxFrame *) 0 ;
2998 int arg2 ;
2999 bool result;
3000 PyObject * obj0 = 0 ;
3001 char *kwnames[] = {
3002 (char *) "self",(char *) "winid", NULL
3003 };
3004
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
3006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3007 {
3008 PyThreadState* __tstate = wxPyBeginAllowThreads();
3009 result = (bool)(arg1)->ProcessCommand(arg2);
3010
3011 wxPyEndAllowThreads(__tstate);
3012 if (PyErr_Occurred()) SWIG_fail;
3013 }
3014 resultobj = PyInt_FromLong((long)result);
3015 return resultobj;
3016 fail:
3017 return NULL;
3018 }
3019
3020
3021 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3022 PyObject *resultobj;
3023 wxFrame *arg1 = (wxFrame *) 0 ;
3024 int arg2 = (int) 1 ;
3025 long arg3 = (long) wxST_SIZEGRIP ;
3026 int arg4 = (int) 0 ;
3027 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3028 wxString *arg5 = (wxString *) &arg5_defvalue ;
3029 wxStatusBar *result;
3030 bool temp5 = False ;
3031 PyObject * obj0 = 0 ;
3032 PyObject * obj4 = 0 ;
3033 char *kwnames[] = {
3034 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3035 };
3036
3037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
3038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3039 if (obj4) {
3040 {
3041 arg5 = wxString_in_helper(obj4);
3042 if (arg5 == NULL) SWIG_fail;
3043 temp5 = True;
3044 }
3045 }
3046 {
3047 PyThreadState* __tstate = wxPyBeginAllowThreads();
3048 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3049
3050 wxPyEndAllowThreads(__tstate);
3051 if (PyErr_Occurred()) SWIG_fail;
3052 }
3053 {
3054 resultobj = wxPyMake_wxObject(result);
3055 }
3056 {
3057 if (temp5)
3058 delete arg5;
3059 }
3060 return resultobj;
3061 fail:
3062 {
3063 if (temp5)
3064 delete arg5;
3065 }
3066 return NULL;
3067 }
3068
3069
3070 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3071 PyObject *resultobj;
3072 wxFrame *arg1 = (wxFrame *) 0 ;
3073 wxStatusBar *result;
3074 PyObject * obj0 = 0 ;
3075 char *kwnames[] = {
3076 (char *) "self", NULL
3077 };
3078
3079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3081 {
3082 PyThreadState* __tstate = wxPyBeginAllowThreads();
3083 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3084
3085 wxPyEndAllowThreads(__tstate);
3086 if (PyErr_Occurred()) SWIG_fail;
3087 }
3088 {
3089 resultobj = wxPyMake_wxObject(result);
3090 }
3091 return resultobj;
3092 fail:
3093 return NULL;
3094 }
3095
3096
3097 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxFrame *arg1 = (wxFrame *) 0 ;
3100 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3101 PyObject * obj0 = 0 ;
3102 PyObject * obj1 = 0 ;
3103 char *kwnames[] = {
3104 (char *) "self",(char *) "statBar", NULL
3105 };
3106
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3110 {
3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
3112 (arg1)->SetStatusBar(arg2);
3113
3114 wxPyEndAllowThreads(__tstate);
3115 if (PyErr_Occurred()) SWIG_fail;
3116 }
3117 Py_INCREF(Py_None); resultobj = Py_None;
3118 return resultobj;
3119 fail:
3120 return NULL;
3121 }
3122
3123
3124 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3125 PyObject *resultobj;
3126 wxFrame *arg1 = (wxFrame *) 0 ;
3127 wxString *arg2 = 0 ;
3128 int arg3 = (int) 0 ;
3129 bool temp2 = False ;
3130 PyObject * obj0 = 0 ;
3131 PyObject * obj1 = 0 ;
3132 char *kwnames[] = {
3133 (char *) "self",(char *) "text",(char *) "number", NULL
3134 };
3135
3136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3138 {
3139 arg2 = wxString_in_helper(obj1);
3140 if (arg2 == NULL) SWIG_fail;
3141 temp2 = True;
3142 }
3143 {
3144 PyThreadState* __tstate = wxPyBeginAllowThreads();
3145 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3146
3147 wxPyEndAllowThreads(__tstate);
3148 if (PyErr_Occurred()) SWIG_fail;
3149 }
3150 Py_INCREF(Py_None); resultobj = Py_None;
3151 {
3152 if (temp2)
3153 delete arg2;
3154 }
3155 return resultobj;
3156 fail:
3157 {
3158 if (temp2)
3159 delete arg2;
3160 }
3161 return NULL;
3162 }
3163
3164
3165 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj;
3167 wxFrame *arg1 = (wxFrame *) 0 ;
3168 int arg2 ;
3169 int *arg3 = (int *) 0 ;
3170 PyObject * obj0 = 0 ;
3171 PyObject * obj1 = 0 ;
3172 char *kwnames[] = {
3173 (char *) "self",(char *) "widths", NULL
3174 };
3175
3176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3178 {
3179 arg2 = PyList_Size(obj1);
3180 arg3 = int_LIST_helper(obj1);
3181 if (arg3 == NULL) SWIG_fail;
3182 }
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 Py_INCREF(Py_None); resultobj = Py_None;
3191 {
3192 if (arg3) delete [] arg3;
3193 }
3194 return resultobj;
3195 fail:
3196 {
3197 if (arg3) delete [] arg3;
3198 }
3199 return NULL;
3200 }
3201
3202
3203 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3204 PyObject *resultobj;
3205 wxFrame *arg1 = (wxFrame *) 0 ;
3206 wxString *arg2 = 0 ;
3207 int arg3 = (int) 0 ;
3208 bool temp2 = False ;
3209 PyObject * obj0 = 0 ;
3210 PyObject * obj1 = 0 ;
3211 char *kwnames[] = {
3212 (char *) "self",(char *) "text",(char *) "number", NULL
3213 };
3214
3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3217 {
3218 arg2 = wxString_in_helper(obj1);
3219 if (arg2 == NULL) SWIG_fail;
3220 temp2 = True;
3221 }
3222 {
3223 PyThreadState* __tstate = wxPyBeginAllowThreads();
3224 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3225
3226 wxPyEndAllowThreads(__tstate);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 }
3229 Py_INCREF(Py_None); resultobj = Py_None;
3230 {
3231 if (temp2)
3232 delete arg2;
3233 }
3234 return resultobj;
3235 fail:
3236 {
3237 if (temp2)
3238 delete arg2;
3239 }
3240 return NULL;
3241 }
3242
3243
3244 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3245 PyObject *resultobj;
3246 wxFrame *arg1 = (wxFrame *) 0 ;
3247 int arg2 = (int) 0 ;
3248 PyObject * obj0 = 0 ;
3249 char *kwnames[] = {
3250 (char *) "self",(char *) "number", NULL
3251 };
3252
3253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3255 {
3256 PyThreadState* __tstate = wxPyBeginAllowThreads();
3257 (arg1)->PopStatusText(arg2);
3258
3259 wxPyEndAllowThreads(__tstate);
3260 if (PyErr_Occurred()) SWIG_fail;
3261 }
3262 Py_INCREF(Py_None); resultobj = Py_None;
3263 return resultobj;
3264 fail:
3265 return NULL;
3266 }
3267
3268
3269 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3270 PyObject *resultobj;
3271 wxFrame *arg1 = (wxFrame *) 0 ;
3272 int arg2 ;
3273 PyObject * obj0 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "self",(char *) "n", NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 (arg1)->SetStatusBarPane(arg2);
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 Py_INCREF(Py_None); resultobj = Py_None;
3288 return resultobj;
3289 fail:
3290 return NULL;
3291 }
3292
3293
3294 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3295 PyObject *resultobj;
3296 wxFrame *arg1 = (wxFrame *) 0 ;
3297 int result;
3298 PyObject * obj0 = 0 ;
3299 char *kwnames[] = {
3300 (char *) "self", NULL
3301 };
3302
3303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3305 {
3306 PyThreadState* __tstate = wxPyBeginAllowThreads();
3307 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3308
3309 wxPyEndAllowThreads(__tstate);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 }
3312 resultobj = PyInt_FromLong((long)result);
3313 return resultobj;
3314 fail:
3315 return NULL;
3316 }
3317
3318
3319 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3320 PyObject *resultobj;
3321 wxFrame *arg1 = (wxFrame *) 0 ;
3322 long arg2 = (long) -1 ;
3323 int arg3 = (int) -1 ;
3324 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3325 wxString *arg4 = (wxString *) &arg4_defvalue ;
3326 wxToolBar *result;
3327 bool temp4 = False ;
3328 PyObject * obj0 = 0 ;
3329 PyObject * obj3 = 0 ;
3330 char *kwnames[] = {
3331 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3332 };
3333
3334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3336 if (obj3) {
3337 {
3338 arg4 = wxString_in_helper(obj3);
3339 if (arg4 == NULL) SWIG_fail;
3340 temp4 = True;
3341 }
3342 }
3343 {
3344 PyThreadState* __tstate = wxPyBeginAllowThreads();
3345 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3346
3347 wxPyEndAllowThreads(__tstate);
3348 if (PyErr_Occurred()) SWIG_fail;
3349 }
3350 {
3351 resultobj = wxPyMake_wxObject(result);
3352 }
3353 {
3354 if (temp4)
3355 delete arg4;
3356 }
3357 return resultobj;
3358 fail:
3359 {
3360 if (temp4)
3361 delete arg4;
3362 }
3363 return NULL;
3364 }
3365
3366
3367 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3368 PyObject *resultobj;
3369 wxFrame *arg1 = (wxFrame *) 0 ;
3370 wxToolBar *result;
3371 PyObject * obj0 = 0 ;
3372 char *kwnames[] = {
3373 (char *) "self", NULL
3374 };
3375
3376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3378 {
3379 PyThreadState* __tstate = wxPyBeginAllowThreads();
3380 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3381
3382 wxPyEndAllowThreads(__tstate);
3383 if (PyErr_Occurred()) SWIG_fail;
3384 }
3385 {
3386 resultobj = wxPyMake_wxObject(result);
3387 }
3388 return resultobj;
3389 fail:
3390 return NULL;
3391 }
3392
3393
3394 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3395 PyObject *resultobj;
3396 wxFrame *arg1 = (wxFrame *) 0 ;
3397 wxToolBar *arg2 = (wxToolBar *) 0 ;
3398 PyObject * obj0 = 0 ;
3399 PyObject * obj1 = 0 ;
3400 char *kwnames[] = {
3401 (char *) "self",(char *) "toolbar", NULL
3402 };
3403
3404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3407 {
3408 PyThreadState* __tstate = wxPyBeginAllowThreads();
3409 (arg1)->SetToolBar(arg2);
3410
3411 wxPyEndAllowThreads(__tstate);
3412 if (PyErr_Occurred()) SWIG_fail;
3413 }
3414 Py_INCREF(Py_None); resultobj = Py_None;
3415 return resultobj;
3416 fail:
3417 return NULL;
3418 }
3419
3420
3421 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3422 PyObject *resultobj;
3423 wxFrame *arg1 = (wxFrame *) 0 ;
3424 wxString *arg2 = 0 ;
3425 bool arg3 ;
3426 bool temp2 = False ;
3427 PyObject * obj0 = 0 ;
3428 PyObject * obj1 = 0 ;
3429 PyObject * obj2 = 0 ;
3430 char *kwnames[] = {
3431 (char *) "self",(char *) "text",(char *) "show", NULL
3432 };
3433
3434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3436 {
3437 arg2 = wxString_in_helper(obj1);
3438 if (arg2 == NULL) SWIG_fail;
3439 temp2 = True;
3440 }
3441 {
3442 arg3 = (bool) SPyObj_AsBool(obj2);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3448
3449 wxPyEndAllowThreads(__tstate);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 Py_INCREF(Py_None); resultobj = Py_None;
3453 {
3454 if (temp2)
3455 delete arg2;
3456 }
3457 return resultobj;
3458 fail:
3459 {
3460 if (temp2)
3461 delete arg2;
3462 }
3463 return NULL;
3464 }
3465
3466
3467 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3468 PyObject *resultobj;
3469 wxFrame *arg1 = (wxFrame *) 0 ;
3470 wxMenu *arg2 = (wxMenu *) NULL ;
3471 PyObject * obj0 = 0 ;
3472 PyObject * obj1 = 0 ;
3473 char *kwnames[] = {
3474 (char *) "self",(char *) "menu", NULL
3475 };
3476
3477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3479 if (obj1) {
3480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3481 }
3482 {
3483 PyThreadState* __tstate = wxPyBeginAllowThreads();
3484 (arg1)->DoMenuUpdates(arg2);
3485
3486 wxPyEndAllowThreads(__tstate);
3487 if (PyErr_Occurred()) SWIG_fail;
3488 }
3489 Py_INCREF(Py_None); resultobj = Py_None;
3490 return resultobj;
3491 fail:
3492 return NULL;
3493 }
3494
3495
3496 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3497 PyObject *obj;
3498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3499 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3500 Py_INCREF(obj);
3501 return Py_BuildValue((char *)"");
3502 }
3503 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3504 PyObject *resultobj;
3505 wxWindow *arg1 = (wxWindow *) 0 ;
3506 int arg2 ;
3507 wxString *arg3 = 0 ;
3508 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3509 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3510 wxSize const &arg5_defvalue = wxDefaultSize ;
3511 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3512 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3513 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3514 wxString *arg7 = (wxString *) &arg7_defvalue ;
3515 wxDialog *result;
3516 bool temp3 = False ;
3517 wxPoint temp4 ;
3518 wxSize temp5 ;
3519 bool temp7 = False ;
3520 PyObject * obj0 = 0 ;
3521 PyObject * obj2 = 0 ;
3522 PyObject * obj3 = 0 ;
3523 PyObject * obj4 = 0 ;
3524 PyObject * obj6 = 0 ;
3525 char *kwnames[] = {
3526 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3527 };
3528
3529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3531 {
3532 arg3 = wxString_in_helper(obj2);
3533 if (arg3 == NULL) SWIG_fail;
3534 temp3 = True;
3535 }
3536 if (obj3) {
3537 {
3538 arg4 = &temp4;
3539 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3540 }
3541 }
3542 if (obj4) {
3543 {
3544 arg5 = &temp5;
3545 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3546 }
3547 }
3548 if (obj6) {
3549 {
3550 arg7 = wxString_in_helper(obj6);
3551 if (arg7 == NULL) SWIG_fail;
3552 temp7 = True;
3553 }
3554 }
3555 {
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
3557 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3558
3559 wxPyEndAllowThreads(__tstate);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
3562 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3563 {
3564 if (temp3)
3565 delete arg3;
3566 }
3567 {
3568 if (temp7)
3569 delete arg7;
3570 }
3571 return resultobj;
3572 fail:
3573 {
3574 if (temp3)
3575 delete arg3;
3576 }
3577 {
3578 if (temp7)
3579 delete arg7;
3580 }
3581 return NULL;
3582 }
3583
3584
3585 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3586 PyObject *resultobj;
3587 wxDialog *result;
3588 char *kwnames[] = {
3589 NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3593 {
3594 PyThreadState* __tstate = wxPyBeginAllowThreads();
3595 result = (wxDialog *)new wxDialog();
3596
3597 wxPyEndAllowThreads(__tstate);
3598 if (PyErr_Occurred()) SWIG_fail;
3599 }
3600 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3601 return resultobj;
3602 fail:
3603 return NULL;
3604 }
3605
3606
3607 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj;
3609 wxDialog *arg1 = (wxDialog *) 0 ;
3610 wxWindow *arg2 = (wxWindow *) 0 ;
3611 int arg3 ;
3612 wxString *arg4 = 0 ;
3613 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3614 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3615 wxSize const &arg6_defvalue = wxDefaultSize ;
3616 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3617 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3618 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3619 wxString *arg8 = (wxString *) &arg8_defvalue ;
3620 bool result;
3621 bool temp4 = False ;
3622 wxPoint temp5 ;
3623 wxSize temp6 ;
3624 bool temp8 = False ;
3625 PyObject * obj0 = 0 ;
3626 PyObject * obj1 = 0 ;
3627 PyObject * obj3 = 0 ;
3628 PyObject * obj4 = 0 ;
3629 PyObject * obj5 = 0 ;
3630 PyObject * obj7 = 0 ;
3631 char *kwnames[] = {
3632 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3633 };
3634
3635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3638 {
3639 arg4 = wxString_in_helper(obj3);
3640 if (arg4 == NULL) SWIG_fail;
3641 temp4 = True;
3642 }
3643 if (obj4) {
3644 {
3645 arg5 = &temp5;
3646 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3647 }
3648 }
3649 if (obj5) {
3650 {
3651 arg6 = &temp6;
3652 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3653 }
3654 }
3655 if (obj7) {
3656 {
3657 arg8 = wxString_in_helper(obj7);
3658 if (arg8 == NULL) SWIG_fail;
3659 temp8 = True;
3660 }
3661 }
3662 {
3663 PyThreadState* __tstate = wxPyBeginAllowThreads();
3664 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3665
3666 wxPyEndAllowThreads(__tstate);
3667 if (PyErr_Occurred()) SWIG_fail;
3668 }
3669 resultobj = PyInt_FromLong((long)result);
3670 {
3671 if (temp4)
3672 delete arg4;
3673 }
3674 {
3675 if (temp8)
3676 delete arg8;
3677 }
3678 return resultobj;
3679 fail:
3680 {
3681 if (temp4)
3682 delete arg4;
3683 }
3684 {
3685 if (temp8)
3686 delete arg8;
3687 }
3688 return NULL;
3689 }
3690
3691
3692 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3693 PyObject *resultobj;
3694 wxDialog *arg1 = (wxDialog *) 0 ;
3695 int arg2 ;
3696 PyObject * obj0 = 0 ;
3697 char *kwnames[] = {
3698 (char *) "self",(char *) "returnCode", NULL
3699 };
3700
3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3703 {
3704 PyThreadState* __tstate = wxPyBeginAllowThreads();
3705 (arg1)->SetReturnCode(arg2);
3706
3707 wxPyEndAllowThreads(__tstate);
3708 if (PyErr_Occurred()) SWIG_fail;
3709 }
3710 Py_INCREF(Py_None); resultobj = Py_None;
3711 return resultobj;
3712 fail:
3713 return NULL;
3714 }
3715
3716
3717 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3718 PyObject *resultobj;
3719 wxDialog *arg1 = (wxDialog *) 0 ;
3720 int result;
3721 PyObject * obj0 = 0 ;
3722 char *kwnames[] = {
3723 (char *) "self", NULL
3724 };
3725
3726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3728 {
3729 PyThreadState* __tstate = wxPyBeginAllowThreads();
3730 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3731
3732 wxPyEndAllowThreads(__tstate);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 resultobj = PyInt_FromLong((long)result);
3736 return resultobj;
3737 fail:
3738 return NULL;
3739 }
3740
3741
3742 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3743 PyObject *resultobj;
3744 wxDialog *arg1 = (wxDialog *) 0 ;
3745 wxString *arg2 = 0 ;
3746 wxSizer *result;
3747 bool temp2 = False ;
3748 PyObject * obj0 = 0 ;
3749 PyObject * obj1 = 0 ;
3750 char *kwnames[] = {
3751 (char *) "self",(char *) "message", NULL
3752 };
3753
3754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3756 {
3757 arg2 = wxString_in_helper(obj1);
3758 if (arg2 == NULL) SWIG_fail;
3759 temp2 = True;
3760 }
3761 {
3762 PyThreadState* __tstate = wxPyBeginAllowThreads();
3763 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3764
3765 wxPyEndAllowThreads(__tstate);
3766 if (PyErr_Occurred()) SWIG_fail;
3767 }
3768 {
3769 resultobj = wxPyMake_wxSizer(result);
3770 }
3771 {
3772 if (temp2)
3773 delete arg2;
3774 }
3775 return resultobj;
3776 fail:
3777 {
3778 if (temp2)
3779 delete arg2;
3780 }
3781 return NULL;
3782 }
3783
3784
3785 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3786 PyObject *resultobj;
3787 wxDialog *arg1 = (wxDialog *) 0 ;
3788 long arg2 ;
3789 wxSizer *result;
3790 PyObject * obj0 = 0 ;
3791 char *kwnames[] = {
3792 (char *) "self",(char *) "flags", NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3797 {
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3800
3801 wxPyEndAllowThreads(__tstate);
3802 if (PyErr_Occurred()) SWIG_fail;
3803 }
3804 {
3805 resultobj = wxPyMake_wxSizer(result);
3806 }
3807 return resultobj;
3808 fail:
3809 return NULL;
3810 }
3811
3812
3813 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3814 PyObject *resultobj;
3815 wxDialog *arg1 = (wxDialog *) 0 ;
3816 bool result;
3817 PyObject * obj0 = 0 ;
3818 char *kwnames[] = {
3819 (char *) "self", NULL
3820 };
3821
3822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 result = (bool)((wxDialog const *)arg1)->IsModal();
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 resultobj = PyInt_FromLong((long)result);
3832 return resultobj;
3833 fail:
3834 return NULL;
3835 }
3836
3837
3838 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3839 PyObject *resultobj;
3840 wxDialog *arg1 = (wxDialog *) 0 ;
3841 int result;
3842 PyObject * obj0 = 0 ;
3843 char *kwnames[] = {
3844 (char *) "self", NULL
3845 };
3846
3847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (int)(arg1)->ShowModal();
3852
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 resultobj = PyInt_FromLong((long)result);
3857 return resultobj;
3858 fail:
3859 return NULL;
3860 }
3861
3862
3863 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj;
3865 wxDialog *arg1 = (wxDialog *) 0 ;
3866 int arg2 ;
3867 PyObject * obj0 = 0 ;
3868 char *kwnames[] = {
3869 (char *) "self",(char *) "retCode", NULL
3870 };
3871
3872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 (arg1)->EndModal(arg2);
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
3881 Py_INCREF(Py_None); resultobj = Py_None;
3882 return resultobj;
3883 fail:
3884 return NULL;
3885 }
3886
3887
3888 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3889 PyObject *resultobj;
3890 wxDialog *arg1 = (wxDialog *) 0 ;
3891 bool result;
3892 PyObject * obj0 = 0 ;
3893 char *kwnames[] = {
3894 (char *) "self", NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3899 {
3900 PyThreadState* __tstate = wxPyBeginAllowThreads();
3901 result = (bool)wxDialog_IsModalShowing(arg1);
3902
3903 wxPyEndAllowThreads(__tstate);
3904 if (PyErr_Occurred()) SWIG_fail;
3905 }
3906 resultobj = PyInt_FromLong((long)result);
3907 return resultobj;
3908 fail:
3909 return NULL;
3910 }
3911
3912
3913 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3914 PyObject *obj;
3915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3916 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3917 Py_INCREF(obj);
3918 return Py_BuildValue((char *)"");
3919 }
3920 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3921 PyObject *resultobj;
3922 wxWindow *arg1 = (wxWindow *) 0 ;
3923 int arg2 ;
3924 wxString *arg3 = 0 ;
3925 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3926 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3927 wxSize const &arg5_defvalue = wxDefaultSize ;
3928 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3929 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3930 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3931 wxString *arg7 = (wxString *) &arg7_defvalue ;
3932 wxMiniFrame *result;
3933 bool temp3 = False ;
3934 wxPoint temp4 ;
3935 wxSize temp5 ;
3936 bool temp7 = False ;
3937 PyObject * obj0 = 0 ;
3938 PyObject * obj2 = 0 ;
3939 PyObject * obj3 = 0 ;
3940 PyObject * obj4 = 0 ;
3941 PyObject * obj6 = 0 ;
3942 char *kwnames[] = {
3943 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3944 };
3945
3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3948 {
3949 arg3 = wxString_in_helper(obj2);
3950 if (arg3 == NULL) SWIG_fail;
3951 temp3 = True;
3952 }
3953 if (obj3) {
3954 {
3955 arg4 = &temp4;
3956 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3957 }
3958 }
3959 if (obj4) {
3960 {
3961 arg5 = &temp5;
3962 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3963 }
3964 }
3965 if (obj6) {
3966 {
3967 arg7 = wxString_in_helper(obj6);
3968 if (arg7 == NULL) SWIG_fail;
3969 temp7 = True;
3970 }
3971 }
3972 {
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
3974 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3975
3976 wxPyEndAllowThreads(__tstate);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 }
3979 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3980 {
3981 if (temp3)
3982 delete arg3;
3983 }
3984 {
3985 if (temp7)
3986 delete arg7;
3987 }
3988 return resultobj;
3989 fail:
3990 {
3991 if (temp3)
3992 delete arg3;
3993 }
3994 {
3995 if (temp7)
3996 delete arg7;
3997 }
3998 return NULL;
3999 }
4000
4001
4002 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4003 PyObject *resultobj;
4004 wxMiniFrame *result;
4005 char *kwnames[] = {
4006 NULL
4007 };
4008
4009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4010 {
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 result = (wxMiniFrame *)new wxMiniFrame();
4013
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4018 return resultobj;
4019 fail:
4020 return NULL;
4021 }
4022
4023
4024 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4025 PyObject *resultobj;
4026 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4027 wxWindow *arg2 = (wxWindow *) 0 ;
4028 int arg3 ;
4029 wxString *arg4 = 0 ;
4030 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4031 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4032 wxSize const &arg6_defvalue = wxDefaultSize ;
4033 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4034 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4035 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4036 wxString *arg8 = (wxString *) &arg8_defvalue ;
4037 bool result;
4038 bool temp4 = False ;
4039 wxPoint temp5 ;
4040 wxSize temp6 ;
4041 bool temp8 = False ;
4042 PyObject * obj0 = 0 ;
4043 PyObject * obj1 = 0 ;
4044 PyObject * obj3 = 0 ;
4045 PyObject * obj4 = 0 ;
4046 PyObject * obj5 = 0 ;
4047 PyObject * obj7 = 0 ;
4048 char *kwnames[] = {
4049 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4050 };
4051
4052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4055 {
4056 arg4 = wxString_in_helper(obj3);
4057 if (arg4 == NULL) SWIG_fail;
4058 temp4 = True;
4059 }
4060 if (obj4) {
4061 {
4062 arg5 = &temp5;
4063 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4064 }
4065 }
4066 if (obj5) {
4067 {
4068 arg6 = &temp6;
4069 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4070 }
4071 }
4072 if (obj7) {
4073 {
4074 arg8 = wxString_in_helper(obj7);
4075 if (arg8 == NULL) SWIG_fail;
4076 temp8 = True;
4077 }
4078 }
4079 {
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4082
4083 wxPyEndAllowThreads(__tstate);
4084 if (PyErr_Occurred()) SWIG_fail;
4085 }
4086 resultobj = PyInt_FromLong((long)result);
4087 {
4088 if (temp4)
4089 delete arg4;
4090 }
4091 {
4092 if (temp8)
4093 delete arg8;
4094 }
4095 return resultobj;
4096 fail:
4097 {
4098 if (temp4)
4099 delete arg4;
4100 }
4101 {
4102 if (temp8)
4103 delete arg8;
4104 }
4105 return NULL;
4106 }
4107
4108
4109 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4110 PyObject *obj;
4111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4112 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4113 Py_INCREF(obj);
4114 return Py_BuildValue((char *)"");
4115 }
4116 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4117 PyObject *resultobj;
4118 wxBitmap *arg1 = 0 ;
4119 wxWindow *arg2 = (wxWindow *) 0 ;
4120 int arg3 ;
4121 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4122 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4123 wxSize const &arg5_defvalue = wxDefaultSize ;
4124 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4125 long arg6 = (long) wxNO_BORDER ;
4126 wxSplashScreenWindow *result;
4127 wxPoint temp4 ;
4128 wxSize temp5 ;
4129 PyObject * obj0 = 0 ;
4130 PyObject * obj1 = 0 ;
4131 PyObject * obj3 = 0 ;
4132 PyObject * obj4 = 0 ;
4133 char *kwnames[] = {
4134 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
4138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4139 if (arg1 == NULL) {
4140 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4141 }
4142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4143 if (obj3) {
4144 {
4145 arg4 = &temp4;
4146 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4147 }
4148 }
4149 if (obj4) {
4150 {
4151 arg5 = &temp5;
4152 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4153 }
4154 }
4155 {
4156 PyThreadState* __tstate = wxPyBeginAllowThreads();
4157 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4158
4159 wxPyEndAllowThreads(__tstate);
4160 if (PyErr_Occurred()) SWIG_fail;
4161 }
4162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4163 return resultobj;
4164 fail:
4165 return NULL;
4166 }
4167
4168
4169 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4170 PyObject *resultobj;
4171 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4172 wxBitmap *arg2 = 0 ;
4173 PyObject * obj0 = 0 ;
4174 PyObject * obj1 = 0 ;
4175 char *kwnames[] = {
4176 (char *) "self",(char *) "bitmap", NULL
4177 };
4178
4179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4181 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4182 if (arg2 == NULL) {
4183 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4184 }
4185 {
4186 PyThreadState* __tstate = wxPyBeginAllowThreads();
4187 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4188
4189 wxPyEndAllowThreads(__tstate);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 }
4192 Py_INCREF(Py_None); resultobj = Py_None;
4193 return resultobj;
4194 fail:
4195 return NULL;
4196 }
4197
4198
4199 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4200 PyObject *resultobj;
4201 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4202 wxBitmap *result;
4203 PyObject * obj0 = 0 ;
4204 char *kwnames[] = {
4205 (char *) "self", NULL
4206 };
4207
4208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4210 {
4211 PyThreadState* __tstate = wxPyBeginAllowThreads();
4212 {
4213 wxBitmap &_result_ref = (arg1)->GetBitmap();
4214 result = (wxBitmap *) &_result_ref;
4215 }
4216
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4221 return resultobj;
4222 fail:
4223 return NULL;
4224 }
4225
4226
4227 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4228 PyObject *obj;
4229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4230 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4231 Py_INCREF(obj);
4232 return Py_BuildValue((char *)"");
4233 }
4234 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4235 PyObject *resultobj;
4236 wxBitmap *arg1 = 0 ;
4237 long arg2 ;
4238 int arg3 ;
4239 wxWindow *arg4 = (wxWindow *) 0 ;
4240 int arg5 ;
4241 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4242 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4243 wxSize const &arg7_defvalue = wxDefaultSize ;
4244 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4245 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4246 wxSplashScreen *result;
4247 wxPoint temp6 ;
4248 wxSize temp7 ;
4249 PyObject * obj0 = 0 ;
4250 PyObject * obj3 = 0 ;
4251 PyObject * obj5 = 0 ;
4252 PyObject * obj6 = 0 ;
4253 char *kwnames[] = {
4254 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4255 };
4256
4257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4259 if (arg1 == NULL) {
4260 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4261 }
4262 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4263 if (obj5) {
4264 {
4265 arg6 = &temp6;
4266 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4267 }
4268 }
4269 if (obj6) {
4270 {
4271 arg7 = &temp7;
4272 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4273 }
4274 }
4275 {
4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
4277 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4278
4279 wxPyEndAllowThreads(__tstate);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 }
4282 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4283 return resultobj;
4284 fail:
4285 return NULL;
4286 }
4287
4288
4289 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject *resultobj;
4291 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4292 long result;
4293 PyObject * obj0 = 0 ;
4294 char *kwnames[] = {
4295 (char *) "self", NULL
4296 };
4297
4298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4300 {
4301 PyThreadState* __tstate = wxPyBeginAllowThreads();
4302 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4303
4304 wxPyEndAllowThreads(__tstate);
4305 if (PyErr_Occurred()) SWIG_fail;
4306 }
4307 resultobj = PyInt_FromLong((long)result);
4308 return resultobj;
4309 fail:
4310 return NULL;
4311 }
4312
4313
4314 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4315 PyObject *resultobj;
4316 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4317 wxSplashScreenWindow *result;
4318 PyObject * obj0 = 0 ;
4319 char *kwnames[] = {
4320 (char *) "self", NULL
4321 };
4322
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4325 {
4326 PyThreadState* __tstate = wxPyBeginAllowThreads();
4327 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4328
4329 wxPyEndAllowThreads(__tstate);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 }
4332 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4333 return resultobj;
4334 fail:
4335 return NULL;
4336 }
4337
4338
4339 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4340 PyObject *resultobj;
4341 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4342 int result;
4343 PyObject * obj0 = 0 ;
4344 char *kwnames[] = {
4345 (char *) "self", NULL
4346 };
4347
4348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4353
4354 wxPyEndAllowThreads(__tstate);
4355 if (PyErr_Occurred()) SWIG_fail;
4356 }
4357 resultobj = PyInt_FromLong((long)result);
4358 return resultobj;
4359 fail:
4360 return NULL;
4361 }
4362
4363
4364 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4365 PyObject *obj;
4366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4367 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4368 Py_INCREF(obj);
4369 return Py_BuildValue((char *)"");
4370 }
4371 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4372 PyObject *resultobj;
4373 wxWindow *arg1 = (wxWindow *) 0 ;
4374 int arg2 = (int) -1 ;
4375 long arg3 = (long) wxST_SIZEGRIP ;
4376 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4377 wxString *arg4 = (wxString *) &arg4_defvalue ;
4378 wxStatusBar *result;
4379 bool temp4 = False ;
4380 PyObject * obj0 = 0 ;
4381 PyObject * obj3 = 0 ;
4382 char *kwnames[] = {
4383 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4384 };
4385
4386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4388 if (obj3) {
4389 {
4390 arg4 = wxString_in_helper(obj3);
4391 if (arg4 == NULL) SWIG_fail;
4392 temp4 = True;
4393 }
4394 }
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 {
4403 resultobj = wxPyMake_wxObject(result);
4404 }
4405 {
4406 if (temp4)
4407 delete arg4;
4408 }
4409 return resultobj;
4410 fail:
4411 {
4412 if (temp4)
4413 delete arg4;
4414 }
4415 return NULL;
4416 }
4417
4418
4419 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4420 PyObject *resultobj;
4421 wxStatusBar *result;
4422 char *kwnames[] = {
4423 NULL
4424 };
4425
4426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 result = (wxStatusBar *)new wxStatusBar();
4430
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 {
4435 resultobj = wxPyMake_wxObject(result);
4436 }
4437 return resultobj;
4438 fail:
4439 return NULL;
4440 }
4441
4442
4443 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4444 PyObject *resultobj;
4445 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4446 wxWindow *arg2 = (wxWindow *) 0 ;
4447 int arg3 ;
4448 long arg4 = (long) wxST_SIZEGRIP ;
4449 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4450 wxString *arg5 = (wxString *) &arg5_defvalue ;
4451 bool result;
4452 bool temp5 = False ;
4453 PyObject * obj0 = 0 ;
4454 PyObject * obj1 = 0 ;
4455 PyObject * obj4 = 0 ;
4456 char *kwnames[] = {
4457 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4458 };
4459
4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4463 if (obj4) {
4464 {
4465 arg5 = wxString_in_helper(obj4);
4466 if (arg5 == NULL) SWIG_fail;
4467 temp5 = True;
4468 }
4469 }
4470 {
4471 PyThreadState* __tstate = wxPyBeginAllowThreads();
4472 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4473
4474 wxPyEndAllowThreads(__tstate);
4475 if (PyErr_Occurred()) SWIG_fail;
4476 }
4477 resultobj = PyInt_FromLong((long)result);
4478 {
4479 if (temp5)
4480 delete arg5;
4481 }
4482 return resultobj;
4483 fail:
4484 {
4485 if (temp5)
4486 delete arg5;
4487 }
4488 return NULL;
4489 }
4490
4491
4492 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4493 PyObject *resultobj;
4494 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4495 int arg2 = (int) 1 ;
4496 PyObject * obj0 = 0 ;
4497 char *kwnames[] = {
4498 (char *) "self",(char *) "number", NULL
4499 };
4500
4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4503 {
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 (arg1)->SetFieldsCount(arg2);
4506
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 Py_INCREF(Py_None); resultobj = Py_None;
4511 return resultobj;
4512 fail:
4513 return NULL;
4514 }
4515
4516
4517 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4518 PyObject *resultobj;
4519 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4520 int result;
4521 PyObject * obj0 = 0 ;
4522 char *kwnames[] = {
4523 (char *) "self", NULL
4524 };
4525
4526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4528 {
4529 PyThreadState* __tstate = wxPyBeginAllowThreads();
4530 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4531
4532 wxPyEndAllowThreads(__tstate);
4533 if (PyErr_Occurred()) SWIG_fail;
4534 }
4535 resultobj = PyInt_FromLong((long)result);
4536 return resultobj;
4537 fail:
4538 return NULL;
4539 }
4540
4541
4542 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4543 PyObject *resultobj;
4544 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4545 wxString *arg2 = 0 ;
4546 int arg3 = (int) 0 ;
4547 bool temp2 = False ;
4548 PyObject * obj0 = 0 ;
4549 PyObject * obj1 = 0 ;
4550 char *kwnames[] = {
4551 (char *) "self",(char *) "text",(char *) "number", NULL
4552 };
4553
4554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4556 {
4557 arg2 = wxString_in_helper(obj1);
4558 if (arg2 == NULL) SWIG_fail;
4559 temp2 = True;
4560 }
4561 {
4562 PyThreadState* __tstate = wxPyBeginAllowThreads();
4563 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4564
4565 wxPyEndAllowThreads(__tstate);
4566 if (PyErr_Occurred()) SWIG_fail;
4567 }
4568 Py_INCREF(Py_None); resultobj = Py_None;
4569 {
4570 if (temp2)
4571 delete arg2;
4572 }
4573 return resultobj;
4574 fail:
4575 {
4576 if (temp2)
4577 delete arg2;
4578 }
4579 return NULL;
4580 }
4581
4582
4583 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4584 PyObject *resultobj;
4585 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4586 int arg2 = (int) 0 ;
4587 wxString result;
4588 PyObject * obj0 = 0 ;
4589 char *kwnames[] = {
4590 (char *) "self",(char *) "number", NULL
4591 };
4592
4593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4595 {
4596 PyThreadState* __tstate = wxPyBeginAllowThreads();
4597 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4598
4599 wxPyEndAllowThreads(__tstate);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 {
4603 #if wxUSE_UNICODE
4604 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4605 #else
4606 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4607 #endif
4608 }
4609 return resultobj;
4610 fail:
4611 return NULL;
4612 }
4613
4614
4615 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4616 PyObject *resultobj;
4617 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4618 wxString *arg2 = 0 ;
4619 int arg3 = (int) 0 ;
4620 bool temp2 = False ;
4621 PyObject * obj0 = 0 ;
4622 PyObject * obj1 = 0 ;
4623 char *kwnames[] = {
4624 (char *) "self",(char *) "text",(char *) "number", NULL
4625 };
4626
4627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4629 {
4630 arg2 = wxString_in_helper(obj1);
4631 if (arg2 == NULL) SWIG_fail;
4632 temp2 = True;
4633 }
4634 {
4635 PyThreadState* __tstate = wxPyBeginAllowThreads();
4636 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4637
4638 wxPyEndAllowThreads(__tstate);
4639 if (PyErr_Occurred()) SWIG_fail;
4640 }
4641 Py_INCREF(Py_None); resultobj = Py_None;
4642 {
4643 if (temp2)
4644 delete arg2;
4645 }
4646 return resultobj;
4647 fail:
4648 {
4649 if (temp2)
4650 delete arg2;
4651 }
4652 return NULL;
4653 }
4654
4655
4656 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4657 PyObject *resultobj;
4658 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4659 int arg2 = (int) 0 ;
4660 PyObject * obj0 = 0 ;
4661 char *kwnames[] = {
4662 (char *) "self",(char *) "number", NULL
4663 };
4664
4665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4667 {
4668 PyThreadState* __tstate = wxPyBeginAllowThreads();
4669 (arg1)->PopStatusText(arg2);
4670
4671 wxPyEndAllowThreads(__tstate);
4672 if (PyErr_Occurred()) SWIG_fail;
4673 }
4674 Py_INCREF(Py_None); resultobj = Py_None;
4675 return resultobj;
4676 fail:
4677 return NULL;
4678 }
4679
4680
4681 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj;
4683 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4684 int arg2 ;
4685 int *arg3 = (int *) 0 ;
4686 PyObject * obj0 = 0 ;
4687 PyObject * obj1 = 0 ;
4688 char *kwnames[] = {
4689 (char *) "self",(char *) "widths", NULL
4690 };
4691
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4694 {
4695 arg2 = PyList_Size(obj1);
4696 arg3 = int_LIST_helper(obj1);
4697 if (arg3 == NULL) SWIG_fail;
4698 }
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4702
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 Py_INCREF(Py_None); resultobj = Py_None;
4707 {
4708 if (arg3) delete [] arg3;
4709 }
4710 return resultobj;
4711 fail:
4712 {
4713 if (arg3) delete [] arg3;
4714 }
4715 return NULL;
4716 }
4717
4718
4719 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj;
4721 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4722 int arg2 ;
4723 wxRect result;
4724 PyObject * obj0 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "self",(char *) "i", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 result = wxStatusBar_GetFieldRect(arg1,arg2);
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 {
4739 wxRect * resultptr;
4740 resultptr = new wxRect((wxRect &) result);
4741 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4742 }
4743 return resultobj;
4744 fail:
4745 return NULL;
4746 }
4747
4748
4749 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4750 PyObject *resultobj;
4751 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4752 int arg2 ;
4753 PyObject * obj0 = 0 ;
4754 char *kwnames[] = {
4755 (char *) "self",(char *) "height", NULL
4756 };
4757
4758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4760 {
4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
4762 (arg1)->SetMinHeight(arg2);
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) SWIG_fail;
4766 }
4767 Py_INCREF(Py_None); resultobj = Py_None;
4768 return resultobj;
4769 fail:
4770 return NULL;
4771 }
4772
4773
4774 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject *resultobj;
4776 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4777 int result;
4778 PyObject * obj0 = 0 ;
4779 char *kwnames[] = {
4780 (char *) "self", NULL
4781 };
4782
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4785 {
4786 PyThreadState* __tstate = wxPyBeginAllowThreads();
4787 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4788
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = PyInt_FromLong((long)result);
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4802 int result;
4803 PyObject * obj0 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4810 {
4811 PyThreadState* __tstate = wxPyBeginAllowThreads();
4812 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4813
4814 wxPyEndAllowThreads(__tstate);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 }
4817 resultobj = PyInt_FromLong((long)result);
4818 return resultobj;
4819 fail:
4820 return NULL;
4821 }
4822
4823
4824 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4825 PyObject *obj;
4826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4827 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4828 Py_INCREF(obj);
4829 return Py_BuildValue((char *)"");
4830 }
4831 static int _wrap_SplitterNameStr_set(PyObject *_val) {
4832 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
4833 return 1;
4834 }
4835
4836
4837 static PyObject *_wrap_SplitterNameStr_get() {
4838 PyObject *pyobj;
4839
4840 {
4841 #if wxUSE_UNICODE
4842 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4843 #else
4844 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4845 #endif
4846 }
4847 return pyobj;
4848 }
4849
4850
4851 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4852 PyObject *resultobj;
4853 wxWindow *arg1 = (wxWindow *) 0 ;
4854 int arg2 ;
4855 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4856 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4857 wxSize const &arg4_defvalue = wxDefaultSize ;
4858 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4859 long arg5 = (long) wxSP_3D ;
4860 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4861 wxString *arg6 = (wxString *) &arg6_defvalue ;
4862 wxSplitterWindow *result;
4863 wxPoint temp3 ;
4864 wxSize temp4 ;
4865 bool temp6 = False ;
4866 PyObject * obj0 = 0 ;
4867 PyObject * obj2 = 0 ;
4868 PyObject * obj3 = 0 ;
4869 PyObject * obj5 = 0 ;
4870 char *kwnames[] = {
4871 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4872 };
4873
4874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4876 if (obj2) {
4877 {
4878 arg3 = &temp3;
4879 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4880 }
4881 }
4882 if (obj3) {
4883 {
4884 arg4 = &temp4;
4885 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4886 }
4887 }
4888 if (obj5) {
4889 {
4890 arg6 = wxString_in_helper(obj5);
4891 if (arg6 == NULL) SWIG_fail;
4892 temp6 = True;
4893 }
4894 }
4895 {
4896 PyThreadState* __tstate = wxPyBeginAllowThreads();
4897 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4898
4899 wxPyEndAllowThreads(__tstate);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4903 {
4904 if (temp6)
4905 delete arg6;
4906 }
4907 return resultobj;
4908 fail:
4909 {
4910 if (temp6)
4911 delete arg6;
4912 }
4913 return NULL;
4914 }
4915
4916
4917 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4918 PyObject *resultobj;
4919 wxSplitterWindow *result;
4920 char *kwnames[] = {
4921 NULL
4922 };
4923
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4925 {
4926 PyThreadState* __tstate = wxPyBeginAllowThreads();
4927 result = (wxSplitterWindow *)new wxSplitterWindow();
4928
4929 wxPyEndAllowThreads(__tstate);
4930 if (PyErr_Occurred()) SWIG_fail;
4931 }
4932 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4933 return resultobj;
4934 fail:
4935 return NULL;
4936 }
4937
4938
4939 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4940 PyObject *resultobj;
4941 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4942 wxWindow *arg2 = (wxWindow *) 0 ;
4943 int arg3 ;
4944 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4945 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4946 wxSize const &arg5_defvalue = wxDefaultSize ;
4947 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4948 long arg6 = (long) wxSP_3D ;
4949 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4950 wxString *arg7 = (wxString *) &arg7_defvalue ;
4951 bool result;
4952 wxPoint temp4 ;
4953 wxSize temp5 ;
4954 bool temp7 = False ;
4955 PyObject * obj0 = 0 ;
4956 PyObject * obj1 = 0 ;
4957 PyObject * obj3 = 0 ;
4958 PyObject * obj4 = 0 ;
4959 PyObject * obj6 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4962 };
4963
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4967 if (obj3) {
4968 {
4969 arg4 = &temp4;
4970 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4971 }
4972 }
4973 if (obj4) {
4974 {
4975 arg5 = &temp5;
4976 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4977 }
4978 }
4979 if (obj6) {
4980 {
4981 arg7 = wxString_in_helper(obj6);
4982 if (arg7 == NULL) SWIG_fail;
4983 temp7 = True;
4984 }
4985 }
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 resultobj = PyInt_FromLong((long)result);
4994 {
4995 if (temp7)
4996 delete arg7;
4997 }
4998 return resultobj;
4999 fail:
5000 {
5001 if (temp7)
5002 delete arg7;
5003 }
5004 return NULL;
5005 }
5006
5007
5008 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5009 PyObject *resultobj;
5010 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5011 wxWindow *result;
5012 PyObject * obj0 = 0 ;
5013 char *kwnames[] = {
5014 (char *) "self", NULL
5015 };
5016
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5019 {
5020 PyThreadState* __tstate = wxPyBeginAllowThreads();
5021 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5022
5023 wxPyEndAllowThreads(__tstate);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 }
5026 {
5027 resultobj = wxPyMake_wxObject(result);
5028 }
5029 return resultobj;
5030 fail:
5031 return NULL;
5032 }
5033
5034
5035 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5036 PyObject *resultobj;
5037 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5038 wxWindow *result;
5039 PyObject * obj0 = 0 ;
5040 char *kwnames[] = {
5041 (char *) "self", NULL
5042 };
5043
5044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5046 {
5047 PyThreadState* __tstate = wxPyBeginAllowThreads();
5048 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5049
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
5053 {
5054 resultobj = wxPyMake_wxObject(result);
5055 }
5056 return resultobj;
5057 fail:
5058 return NULL;
5059 }
5060
5061
5062 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5063 PyObject *resultobj;
5064 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5065 int arg2 ;
5066 PyObject * obj0 = 0 ;
5067 char *kwnames[] = {
5068 (char *) "self",(char *) "mode", NULL
5069 };
5070
5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
5072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5073 {
5074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5075 (arg1)->SetSplitMode(arg2);
5076
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 Py_INCREF(Py_None); resultobj = Py_None;
5081 return resultobj;
5082 fail:
5083 return NULL;
5084 }
5085
5086
5087 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5088 PyObject *resultobj;
5089 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5090 int result;
5091 PyObject * obj0 = 0 ;
5092 char *kwnames[] = {
5093 (char *) "self", NULL
5094 };
5095
5096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5098 {
5099 PyThreadState* __tstate = wxPyBeginAllowThreads();
5100 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5101
5102 wxPyEndAllowThreads(__tstate);
5103 if (PyErr_Occurred()) SWIG_fail;
5104 }
5105 resultobj = PyInt_FromLong((long)result);
5106 return resultobj;
5107 fail:
5108 return NULL;
5109 }
5110
5111
5112 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5113 PyObject *resultobj;
5114 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5115 wxWindow *arg2 = (wxWindow *) 0 ;
5116 PyObject * obj0 = 0 ;
5117 PyObject * obj1 = 0 ;
5118 char *kwnames[] = {
5119 (char *) "self",(char *) "window", NULL
5120 };
5121
5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5124 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5125 {
5126 PyThreadState* __tstate = wxPyBeginAllowThreads();
5127 (arg1)->Initialize(arg2);
5128
5129 wxPyEndAllowThreads(__tstate);
5130 if (PyErr_Occurred()) SWIG_fail;
5131 }
5132 Py_INCREF(Py_None); resultobj = Py_None;
5133 return resultobj;
5134 fail:
5135 return NULL;
5136 }
5137
5138
5139 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj;
5141 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5142 wxWindow *arg2 = (wxWindow *) 0 ;
5143 wxWindow *arg3 = (wxWindow *) 0 ;
5144 int arg4 = (int) 0 ;
5145 bool result;
5146 PyObject * obj0 = 0 ;
5147 PyObject * obj1 = 0 ;
5148 PyObject * obj2 = 0 ;
5149 char *kwnames[] = {
5150 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5151 };
5152
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5155 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5156 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5157 {
5158 PyThreadState* __tstate = wxPyBeginAllowThreads();
5159 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5160
5161 wxPyEndAllowThreads(__tstate);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 }
5164 resultobj = PyInt_FromLong((long)result);
5165 return resultobj;
5166 fail:
5167 return NULL;
5168 }
5169
5170
5171 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5172 PyObject *resultobj;
5173 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5174 wxWindow *arg2 = (wxWindow *) 0 ;
5175 wxWindow *arg3 = (wxWindow *) 0 ;
5176 int arg4 = (int) 0 ;
5177 bool result;
5178 PyObject * obj0 = 0 ;
5179 PyObject * obj1 = 0 ;
5180 PyObject * obj2 = 0 ;
5181 char *kwnames[] = {
5182 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5183 };
5184
5185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5188 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5189 {
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5192
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 resultobj = PyInt_FromLong((long)result);
5197 return resultobj;
5198 fail:
5199 return NULL;
5200 }
5201
5202
5203 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj;
5205 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5206 wxWindow *arg2 = (wxWindow *) NULL ;
5207 bool result;
5208 PyObject * obj0 = 0 ;
5209 PyObject * obj1 = 0 ;
5210 char *kwnames[] = {
5211 (char *) "self",(char *) "toRemove", NULL
5212 };
5213
5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5216 if (obj1) {
5217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5218 }
5219 {
5220 PyThreadState* __tstate = wxPyBeginAllowThreads();
5221 result = (bool)(arg1)->Unsplit(arg2);
5222
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
5226 resultobj = PyInt_FromLong((long)result);
5227 return resultobj;
5228 fail:
5229 return NULL;
5230 }
5231
5232
5233 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5234 PyObject *resultobj;
5235 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5236 wxWindow *arg2 = (wxWindow *) 0 ;
5237 wxWindow *arg3 = (wxWindow *) 0 ;
5238 bool result;
5239 PyObject * obj0 = 0 ;
5240 PyObject * obj1 = 0 ;
5241 PyObject * obj2 = 0 ;
5242 char *kwnames[] = {
5243 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5244 };
5245
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5249 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 resultobj = PyInt_FromLong((long)result);
5258 return resultobj;
5259 fail:
5260 return NULL;
5261 }
5262
5263
5264 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5265 PyObject *resultobj;
5266 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5267 bool result;
5268 PyObject * obj0 = 0 ;
5269 char *kwnames[] = {
5270 (char *) "self", NULL
5271 };
5272
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
5282 resultobj = PyInt_FromLong((long)result);
5283 return resultobj;
5284 fail:
5285 return NULL;
5286 }
5287
5288
5289 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj;
5291 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5292 int arg2 ;
5293 PyObject * obj0 = 0 ;
5294 char *kwnames[] = {
5295 (char *) "self",(char *) "width", NULL
5296 };
5297
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 (arg1)->SetSashSize(arg2);
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 Py_INCREF(Py_None); resultobj = Py_None;
5308 return resultobj;
5309 fail:
5310 return NULL;
5311 }
5312
5313
5314 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5315 PyObject *resultobj;
5316 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5317 int arg2 ;
5318 PyObject * obj0 = 0 ;
5319 char *kwnames[] = {
5320 (char *) "self",(char *) "width", NULL
5321 };
5322
5323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5325 {
5326 PyThreadState* __tstate = wxPyBeginAllowThreads();
5327 (arg1)->SetBorderSize(arg2);
5328
5329 wxPyEndAllowThreads(__tstate);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 }
5332 Py_INCREF(Py_None); resultobj = Py_None;
5333 return resultobj;
5334 fail:
5335 return NULL;
5336 }
5337
5338
5339 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5340 PyObject *resultobj;
5341 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5342 int result;
5343 PyObject * obj0 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 }
5357 resultobj = PyInt_FromLong((long)result);
5358 return resultobj;
5359 fail:
5360 return NULL;
5361 }
5362
5363
5364 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5365 PyObject *resultobj;
5366 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5367 int result;
5368 PyObject * obj0 = 0 ;
5369 char *kwnames[] = {
5370 (char *) "self", NULL
5371 };
5372
5373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5378
5379 wxPyEndAllowThreads(__tstate);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
5382 resultobj = PyInt_FromLong((long)result);
5383 return resultobj;
5384 fail:
5385 return NULL;
5386 }
5387
5388
5389 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5390 PyObject *resultobj;
5391 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5392 int arg2 ;
5393 bool arg3 = (bool) True ;
5394 PyObject * obj0 = 0 ;
5395 PyObject * obj2 = 0 ;
5396 char *kwnames[] = {
5397 (char *) "self",(char *) "position",(char *) "redraw", NULL
5398 };
5399
5400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5402 if (obj2) {
5403 {
5404 arg3 = (bool) SPyObj_AsBool(obj2);
5405 if (PyErr_Occurred()) SWIG_fail;
5406 }
5407 }
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 (arg1)->SetSashPosition(arg2,arg3);
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 Py_INCREF(Py_None); resultobj = Py_None;
5416 return resultobj;
5417 fail:
5418 return NULL;
5419 }
5420
5421
5422 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5423 PyObject *resultobj;
5424 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5425 int result;
5426 PyObject * obj0 = 0 ;
5427 char *kwnames[] = {
5428 (char *) "self", NULL
5429 };
5430
5431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5433 {
5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
5435 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5436
5437 wxPyEndAllowThreads(__tstate);
5438 if (PyErr_Occurred()) SWIG_fail;
5439 }
5440 resultobj = PyInt_FromLong((long)result);
5441 return resultobj;
5442 fail:
5443 return NULL;
5444 }
5445
5446
5447 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5448 PyObject *resultobj;
5449 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5450 int arg2 ;
5451 PyObject * obj0 = 0 ;
5452 char *kwnames[] = {
5453 (char *) "self",(char *) "min", NULL
5454 };
5455
5456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5458 {
5459 PyThreadState* __tstate = wxPyBeginAllowThreads();
5460 (arg1)->SetMinimumPaneSize(arg2);
5461
5462 wxPyEndAllowThreads(__tstate);
5463 if (PyErr_Occurred()) SWIG_fail;
5464 }
5465 Py_INCREF(Py_None); resultobj = Py_None;
5466 return resultobj;
5467 fail:
5468 return NULL;
5469 }
5470
5471
5472 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5473 PyObject *resultobj;
5474 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5475 int result;
5476 PyObject * obj0 = 0 ;
5477 char *kwnames[] = {
5478 (char *) "self", NULL
5479 };
5480
5481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5486
5487 wxPyEndAllowThreads(__tstate);
5488 if (PyErr_Occurred()) SWIG_fail;
5489 }
5490 resultobj = PyInt_FromLong((long)result);
5491 return resultobj;
5492 fail:
5493 return NULL;
5494 }
5495
5496
5497 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5498 PyObject *resultobj;
5499 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5500 int arg2 ;
5501 int arg3 ;
5502 int arg4 = (int) 5 ;
5503 bool result;
5504 PyObject * obj0 = 0 ;
5505 char *kwnames[] = {
5506 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5507 };
5508
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5511 {
5512 PyThreadState* __tstate = wxPyBeginAllowThreads();
5513 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5514
5515 wxPyEndAllowThreads(__tstate);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 resultobj = PyInt_FromLong((long)result);
5519 return resultobj;
5520 fail:
5521 return NULL;
5522 }
5523
5524
5525 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5526 PyObject *resultobj;
5527 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5528 PyObject * obj0 = 0 ;
5529 char *kwnames[] = {
5530 (char *) "self", NULL
5531 };
5532
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5535 {
5536 PyThreadState* __tstate = wxPyBeginAllowThreads();
5537 (arg1)->SizeWindows();
5538
5539 wxPyEndAllowThreads(__tstate);
5540 if (PyErr_Occurred()) SWIG_fail;
5541 }
5542 Py_INCREF(Py_None); resultobj = Py_None;
5543 return resultobj;
5544 fail:
5545 return NULL;
5546 }
5547
5548
5549 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5550 PyObject *resultobj;
5551 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5552 bool arg2 ;
5553 PyObject * obj0 = 0 ;
5554 PyObject * obj1 = 0 ;
5555 char *kwnames[] = {
5556 (char *) "self",(char *) "needUpdating", NULL
5557 };
5558
5559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5561 {
5562 arg2 = (bool) SPyObj_AsBool(obj1);
5563 if (PyErr_Occurred()) SWIG_fail;
5564 }
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 (arg1)->SetNeedUpdating(arg2);
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 Py_INCREF(Py_None); resultobj = Py_None;
5573 return resultobj;
5574 fail:
5575 return NULL;
5576 }
5577
5578
5579 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5580 PyObject *resultobj;
5581 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5582 bool result;
5583 PyObject * obj0 = 0 ;
5584 char *kwnames[] = {
5585 (char *) "self", NULL
5586 };
5587
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 resultobj = PyInt_FromLong((long)result);
5598 return resultobj;
5599 fail:
5600 return NULL;
5601 }
5602
5603
5604 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5605 PyObject *obj;
5606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5607 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5608 Py_INCREF(obj);
5609 return Py_BuildValue((char *)"");
5610 }
5611 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5612 PyObject *resultobj;
5613 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5614 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5615 wxSplitterEvent *result;
5616 PyObject * obj1 = 0 ;
5617 char *kwnames[] = {
5618 (char *) "type",(char *) "splitter", NULL
5619 };
5620
5621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5622 if (obj1) {
5623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5624 }
5625 {
5626 PyThreadState* __tstate = wxPyBeginAllowThreads();
5627 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5628
5629 wxPyEndAllowThreads(__tstate);
5630 if (PyErr_Occurred()) SWIG_fail;
5631 }
5632 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5633 return resultobj;
5634 fail:
5635 return NULL;
5636 }
5637
5638
5639 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5640 PyObject *resultobj;
5641 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5642 int arg2 ;
5643 PyObject * obj0 = 0 ;
5644 char *kwnames[] = {
5645 (char *) "self",(char *) "pos", NULL
5646 };
5647
5648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 (arg1)->SetSashPosition(arg2);
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
5657 Py_INCREF(Py_None); resultobj = Py_None;
5658 return resultobj;
5659 fail:
5660 return NULL;
5661 }
5662
5663
5664 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5665 PyObject *resultobj;
5666 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5667 int result;
5668 PyObject * obj0 = 0 ;
5669 char *kwnames[] = {
5670 (char *) "self", NULL
5671 };
5672
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5675 {
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5678
5679 wxPyEndAllowThreads(__tstate);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
5682 resultobj = PyInt_FromLong((long)result);
5683 return resultobj;
5684 fail:
5685 return NULL;
5686 }
5687
5688
5689 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5690 PyObject *resultobj;
5691 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5692 wxWindow *result;
5693 PyObject * obj0 = 0 ;
5694 char *kwnames[] = {
5695 (char *) "self", NULL
5696 };
5697
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 {
5708 resultobj = wxPyMake_wxObject(result);
5709 }
5710 return resultobj;
5711 fail:
5712 return NULL;
5713 }
5714
5715
5716 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5717 PyObject *resultobj;
5718 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5719 int result;
5720 PyObject * obj0 = 0 ;
5721 char *kwnames[] = {
5722 (char *) "self", NULL
5723 };
5724
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5727 {
5728 PyThreadState* __tstate = wxPyBeginAllowThreads();
5729 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5730
5731 wxPyEndAllowThreads(__tstate);
5732 if (PyErr_Occurred()) SWIG_fail;
5733 }
5734 resultobj = PyInt_FromLong((long)result);
5735 return resultobj;
5736 fail:
5737 return NULL;
5738 }
5739
5740
5741 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5742 PyObject *resultobj;
5743 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5744 int result;
5745 PyObject * obj0 = 0 ;
5746 char *kwnames[] = {
5747 (char *) "self", NULL
5748 };
5749
5750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5752 {
5753 PyThreadState* __tstate = wxPyBeginAllowThreads();
5754 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5755
5756 wxPyEndAllowThreads(__tstate);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 }
5759 resultobj = PyInt_FromLong((long)result);
5760 return resultobj;
5761 fail:
5762 return NULL;
5763 }
5764
5765
5766 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5767 PyObject *obj;
5768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5769 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5770 Py_INCREF(obj);
5771 return Py_BuildValue((char *)"");
5772 }
5773 static int _wrap_SashNameStr_set(PyObject *_val) {
5774 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
5775 return 1;
5776 }
5777
5778
5779 static PyObject *_wrap_SashNameStr_get() {
5780 PyObject *pyobj;
5781
5782 {
5783 #if wxUSE_UNICODE
5784 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5785 #else
5786 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5787 #endif
5788 }
5789 return pyobj;
5790 }
5791
5792
5793 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
5794 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
5795 return 1;
5796 }
5797
5798
5799 static PyObject *_wrap_SashLayoutNameStr_get() {
5800 PyObject *pyobj;
5801
5802 {
5803 #if wxUSE_UNICODE
5804 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5805 #else
5806 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5807 #endif
5808 }
5809 return pyobj;
5810 }
5811
5812
5813 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5814 PyObject *resultobj;
5815 wxWindow *arg1 = (wxWindow *) 0 ;
5816 int arg2 ;
5817 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5818 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5819 wxSize const &arg4_defvalue = wxDefaultSize ;
5820 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5821 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5822 wxString const &arg6_defvalue = wxPySashNameStr ;
5823 wxString *arg6 = (wxString *) &arg6_defvalue ;
5824 wxSashWindow *result;
5825 wxPoint temp3 ;
5826 wxSize temp4 ;
5827 bool temp6 = False ;
5828 PyObject * obj0 = 0 ;
5829 PyObject * obj2 = 0 ;
5830 PyObject * obj3 = 0 ;
5831 PyObject * obj5 = 0 ;
5832 char *kwnames[] = {
5833 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5834 };
5835
5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5838 if (obj2) {
5839 {
5840 arg3 = &temp3;
5841 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5842 }
5843 }
5844 if (obj3) {
5845 {
5846 arg4 = &temp4;
5847 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5848 }
5849 }
5850 if (obj5) {
5851 {
5852 arg6 = wxString_in_helper(obj5);
5853 if (arg6 == NULL) SWIG_fail;
5854 temp6 = True;
5855 }
5856 }
5857 {
5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
5859 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5860
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5865 {
5866 if (temp6)
5867 delete arg6;
5868 }
5869 return resultobj;
5870 fail:
5871 {
5872 if (temp6)
5873 delete arg6;
5874 }
5875 return NULL;
5876 }
5877
5878
5879 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5880 PyObject *resultobj;
5881 wxSashWindow *result;
5882 char *kwnames[] = {
5883 NULL
5884 };
5885
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5887 {
5888 PyThreadState* __tstate = wxPyBeginAllowThreads();
5889 result = (wxSashWindow *)new wxSashWindow();
5890
5891 wxPyEndAllowThreads(__tstate);
5892 if (PyErr_Occurred()) SWIG_fail;
5893 }
5894 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5895 return resultobj;
5896 fail:
5897 return NULL;
5898 }
5899
5900
5901 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5902 PyObject *resultobj;
5903 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5904 wxWindow *arg2 = (wxWindow *) 0 ;
5905 int arg3 ;
5906 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5907 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5908 wxSize const &arg5_defvalue = wxDefaultSize ;
5909 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5910 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5911 wxString const &arg7_defvalue = wxPySashNameStr ;
5912 wxString *arg7 = (wxString *) &arg7_defvalue ;
5913 bool result;
5914 wxPoint temp4 ;
5915 wxSize temp5 ;
5916 bool temp7 = False ;
5917 PyObject * obj0 = 0 ;
5918 PyObject * obj1 = 0 ;
5919 PyObject * obj3 = 0 ;
5920 PyObject * obj4 = 0 ;
5921 PyObject * obj6 = 0 ;
5922 char *kwnames[] = {
5923 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5924 };
5925
5926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5928 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5929 if (obj3) {
5930 {
5931 arg4 = &temp4;
5932 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5933 }
5934 }
5935 if (obj4) {
5936 {
5937 arg5 = &temp5;
5938 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5939 }
5940 }
5941 if (obj6) {
5942 {
5943 arg7 = wxString_in_helper(obj6);
5944 if (arg7 == NULL) SWIG_fail;
5945 temp7 = True;
5946 }
5947 }
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5951
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 resultobj = PyInt_FromLong((long)result);
5956 {
5957 if (temp7)
5958 delete arg7;
5959 }
5960 return resultobj;
5961 fail:
5962 {
5963 if (temp7)
5964 delete arg7;
5965 }
5966 return NULL;
5967 }
5968
5969
5970 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5971 PyObject *resultobj;
5972 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5973 int arg2 ;
5974 bool arg3 ;
5975 PyObject * obj0 = 0 ;
5976 PyObject * obj2 = 0 ;
5977 char *kwnames[] = {
5978 (char *) "self",(char *) "edge",(char *) "sash", NULL
5979 };
5980
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5983 {
5984 arg3 = (bool) SPyObj_AsBool(obj2);
5985 if (PyErr_Occurred()) SWIG_fail;
5986 }
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 Py_INCREF(Py_None); resultobj = Py_None;
5995 return resultobj;
5996 fail:
5997 return NULL;
5998 }
5999
6000
6001 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj;
6003 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6004 int arg2 ;
6005 bool result;
6006 PyObject * obj0 = 0 ;
6007 char *kwnames[] = {
6008 (char *) "self",(char *) "edge", NULL
6009 };
6010
6011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
6012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 resultobj = PyInt_FromLong((long)result);
6021 return resultobj;
6022 fail:
6023 return NULL;
6024 }
6025
6026
6027 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6028 PyObject *resultobj;
6029 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6030 int arg2 ;
6031 bool arg3 ;
6032 PyObject * obj0 = 0 ;
6033 PyObject * obj2 = 0 ;
6034 char *kwnames[] = {
6035 (char *) "self",(char *) "edge",(char *) "border", NULL
6036 };
6037
6038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
6039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6040 {
6041 arg3 = (bool) SPyObj_AsBool(obj2);
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6047
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 }
6051 Py_INCREF(Py_None); resultobj = Py_None;
6052 return resultobj;
6053 fail:
6054 return NULL;
6055 }
6056
6057
6058 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6059 PyObject *resultobj;
6060 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6061 int arg2 ;
6062 bool result;
6063 PyObject * obj0 = 0 ;
6064 char *kwnames[] = {
6065 (char *) "self",(char *) "edge", NULL
6066 };
6067
6068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
6069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6070 {
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6073
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
6077 resultobj = PyInt_FromLong((long)result);
6078 return resultobj;
6079 fail:
6080 return NULL;
6081 }
6082
6083
6084 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6085 PyObject *resultobj;
6086 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6087 int arg2 ;
6088 int result;
6089 PyObject * obj0 = 0 ;
6090 char *kwnames[] = {
6091 (char *) "self",(char *) "edge", NULL
6092 };
6093
6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
6095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6096 {
6097 PyThreadState* __tstate = wxPyBeginAllowThreads();
6098 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6099
6100 wxPyEndAllowThreads(__tstate);
6101 if (PyErr_Occurred()) SWIG_fail;
6102 }
6103 resultobj = PyInt_FromLong((long)result);
6104 return resultobj;
6105 fail:
6106 return NULL;
6107 }
6108
6109
6110 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6111 PyObject *resultobj;
6112 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6113 int arg2 ;
6114 PyObject * obj0 = 0 ;
6115 char *kwnames[] = {
6116 (char *) "self",(char *) "width", NULL
6117 };
6118
6119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
6120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 (arg1)->SetDefaultBorderSize(arg2);
6124
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 Py_INCREF(Py_None); resultobj = Py_None;
6129 return resultobj;
6130 fail:
6131 return NULL;
6132 }
6133
6134
6135 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6136 PyObject *resultobj;
6137 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6138 int result;
6139 PyObject * obj0 = 0 ;
6140 char *kwnames[] = {
6141 (char *) "self", NULL
6142 };
6143
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6146 {
6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
6148 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6149
6150 wxPyEndAllowThreads(__tstate);
6151 if (PyErr_Occurred()) SWIG_fail;
6152 }
6153 resultobj = PyInt_FromLong((long)result);
6154 return resultobj;
6155 fail:
6156 return NULL;
6157 }
6158
6159
6160 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6161 PyObject *resultobj;
6162 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6163 int arg2 ;
6164 PyObject * obj0 = 0 ;
6165 char *kwnames[] = {
6166 (char *) "self",(char *) "width", NULL
6167 };
6168
6169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6171 {
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 (arg1)->SetExtraBorderSize(arg2);
6174
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 Py_INCREF(Py_None); resultobj = Py_None;
6179 return resultobj;
6180 fail:
6181 return NULL;
6182 }
6183
6184
6185 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6186 PyObject *resultobj;
6187 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6188 int result;
6189 PyObject * obj0 = 0 ;
6190 char *kwnames[] = {
6191 (char *) "self", NULL
6192 };
6193
6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 resultobj = PyInt_FromLong((long)result);
6204 return resultobj;
6205 fail:
6206 return NULL;
6207 }
6208
6209
6210 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6211 PyObject *resultobj;
6212 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6213 int arg2 ;
6214 PyObject * obj0 = 0 ;
6215 char *kwnames[] = {
6216 (char *) "self",(char *) "min", NULL
6217 };
6218
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6221 {
6222 PyThreadState* __tstate = wxPyBeginAllowThreads();
6223 (arg1)->SetMinimumSizeX(arg2);
6224
6225 wxPyEndAllowThreads(__tstate);
6226 if (PyErr_Occurred()) SWIG_fail;
6227 }
6228 Py_INCREF(Py_None); resultobj = Py_None;
6229 return resultobj;
6230 fail:
6231 return NULL;
6232 }
6233
6234
6235 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6236 PyObject *resultobj;
6237 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6238 int arg2 ;
6239 PyObject * obj0 = 0 ;
6240 char *kwnames[] = {
6241 (char *) "self",(char *) "min", NULL
6242 };
6243
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6246 {
6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6248 (arg1)->SetMinimumSizeY(arg2);
6249
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 Py_INCREF(Py_None); resultobj = Py_None;
6254 return resultobj;
6255 fail:
6256 return NULL;
6257 }
6258
6259
6260 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj;
6262 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6263 int result;
6264 PyObject * obj0 = 0 ;
6265 char *kwnames[] = {
6266 (char *) "self", NULL
6267 };
6268
6269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6271 {
6272 PyThreadState* __tstate = wxPyBeginAllowThreads();
6273 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6274
6275 wxPyEndAllowThreads(__tstate);
6276 if (PyErr_Occurred()) SWIG_fail;
6277 }
6278 resultobj = PyInt_FromLong((long)result);
6279 return resultobj;
6280 fail:
6281 return NULL;
6282 }
6283
6284
6285 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6286 PyObject *resultobj;
6287 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6288 int result;
6289 PyObject * obj0 = 0 ;
6290 char *kwnames[] = {
6291 (char *) "self", NULL
6292 };
6293
6294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6296 {
6297 PyThreadState* __tstate = wxPyBeginAllowThreads();
6298 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6299
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 resultobj = PyInt_FromLong((long)result);
6304 return resultobj;
6305 fail:
6306 return NULL;
6307 }
6308
6309
6310 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6311 PyObject *resultobj;
6312 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6313 int arg2 ;
6314 PyObject * obj0 = 0 ;
6315 char *kwnames[] = {
6316 (char *) "self",(char *) "max", NULL
6317 };
6318
6319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6321 {
6322 PyThreadState* __tstate = wxPyBeginAllowThreads();
6323 (arg1)->SetMaximumSizeX(arg2);
6324
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 Py_INCREF(Py_None); resultobj = Py_None;
6329 return resultobj;
6330 fail:
6331 return NULL;
6332 }
6333
6334
6335 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6336 PyObject *resultobj;
6337 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6338 int arg2 ;
6339 PyObject * obj0 = 0 ;
6340 char *kwnames[] = {
6341 (char *) "self",(char *) "max", NULL
6342 };
6343
6344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6346 {
6347 PyThreadState* __tstate = wxPyBeginAllowThreads();
6348 (arg1)->SetMaximumSizeY(arg2);
6349
6350 wxPyEndAllowThreads(__tstate);
6351 if (PyErr_Occurred()) SWIG_fail;
6352 }
6353 Py_INCREF(Py_None); resultobj = Py_None;
6354 return resultobj;
6355 fail:
6356 return NULL;
6357 }
6358
6359
6360 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6361 PyObject *resultobj;
6362 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6363 int result;
6364 PyObject * obj0 = 0 ;
6365 char *kwnames[] = {
6366 (char *) "self", NULL
6367 };
6368
6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6371 {
6372 PyThreadState* __tstate = wxPyBeginAllowThreads();
6373 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6374
6375 wxPyEndAllowThreads(__tstate);
6376 if (PyErr_Occurred()) SWIG_fail;
6377 }
6378 resultobj = PyInt_FromLong((long)result);
6379 return resultobj;
6380 fail:
6381 return NULL;
6382 }
6383
6384
6385 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6386 PyObject *resultobj;
6387 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6388 int result;
6389 PyObject * obj0 = 0 ;
6390 char *kwnames[] = {
6391 (char *) "self", NULL
6392 };
6393
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 resultobj = PyInt_FromLong((long)result);
6404 return resultobj;
6405 fail:
6406 return NULL;
6407 }
6408
6409
6410 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6411 PyObject *resultobj;
6412 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6413 int arg2 ;
6414 int arg3 ;
6415 int arg4 = (int) 2 ;
6416 int result;
6417 PyObject * obj0 = 0 ;
6418 char *kwnames[] = {
6419 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6420 };
6421
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 resultobj = PyInt_FromLong((long)result);
6432 return resultobj;
6433 fail:
6434 return NULL;
6435 }
6436
6437
6438 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6441 PyObject * obj0 = 0 ;
6442 char *kwnames[] = {
6443 (char *) "self", NULL
6444 };
6445
6446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6448 {
6449 PyThreadState* __tstate = wxPyBeginAllowThreads();
6450 (arg1)->SizeWindows();
6451
6452 wxPyEndAllowThreads(__tstate);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 }
6455 Py_INCREF(Py_None); resultobj = Py_None;
6456 return resultobj;
6457 fail:
6458 return NULL;
6459 }
6460
6461
6462 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6463 PyObject *obj;
6464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6465 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6466 Py_INCREF(obj);
6467 return Py_BuildValue((char *)"");
6468 }
6469 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6470 PyObject *resultobj;
6471 int arg1 = (int) 0 ;
6472 int arg2 = (int) wxSASH_NONE ;
6473 wxSashEvent *result;
6474 char *kwnames[] = {
6475 (char *) "id",(char *) "edge", NULL
6476 };
6477
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6479 {
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6482
6483 wxPyEndAllowThreads(__tstate);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 }
6486 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6487 return resultobj;
6488 fail:
6489 return NULL;
6490 }
6491
6492
6493 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6496 int arg2 ;
6497 PyObject * obj0 = 0 ;
6498 char *kwnames[] = {
6499 (char *) "self",(char *) "edge", NULL
6500 };
6501
6502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6507
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 Py_INCREF(Py_None); resultobj = Py_None;
6512 return resultobj;
6513 fail:
6514 return NULL;
6515 }
6516
6517
6518 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6519 PyObject *resultobj;
6520 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6521 int result;
6522 PyObject * obj0 = 0 ;
6523 char *kwnames[] = {
6524 (char *) "self", NULL
6525 };
6526
6527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6529 {
6530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6531 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6532
6533 wxPyEndAllowThreads(__tstate);
6534 if (PyErr_Occurred()) SWIG_fail;
6535 }
6536 resultobj = PyInt_FromLong((long)result);
6537 return resultobj;
6538 fail:
6539 return NULL;
6540 }
6541
6542
6543 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6544 PyObject *resultobj;
6545 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6546 wxRect *arg2 = 0 ;
6547 wxRect temp2 ;
6548 PyObject * obj0 = 0 ;
6549 PyObject * obj1 = 0 ;
6550 char *kwnames[] = {
6551 (char *) "self",(char *) "rect", NULL
6552 };
6553
6554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6556 {
6557 arg2 = &temp2;
6558 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6559 }
6560 {
6561 PyThreadState* __tstate = wxPyBeginAllowThreads();
6562 (arg1)->SetDragRect((wxRect const &)*arg2);
6563
6564 wxPyEndAllowThreads(__tstate);
6565 if (PyErr_Occurred()) SWIG_fail;
6566 }
6567 Py_INCREF(Py_None); resultobj = Py_None;
6568 return resultobj;
6569 fail:
6570 return NULL;
6571 }
6572
6573
6574 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6575 PyObject *resultobj;
6576 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6577 wxRect result;
6578 PyObject * obj0 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "self", NULL
6581 };
6582
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6585 {
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 result = ((wxSashEvent const *)arg1)->GetDragRect();
6588
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 {
6593 wxRect * resultptr;
6594 resultptr = new wxRect((wxRect &) result);
6595 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6596 }
6597 return resultobj;
6598 fail:
6599 return NULL;
6600 }
6601
6602
6603 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6604 PyObject *resultobj;
6605 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6606 int arg2 ;
6607 PyObject * obj0 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "self",(char *) "status", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 Py_INCREF(Py_None); resultobj = Py_None;
6622 return resultobj;
6623 fail:
6624 return NULL;
6625 }
6626
6627
6628 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6629 PyObject *resultobj;
6630 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6631 int result;
6632 PyObject * obj0 = 0 ;
6633 char *kwnames[] = {
6634 (char *) "self", NULL
6635 };
6636
6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6639 {
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6642
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 resultobj = PyInt_FromLong((long)result);
6647 return resultobj;
6648 fail:
6649 return NULL;
6650 }
6651
6652
6653 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6654 PyObject *obj;
6655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6656 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6657 Py_INCREF(obj);
6658 return Py_BuildValue((char *)"");
6659 }
6660 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6661 PyObject *resultobj;
6662 int arg1 = (int) 0 ;
6663 wxQueryLayoutInfoEvent *result;
6664 char *kwnames[] = {
6665 (char *) "id", NULL
6666 };
6667
6668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
6676 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6677 return resultobj;
6678 fail:
6679 return NULL;
6680 }
6681
6682
6683 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6684 PyObject *resultobj;
6685 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6686 int arg2 ;
6687 PyObject * obj0 = 0 ;
6688 char *kwnames[] = {
6689 (char *) "self",(char *) "length", NULL
6690 };
6691
6692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6694 {
6695 PyThreadState* __tstate = wxPyBeginAllowThreads();
6696 (arg1)->SetRequestedLength(arg2);
6697
6698 wxPyEndAllowThreads(__tstate);
6699 if (PyErr_Occurred()) SWIG_fail;
6700 }
6701 Py_INCREF(Py_None); resultobj = Py_None;
6702 return resultobj;
6703 fail:
6704 return NULL;
6705 }
6706
6707
6708 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6709 PyObject *resultobj;
6710 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6711 int result;
6712 PyObject * obj0 = 0 ;
6713 char *kwnames[] = {
6714 (char *) "self", NULL
6715 };
6716
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6722
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 resultobj = PyInt_FromLong((long)result);
6727 return resultobj;
6728 fail:
6729 return NULL;
6730 }
6731
6732
6733 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6734 PyObject *resultobj;
6735 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6736 int arg2 ;
6737 PyObject * obj0 = 0 ;
6738 char *kwnames[] = {
6739 (char *) "self",(char *) "flags", NULL
6740 };
6741
6742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6744 {
6745 PyThreadState* __tstate = wxPyBeginAllowThreads();
6746 (arg1)->SetFlags(arg2);
6747
6748 wxPyEndAllowThreads(__tstate);
6749 if (PyErr_Occurred()) SWIG_fail;
6750 }
6751 Py_INCREF(Py_None); resultobj = Py_None;
6752 return resultobj;
6753 fail:
6754 return NULL;
6755 }
6756
6757
6758 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6759 PyObject *resultobj;
6760 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6761 int result;
6762 PyObject * obj0 = 0 ;
6763 char *kwnames[] = {
6764 (char *) "self", NULL
6765 };
6766
6767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6772
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 resultobj = PyInt_FromLong((long)result);
6777 return resultobj;
6778 fail:
6779 return NULL;
6780 }
6781
6782
6783 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj;
6785 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6786 wxSize *arg2 = 0 ;
6787 wxSize temp2 ;
6788 PyObject * obj0 = 0 ;
6789 PyObject * obj1 = 0 ;
6790 char *kwnames[] = {
6791 (char *) "self",(char *) "size", NULL
6792 };
6793
6794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6796 {
6797 arg2 = &temp2;
6798 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6799 }
6800 {
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 (arg1)->SetSize((wxSize const &)*arg2);
6803
6804 wxPyEndAllowThreads(__tstate);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 }
6807 Py_INCREF(Py_None); resultobj = Py_None;
6808 return resultobj;
6809 fail:
6810 return NULL;
6811 }
6812
6813
6814 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6815 PyObject *resultobj;
6816 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6817 wxSize result;
6818 PyObject * obj0 = 0 ;
6819 char *kwnames[] = {
6820 (char *) "self", NULL
6821 };
6822
6823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6825 {
6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6827 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6828
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 }
6832 {
6833 wxSize * resultptr;
6834 resultptr = new wxSize((wxSize &) result);
6835 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6836 }
6837 return resultobj;
6838 fail:
6839 return NULL;
6840 }
6841
6842
6843 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6844 PyObject *resultobj;
6845 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6846 int arg2 ;
6847 PyObject * obj0 = 0 ;
6848 char *kwnames[] = {
6849 (char *) "self",(char *) "orient", NULL
6850 };
6851
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6857
6858 wxPyEndAllowThreads(__tstate);
6859 if (PyErr_Occurred()) SWIG_fail;
6860 }
6861 Py_INCREF(Py_None); resultobj = Py_None;
6862 return resultobj;
6863 fail:
6864 return NULL;
6865 }
6866
6867
6868 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6869 PyObject *resultobj;
6870 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6871 int result;
6872 PyObject * obj0 = 0 ;
6873 char *kwnames[] = {
6874 (char *) "self", NULL
6875 };
6876
6877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6882
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 resultobj = PyInt_FromLong((long)result);
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj;
6895 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6896 int arg2 ;
6897 PyObject * obj0 = 0 ;
6898 char *kwnames[] = {
6899 (char *) "self",(char *) "align", NULL
6900 };
6901
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 Py_INCREF(Py_None); resultobj = Py_None;
6912 return resultobj;
6913 fail:
6914 return NULL;
6915 }
6916
6917
6918 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6919 PyObject *resultobj;
6920 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6921 int result;
6922 PyObject * obj0 = 0 ;
6923 char *kwnames[] = {
6924 (char *) "self", NULL
6925 };
6926
6927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6932
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 resultobj = PyInt_FromLong((long)result);
6937 return resultobj;
6938 fail:
6939 return NULL;
6940 }
6941
6942
6943 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6944 PyObject *obj;
6945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6946 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6947 Py_INCREF(obj);
6948 return Py_BuildValue((char *)"");
6949 }
6950 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6951 PyObject *resultobj;
6952 int arg1 = (int) 0 ;
6953 wxCalculateLayoutEvent *result;
6954 char *kwnames[] = {
6955 (char *) "id", NULL
6956 };
6957
6958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6962
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
6966 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6967 return resultobj;
6968 fail:
6969 return NULL;
6970 }
6971
6972
6973 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6974 PyObject *resultobj;
6975 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6976 int arg2 ;
6977 PyObject * obj0 = 0 ;
6978 char *kwnames[] = {
6979 (char *) "self",(char *) "flags", NULL
6980 };
6981
6982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6984 {
6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
6986 (arg1)->SetFlags(arg2);
6987
6988 wxPyEndAllowThreads(__tstate);
6989 if (PyErr_Occurred()) SWIG_fail;
6990 }
6991 Py_INCREF(Py_None); resultobj = Py_None;
6992 return resultobj;
6993 fail:
6994 return NULL;
6995 }
6996
6997
6998 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6999 PyObject *resultobj;
7000 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7001 int result;
7002 PyObject * obj0 = 0 ;
7003 char *kwnames[] = {
7004 (char *) "self", NULL
7005 };
7006
7007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 resultobj = PyInt_FromLong((long)result);
7017 return resultobj;
7018 fail:
7019 return NULL;
7020 }
7021
7022
7023 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7024 PyObject *resultobj;
7025 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7026 wxRect *arg2 = 0 ;
7027 wxRect temp2 ;
7028 PyObject * obj0 = 0 ;
7029 PyObject * obj1 = 0 ;
7030 char *kwnames[] = {
7031 (char *) "self",(char *) "rect", NULL
7032 };
7033
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7036 {
7037 arg2 = &temp2;
7038 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7039 }
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 (arg1)->SetRect((wxRect const &)*arg2);
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 Py_INCREF(Py_None); resultobj = Py_None;
7048 return resultobj;
7049 fail:
7050 return NULL;
7051 }
7052
7053
7054 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7055 PyObject *resultobj;
7056 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7057 wxRect result;
7058 PyObject * obj0 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "self", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 {
7073 wxRect * resultptr;
7074 resultptr = new wxRect((wxRect &) result);
7075 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7076 }
7077 return resultobj;
7078 fail:
7079 return NULL;
7080 }
7081
7082
7083 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7084 PyObject *obj;
7085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7086 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7087 Py_INCREF(obj);
7088 return Py_BuildValue((char *)"");
7089 }
7090 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7091 PyObject *resultobj;
7092 wxWindow *arg1 = (wxWindow *) 0 ;
7093 int arg2 ;
7094 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7095 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7096 wxSize const &arg4_defvalue = wxDefaultSize ;
7097 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7098 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7099 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7100 wxString *arg6 = (wxString *) &arg6_defvalue ;
7101 wxSashLayoutWindow *result;
7102 wxPoint temp3 ;
7103 wxSize temp4 ;
7104 bool temp6 = False ;
7105 PyObject * obj0 = 0 ;
7106 PyObject * obj2 = 0 ;
7107 PyObject * obj3 = 0 ;
7108 PyObject * obj5 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7115 if (obj2) {
7116 {
7117 arg3 = &temp3;
7118 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7119 }
7120 }
7121 if (obj3) {
7122 {
7123 arg4 = &temp4;
7124 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7125 }
7126 }
7127 if (obj5) {
7128 {
7129 arg6 = wxString_in_helper(obj5);
7130 if (arg6 == NULL) SWIG_fail;
7131 temp6 = True;
7132 }
7133 }
7134 {
7135 PyThreadState* __tstate = wxPyBeginAllowThreads();
7136 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7137
7138 wxPyEndAllowThreads(__tstate);
7139 if (PyErr_Occurred()) SWIG_fail;
7140 }
7141 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7142 {
7143 if (temp6)
7144 delete arg6;
7145 }
7146 return resultobj;
7147 fail:
7148 {
7149 if (temp6)
7150 delete arg6;
7151 }
7152 return NULL;
7153 }
7154
7155
7156 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7157 PyObject *resultobj;
7158 wxSashLayoutWindow *result;
7159 char *kwnames[] = {
7160 NULL
7161 };
7162
7163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7164 {
7165 PyThreadState* __tstate = wxPyBeginAllowThreads();
7166 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7167
7168 wxPyEndAllowThreads(__tstate);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 }
7171 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7172 return resultobj;
7173 fail:
7174 return NULL;
7175 }
7176
7177
7178 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7179 PyObject *resultobj;
7180 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7181 wxWindow *arg2 = (wxWindow *) 0 ;
7182 int arg3 ;
7183 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7184 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7185 wxSize const &arg5_defvalue = wxDefaultSize ;
7186 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7187 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7188 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7189 wxString *arg7 = (wxString *) &arg7_defvalue ;
7190 bool result;
7191 wxPoint temp4 ;
7192 wxSize temp5 ;
7193 bool temp7 = False ;
7194 PyObject * obj0 = 0 ;
7195 PyObject * obj1 = 0 ;
7196 PyObject * obj3 = 0 ;
7197 PyObject * obj4 = 0 ;
7198 PyObject * obj6 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7206 if (obj3) {
7207 {
7208 arg4 = &temp4;
7209 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7210 }
7211 }
7212 if (obj4) {
7213 {
7214 arg5 = &temp5;
7215 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7216 }
7217 }
7218 if (obj6) {
7219 {
7220 arg7 = wxString_in_helper(obj6);
7221 if (arg7 == NULL) SWIG_fail;
7222 temp7 = True;
7223 }
7224 }
7225 {
7226 PyThreadState* __tstate = wxPyBeginAllowThreads();
7227 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7228
7229 wxPyEndAllowThreads(__tstate);
7230 if (PyErr_Occurred()) SWIG_fail;
7231 }
7232 resultobj = PyInt_FromLong((long)result);
7233 {
7234 if (temp7)
7235 delete arg7;
7236 }
7237 return resultobj;
7238 fail:
7239 {
7240 if (temp7)
7241 delete arg7;
7242 }
7243 return NULL;
7244 }
7245
7246
7247 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7248 PyObject *resultobj;
7249 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7250 int result;
7251 PyObject * obj0 = 0 ;
7252 char *kwnames[] = {
7253 (char *) "self", NULL
7254 };
7255
7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 result = (int)(arg1)->GetAlignment();
7261
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 resultobj = PyInt_FromLong((long)result);
7266 return resultobj;
7267 fail:
7268 return NULL;
7269 }
7270
7271
7272 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7273 PyObject *resultobj;
7274 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7275 int result;
7276 PyObject * obj0 = 0 ;
7277 char *kwnames[] = {
7278 (char *) "self", NULL
7279 };
7280
7281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 result = (int)(arg1)->GetOrientation();
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 resultobj = PyInt_FromLong((long)result);
7291 return resultobj;
7292 fail:
7293 return NULL;
7294 }
7295
7296
7297 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj;
7299 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7300 int arg2 ;
7301 PyObject * obj0 = 0 ;
7302 char *kwnames[] = {
7303 (char *) "self",(char *) "alignment", NULL
7304 };
7305
7306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 Py_INCREF(Py_None); resultobj = Py_None;
7316 return resultobj;
7317 fail:
7318 return NULL;
7319 }
7320
7321
7322 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7323 PyObject *resultobj;
7324 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7325 wxSize *arg2 = 0 ;
7326 wxSize temp2 ;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
7329 char *kwnames[] = {
7330 (char *) "self",(char *) "size", NULL
7331 };
7332
7333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7335 {
7336 arg2 = &temp2;
7337 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7338 }
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
7346 Py_INCREF(Py_None); resultobj = Py_None;
7347 return resultobj;
7348 fail:
7349 return NULL;
7350 }
7351
7352
7353 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7354 PyObject *resultobj;
7355 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7356 int arg2 ;
7357 PyObject * obj0 = 0 ;
7358 char *kwnames[] = {
7359 (char *) "self",(char *) "orientation", NULL
7360 };
7361
7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7364 {
7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7366 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7367
7368 wxPyEndAllowThreads(__tstate);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 }
7371 Py_INCREF(Py_None); resultobj = Py_None;
7372 return resultobj;
7373 fail:
7374 return NULL;
7375 }
7376
7377
7378 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7379 PyObject *obj;
7380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7381 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7382 Py_INCREF(obj);
7383 return Py_BuildValue((char *)"");
7384 }
7385 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj;
7387 wxLayoutAlgorithm *result;
7388 char *kwnames[] = {
7389 NULL
7390 };
7391
7392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7393 {
7394 PyThreadState* __tstate = wxPyBeginAllowThreads();
7395 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7396
7397 wxPyEndAllowThreads(__tstate);
7398 if (PyErr_Occurred()) SWIG_fail;
7399 }
7400 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7401 return resultobj;
7402 fail:
7403 return NULL;
7404 }
7405
7406
7407 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7408 PyObject *resultobj;
7409 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7410 PyObject * obj0 = 0 ;
7411 char *kwnames[] = {
7412 (char *) "self", NULL
7413 };
7414
7415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 delete arg1;
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 Py_INCREF(Py_None); resultobj = Py_None;
7425 return resultobj;
7426 fail:
7427 return NULL;
7428 }
7429
7430
7431 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7432 PyObject *resultobj;
7433 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7434 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7435 wxRect *arg3 = (wxRect *) NULL ;
7436 bool result;
7437 PyObject * obj0 = 0 ;
7438 PyObject * obj1 = 0 ;
7439 PyObject * obj2 = 0 ;
7440 char *kwnames[] = {
7441 (char *) "self",(char *) "frame",(char *) "rect", NULL
7442 };
7443
7444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7447 if (obj2) {
7448 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7449 }
7450 {
7451 PyThreadState* __tstate = wxPyBeginAllowThreads();
7452 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7453
7454 wxPyEndAllowThreads(__tstate);
7455 if (PyErr_Occurred()) SWIG_fail;
7456 }
7457 resultobj = PyInt_FromLong((long)result);
7458 return resultobj;
7459 fail:
7460 return NULL;
7461 }
7462
7463
7464 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7465 PyObject *resultobj;
7466 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7467 wxFrame *arg2 = (wxFrame *) 0 ;
7468 wxWindow *arg3 = (wxWindow *) NULL ;
7469 bool result;
7470 PyObject * obj0 = 0 ;
7471 PyObject * obj1 = 0 ;
7472 PyObject * obj2 = 0 ;
7473 char *kwnames[] = {
7474 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7475 };
7476
7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7479 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7480 if (obj2) {
7481 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7482 }
7483 {
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7486
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 resultobj = PyInt_FromLong((long)result);
7491 return resultobj;
7492 fail:
7493 return NULL;
7494 }
7495
7496
7497 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7498 PyObject *resultobj;
7499 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7500 wxWindow *arg2 = (wxWindow *) 0 ;
7501 wxWindow *arg3 = (wxWindow *) NULL ;
7502 bool result;
7503 PyObject * obj0 = 0 ;
7504 PyObject * obj1 = 0 ;
7505 PyObject * obj2 = 0 ;
7506 char *kwnames[] = {
7507 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7508 };
7509
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7513 if (obj2) {
7514 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7515 }
7516 {
7517 PyThreadState* __tstate = wxPyBeginAllowThreads();
7518 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7519
7520 wxPyEndAllowThreads(__tstate);
7521 if (PyErr_Occurred()) SWIG_fail;
7522 }
7523 resultobj = PyInt_FromLong((long)result);
7524 return resultobj;
7525 fail:
7526 return NULL;
7527 }
7528
7529
7530 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7531 PyObject *obj;
7532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7533 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7534 Py_INCREF(obj);
7535 return Py_BuildValue((char *)"");
7536 }
7537 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7538 PyObject *resultobj;
7539 wxWindow *arg1 = (wxWindow *) 0 ;
7540 int arg2 = (int) wxBORDER_NONE ;
7541 wxPopupWindow *result;
7542 PyObject * obj0 = 0 ;
7543 char *kwnames[] = {
7544 (char *) "parent",(char *) "flags", NULL
7545 };
7546
7547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7549 {
7550 PyThreadState* __tstate = wxPyBeginAllowThreads();
7551 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7552
7553 wxPyEndAllowThreads(__tstate);
7554 if (PyErr_Occurred()) SWIG_fail;
7555 }
7556 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7557 return resultobj;
7558 fail:
7559 return NULL;
7560 }
7561
7562
7563 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7564 PyObject *resultobj;
7565 wxPopupWindow *result;
7566 char *kwnames[] = {
7567 NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (wxPopupWindow *)new wxPopupWindow();
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7579 return resultobj;
7580 fail:
7581 return NULL;
7582 }
7583
7584
7585 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7586 PyObject *resultobj;
7587 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7588 wxWindow *arg2 = (wxWindow *) 0 ;
7589 int arg3 = (int) wxBORDER_NONE ;
7590 bool result;
7591 PyObject * obj0 = 0 ;
7592 PyObject * obj1 = 0 ;
7593 char *kwnames[] = {
7594 (char *) "self",(char *) "parent",(char *) "flags", NULL
7595 };
7596
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 result = (bool)(arg1)->Create(arg2,arg3);
7603
7604 wxPyEndAllowThreads(__tstate);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 }
7607 resultobj = PyInt_FromLong((long)result);
7608 return resultobj;
7609 fail:
7610 return NULL;
7611 }
7612
7613
7614 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7615 PyObject *resultobj;
7616 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7617 wxPoint *arg2 = 0 ;
7618 wxSize *arg3 = 0 ;
7619 wxPoint temp2 ;
7620 wxSize temp3 ;
7621 PyObject * obj0 = 0 ;
7622 PyObject * obj1 = 0 ;
7623 PyObject * obj2 = 0 ;
7624 char *kwnames[] = {
7625 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7626 };
7627
7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7630 {
7631 arg2 = &temp2;
7632 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7633 }
7634 {
7635 arg3 = &temp3;
7636 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7637 }
7638 {
7639 PyThreadState* __tstate = wxPyBeginAllowThreads();
7640 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7641
7642 wxPyEndAllowThreads(__tstate);
7643 if (PyErr_Occurred()) SWIG_fail;
7644 }
7645 Py_INCREF(Py_None); resultobj = Py_None;
7646 return resultobj;
7647 fail:
7648 return NULL;
7649 }
7650
7651
7652 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7653 PyObject *obj;
7654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7655 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7656 Py_INCREF(obj);
7657 return Py_BuildValue((char *)"");
7658 }
7659 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7660 PyObject *resultobj;
7661 wxWindow *arg1 = (wxWindow *) 0 ;
7662 int arg2 = (int) wxBORDER_NONE ;
7663 wxPyPopupTransientWindow *result;
7664 PyObject * obj0 = 0 ;
7665 char *kwnames[] = {
7666 (char *) "parent",(char *) "style", NULL
7667 };
7668
7669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7674
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
7678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7679 return resultobj;
7680 fail:
7681 return NULL;
7682 }
7683
7684
7685 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7686 PyObject *resultobj;
7687 wxPyPopupTransientWindow *result;
7688 char *kwnames[] = {
7689 NULL
7690 };
7691
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7696
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7701 return resultobj;
7702 fail:
7703 return NULL;
7704 }
7705
7706
7707 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7708 PyObject *resultobj;
7709 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7710 PyObject *arg2 = (PyObject *) 0 ;
7711 PyObject *arg3 = (PyObject *) 0 ;
7712 PyObject * obj0 = 0 ;
7713 PyObject * obj1 = 0 ;
7714 PyObject * obj2 = 0 ;
7715 char *kwnames[] = {
7716 (char *) "self",(char *) "self",(char *) "_class", NULL
7717 };
7718
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7721 arg2 = obj1;
7722 arg3 = obj2;
7723 {
7724 PyThreadState* __tstate = wxPyBeginAllowThreads();
7725 (arg1)->_setCallbackInfo(arg2,arg3);
7726
7727 wxPyEndAllowThreads(__tstate);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 }
7730 Py_INCREF(Py_None); resultobj = Py_None;
7731 return resultobj;
7732 fail:
7733 return NULL;
7734 }
7735
7736
7737 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7738 PyObject *resultobj;
7739 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7740 wxWindow *arg2 = (wxWindow *) NULL ;
7741 PyObject * obj0 = 0 ;
7742 PyObject * obj1 = 0 ;
7743 char *kwnames[] = {
7744 (char *) "self",(char *) "focus", NULL
7745 };
7746
7747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7749 if (obj1) {
7750 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7751 }
7752 {
7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
7754 (arg1)->Popup(arg2);
7755
7756 wxPyEndAllowThreads(__tstate);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 }
7759 Py_INCREF(Py_None); resultobj = Py_None;
7760 return resultobj;
7761 fail:
7762 return NULL;
7763 }
7764
7765
7766 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7767 PyObject *resultobj;
7768 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7769 PyObject * obj0 = 0 ;
7770 char *kwnames[] = {
7771 (char *) "self", NULL
7772 };
7773
7774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7776 {
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 (arg1)->Dismiss();
7779
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 Py_INCREF(Py_None); resultobj = Py_None;
7784 return resultobj;
7785 fail:
7786 return NULL;
7787 }
7788
7789
7790 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7791 PyObject *obj;
7792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7793 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7794 Py_INCREF(obj);
7795 return Py_BuildValue((char *)"");
7796 }
7797 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxWindow *arg1 = (wxWindow *) 0 ;
7800 wxString *arg2 = 0 ;
7801 int arg3 = (int) 100 ;
7802 wxRect *arg4 = (wxRect *) NULL ;
7803 wxTipWindow *result;
7804 bool temp2 = False ;
7805 PyObject * obj0 = 0 ;
7806 PyObject * obj1 = 0 ;
7807 PyObject * obj3 = 0 ;
7808 char *kwnames[] = {
7809 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7810 };
7811
7812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7814 {
7815 arg2 = wxString_in_helper(obj1);
7816 if (arg2 == NULL) SWIG_fail;
7817 temp2 = True;
7818 }
7819 if (obj3) {
7820 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7821 }
7822 {
7823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7824 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7825
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7830 {
7831 if (temp2)
7832 delete arg2;
7833 }
7834 return resultobj;
7835 fail:
7836 {
7837 if (temp2)
7838 delete arg2;
7839 }
7840 return NULL;
7841 }
7842
7843
7844 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7845 PyObject *resultobj;
7846 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7847 wxRect *arg2 = 0 ;
7848 wxRect temp2 ;
7849 PyObject * obj0 = 0 ;
7850 PyObject * obj1 = 0 ;
7851 char *kwnames[] = {
7852 (char *) "self",(char *) "rectBound", NULL
7853 };
7854
7855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7857 {
7858 arg2 = &temp2;
7859 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7860 }
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 Py_INCREF(Py_None); resultobj = Py_None;
7869 return resultobj;
7870 fail:
7871 return NULL;
7872 }
7873
7874
7875 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7878 PyObject * obj0 = 0 ;
7879 char *kwnames[] = {
7880 (char *) "self", NULL
7881 };
7882
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 (arg1)->Close();
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 Py_INCREF(Py_None); resultobj = Py_None;
7893 return resultobj;
7894 fail:
7895 return NULL;
7896 }
7897
7898
7899 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7900 PyObject *obj;
7901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7902 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7903 Py_INCREF(obj);
7904 return Py_BuildValue((char *)"");
7905 }
7906 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7907 PyObject *resultobj;
7908 wxWindow *arg1 = (wxWindow *) 0 ;
7909 int arg2 = (int) wxID_ANY ;
7910 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7911 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7912 wxSize const &arg4_defvalue = wxDefaultSize ;
7913 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7914 long arg5 = (long) 0 ;
7915 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7916 wxString *arg6 = (wxString *) &arg6_defvalue ;
7917 wxPyVScrolledWindow *result;
7918 wxPoint temp3 ;
7919 wxSize temp4 ;
7920 bool temp6 = False ;
7921 PyObject * obj0 = 0 ;
7922 PyObject * obj2 = 0 ;
7923 PyObject * obj3 = 0 ;
7924 PyObject * obj5 = 0 ;
7925 char *kwnames[] = {
7926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7927 };
7928
7929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7931 if (obj2) {
7932 {
7933 arg3 = &temp3;
7934 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7935 }
7936 }
7937 if (obj3) {
7938 {
7939 arg4 = &temp4;
7940 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7941 }
7942 }
7943 if (obj5) {
7944 {
7945 arg6 = wxString_in_helper(obj5);
7946 if (arg6 == NULL) SWIG_fail;
7947 temp6 = True;
7948 }
7949 }
7950 {
7951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7952 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7953
7954 wxPyEndAllowThreads(__tstate);
7955 if (PyErr_Occurred()) SWIG_fail;
7956 }
7957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7958 {
7959 if (temp6)
7960 delete arg6;
7961 }
7962 return resultobj;
7963 fail:
7964 {
7965 if (temp6)
7966 delete arg6;
7967 }
7968 return NULL;
7969 }
7970
7971
7972 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7973 PyObject *resultobj;
7974 wxPyVScrolledWindow *result;
7975 char *kwnames[] = {
7976 NULL
7977 };
7978
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7988 return resultobj;
7989 fail:
7990 return NULL;
7991 }
7992
7993
7994 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7995 PyObject *resultobj;
7996 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7997 PyObject *arg2 = (PyObject *) 0 ;
7998 PyObject *arg3 = (PyObject *) 0 ;
7999 PyObject * obj0 = 0 ;
8000 PyObject * obj1 = 0 ;
8001 PyObject * obj2 = 0 ;
8002 char *kwnames[] = {
8003 (char *) "self",(char *) "self",(char *) "_class", NULL
8004 };
8005
8006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8008 arg2 = obj1;
8009 arg3 = obj2;
8010 {
8011 PyThreadState* __tstate = wxPyBeginAllowThreads();
8012 (arg1)->_setCallbackInfo(arg2,arg3);
8013
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 Py_INCREF(Py_None); resultobj = Py_None;
8018 return resultobj;
8019 fail:
8020 return NULL;
8021 }
8022
8023
8024 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8025 PyObject *resultobj;
8026 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8027 wxWindow *arg2 = (wxWindow *) 0 ;
8028 int arg3 = (int) wxID_ANY ;
8029 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8030 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8031 wxSize const &arg5_defvalue = wxDefaultSize ;
8032 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8033 long arg6 = (long) 0 ;
8034 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8035 wxString *arg7 = (wxString *) &arg7_defvalue ;
8036 bool result;
8037 wxPoint temp4 ;
8038 wxSize temp5 ;
8039 bool temp7 = False ;
8040 PyObject * obj0 = 0 ;
8041 PyObject * obj1 = 0 ;
8042 PyObject * obj3 = 0 ;
8043 PyObject * obj4 = 0 ;
8044 PyObject * obj6 = 0 ;
8045 char *kwnames[] = {
8046 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8047 };
8048
8049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8051 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8052 if (obj3) {
8053 {
8054 arg4 = &temp4;
8055 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8056 }
8057 }
8058 if (obj4) {
8059 {
8060 arg5 = &temp5;
8061 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8062 }
8063 }
8064 if (obj6) {
8065 {
8066 arg7 = wxString_in_helper(obj6);
8067 if (arg7 == NULL) SWIG_fail;
8068 temp7 = True;
8069 }
8070 }
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 resultobj = PyInt_FromLong((long)result);
8079 {
8080 if (temp7)
8081 delete arg7;
8082 }
8083 return resultobj;
8084 fail:
8085 {
8086 if (temp7)
8087 delete arg7;
8088 }
8089 return NULL;
8090 }
8091
8092
8093 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8094 PyObject *resultobj;
8095 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8096 size_t arg2 ;
8097 PyObject * obj0 = 0 ;
8098 PyObject * obj1 = 0 ;
8099 char *kwnames[] = {
8100 (char *) "self",(char *) "count", NULL
8101 };
8102
8103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8105 {
8106 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8107 if (PyErr_Occurred()) SWIG_fail;
8108 }
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 (arg1)->SetLineCount(arg2);
8112
8113 wxPyEndAllowThreads(__tstate);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 }
8116 Py_INCREF(Py_None); resultobj = Py_None;
8117 return resultobj;
8118 fail:
8119 return NULL;
8120 }
8121
8122
8123 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8124 PyObject *resultobj;
8125 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8126 size_t arg2 ;
8127 bool result;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self",(char *) "line", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8136 {
8137 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 {
8141 PyThreadState* __tstate = wxPyBeginAllowThreads();
8142 result = (bool)(arg1)->ScrollToLine(arg2);
8143
8144 wxPyEndAllowThreads(__tstate);
8145 if (PyErr_Occurred()) SWIG_fail;
8146 }
8147 resultobj = PyInt_FromLong((long)result);
8148 return resultobj;
8149 fail:
8150 return NULL;
8151 }
8152
8153
8154 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8155 PyObject *resultobj;
8156 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8157 int arg2 ;
8158 bool result;
8159 PyObject * obj0 = 0 ;
8160 char *kwnames[] = {
8161 (char *) "self",(char *) "lines", NULL
8162 };
8163
8164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
8165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8166 {
8167 PyThreadState* __tstate = wxPyBeginAllowThreads();
8168 result = (bool)(arg1)->ScrollLines(arg2);
8169
8170 wxPyEndAllowThreads(__tstate);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 resultobj = PyInt_FromLong((long)result);
8174 return resultobj;
8175 fail:
8176 return NULL;
8177 }
8178
8179
8180 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8181 PyObject *resultobj;
8182 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8183 int arg2 ;
8184 bool result;
8185 PyObject * obj0 = 0 ;
8186 char *kwnames[] = {
8187 (char *) "self",(char *) "pages", NULL
8188 };
8189
8190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
8191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8192 {
8193 PyThreadState* __tstate = wxPyBeginAllowThreads();
8194 result = (bool)(arg1)->ScrollPages(arg2);
8195
8196 wxPyEndAllowThreads(__tstate);
8197 if (PyErr_Occurred()) SWIG_fail;
8198 }
8199 resultobj = PyInt_FromLong((long)result);
8200 return resultobj;
8201 fail:
8202 return NULL;
8203 }
8204
8205
8206 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8207 PyObject *resultobj;
8208 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8209 size_t arg2 ;
8210 PyObject * obj0 = 0 ;
8211 PyObject * obj1 = 0 ;
8212 char *kwnames[] = {
8213 (char *) "self",(char *) "line", NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8218 {
8219 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 {
8223 PyThreadState* __tstate = wxPyBeginAllowThreads();
8224 (arg1)->RefreshLine(arg2);
8225
8226 wxPyEndAllowThreads(__tstate);
8227 if (PyErr_Occurred()) SWIG_fail;
8228 }
8229 Py_INCREF(Py_None); resultobj = Py_None;
8230 return resultobj;
8231 fail:
8232 return NULL;
8233 }
8234
8235
8236 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8237 PyObject *resultobj;
8238 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8239 size_t arg2 ;
8240 size_t arg3 ;
8241 PyObject * obj0 = 0 ;
8242 PyObject * obj1 = 0 ;
8243 PyObject * obj2 = 0 ;
8244 char *kwnames[] = {
8245 (char *) "self",(char *) "from",(char *) "to", NULL
8246 };
8247
8248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8250 {
8251 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8252 if (PyErr_Occurred()) SWIG_fail;
8253 }
8254 {
8255 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 {
8259 PyThreadState* __tstate = wxPyBeginAllowThreads();
8260 (arg1)->RefreshLines(arg2,arg3);
8261
8262 wxPyEndAllowThreads(__tstate);
8263 if (PyErr_Occurred()) SWIG_fail;
8264 }
8265 Py_INCREF(Py_None); resultobj = Py_None;
8266 return resultobj;
8267 fail:
8268 return NULL;
8269 }
8270
8271
8272 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8273 PyObject *resultobj;
8274 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8275 int arg2 ;
8276 int arg3 ;
8277 int result;
8278 PyObject * obj0 = 0 ;
8279 char *kwnames[] = {
8280 (char *) "self",(char *) "x",(char *) "y", NULL
8281 };
8282
8283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 resultobj = PyInt_FromLong((long)result);
8293 return resultobj;
8294 fail:
8295 return NULL;
8296 }
8297
8298
8299 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8300 PyObject *resultobj;
8301 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8302 wxPoint *arg2 = 0 ;
8303 int result;
8304 wxPoint temp2 ;
8305 PyObject * obj0 = 0 ;
8306 PyObject * obj1 = 0 ;
8307 char *kwnames[] = {
8308 (char *) "self",(char *) "pt", NULL
8309 };
8310
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8313 {
8314 arg2 = &temp2;
8315 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8316 }
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8320
8321 wxPyEndAllowThreads(__tstate);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
8324 resultobj = PyInt_FromLong((long)result);
8325 return resultobj;
8326 fail:
8327 return NULL;
8328 }
8329
8330
8331 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8332 PyObject *resultobj;
8333 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8334 PyObject * obj0 = 0 ;
8335 char *kwnames[] = {
8336 (char *) "self", NULL
8337 };
8338
8339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8341 {
8342 PyThreadState* __tstate = wxPyBeginAllowThreads();
8343 (arg1)->RefreshAll();
8344
8345 wxPyEndAllowThreads(__tstate);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 }
8348 Py_INCREF(Py_None); resultobj = Py_None;
8349 return resultobj;
8350 fail:
8351 return NULL;
8352 }
8353
8354
8355 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8356 PyObject *resultobj;
8357 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8358 size_t result;
8359 PyObject * obj0 = 0 ;
8360 char *kwnames[] = {
8361 (char *) "self", NULL
8362 };
8363
8364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8366 {
8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
8368 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8369
8370 wxPyEndAllowThreads(__tstate);
8371 if (PyErr_Occurred()) SWIG_fail;
8372 }
8373 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8374 return resultobj;
8375 fail:
8376 return NULL;
8377 }
8378
8379
8380 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8381 PyObject *resultobj;
8382 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8383 size_t result;
8384 PyObject * obj0 = 0 ;
8385 char *kwnames[] = {
8386 (char *) "self", NULL
8387 };
8388
8389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8399 return resultobj;
8400 fail:
8401 return NULL;
8402 }
8403
8404
8405 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj;
8407 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8408 size_t result;
8409 PyObject * obj0 = 0 ;
8410 char *kwnames[] = {
8411 (char *) "self", NULL
8412 };
8413
8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8419
8420 wxPyEndAllowThreads(__tstate);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
8423 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8424 return resultobj;
8425 fail:
8426 return NULL;
8427 }
8428
8429
8430 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8431 PyObject *resultobj;
8432 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8433 size_t arg2 ;
8434 bool result;
8435 PyObject * obj0 = 0 ;
8436 PyObject * obj1 = 0 ;
8437 char *kwnames[] = {
8438 (char *) "self",(char *) "line", NULL
8439 };
8440
8441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8443 {
8444 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 {
8448 PyThreadState* __tstate = wxPyBeginAllowThreads();
8449 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8450
8451 wxPyEndAllowThreads(__tstate);
8452 if (PyErr_Occurred()) SWIG_fail;
8453 }
8454 resultobj = PyInt_FromLong((long)result);
8455 return resultobj;
8456 fail:
8457 return NULL;
8458 }
8459
8460
8461 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8462 PyObject *obj;
8463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8464 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8465 Py_INCREF(obj);
8466 return Py_BuildValue((char *)"");
8467 }
8468 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
8469 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
8470 return 1;
8471 }
8472
8473
8474 static PyObject *_wrap_VListBoxNameStr_get() {
8475 PyObject *pyobj;
8476
8477 {
8478 #if wxUSE_UNICODE
8479 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8480 #else
8481 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8482 #endif
8483 }
8484 return pyobj;
8485 }
8486
8487
8488 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8489 PyObject *resultobj;
8490 wxWindow *arg1 = (wxWindow *) 0 ;
8491 int arg2 = (int) wxID_ANY ;
8492 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8493 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8494 wxSize const &arg4_defvalue = wxDefaultSize ;
8495 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8496 long arg5 = (long) 0 ;
8497 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8498 wxString *arg6 = (wxString *) &arg6_defvalue ;
8499 wxPyVListBox *result;
8500 wxPoint temp3 ;
8501 wxSize temp4 ;
8502 bool temp6 = False ;
8503 PyObject * obj0 = 0 ;
8504 PyObject * obj2 = 0 ;
8505 PyObject * obj3 = 0 ;
8506 PyObject * obj5 = 0 ;
8507 char *kwnames[] = {
8508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8509 };
8510
8511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8513 if (obj2) {
8514 {
8515 arg3 = &temp3;
8516 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8517 }
8518 }
8519 if (obj3) {
8520 {
8521 arg4 = &temp4;
8522 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8523 }
8524 }
8525 if (obj5) {
8526 {
8527 arg6 = wxString_in_helper(obj5);
8528 if (arg6 == NULL) SWIG_fail;
8529 temp6 = True;
8530 }
8531 }
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8540 {
8541 if (temp6)
8542 delete arg6;
8543 }
8544 return resultobj;
8545 fail:
8546 {
8547 if (temp6)
8548 delete arg6;
8549 }
8550 return NULL;
8551 }
8552
8553
8554 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8555 PyObject *resultobj;
8556 wxPyVListBox *result;
8557 char *kwnames[] = {
8558 NULL
8559 };
8560
8561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8562 {
8563 PyThreadState* __tstate = wxPyBeginAllowThreads();
8564 result = (wxPyVListBox *)new wxPyVListBox();
8565
8566 wxPyEndAllowThreads(__tstate);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
8569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8570 return resultobj;
8571 fail:
8572 return NULL;
8573 }
8574
8575
8576 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8577 PyObject *resultobj;
8578 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8579 PyObject *arg2 = (PyObject *) 0 ;
8580 PyObject *arg3 = (PyObject *) 0 ;
8581 PyObject * obj0 = 0 ;
8582 PyObject * obj1 = 0 ;
8583 PyObject * obj2 = 0 ;
8584 char *kwnames[] = {
8585 (char *) "self",(char *) "self",(char *) "_class", NULL
8586 };
8587
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8590 arg2 = obj1;
8591 arg3 = obj2;
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 (arg1)->_setCallbackInfo(arg2,arg3);
8595
8596 wxPyEndAllowThreads(__tstate);
8597 if (PyErr_Occurred()) SWIG_fail;
8598 }
8599 Py_INCREF(Py_None); resultobj = Py_None;
8600 return resultobj;
8601 fail:
8602 return NULL;
8603 }
8604
8605
8606 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8607 PyObject *resultobj;
8608 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8609 wxWindow *arg2 = (wxWindow *) 0 ;
8610 int arg3 = (int) wxID_ANY ;
8611 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8612 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8613 wxSize const &arg5_defvalue = wxDefaultSize ;
8614 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8615 long arg6 = (long) 0 ;
8616 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8617 wxString *arg7 = (wxString *) &arg7_defvalue ;
8618 bool result;
8619 wxPoint temp4 ;
8620 wxSize temp5 ;
8621 bool temp7 = False ;
8622 PyObject * obj0 = 0 ;
8623 PyObject * obj1 = 0 ;
8624 PyObject * obj3 = 0 ;
8625 PyObject * obj4 = 0 ;
8626 PyObject * obj6 = 0 ;
8627 char *kwnames[] = {
8628 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8629 };
8630
8631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8633 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8634 if (obj3) {
8635 {
8636 arg4 = &temp4;
8637 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8638 }
8639 }
8640 if (obj4) {
8641 {
8642 arg5 = &temp5;
8643 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8644 }
8645 }
8646 if (obj6) {
8647 {
8648 arg7 = wxString_in_helper(obj6);
8649 if (arg7 == NULL) SWIG_fail;
8650 temp7 = True;
8651 }
8652 }
8653 {
8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
8655 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8656
8657 wxPyEndAllowThreads(__tstate);
8658 if (PyErr_Occurred()) SWIG_fail;
8659 }
8660 resultobj = PyInt_FromLong((long)result);
8661 {
8662 if (temp7)
8663 delete arg7;
8664 }
8665 return resultobj;
8666 fail:
8667 {
8668 if (temp7)
8669 delete arg7;
8670 }
8671 return NULL;
8672 }
8673
8674
8675 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj;
8677 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8678 size_t result;
8679 PyObject * obj0 = 0 ;
8680 char *kwnames[] = {
8681 (char *) "self", NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8703 bool result;
8704 PyObject * obj0 = 0 ;
8705 char *kwnames[] = {
8706 (char *) "self", NULL
8707 };
8708
8709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8711 {
8712 PyThreadState* __tstate = wxPyBeginAllowThreads();
8713 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8714
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 resultobj = PyInt_FromLong((long)result);
8719 return resultobj;
8720 fail:
8721 return NULL;
8722 }
8723
8724
8725 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj;
8727 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8728 int result;
8729 PyObject * obj0 = 0 ;
8730 char *kwnames[] = {
8731 (char *) "self", NULL
8732 };
8733
8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 resultobj = PyInt_FromLong((long)result);
8744 return resultobj;
8745 fail:
8746 return NULL;
8747 }
8748
8749
8750 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8751 PyObject *resultobj;
8752 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8753 size_t arg2 ;
8754 bool result;
8755 PyObject * obj0 = 0 ;
8756 PyObject * obj1 = 0 ;
8757 char *kwnames[] = {
8758 (char *) "self",(char *) "item", NULL
8759 };
8760
8761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8763 {
8764 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 {
8768 PyThreadState* __tstate = wxPyBeginAllowThreads();
8769 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8770
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 resultobj = PyInt_FromLong((long)result);
8775 return resultobj;
8776 fail:
8777 return NULL;
8778 }
8779
8780
8781 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8782 PyObject *resultobj;
8783 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8784 size_t arg2 ;
8785 bool result;
8786 PyObject * obj0 = 0 ;
8787 PyObject * obj1 = 0 ;
8788 char *kwnames[] = {
8789 (char *) "self",(char *) "item", NULL
8790 };
8791
8792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8794 {
8795 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8801
8802 wxPyEndAllowThreads(__tstate);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 resultobj = PyInt_FromLong((long)result);
8806 return resultobj;
8807 fail:
8808 return NULL;
8809 }
8810
8811
8812 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8813 PyObject *resultobj;
8814 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8815 size_t result;
8816 PyObject * obj0 = 0 ;
8817 char *kwnames[] = {
8818 (char *) "self", NULL
8819 };
8820
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8823 {
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8826
8827 wxPyEndAllowThreads(__tstate);
8828 if (PyErr_Occurred()) SWIG_fail;
8829 }
8830 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8831 return resultobj;
8832 fail:
8833 return NULL;
8834 }
8835
8836
8837 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8838 PyObject *resultobj;
8839 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8840 unsigned long *arg2 = 0 ;
8841 int result;
8842 PyObject * obj0 = 0 ;
8843 PyObject * obj1 = 0 ;
8844 char *kwnames[] = {
8845 (char *) "self",(char *) "cookie", NULL
8846 };
8847
8848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8850 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8851 if (arg2 == NULL) {
8852 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8853 }
8854 {
8855 PyThreadState* __tstate = wxPyBeginAllowThreads();
8856 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8857
8858 wxPyEndAllowThreads(__tstate);
8859 if (PyErr_Occurred()) SWIG_fail;
8860 }
8861 resultobj = PyInt_FromLong((long)result);
8862 return resultobj;
8863 fail:
8864 return NULL;
8865 }
8866
8867
8868 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8869 PyObject *resultobj;
8870 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8871 unsigned long *arg2 = 0 ;
8872 int result;
8873 PyObject * obj0 = 0 ;
8874 PyObject * obj1 = 0 ;
8875 char *kwnames[] = {
8876 (char *) "self",(char *) "cookie", NULL
8877 };
8878
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8882 if (arg2 == NULL) {
8883 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8884 }
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 resultobj = PyInt_FromLong((long)result);
8893 return resultobj;
8894 fail:
8895 return NULL;
8896 }
8897
8898
8899 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8900 PyObject *resultobj;
8901 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8902 wxPoint result;
8903 PyObject * obj0 = 0 ;
8904 char *kwnames[] = {
8905 (char *) "self", NULL
8906 };
8907
8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8910 {
8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
8912 result = ((wxPyVListBox const *)arg1)->GetMargins();
8913
8914 wxPyEndAllowThreads(__tstate);
8915 if (PyErr_Occurred()) SWIG_fail;
8916 }
8917 {
8918 wxPoint * resultptr;
8919 resultptr = new wxPoint((wxPoint &) result);
8920 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8921 }
8922 return resultobj;
8923 fail:
8924 return NULL;
8925 }
8926
8927
8928 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8929 PyObject *resultobj;
8930 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8931 wxColour *result;
8932 PyObject * obj0 = 0 ;
8933 char *kwnames[] = {
8934 (char *) "self", NULL
8935 };
8936
8937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 {
8942 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8943 result = (wxColour *) &_result_ref;
8944 }
8945
8946 wxPyEndAllowThreads(__tstate);
8947 if (PyErr_Occurred()) SWIG_fail;
8948 }
8949 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8950 return resultobj;
8951 fail:
8952 return NULL;
8953 }
8954
8955
8956 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8957 PyObject *resultobj;
8958 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8959 size_t arg2 ;
8960 PyObject * obj0 = 0 ;
8961 PyObject * obj1 = 0 ;
8962 char *kwnames[] = {
8963 (char *) "self",(char *) "count", NULL
8964 };
8965
8966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8968 {
8969 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 (arg1)->SetItemCount(arg2);
8975
8976 wxPyEndAllowThreads(__tstate);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
8979 Py_INCREF(Py_None); resultobj = Py_None;
8980 return resultobj;
8981 fail:
8982 return NULL;
8983 }
8984
8985
8986 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8987 PyObject *resultobj;
8988 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8989 PyObject * obj0 = 0 ;
8990 char *kwnames[] = {
8991 (char *) "self", NULL
8992 };
8993
8994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8996 {
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
8998 (arg1)->Clear();
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 Py_INCREF(Py_None); resultobj = Py_None;
9004 return resultobj;
9005 fail:
9006 return NULL;
9007 }
9008
9009
9010 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9011 PyObject *resultobj;
9012 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9013 int arg2 ;
9014 PyObject * obj0 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self",(char *) "selection", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
9023 (arg1)->SetSelection(arg2);
9024
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
9028 Py_INCREF(Py_None); resultobj = Py_None;
9029 return resultobj;
9030 fail:
9031 return NULL;
9032 }
9033
9034
9035 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9036 PyObject *resultobj;
9037 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9038 size_t arg2 ;
9039 bool arg3 = (bool) True ;
9040 bool result;
9041 PyObject * obj0 = 0 ;
9042 PyObject * obj1 = 0 ;
9043 PyObject * obj2 = 0 ;
9044 char *kwnames[] = {
9045 (char *) "self",(char *) "item",(char *) "select", NULL
9046 };
9047
9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9050 {
9051 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 if (obj2) {
9055 {
9056 arg3 = (bool) SPyObj_AsBool(obj2);
9057 if (PyErr_Occurred()) SWIG_fail;
9058 }
9059 }
9060 {
9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
9062 result = (bool)(arg1)->Select(arg2,arg3);
9063
9064 wxPyEndAllowThreads(__tstate);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 resultobj = PyInt_FromLong((long)result);
9068 return resultobj;
9069 fail:
9070 return NULL;
9071 }
9072
9073
9074 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9075 PyObject *resultobj;
9076 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9077 size_t arg2 ;
9078 size_t arg3 ;
9079 bool result;
9080 PyObject * obj0 = 0 ;
9081 PyObject * obj1 = 0 ;
9082 PyObject * obj2 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self",(char *) "from",(char *) "to", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9089 {
9090 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 {
9094 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 {
9098 PyThreadState* __tstate = wxPyBeginAllowThreads();
9099 result = (bool)(arg1)->SelectRange(arg2,arg3);
9100
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 resultobj = PyInt_FromLong((long)result);
9105 return resultobj;
9106 fail:
9107 return NULL;
9108 }
9109
9110
9111 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj;
9113 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9114 size_t arg2 ;
9115 PyObject * obj0 = 0 ;
9116 PyObject * obj1 = 0 ;
9117 char *kwnames[] = {
9118 (char *) "self",(char *) "item", NULL
9119 };
9120
9121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9123 {
9124 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 (arg1)->Toggle(arg2);
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 Py_INCREF(Py_None); resultobj = Py_None;
9135 return resultobj;
9136 fail:
9137 return NULL;
9138 }
9139
9140
9141 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9142 PyObject *resultobj;
9143 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9144 bool result;
9145 PyObject * obj0 = 0 ;
9146 char *kwnames[] = {
9147 (char *) "self", NULL
9148 };
9149
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 result = (bool)(arg1)->SelectAll();
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 resultobj = PyInt_FromLong((long)result);
9160 return resultobj;
9161 fail:
9162 return NULL;
9163 }
9164
9165
9166 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9167 PyObject *resultobj;
9168 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9169 bool result;
9170 PyObject * obj0 = 0 ;
9171 char *kwnames[] = {
9172 (char *) "self", NULL
9173 };
9174
9175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 result = (bool)(arg1)->DeselectAll();
9180
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
9184 resultobj = PyInt_FromLong((long)result);
9185 return resultobj;
9186 fail:
9187 return NULL;
9188 }
9189
9190
9191 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject *resultobj;
9193 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9194 wxPoint *arg2 = 0 ;
9195 wxPoint temp2 ;
9196 PyObject * obj0 = 0 ;
9197 PyObject * obj1 = 0 ;
9198 char *kwnames[] = {
9199 (char *) "self",(char *) "pt", NULL
9200 };
9201
9202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9204 {
9205 arg2 = &temp2;
9206 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9207 }
9208 {
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
9210 (arg1)->SetMargins((wxPoint const &)*arg2);
9211
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
9215 Py_INCREF(Py_None); resultobj = Py_None;
9216 return resultobj;
9217 fail:
9218 return NULL;
9219 }
9220
9221
9222 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9223 PyObject *resultobj;
9224 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9225 int arg2 ;
9226 int arg3 ;
9227 PyObject * obj0 = 0 ;
9228 char *kwnames[] = {
9229 (char *) "self",(char *) "x",(char *) "y", NULL
9230 };
9231
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9234 {
9235 PyThreadState* __tstate = wxPyBeginAllowThreads();
9236 (arg1)->SetMargins(arg2,arg3);
9237
9238 wxPyEndAllowThreads(__tstate);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 }
9241 Py_INCREF(Py_None); resultobj = Py_None;
9242 return resultobj;
9243 fail:
9244 return NULL;
9245 }
9246
9247
9248 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9249 PyObject *resultobj;
9250 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9251 wxColour *arg2 = 0 ;
9252 wxColour temp2 ;
9253 PyObject * obj0 = 0 ;
9254 PyObject * obj1 = 0 ;
9255 char *kwnames[] = {
9256 (char *) "self",(char *) "col", NULL
9257 };
9258
9259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9261 {
9262 arg2 = &temp2;
9263 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9264 }
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9268
9269 wxPyEndAllowThreads(__tstate);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 }
9272 Py_INCREF(Py_None); resultobj = Py_None;
9273 return resultobj;
9274 fail:
9275 return NULL;
9276 }
9277
9278
9279 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9280 PyObject *obj;
9281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9282 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9283 Py_INCREF(obj);
9284 return Py_BuildValue((char *)"");
9285 }
9286 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj;
9288 wxWindow *arg1 = (wxWindow *) 0 ;
9289 int arg2 = (int) wxID_ANY ;
9290 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9291 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9292 wxSize const &arg4_defvalue = wxDefaultSize ;
9293 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9294 long arg5 = (long) 0 ;
9295 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9296 wxString *arg6 = (wxString *) &arg6_defvalue ;
9297 wxPyHtmlListBox *result;
9298 wxPoint temp3 ;
9299 wxSize temp4 ;
9300 bool temp6 = False ;
9301 PyObject * obj0 = 0 ;
9302 PyObject * obj2 = 0 ;
9303 PyObject * obj3 = 0 ;
9304 PyObject * obj5 = 0 ;
9305 char *kwnames[] = {
9306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9307 };
9308
9309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9311 if (obj2) {
9312 {
9313 arg3 = &temp3;
9314 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9315 }
9316 }
9317 if (obj3) {
9318 {
9319 arg4 = &temp4;
9320 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9321 }
9322 }
9323 if (obj5) {
9324 {
9325 arg6 = wxString_in_helper(obj5);
9326 if (arg6 == NULL) SWIG_fail;
9327 temp6 = True;
9328 }
9329 }
9330 {
9331 PyThreadState* __tstate = wxPyBeginAllowThreads();
9332 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9333
9334 wxPyEndAllowThreads(__tstate);
9335 if (PyErr_Occurred()) SWIG_fail;
9336 }
9337 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9338 {
9339 if (temp6)
9340 delete arg6;
9341 }
9342 return resultobj;
9343 fail:
9344 {
9345 if (temp6)
9346 delete arg6;
9347 }
9348 return NULL;
9349 }
9350
9351
9352 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9353 PyObject *resultobj;
9354 wxPyHtmlListBox *result;
9355 char *kwnames[] = {
9356 NULL
9357 };
9358
9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9363
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
9367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9368 return resultobj;
9369 fail:
9370 return NULL;
9371 }
9372
9373
9374 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9375 PyObject *resultobj;
9376 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9377 PyObject *arg2 = (PyObject *) 0 ;
9378 PyObject *arg3 = (PyObject *) 0 ;
9379 PyObject * obj0 = 0 ;
9380 PyObject * obj1 = 0 ;
9381 PyObject * obj2 = 0 ;
9382 char *kwnames[] = {
9383 (char *) "self",(char *) "self",(char *) "_class", NULL
9384 };
9385
9386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9388 arg2 = obj1;
9389 arg3 = obj2;
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 (arg1)->_setCallbackInfo(arg2,arg3);
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 Py_INCREF(Py_None); resultobj = Py_None;
9398 return resultobj;
9399 fail:
9400 return NULL;
9401 }
9402
9403
9404 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9405 PyObject *resultobj;
9406 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9407 wxWindow *arg2 = (wxWindow *) 0 ;
9408 int arg3 = (int) wxID_ANY ;
9409 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9410 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9411 wxSize const &arg5_defvalue = wxDefaultSize ;
9412 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9413 long arg6 = (long) 0 ;
9414 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9415 wxString *arg7 = (wxString *) &arg7_defvalue ;
9416 bool result;
9417 wxPoint temp4 ;
9418 wxSize temp5 ;
9419 bool temp7 = False ;
9420 PyObject * obj0 = 0 ;
9421 PyObject * obj1 = 0 ;
9422 PyObject * obj3 = 0 ;
9423 PyObject * obj4 = 0 ;
9424 PyObject * obj6 = 0 ;
9425 char *kwnames[] = {
9426 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9427 };
9428
9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9431 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9432 if (obj3) {
9433 {
9434 arg4 = &temp4;
9435 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9436 }
9437 }
9438 if (obj4) {
9439 {
9440 arg5 = &temp5;
9441 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9442 }
9443 }
9444 if (obj6) {
9445 {
9446 arg7 = wxString_in_helper(obj6);
9447 if (arg7 == NULL) SWIG_fail;
9448 temp7 = True;
9449 }
9450 }
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9454
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 resultobj = PyInt_FromLong((long)result);
9459 {
9460 if (temp7)
9461 delete arg7;
9462 }
9463 return resultobj;
9464 fail:
9465 {
9466 if (temp7)
9467 delete arg7;
9468 }
9469 return NULL;
9470 }
9471
9472
9473 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9474 PyObject *resultobj;
9475 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9476 PyObject * obj0 = 0 ;
9477 char *kwnames[] = {
9478 (char *) "self", NULL
9479 };
9480
9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 (arg1)->RefreshAll();
9486
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
9490 Py_INCREF(Py_None); resultobj = Py_None;
9491 return resultobj;
9492 fail:
9493 return NULL;
9494 }
9495
9496
9497 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9498 PyObject *resultobj;
9499 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9500 size_t arg2 ;
9501 PyObject * obj0 = 0 ;
9502 PyObject * obj1 = 0 ;
9503 char *kwnames[] = {
9504 (char *) "self",(char *) "count", NULL
9505 };
9506
9507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9509 {
9510 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 (arg1)->SetItemCount(arg2);
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 Py_INCREF(Py_None); resultobj = Py_None;
9521 return resultobj;
9522 fail:
9523 return NULL;
9524 }
9525
9526
9527 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9528 PyObject *obj;
9529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9530 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9531 Py_INCREF(obj);
9532 return Py_BuildValue((char *)"");
9533 }
9534 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj;
9536 wxTaskBarIcon *result;
9537 char *kwnames[] = {
9538 NULL
9539 };
9540
9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9542 {
9543 PyThreadState* __tstate = wxPyBeginAllowThreads();
9544 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9545
9546 wxPyEndAllowThreads(__tstate);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 }
9549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9550 return resultobj;
9551 fail:
9552 return NULL;
9553 }
9554
9555
9556 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9557 PyObject *resultobj;
9558 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9559 PyObject * obj0 = 0 ;
9560 char *kwnames[] = {
9561 (char *) "self", NULL
9562 };
9563
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 delete arg1;
9569
9570 wxPyEndAllowThreads(__tstate);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 Py_INCREF(Py_None); resultobj = Py_None;
9574 return resultobj;
9575 fail:
9576 return NULL;
9577 }
9578
9579
9580 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9581 PyObject *resultobj;
9582 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9583 bool result;
9584 PyObject * obj0 = 0 ;
9585 char *kwnames[] = {
9586 (char *) "self", NULL
9587 };
9588
9589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9591 {
9592 PyThreadState* __tstate = wxPyBeginAllowThreads();
9593 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9594
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 resultobj = PyInt_FromLong((long)result);
9599 return resultobj;
9600 fail:
9601 return NULL;
9602 }
9603
9604
9605 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj;
9607 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9608 bool result;
9609 PyObject * obj0 = 0 ;
9610 char *kwnames[] = {
9611 (char *) "self", NULL
9612 };
9613
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9619
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 resultobj = PyInt_FromLong((long)result);
9624 return resultobj;
9625 fail:
9626 return NULL;
9627 }
9628
9629
9630 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj;
9632 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9633 wxIcon *arg2 = 0 ;
9634 wxString const &arg3_defvalue = wxPyEmptyString ;
9635 wxString *arg3 = (wxString *) &arg3_defvalue ;
9636 bool result;
9637 bool temp3 = False ;
9638 PyObject * obj0 = 0 ;
9639 PyObject * obj1 = 0 ;
9640 PyObject * obj2 = 0 ;
9641 char *kwnames[] = {
9642 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9643 };
9644
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9648 if (arg2 == NULL) {
9649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9650 }
9651 if (obj2) {
9652 {
9653 arg3 = wxString_in_helper(obj2);
9654 if (arg3 == NULL) SWIG_fail;
9655 temp3 = True;
9656 }
9657 }
9658 {
9659 PyThreadState* __tstate = wxPyBeginAllowThreads();
9660 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9661
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 resultobj = PyInt_FromLong((long)result);
9666 {
9667 if (temp3)
9668 delete arg3;
9669 }
9670 return resultobj;
9671 fail:
9672 {
9673 if (temp3)
9674 delete arg3;
9675 }
9676 return NULL;
9677 }
9678
9679
9680 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj;
9682 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9683 bool result;
9684 PyObject * obj0 = 0 ;
9685 char *kwnames[] = {
9686 (char *) "self", NULL
9687 };
9688
9689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (bool)(arg1)->RemoveIcon();
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = PyInt_FromLong((long)result);
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj;
9707 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9708 wxMenu *arg2 = (wxMenu *) 0 ;
9709 bool result;
9710 PyObject * obj0 = 0 ;
9711 PyObject * obj1 = 0 ;
9712 char *kwnames[] = {
9713 (char *) "self",(char *) "menu", NULL
9714 };
9715
9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 result = (bool)(arg1)->PopupMenu(arg2);
9722
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
9726 resultobj = PyInt_FromLong((long)result);
9727 return resultobj;
9728 fail:
9729 return NULL;
9730 }
9731
9732
9733 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9734 PyObject *obj;
9735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9736 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9737 Py_INCREF(obj);
9738 return Py_BuildValue((char *)"");
9739 }
9740 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9741 PyObject *resultobj;
9742 wxEventType arg1 ;
9743 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9744 wxTaskBarIconEvent *result;
9745 PyObject * obj1 = 0 ;
9746 char *kwnames[] = {
9747 (char *) "evtType",(char *) "tbIcon", NULL
9748 };
9749
9750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9755
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9760 return resultobj;
9761 fail:
9762 return NULL;
9763 }
9764
9765
9766 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9767 PyObject *obj;
9768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9769 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9770 Py_INCREF(obj);
9771 return Py_BuildValue((char *)"");
9772 }
9773 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
9774 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
9775 return 1;
9776 }
9777
9778
9779 static PyObject *_wrap_FileSelectorPromptStr_get() {
9780 PyObject *pyobj;
9781
9782 {
9783 #if wxUSE_UNICODE
9784 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9785 #else
9786 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9787 #endif
9788 }
9789 return pyobj;
9790 }
9791
9792
9793 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
9794 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
9795 return 1;
9796 }
9797
9798
9799 static PyObject *_wrap_DirSelectorPromptStr_get() {
9800 PyObject *pyobj;
9801
9802 {
9803 #if wxUSE_UNICODE
9804 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9805 #else
9806 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9807 #endif
9808 }
9809 return pyobj;
9810 }
9811
9812
9813 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
9814 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
9815 return 1;
9816 }
9817
9818
9819 static PyObject *_wrap_DirDialogNameStr_get() {
9820 PyObject *pyobj;
9821
9822 {
9823 #if wxUSE_UNICODE
9824 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9825 #else
9826 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9827 #endif
9828 }
9829 return pyobj;
9830 }
9831
9832
9833 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
9834 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
9835 return 1;
9836 }
9837
9838
9839 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
9840 PyObject *pyobj;
9841
9842 {
9843 #if wxUSE_UNICODE
9844 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9845 #else
9846 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9847 #endif
9848 }
9849 return pyobj;
9850 }
9851
9852
9853 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
9854 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
9855 return 1;
9856 }
9857
9858
9859 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
9860 PyObject *pyobj;
9861
9862 {
9863 #if wxUSE_UNICODE
9864 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9865 #else
9866 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9867 #endif
9868 }
9869 return pyobj;
9870 }
9871
9872
9873 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
9874 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
9875 return 1;
9876 }
9877
9878
9879 static PyObject *_wrap_MessageBoxCaptionStr_get() {
9880 PyObject *pyobj;
9881
9882 {
9883 #if wxUSE_UNICODE
9884 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9885 #else
9886 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9887 #endif
9888 }
9889 return pyobj;
9890 }
9891
9892
9893 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9894 PyObject *resultobj;
9895 wxColourData *result;
9896 char *kwnames[] = {
9897 NULL
9898 };
9899
9900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 result = (wxColourData *)new wxColourData();
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
9908 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9909 return resultobj;
9910 fail:
9911 return NULL;
9912 }
9913
9914
9915 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9916 PyObject *resultobj;
9917 wxColourData *arg1 = (wxColourData *) 0 ;
9918 PyObject * obj0 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9925 {
9926 PyThreadState* __tstate = wxPyBeginAllowThreads();
9927 delete arg1;
9928
9929 wxPyEndAllowThreads(__tstate);
9930 if (PyErr_Occurred()) SWIG_fail;
9931 }
9932 Py_INCREF(Py_None); resultobj = Py_None;
9933 return resultobj;
9934 fail:
9935 return NULL;
9936 }
9937
9938
9939 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9940 PyObject *resultobj;
9941 wxColourData *arg1 = (wxColourData *) 0 ;
9942 bool result;
9943 PyObject * obj0 = 0 ;
9944 char *kwnames[] = {
9945 (char *) "self", NULL
9946 };
9947
9948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
9952 result = (bool)(arg1)->GetChooseFull();
9953
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 resultobj = PyInt_FromLong((long)result);
9958 return resultobj;
9959 fail:
9960 return NULL;
9961 }
9962
9963
9964 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9965 PyObject *resultobj;
9966 wxColourData *arg1 = (wxColourData *) 0 ;
9967 wxColour result;
9968 PyObject * obj0 = 0 ;
9969 char *kwnames[] = {
9970 (char *) "self", NULL
9971 };
9972
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 result = (arg1)->GetColour();
9978
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 {
9983 wxColour * resultptr;
9984 resultptr = new wxColour((wxColour &) result);
9985 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9986 }
9987 return resultobj;
9988 fail:
9989 return NULL;
9990 }
9991
9992
9993 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj;
9995 wxColourData *arg1 = (wxColourData *) 0 ;
9996 int arg2 ;
9997 wxColour result;
9998 PyObject * obj0 = 0 ;
9999 char *kwnames[] = {
10000 (char *) "self",(char *) "i", NULL
10001 };
10002
10003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
10004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 result = (arg1)->GetCustomColour(arg2);
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 {
10013 wxColour * resultptr;
10014 resultptr = new wxColour((wxColour &) result);
10015 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10016 }
10017 return resultobj;
10018 fail:
10019 return NULL;
10020 }
10021
10022
10023 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10024 PyObject *resultobj;
10025 wxColourData *arg1 = (wxColourData *) 0 ;
10026 int arg2 ;
10027 PyObject * obj0 = 0 ;
10028 char *kwnames[] = {
10029 (char *) "self",(char *) "flag", NULL
10030 };
10031
10032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
10033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 (arg1)->SetChooseFull(arg2);
10037
10038 wxPyEndAllowThreads(__tstate);
10039 if (PyErr_Occurred()) SWIG_fail;
10040 }
10041 Py_INCREF(Py_None); resultobj = Py_None;
10042 return resultobj;
10043 fail:
10044 return NULL;
10045 }
10046
10047
10048 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10049 PyObject *resultobj;
10050 wxColourData *arg1 = (wxColourData *) 0 ;
10051 wxColour *arg2 = 0 ;
10052 wxColour temp2 ;
10053 PyObject * obj0 = 0 ;
10054 PyObject * obj1 = 0 ;
10055 char *kwnames[] = {
10056 (char *) "self",(char *) "colour", NULL
10057 };
10058
10059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10061 {
10062 arg2 = &temp2;
10063 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10064 }
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 (arg1)->SetColour((wxColour const &)*arg2);
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 Py_INCREF(Py_None); resultobj = Py_None;
10073 return resultobj;
10074 fail:
10075 return NULL;
10076 }
10077
10078
10079 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10080 PyObject *resultobj;
10081 wxColourData *arg1 = (wxColourData *) 0 ;
10082 int arg2 ;
10083 wxColour *arg3 = 0 ;
10084 wxColour temp3 ;
10085 PyObject * obj0 = 0 ;
10086 PyObject * obj2 = 0 ;
10087 char *kwnames[] = {
10088 (char *) "self",(char *) "i",(char *) "colour", NULL
10089 };
10090
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
10092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10093 {
10094 arg3 = &temp3;
10095 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10096 }
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 Py_INCREF(Py_None); resultobj = Py_None;
10105 return resultobj;
10106 fail:
10107 return NULL;
10108 }
10109
10110
10111 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10112 PyObject *obj;
10113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10114 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10115 Py_INCREF(obj);
10116 return Py_BuildValue((char *)"");
10117 }
10118 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxWindow *arg1 = (wxWindow *) 0 ;
10121 wxColourData *arg2 = (wxColourData *) NULL ;
10122 wxColourDialog *result;
10123 PyObject * obj0 = 0 ;
10124 PyObject * obj1 = 0 ;
10125 char *kwnames[] = {
10126 (char *) "parent",(char *) "data", NULL
10127 };
10128
10129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10131 if (obj1) {
10132 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10133 }
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10137
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
10142 return resultobj;
10143 fail:
10144 return NULL;
10145 }
10146
10147
10148 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10149 PyObject *resultobj;
10150 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10151 wxColourData *result;
10152 PyObject * obj0 = 0 ;
10153 char *kwnames[] = {
10154 (char *) "self", NULL
10155 };
10156
10157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 {
10162 wxColourData &_result_ref = (arg1)->GetColourData();
10163 result = (wxColourData *) &_result_ref;
10164 }
10165
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) SWIG_fail;
10168 }
10169 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
10170 return resultobj;
10171 fail:
10172 return NULL;
10173 }
10174
10175
10176 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10177 PyObject *resultobj;
10178 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10179 int result;
10180 PyObject * obj0 = 0 ;
10181 char *kwnames[] = {
10182 (char *) "self", NULL
10183 };
10184
10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
10186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10187 {
10188 PyThreadState* __tstate = wxPyBeginAllowThreads();
10189 result = (int)(arg1)->ShowModal();
10190
10191 wxPyEndAllowThreads(__tstate);
10192 if (PyErr_Occurred()) SWIG_fail;
10193 }
10194 resultobj = PyInt_FromLong((long)result);
10195 return resultobj;
10196 fail:
10197 return NULL;
10198 }
10199
10200
10201 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
10202 PyObject *obj;
10203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10204 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10205 Py_INCREF(obj);
10206 return Py_BuildValue((char *)"");
10207 }
10208 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10209 PyObject *resultobj;
10210 wxWindow *arg1 = (wxWindow *) 0 ;
10211 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10212 wxString *arg2 = (wxString *) &arg2_defvalue ;
10213 wxString const &arg3_defvalue = wxPyEmptyString ;
10214 wxString *arg3 = (wxString *) &arg3_defvalue ;
10215 long arg4 = (long) 0 ;
10216 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10217 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10218 wxSize const &arg6_defvalue = wxDefaultSize ;
10219 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10220 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10221 wxString *arg7 = (wxString *) &arg7_defvalue ;
10222 wxDirDialog *result;
10223 bool temp2 = False ;
10224 bool temp3 = False ;
10225 wxPoint temp5 ;
10226 wxSize temp6 ;
10227 bool temp7 = False ;
10228 PyObject * obj0 = 0 ;
10229 PyObject * obj1 = 0 ;
10230 PyObject * obj2 = 0 ;
10231 PyObject * obj4 = 0 ;
10232 PyObject * obj5 = 0 ;
10233 PyObject * obj6 = 0 ;
10234 char *kwnames[] = {
10235 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10236 };
10237
10238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
10239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10240 if (obj1) {
10241 {
10242 arg2 = wxString_in_helper(obj1);
10243 if (arg2 == NULL) SWIG_fail;
10244 temp2 = True;
10245 }
10246 }
10247 if (obj2) {
10248 {
10249 arg3 = wxString_in_helper(obj2);
10250 if (arg3 == NULL) SWIG_fail;
10251 temp3 = True;
10252 }
10253 }
10254 if (obj4) {
10255 {
10256 arg5 = &temp5;
10257 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10258 }
10259 }
10260 if (obj5) {
10261 {
10262 arg6 = &temp6;
10263 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10264 }
10265 }
10266 if (obj6) {
10267 {
10268 arg7 = wxString_in_helper(obj6);
10269 if (arg7 == NULL) SWIG_fail;
10270 temp7 = True;
10271 }
10272 }
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10281 {
10282 if (temp2)
10283 delete arg2;
10284 }
10285 {
10286 if (temp3)
10287 delete arg3;
10288 }
10289 {
10290 if (temp7)
10291 delete arg7;
10292 }
10293 return resultobj;
10294 fail:
10295 {
10296 if (temp2)
10297 delete arg2;
10298 }
10299 {
10300 if (temp3)
10301 delete arg3;
10302 }
10303 {
10304 if (temp7)
10305 delete arg7;
10306 }
10307 return NULL;
10308 }
10309
10310
10311 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10312 PyObject *resultobj;
10313 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10314 wxString result;
10315 PyObject * obj0 = 0 ;
10316 char *kwnames[] = {
10317 (char *) "self", NULL
10318 };
10319
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (arg1)->GetPath();
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 {
10330 #if wxUSE_UNICODE
10331 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10332 #else
10333 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10334 #endif
10335 }
10336 return resultobj;
10337 fail:
10338 return NULL;
10339 }
10340
10341
10342 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10343 PyObject *resultobj;
10344 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10345 wxString result;
10346 PyObject * obj0 = 0 ;
10347 char *kwnames[] = {
10348 (char *) "self", NULL
10349 };
10350
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10353 {
10354 PyThreadState* __tstate = wxPyBeginAllowThreads();
10355 result = (arg1)->GetMessage();
10356
10357 wxPyEndAllowThreads(__tstate);
10358 if (PyErr_Occurred()) SWIG_fail;
10359 }
10360 {
10361 #if wxUSE_UNICODE
10362 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10363 #else
10364 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10365 #endif
10366 }
10367 return resultobj;
10368 fail:
10369 return NULL;
10370 }
10371
10372
10373 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10374 PyObject *resultobj;
10375 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10376 long result;
10377 PyObject * obj0 = 0 ;
10378 char *kwnames[] = {
10379 (char *) "self", NULL
10380 };
10381
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 result = (long)(arg1)->GetStyle();
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
10391 resultobj = PyInt_FromLong((long)result);
10392 return resultobj;
10393 fail:
10394 return NULL;
10395 }
10396
10397
10398 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10399 PyObject *resultobj;
10400 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10401 wxString *arg2 = 0 ;
10402 bool temp2 = False ;
10403 PyObject * obj0 = 0 ;
10404 PyObject * obj1 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self",(char *) "message", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10411 {
10412 arg2 = wxString_in_helper(obj1);
10413 if (arg2 == NULL) SWIG_fail;
10414 temp2 = True;
10415 }
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 (arg1)->SetMessage((wxString const &)*arg2);
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 Py_INCREF(Py_None); resultobj = Py_None;
10424 {
10425 if (temp2)
10426 delete arg2;
10427 }
10428 return resultobj;
10429 fail:
10430 {
10431 if (temp2)
10432 delete arg2;
10433 }
10434 return NULL;
10435 }
10436
10437
10438 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10439 PyObject *resultobj;
10440 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10441 wxString *arg2 = 0 ;
10442 bool temp2 = False ;
10443 PyObject * obj0 = 0 ;
10444 PyObject * obj1 = 0 ;
10445 char *kwnames[] = {
10446 (char *) "self",(char *) "path", NULL
10447 };
10448
10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10451 {
10452 arg2 = wxString_in_helper(obj1);
10453 if (arg2 == NULL) SWIG_fail;
10454 temp2 = True;
10455 }
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 (arg1)->SetPath((wxString const &)*arg2);
10459
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 Py_INCREF(Py_None); resultobj = Py_None;
10464 {
10465 if (temp2)
10466 delete arg2;
10467 }
10468 return resultobj;
10469 fail:
10470 {
10471 if (temp2)
10472 delete arg2;
10473 }
10474 return NULL;
10475 }
10476
10477
10478 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10479 PyObject *resultobj;
10480 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10481 int result;
10482 PyObject * obj0 = 0 ;
10483 char *kwnames[] = {
10484 (char *) "self", NULL
10485 };
10486
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10489 {
10490 PyThreadState* __tstate = wxPyBeginAllowThreads();
10491 result = (int)(arg1)->ShowModal();
10492
10493 wxPyEndAllowThreads(__tstate);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
10496 resultobj = PyInt_FromLong((long)result);
10497 return resultobj;
10498 fail:
10499 return NULL;
10500 }
10501
10502
10503 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10504 PyObject *obj;
10505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10506 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10507 Py_INCREF(obj);
10508 return Py_BuildValue((char *)"");
10509 }
10510 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10511 PyObject *resultobj;
10512 wxWindow *arg1 = (wxWindow *) 0 ;
10513 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10514 wxString *arg2 = (wxString *) &arg2_defvalue ;
10515 wxString const &arg3_defvalue = wxPyEmptyString ;
10516 wxString *arg3 = (wxString *) &arg3_defvalue ;
10517 wxString const &arg4_defvalue = wxPyEmptyString ;
10518 wxString *arg4 = (wxString *) &arg4_defvalue ;
10519 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10520 wxString *arg5 = (wxString *) &arg5_defvalue ;
10521 long arg6 = (long) 0 ;
10522 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10523 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10524 wxFileDialog *result;
10525 bool temp2 = False ;
10526 bool temp3 = False ;
10527 bool temp4 = False ;
10528 bool temp5 = False ;
10529 wxPoint temp7 ;
10530 PyObject * obj0 = 0 ;
10531 PyObject * obj1 = 0 ;
10532 PyObject * obj2 = 0 ;
10533 PyObject * obj3 = 0 ;
10534 PyObject * obj4 = 0 ;
10535 PyObject * obj6 = 0 ;
10536 char *kwnames[] = {
10537 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10538 };
10539
10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10542 if (obj1) {
10543 {
10544 arg2 = wxString_in_helper(obj1);
10545 if (arg2 == NULL) SWIG_fail;
10546 temp2 = True;
10547 }
10548 }
10549 if (obj2) {
10550 {
10551 arg3 = wxString_in_helper(obj2);
10552 if (arg3 == NULL) SWIG_fail;
10553 temp3 = True;
10554 }
10555 }
10556 if (obj3) {
10557 {
10558 arg4 = wxString_in_helper(obj3);
10559 if (arg4 == NULL) SWIG_fail;
10560 temp4 = True;
10561 }
10562 }
10563 if (obj4) {
10564 {
10565 arg5 = wxString_in_helper(obj4);
10566 if (arg5 == NULL) SWIG_fail;
10567 temp5 = True;
10568 }
10569 }
10570 if (obj6) {
10571 {
10572 arg7 = &temp7;
10573 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10574 }
10575 }
10576 {
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10579
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10584 {
10585 if (temp2)
10586 delete arg2;
10587 }
10588 {
10589 if (temp3)
10590 delete arg3;
10591 }
10592 {
10593 if (temp4)
10594 delete arg4;
10595 }
10596 {
10597 if (temp5)
10598 delete arg5;
10599 }
10600 return resultobj;
10601 fail:
10602 {
10603 if (temp2)
10604 delete arg2;
10605 }
10606 {
10607 if (temp3)
10608 delete arg3;
10609 }
10610 {
10611 if (temp4)
10612 delete arg4;
10613 }
10614 {
10615 if (temp5)
10616 delete arg5;
10617 }
10618 return NULL;
10619 }
10620
10621
10622 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10623 PyObject *resultobj;
10624 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10625 wxString *arg2 = 0 ;
10626 bool temp2 = False ;
10627 PyObject * obj0 = 0 ;
10628 PyObject * obj1 = 0 ;
10629 char *kwnames[] = {
10630 (char *) "self",(char *) "message", NULL
10631 };
10632
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10635 {
10636 arg2 = wxString_in_helper(obj1);
10637 if (arg2 == NULL) SWIG_fail;
10638 temp2 = True;
10639 }
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 (arg1)->SetMessage((wxString const &)*arg2);
10643
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) SWIG_fail;
10646 }
10647 Py_INCREF(Py_None); resultobj = Py_None;
10648 {
10649 if (temp2)
10650 delete arg2;
10651 }
10652 return resultobj;
10653 fail:
10654 {
10655 if (temp2)
10656 delete arg2;
10657 }
10658 return NULL;
10659 }
10660
10661
10662 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10665 wxString *arg2 = 0 ;
10666 bool temp2 = False ;
10667 PyObject * obj0 = 0 ;
10668 PyObject * obj1 = 0 ;
10669 char *kwnames[] = {
10670 (char *) "self",(char *) "path", NULL
10671 };
10672
10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10675 {
10676 arg2 = wxString_in_helper(obj1);
10677 if (arg2 == NULL) SWIG_fail;
10678 temp2 = True;
10679 }
10680 {
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 (arg1)->SetPath((wxString const &)*arg2);
10683
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) SWIG_fail;
10686 }
10687 Py_INCREF(Py_None); resultobj = Py_None;
10688 {
10689 if (temp2)
10690 delete arg2;
10691 }
10692 return resultobj;
10693 fail:
10694 {
10695 if (temp2)
10696 delete arg2;
10697 }
10698 return NULL;
10699 }
10700
10701
10702 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10703 PyObject *resultobj;
10704 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10705 wxString *arg2 = 0 ;
10706 bool temp2 = False ;
10707 PyObject * obj0 = 0 ;
10708 PyObject * obj1 = 0 ;
10709 char *kwnames[] = {
10710 (char *) "self",(char *) "dir", NULL
10711 };
10712
10713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10715 {
10716 arg2 = wxString_in_helper(obj1);
10717 if (arg2 == NULL) SWIG_fail;
10718 temp2 = True;
10719 }
10720 {
10721 PyThreadState* __tstate = wxPyBeginAllowThreads();
10722 (arg1)->SetDirectory((wxString const &)*arg2);
10723
10724 wxPyEndAllowThreads(__tstate);
10725 if (PyErr_Occurred()) SWIG_fail;
10726 }
10727 Py_INCREF(Py_None); resultobj = Py_None;
10728 {
10729 if (temp2)
10730 delete arg2;
10731 }
10732 return resultobj;
10733 fail:
10734 {
10735 if (temp2)
10736 delete arg2;
10737 }
10738 return NULL;
10739 }
10740
10741
10742 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10743 PyObject *resultobj;
10744 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10745 wxString *arg2 = 0 ;
10746 bool temp2 = False ;
10747 PyObject * obj0 = 0 ;
10748 PyObject * obj1 = 0 ;
10749 char *kwnames[] = {
10750 (char *) "self",(char *) "name", NULL
10751 };
10752
10753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10755 {
10756 arg2 = wxString_in_helper(obj1);
10757 if (arg2 == NULL) SWIG_fail;
10758 temp2 = True;
10759 }
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 (arg1)->SetFilename((wxString const &)*arg2);
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 Py_INCREF(Py_None); resultobj = Py_None;
10768 {
10769 if (temp2)
10770 delete arg2;
10771 }
10772 return resultobj;
10773 fail:
10774 {
10775 if (temp2)
10776 delete arg2;
10777 }
10778 return NULL;
10779 }
10780
10781
10782 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10783 PyObject *resultobj;
10784 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10785 wxString *arg2 = 0 ;
10786 bool temp2 = False ;
10787 PyObject * obj0 = 0 ;
10788 PyObject * obj1 = 0 ;
10789 char *kwnames[] = {
10790 (char *) "self",(char *) "wildCard", NULL
10791 };
10792
10793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10795 {
10796 arg2 = wxString_in_helper(obj1);
10797 if (arg2 == NULL) SWIG_fail;
10798 temp2 = True;
10799 }
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 (arg1)->SetWildcard((wxString const &)*arg2);
10803
10804 wxPyEndAllowThreads(__tstate);
10805 if (PyErr_Occurred()) SWIG_fail;
10806 }
10807 Py_INCREF(Py_None); resultobj = Py_None;
10808 {
10809 if (temp2)
10810 delete arg2;
10811 }
10812 return resultobj;
10813 fail:
10814 {
10815 if (temp2)
10816 delete arg2;
10817 }
10818 return NULL;
10819 }
10820
10821
10822 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10823 PyObject *resultobj;
10824 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10825 long arg2 ;
10826 PyObject * obj0 = 0 ;
10827 char *kwnames[] = {
10828 (char *) "self",(char *) "style", NULL
10829 };
10830
10831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 (arg1)->SetStyle(arg2);
10836
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 Py_INCREF(Py_None); resultobj = Py_None;
10841 return resultobj;
10842 fail:
10843 return NULL;
10844 }
10845
10846
10847 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10848 PyObject *resultobj;
10849 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10850 int arg2 ;
10851 PyObject * obj0 = 0 ;
10852 char *kwnames[] = {
10853 (char *) "self",(char *) "filterIndex", NULL
10854 };
10855
10856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10858 {
10859 PyThreadState* __tstate = wxPyBeginAllowThreads();
10860 (arg1)->SetFilterIndex(arg2);
10861
10862 wxPyEndAllowThreads(__tstate);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 }
10865 Py_INCREF(Py_None); resultobj = Py_None;
10866 return resultobj;
10867 fail:
10868 return NULL;
10869 }
10870
10871
10872 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10873 PyObject *resultobj;
10874 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10875 wxString result;
10876 PyObject * obj0 = 0 ;
10877 char *kwnames[] = {
10878 (char *) "self", NULL
10879 };
10880
10881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 result = ((wxFileDialog const *)arg1)->GetMessage();
10886
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 {
10891 #if wxUSE_UNICODE
10892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10893 #else
10894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10895 #endif
10896 }
10897 return resultobj;
10898 fail:
10899 return NULL;
10900 }
10901
10902
10903 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10904 PyObject *resultobj;
10905 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10906 wxString result;
10907 PyObject * obj0 = 0 ;
10908 char *kwnames[] = {
10909 (char *) "self", NULL
10910 };
10911
10912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10914 {
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 result = ((wxFileDialog const *)arg1)->GetPath();
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
10921 {
10922 #if wxUSE_UNICODE
10923 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10924 #else
10925 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10926 #endif
10927 }
10928 return resultobj;
10929 fail:
10930 return NULL;
10931 }
10932
10933
10934 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10935 PyObject *resultobj;
10936 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10937 wxString result;
10938 PyObject * obj0 = 0 ;
10939 char *kwnames[] = {
10940 (char *) "self", NULL
10941 };
10942
10943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 result = ((wxFileDialog const *)arg1)->GetDirectory();
10948
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 {
10953 #if wxUSE_UNICODE
10954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10955 #else
10956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10957 #endif
10958 }
10959 return resultobj;
10960 fail:
10961 return NULL;
10962 }
10963
10964
10965 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10966 PyObject *resultobj;
10967 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10968 wxString result;
10969 PyObject * obj0 = 0 ;
10970 char *kwnames[] = {
10971 (char *) "self", NULL
10972 };
10973
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 result = ((wxFileDialog const *)arg1)->GetFilename();
10979
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 {
10984 #if wxUSE_UNICODE
10985 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10986 #else
10987 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10988 #endif
10989 }
10990 return resultobj;
10991 fail:
10992 return NULL;
10993 }
10994
10995
10996 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10997 PyObject *resultobj;
10998 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10999 wxString result;
11000 PyObject * obj0 = 0 ;
11001 char *kwnames[] = {
11002 (char *) "self", NULL
11003 };
11004
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11007 {
11008 PyThreadState* __tstate = wxPyBeginAllowThreads();
11009 result = ((wxFileDialog const *)arg1)->GetWildcard();
11010
11011 wxPyEndAllowThreads(__tstate);
11012 if (PyErr_Occurred()) SWIG_fail;
11013 }
11014 {
11015 #if wxUSE_UNICODE
11016 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11017 #else
11018 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11019 #endif
11020 }
11021 return resultobj;
11022 fail:
11023 return NULL;
11024 }
11025
11026
11027 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11028 PyObject *resultobj;
11029 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11030 long result;
11031 PyObject * obj0 = 0 ;
11032 char *kwnames[] = {
11033 (char *) "self", NULL
11034 };
11035
11036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11038 {
11039 PyThreadState* __tstate = wxPyBeginAllowThreads();
11040 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11041
11042 wxPyEndAllowThreads(__tstate);
11043 if (PyErr_Occurred()) SWIG_fail;
11044 }
11045 resultobj = PyInt_FromLong((long)result);
11046 return resultobj;
11047 fail:
11048 return NULL;
11049 }
11050
11051
11052 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11053 PyObject *resultobj;
11054 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11055 int result;
11056 PyObject * obj0 = 0 ;
11057 char *kwnames[] = {
11058 (char *) "self", NULL
11059 };
11060
11061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11063 {
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
11065 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11066
11067 wxPyEndAllowThreads(__tstate);
11068 if (PyErr_Occurred()) SWIG_fail;
11069 }
11070 resultobj = PyInt_FromLong((long)result);
11071 return resultobj;
11072 fail:
11073 return NULL;
11074 }
11075
11076
11077 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11078 PyObject *resultobj;
11079 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11080 PyObject *result;
11081 PyObject * obj0 = 0 ;
11082 char *kwnames[] = {
11083 (char *) "self", NULL
11084 };
11085
11086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11088 {
11089 PyThreadState* __tstate = wxPyBeginAllowThreads();
11090 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11091
11092 wxPyEndAllowThreads(__tstate);
11093 if (PyErr_Occurred()) SWIG_fail;
11094 }
11095 resultobj = result;
11096 return resultobj;
11097 fail:
11098 return NULL;
11099 }
11100
11101
11102 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11103 PyObject *resultobj;
11104 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11105 PyObject *result;
11106 PyObject * obj0 = 0 ;
11107 char *kwnames[] = {
11108 (char *) "self", NULL
11109 };
11110
11111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11113 {
11114 PyThreadState* __tstate = wxPyBeginAllowThreads();
11115 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11116
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 resultobj = result;
11121 return resultobj;
11122 fail:
11123 return NULL;
11124 }
11125
11126
11127 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11128 PyObject *obj;
11129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11130 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11131 Py_INCREF(obj);
11132 return Py_BuildValue((char *)"");
11133 }
11134 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11135 PyObject *resultobj;
11136 wxWindow *arg1 = (wxWindow *) 0 ;
11137 wxString *arg2 = 0 ;
11138 wxString *arg3 = 0 ;
11139 int arg4 ;
11140 wxString *arg5 = (wxString *) 0 ;
11141 long arg6 = (long) wxCHOICEDLG_STYLE ;
11142 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11143 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11144 wxMultiChoiceDialog *result;
11145 bool temp2 = False ;
11146 bool temp3 = False ;
11147 bool temp5 = False ;
11148 wxPoint temp7 ;
11149 PyObject * obj0 = 0 ;
11150 PyObject * obj1 = 0 ;
11151 PyObject * obj2 = 0 ;
11152 PyObject * obj4 = 0 ;
11153 PyObject * obj6 = 0 ;
11154 char *kwnames[] = {
11155 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
11156 };
11157
11158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
11159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11160 {
11161 arg2 = wxString_in_helper(obj1);
11162 if (arg2 == NULL) SWIG_fail;
11163 temp2 = True;
11164 }
11165 {
11166 arg3 = wxString_in_helper(obj2);
11167 if (arg3 == NULL) SWIG_fail;
11168 temp3 = True;
11169 }
11170 {
11171 arg5 = wxString_in_helper(obj4);
11172 if (arg5 == NULL) SWIG_fail;
11173 temp5 = True;
11174 }
11175 if (obj6) {
11176 {
11177 arg7 = &temp7;
11178 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11179 }
11180 }
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11184
11185 wxPyEndAllowThreads(__tstate);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 }
11188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
11189 {
11190 if (temp2)
11191 delete arg2;
11192 }
11193 {
11194 if (temp3)
11195 delete arg3;
11196 }
11197 {
11198 if (temp5)
11199 delete arg5;
11200 }
11201 return resultobj;
11202 fail:
11203 {
11204 if (temp2)
11205 delete arg2;
11206 }
11207 {
11208 if (temp3)
11209 delete arg3;
11210 }
11211 {
11212 if (temp5)
11213 delete arg5;
11214 }
11215 return NULL;
11216 }
11217
11218
11219 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj;
11221 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11222 wxArrayInt *arg2 = 0 ;
11223 PyObject * obj0 = 0 ;
11224 PyObject * obj1 = 0 ;
11225 char *kwnames[] = {
11226 (char *) "self",(char *) "selections", NULL
11227 };
11228
11229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11231 {
11232 if (! PySequence_Check(obj1)) {
11233 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11234 SWIG_fail;
11235 }
11236 arg2 = new wxArrayInt;
11237 int i, len=PySequence_Length(obj1);
11238 for (i=0; i<len; i++) {
11239 PyObject* item = PySequence_GetItem(obj1, i);
11240 PyObject* number = PyNumber_Int(item);
11241 arg2->Add(PyInt_AS_LONG(number));
11242 Py_DECREF(item);
11243 Py_DECREF(number);
11244 }
11245 }
11246 {
11247 PyThreadState* __tstate = wxPyBeginAllowThreads();
11248 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11249
11250 wxPyEndAllowThreads(__tstate);
11251 if (PyErr_Occurred()) SWIG_fail;
11252 }
11253 Py_INCREF(Py_None); resultobj = Py_None;
11254 {
11255 if (arg2) delete arg2;
11256 }
11257 return resultobj;
11258 fail:
11259 {
11260 if (arg2) delete arg2;
11261 }
11262 return NULL;
11263 }
11264
11265
11266 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11267 PyObject *resultobj;
11268 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11269 PyObject *result;
11270 PyObject * obj0 = 0 ;
11271 char *kwnames[] = {
11272 (char *) "self", NULL
11273 };
11274
11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 resultobj = result;
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11292 PyObject *obj;
11293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11294 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11295 Py_INCREF(obj);
11296 return Py_BuildValue((char *)"");
11297 }
11298 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj;
11300 wxWindow *arg1 = (wxWindow *) 0 ;
11301 wxString *arg2 = 0 ;
11302 wxString *arg3 = 0 ;
11303 int arg4 ;
11304 wxString *arg5 = (wxString *) 0 ;
11305 long arg6 = (long) wxCHOICEDLG_STYLE ;
11306 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11307 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11308 wxSingleChoiceDialog *result;
11309 bool temp2 = False ;
11310 bool temp3 = False ;
11311 wxPoint temp6 ;
11312 PyObject * obj0 = 0 ;
11313 PyObject * obj1 = 0 ;
11314 PyObject * obj2 = 0 ;
11315 PyObject * obj3 = 0 ;
11316 PyObject * obj5 = 0 ;
11317 char *kwnames[] = {
11318 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11319 };
11320
11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
11322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11323 {
11324 arg2 = wxString_in_helper(obj1);
11325 if (arg2 == NULL) SWIG_fail;
11326 temp2 = True;
11327 }
11328 {
11329 arg3 = wxString_in_helper(obj2);
11330 if (arg3 == NULL) SWIG_fail;
11331 temp3 = True;
11332 }
11333 {
11334 arg4 = PyList_Size(obj3);
11335 arg5 = wxString_LIST_helper(obj3);
11336 if (arg5 == NULL) SWIG_fail;
11337 }
11338 if (obj5) {
11339 {
11340 arg7 = &temp6;
11341 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11342 }
11343 }
11344 {
11345 PyThreadState* __tstate = wxPyBeginAllowThreads();
11346 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11347
11348 wxPyEndAllowThreads(__tstate);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11352 {
11353 if (temp2)
11354 delete arg2;
11355 }
11356 {
11357 if (temp3)
11358 delete arg3;
11359 }
11360 {
11361 if (arg5) delete [] arg5;
11362 }
11363 return resultobj;
11364 fail:
11365 {
11366 if (temp2)
11367 delete arg2;
11368 }
11369 {
11370 if (temp3)
11371 delete arg3;
11372 }
11373 {
11374 if (arg5) delete [] arg5;
11375 }
11376 return NULL;
11377 }
11378
11379
11380 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11381 PyObject *resultobj;
11382 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11383 int result;
11384 PyObject * obj0 = 0 ;
11385 char *kwnames[] = {
11386 (char *) "self", NULL
11387 };
11388
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 result = (int)(arg1)->GetSelection();
11394
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 resultobj = PyInt_FromLong((long)result);
11399 return resultobj;
11400 fail:
11401 return NULL;
11402 }
11403
11404
11405 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11406 PyObject *resultobj;
11407 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11408 wxString result;
11409 PyObject * obj0 = 0 ;
11410 char *kwnames[] = {
11411 (char *) "self", NULL
11412 };
11413
11414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 result = (arg1)->GetStringSelection();
11419
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 }
11423 {
11424 #if wxUSE_UNICODE
11425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11426 #else
11427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11428 #endif
11429 }
11430 return resultobj;
11431 fail:
11432 return NULL;
11433 }
11434
11435
11436 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11437 PyObject *resultobj;
11438 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11439 int arg2 ;
11440 PyObject * obj0 = 0 ;
11441 char *kwnames[] = {
11442 (char *) "self",(char *) "sel", NULL
11443 };
11444
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11447 {
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
11449 (arg1)->SetSelection(arg2);
11450
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
11454 Py_INCREF(Py_None); resultobj = Py_None;
11455 return resultobj;
11456 fail:
11457 return NULL;
11458 }
11459
11460
11461 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11462 PyObject *resultobj;
11463 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11464 int result;
11465 PyObject * obj0 = 0 ;
11466 char *kwnames[] = {
11467 (char *) "self", NULL
11468 };
11469
11470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
11474 result = (int)(arg1)->ShowModal();
11475
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 resultobj = PyInt_FromLong((long)result);
11480 return resultobj;
11481 fail:
11482 return NULL;
11483 }
11484
11485
11486 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11487 PyObject *obj;
11488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11489 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11490 Py_INCREF(obj);
11491 return Py_BuildValue((char *)"");
11492 }
11493 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11494 PyObject *resultobj;
11495 wxWindow *arg1 = (wxWindow *) 0 ;
11496 wxString *arg2 = 0 ;
11497 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11498 wxString *arg3 = (wxString *) &arg3_defvalue ;
11499 wxString const &arg4_defvalue = wxPyEmptyString ;
11500 wxString *arg4 = (wxString *) &arg4_defvalue ;
11501 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11502 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11503 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11504 wxTextEntryDialog *result;
11505 bool temp2 = False ;
11506 bool temp3 = False ;
11507 bool temp4 = False ;
11508 wxPoint temp6 ;
11509 PyObject * obj0 = 0 ;
11510 PyObject * obj1 = 0 ;
11511 PyObject * obj2 = 0 ;
11512 PyObject * obj3 = 0 ;
11513 PyObject * obj5 = 0 ;
11514 char *kwnames[] = {
11515 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11516 };
11517
11518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11520 {
11521 arg2 = wxString_in_helper(obj1);
11522 if (arg2 == NULL) SWIG_fail;
11523 temp2 = True;
11524 }
11525 if (obj2) {
11526 {
11527 arg3 = wxString_in_helper(obj2);
11528 if (arg3 == NULL) SWIG_fail;
11529 temp3 = True;
11530 }
11531 }
11532 if (obj3) {
11533 {
11534 arg4 = wxString_in_helper(obj3);
11535 if (arg4 == NULL) SWIG_fail;
11536 temp4 = True;
11537 }
11538 }
11539 if (obj5) {
11540 {
11541 arg6 = &temp6;
11542 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11543 }
11544 }
11545 {
11546 PyThreadState* __tstate = wxPyBeginAllowThreads();
11547 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11548
11549 wxPyEndAllowThreads(__tstate);
11550 if (PyErr_Occurred()) SWIG_fail;
11551 }
11552 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11553 {
11554 if (temp2)
11555 delete arg2;
11556 }
11557 {
11558 if (temp3)
11559 delete arg3;
11560 }
11561 {
11562 if (temp4)
11563 delete arg4;
11564 }
11565 return resultobj;
11566 fail:
11567 {
11568 if (temp2)
11569 delete arg2;
11570 }
11571 {
11572 if (temp3)
11573 delete arg3;
11574 }
11575 {
11576 if (temp4)
11577 delete arg4;
11578 }
11579 return NULL;
11580 }
11581
11582
11583 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11584 PyObject *resultobj;
11585 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11586 wxString result;
11587 PyObject * obj0 = 0 ;
11588 char *kwnames[] = {
11589 (char *) "self", NULL
11590 };
11591
11592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11594 {
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 result = (arg1)->GetValue();
11597
11598 wxPyEndAllowThreads(__tstate);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 }
11601 {
11602 #if wxUSE_UNICODE
11603 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11604 #else
11605 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11606 #endif
11607 }
11608 return resultobj;
11609 fail:
11610 return NULL;
11611 }
11612
11613
11614 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11615 PyObject *resultobj;
11616 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11617 wxString *arg2 = 0 ;
11618 bool temp2 = False ;
11619 PyObject * obj0 = 0 ;
11620 PyObject * obj1 = 0 ;
11621 char *kwnames[] = {
11622 (char *) "self",(char *) "value", NULL
11623 };
11624
11625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11627 {
11628 arg2 = wxString_in_helper(obj1);
11629 if (arg2 == NULL) SWIG_fail;
11630 temp2 = True;
11631 }
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 (arg1)->SetValue((wxString const &)*arg2);
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 Py_INCREF(Py_None); resultobj = Py_None;
11640 {
11641 if (temp2)
11642 delete arg2;
11643 }
11644 return resultobj;
11645 fail:
11646 {
11647 if (temp2)
11648 delete arg2;
11649 }
11650 return NULL;
11651 }
11652
11653
11654 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11655 PyObject *resultobj;
11656 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11657 int result;
11658 PyObject * obj0 = 0 ;
11659 char *kwnames[] = {
11660 (char *) "self", NULL
11661 };
11662
11663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 result = (int)(arg1)->ShowModal();
11668
11669 wxPyEndAllowThreads(__tstate);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
11672 resultobj = PyInt_FromLong((long)result);
11673 return resultobj;
11674 fail:
11675 return NULL;
11676 }
11677
11678
11679 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11680 PyObject *obj;
11681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11682 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11683 Py_INCREF(obj);
11684 return Py_BuildValue((char *)"");
11685 }
11686 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11687 PyObject *resultobj;
11688 wxFontData *result;
11689 char *kwnames[] = {
11690 NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 result = (wxFontData *)new wxFontData();
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11702 return resultobj;
11703 fail:
11704 return NULL;
11705 }
11706
11707
11708 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11709 PyObject *resultobj;
11710 wxFontData *arg1 = (wxFontData *) 0 ;
11711 PyObject * obj0 = 0 ;
11712 char *kwnames[] = {
11713 (char *) "self", NULL
11714 };
11715
11716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 delete arg1;
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 Py_INCREF(Py_None); resultobj = Py_None;
11726 return resultobj;
11727 fail:
11728 return NULL;
11729 }
11730
11731
11732 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11733 PyObject *resultobj;
11734 wxFontData *arg1 = (wxFontData *) 0 ;
11735 bool arg2 ;
11736 PyObject * obj0 = 0 ;
11737 PyObject * obj1 = 0 ;
11738 char *kwnames[] = {
11739 (char *) "self",(char *) "enable", NULL
11740 };
11741
11742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11744 {
11745 arg2 = (bool) SPyObj_AsBool(obj1);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 (arg1)->EnableEffects(arg2);
11751
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
11755 Py_INCREF(Py_None); resultobj = Py_None;
11756 return resultobj;
11757 fail:
11758 return NULL;
11759 }
11760
11761
11762 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11763 PyObject *resultobj;
11764 wxFontData *arg1 = (wxFontData *) 0 ;
11765 bool result;
11766 PyObject * obj0 = 0 ;
11767 char *kwnames[] = {
11768 (char *) "self", NULL
11769 };
11770
11771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11773 {
11774 PyThreadState* __tstate = wxPyBeginAllowThreads();
11775 result = (bool)(arg1)->GetAllowSymbols();
11776
11777 wxPyEndAllowThreads(__tstate);
11778 if (PyErr_Occurred()) SWIG_fail;
11779 }
11780 resultobj = PyInt_FromLong((long)result);
11781 return resultobj;
11782 fail:
11783 return NULL;
11784 }
11785
11786
11787 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11788 PyObject *resultobj;
11789 wxFontData *arg1 = (wxFontData *) 0 ;
11790 wxColour result;
11791 PyObject * obj0 = 0 ;
11792 char *kwnames[] = {
11793 (char *) "self", NULL
11794 };
11795
11796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11798 {
11799 PyThreadState* __tstate = wxPyBeginAllowThreads();
11800 result = (arg1)->GetColour();
11801
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 {
11806 wxColour * resultptr;
11807 resultptr = new wxColour((wxColour &) result);
11808 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11809 }
11810 return resultobj;
11811 fail:
11812 return NULL;
11813 }
11814
11815
11816 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11817 PyObject *resultobj;
11818 wxFontData *arg1 = (wxFontData *) 0 ;
11819 wxFont result;
11820 PyObject * obj0 = 0 ;
11821 char *kwnames[] = {
11822 (char *) "self", NULL
11823 };
11824
11825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11827 {
11828 PyThreadState* __tstate = wxPyBeginAllowThreads();
11829 result = (arg1)->GetChosenFont();
11830
11831 wxPyEndAllowThreads(__tstate);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 {
11835 wxFont * resultptr;
11836 resultptr = new wxFont((wxFont &) result);
11837 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11838 }
11839 return resultobj;
11840 fail:
11841 return NULL;
11842 }
11843
11844
11845 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11846 PyObject *resultobj;
11847 wxFontData *arg1 = (wxFontData *) 0 ;
11848 bool result;
11849 PyObject * obj0 = 0 ;
11850 char *kwnames[] = {
11851 (char *) "self", NULL
11852 };
11853
11854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11856 {
11857 PyThreadState* __tstate = wxPyBeginAllowThreads();
11858 result = (bool)(arg1)->GetEnableEffects();
11859
11860 wxPyEndAllowThreads(__tstate);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 }
11863 resultobj = PyInt_FromLong((long)result);
11864 return resultobj;
11865 fail:
11866 return NULL;
11867 }
11868
11869
11870 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11871 PyObject *resultobj;
11872 wxFontData *arg1 = (wxFontData *) 0 ;
11873 wxFont result;
11874 PyObject * obj0 = 0 ;
11875 char *kwnames[] = {
11876 (char *) "self", NULL
11877 };
11878
11879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11881 {
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 result = (arg1)->GetInitialFont();
11884
11885 wxPyEndAllowThreads(__tstate);
11886 if (PyErr_Occurred()) SWIG_fail;
11887 }
11888 {
11889 wxFont * resultptr;
11890 resultptr = new wxFont((wxFont &) result);
11891 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11892 }
11893 return resultobj;
11894 fail:
11895 return NULL;
11896 }
11897
11898
11899 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11900 PyObject *resultobj;
11901 wxFontData *arg1 = (wxFontData *) 0 ;
11902 bool result;
11903 PyObject * obj0 = 0 ;
11904 char *kwnames[] = {
11905 (char *) "self", NULL
11906 };
11907
11908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11910 {
11911 PyThreadState* __tstate = wxPyBeginAllowThreads();
11912 result = (bool)(arg1)->GetShowHelp();
11913
11914 wxPyEndAllowThreads(__tstate);
11915 if (PyErr_Occurred()) SWIG_fail;
11916 }
11917 resultobj = PyInt_FromLong((long)result);
11918 return resultobj;
11919 fail:
11920 return NULL;
11921 }
11922
11923
11924 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11925 PyObject *resultobj;
11926 wxFontData *arg1 = (wxFontData *) 0 ;
11927 bool arg2 ;
11928 PyObject * obj0 = 0 ;
11929 PyObject * obj1 = 0 ;
11930 char *kwnames[] = {
11931 (char *) "self",(char *) "allowSymbols", NULL
11932 };
11933
11934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11936 {
11937 arg2 = (bool) SPyObj_AsBool(obj1);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 }
11940 {
11941 PyThreadState* __tstate = wxPyBeginAllowThreads();
11942 (arg1)->SetAllowSymbols(arg2);
11943
11944 wxPyEndAllowThreads(__tstate);
11945 if (PyErr_Occurred()) SWIG_fail;
11946 }
11947 Py_INCREF(Py_None); resultobj = Py_None;
11948 return resultobj;
11949 fail:
11950 return NULL;
11951 }
11952
11953
11954 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11955 PyObject *resultobj;
11956 wxFontData *arg1 = (wxFontData *) 0 ;
11957 wxFont *arg2 = 0 ;
11958 PyObject * obj0 = 0 ;
11959 PyObject * obj1 = 0 ;
11960 char *kwnames[] = {
11961 (char *) "self",(char *) "font", NULL
11962 };
11963
11964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11967 if (arg2 == NULL) {
11968 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11969 }
11970 {
11971 PyThreadState* __tstate = wxPyBeginAllowThreads();
11972 (arg1)->SetChosenFont((wxFont const &)*arg2);
11973
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 Py_INCREF(Py_None); resultobj = Py_None;
11978 return resultobj;
11979 fail:
11980 return NULL;
11981 }
11982
11983
11984 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11985 PyObject *resultobj;
11986 wxFontData *arg1 = (wxFontData *) 0 ;
11987 wxColour *arg2 = 0 ;
11988 wxColour temp2 ;
11989 PyObject * obj0 = 0 ;
11990 PyObject * obj1 = 0 ;
11991 char *kwnames[] = {
11992 (char *) "self",(char *) "colour", NULL
11993 };
11994
11995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11997 {
11998 arg2 = &temp2;
11999 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12000 }
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 (arg1)->SetColour((wxColour const &)*arg2);
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 Py_INCREF(Py_None); resultobj = Py_None;
12009 return resultobj;
12010 fail:
12011 return NULL;
12012 }
12013
12014
12015 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12016 PyObject *resultobj;
12017 wxFontData *arg1 = (wxFontData *) 0 ;
12018 wxFont *arg2 = 0 ;
12019 PyObject * obj0 = 0 ;
12020 PyObject * obj1 = 0 ;
12021 char *kwnames[] = {
12022 (char *) "self",(char *) "font", NULL
12023 };
12024
12025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12027 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12028 if (arg2 == NULL) {
12029 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12030 }
12031 {
12032 PyThreadState* __tstate = wxPyBeginAllowThreads();
12033 (arg1)->SetInitialFont((wxFont const &)*arg2);
12034
12035 wxPyEndAllowThreads(__tstate);
12036 if (PyErr_Occurred()) SWIG_fail;
12037 }
12038 Py_INCREF(Py_None); resultobj = Py_None;
12039 return resultobj;
12040 fail:
12041 return NULL;
12042 }
12043
12044
12045 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12046 PyObject *resultobj;
12047 wxFontData *arg1 = (wxFontData *) 0 ;
12048 int arg2 ;
12049 int arg3 ;
12050 PyObject * obj0 = 0 ;
12051 char *kwnames[] = {
12052 (char *) "self",(char *) "min",(char *) "max", NULL
12053 };
12054
12055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
12056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12057 {
12058 PyThreadState* __tstate = wxPyBeginAllowThreads();
12059 (arg1)->SetRange(arg2,arg3);
12060
12061 wxPyEndAllowThreads(__tstate);
12062 if (PyErr_Occurred()) SWIG_fail;
12063 }
12064 Py_INCREF(Py_None); resultobj = Py_None;
12065 return resultobj;
12066 fail:
12067 return NULL;
12068 }
12069
12070
12071 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12072 PyObject *resultobj;
12073 wxFontData *arg1 = (wxFontData *) 0 ;
12074 bool arg2 ;
12075 PyObject * obj0 = 0 ;
12076 PyObject * obj1 = 0 ;
12077 char *kwnames[] = {
12078 (char *) "self",(char *) "showHelp", NULL
12079 };
12080
12081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12083 {
12084 arg2 = (bool) SPyObj_AsBool(obj1);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 (arg1)->SetShowHelp(arg2);
12090
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
12094 Py_INCREF(Py_None); resultobj = Py_None;
12095 return resultobj;
12096 fail:
12097 return NULL;
12098 }
12099
12100
12101 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
12102 PyObject *obj;
12103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12104 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12105 Py_INCREF(obj);
12106 return Py_BuildValue((char *)"");
12107 }
12108 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12109 PyObject *resultobj;
12110 wxWindow *arg1 = (wxWindow *) 0 ;
12111 wxFontData *arg2 = 0 ;
12112 wxFontDialog *result;
12113 PyObject * obj0 = 0 ;
12114 PyObject * obj1 = 0 ;
12115 char *kwnames[] = {
12116 (char *) "parent",(char *) "data", NULL
12117 };
12118
12119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12122 if (arg2 == NULL) {
12123 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12124 }
12125 {
12126 PyThreadState* __tstate = wxPyBeginAllowThreads();
12127 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12128
12129 wxPyEndAllowThreads(__tstate);
12130 if (PyErr_Occurred()) SWIG_fail;
12131 }
12132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
12133 return resultobj;
12134 fail:
12135 return NULL;
12136 }
12137
12138
12139 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12140 PyObject *resultobj;
12141 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12142 wxFontData *result;
12143 PyObject * obj0 = 0 ;
12144 char *kwnames[] = {
12145 (char *) "self", NULL
12146 };
12147
12148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 {
12153 wxFontData &_result_ref = (arg1)->GetFontData();
12154 result = (wxFontData *) &_result_ref;
12155 }
12156
12157 wxPyEndAllowThreads(__tstate);
12158 if (PyErr_Occurred()) SWIG_fail;
12159 }
12160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
12161 return resultobj;
12162 fail:
12163 return NULL;
12164 }
12165
12166
12167 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12168 PyObject *resultobj;
12169 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12170 int result;
12171 PyObject * obj0 = 0 ;
12172 char *kwnames[] = {
12173 (char *) "self", NULL
12174 };
12175
12176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
12177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12178 {
12179 PyThreadState* __tstate = wxPyBeginAllowThreads();
12180 result = (int)(arg1)->ShowModal();
12181
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
12185 resultobj = PyInt_FromLong((long)result);
12186 return resultobj;
12187 fail:
12188 return NULL;
12189 }
12190
12191
12192 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
12193 PyObject *obj;
12194 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12195 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12196 Py_INCREF(obj);
12197 return Py_BuildValue((char *)"");
12198 }
12199 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12200 PyObject *resultobj;
12201 wxWindow *arg1 = (wxWindow *) 0 ;
12202 wxString *arg2 = 0 ;
12203 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12204 wxString *arg3 = (wxString *) &arg3_defvalue ;
12205 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12206 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12207 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12208 wxMessageDialog *result;
12209 bool temp2 = False ;
12210 bool temp3 = False ;
12211 wxPoint temp5 ;
12212 PyObject * obj0 = 0 ;
12213 PyObject * obj1 = 0 ;
12214 PyObject * obj2 = 0 ;
12215 PyObject * obj4 = 0 ;
12216 char *kwnames[] = {
12217 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12218 };
12219
12220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
12221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12222 {
12223 arg2 = wxString_in_helper(obj1);
12224 if (arg2 == NULL) SWIG_fail;
12225 temp2 = True;
12226 }
12227 if (obj2) {
12228 {
12229 arg3 = wxString_in_helper(obj2);
12230 if (arg3 == NULL) SWIG_fail;
12231 temp3 = True;
12232 }
12233 }
12234 if (obj4) {
12235 {
12236 arg5 = &temp5;
12237 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12238 }
12239 }
12240 {
12241 PyThreadState* __tstate = wxPyBeginAllowThreads();
12242 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12243
12244 wxPyEndAllowThreads(__tstate);
12245 if (PyErr_Occurred()) SWIG_fail;
12246 }
12247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12248 {
12249 if (temp2)
12250 delete arg2;
12251 }
12252 {
12253 if (temp3)
12254 delete arg3;
12255 }
12256 return resultobj;
12257 fail:
12258 {
12259 if (temp2)
12260 delete arg2;
12261 }
12262 {
12263 if (temp3)
12264 delete arg3;
12265 }
12266 return NULL;
12267 }
12268
12269
12270 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12271 PyObject *resultobj;
12272 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12273 int result;
12274 PyObject * obj0 = 0 ;
12275 char *kwnames[] = {
12276 (char *) "self", NULL
12277 };
12278
12279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12281 {
12282 PyThreadState* __tstate = wxPyBeginAllowThreads();
12283 result = (int)(arg1)->ShowModal();
12284
12285 wxPyEndAllowThreads(__tstate);
12286 if (PyErr_Occurred()) SWIG_fail;
12287 }
12288 resultobj = PyInt_FromLong((long)result);
12289 return resultobj;
12290 fail:
12291 return NULL;
12292 }
12293
12294
12295 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12296 PyObject *obj;
12297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12298 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12299 Py_INCREF(obj);
12300 return Py_BuildValue((char *)"");
12301 }
12302 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12303 PyObject *resultobj;
12304 wxString *arg1 = 0 ;
12305 wxString *arg2 = 0 ;
12306 int arg3 = (int) 100 ;
12307 wxWindow *arg4 = (wxWindow *) NULL ;
12308 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12309 wxProgressDialog *result;
12310 bool temp1 = False ;
12311 bool temp2 = False ;
12312 PyObject * obj0 = 0 ;
12313 PyObject * obj1 = 0 ;
12314 PyObject * obj3 = 0 ;
12315 char *kwnames[] = {
12316 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12317 };
12318
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
12320 {
12321 arg1 = wxString_in_helper(obj0);
12322 if (arg1 == NULL) SWIG_fail;
12323 temp1 = True;
12324 }
12325 {
12326 arg2 = wxString_in_helper(obj1);
12327 if (arg2 == NULL) SWIG_fail;
12328 temp2 = True;
12329 }
12330 if (obj3) {
12331 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12332 }
12333 {
12334 PyThreadState* __tstate = wxPyBeginAllowThreads();
12335 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12336
12337 wxPyEndAllowThreads(__tstate);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12341 {
12342 if (temp1)
12343 delete arg1;
12344 }
12345 {
12346 if (temp2)
12347 delete arg2;
12348 }
12349 return resultobj;
12350 fail:
12351 {
12352 if (temp1)
12353 delete arg1;
12354 }
12355 {
12356 if (temp2)
12357 delete arg2;
12358 }
12359 return NULL;
12360 }
12361
12362
12363 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12364 PyObject *resultobj;
12365 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12366 int arg2 ;
12367 wxString const &arg3_defvalue = wxPyEmptyString ;
12368 wxString *arg3 = (wxString *) &arg3_defvalue ;
12369 bool result;
12370 bool temp3 = False ;
12371 PyObject * obj0 = 0 ;
12372 PyObject * obj2 = 0 ;
12373 char *kwnames[] = {
12374 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12375 };
12376
12377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
12378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12379 if (obj2) {
12380 {
12381 arg3 = wxString_in_helper(obj2);
12382 if (arg3 == NULL) SWIG_fail;
12383 temp3 = True;
12384 }
12385 }
12386 {
12387 PyThreadState* __tstate = wxPyBeginAllowThreads();
12388 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12389
12390 wxPyEndAllowThreads(__tstate);
12391 if (PyErr_Occurred()) SWIG_fail;
12392 }
12393 resultobj = PyInt_FromLong((long)result);
12394 {
12395 if (temp3)
12396 delete arg3;
12397 }
12398 return resultobj;
12399 fail:
12400 {
12401 if (temp3)
12402 delete arg3;
12403 }
12404 return NULL;
12405 }
12406
12407
12408 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj;
12410 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12411 PyObject * obj0 = 0 ;
12412 char *kwnames[] = {
12413 (char *) "self", NULL
12414 };
12415
12416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12418 {
12419 PyThreadState* __tstate = wxPyBeginAllowThreads();
12420 (arg1)->Resume();
12421
12422 wxPyEndAllowThreads(__tstate);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 }
12425 Py_INCREF(Py_None); resultobj = Py_None;
12426 return resultobj;
12427 fail:
12428 return NULL;
12429 }
12430
12431
12432 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12433 PyObject *obj;
12434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12435 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12436 Py_INCREF(obj);
12437 return Py_BuildValue((char *)"");
12438 }
12439 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12440 PyObject *resultobj;
12441 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12442 int arg2 = (int) 0 ;
12443 wxFindDialogEvent *result;
12444 char *kwnames[] = {
12445 (char *) "commandType",(char *) "id", NULL
12446 };
12447
12448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12449 {
12450 PyThreadState* __tstate = wxPyBeginAllowThreads();
12451 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12452
12453 wxPyEndAllowThreads(__tstate);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 }
12456 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12457 return resultobj;
12458 fail:
12459 return NULL;
12460 }
12461
12462
12463 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12464 PyObject *resultobj;
12465 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12466 int result;
12467 PyObject * obj0 = 0 ;
12468 char *kwnames[] = {
12469 (char *) "self", NULL
12470 };
12471
12472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 result = (int)(arg1)->GetFlags();
12477
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 resultobj = PyInt_FromLong((long)result);
12482 return resultobj;
12483 fail:
12484 return NULL;
12485 }
12486
12487
12488 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12489 PyObject *resultobj;
12490 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12491 wxString *result;
12492 PyObject * obj0 = 0 ;
12493 char *kwnames[] = {
12494 (char *) "self", NULL
12495 };
12496
12497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12499 {
12500 PyThreadState* __tstate = wxPyBeginAllowThreads();
12501 {
12502 wxString const &_result_ref = (arg1)->GetFindString();
12503 result = (wxString *) &_result_ref;
12504 }
12505
12506 wxPyEndAllowThreads(__tstate);
12507 if (PyErr_Occurred()) SWIG_fail;
12508 }
12509 {
12510 #if wxUSE_UNICODE
12511 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12512 #else
12513 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12514 #endif
12515 }
12516 return resultobj;
12517 fail:
12518 return NULL;
12519 }
12520
12521
12522 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12523 PyObject *resultobj;
12524 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12525 wxString *result;
12526 PyObject * obj0 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "self", NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12533 {
12534 PyThreadState* __tstate = wxPyBeginAllowThreads();
12535 {
12536 wxString const &_result_ref = (arg1)->GetReplaceString();
12537 result = (wxString *) &_result_ref;
12538 }
12539
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 {
12544 #if wxUSE_UNICODE
12545 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12546 #else
12547 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12548 #endif
12549 }
12550 return resultobj;
12551 fail:
12552 return NULL;
12553 }
12554
12555
12556 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12557 PyObject *resultobj;
12558 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12559 wxFindReplaceDialog *result;
12560 PyObject * obj0 = 0 ;
12561 char *kwnames[] = {
12562 (char *) "self", NULL
12563 };
12564
12565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12567 {
12568 PyThreadState* __tstate = wxPyBeginAllowThreads();
12569 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12570
12571 wxPyEndAllowThreads(__tstate);
12572 if (PyErr_Occurred()) SWIG_fail;
12573 }
12574 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12575 return resultobj;
12576 fail:
12577 return NULL;
12578 }
12579
12580
12581 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12582 PyObject *resultobj;
12583 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12584 int arg2 ;
12585 PyObject * obj0 = 0 ;
12586 char *kwnames[] = {
12587 (char *) "self",(char *) "flags", NULL
12588 };
12589
12590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12592 {
12593 PyThreadState* __tstate = wxPyBeginAllowThreads();
12594 (arg1)->SetFlags(arg2);
12595
12596 wxPyEndAllowThreads(__tstate);
12597 if (PyErr_Occurred()) SWIG_fail;
12598 }
12599 Py_INCREF(Py_None); resultobj = Py_None;
12600 return resultobj;
12601 fail:
12602 return NULL;
12603 }
12604
12605
12606 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12607 PyObject *resultobj;
12608 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12609 wxString *arg2 = 0 ;
12610 bool temp2 = False ;
12611 PyObject * obj0 = 0 ;
12612 PyObject * obj1 = 0 ;
12613 char *kwnames[] = {
12614 (char *) "self",(char *) "str", NULL
12615 };
12616
12617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12619 {
12620 arg2 = wxString_in_helper(obj1);
12621 if (arg2 == NULL) SWIG_fail;
12622 temp2 = True;
12623 }
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 (arg1)->SetFindString((wxString const &)*arg2);
12627
12628 wxPyEndAllowThreads(__tstate);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
12631 Py_INCREF(Py_None); resultobj = Py_None;
12632 {
12633 if (temp2)
12634 delete arg2;
12635 }
12636 return resultobj;
12637 fail:
12638 {
12639 if (temp2)
12640 delete arg2;
12641 }
12642 return NULL;
12643 }
12644
12645
12646 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj;
12648 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12649 wxString *arg2 = 0 ;
12650 bool temp2 = False ;
12651 PyObject * obj0 = 0 ;
12652 PyObject * obj1 = 0 ;
12653 char *kwnames[] = {
12654 (char *) "self",(char *) "str", NULL
12655 };
12656
12657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12659 {
12660 arg2 = wxString_in_helper(obj1);
12661 if (arg2 == NULL) SWIG_fail;
12662 temp2 = True;
12663 }
12664 {
12665 PyThreadState* __tstate = wxPyBeginAllowThreads();
12666 (arg1)->SetReplaceString((wxString const &)*arg2);
12667
12668 wxPyEndAllowThreads(__tstate);
12669 if (PyErr_Occurred()) SWIG_fail;
12670 }
12671 Py_INCREF(Py_None); resultobj = Py_None;
12672 {
12673 if (temp2)
12674 delete arg2;
12675 }
12676 return resultobj;
12677 fail:
12678 {
12679 if (temp2)
12680 delete arg2;
12681 }
12682 return NULL;
12683 }
12684
12685
12686 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12687 PyObject *obj;
12688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12689 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12690 Py_INCREF(obj);
12691 return Py_BuildValue((char *)"");
12692 }
12693 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj;
12695 int arg1 = (int) 0 ;
12696 wxFindReplaceData *result;
12697 char *kwnames[] = {
12698 (char *) "flags", NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12702 {
12703 PyThreadState* __tstate = wxPyBeginAllowThreads();
12704 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12705
12706 wxPyEndAllowThreads(__tstate);
12707 if (PyErr_Occurred()) SWIG_fail;
12708 }
12709 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12710 return resultobj;
12711 fail:
12712 return NULL;
12713 }
12714
12715
12716 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12717 PyObject *resultobj;
12718 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12719 PyObject * obj0 = 0 ;
12720 char *kwnames[] = {
12721 (char *) "self", NULL
12722 };
12723
12724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12726 {
12727 PyThreadState* __tstate = wxPyBeginAllowThreads();
12728 delete arg1;
12729
12730 wxPyEndAllowThreads(__tstate);
12731 if (PyErr_Occurred()) SWIG_fail;
12732 }
12733 Py_INCREF(Py_None); resultobj = Py_None;
12734 return resultobj;
12735 fail:
12736 return NULL;
12737 }
12738
12739
12740 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12741 PyObject *resultobj;
12742 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12743 wxString *result;
12744 PyObject * obj0 = 0 ;
12745 char *kwnames[] = {
12746 (char *) "self", NULL
12747 };
12748
12749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12751 {
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
12753 {
12754 wxString const &_result_ref = (arg1)->GetFindString();
12755 result = (wxString *) &_result_ref;
12756 }
12757
12758 wxPyEndAllowThreads(__tstate);
12759 if (PyErr_Occurred()) SWIG_fail;
12760 }
12761 {
12762 #if wxUSE_UNICODE
12763 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12764 #else
12765 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12766 #endif
12767 }
12768 return resultobj;
12769 fail:
12770 return NULL;
12771 }
12772
12773
12774 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12775 PyObject *resultobj;
12776 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12777 wxString *result;
12778 PyObject * obj0 = 0 ;
12779 char *kwnames[] = {
12780 (char *) "self", NULL
12781 };
12782
12783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 {
12788 wxString const &_result_ref = (arg1)->GetReplaceString();
12789 result = (wxString *) &_result_ref;
12790 }
12791
12792 wxPyEndAllowThreads(__tstate);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
12795 {
12796 #if wxUSE_UNICODE
12797 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12798 #else
12799 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12800 #endif
12801 }
12802 return resultobj;
12803 fail:
12804 return NULL;
12805 }
12806
12807
12808 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12809 PyObject *resultobj;
12810 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12811 int result;
12812 PyObject * obj0 = 0 ;
12813 char *kwnames[] = {
12814 (char *) "self", NULL
12815 };
12816
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12819 {
12820 PyThreadState* __tstate = wxPyBeginAllowThreads();
12821 result = (int)(arg1)->GetFlags();
12822
12823 wxPyEndAllowThreads(__tstate);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 }
12826 resultobj = PyInt_FromLong((long)result);
12827 return resultobj;
12828 fail:
12829 return NULL;
12830 }
12831
12832
12833 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12834 PyObject *resultobj;
12835 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12836 int arg2 ;
12837 PyObject * obj0 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "self",(char *) "flags", NULL
12840 };
12841
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12844 {
12845 PyThreadState* __tstate = wxPyBeginAllowThreads();
12846 (arg1)->SetFlags(arg2);
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_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj;
12860 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12861 wxString *arg2 = 0 ;
12862 bool temp2 = False ;
12863 PyObject * obj0 = 0 ;
12864 PyObject * obj1 = 0 ;
12865 char *kwnames[] = {
12866 (char *) "self",(char *) "str", NULL
12867 };
12868
12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12871 {
12872 arg2 = wxString_in_helper(obj1);
12873 if (arg2 == NULL) SWIG_fail;
12874 temp2 = True;
12875 }
12876 {
12877 PyThreadState* __tstate = wxPyBeginAllowThreads();
12878 (arg1)->SetFindString((wxString const &)*arg2);
12879
12880 wxPyEndAllowThreads(__tstate);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 }
12883 Py_INCREF(Py_None); resultobj = Py_None;
12884 {
12885 if (temp2)
12886 delete arg2;
12887 }
12888 return resultobj;
12889 fail:
12890 {
12891 if (temp2)
12892 delete arg2;
12893 }
12894 return NULL;
12895 }
12896
12897
12898 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12901 wxString *arg2 = 0 ;
12902 bool temp2 = False ;
12903 PyObject * obj0 = 0 ;
12904 PyObject * obj1 = 0 ;
12905 char *kwnames[] = {
12906 (char *) "self",(char *) "str", NULL
12907 };
12908
12909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12911 {
12912 arg2 = wxString_in_helper(obj1);
12913 if (arg2 == NULL) SWIG_fail;
12914 temp2 = True;
12915 }
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
12918 (arg1)->SetReplaceString((wxString const &)*arg2);
12919
12920 wxPyEndAllowThreads(__tstate);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 Py_INCREF(Py_None); resultobj = Py_None;
12924 {
12925 if (temp2)
12926 delete arg2;
12927 }
12928 return resultobj;
12929 fail:
12930 {
12931 if (temp2)
12932 delete arg2;
12933 }
12934 return NULL;
12935 }
12936
12937
12938 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12939 PyObject *obj;
12940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12941 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12942 Py_INCREF(obj);
12943 return Py_BuildValue((char *)"");
12944 }
12945 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12946 PyObject *resultobj;
12947 wxWindow *arg1 = (wxWindow *) 0 ;
12948 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12949 wxString *arg3 = 0 ;
12950 int arg4 = (int) 0 ;
12951 wxFindReplaceDialog *result;
12952 bool temp3 = False ;
12953 PyObject * obj0 = 0 ;
12954 PyObject * obj1 = 0 ;
12955 PyObject * obj2 = 0 ;
12956 char *kwnames[] = {
12957 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12958 };
12959
12960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12963 {
12964 arg3 = wxString_in_helper(obj2);
12965 if (arg3 == NULL) SWIG_fail;
12966 temp3 = True;
12967 }
12968 {
12969 PyThreadState* __tstate = wxPyBeginAllowThreads();
12970 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12971
12972 wxPyEndAllowThreads(__tstate);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
12975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12976 {
12977 if (temp3)
12978 delete arg3;
12979 }
12980 return resultobj;
12981 fail:
12982 {
12983 if (temp3)
12984 delete arg3;
12985 }
12986 return NULL;
12987 }
12988
12989
12990 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12991 PyObject *resultobj;
12992 wxFindReplaceDialog *result;
12993 char *kwnames[] = {
12994 NULL
12995 };
12996
12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12998 {
12999 PyThreadState* __tstate = wxPyBeginAllowThreads();
13000 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13001
13002 wxPyEndAllowThreads(__tstate);
13003 if (PyErr_Occurred()) SWIG_fail;
13004 }
13005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13006 return resultobj;
13007 fail:
13008 return NULL;
13009 }
13010
13011
13012 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13013 PyObject *resultobj;
13014 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13015 wxWindow *arg2 = (wxWindow *) 0 ;
13016 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13017 wxString *arg4 = 0 ;
13018 int arg5 = (int) 0 ;
13019 bool result;
13020 bool temp4 = False ;
13021 PyObject * obj0 = 0 ;
13022 PyObject * obj1 = 0 ;
13023 PyObject * obj2 = 0 ;
13024 PyObject * obj3 = 0 ;
13025 char *kwnames[] = {
13026 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
13030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13032 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13033 {
13034 arg4 = wxString_in_helper(obj3);
13035 if (arg4 == NULL) SWIG_fail;
13036 temp4 = True;
13037 }
13038 {
13039 PyThreadState* __tstate = wxPyBeginAllowThreads();
13040 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13041
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
13045 resultobj = PyInt_FromLong((long)result);
13046 {
13047 if (temp4)
13048 delete arg4;
13049 }
13050 return resultobj;
13051 fail:
13052 {
13053 if (temp4)
13054 delete arg4;
13055 }
13056 return NULL;
13057 }
13058
13059
13060 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13061 PyObject *resultobj;
13062 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13063 wxFindReplaceData *result;
13064 PyObject * obj0 = 0 ;
13065 char *kwnames[] = {
13066 (char *) "self", NULL
13067 };
13068
13069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 result = (wxFindReplaceData *)(arg1)->GetData();
13074
13075 wxPyEndAllowThreads(__tstate);
13076 if (PyErr_Occurred()) SWIG_fail;
13077 }
13078 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
13079 return resultobj;
13080 fail:
13081 return NULL;
13082 }
13083
13084
13085 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13086 PyObject *resultobj;
13087 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13088 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13089 PyObject * obj0 = 0 ;
13090 PyObject * obj1 = 0 ;
13091 char *kwnames[] = {
13092 (char *) "self",(char *) "data", NULL
13093 };
13094
13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 (arg1)->SetData(arg2);
13101
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 Py_INCREF(Py_None); resultobj = Py_None;
13106 return resultobj;
13107 fail:
13108 return NULL;
13109 }
13110
13111
13112 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
13113 PyObject *obj;
13114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13115 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
13116 Py_INCREF(obj);
13117 return Py_BuildValue((char *)"");
13118 }
13119 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13120 PyObject *resultobj;
13121 wxWindow *arg1 = (wxWindow *) 0 ;
13122 int arg2 ;
13123 wxString *arg3 = 0 ;
13124 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13125 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13126 wxSize const &arg5_defvalue = wxDefaultSize ;
13127 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13128 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13129 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13130 wxString *arg7 = (wxString *) &arg7_defvalue ;
13131 wxMDIParentFrame *result;
13132 bool temp3 = False ;
13133 wxPoint temp4 ;
13134 wxSize temp5 ;
13135 bool temp7 = False ;
13136 PyObject * obj0 = 0 ;
13137 PyObject * obj2 = 0 ;
13138 PyObject * obj3 = 0 ;
13139 PyObject * obj4 = 0 ;
13140 PyObject * obj6 = 0 ;
13141 char *kwnames[] = {
13142 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13143 };
13144
13145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13147 {
13148 arg3 = wxString_in_helper(obj2);
13149 if (arg3 == NULL) SWIG_fail;
13150 temp3 = True;
13151 }
13152 if (obj3) {
13153 {
13154 arg4 = &temp4;
13155 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13156 }
13157 }
13158 if (obj4) {
13159 {
13160 arg5 = &temp5;
13161 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13162 }
13163 }
13164 if (obj6) {
13165 {
13166 arg7 = wxString_in_helper(obj6);
13167 if (arg7 == NULL) SWIG_fail;
13168 temp7 = True;
13169 }
13170 }
13171 {
13172 PyThreadState* __tstate = wxPyBeginAllowThreads();
13173 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13174
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
13178 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13179 {
13180 if (temp3)
13181 delete arg3;
13182 }
13183 {
13184 if (temp7)
13185 delete arg7;
13186 }
13187 return resultobj;
13188 fail:
13189 {
13190 if (temp3)
13191 delete arg3;
13192 }
13193 {
13194 if (temp7)
13195 delete arg7;
13196 }
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxMDIParentFrame *result;
13204 char *kwnames[] = {
13205 NULL
13206 };
13207
13208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13209 {
13210 PyThreadState* __tstate = wxPyBeginAllowThreads();
13211 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13212
13213 wxPyEndAllowThreads(__tstate);
13214 if (PyErr_Occurred()) SWIG_fail;
13215 }
13216 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13217 return resultobj;
13218 fail:
13219 return NULL;
13220 }
13221
13222
13223 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13224 PyObject *resultobj;
13225 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13226 wxWindow *arg2 = (wxWindow *) 0 ;
13227 int arg3 ;
13228 wxString *arg4 = 0 ;
13229 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13230 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13231 wxSize const &arg6_defvalue = wxDefaultSize ;
13232 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13233 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13234 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13235 wxString *arg8 = (wxString *) &arg8_defvalue ;
13236 bool result;
13237 bool temp4 = False ;
13238 wxPoint temp5 ;
13239 wxSize temp6 ;
13240 bool temp8 = False ;
13241 PyObject * obj0 = 0 ;
13242 PyObject * obj1 = 0 ;
13243 PyObject * obj3 = 0 ;
13244 PyObject * obj4 = 0 ;
13245 PyObject * obj5 = 0 ;
13246 PyObject * obj7 = 0 ;
13247 char *kwnames[] = {
13248 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13249 };
13250
13251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13254 {
13255 arg4 = wxString_in_helper(obj3);
13256 if (arg4 == NULL) SWIG_fail;
13257 temp4 = True;
13258 }
13259 if (obj4) {
13260 {
13261 arg5 = &temp5;
13262 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13263 }
13264 }
13265 if (obj5) {
13266 {
13267 arg6 = &temp6;
13268 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13269 }
13270 }
13271 if (obj7) {
13272 {
13273 arg8 = wxString_in_helper(obj7);
13274 if (arg8 == NULL) SWIG_fail;
13275 temp8 = True;
13276 }
13277 }
13278 {
13279 PyThreadState* __tstate = wxPyBeginAllowThreads();
13280 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13281
13282 wxPyEndAllowThreads(__tstate);
13283 if (PyErr_Occurred()) SWIG_fail;
13284 }
13285 resultobj = PyInt_FromLong((long)result);
13286 {
13287 if (temp4)
13288 delete arg4;
13289 }
13290 {
13291 if (temp8)
13292 delete arg8;
13293 }
13294 return resultobj;
13295 fail:
13296 {
13297 if (temp4)
13298 delete arg4;
13299 }
13300 {
13301 if (temp8)
13302 delete arg8;
13303 }
13304 return NULL;
13305 }
13306
13307
13308 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
13309 PyObject *resultobj;
13310 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13311 PyObject * obj0 = 0 ;
13312 char *kwnames[] = {
13313 (char *) "self", NULL
13314 };
13315
13316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
13317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13318 {
13319 PyThreadState* __tstate = wxPyBeginAllowThreads();
13320 (arg1)->ActivateNext();
13321
13322 wxPyEndAllowThreads(__tstate);
13323 if (PyErr_Occurred()) SWIG_fail;
13324 }
13325 Py_INCREF(Py_None); resultobj = Py_None;
13326 return resultobj;
13327 fail:
13328 return NULL;
13329 }
13330
13331
13332 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
13333 PyObject *resultobj;
13334 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13335 PyObject * obj0 = 0 ;
13336 char *kwnames[] = {
13337 (char *) "self", NULL
13338 };
13339
13340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
13341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 (arg1)->ActivatePrevious();
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 Py_INCREF(Py_None); resultobj = Py_None;
13350 return resultobj;
13351 fail:
13352 return NULL;
13353 }
13354
13355
13356 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj;
13358 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13359 PyObject * obj0 = 0 ;
13360 char *kwnames[] = {
13361 (char *) "self", NULL
13362 };
13363
13364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
13365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13366 {
13367 PyThreadState* __tstate = wxPyBeginAllowThreads();
13368 (arg1)->ArrangeIcons();
13369
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
13373 Py_INCREF(Py_None); resultobj = Py_None;
13374 return resultobj;
13375 fail:
13376 return NULL;
13377 }
13378
13379
13380 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
13381 PyObject *resultobj;
13382 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13383 PyObject * obj0 = 0 ;
13384 char *kwnames[] = {
13385 (char *) "self", NULL
13386 };
13387
13388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
13389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13390 {
13391 PyThreadState* __tstate = wxPyBeginAllowThreads();
13392 (arg1)->Cascade();
13393
13394 wxPyEndAllowThreads(__tstate);
13395 if (PyErr_Occurred()) SWIG_fail;
13396 }
13397 Py_INCREF(Py_None); resultobj = Py_None;
13398 return resultobj;
13399 fail:
13400 return NULL;
13401 }
13402
13403
13404 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13405 PyObject *resultobj;
13406 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13407 wxMDIChildFrame *result;
13408 PyObject * obj0 = 0 ;
13409 char *kwnames[] = {
13410 (char *) "self", NULL
13411 };
13412
13413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13418
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 {
13423 resultobj = wxPyMake_wxObject(result);
13424 }
13425 return resultobj;
13426 fail:
13427 return NULL;
13428 }
13429
13430
13431 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13432 PyObject *resultobj;
13433 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13434 wxMDIClientWindow *result;
13435 PyObject * obj0 = 0 ;
13436 char *kwnames[] = {
13437 (char *) "self", NULL
13438 };
13439
13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13442 {
13443 PyThreadState* __tstate = wxPyBeginAllowThreads();
13444 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13445
13446 wxPyEndAllowThreads(__tstate);
13447 if (PyErr_Occurred()) SWIG_fail;
13448 }
13449 {
13450 resultobj = wxPyMake_wxObject(result);
13451 }
13452 return resultobj;
13453 fail:
13454 return NULL;
13455 }
13456
13457
13458 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13459 PyObject *resultobj;
13460 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13461 wxWindow *result;
13462 PyObject * obj0 = 0 ;
13463 char *kwnames[] = {
13464 (char *) "self", NULL
13465 };
13466
13467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 result = (wxWindow *)(arg1)->GetToolBar();
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
13476 {
13477 resultobj = wxPyMake_wxObject(result);
13478 }
13479 return resultobj;
13480 fail:
13481 return NULL;
13482 }
13483
13484
13485 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13486 PyObject *resultobj;
13487 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13488 PyObject * obj0 = 0 ;
13489 char *kwnames[] = {
13490 (char *) "self", NULL
13491 };
13492
13493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13495 {
13496 PyThreadState* __tstate = wxPyBeginAllowThreads();
13497 (arg1)->Tile();
13498
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 Py_INCREF(Py_None); resultobj = Py_None;
13503 return resultobj;
13504 fail:
13505 return NULL;
13506 }
13507
13508
13509 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13510 PyObject *obj;
13511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13512 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13513 Py_INCREF(obj);
13514 return Py_BuildValue((char *)"");
13515 }
13516 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13517 PyObject *resultobj;
13518 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13519 int arg2 ;
13520 wxString *arg3 = 0 ;
13521 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13522 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13523 wxSize const &arg5_defvalue = wxDefaultSize ;
13524 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13525 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13526 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13527 wxString *arg7 = (wxString *) &arg7_defvalue ;
13528 wxMDIChildFrame *result;
13529 bool temp3 = False ;
13530 wxPoint temp4 ;
13531 wxSize temp5 ;
13532 bool temp7 = False ;
13533 PyObject * obj0 = 0 ;
13534 PyObject * obj2 = 0 ;
13535 PyObject * obj3 = 0 ;
13536 PyObject * obj4 = 0 ;
13537 PyObject * obj6 = 0 ;
13538 char *kwnames[] = {
13539 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13540 };
13541
13542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13544 {
13545 arg3 = wxString_in_helper(obj2);
13546 if (arg3 == NULL) SWIG_fail;
13547 temp3 = True;
13548 }
13549 if (obj3) {
13550 {
13551 arg4 = &temp4;
13552 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13553 }
13554 }
13555 if (obj4) {
13556 {
13557 arg5 = &temp5;
13558 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13559 }
13560 }
13561 if (obj6) {
13562 {
13563 arg7 = wxString_in_helper(obj6);
13564 if (arg7 == NULL) SWIG_fail;
13565 temp7 = True;
13566 }
13567 }
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13571
13572 wxPyEndAllowThreads(__tstate);
13573 if (PyErr_Occurred()) SWIG_fail;
13574 }
13575 {
13576 resultobj = wxPyMake_wxObject(result);
13577 }
13578 {
13579 if (temp3)
13580 delete arg3;
13581 }
13582 {
13583 if (temp7)
13584 delete arg7;
13585 }
13586 return resultobj;
13587 fail:
13588 {
13589 if (temp3)
13590 delete arg3;
13591 }
13592 {
13593 if (temp7)
13594 delete arg7;
13595 }
13596 return NULL;
13597 }
13598
13599
13600 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13601 PyObject *resultobj;
13602 wxMDIChildFrame *result;
13603 char *kwnames[] = {
13604 NULL
13605 };
13606
13607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13611
13612 wxPyEndAllowThreads(__tstate);
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
13615 {
13616 resultobj = wxPyMake_wxObject(result);
13617 }
13618 return resultobj;
13619 fail:
13620 return NULL;
13621 }
13622
13623
13624 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13625 PyObject *resultobj;
13626 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13627 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13628 int arg3 ;
13629 wxString *arg4 = 0 ;
13630 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13631 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13632 wxSize const &arg6_defvalue = wxDefaultSize ;
13633 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13634 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13635 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13636 wxString *arg8 = (wxString *) &arg8_defvalue ;
13637 bool result;
13638 bool temp4 = False ;
13639 wxPoint temp5 ;
13640 wxSize temp6 ;
13641 bool temp8 = False ;
13642 PyObject * obj0 = 0 ;
13643 PyObject * obj1 = 0 ;
13644 PyObject * obj3 = 0 ;
13645 PyObject * obj4 = 0 ;
13646 PyObject * obj5 = 0 ;
13647 PyObject * obj7 = 0 ;
13648 char *kwnames[] = {
13649 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13650 };
13651
13652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13655 {
13656 arg4 = wxString_in_helper(obj3);
13657 if (arg4 == NULL) SWIG_fail;
13658 temp4 = True;
13659 }
13660 if (obj4) {
13661 {
13662 arg5 = &temp5;
13663 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13664 }
13665 }
13666 if (obj5) {
13667 {
13668 arg6 = &temp6;
13669 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13670 }
13671 }
13672 if (obj7) {
13673 {
13674 arg8 = wxString_in_helper(obj7);
13675 if (arg8 == NULL) SWIG_fail;
13676 temp8 = True;
13677 }
13678 }
13679 {
13680 PyThreadState* __tstate = wxPyBeginAllowThreads();
13681 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13682
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 resultobj = PyInt_FromLong((long)result);
13687 {
13688 if (temp4)
13689 delete arg4;
13690 }
13691 {
13692 if (temp8)
13693 delete arg8;
13694 }
13695 return resultobj;
13696 fail:
13697 {
13698 if (temp4)
13699 delete arg4;
13700 }
13701 {
13702 if (temp8)
13703 delete arg8;
13704 }
13705 return NULL;
13706 }
13707
13708
13709 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13710 PyObject *resultobj;
13711 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13712 PyObject * obj0 = 0 ;
13713 char *kwnames[] = {
13714 (char *) "self", NULL
13715 };
13716
13717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 (arg1)->Activate();
13722
13723 wxPyEndAllowThreads(__tstate);
13724 if (PyErr_Occurred()) SWIG_fail;
13725 }
13726 Py_INCREF(Py_None); resultobj = Py_None;
13727 return resultobj;
13728 fail:
13729 return NULL;
13730 }
13731
13732
13733 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13734 PyObject *resultobj;
13735 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13736 bool arg2 ;
13737 PyObject * obj0 = 0 ;
13738 PyObject * obj1 = 0 ;
13739 char *kwnames[] = {
13740 (char *) "self",(char *) "maximize", NULL
13741 };
13742
13743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13745 {
13746 arg2 = (bool) SPyObj_AsBool(obj1);
13747 if (PyErr_Occurred()) SWIG_fail;
13748 }
13749 {
13750 PyThreadState* __tstate = wxPyBeginAllowThreads();
13751 (arg1)->Maximize(arg2);
13752
13753 wxPyEndAllowThreads(__tstate);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 }
13756 Py_INCREF(Py_None); resultobj = Py_None;
13757 return resultobj;
13758 fail:
13759 return NULL;
13760 }
13761
13762
13763 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13764 PyObject *resultobj;
13765 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13766 PyObject * obj0 = 0 ;
13767 char *kwnames[] = {
13768 (char *) "self", NULL
13769 };
13770
13771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13773 {
13774 PyThreadState* __tstate = wxPyBeginAllowThreads();
13775 (arg1)->Restore();
13776
13777 wxPyEndAllowThreads(__tstate);
13778 if (PyErr_Occurred()) SWIG_fail;
13779 }
13780 Py_INCREF(Py_None); resultobj = Py_None;
13781 return resultobj;
13782 fail:
13783 return NULL;
13784 }
13785
13786
13787 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13788 PyObject *obj;
13789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13790 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13791 Py_INCREF(obj);
13792 return Py_BuildValue((char *)"");
13793 }
13794 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13795 PyObject *resultobj;
13796 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13797 long arg2 = (long) 0 ;
13798 wxMDIClientWindow *result;
13799 PyObject * obj0 = 0 ;
13800 char *kwnames[] = {
13801 (char *) "parent",(char *) "style", NULL
13802 };
13803
13804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13806 {
13807 PyThreadState* __tstate = wxPyBeginAllowThreads();
13808 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13809
13810 wxPyEndAllowThreads(__tstate);
13811 if (PyErr_Occurred()) SWIG_fail;
13812 }
13813 {
13814 resultobj = wxPyMake_wxObject(result);
13815 }
13816 return resultobj;
13817 fail:
13818 return NULL;
13819 }
13820
13821
13822 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13823 PyObject *resultobj;
13824 wxMDIClientWindow *result;
13825 char *kwnames[] = {
13826 NULL
13827 };
13828
13829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13830 {
13831 PyThreadState* __tstate = wxPyBeginAllowThreads();
13832 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13833
13834 wxPyEndAllowThreads(__tstate);
13835 if (PyErr_Occurred()) SWIG_fail;
13836 }
13837 {
13838 resultobj = wxPyMake_wxObject(result);
13839 }
13840 return resultobj;
13841 fail:
13842 return NULL;
13843 }
13844
13845
13846 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13847 PyObject *resultobj;
13848 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13849 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13850 long arg3 = (long) 0 ;
13851 bool result;
13852 PyObject * obj0 = 0 ;
13853 PyObject * obj1 = 0 ;
13854 char *kwnames[] = {
13855 (char *) "self",(char *) "parent",(char *) "style", NULL
13856 };
13857
13858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13860 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 result = (bool)(arg1)->Create(arg2,arg3);
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 resultobj = PyInt_FromLong((long)result);
13869 return resultobj;
13870 fail:
13871 return NULL;
13872 }
13873
13874
13875 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13876 PyObject *obj;
13877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13878 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13879 Py_INCREF(obj);
13880 return Py_BuildValue((char *)"");
13881 }
13882 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13883 PyObject *resultobj;
13884 wxWindow *arg1 = (wxWindow *) 0 ;
13885 int arg2 ;
13886 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13887 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13888 wxSize const &arg4_defvalue = wxDefaultSize ;
13889 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13890 long arg5 = (long) 0 ;
13891 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13892 wxString *arg6 = (wxString *) &arg6_defvalue ;
13893 wxPyWindow *result;
13894 wxPoint temp3 ;
13895 wxSize temp4 ;
13896 bool temp6 = False ;
13897 PyObject * obj0 = 0 ;
13898 PyObject * obj2 = 0 ;
13899 PyObject * obj3 = 0 ;
13900 PyObject * obj5 = 0 ;
13901 char *kwnames[] = {
13902 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13903 };
13904
13905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13907 if (obj2) {
13908 {
13909 arg3 = &temp3;
13910 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13911 }
13912 }
13913 if (obj3) {
13914 {
13915 arg4 = &temp4;
13916 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13917 }
13918 }
13919 if (obj5) {
13920 {
13921 arg6 = wxString_in_helper(obj5);
13922 if (arg6 == NULL) SWIG_fail;
13923 temp6 = True;
13924 }
13925 }
13926 {
13927 PyThreadState* __tstate = wxPyBeginAllowThreads();
13928 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13929
13930 wxPyEndAllowThreads(__tstate);
13931 if (PyErr_Occurred()) SWIG_fail;
13932 }
13933 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13934 {
13935 if (temp6)
13936 delete arg6;
13937 }
13938 return resultobj;
13939 fail:
13940 {
13941 if (temp6)
13942 delete arg6;
13943 }
13944 return NULL;
13945 }
13946
13947
13948 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13949 PyObject *resultobj;
13950 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13951 PyObject *arg2 = (PyObject *) 0 ;
13952 PyObject *arg3 = (PyObject *) 0 ;
13953 PyObject * obj0 = 0 ;
13954 PyObject * obj1 = 0 ;
13955 PyObject * obj2 = 0 ;
13956 char *kwnames[] = {
13957 (char *) "self",(char *) "self",(char *) "_class", NULL
13958 };
13959
13960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13962 arg2 = obj1;
13963 arg3 = obj2;
13964 {
13965 PyThreadState* __tstate = wxPyBeginAllowThreads();
13966 (arg1)->_setCallbackInfo(arg2,arg3);
13967
13968 wxPyEndAllowThreads(__tstate);
13969 if (PyErr_Occurred()) SWIG_fail;
13970 }
13971 Py_INCREF(Py_None); resultobj = Py_None;
13972 return resultobj;
13973 fail:
13974 return NULL;
13975 }
13976
13977
13978 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13979 PyObject *resultobj;
13980 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13981 int arg2 ;
13982 int arg3 ;
13983 int arg4 ;
13984 int arg5 ;
13985 PyObject * obj0 = 0 ;
13986 char *kwnames[] = {
13987 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13988 };
13989
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13992 {
13993 PyThreadState* __tstate = wxPyBeginAllowThreads();
13994 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13995
13996 wxPyEndAllowThreads(__tstate);
13997 if (PyErr_Occurred()) SWIG_fail;
13998 }
13999 Py_INCREF(Py_None); resultobj = Py_None;
14000 return resultobj;
14001 fail:
14002 return NULL;
14003 }
14004
14005
14006 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14007 PyObject *resultobj;
14008 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14009 int arg2 ;
14010 int arg3 ;
14011 int arg4 ;
14012 int arg5 ;
14013 int arg6 = (int) wxSIZE_AUTO ;
14014 PyObject * obj0 = 0 ;
14015 char *kwnames[] = {
14016 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14017 };
14018
14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14021 {
14022 PyThreadState* __tstate = wxPyBeginAllowThreads();
14023 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14024
14025 wxPyEndAllowThreads(__tstate);
14026 if (PyErr_Occurred()) SWIG_fail;
14027 }
14028 Py_INCREF(Py_None); resultobj = Py_None;
14029 return resultobj;
14030 fail:
14031 return NULL;
14032 }
14033
14034
14035 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14036 PyObject *resultobj;
14037 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14038 int arg2 ;
14039 int arg3 ;
14040 PyObject * obj0 = 0 ;
14041 char *kwnames[] = {
14042 (char *) "self",(char *) "width",(char *) "height", NULL
14043 };
14044
14045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14047 {
14048 PyThreadState* __tstate = wxPyBeginAllowThreads();
14049 (arg1)->base_DoSetClientSize(arg2,arg3);
14050
14051 wxPyEndAllowThreads(__tstate);
14052 if (PyErr_Occurred()) SWIG_fail;
14053 }
14054 Py_INCREF(Py_None); resultobj = Py_None;
14055 return resultobj;
14056 fail:
14057 return NULL;
14058 }
14059
14060
14061 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj;
14063 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14064 int arg2 ;
14065 int arg3 ;
14066 PyObject * obj0 = 0 ;
14067 char *kwnames[] = {
14068 (char *) "self",(char *) "x",(char *) "y", NULL
14069 };
14070
14071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14073 {
14074 PyThreadState* __tstate = wxPyBeginAllowThreads();
14075 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14076
14077 wxPyEndAllowThreads(__tstate);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
14080 Py_INCREF(Py_None); resultobj = Py_None;
14081 return resultobj;
14082 fail:
14083 return NULL;
14084 }
14085
14086
14087 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14088 PyObject *resultobj;
14089 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14090 int *arg2 = (int *) 0 ;
14091 int *arg3 = (int *) 0 ;
14092 int temp2 ;
14093 int temp3 ;
14094 PyObject * obj0 = 0 ;
14095 char *kwnames[] = {
14096 (char *) "self", NULL
14097 };
14098
14099 arg2 = &temp2;
14100 arg3 = &temp3;
14101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
14102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14103 {
14104 PyThreadState* __tstate = wxPyBeginAllowThreads();
14105 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
14106
14107 wxPyEndAllowThreads(__tstate);
14108 if (PyErr_Occurred()) SWIG_fail;
14109 }
14110 Py_INCREF(Py_None); resultobj = Py_None;
14111 {
14112 PyObject *o = PyInt_FromLong((long) (*arg2));
14113 resultobj = t_output_helper(resultobj,o);
14114 }
14115 {
14116 PyObject *o = PyInt_FromLong((long) (*arg3));
14117 resultobj = t_output_helper(resultobj,o);
14118 }
14119 return resultobj;
14120 fail:
14121 return NULL;
14122 }
14123
14124
14125 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14126 PyObject *resultobj;
14127 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14128 int *arg2 = (int *) 0 ;
14129 int *arg3 = (int *) 0 ;
14130 int temp2 ;
14131 int temp3 ;
14132 PyObject * obj0 = 0 ;
14133 char *kwnames[] = {
14134 (char *) "self", NULL
14135 };
14136
14137 arg2 = &temp2;
14138 arg3 = &temp3;
14139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
14144
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) SWIG_fail;
14147 }
14148 Py_INCREF(Py_None); resultobj = Py_None;
14149 {
14150 PyObject *o = PyInt_FromLong((long) (*arg2));
14151 resultobj = t_output_helper(resultobj,o);
14152 }
14153 {
14154 PyObject *o = PyInt_FromLong((long) (*arg3));
14155 resultobj = t_output_helper(resultobj,o);
14156 }
14157 return resultobj;
14158 fail:
14159 return NULL;
14160 }
14161
14162
14163 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14164 PyObject *resultobj;
14165 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14166 int *arg2 = (int *) 0 ;
14167 int *arg3 = (int *) 0 ;
14168 int temp2 ;
14169 int temp3 ;
14170 PyObject * obj0 = 0 ;
14171 char *kwnames[] = {
14172 (char *) "self", NULL
14173 };
14174
14175 arg2 = &temp2;
14176 arg3 = &temp3;
14177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
14178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14179 {
14180 PyThreadState* __tstate = wxPyBeginAllowThreads();
14181 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
14182
14183 wxPyEndAllowThreads(__tstate);
14184 if (PyErr_Occurred()) SWIG_fail;
14185 }
14186 Py_INCREF(Py_None); resultobj = Py_None;
14187 {
14188 PyObject *o = PyInt_FromLong((long) (*arg2));
14189 resultobj = t_output_helper(resultobj,o);
14190 }
14191 {
14192 PyObject *o = PyInt_FromLong((long) (*arg3));
14193 resultobj = t_output_helper(resultobj,o);
14194 }
14195 return resultobj;
14196 fail:
14197 return NULL;
14198 }
14199
14200
14201 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14204 wxSize result;
14205 PyObject * obj0 = 0 ;
14206 char *kwnames[] = {
14207 (char *) "self", NULL
14208 };
14209
14210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14212 {
14213 PyThreadState* __tstate = wxPyBeginAllowThreads();
14214 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
14215
14216 wxPyEndAllowThreads(__tstate);
14217 if (PyErr_Occurred()) SWIG_fail;
14218 }
14219 {
14220 wxSize * resultptr;
14221 resultptr = new wxSize((wxSize &) result);
14222 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14223 }
14224 return resultobj;
14225 fail:
14226 return NULL;
14227 }
14228
14229
14230 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14231 PyObject *resultobj;
14232 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14233 wxSize result;
14234 PyObject * obj0 = 0 ;
14235 char *kwnames[] = {
14236 (char *) "self", NULL
14237 };
14238
14239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14241 {
14242 PyThreadState* __tstate = wxPyBeginAllowThreads();
14243 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
14244
14245 wxPyEndAllowThreads(__tstate);
14246 if (PyErr_Occurred()) SWIG_fail;
14247 }
14248 {
14249 wxSize * resultptr;
14250 resultptr = new wxSize((wxSize &) result);
14251 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14252 }
14253 return resultobj;
14254 fail:
14255 return NULL;
14256 }
14257
14258
14259 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14262 PyObject * obj0 = 0 ;
14263 char *kwnames[] = {
14264 (char *) "self", NULL
14265 };
14266
14267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
14268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14269 {
14270 PyThreadState* __tstate = wxPyBeginAllowThreads();
14271 (arg1)->base_InitDialog();
14272
14273 wxPyEndAllowThreads(__tstate);
14274 if (PyErr_Occurred()) SWIG_fail;
14275 }
14276 Py_INCREF(Py_None); resultobj = Py_None;
14277 return resultobj;
14278 fail:
14279 return NULL;
14280 }
14281
14282
14283 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj;
14285 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14286 bool result;
14287 PyObject * obj0 = 0 ;
14288 char *kwnames[] = {
14289 (char *) "self", NULL
14290 };
14291
14292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 result = (bool)(arg1)->base_TransferDataToWindow();
14297
14298 wxPyEndAllowThreads(__tstate);
14299 if (PyErr_Occurred()) SWIG_fail;
14300 }
14301 resultobj = PyInt_FromLong((long)result);
14302 return resultobj;
14303 fail:
14304 return NULL;
14305 }
14306
14307
14308 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14309 PyObject *resultobj;
14310 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14311 bool result;
14312 PyObject * obj0 = 0 ;
14313 char *kwnames[] = {
14314 (char *) "self", NULL
14315 };
14316
14317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14319 {
14320 PyThreadState* __tstate = wxPyBeginAllowThreads();
14321 result = (bool)(arg1)->base_TransferDataFromWindow();
14322
14323 wxPyEndAllowThreads(__tstate);
14324 if (PyErr_Occurred()) SWIG_fail;
14325 }
14326 resultobj = PyInt_FromLong((long)result);
14327 return resultobj;
14328 fail:
14329 return NULL;
14330 }
14331
14332
14333 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14334 PyObject *resultobj;
14335 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14336 bool result;
14337 PyObject * obj0 = 0 ;
14338 char *kwnames[] = {
14339 (char *) "self", NULL
14340 };
14341
14342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
14343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14344 {
14345 PyThreadState* __tstate = wxPyBeginAllowThreads();
14346 result = (bool)(arg1)->base_Validate();
14347
14348 wxPyEndAllowThreads(__tstate);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 }
14351 resultobj = PyInt_FromLong((long)result);
14352 return resultobj;
14353 fail:
14354 return NULL;
14355 }
14356
14357
14358 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14359 PyObject *resultobj;
14360 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14361 bool result;
14362 PyObject * obj0 = 0 ;
14363 char *kwnames[] = {
14364 (char *) "self", NULL
14365 };
14366
14367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14369 {
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14372
14373 wxPyEndAllowThreads(__tstate);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 resultobj = PyInt_FromLong((long)result);
14377 return resultobj;
14378 fail:
14379 return NULL;
14380 }
14381
14382
14383 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14384 PyObject *resultobj;
14385 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14386 bool result;
14387 PyObject * obj0 = 0 ;
14388 char *kwnames[] = {
14389 (char *) "self", NULL
14390 };
14391
14392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14394 {
14395 PyThreadState* __tstate = wxPyBeginAllowThreads();
14396 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14397
14398 wxPyEndAllowThreads(__tstate);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 resultobj = PyInt_FromLong((long)result);
14402 return resultobj;
14403 fail:
14404 return NULL;
14405 }
14406
14407
14408 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14409 PyObject *resultobj;
14410 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14411 wxSize result;
14412 PyObject * obj0 = 0 ;
14413 char *kwnames[] = {
14414 (char *) "self", NULL
14415 };
14416
14417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14419 {
14420 PyThreadState* __tstate = wxPyBeginAllowThreads();
14421 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14422
14423 wxPyEndAllowThreads(__tstate);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
14426 {
14427 wxSize * resultptr;
14428 resultptr = new wxSize((wxSize &) result);
14429 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14430 }
14431 return resultobj;
14432 fail:
14433 return NULL;
14434 }
14435
14436
14437 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14438 PyObject *resultobj;
14439 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14440 wxWindow *arg2 = (wxWindow *) 0 ;
14441 PyObject * obj0 = 0 ;
14442 PyObject * obj1 = 0 ;
14443 char *kwnames[] = {
14444 (char *) "self",(char *) "child", NULL
14445 };
14446
14447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14450 {
14451 PyThreadState* __tstate = wxPyBeginAllowThreads();
14452 (arg1)->base_AddChild(arg2);
14453
14454 wxPyEndAllowThreads(__tstate);
14455 if (PyErr_Occurred()) SWIG_fail;
14456 }
14457 Py_INCREF(Py_None); resultobj = Py_None;
14458 return resultobj;
14459 fail:
14460 return NULL;
14461 }
14462
14463
14464 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14465 PyObject *resultobj;
14466 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14467 wxWindow *arg2 = (wxWindow *) 0 ;
14468 PyObject * obj0 = 0 ;
14469 PyObject * obj1 = 0 ;
14470 char *kwnames[] = {
14471 (char *) "self",(char *) "child", NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14476 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14477 {
14478 PyThreadState* __tstate = wxPyBeginAllowThreads();
14479 (arg1)->base_RemoveChild(arg2);
14480
14481 wxPyEndAllowThreads(__tstate);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 }
14484 Py_INCREF(Py_None); resultobj = Py_None;
14485 return resultobj;
14486 fail:
14487 return NULL;
14488 }
14489
14490
14491 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14492 PyObject *obj;
14493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14494 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14495 Py_INCREF(obj);
14496 return Py_BuildValue((char *)"");
14497 }
14498 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14499 PyObject *resultobj;
14500 wxWindow *arg1 = (wxWindow *) 0 ;
14501 int arg2 ;
14502 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14503 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14504 wxSize const &arg4_defvalue = wxDefaultSize ;
14505 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14506 long arg5 = (long) 0 ;
14507 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14508 wxString *arg6 = (wxString *) &arg6_defvalue ;
14509 wxPyPanel *result;
14510 wxPoint temp3 ;
14511 wxSize temp4 ;
14512 bool temp6 = False ;
14513 PyObject * obj0 = 0 ;
14514 PyObject * obj2 = 0 ;
14515 PyObject * obj3 = 0 ;
14516 PyObject * obj5 = 0 ;
14517 char *kwnames[] = {
14518 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14519 };
14520
14521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14523 if (obj2) {
14524 {
14525 arg3 = &temp3;
14526 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14527 }
14528 }
14529 if (obj3) {
14530 {
14531 arg4 = &temp4;
14532 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14533 }
14534 }
14535 if (obj5) {
14536 {
14537 arg6 = wxString_in_helper(obj5);
14538 if (arg6 == NULL) SWIG_fail;
14539 temp6 = True;
14540 }
14541 }
14542 {
14543 PyThreadState* __tstate = wxPyBeginAllowThreads();
14544 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14545
14546 wxPyEndAllowThreads(__tstate);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 }
14549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14550 {
14551 if (temp6)
14552 delete arg6;
14553 }
14554 return resultobj;
14555 fail:
14556 {
14557 if (temp6)
14558 delete arg6;
14559 }
14560 return NULL;
14561 }
14562
14563
14564 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14565 PyObject *resultobj;
14566 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14567 PyObject *arg2 = (PyObject *) 0 ;
14568 PyObject *arg3 = (PyObject *) 0 ;
14569 PyObject * obj0 = 0 ;
14570 PyObject * obj1 = 0 ;
14571 PyObject * obj2 = 0 ;
14572 char *kwnames[] = {
14573 (char *) "self",(char *) "self",(char *) "_class", NULL
14574 };
14575
14576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14578 arg2 = obj1;
14579 arg3 = obj2;
14580 {
14581 PyThreadState* __tstate = wxPyBeginAllowThreads();
14582 (arg1)->_setCallbackInfo(arg2,arg3);
14583
14584 wxPyEndAllowThreads(__tstate);
14585 if (PyErr_Occurred()) SWIG_fail;
14586 }
14587 Py_INCREF(Py_None); resultobj = Py_None;
14588 return resultobj;
14589 fail:
14590 return NULL;
14591 }
14592
14593
14594 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14595 PyObject *resultobj;
14596 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14597 int arg2 ;
14598 int arg3 ;
14599 int arg4 ;
14600 int arg5 ;
14601 PyObject * obj0 = 0 ;
14602 char *kwnames[] = {
14603 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14604 };
14605
14606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14608 {
14609 PyThreadState* __tstate = wxPyBeginAllowThreads();
14610 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14611
14612 wxPyEndAllowThreads(__tstate);
14613 if (PyErr_Occurred()) SWIG_fail;
14614 }
14615 Py_INCREF(Py_None); resultobj = Py_None;
14616 return resultobj;
14617 fail:
14618 return NULL;
14619 }
14620
14621
14622 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14623 PyObject *resultobj;
14624 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14625 int arg2 ;
14626 int arg3 ;
14627 int arg4 ;
14628 int arg5 ;
14629 int arg6 = (int) wxSIZE_AUTO ;
14630 PyObject * obj0 = 0 ;
14631 char *kwnames[] = {
14632 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14633 };
14634
14635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14637 {
14638 PyThreadState* __tstate = wxPyBeginAllowThreads();
14639 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14640
14641 wxPyEndAllowThreads(__tstate);
14642 if (PyErr_Occurred()) SWIG_fail;
14643 }
14644 Py_INCREF(Py_None); resultobj = Py_None;
14645 return resultobj;
14646 fail:
14647 return NULL;
14648 }
14649
14650
14651 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14652 PyObject *resultobj;
14653 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14654 int arg2 ;
14655 int arg3 ;
14656 PyObject * obj0 = 0 ;
14657 char *kwnames[] = {
14658 (char *) "self",(char *) "width",(char *) "height", NULL
14659 };
14660
14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14663 {
14664 PyThreadState* __tstate = wxPyBeginAllowThreads();
14665 (arg1)->base_DoSetClientSize(arg2,arg3);
14666
14667 wxPyEndAllowThreads(__tstate);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 }
14670 Py_INCREF(Py_None); resultobj = Py_None;
14671 return resultobj;
14672 fail:
14673 return NULL;
14674 }
14675
14676
14677 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14678 PyObject *resultobj;
14679 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14680 int arg2 ;
14681 int arg3 ;
14682 PyObject * obj0 = 0 ;
14683 char *kwnames[] = {
14684 (char *) "self",(char *) "x",(char *) "y", NULL
14685 };
14686
14687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14689 {
14690 PyThreadState* __tstate = wxPyBeginAllowThreads();
14691 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14692
14693 wxPyEndAllowThreads(__tstate);
14694 if (PyErr_Occurred()) SWIG_fail;
14695 }
14696 Py_INCREF(Py_None); resultobj = Py_None;
14697 return resultobj;
14698 fail:
14699 return NULL;
14700 }
14701
14702
14703 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14704 PyObject *resultobj;
14705 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14706 int *arg2 = (int *) 0 ;
14707 int *arg3 = (int *) 0 ;
14708 int temp2 ;
14709 int temp3 ;
14710 PyObject * obj0 = 0 ;
14711 char *kwnames[] = {
14712 (char *) "self", NULL
14713 };
14714
14715 arg2 = &temp2;
14716 arg3 = &temp3;
14717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14719 {
14720 PyThreadState* __tstate = wxPyBeginAllowThreads();
14721 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14722
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 Py_INCREF(Py_None); resultobj = Py_None;
14727 {
14728 PyObject *o = PyInt_FromLong((long) (*arg2));
14729 resultobj = t_output_helper(resultobj,o);
14730 }
14731 {
14732 PyObject *o = PyInt_FromLong((long) (*arg3));
14733 resultobj = t_output_helper(resultobj,o);
14734 }
14735 return resultobj;
14736 fail:
14737 return NULL;
14738 }
14739
14740
14741 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14742 PyObject *resultobj;
14743 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14744 int *arg2 = (int *) 0 ;
14745 int *arg3 = (int *) 0 ;
14746 int temp2 ;
14747 int temp3 ;
14748 PyObject * obj0 = 0 ;
14749 char *kwnames[] = {
14750 (char *) "self", NULL
14751 };
14752
14753 arg2 = &temp2;
14754 arg3 = &temp3;
14755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14757 {
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14760
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 Py_INCREF(Py_None); resultobj = Py_None;
14765 {
14766 PyObject *o = PyInt_FromLong((long) (*arg2));
14767 resultobj = t_output_helper(resultobj,o);
14768 }
14769 {
14770 PyObject *o = PyInt_FromLong((long) (*arg3));
14771 resultobj = t_output_helper(resultobj,o);
14772 }
14773 return resultobj;
14774 fail:
14775 return NULL;
14776 }
14777
14778
14779 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj;
14781 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14782 int *arg2 = (int *) 0 ;
14783 int *arg3 = (int *) 0 ;
14784 int temp2 ;
14785 int temp3 ;
14786 PyObject * obj0 = 0 ;
14787 char *kwnames[] = {
14788 (char *) "self", NULL
14789 };
14790
14791 arg2 = &temp2;
14792 arg3 = &temp3;
14793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14798
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 Py_INCREF(Py_None); resultobj = Py_None;
14803 {
14804 PyObject *o = PyInt_FromLong((long) (*arg2));
14805 resultobj = t_output_helper(resultobj,o);
14806 }
14807 {
14808 PyObject *o = PyInt_FromLong((long) (*arg3));
14809 resultobj = t_output_helper(resultobj,o);
14810 }
14811 return resultobj;
14812 fail:
14813 return NULL;
14814 }
14815
14816
14817 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14820 wxSize result;
14821 PyObject * obj0 = 0 ;
14822 char *kwnames[] = {
14823 (char *) "self", NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 {
14836 wxSize * resultptr;
14837 resultptr = new wxSize((wxSize &) result);
14838 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14839 }
14840 return resultobj;
14841 fail:
14842 return NULL;
14843 }
14844
14845
14846 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14847 PyObject *resultobj;
14848 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14849 wxSize result;
14850 PyObject * obj0 = 0 ;
14851 char *kwnames[] = {
14852 (char *) "self", NULL
14853 };
14854
14855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14857 {
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
14859 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14860
14861 wxPyEndAllowThreads(__tstate);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 {
14865 wxSize * resultptr;
14866 resultptr = new wxSize((wxSize &) result);
14867 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14868 }
14869 return resultobj;
14870 fail:
14871 return NULL;
14872 }
14873
14874
14875 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14876 PyObject *resultobj;
14877 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14878 PyObject * obj0 = 0 ;
14879 char *kwnames[] = {
14880 (char *) "self", NULL
14881 };
14882
14883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14885 {
14886 PyThreadState* __tstate = wxPyBeginAllowThreads();
14887 (arg1)->base_InitDialog();
14888
14889 wxPyEndAllowThreads(__tstate);
14890 if (PyErr_Occurred()) SWIG_fail;
14891 }
14892 Py_INCREF(Py_None); resultobj = Py_None;
14893 return resultobj;
14894 fail:
14895 return NULL;
14896 }
14897
14898
14899 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14900 PyObject *resultobj;
14901 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14902 bool result;
14903 PyObject * obj0 = 0 ;
14904 char *kwnames[] = {
14905 (char *) "self", NULL
14906 };
14907
14908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14910 {
14911 PyThreadState* __tstate = wxPyBeginAllowThreads();
14912 result = (bool)(arg1)->base_TransferDataToWindow();
14913
14914 wxPyEndAllowThreads(__tstate);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 }
14917 resultobj = PyInt_FromLong((long)result);
14918 return resultobj;
14919 fail:
14920 return NULL;
14921 }
14922
14923
14924 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14925 PyObject *resultobj;
14926 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14927 bool result;
14928 PyObject * obj0 = 0 ;
14929 char *kwnames[] = {
14930 (char *) "self", NULL
14931 };
14932
14933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 result = (bool)(arg1)->base_TransferDataFromWindow();
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 resultobj = PyInt_FromLong((long)result);
14943 return resultobj;
14944 fail:
14945 return NULL;
14946 }
14947
14948
14949 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14950 PyObject *resultobj;
14951 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14952 bool result;
14953 PyObject * obj0 = 0 ;
14954 char *kwnames[] = {
14955 (char *) "self", NULL
14956 };
14957
14958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14960 {
14961 PyThreadState* __tstate = wxPyBeginAllowThreads();
14962 result = (bool)(arg1)->base_Validate();
14963
14964 wxPyEndAllowThreads(__tstate);
14965 if (PyErr_Occurred()) SWIG_fail;
14966 }
14967 resultobj = PyInt_FromLong((long)result);
14968 return resultobj;
14969 fail:
14970 return NULL;
14971 }
14972
14973
14974 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14975 PyObject *resultobj;
14976 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14977 bool result;
14978 PyObject * obj0 = 0 ;
14979 char *kwnames[] = {
14980 (char *) "self", NULL
14981 };
14982
14983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14985 {
14986 PyThreadState* __tstate = wxPyBeginAllowThreads();
14987 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14988
14989 wxPyEndAllowThreads(__tstate);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 resultobj = PyInt_FromLong((long)result);
14993 return resultobj;
14994 fail:
14995 return NULL;
14996 }
14997
14998
14999 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15000 PyObject *resultobj;
15001 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15002 bool result;
15003 PyObject * obj0 = 0 ;
15004 char *kwnames[] = {
15005 (char *) "self", NULL
15006 };
15007
15008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15010 {
15011 PyThreadState* __tstate = wxPyBeginAllowThreads();
15012 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
15013
15014 wxPyEndAllowThreads(__tstate);
15015 if (PyErr_Occurred()) SWIG_fail;
15016 }
15017 resultobj = PyInt_FromLong((long)result);
15018 return resultobj;
15019 fail:
15020 return NULL;
15021 }
15022
15023
15024 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15025 PyObject *resultobj;
15026 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15027 wxSize result;
15028 PyObject * obj0 = 0 ;
15029 char *kwnames[] = {
15030 (char *) "self", NULL
15031 };
15032
15033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
15034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15035 {
15036 PyThreadState* __tstate = wxPyBeginAllowThreads();
15037 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
15038
15039 wxPyEndAllowThreads(__tstate);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 }
15042 {
15043 wxSize * resultptr;
15044 resultptr = new wxSize((wxSize &) result);
15045 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15046 }
15047 return resultobj;
15048 fail:
15049 return NULL;
15050 }
15051
15052
15053 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15054 PyObject *resultobj;
15055 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15056 wxWindow *arg2 = (wxWindow *) 0 ;
15057 PyObject * obj0 = 0 ;
15058 PyObject * obj1 = 0 ;
15059 char *kwnames[] = {
15060 (char *) "self",(char *) "child", NULL
15061 };
15062
15063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15066 {
15067 PyThreadState* __tstate = wxPyBeginAllowThreads();
15068 (arg1)->base_AddChild(arg2);
15069
15070 wxPyEndAllowThreads(__tstate);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 }
15073 Py_INCREF(Py_None); resultobj = Py_None;
15074 return resultobj;
15075 fail:
15076 return NULL;
15077 }
15078
15079
15080 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15081 PyObject *resultobj;
15082 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15083 wxWindow *arg2 = (wxWindow *) 0 ;
15084 PyObject * obj0 = 0 ;
15085 PyObject * obj1 = 0 ;
15086 char *kwnames[] = {
15087 (char *) "self",(char *) "child", NULL
15088 };
15089
15090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15093 {
15094 PyThreadState* __tstate = wxPyBeginAllowThreads();
15095 (arg1)->base_RemoveChild(arg2);
15096
15097 wxPyEndAllowThreads(__tstate);
15098 if (PyErr_Occurred()) SWIG_fail;
15099 }
15100 Py_INCREF(Py_None); resultobj = Py_None;
15101 return resultobj;
15102 fail:
15103 return NULL;
15104 }
15105
15106
15107 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
15108 PyObject *obj;
15109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15110 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
15111 Py_INCREF(obj);
15112 return Py_BuildValue((char *)"");
15113 }
15114 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
15115 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
15116 return 1;
15117 }
15118
15119
15120 static PyObject *_wrap_PrintoutTitleStr_get() {
15121 PyObject *pyobj;
15122
15123 {
15124 #if wxUSE_UNICODE
15125 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
15126 #else
15127 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
15128 #endif
15129 }
15130 return pyobj;
15131 }
15132
15133
15134 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
15135 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
15136 return 1;
15137 }
15138
15139
15140 static PyObject *_wrap_PreviewCanvasNameStr_get() {
15141 PyObject *pyobj;
15142
15143 {
15144 #if wxUSE_UNICODE
15145 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
15146 #else
15147 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
15148 #endif
15149 }
15150 return pyobj;
15151 }
15152
15153
15154 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15155 PyObject *resultobj;
15156 wxPrintData *result;
15157 char *kwnames[] = {
15158 NULL
15159 };
15160
15161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
15162 {
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 result = (wxPrintData *)new wxPrintData();
15165
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
15170 return resultobj;
15171 fail:
15172 return NULL;
15173 }
15174
15175
15176 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15177 PyObject *resultobj;
15178 wxPrintData *arg1 = (wxPrintData *) 0 ;
15179 PyObject * obj0 = 0 ;
15180 char *kwnames[] = {
15181 (char *) "self", NULL
15182 };
15183
15184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
15185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 delete arg1;
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 Py_INCREF(Py_None); resultobj = Py_None;
15194 return resultobj;
15195 fail:
15196 return NULL;
15197 }
15198
15199
15200 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15201 PyObject *resultobj;
15202 wxPrintData *arg1 = (wxPrintData *) 0 ;
15203 int result;
15204 PyObject * obj0 = 0 ;
15205 char *kwnames[] = {
15206 (char *) "self", NULL
15207 };
15208
15209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
15210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15211 {
15212 PyThreadState* __tstate = wxPyBeginAllowThreads();
15213 result = (int)(arg1)->GetNoCopies();
15214
15215 wxPyEndAllowThreads(__tstate);
15216 if (PyErr_Occurred()) SWIG_fail;
15217 }
15218 resultobj = PyInt_FromLong((long)result);
15219 return resultobj;
15220 fail:
15221 return NULL;
15222 }
15223
15224
15225 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15226 PyObject *resultobj;
15227 wxPrintData *arg1 = (wxPrintData *) 0 ;
15228 bool result;
15229 PyObject * obj0 = 0 ;
15230 char *kwnames[] = {
15231 (char *) "self", NULL
15232 };
15233
15234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15236 {
15237 PyThreadState* __tstate = wxPyBeginAllowThreads();
15238 result = (bool)(arg1)->GetCollate();
15239
15240 wxPyEndAllowThreads(__tstate);
15241 if (PyErr_Occurred()) SWIG_fail;
15242 }
15243 resultobj = PyInt_FromLong((long)result);
15244 return resultobj;
15245 fail:
15246 return NULL;
15247 }
15248
15249
15250 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15251 PyObject *resultobj;
15252 wxPrintData *arg1 = (wxPrintData *) 0 ;
15253 int result;
15254 PyObject * obj0 = 0 ;
15255 char *kwnames[] = {
15256 (char *) "self", NULL
15257 };
15258
15259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (int)(arg1)->GetOrientation();
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = PyInt_FromLong((long)result);
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj;
15277 wxPrintData *arg1 = (wxPrintData *) 0 ;
15278 bool result;
15279 PyObject * obj0 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 result = (bool)(arg1)->Ok();
15289
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
15293 resultobj = PyInt_FromLong((long)result);
15294 return resultobj;
15295 fail:
15296 return NULL;
15297 }
15298
15299
15300 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj;
15302 wxPrintData *arg1 = (wxPrintData *) 0 ;
15303 wxString *result;
15304 PyObject * obj0 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15311 {
15312 PyThreadState* __tstate = wxPyBeginAllowThreads();
15313 {
15314 wxString const &_result_ref = (arg1)->GetPrinterName();
15315 result = (wxString *) &_result_ref;
15316 }
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 {
15322 #if wxUSE_UNICODE
15323 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15324 #else
15325 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15326 #endif
15327 }
15328 return resultobj;
15329 fail:
15330 return NULL;
15331 }
15332
15333
15334 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15335 PyObject *resultobj;
15336 wxPrintData *arg1 = (wxPrintData *) 0 ;
15337 bool result;
15338 PyObject * obj0 = 0 ;
15339 char *kwnames[] = {
15340 (char *) "self", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15345 {
15346 PyThreadState* __tstate = wxPyBeginAllowThreads();
15347 result = (bool)(arg1)->GetColour();
15348
15349 wxPyEndAllowThreads(__tstate);
15350 if (PyErr_Occurred()) SWIG_fail;
15351 }
15352 resultobj = PyInt_FromLong((long)result);
15353 return resultobj;
15354 fail:
15355 return NULL;
15356 }
15357
15358
15359 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15360 PyObject *resultobj;
15361 wxPrintData *arg1 = (wxPrintData *) 0 ;
15362 int result;
15363 PyObject * obj0 = 0 ;
15364 char *kwnames[] = {
15365 (char *) "self", NULL
15366 };
15367
15368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15370 {
15371 PyThreadState* __tstate = wxPyBeginAllowThreads();
15372 result = (int)(arg1)->GetDuplex();
15373
15374 wxPyEndAllowThreads(__tstate);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 }
15377 resultobj = PyInt_FromLong((long)result);
15378 return resultobj;
15379 fail:
15380 return NULL;
15381 }
15382
15383
15384 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15385 PyObject *resultobj;
15386 wxPrintData *arg1 = (wxPrintData *) 0 ;
15387 int result;
15388 PyObject * obj0 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 result = (int)(arg1)->GetPaperId();
15398
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 resultobj = PyInt_FromLong((long)result);
15403 return resultobj;
15404 fail:
15405 return NULL;
15406 }
15407
15408
15409 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxPrintData *arg1 = (wxPrintData *) 0 ;
15412 wxSize *result;
15413 PyObject * obj0 = 0 ;
15414 char *kwnames[] = {
15415 (char *) "self", NULL
15416 };
15417
15418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15420 {
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 {
15423 wxSize const &_result_ref = (arg1)->GetPaperSize();
15424 result = (wxSize *) &_result_ref;
15425 }
15426
15427 wxPyEndAllowThreads(__tstate);
15428 if (PyErr_Occurred()) SWIG_fail;
15429 }
15430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15431 return resultobj;
15432 fail:
15433 return NULL;
15434 }
15435
15436
15437 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15438 PyObject *resultobj;
15439 wxPrintData *arg1 = (wxPrintData *) 0 ;
15440 int result;
15441 PyObject * obj0 = 0 ;
15442 char *kwnames[] = {
15443 (char *) "self", NULL
15444 };
15445
15446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15448 {
15449 PyThreadState* __tstate = wxPyBeginAllowThreads();
15450 result = (int)(arg1)->GetQuality();
15451
15452 wxPyEndAllowThreads(__tstate);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 }
15455 resultobj = PyInt_FromLong((long)result);
15456 return resultobj;
15457 fail:
15458 return NULL;
15459 }
15460
15461
15462 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15463 PyObject *resultobj;
15464 wxPrintData *arg1 = (wxPrintData *) 0 ;
15465 int arg2 ;
15466 PyObject * obj0 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self",(char *) "v", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15473 {
15474 PyThreadState* __tstate = wxPyBeginAllowThreads();
15475 (arg1)->SetNoCopies(arg2);
15476
15477 wxPyEndAllowThreads(__tstate);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 }
15480 Py_INCREF(Py_None); resultobj = Py_None;
15481 return resultobj;
15482 fail:
15483 return NULL;
15484 }
15485
15486
15487 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15488 PyObject *resultobj;
15489 wxPrintData *arg1 = (wxPrintData *) 0 ;
15490 bool arg2 ;
15491 PyObject * obj0 = 0 ;
15492 PyObject * obj1 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self",(char *) "flag", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15499 {
15500 arg2 = (bool) SPyObj_AsBool(obj1);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 {
15504 PyThreadState* __tstate = wxPyBeginAllowThreads();
15505 (arg1)->SetCollate(arg2);
15506
15507 wxPyEndAllowThreads(__tstate);
15508 if (PyErr_Occurred()) SWIG_fail;
15509 }
15510 Py_INCREF(Py_None); resultobj = Py_None;
15511 return resultobj;
15512 fail:
15513 return NULL;
15514 }
15515
15516
15517 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15518 PyObject *resultobj;
15519 wxPrintData *arg1 = (wxPrintData *) 0 ;
15520 int arg2 ;
15521 PyObject * obj0 = 0 ;
15522 char *kwnames[] = {
15523 (char *) "self",(char *) "orient", NULL
15524 };
15525
15526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15528 {
15529 PyThreadState* __tstate = wxPyBeginAllowThreads();
15530 (arg1)->SetOrientation(arg2);
15531
15532 wxPyEndAllowThreads(__tstate);
15533 if (PyErr_Occurred()) SWIG_fail;
15534 }
15535 Py_INCREF(Py_None); resultobj = Py_None;
15536 return resultobj;
15537 fail:
15538 return NULL;
15539 }
15540
15541
15542 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15543 PyObject *resultobj;
15544 wxPrintData *arg1 = (wxPrintData *) 0 ;
15545 wxString *arg2 = 0 ;
15546 bool temp2 = False ;
15547 PyObject * obj0 = 0 ;
15548 PyObject * obj1 = 0 ;
15549 char *kwnames[] = {
15550 (char *) "self",(char *) "name", NULL
15551 };
15552
15553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15555 {
15556 arg2 = wxString_in_helper(obj1);
15557 if (arg2 == NULL) SWIG_fail;
15558 temp2 = True;
15559 }
15560 {
15561 PyThreadState* __tstate = wxPyBeginAllowThreads();
15562 (arg1)->SetPrinterName((wxString const &)*arg2);
15563
15564 wxPyEndAllowThreads(__tstate);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 }
15567 Py_INCREF(Py_None); resultobj = Py_None;
15568 {
15569 if (temp2)
15570 delete arg2;
15571 }
15572 return resultobj;
15573 fail:
15574 {
15575 if (temp2)
15576 delete arg2;
15577 }
15578 return NULL;
15579 }
15580
15581
15582 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15583 PyObject *resultobj;
15584 wxPrintData *arg1 = (wxPrintData *) 0 ;
15585 bool arg2 ;
15586 PyObject * obj0 = 0 ;
15587 PyObject * obj1 = 0 ;
15588 char *kwnames[] = {
15589 (char *) "self",(char *) "colour", NULL
15590 };
15591
15592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15594 {
15595 arg2 = (bool) SPyObj_AsBool(obj1);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
15598 {
15599 PyThreadState* __tstate = wxPyBeginAllowThreads();
15600 (arg1)->SetColour(arg2);
15601
15602 wxPyEndAllowThreads(__tstate);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 }
15605 Py_INCREF(Py_None); resultobj = Py_None;
15606 return resultobj;
15607 fail:
15608 return NULL;
15609 }
15610
15611
15612 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15613 PyObject *resultobj;
15614 wxPrintData *arg1 = (wxPrintData *) 0 ;
15615 int arg2 ;
15616 PyObject * obj0 = 0 ;
15617 char *kwnames[] = {
15618 (char *) "self",(char *) "duplex", NULL
15619 };
15620
15621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15623 {
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 (arg1)->SetDuplex((wxDuplexMode )arg2);
15626
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 Py_INCREF(Py_None); resultobj = Py_None;
15631 return resultobj;
15632 fail:
15633 return NULL;
15634 }
15635
15636
15637 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15638 PyObject *resultobj;
15639 wxPrintData *arg1 = (wxPrintData *) 0 ;
15640 int arg2 ;
15641 PyObject * obj0 = 0 ;
15642 char *kwnames[] = {
15643 (char *) "self",(char *) "sizeId", NULL
15644 };
15645
15646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15648 {
15649 PyThreadState* __tstate = wxPyBeginAllowThreads();
15650 (arg1)->SetPaperId((wxPaperSize )arg2);
15651
15652 wxPyEndAllowThreads(__tstate);
15653 if (PyErr_Occurred()) SWIG_fail;
15654 }
15655 Py_INCREF(Py_None); resultobj = Py_None;
15656 return resultobj;
15657 fail:
15658 return NULL;
15659 }
15660
15661
15662 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15663 PyObject *resultobj;
15664 wxPrintData *arg1 = (wxPrintData *) 0 ;
15665 wxSize *arg2 = 0 ;
15666 wxSize temp2 ;
15667 PyObject * obj0 = 0 ;
15668 PyObject * obj1 = 0 ;
15669 char *kwnames[] = {
15670 (char *) "self",(char *) "sz", NULL
15671 };
15672
15673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15675 {
15676 arg2 = &temp2;
15677 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15678 }
15679 {
15680 PyThreadState* __tstate = wxPyBeginAllowThreads();
15681 (arg1)->SetPaperSize((wxSize const &)*arg2);
15682
15683 wxPyEndAllowThreads(__tstate);
15684 if (PyErr_Occurred()) SWIG_fail;
15685 }
15686 Py_INCREF(Py_None); resultobj = Py_None;
15687 return resultobj;
15688 fail:
15689 return NULL;
15690 }
15691
15692
15693 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15694 PyObject *resultobj;
15695 wxPrintData *arg1 = (wxPrintData *) 0 ;
15696 int arg2 ;
15697 PyObject * obj0 = 0 ;
15698 char *kwnames[] = {
15699 (char *) "self",(char *) "quality", NULL
15700 };
15701
15702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetQuality",kwnames,&obj0,&arg2)) goto fail;
15703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15704 {
15705 PyThreadState* __tstate = wxPyBeginAllowThreads();
15706 (arg1)->SetQuality(arg2);
15707
15708 wxPyEndAllowThreads(__tstate);
15709 if (PyErr_Occurred()) SWIG_fail;
15710 }
15711 Py_INCREF(Py_None); resultobj = Py_None;
15712 return resultobj;
15713 fail:
15714 return NULL;
15715 }
15716
15717
15718 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15719 PyObject *resultobj;
15720 wxPrintData *arg1 = (wxPrintData *) 0 ;
15721 wxString *result;
15722 PyObject * obj0 = 0 ;
15723 char *kwnames[] = {
15724 (char *) "self", NULL
15725 };
15726
15727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15729 {
15730 PyThreadState* __tstate = wxPyBeginAllowThreads();
15731 {
15732 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15733 result = (wxString *) &_result_ref;
15734 }
15735
15736 wxPyEndAllowThreads(__tstate);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 }
15739 {
15740 #if wxUSE_UNICODE
15741 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15742 #else
15743 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15744 #endif
15745 }
15746 return resultobj;
15747 fail:
15748 return NULL;
15749 }
15750
15751
15752 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15753 PyObject *resultobj;
15754 wxPrintData *arg1 = (wxPrintData *) 0 ;
15755 wxString *result;
15756 PyObject * obj0 = 0 ;
15757 char *kwnames[] = {
15758 (char *) "self", NULL
15759 };
15760
15761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15763 {
15764 PyThreadState* __tstate = wxPyBeginAllowThreads();
15765 {
15766 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15767 result = (wxString *) &_result_ref;
15768 }
15769
15770 wxPyEndAllowThreads(__tstate);
15771 if (PyErr_Occurred()) SWIG_fail;
15772 }
15773 {
15774 #if wxUSE_UNICODE
15775 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15776 #else
15777 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15778 #endif
15779 }
15780 return resultobj;
15781 fail:
15782 return NULL;
15783 }
15784
15785
15786 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15787 PyObject *resultobj;
15788 wxPrintData *arg1 = (wxPrintData *) 0 ;
15789 wxString *result;
15790 PyObject * obj0 = 0 ;
15791 char *kwnames[] = {
15792 (char *) "self", NULL
15793 };
15794
15795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15797 {
15798 PyThreadState* __tstate = wxPyBeginAllowThreads();
15799 {
15800 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15801 result = (wxString *) &_result_ref;
15802 }
15803
15804 wxPyEndAllowThreads(__tstate);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 {
15808 #if wxUSE_UNICODE
15809 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15810 #else
15811 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15812 #endif
15813 }
15814 return resultobj;
15815 fail:
15816 return NULL;
15817 }
15818
15819
15820 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15821 PyObject *resultobj;
15822 wxPrintData *arg1 = (wxPrintData *) 0 ;
15823 wxString *result;
15824 PyObject * obj0 = 0 ;
15825 char *kwnames[] = {
15826 (char *) "self", NULL
15827 };
15828
15829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15831 {
15832 PyThreadState* __tstate = wxPyBeginAllowThreads();
15833 {
15834 wxString const &_result_ref = (arg1)->GetFilename();
15835 result = (wxString *) &_result_ref;
15836 }
15837
15838 wxPyEndAllowThreads(__tstate);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
15841 {
15842 #if wxUSE_UNICODE
15843 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15844 #else
15845 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15846 #endif
15847 }
15848 return resultobj;
15849 fail:
15850 return NULL;
15851 }
15852
15853
15854 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15855 PyObject *resultobj;
15856 wxPrintData *arg1 = (wxPrintData *) 0 ;
15857 wxString *result;
15858 PyObject * obj0 = 0 ;
15859 char *kwnames[] = {
15860 (char *) "self", NULL
15861 };
15862
15863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15865 {
15866 PyThreadState* __tstate = wxPyBeginAllowThreads();
15867 {
15868 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15869 result = (wxString *) &_result_ref;
15870 }
15871
15872 wxPyEndAllowThreads(__tstate);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 }
15875 {
15876 #if wxUSE_UNICODE
15877 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15878 #else
15879 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15880 #endif
15881 }
15882 return resultobj;
15883 fail:
15884 return NULL;
15885 }
15886
15887
15888 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15889 PyObject *resultobj;
15890 wxPrintData *arg1 = (wxPrintData *) 0 ;
15891 double result;
15892 PyObject * obj0 = 0 ;
15893 char *kwnames[] = {
15894 (char *) "self", NULL
15895 };
15896
15897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15899 {
15900 PyThreadState* __tstate = wxPyBeginAllowThreads();
15901 result = (double)(arg1)->GetPrinterScaleX();
15902
15903 wxPyEndAllowThreads(__tstate);
15904 if (PyErr_Occurred()) SWIG_fail;
15905 }
15906 resultobj = PyFloat_FromDouble(result);
15907 return resultobj;
15908 fail:
15909 return NULL;
15910 }
15911
15912
15913 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15914 PyObject *resultobj;
15915 wxPrintData *arg1 = (wxPrintData *) 0 ;
15916 double result;
15917 PyObject * obj0 = 0 ;
15918 char *kwnames[] = {
15919 (char *) "self", NULL
15920 };
15921
15922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 result = (double)(arg1)->GetPrinterScaleY();
15927
15928 wxPyEndAllowThreads(__tstate);
15929 if (PyErr_Occurred()) SWIG_fail;
15930 }
15931 resultobj = PyFloat_FromDouble(result);
15932 return resultobj;
15933 fail:
15934 return NULL;
15935 }
15936
15937
15938 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxPrintData *arg1 = (wxPrintData *) 0 ;
15941 long result;
15942 PyObject * obj0 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self", NULL
15945 };
15946
15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15949 {
15950 PyThreadState* __tstate = wxPyBeginAllowThreads();
15951 result = (long)(arg1)->GetPrinterTranslateX();
15952
15953 wxPyEndAllowThreads(__tstate);
15954 if (PyErr_Occurred()) SWIG_fail;
15955 }
15956 resultobj = PyInt_FromLong((long)result);
15957 return resultobj;
15958 fail:
15959 return NULL;
15960 }
15961
15962
15963 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15964 PyObject *resultobj;
15965 wxPrintData *arg1 = (wxPrintData *) 0 ;
15966 long result;
15967 PyObject * obj0 = 0 ;
15968 char *kwnames[] = {
15969 (char *) "self", NULL
15970 };
15971
15972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15974 {
15975 PyThreadState* __tstate = wxPyBeginAllowThreads();
15976 result = (long)(arg1)->GetPrinterTranslateY();
15977
15978 wxPyEndAllowThreads(__tstate);
15979 if (PyErr_Occurred()) SWIG_fail;
15980 }
15981 resultobj = PyInt_FromLong((long)result);
15982 return resultobj;
15983 fail:
15984 return NULL;
15985 }
15986
15987
15988 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15989 PyObject *resultobj;
15990 wxPrintData *arg1 = (wxPrintData *) 0 ;
15991 int result;
15992 PyObject * obj0 = 0 ;
15993 char *kwnames[] = {
15994 (char *) "self", NULL
15995 };
15996
15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 result = (int)(arg1)->GetPrintMode();
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 resultobj = PyInt_FromLong((long)result);
16007 return resultobj;
16008 fail:
16009 return NULL;
16010 }
16011
16012
16013 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16014 PyObject *resultobj;
16015 wxPrintData *arg1 = (wxPrintData *) 0 ;
16016 wxString *arg2 = 0 ;
16017 bool temp2 = False ;
16018 PyObject * obj0 = 0 ;
16019 PyObject * obj1 = 0 ;
16020 char *kwnames[] = {
16021 (char *) "self",(char *) "command", NULL
16022 };
16023
16024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
16025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16026 {
16027 arg2 = wxString_in_helper(obj1);
16028 if (arg2 == NULL) SWIG_fail;
16029 temp2 = True;
16030 }
16031 {
16032 PyThreadState* __tstate = wxPyBeginAllowThreads();
16033 (arg1)->SetPrinterCommand((wxString const &)*arg2);
16034
16035 wxPyEndAllowThreads(__tstate);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 }
16038 Py_INCREF(Py_None); resultobj = Py_None;
16039 {
16040 if (temp2)
16041 delete arg2;
16042 }
16043 return resultobj;
16044 fail:
16045 {
16046 if (temp2)
16047 delete arg2;
16048 }
16049 return NULL;
16050 }
16051
16052
16053 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj;
16055 wxPrintData *arg1 = (wxPrintData *) 0 ;
16056 wxString *arg2 = 0 ;
16057 bool temp2 = False ;
16058 PyObject * obj0 = 0 ;
16059 PyObject * obj1 = 0 ;
16060 char *kwnames[] = {
16061 (char *) "self",(char *) "options", NULL
16062 };
16063
16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
16065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16066 {
16067 arg2 = wxString_in_helper(obj1);
16068 if (arg2 == NULL) SWIG_fail;
16069 temp2 = True;
16070 }
16071 {
16072 PyThreadState* __tstate = wxPyBeginAllowThreads();
16073 (arg1)->SetPrinterOptions((wxString const &)*arg2);
16074
16075 wxPyEndAllowThreads(__tstate);
16076 if (PyErr_Occurred()) SWIG_fail;
16077 }
16078 Py_INCREF(Py_None); resultobj = Py_None;
16079 {
16080 if (temp2)
16081 delete arg2;
16082 }
16083 return resultobj;
16084 fail:
16085 {
16086 if (temp2)
16087 delete arg2;
16088 }
16089 return NULL;
16090 }
16091
16092
16093 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16094 PyObject *resultobj;
16095 wxPrintData *arg1 = (wxPrintData *) 0 ;
16096 wxString *arg2 = 0 ;
16097 bool temp2 = False ;
16098 PyObject * obj0 = 0 ;
16099 PyObject * obj1 = 0 ;
16100 char *kwnames[] = {
16101 (char *) "self",(char *) "command", NULL
16102 };
16103
16104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
16105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16106 {
16107 arg2 = wxString_in_helper(obj1);
16108 if (arg2 == NULL) SWIG_fail;
16109 temp2 = True;
16110 }
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 (arg1)->SetPreviewCommand((wxString const &)*arg2);
16114
16115 wxPyEndAllowThreads(__tstate);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 }
16118 Py_INCREF(Py_None); resultobj = Py_None;
16119 {
16120 if (temp2)
16121 delete arg2;
16122 }
16123 return resultobj;
16124 fail:
16125 {
16126 if (temp2)
16127 delete arg2;
16128 }
16129 return NULL;
16130 }
16131
16132
16133 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
16134 PyObject *resultobj;
16135 wxPrintData *arg1 = (wxPrintData *) 0 ;
16136 wxString *arg2 = 0 ;
16137 bool temp2 = False ;
16138 PyObject * obj0 = 0 ;
16139 PyObject * obj1 = 0 ;
16140 char *kwnames[] = {
16141 (char *) "self",(char *) "filename", NULL
16142 };
16143
16144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
16145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16146 {
16147 arg2 = wxString_in_helper(obj1);
16148 if (arg2 == NULL) SWIG_fail;
16149 temp2 = True;
16150 }
16151 {
16152 PyThreadState* __tstate = wxPyBeginAllowThreads();
16153 (arg1)->SetFilename((wxString const &)*arg2);
16154
16155 wxPyEndAllowThreads(__tstate);
16156 if (PyErr_Occurred()) SWIG_fail;
16157 }
16158 Py_INCREF(Py_None); resultobj = Py_None;
16159 {
16160 if (temp2)
16161 delete arg2;
16162 }
16163 return resultobj;
16164 fail:
16165 {
16166 if (temp2)
16167 delete arg2;
16168 }
16169 return NULL;
16170 }
16171
16172
16173 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
16174 PyObject *resultobj;
16175 wxPrintData *arg1 = (wxPrintData *) 0 ;
16176 wxString *arg2 = 0 ;
16177 bool temp2 = False ;
16178 PyObject * obj0 = 0 ;
16179 PyObject * obj1 = 0 ;
16180 char *kwnames[] = {
16181 (char *) "self",(char *) "path", NULL
16182 };
16183
16184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
16185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16186 {
16187 arg2 = wxString_in_helper(obj1);
16188 if (arg2 == NULL) SWIG_fail;
16189 temp2 = True;
16190 }
16191 {
16192 PyThreadState* __tstate = wxPyBeginAllowThreads();
16193 (arg1)->SetFontMetricPath((wxString const &)*arg2);
16194
16195 wxPyEndAllowThreads(__tstate);
16196 if (PyErr_Occurred()) SWIG_fail;
16197 }
16198 Py_INCREF(Py_None); resultobj = Py_None;
16199 {
16200 if (temp2)
16201 delete arg2;
16202 }
16203 return resultobj;
16204 fail:
16205 {
16206 if (temp2)
16207 delete arg2;
16208 }
16209 return NULL;
16210 }
16211
16212
16213 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
16214 PyObject *resultobj;
16215 wxPrintData *arg1 = (wxPrintData *) 0 ;
16216 double arg2 ;
16217 PyObject * obj0 = 0 ;
16218 char *kwnames[] = {
16219 (char *) "self",(char *) "x", NULL
16220 };
16221
16222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
16223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16224 {
16225 PyThreadState* __tstate = wxPyBeginAllowThreads();
16226 (arg1)->SetPrinterScaleX(arg2);
16227
16228 wxPyEndAllowThreads(__tstate);
16229 if (PyErr_Occurred()) SWIG_fail;
16230 }
16231 Py_INCREF(Py_None); resultobj = Py_None;
16232 return resultobj;
16233 fail:
16234 return NULL;
16235 }
16236
16237
16238 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16239 PyObject *resultobj;
16240 wxPrintData *arg1 = (wxPrintData *) 0 ;
16241 double arg2 ;
16242 PyObject * obj0 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "self",(char *) "y", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
16248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16249 {
16250 PyThreadState* __tstate = wxPyBeginAllowThreads();
16251 (arg1)->SetPrinterScaleY(arg2);
16252
16253 wxPyEndAllowThreads(__tstate);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
16256 Py_INCREF(Py_None); resultobj = Py_None;
16257 return resultobj;
16258 fail:
16259 return NULL;
16260 }
16261
16262
16263 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
16264 PyObject *resultobj;
16265 wxPrintData *arg1 = (wxPrintData *) 0 ;
16266 double arg2 ;
16267 double arg3 ;
16268 PyObject * obj0 = 0 ;
16269 char *kwnames[] = {
16270 (char *) "self",(char *) "x",(char *) "y", NULL
16271 };
16272
16273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
16274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16275 {
16276 PyThreadState* __tstate = wxPyBeginAllowThreads();
16277 (arg1)->SetPrinterScaling(arg2,arg3);
16278
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 Py_INCREF(Py_None); resultobj = Py_None;
16283 return resultobj;
16284 fail:
16285 return NULL;
16286 }
16287
16288
16289 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16290 PyObject *resultobj;
16291 wxPrintData *arg1 = (wxPrintData *) 0 ;
16292 long arg2 ;
16293 PyObject * obj0 = 0 ;
16294 char *kwnames[] = {
16295 (char *) "self",(char *) "x", NULL
16296 };
16297
16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
16299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16300 {
16301 PyThreadState* __tstate = wxPyBeginAllowThreads();
16302 (arg1)->SetPrinterTranslateX(arg2);
16303
16304 wxPyEndAllowThreads(__tstate);
16305 if (PyErr_Occurred()) SWIG_fail;
16306 }
16307 Py_INCREF(Py_None); resultobj = Py_None;
16308 return resultobj;
16309 fail:
16310 return NULL;
16311 }
16312
16313
16314 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj;
16316 wxPrintData *arg1 = (wxPrintData *) 0 ;
16317 long arg2 ;
16318 PyObject * obj0 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "self",(char *) "y", NULL
16321 };
16322
16323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
16324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16325 {
16326 PyThreadState* __tstate = wxPyBeginAllowThreads();
16327 (arg1)->SetPrinterTranslateY(arg2);
16328
16329 wxPyEndAllowThreads(__tstate);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 }
16332 Py_INCREF(Py_None); resultobj = Py_None;
16333 return resultobj;
16334 fail:
16335 return NULL;
16336 }
16337
16338
16339 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
16340 PyObject *resultobj;
16341 wxPrintData *arg1 = (wxPrintData *) 0 ;
16342 long arg2 ;
16343 long arg3 ;
16344 PyObject * obj0 = 0 ;
16345 char *kwnames[] = {
16346 (char *) "self",(char *) "x",(char *) "y", NULL
16347 };
16348
16349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
16350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 (arg1)->SetPrinterTranslation(arg2,arg3);
16354
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 Py_INCREF(Py_None); resultobj = Py_None;
16359 return resultobj;
16360 fail:
16361 return NULL;
16362 }
16363
16364
16365 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj;
16367 wxPrintData *arg1 = (wxPrintData *) 0 ;
16368 int arg2 ;
16369 PyObject * obj0 = 0 ;
16370 char *kwnames[] = {
16371 (char *) "self",(char *) "printMode", NULL
16372 };
16373
16374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
16375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16376 {
16377 PyThreadState* __tstate = wxPyBeginAllowThreads();
16378 (arg1)->SetPrintMode((wxPrintMode )arg2);
16379
16380 wxPyEndAllowThreads(__tstate);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 Py_INCREF(Py_None); resultobj = Py_None;
16384 return resultobj;
16385 fail:
16386 return NULL;
16387 }
16388
16389
16390 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
16391 PyObject *obj;
16392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16393 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
16394 Py_INCREF(obj);
16395 return Py_BuildValue((char *)"");
16396 }
16397 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16398 PyObject *resultobj;
16399 wxPageSetupDialogData *result;
16400 char *kwnames[] = {
16401 NULL
16402 };
16403
16404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16405 {
16406 PyThreadState* __tstate = wxPyBeginAllowThreads();
16407 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16408
16409 wxPyEndAllowThreads(__tstate);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16413 return resultobj;
16414 fail:
16415 return NULL;
16416 }
16417
16418
16419 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj;
16421 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16422 PyObject * obj0 = 0 ;
16423 char *kwnames[] = {
16424 (char *) "self", NULL
16425 };
16426
16427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16429 {
16430 PyThreadState* __tstate = wxPyBeginAllowThreads();
16431 delete arg1;
16432
16433 wxPyEndAllowThreads(__tstate);
16434 if (PyErr_Occurred()) SWIG_fail;
16435 }
16436 Py_INCREF(Py_None); resultobj = Py_None;
16437 return resultobj;
16438 fail:
16439 return NULL;
16440 }
16441
16442
16443 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16444 PyObject *resultobj;
16445 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16446 bool arg2 ;
16447 PyObject * obj0 = 0 ;
16448 PyObject * obj1 = 0 ;
16449 char *kwnames[] = {
16450 (char *) "self",(char *) "flag", NULL
16451 };
16452
16453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16455 {
16456 arg2 = (bool) SPyObj_AsBool(obj1);
16457 if (PyErr_Occurred()) SWIG_fail;
16458 }
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
16461 (arg1)->EnableHelp(arg2);
16462
16463 wxPyEndAllowThreads(__tstate);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 }
16466 Py_INCREF(Py_None); resultobj = Py_None;
16467 return resultobj;
16468 fail:
16469 return NULL;
16470 }
16471
16472
16473 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16474 PyObject *resultobj;
16475 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16476 bool arg2 ;
16477 PyObject * obj0 = 0 ;
16478 PyObject * obj1 = 0 ;
16479 char *kwnames[] = {
16480 (char *) "self",(char *) "flag", NULL
16481 };
16482
16483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16485 {
16486 arg2 = (bool) SPyObj_AsBool(obj1);
16487 if (PyErr_Occurred()) SWIG_fail;
16488 }
16489 {
16490 PyThreadState* __tstate = wxPyBeginAllowThreads();
16491 (arg1)->EnableMargins(arg2);
16492
16493 wxPyEndAllowThreads(__tstate);
16494 if (PyErr_Occurred()) SWIG_fail;
16495 }
16496 Py_INCREF(Py_None); resultobj = Py_None;
16497 return resultobj;
16498 fail:
16499 return NULL;
16500 }
16501
16502
16503 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16504 PyObject *resultobj;
16505 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16506 bool arg2 ;
16507 PyObject * obj0 = 0 ;
16508 PyObject * obj1 = 0 ;
16509 char *kwnames[] = {
16510 (char *) "self",(char *) "flag", NULL
16511 };
16512
16513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16515 {
16516 arg2 = (bool) SPyObj_AsBool(obj1);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 {
16520 PyThreadState* __tstate = wxPyBeginAllowThreads();
16521 (arg1)->EnableOrientation(arg2);
16522
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 Py_INCREF(Py_None); resultobj = Py_None;
16527 return resultobj;
16528 fail:
16529 return NULL;
16530 }
16531
16532
16533 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16534 PyObject *resultobj;
16535 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16536 bool arg2 ;
16537 PyObject * obj0 = 0 ;
16538 PyObject * obj1 = 0 ;
16539 char *kwnames[] = {
16540 (char *) "self",(char *) "flag", NULL
16541 };
16542
16543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16545 {
16546 arg2 = (bool) SPyObj_AsBool(obj1);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 {
16550 PyThreadState* __tstate = wxPyBeginAllowThreads();
16551 (arg1)->EnablePaper(arg2);
16552
16553 wxPyEndAllowThreads(__tstate);
16554 if (PyErr_Occurred()) SWIG_fail;
16555 }
16556 Py_INCREF(Py_None); resultobj = Py_None;
16557 return resultobj;
16558 fail:
16559 return NULL;
16560 }
16561
16562
16563 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16564 PyObject *resultobj;
16565 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16566 bool arg2 ;
16567 PyObject * obj0 = 0 ;
16568 PyObject * obj1 = 0 ;
16569 char *kwnames[] = {
16570 (char *) "self",(char *) "flag", NULL
16571 };
16572
16573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16575 {
16576 arg2 = (bool) SPyObj_AsBool(obj1);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 {
16580 PyThreadState* __tstate = wxPyBeginAllowThreads();
16581 (arg1)->EnablePrinter(arg2);
16582
16583 wxPyEndAllowThreads(__tstate);
16584 if (PyErr_Occurred()) SWIG_fail;
16585 }
16586 Py_INCREF(Py_None); resultobj = Py_None;
16587 return resultobj;
16588 fail:
16589 return NULL;
16590 }
16591
16592
16593 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16594 PyObject *resultobj;
16595 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16596 bool result;
16597 PyObject * obj0 = 0 ;
16598 char *kwnames[] = {
16599 (char *) "self", NULL
16600 };
16601
16602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16604 {
16605 PyThreadState* __tstate = wxPyBeginAllowThreads();
16606 result = (bool)(arg1)->GetDefaultMinMargins();
16607
16608 wxPyEndAllowThreads(__tstate);
16609 if (PyErr_Occurred()) SWIG_fail;
16610 }
16611 resultobj = PyInt_FromLong((long)result);
16612 return resultobj;
16613 fail:
16614 return NULL;
16615 }
16616
16617
16618 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16619 PyObject *resultobj;
16620 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16621 bool result;
16622 PyObject * obj0 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "self", NULL
16625 };
16626
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16629 {
16630 PyThreadState* __tstate = wxPyBeginAllowThreads();
16631 result = (bool)(arg1)->GetEnableMargins();
16632
16633 wxPyEndAllowThreads(__tstate);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
16636 resultobj = PyInt_FromLong((long)result);
16637 return resultobj;
16638 fail:
16639 return NULL;
16640 }
16641
16642
16643 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16644 PyObject *resultobj;
16645 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16646 bool result;
16647 PyObject * obj0 = 0 ;
16648 char *kwnames[] = {
16649 (char *) "self", NULL
16650 };
16651
16652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16654 {
16655 PyThreadState* __tstate = wxPyBeginAllowThreads();
16656 result = (bool)(arg1)->GetEnableOrientation();
16657
16658 wxPyEndAllowThreads(__tstate);
16659 if (PyErr_Occurred()) SWIG_fail;
16660 }
16661 resultobj = PyInt_FromLong((long)result);
16662 return resultobj;
16663 fail:
16664 return NULL;
16665 }
16666
16667
16668 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16669 PyObject *resultobj;
16670 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16671 bool result;
16672 PyObject * obj0 = 0 ;
16673 char *kwnames[] = {
16674 (char *) "self", NULL
16675 };
16676
16677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 result = (bool)(arg1)->GetEnablePaper();
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 resultobj = PyInt_FromLong((long)result);
16687 return resultobj;
16688 fail:
16689 return NULL;
16690 }
16691
16692
16693 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16694 PyObject *resultobj;
16695 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16696 bool result;
16697 PyObject * obj0 = 0 ;
16698 char *kwnames[] = {
16699 (char *) "self", NULL
16700 };
16701
16702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16704 {
16705 PyThreadState* __tstate = wxPyBeginAllowThreads();
16706 result = (bool)(arg1)->GetEnablePrinter();
16707
16708 wxPyEndAllowThreads(__tstate);
16709 if (PyErr_Occurred()) SWIG_fail;
16710 }
16711 resultobj = PyInt_FromLong((long)result);
16712 return resultobj;
16713 fail:
16714 return NULL;
16715 }
16716
16717
16718 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16719 PyObject *resultobj;
16720 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16721 bool result;
16722 PyObject * obj0 = 0 ;
16723 char *kwnames[] = {
16724 (char *) "self", NULL
16725 };
16726
16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16729 {
16730 PyThreadState* __tstate = wxPyBeginAllowThreads();
16731 result = (bool)(arg1)->GetEnableHelp();
16732
16733 wxPyEndAllowThreads(__tstate);
16734 if (PyErr_Occurred()) SWIG_fail;
16735 }
16736 resultobj = PyInt_FromLong((long)result);
16737 return resultobj;
16738 fail:
16739 return NULL;
16740 }
16741
16742
16743 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16744 PyObject *resultobj;
16745 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16746 bool result;
16747 PyObject * obj0 = 0 ;
16748 char *kwnames[] = {
16749 (char *) "self", NULL
16750 };
16751
16752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16754 {
16755 PyThreadState* __tstate = wxPyBeginAllowThreads();
16756 result = (bool)(arg1)->GetDefaultInfo();
16757
16758 wxPyEndAllowThreads(__tstate);
16759 if (PyErr_Occurred()) SWIG_fail;
16760 }
16761 resultobj = PyInt_FromLong((long)result);
16762 return resultobj;
16763 fail:
16764 return NULL;
16765 }
16766
16767
16768 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16769 PyObject *resultobj;
16770 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16771 wxPoint result;
16772 PyObject * obj0 = 0 ;
16773 char *kwnames[] = {
16774 (char *) "self", NULL
16775 };
16776
16777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16779 {
16780 PyThreadState* __tstate = wxPyBeginAllowThreads();
16781 result = (arg1)->GetMarginTopLeft();
16782
16783 wxPyEndAllowThreads(__tstate);
16784 if (PyErr_Occurred()) SWIG_fail;
16785 }
16786 {
16787 wxPoint * resultptr;
16788 resultptr = new wxPoint((wxPoint &) result);
16789 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16790 }
16791 return resultobj;
16792 fail:
16793 return NULL;
16794 }
16795
16796
16797 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16798 PyObject *resultobj;
16799 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16800 wxPoint result;
16801 PyObject * obj0 = 0 ;
16802 char *kwnames[] = {
16803 (char *) "self", NULL
16804 };
16805
16806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16808 {
16809 PyThreadState* __tstate = wxPyBeginAllowThreads();
16810 result = (arg1)->GetMarginBottomRight();
16811
16812 wxPyEndAllowThreads(__tstate);
16813 if (PyErr_Occurred()) SWIG_fail;
16814 }
16815 {
16816 wxPoint * resultptr;
16817 resultptr = new wxPoint((wxPoint &) result);
16818 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16819 }
16820 return resultobj;
16821 fail:
16822 return NULL;
16823 }
16824
16825
16826 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16827 PyObject *resultobj;
16828 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16829 wxPoint result;
16830 PyObject * obj0 = 0 ;
16831 char *kwnames[] = {
16832 (char *) "self", NULL
16833 };
16834
16835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16837 {
16838 PyThreadState* __tstate = wxPyBeginAllowThreads();
16839 result = (arg1)->GetMinMarginTopLeft();
16840
16841 wxPyEndAllowThreads(__tstate);
16842 if (PyErr_Occurred()) SWIG_fail;
16843 }
16844 {
16845 wxPoint * resultptr;
16846 resultptr = new wxPoint((wxPoint &) result);
16847 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16848 }
16849 return resultobj;
16850 fail:
16851 return NULL;
16852 }
16853
16854
16855 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16856 PyObject *resultobj;
16857 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16858 wxPoint result;
16859 PyObject * obj0 = 0 ;
16860 char *kwnames[] = {
16861 (char *) "self", NULL
16862 };
16863
16864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 result = (arg1)->GetMinMarginBottomRight();
16869
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 {
16874 wxPoint * resultptr;
16875 resultptr = new wxPoint((wxPoint &) result);
16876 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16877 }
16878 return resultobj;
16879 fail:
16880 return NULL;
16881 }
16882
16883
16884 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16885 PyObject *resultobj;
16886 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16887 int result;
16888 PyObject * obj0 = 0 ;
16889 char *kwnames[] = {
16890 (char *) "self", NULL
16891 };
16892
16893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 result = (int)(arg1)->GetPaperId();
16898
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 resultobj = PyInt_FromLong((long)result);
16903 return resultobj;
16904 fail:
16905 return NULL;
16906 }
16907
16908
16909 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16910 PyObject *resultobj;
16911 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16912 wxSize result;
16913 PyObject * obj0 = 0 ;
16914 char *kwnames[] = {
16915 (char *) "self", NULL
16916 };
16917
16918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16920 {
16921 PyThreadState* __tstate = wxPyBeginAllowThreads();
16922 result = (arg1)->GetPaperSize();
16923
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 {
16928 wxSize * resultptr;
16929 resultptr = new wxSize((wxSize &) result);
16930 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16931 }
16932 return resultobj;
16933 fail:
16934 return NULL;
16935 }
16936
16937
16938 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj;
16940 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16941 wxPrintData *result;
16942 PyObject * obj0 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16949 {
16950 PyThreadState* __tstate = wxPyBeginAllowThreads();
16951 {
16952 wxPrintData &_result_ref = (arg1)->GetPrintData();
16953 result = (wxPrintData *) &_result_ref;
16954 }
16955
16956 wxPyEndAllowThreads(__tstate);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
16959 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16960 return resultobj;
16961 fail:
16962 return NULL;
16963 }
16964
16965
16966 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16967 PyObject *resultobj;
16968 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16969 bool result;
16970 PyObject * obj0 = 0 ;
16971 char *kwnames[] = {
16972 (char *) "self", NULL
16973 };
16974
16975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16977 {
16978 PyThreadState* __tstate = wxPyBeginAllowThreads();
16979 result = (bool)(arg1)->Ok();
16980
16981 wxPyEndAllowThreads(__tstate);
16982 if (PyErr_Occurred()) SWIG_fail;
16983 }
16984 resultobj = PyInt_FromLong((long)result);
16985 return resultobj;
16986 fail:
16987 return NULL;
16988 }
16989
16990
16991 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16992 PyObject *resultobj;
16993 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16994 bool arg2 ;
16995 PyObject * obj0 = 0 ;
16996 PyObject * obj1 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self",(char *) "flag", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
17002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17003 {
17004 arg2 = (bool) SPyObj_AsBool(obj1);
17005 if (PyErr_Occurred()) SWIG_fail;
17006 }
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 (arg1)->SetDefaultInfo(arg2);
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 Py_INCREF(Py_None); resultobj = Py_None;
17015 return resultobj;
17016 fail:
17017 return NULL;
17018 }
17019
17020
17021 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17022 PyObject *resultobj;
17023 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17024 bool arg2 ;
17025 PyObject * obj0 = 0 ;
17026 PyObject * obj1 = 0 ;
17027 char *kwnames[] = {
17028 (char *) "self",(char *) "flag", NULL
17029 };
17030
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
17032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17033 {
17034 arg2 = (bool) SPyObj_AsBool(obj1);
17035 if (PyErr_Occurred()) SWIG_fail;
17036 }
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 (arg1)->SetDefaultMinMargins(arg2);
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 Py_INCREF(Py_None); resultobj = Py_None;
17045 return resultobj;
17046 fail:
17047 return NULL;
17048 }
17049
17050
17051 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17052 PyObject *resultobj;
17053 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17054 wxPoint *arg2 = 0 ;
17055 wxPoint temp2 ;
17056 PyObject * obj0 = 0 ;
17057 PyObject * obj1 = 0 ;
17058 char *kwnames[] = {
17059 (char *) "self",(char *) "pt", NULL
17060 };
17061
17062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
17063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17064 {
17065 arg2 = &temp2;
17066 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17067 }
17068 {
17069 PyThreadState* __tstate = wxPyBeginAllowThreads();
17070 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
17071
17072 wxPyEndAllowThreads(__tstate);
17073 if (PyErr_Occurred()) SWIG_fail;
17074 }
17075 Py_INCREF(Py_None); resultobj = Py_None;
17076 return resultobj;
17077 fail:
17078 return NULL;
17079 }
17080
17081
17082 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17085 wxPoint *arg2 = 0 ;
17086 wxPoint temp2 ;
17087 PyObject * obj0 = 0 ;
17088 PyObject * obj1 = 0 ;
17089 char *kwnames[] = {
17090 (char *) "self",(char *) "pt", NULL
17091 };
17092
17093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
17094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17095 {
17096 arg2 = &temp2;
17097 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17098 }
17099 {
17100 PyThreadState* __tstate = wxPyBeginAllowThreads();
17101 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
17102
17103 wxPyEndAllowThreads(__tstate);
17104 if (PyErr_Occurred()) SWIG_fail;
17105 }
17106 Py_INCREF(Py_None); resultobj = Py_None;
17107 return resultobj;
17108 fail:
17109 return NULL;
17110 }
17111
17112
17113 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17114 PyObject *resultobj;
17115 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17116 wxPoint *arg2 = 0 ;
17117 wxPoint temp2 ;
17118 PyObject * obj0 = 0 ;
17119 PyObject * obj1 = 0 ;
17120 char *kwnames[] = {
17121 (char *) "self",(char *) "pt", NULL
17122 };
17123
17124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
17125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17126 {
17127 arg2 = &temp2;
17128 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17129 }
17130 {
17131 PyThreadState* __tstate = wxPyBeginAllowThreads();
17132 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
17133
17134 wxPyEndAllowThreads(__tstate);
17135 if (PyErr_Occurred()) SWIG_fail;
17136 }
17137 Py_INCREF(Py_None); resultobj = Py_None;
17138 return resultobj;
17139 fail:
17140 return NULL;
17141 }
17142
17143
17144 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17145 PyObject *resultobj;
17146 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17147 wxPoint *arg2 = 0 ;
17148 wxPoint temp2 ;
17149 PyObject * obj0 = 0 ;
17150 PyObject * obj1 = 0 ;
17151 char *kwnames[] = {
17152 (char *) "self",(char *) "pt", NULL
17153 };
17154
17155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
17156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17157 {
17158 arg2 = &temp2;
17159 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17160 }
17161 {
17162 PyThreadState* __tstate = wxPyBeginAllowThreads();
17163 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
17164
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 Py_INCREF(Py_None); resultobj = Py_None;
17169 return resultobj;
17170 fail:
17171 return NULL;
17172 }
17173
17174
17175 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17176 PyObject *resultobj;
17177 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17178 int arg2 ;
17179 PyObject * obj0 = 0 ;
17180 char *kwnames[] = {
17181 (char *) "self",(char *) "id", NULL
17182 };
17183
17184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
17185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 (arg1)->SetPaperId((wxPaperSize )arg2);
17189
17190 wxPyEndAllowThreads(__tstate);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 }
17193 Py_INCREF(Py_None); resultobj = Py_None;
17194 return resultobj;
17195 fail:
17196 return NULL;
17197 }
17198
17199
17200 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17201 PyObject *resultobj;
17202 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17203 wxSize *arg2 = 0 ;
17204 wxSize temp2 ;
17205 PyObject * obj0 = 0 ;
17206 PyObject * obj1 = 0 ;
17207 char *kwnames[] = {
17208 (char *) "self",(char *) "size", NULL
17209 };
17210
17211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17213 {
17214 arg2 = &temp2;
17215 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17216 }
17217 {
17218 PyThreadState* __tstate = wxPyBeginAllowThreads();
17219 (arg1)->SetPaperSize((wxSize const &)*arg2);
17220
17221 wxPyEndAllowThreads(__tstate);
17222 if (PyErr_Occurred()) SWIG_fail;
17223 }
17224 Py_INCREF(Py_None); resultobj = Py_None;
17225 return resultobj;
17226 fail:
17227 return NULL;
17228 }
17229
17230
17231 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj;
17233 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17234 wxPrintData *arg2 = 0 ;
17235 PyObject * obj0 = 0 ;
17236 PyObject * obj1 = 0 ;
17237 char *kwnames[] = {
17238 (char *) "self",(char *) "printData", NULL
17239 };
17240
17241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17244 if (arg2 == NULL) {
17245 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17246 }
17247 {
17248 PyThreadState* __tstate = wxPyBeginAllowThreads();
17249 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17250
17251 wxPyEndAllowThreads(__tstate);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 Py_INCREF(Py_None); resultobj = Py_None;
17255 return resultobj;
17256 fail:
17257 return NULL;
17258 }
17259
17260
17261 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
17262 PyObject *obj;
17263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17264 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
17265 Py_INCREF(obj);
17266 return Py_BuildValue((char *)"");
17267 }
17268 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17269 PyObject *resultobj;
17270 wxWindow *arg1 = (wxWindow *) 0 ;
17271 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
17272 wxPageSetupDialog *result;
17273 PyObject * obj0 = 0 ;
17274 PyObject * obj1 = 0 ;
17275 char *kwnames[] = {
17276 (char *) "parent",(char *) "data", NULL
17277 };
17278
17279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17281 if (obj1) {
17282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17283 }
17284 {
17285 PyThreadState* __tstate = wxPyBeginAllowThreads();
17286 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
17287
17288 wxPyEndAllowThreads(__tstate);
17289 if (PyErr_Occurred()) SWIG_fail;
17290 }
17291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
17292 return resultobj;
17293 fail:
17294 return NULL;
17295 }
17296
17297
17298 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
17299 PyObject *resultobj;
17300 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17301 wxPageSetupDialogData *result;
17302 PyObject * obj0 = 0 ;
17303 char *kwnames[] = {
17304 (char *) "self", NULL
17305 };
17306
17307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
17308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17309 {
17310 PyThreadState* __tstate = wxPyBeginAllowThreads();
17311 {
17312 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
17313 result = (wxPageSetupDialogData *) &_result_ref;
17314 }
17315
17316 wxPyEndAllowThreads(__tstate);
17317 if (PyErr_Occurred()) SWIG_fail;
17318 }
17319 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
17320 return resultobj;
17321 fail:
17322 return NULL;
17323 }
17324
17325
17326 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17327 PyObject *resultobj;
17328 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17329 int result;
17330 PyObject * obj0 = 0 ;
17331 char *kwnames[] = {
17332 (char *) "self", NULL
17333 };
17334
17335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
17336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17337 {
17338 PyThreadState* __tstate = wxPyBeginAllowThreads();
17339 result = (int)(arg1)->ShowModal();
17340
17341 wxPyEndAllowThreads(__tstate);
17342 if (PyErr_Occurred()) SWIG_fail;
17343 }
17344 resultobj = PyInt_FromLong((long)result);
17345 return resultobj;
17346 fail:
17347 return NULL;
17348 }
17349
17350
17351 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
17352 PyObject *obj;
17353 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17354 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
17355 Py_INCREF(obj);
17356 return Py_BuildValue((char *)"");
17357 }
17358 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17359 PyObject *resultobj;
17360 wxPrintDialogData *result;
17361 char *kwnames[] = {
17362 NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 result = (wxPrintDialogData *)new wxPrintDialogData();
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
17374 return resultobj;
17375 fail:
17376 return NULL;
17377 }
17378
17379
17380 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17381 PyObject *resultobj;
17382 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17383 PyObject * obj0 = 0 ;
17384 char *kwnames[] = {
17385 (char *) "self", NULL
17386 };
17387
17388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
17389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17390 {
17391 PyThreadState* __tstate = wxPyBeginAllowThreads();
17392 delete arg1;
17393
17394 wxPyEndAllowThreads(__tstate);
17395 if (PyErr_Occurred()) SWIG_fail;
17396 }
17397 Py_INCREF(Py_None); resultobj = Py_None;
17398 return resultobj;
17399 fail:
17400 return NULL;
17401 }
17402
17403
17404 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17405 PyObject *resultobj;
17406 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17407 int result;
17408 PyObject * obj0 = 0 ;
17409 char *kwnames[] = {
17410 (char *) "self", NULL
17411 };
17412
17413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17418
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 resultobj = PyInt_FromLong((long)result);
17423 return resultobj;
17424 fail:
17425 return NULL;
17426 }
17427
17428
17429 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17430 PyObject *resultobj;
17431 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17432 int result;
17433 PyObject * obj0 = 0 ;
17434 char *kwnames[] = {
17435 (char *) "self", NULL
17436 };
17437
17438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17443
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 resultobj = PyInt_FromLong((long)result);
17448 return resultobj;
17449 fail:
17450 return NULL;
17451 }
17452
17453
17454 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17455 PyObject *resultobj;
17456 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17457 int result;
17458 PyObject * obj0 = 0 ;
17459 char *kwnames[] = {
17460 (char *) "self", NULL
17461 };
17462
17463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17468
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 resultobj = PyInt_FromLong((long)result);
17473 return resultobj;
17474 fail:
17475 return NULL;
17476 }
17477
17478
17479 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17482 int result;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17490 {
17491 PyThreadState* __tstate = wxPyBeginAllowThreads();
17492 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17493
17494 wxPyEndAllowThreads(__tstate);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 }
17497 resultobj = PyInt_FromLong((long)result);
17498 return resultobj;
17499 fail:
17500 return NULL;
17501 }
17502
17503
17504 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17505 PyObject *resultobj;
17506 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17507 int result;
17508 PyObject * obj0 = 0 ;
17509 char *kwnames[] = {
17510 (char *) "self", NULL
17511 };
17512
17513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17515 {
17516 PyThreadState* __tstate = wxPyBeginAllowThreads();
17517 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17518
17519 wxPyEndAllowThreads(__tstate);
17520 if (PyErr_Occurred()) SWIG_fail;
17521 }
17522 resultobj = PyInt_FromLong((long)result);
17523 return resultobj;
17524 fail:
17525 return NULL;
17526 }
17527
17528
17529 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17530 PyObject *resultobj;
17531 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17532 bool result;
17533 PyObject * obj0 = 0 ;
17534 char *kwnames[] = {
17535 (char *) "self", NULL
17536 };
17537
17538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17540 {
17541 PyThreadState* __tstate = wxPyBeginAllowThreads();
17542 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17543
17544 wxPyEndAllowThreads(__tstate);
17545 if (PyErr_Occurred()) SWIG_fail;
17546 }
17547 resultobj = PyInt_FromLong((long)result);
17548 return resultobj;
17549 fail:
17550 return NULL;
17551 }
17552
17553
17554 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17555 PyObject *resultobj;
17556 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17557 bool result;
17558 PyObject * obj0 = 0 ;
17559 char *kwnames[] = {
17560 (char *) "self", NULL
17561 };
17562
17563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17565 {
17566 PyThreadState* __tstate = wxPyBeginAllowThreads();
17567 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17568
17569 wxPyEndAllowThreads(__tstate);
17570 if (PyErr_Occurred()) SWIG_fail;
17571 }
17572 resultobj = PyInt_FromLong((long)result);
17573 return resultobj;
17574 fail:
17575 return NULL;
17576 }
17577
17578
17579 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17580 PyObject *resultobj;
17581 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17582 bool result;
17583 PyObject * obj0 = 0 ;
17584 char *kwnames[] = {
17585 (char *) "self", NULL
17586 };
17587
17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17590 {
17591 PyThreadState* __tstate = wxPyBeginAllowThreads();
17592 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17593
17594 wxPyEndAllowThreads(__tstate);
17595 if (PyErr_Occurred()) SWIG_fail;
17596 }
17597 resultobj = PyInt_FromLong((long)result);
17598 return resultobj;
17599 fail:
17600 return NULL;
17601 }
17602
17603
17604 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17605 PyObject *resultobj;
17606 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17607 bool result;
17608 PyObject * obj0 = 0 ;
17609 char *kwnames[] = {
17610 (char *) "self", NULL
17611 };
17612
17613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17615 {
17616 PyThreadState* __tstate = wxPyBeginAllowThreads();
17617 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17618
17619 wxPyEndAllowThreads(__tstate);
17620 if (PyErr_Occurred()) SWIG_fail;
17621 }
17622 resultobj = PyInt_FromLong((long)result);
17623 return resultobj;
17624 fail:
17625 return NULL;
17626 }
17627
17628
17629 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17630 PyObject *resultobj;
17631 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17632 bool result;
17633 PyObject * obj0 = 0 ;
17634 char *kwnames[] = {
17635 (char *) "self", NULL
17636 };
17637
17638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17640 {
17641 PyThreadState* __tstate = wxPyBeginAllowThreads();
17642 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17643
17644 wxPyEndAllowThreads(__tstate);
17645 if (PyErr_Occurred()) SWIG_fail;
17646 }
17647 resultobj = PyInt_FromLong((long)result);
17648 return resultobj;
17649 fail:
17650 return NULL;
17651 }
17652
17653
17654 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17655 PyObject *resultobj;
17656 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17657 int arg2 ;
17658 PyObject * obj0 = 0 ;
17659 char *kwnames[] = {
17660 (char *) "self",(char *) "v", NULL
17661 };
17662
17663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17665 {
17666 PyThreadState* __tstate = wxPyBeginAllowThreads();
17667 (arg1)->SetFromPage(arg2);
17668
17669 wxPyEndAllowThreads(__tstate);
17670 if (PyErr_Occurred()) SWIG_fail;
17671 }
17672 Py_INCREF(Py_None); resultobj = Py_None;
17673 return resultobj;
17674 fail:
17675 return NULL;
17676 }
17677
17678
17679 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17680 PyObject *resultobj;
17681 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17682 int arg2 ;
17683 PyObject * obj0 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self",(char *) "v", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17690 {
17691 PyThreadState* __tstate = wxPyBeginAllowThreads();
17692 (arg1)->SetToPage(arg2);
17693
17694 wxPyEndAllowThreads(__tstate);
17695 if (PyErr_Occurred()) SWIG_fail;
17696 }
17697 Py_INCREF(Py_None); resultobj = Py_None;
17698 return resultobj;
17699 fail:
17700 return NULL;
17701 }
17702
17703
17704 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17705 PyObject *resultobj;
17706 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17707 int arg2 ;
17708 PyObject * obj0 = 0 ;
17709 char *kwnames[] = {
17710 (char *) "self",(char *) "v", NULL
17711 };
17712
17713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 (arg1)->SetMinPage(arg2);
17718
17719 wxPyEndAllowThreads(__tstate);
17720 if (PyErr_Occurred()) SWIG_fail;
17721 }
17722 Py_INCREF(Py_None); resultobj = Py_None;
17723 return resultobj;
17724 fail:
17725 return NULL;
17726 }
17727
17728
17729 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17730 PyObject *resultobj;
17731 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17732 int arg2 ;
17733 PyObject * obj0 = 0 ;
17734 char *kwnames[] = {
17735 (char *) "self",(char *) "v", NULL
17736 };
17737
17738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 (arg1)->SetMaxPage(arg2);
17743
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 Py_INCREF(Py_None); resultobj = Py_None;
17748 return resultobj;
17749 fail:
17750 return NULL;
17751 }
17752
17753
17754 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17755 PyObject *resultobj;
17756 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17757 int arg2 ;
17758 PyObject * obj0 = 0 ;
17759 char *kwnames[] = {
17760 (char *) "self",(char *) "v", NULL
17761 };
17762
17763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17765 {
17766 PyThreadState* __tstate = wxPyBeginAllowThreads();
17767 (arg1)->SetNoCopies(arg2);
17768
17769 wxPyEndAllowThreads(__tstate);
17770 if (PyErr_Occurred()) SWIG_fail;
17771 }
17772 Py_INCREF(Py_None); resultobj = Py_None;
17773 return resultobj;
17774 fail:
17775 return NULL;
17776 }
17777
17778
17779 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17780 PyObject *resultobj;
17781 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17782 bool arg2 ;
17783 PyObject * obj0 = 0 ;
17784 PyObject * obj1 = 0 ;
17785 char *kwnames[] = {
17786 (char *) "self",(char *) "flag", NULL
17787 };
17788
17789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17791 {
17792 arg2 = (bool) SPyObj_AsBool(obj1);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 (arg1)->SetAllPages(arg2);
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
17802 Py_INCREF(Py_None); resultobj = Py_None;
17803 return resultobj;
17804 fail:
17805 return NULL;
17806 }
17807
17808
17809 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17810 PyObject *resultobj;
17811 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17812 bool arg2 ;
17813 PyObject * obj0 = 0 ;
17814 PyObject * obj1 = 0 ;
17815 char *kwnames[] = {
17816 (char *) "self",(char *) "flag", NULL
17817 };
17818
17819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17821 {
17822 arg2 = (bool) SPyObj_AsBool(obj1);
17823 if (PyErr_Occurred()) SWIG_fail;
17824 }
17825 {
17826 PyThreadState* __tstate = wxPyBeginAllowThreads();
17827 (arg1)->SetSelection(arg2);
17828
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 Py_INCREF(Py_None); resultobj = Py_None;
17833 return resultobj;
17834 fail:
17835 return NULL;
17836 }
17837
17838
17839 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17840 PyObject *resultobj;
17841 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17842 bool arg2 ;
17843 PyObject * obj0 = 0 ;
17844 PyObject * obj1 = 0 ;
17845 char *kwnames[] = {
17846 (char *) "self",(char *) "flag", NULL
17847 };
17848
17849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17851 {
17852 arg2 = (bool) SPyObj_AsBool(obj1);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 }
17855 {
17856 PyThreadState* __tstate = wxPyBeginAllowThreads();
17857 (arg1)->SetCollate(arg2);
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 Py_INCREF(Py_None); resultobj = Py_None;
17863 return resultobj;
17864 fail:
17865 return NULL;
17866 }
17867
17868
17869 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17872 bool arg2 ;
17873 PyObject * obj0 = 0 ;
17874 PyObject * obj1 = 0 ;
17875 char *kwnames[] = {
17876 (char *) "self",(char *) "flag", NULL
17877 };
17878
17879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17881 {
17882 arg2 = (bool) SPyObj_AsBool(obj1);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
17885 {
17886 PyThreadState* __tstate = wxPyBeginAllowThreads();
17887 (arg1)->SetPrintToFile(arg2);
17888
17889 wxPyEndAllowThreads(__tstate);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 }
17892 Py_INCREF(Py_None); resultobj = Py_None;
17893 return resultobj;
17894 fail:
17895 return NULL;
17896 }
17897
17898
17899 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17900 PyObject *resultobj;
17901 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17902 bool arg2 ;
17903 PyObject * obj0 = 0 ;
17904 PyObject * obj1 = 0 ;
17905 char *kwnames[] = {
17906 (char *) "self",(char *) "flag", NULL
17907 };
17908
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17911 {
17912 arg2 = (bool) SPyObj_AsBool(obj1);
17913 if (PyErr_Occurred()) SWIG_fail;
17914 }
17915 {
17916 PyThreadState* __tstate = wxPyBeginAllowThreads();
17917 (arg1)->SetSetupDialog(arg2);
17918
17919 wxPyEndAllowThreads(__tstate);
17920 if (PyErr_Occurred()) SWIG_fail;
17921 }
17922 Py_INCREF(Py_None); resultobj = Py_None;
17923 return resultobj;
17924 fail:
17925 return NULL;
17926 }
17927
17928
17929 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17930 PyObject *resultobj;
17931 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17932 bool arg2 ;
17933 PyObject * obj0 = 0 ;
17934 PyObject * obj1 = 0 ;
17935 char *kwnames[] = {
17936 (char *) "self",(char *) "flag", NULL
17937 };
17938
17939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17941 {
17942 arg2 = (bool) SPyObj_AsBool(obj1);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 {
17946 PyThreadState* __tstate = wxPyBeginAllowThreads();
17947 (arg1)->EnablePrintToFile(arg2);
17948
17949 wxPyEndAllowThreads(__tstate);
17950 if (PyErr_Occurred()) SWIG_fail;
17951 }
17952 Py_INCREF(Py_None); resultobj = Py_None;
17953 return resultobj;
17954 fail:
17955 return NULL;
17956 }
17957
17958
17959 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17960 PyObject *resultobj;
17961 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17962 bool arg2 ;
17963 PyObject * obj0 = 0 ;
17964 PyObject * obj1 = 0 ;
17965 char *kwnames[] = {
17966 (char *) "self",(char *) "flag", NULL
17967 };
17968
17969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17971 {
17972 arg2 = (bool) SPyObj_AsBool(obj1);
17973 if (PyErr_Occurred()) SWIG_fail;
17974 }
17975 {
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 (arg1)->EnableSelection(arg2);
17978
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
17982 Py_INCREF(Py_None); resultobj = Py_None;
17983 return resultobj;
17984 fail:
17985 return NULL;
17986 }
17987
17988
17989 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17990 PyObject *resultobj;
17991 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17992 bool arg2 ;
17993 PyObject * obj0 = 0 ;
17994 PyObject * obj1 = 0 ;
17995 char *kwnames[] = {
17996 (char *) "self",(char *) "flag", NULL
17997 };
17998
17999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
18000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18001 {
18002 arg2 = (bool) SPyObj_AsBool(obj1);
18003 if (PyErr_Occurred()) SWIG_fail;
18004 }
18005 {
18006 PyThreadState* __tstate = wxPyBeginAllowThreads();
18007 (arg1)->EnablePageNumbers(arg2);
18008
18009 wxPyEndAllowThreads(__tstate);
18010 if (PyErr_Occurred()) SWIG_fail;
18011 }
18012 Py_INCREF(Py_None); resultobj = Py_None;
18013 return resultobj;
18014 fail:
18015 return NULL;
18016 }
18017
18018
18019 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18020 PyObject *resultobj;
18021 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18022 bool arg2 ;
18023 PyObject * obj0 = 0 ;
18024 PyObject * obj1 = 0 ;
18025 char *kwnames[] = {
18026 (char *) "self",(char *) "flag", NULL
18027 };
18028
18029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18031 {
18032 arg2 = (bool) SPyObj_AsBool(obj1);
18033 if (PyErr_Occurred()) SWIG_fail;
18034 }
18035 {
18036 PyThreadState* __tstate = wxPyBeginAllowThreads();
18037 (arg1)->EnableHelp(arg2);
18038
18039 wxPyEndAllowThreads(__tstate);
18040 if (PyErr_Occurred()) SWIG_fail;
18041 }
18042 Py_INCREF(Py_None); resultobj = Py_None;
18043 return resultobj;
18044 fail:
18045 return NULL;
18046 }
18047
18048
18049 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18050 PyObject *resultobj;
18051 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18052 bool result;
18053 PyObject * obj0 = 0 ;
18054 char *kwnames[] = {
18055 (char *) "self", NULL
18056 };
18057
18058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
18059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18060 {
18061 PyThreadState* __tstate = wxPyBeginAllowThreads();
18062 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
18063
18064 wxPyEndAllowThreads(__tstate);
18065 if (PyErr_Occurred()) SWIG_fail;
18066 }
18067 resultobj = PyInt_FromLong((long)result);
18068 return resultobj;
18069 fail:
18070 return NULL;
18071 }
18072
18073
18074 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18075 PyObject *resultobj;
18076 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18077 bool result;
18078 PyObject * obj0 = 0 ;
18079 char *kwnames[] = {
18080 (char *) "self", NULL
18081 };
18082
18083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
18084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18085 {
18086 PyThreadState* __tstate = wxPyBeginAllowThreads();
18087 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
18088
18089 wxPyEndAllowThreads(__tstate);
18090 if (PyErr_Occurred()) SWIG_fail;
18091 }
18092 resultobj = PyInt_FromLong((long)result);
18093 return resultobj;
18094 fail:
18095 return NULL;
18096 }
18097
18098
18099 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
18100 PyObject *resultobj;
18101 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18102 bool result;
18103 PyObject * obj0 = 0 ;
18104 char *kwnames[] = {
18105 (char *) "self", NULL
18106 };
18107
18108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
18109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18110 {
18111 PyThreadState* __tstate = wxPyBeginAllowThreads();
18112 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
18113
18114 wxPyEndAllowThreads(__tstate);
18115 if (PyErr_Occurred()) SWIG_fail;
18116 }
18117 resultobj = PyInt_FromLong((long)result);
18118 return resultobj;
18119 fail:
18120 return NULL;
18121 }
18122
18123
18124 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18125 PyObject *resultobj;
18126 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18127 bool result;
18128 PyObject * obj0 = 0 ;
18129 char *kwnames[] = {
18130 (char *) "self", NULL
18131 };
18132
18133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18135 {
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
18138
18139 wxPyEndAllowThreads(__tstate);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 }
18142 resultobj = PyInt_FromLong((long)result);
18143 return resultobj;
18144 fail:
18145 return NULL;
18146 }
18147
18148
18149 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18150 PyObject *resultobj;
18151 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18152 bool result;
18153 PyObject * obj0 = 0 ;
18154 char *kwnames[] = {
18155 (char *) "self", NULL
18156 };
18157
18158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
18159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18160 {
18161 PyThreadState* __tstate = wxPyBeginAllowThreads();
18162 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
18163
18164 wxPyEndAllowThreads(__tstate);
18165 if (PyErr_Occurred()) SWIG_fail;
18166 }
18167 resultobj = PyInt_FromLong((long)result);
18168 return resultobj;
18169 fail:
18170 return NULL;
18171 }
18172
18173
18174 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18175 PyObject *resultobj;
18176 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18177 wxPrintData *result;
18178 PyObject * obj0 = 0 ;
18179 char *kwnames[] = {
18180 (char *) "self", NULL
18181 };
18182
18183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 {
18188 wxPrintData &_result_ref = (arg1)->GetPrintData();
18189 result = (wxPrintData *) &_result_ref;
18190 }
18191
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
18195 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
18196 return resultobj;
18197 fail:
18198 return NULL;
18199 }
18200
18201
18202 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18203 PyObject *resultobj;
18204 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18205 wxPrintData *arg2 = 0 ;
18206 PyObject * obj0 = 0 ;
18207 PyObject * obj1 = 0 ;
18208 char *kwnames[] = {
18209 (char *) "self",(char *) "printData", NULL
18210 };
18211
18212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18215 if (arg2 == NULL) {
18216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18217 }
18218 {
18219 PyThreadState* __tstate = wxPyBeginAllowThreads();
18220 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18221
18222 wxPyEndAllowThreads(__tstate);
18223 if (PyErr_Occurred()) SWIG_fail;
18224 }
18225 Py_INCREF(Py_None); resultobj = Py_None;
18226 return resultobj;
18227 fail:
18228 return NULL;
18229 }
18230
18231
18232 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
18233 PyObject *obj;
18234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18235 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
18236 Py_INCREF(obj);
18237 return Py_BuildValue((char *)"");
18238 }
18239 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18240 PyObject *resultobj;
18241 wxWindow *arg1 = (wxWindow *) 0 ;
18242 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
18243 wxPrintDialog *result;
18244 PyObject * obj0 = 0 ;
18245 PyObject * obj1 = 0 ;
18246 char *kwnames[] = {
18247 (char *) "parent",(char *) "data", NULL
18248 };
18249
18250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18252 if (obj1) {
18253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18254 }
18255 {
18256 PyThreadState* __tstate = wxPyBeginAllowThreads();
18257 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
18258
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
18263 return resultobj;
18264 fail:
18265 return NULL;
18266 }
18267
18268
18269 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj;
18271 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18272 wxPrintDialogData *result;
18273 PyObject * obj0 = 0 ;
18274 char *kwnames[] = {
18275 (char *) "self", NULL
18276 };
18277
18278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
18279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18280 {
18281 PyThreadState* __tstate = wxPyBeginAllowThreads();
18282 {
18283 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18284 result = (wxPrintDialogData *) &_result_ref;
18285 }
18286
18287 wxPyEndAllowThreads(__tstate);
18288 if (PyErr_Occurred()) SWIG_fail;
18289 }
18290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18291 return resultobj;
18292 fail:
18293 return NULL;
18294 }
18295
18296
18297 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18298 PyObject *resultobj;
18299 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18300 wxDC *result;
18301 PyObject * obj0 = 0 ;
18302 char *kwnames[] = {
18303 (char *) "self", NULL
18304 };
18305
18306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
18307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (wxDC *)(arg1)->GetPrintDC();
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 {
18316 resultobj = wxPyMake_wxObject(result);
18317 }
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18327 int result;
18328 PyObject * obj0 = 0 ;
18329 char *kwnames[] = {
18330 (char *) "self", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
18334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18335 {
18336 PyThreadState* __tstate = wxPyBeginAllowThreads();
18337 result = (int)(arg1)->ShowModal();
18338
18339 wxPyEndAllowThreads(__tstate);
18340 if (PyErr_Occurred()) SWIG_fail;
18341 }
18342 resultobj = PyInt_FromLong((long)result);
18343 return resultobj;
18344 fail:
18345 return NULL;
18346 }
18347
18348
18349 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
18350 PyObject *obj;
18351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18352 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
18353 Py_INCREF(obj);
18354 return Py_BuildValue((char *)"");
18355 }
18356 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18357 PyObject *resultobj;
18358 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
18359 wxPrinter *result;
18360 PyObject * obj0 = 0 ;
18361 char *kwnames[] = {
18362 (char *) "data", NULL
18363 };
18364
18365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
18366 if (obj0) {
18367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18368 }
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
18371 result = (wxPrinter *)new wxPrinter(arg1);
18372
18373 wxPyEndAllowThreads(__tstate);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
18377 return resultobj;
18378 fail:
18379 return NULL;
18380 }
18381
18382
18383 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18384 PyObject *resultobj;
18385 wxPrinter *arg1 = (wxPrinter *) 0 ;
18386 PyObject * obj0 = 0 ;
18387 char *kwnames[] = {
18388 (char *) "self", NULL
18389 };
18390
18391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
18392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18393 {
18394 PyThreadState* __tstate = wxPyBeginAllowThreads();
18395 delete arg1;
18396
18397 wxPyEndAllowThreads(__tstate);
18398 if (PyErr_Occurred()) SWIG_fail;
18399 }
18400 Py_INCREF(Py_None); resultobj = Py_None;
18401 return resultobj;
18402 fail:
18403 return NULL;
18404 }
18405
18406
18407 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18408 PyObject *resultobj;
18409 wxPrinter *arg1 = (wxPrinter *) 0 ;
18410 wxWindow *arg2 = (wxWindow *) 0 ;
18411 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18412 PyObject * obj0 = 0 ;
18413 PyObject * obj1 = 0 ;
18414 PyObject * obj2 = 0 ;
18415 char *kwnames[] = {
18416 (char *) "self",(char *) "parent",(char *) "printout", NULL
18417 };
18418
18419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
18420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18421 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18422 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18423 {
18424 PyThreadState* __tstate = wxPyBeginAllowThreads();
18425 (arg1)->CreateAbortWindow(arg2,arg3);
18426
18427 wxPyEndAllowThreads(__tstate);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 }
18430 Py_INCREF(Py_None); resultobj = Py_None;
18431 return resultobj;
18432 fail:
18433 return NULL;
18434 }
18435
18436
18437 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18438 PyObject *resultobj;
18439 wxPrinter *arg1 = (wxPrinter *) 0 ;
18440 wxPrintDialogData *result;
18441 PyObject * obj0 = 0 ;
18442 char *kwnames[] = {
18443 (char *) "self", NULL
18444 };
18445
18446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 {
18451 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18452 result = (wxPrintDialogData *) &_result_ref;
18453 }
18454
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18459 return resultobj;
18460 fail:
18461 return NULL;
18462 }
18463
18464
18465 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18466 PyObject *resultobj;
18467 wxPrinter *arg1 = (wxPrinter *) 0 ;
18468 wxWindow *arg2 = (wxWindow *) 0 ;
18469 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18470 int arg4 = (int) True ;
18471 bool result;
18472 PyObject * obj0 = 0 ;
18473 PyObject * obj1 = 0 ;
18474 PyObject * obj2 = 0 ;
18475 char *kwnames[] = {
18476 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18477 };
18478
18479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18482 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18483 {
18484 PyThreadState* __tstate = wxPyBeginAllowThreads();
18485 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18486
18487 wxPyEndAllowThreads(__tstate);
18488 if (PyErr_Occurred()) SWIG_fail;
18489 }
18490 resultobj = PyInt_FromLong((long)result);
18491 return resultobj;
18492 fail:
18493 return NULL;
18494 }
18495
18496
18497 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18498 PyObject *resultobj;
18499 wxPrinter *arg1 = (wxPrinter *) 0 ;
18500 wxWindow *arg2 = (wxWindow *) 0 ;
18501 wxDC *result;
18502 PyObject * obj0 = 0 ;
18503 PyObject * obj1 = 0 ;
18504 char *kwnames[] = {
18505 (char *) "self",(char *) "parent", NULL
18506 };
18507
18508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18511 {
18512 PyThreadState* __tstate = wxPyBeginAllowThreads();
18513 result = (wxDC *)(arg1)->PrintDialog(arg2);
18514
18515 wxPyEndAllowThreads(__tstate);
18516 if (PyErr_Occurred()) SWIG_fail;
18517 }
18518 {
18519 resultobj = wxPyMake_wxObject(result);
18520 }
18521 return resultobj;
18522 fail:
18523 return NULL;
18524 }
18525
18526
18527 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18528 PyObject *resultobj;
18529 wxPrinter *arg1 = (wxPrinter *) 0 ;
18530 wxWindow *arg2 = (wxWindow *) 0 ;
18531 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18532 wxString *arg4 = 0 ;
18533 bool temp4 = False ;
18534 PyObject * obj0 = 0 ;
18535 PyObject * obj1 = 0 ;
18536 PyObject * obj2 = 0 ;
18537 PyObject * obj3 = 0 ;
18538 char *kwnames[] = {
18539 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18540 };
18541
18542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18544 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18545 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18546 {
18547 arg4 = wxString_in_helper(obj3);
18548 if (arg4 == NULL) SWIG_fail;
18549 temp4 = True;
18550 }
18551 {
18552 PyThreadState* __tstate = wxPyBeginAllowThreads();
18553 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18554
18555 wxPyEndAllowThreads(__tstate);
18556 if (PyErr_Occurred()) SWIG_fail;
18557 }
18558 Py_INCREF(Py_None); resultobj = Py_None;
18559 {
18560 if (temp4)
18561 delete arg4;
18562 }
18563 return resultobj;
18564 fail:
18565 {
18566 if (temp4)
18567 delete arg4;
18568 }
18569 return NULL;
18570 }
18571
18572
18573 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18574 PyObject *resultobj;
18575 wxPrinter *arg1 = (wxPrinter *) 0 ;
18576 wxWindow *arg2 = (wxWindow *) 0 ;
18577 bool result;
18578 PyObject * obj0 = 0 ;
18579 PyObject * obj1 = 0 ;
18580 char *kwnames[] = {
18581 (char *) "self",(char *) "parent", NULL
18582 };
18583
18584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18586 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18587 {
18588 PyThreadState* __tstate = wxPyBeginAllowThreads();
18589 result = (bool)(arg1)->Setup(arg2);
18590
18591 wxPyEndAllowThreads(__tstate);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 }
18594 resultobj = PyInt_FromLong((long)result);
18595 return resultobj;
18596 fail:
18597 return NULL;
18598 }
18599
18600
18601 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18602 PyObject *resultobj;
18603 wxPrinter *arg1 = (wxPrinter *) 0 ;
18604 bool result;
18605 PyObject * obj0 = 0 ;
18606 char *kwnames[] = {
18607 (char *) "self", NULL
18608 };
18609
18610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18612 {
18613 PyThreadState* __tstate = wxPyBeginAllowThreads();
18614 result = (bool)(arg1)->GetAbort();
18615
18616 wxPyEndAllowThreads(__tstate);
18617 if (PyErr_Occurred()) SWIG_fail;
18618 }
18619 resultobj = PyInt_FromLong((long)result);
18620 return resultobj;
18621 fail:
18622 return NULL;
18623 }
18624
18625
18626 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18627 PyObject *resultobj;
18628 int result;
18629 char *kwnames[] = {
18630 NULL
18631 };
18632
18633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18634 {
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 result = (int)wxPrinter::GetLastError();
18637
18638 wxPyEndAllowThreads(__tstate);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 }
18641 resultobj = PyInt_FromLong((long)result);
18642 return resultobj;
18643 fail:
18644 return NULL;
18645 }
18646
18647
18648 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18649 PyObject *obj;
18650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18651 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18652 Py_INCREF(obj);
18653 return Py_BuildValue((char *)"");
18654 }
18655 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18656 PyObject *resultobj;
18657 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18658 wxString *arg1 = (wxString *) &arg1_defvalue ;
18659 wxPyPrintout *result;
18660 bool temp1 = False ;
18661 PyObject * obj0 = 0 ;
18662 char *kwnames[] = {
18663 (char *) "title", NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18667 if (obj0) {
18668 {
18669 arg1 = wxString_in_helper(obj0);
18670 if (arg1 == NULL) SWIG_fail;
18671 temp1 = True;
18672 }
18673 }
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 {
18682 resultobj = wxPyMake_wxObject(result);
18683 }
18684 {
18685 if (temp1)
18686 delete arg1;
18687 }
18688 return resultobj;
18689 fail:
18690 {
18691 if (temp1)
18692 delete arg1;
18693 }
18694 return NULL;
18695 }
18696
18697
18698 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18699 PyObject *resultobj;
18700 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18701 PyObject *arg2 = (PyObject *) 0 ;
18702 PyObject *arg3 = (PyObject *) 0 ;
18703 PyObject * obj0 = 0 ;
18704 PyObject * obj1 = 0 ;
18705 PyObject * obj2 = 0 ;
18706 char *kwnames[] = {
18707 (char *) "self",(char *) "self",(char *) "_class", NULL
18708 };
18709
18710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18712 arg2 = obj1;
18713 arg3 = obj2;
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 (arg1)->_setCallbackInfo(arg2,arg3);
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 Py_INCREF(Py_None); resultobj = Py_None;
18722 return resultobj;
18723 fail:
18724 return NULL;
18725 }
18726
18727
18728 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18729 PyObject *resultobj;
18730 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18731 wxString result;
18732 PyObject * obj0 = 0 ;
18733 char *kwnames[] = {
18734 (char *) "self", NULL
18735 };
18736
18737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18739 {
18740 PyThreadState* __tstate = wxPyBeginAllowThreads();
18741 result = ((wxPyPrintout const *)arg1)->GetTitle();
18742
18743 wxPyEndAllowThreads(__tstate);
18744 if (PyErr_Occurred()) SWIG_fail;
18745 }
18746 {
18747 #if wxUSE_UNICODE
18748 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18749 #else
18750 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18751 #endif
18752 }
18753 return resultobj;
18754 fail:
18755 return NULL;
18756 }
18757
18758
18759 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18760 PyObject *resultobj;
18761 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18762 wxDC *result;
18763 PyObject * obj0 = 0 ;
18764 char *kwnames[] = {
18765 (char *) "self", NULL
18766 };
18767
18768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18770 {
18771 PyThreadState* __tstate = wxPyBeginAllowThreads();
18772 result = (wxDC *)(arg1)->GetDC();
18773
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 {
18778 resultobj = wxPyMake_wxObject(result);
18779 }
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj;
18788 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18789 wxDC *arg2 = (wxDC *) 0 ;
18790 PyObject * obj0 = 0 ;
18791 PyObject * obj1 = 0 ;
18792 char *kwnames[] = {
18793 (char *) "self",(char *) "dc", NULL
18794 };
18795
18796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18798 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18799 {
18800 PyThreadState* __tstate = wxPyBeginAllowThreads();
18801 (arg1)->SetDC(arg2);
18802
18803 wxPyEndAllowThreads(__tstate);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 }
18806 Py_INCREF(Py_None); resultobj = Py_None;
18807 return resultobj;
18808 fail:
18809 return NULL;
18810 }
18811
18812
18813 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18814 PyObject *resultobj;
18815 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18816 int arg2 ;
18817 int arg3 ;
18818 PyObject * obj0 = 0 ;
18819 char *kwnames[] = {
18820 (char *) "self",(char *) "w",(char *) "h", NULL
18821 };
18822
18823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18825 {
18826 PyThreadState* __tstate = wxPyBeginAllowThreads();
18827 (arg1)->SetPageSizePixels(arg2,arg3);
18828
18829 wxPyEndAllowThreads(__tstate);
18830 if (PyErr_Occurred()) SWIG_fail;
18831 }
18832 Py_INCREF(Py_None); resultobj = Py_None;
18833 return resultobj;
18834 fail:
18835 return NULL;
18836 }
18837
18838
18839 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18840 PyObject *resultobj;
18841 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18842 int *arg2 = (int *) 0 ;
18843 int *arg3 = (int *) 0 ;
18844 int temp2 ;
18845 int temp3 ;
18846 PyObject * obj0 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "self", NULL
18849 };
18850
18851 arg2 = &temp2;
18852 arg3 = &temp3;
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18855 {
18856 PyThreadState* __tstate = wxPyBeginAllowThreads();
18857 (arg1)->GetPageSizePixels(arg2,arg3);
18858
18859 wxPyEndAllowThreads(__tstate);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 Py_INCREF(Py_None); resultobj = Py_None;
18863 {
18864 PyObject *o = PyInt_FromLong((long) (*arg2));
18865 resultobj = t_output_helper(resultobj,o);
18866 }
18867 {
18868 PyObject *o = PyInt_FromLong((long) (*arg3));
18869 resultobj = t_output_helper(resultobj,o);
18870 }
18871 return resultobj;
18872 fail:
18873 return NULL;
18874 }
18875
18876
18877 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18878 PyObject *resultobj;
18879 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18880 int arg2 ;
18881 int arg3 ;
18882 PyObject * obj0 = 0 ;
18883 char *kwnames[] = {
18884 (char *) "self",(char *) "w",(char *) "h", NULL
18885 };
18886
18887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18889 {
18890 PyThreadState* __tstate = wxPyBeginAllowThreads();
18891 (arg1)->SetPageSizeMM(arg2,arg3);
18892
18893 wxPyEndAllowThreads(__tstate);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
18896 Py_INCREF(Py_None); resultobj = Py_None;
18897 return resultobj;
18898 fail:
18899 return NULL;
18900 }
18901
18902
18903 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj;
18905 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18906 int *arg2 = (int *) 0 ;
18907 int *arg3 = (int *) 0 ;
18908 int temp2 ;
18909 int temp3 ;
18910 PyObject * obj0 = 0 ;
18911 char *kwnames[] = {
18912 (char *) "self", NULL
18913 };
18914
18915 arg2 = &temp2;
18916 arg3 = &temp3;
18917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18919 {
18920 PyThreadState* __tstate = wxPyBeginAllowThreads();
18921 (arg1)->GetPageSizeMM(arg2,arg3);
18922
18923 wxPyEndAllowThreads(__tstate);
18924 if (PyErr_Occurred()) SWIG_fail;
18925 }
18926 Py_INCREF(Py_None); resultobj = Py_None;
18927 {
18928 PyObject *o = PyInt_FromLong((long) (*arg2));
18929 resultobj = t_output_helper(resultobj,o);
18930 }
18931 {
18932 PyObject *o = PyInt_FromLong((long) (*arg3));
18933 resultobj = t_output_helper(resultobj,o);
18934 }
18935 return resultobj;
18936 fail:
18937 return NULL;
18938 }
18939
18940
18941 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18942 PyObject *resultobj;
18943 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18944 int arg2 ;
18945 int arg3 ;
18946 PyObject * obj0 = 0 ;
18947 char *kwnames[] = {
18948 (char *) "self",(char *) "x",(char *) "y", NULL
18949 };
18950
18951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 (arg1)->SetPPIScreen(arg2,arg3);
18956
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 Py_INCREF(Py_None); resultobj = Py_None;
18961 return resultobj;
18962 fail:
18963 return NULL;
18964 }
18965
18966
18967 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18968 PyObject *resultobj;
18969 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18970 int *arg2 = (int *) 0 ;
18971 int *arg3 = (int *) 0 ;
18972 int temp2 ;
18973 int temp3 ;
18974 PyObject * obj0 = 0 ;
18975 char *kwnames[] = {
18976 (char *) "self", NULL
18977 };
18978
18979 arg2 = &temp2;
18980 arg3 = &temp3;
18981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18983 {
18984 PyThreadState* __tstate = wxPyBeginAllowThreads();
18985 (arg1)->GetPPIScreen(arg2,arg3);
18986
18987 wxPyEndAllowThreads(__tstate);
18988 if (PyErr_Occurred()) SWIG_fail;
18989 }
18990 Py_INCREF(Py_None); resultobj = Py_None;
18991 {
18992 PyObject *o = PyInt_FromLong((long) (*arg2));
18993 resultobj = t_output_helper(resultobj,o);
18994 }
18995 {
18996 PyObject *o = PyInt_FromLong((long) (*arg3));
18997 resultobj = t_output_helper(resultobj,o);
18998 }
18999 return resultobj;
19000 fail:
19001 return NULL;
19002 }
19003
19004
19005 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19006 PyObject *resultobj;
19007 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19008 int arg2 ;
19009 int arg3 ;
19010 PyObject * obj0 = 0 ;
19011 char *kwnames[] = {
19012 (char *) "self",(char *) "x",(char *) "y", NULL
19013 };
19014
19015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
19016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19017 {
19018 PyThreadState* __tstate = wxPyBeginAllowThreads();
19019 (arg1)->SetPPIPrinter(arg2,arg3);
19020
19021 wxPyEndAllowThreads(__tstate);
19022 if (PyErr_Occurred()) SWIG_fail;
19023 }
19024 Py_INCREF(Py_None); resultobj = Py_None;
19025 return resultobj;
19026 fail:
19027 return NULL;
19028 }
19029
19030
19031 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19032 PyObject *resultobj;
19033 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19034 int *arg2 = (int *) 0 ;
19035 int *arg3 = (int *) 0 ;
19036 int temp2 ;
19037 int temp3 ;
19038 PyObject * obj0 = 0 ;
19039 char *kwnames[] = {
19040 (char *) "self", NULL
19041 };
19042
19043 arg2 = &temp2;
19044 arg3 = &temp3;
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
19046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19047 {
19048 PyThreadState* __tstate = wxPyBeginAllowThreads();
19049 (arg1)->GetPPIPrinter(arg2,arg3);
19050
19051 wxPyEndAllowThreads(__tstate);
19052 if (PyErr_Occurred()) SWIG_fail;
19053 }
19054 Py_INCREF(Py_None); resultobj = Py_None;
19055 {
19056 PyObject *o = PyInt_FromLong((long) (*arg2));
19057 resultobj = t_output_helper(resultobj,o);
19058 }
19059 {
19060 PyObject *o = PyInt_FromLong((long) (*arg3));
19061 resultobj = t_output_helper(resultobj,o);
19062 }
19063 return resultobj;
19064 fail:
19065 return NULL;
19066 }
19067
19068
19069 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19070 PyObject *resultobj;
19071 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19072 bool result;
19073 PyObject * obj0 = 0 ;
19074 char *kwnames[] = {
19075 (char *) "self", NULL
19076 };
19077
19078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
19079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19080 {
19081 PyThreadState* __tstate = wxPyBeginAllowThreads();
19082 result = (bool)(arg1)->IsPreview();
19083
19084 wxPyEndAllowThreads(__tstate);
19085 if (PyErr_Occurred()) SWIG_fail;
19086 }
19087 resultobj = PyInt_FromLong((long)result);
19088 return resultobj;
19089 fail:
19090 return NULL;
19091 }
19092
19093
19094 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19095 PyObject *resultobj;
19096 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19097 bool arg2 ;
19098 PyObject * obj0 = 0 ;
19099 PyObject * obj1 = 0 ;
19100 char *kwnames[] = {
19101 (char *) "self",(char *) "p", NULL
19102 };
19103
19104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
19105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19106 {
19107 arg2 = (bool) SPyObj_AsBool(obj1);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 (arg1)->SetIsPreview(arg2);
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 Py_INCREF(Py_None); resultobj = Py_None;
19118 return resultobj;
19119 fail:
19120 return NULL;
19121 }
19122
19123
19124 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
19125 PyObject *resultobj;
19126 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19127 int arg2 ;
19128 int arg3 ;
19129 bool result;
19130 PyObject * obj0 = 0 ;
19131 char *kwnames[] = {
19132 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
19133 };
19134
19135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
19136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19137 {
19138 PyThreadState* __tstate = wxPyBeginAllowThreads();
19139 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
19140
19141 wxPyEndAllowThreads(__tstate);
19142 if (PyErr_Occurred()) SWIG_fail;
19143 }
19144 resultobj = PyInt_FromLong((long)result);
19145 return resultobj;
19146 fail:
19147 return NULL;
19148 }
19149
19150
19151 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
19152 PyObject *resultobj;
19153 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19154 PyObject * obj0 = 0 ;
19155 char *kwnames[] = {
19156 (char *) "self", NULL
19157 };
19158
19159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
19160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19161 {
19162 PyThreadState* __tstate = wxPyBeginAllowThreads();
19163 (arg1)->base_OnEndDocument();
19164
19165 wxPyEndAllowThreads(__tstate);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
19168 Py_INCREF(Py_None); resultobj = Py_None;
19169 return resultobj;
19170 fail:
19171 return NULL;
19172 }
19173
19174
19175 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19176 PyObject *resultobj;
19177 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19178 PyObject * obj0 = 0 ;
19179 char *kwnames[] = {
19180 (char *) "self", NULL
19181 };
19182
19183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
19184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19185 {
19186 PyThreadState* __tstate = wxPyBeginAllowThreads();
19187 (arg1)->base_OnBeginPrinting();
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_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj;
19201 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19202 PyObject * obj0 = 0 ;
19203 char *kwnames[] = {
19204 (char *) "self", NULL
19205 };
19206
19207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
19208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 (arg1)->base_OnEndPrinting();
19212
19213 wxPyEndAllowThreads(__tstate);
19214 if (PyErr_Occurred()) SWIG_fail;
19215 }
19216 Py_INCREF(Py_None); resultobj = Py_None;
19217 return resultobj;
19218 fail:
19219 return NULL;
19220 }
19221
19222
19223 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19224 PyObject *resultobj;
19225 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19226 PyObject * obj0 = 0 ;
19227 char *kwnames[] = {
19228 (char *) "self", NULL
19229 };
19230
19231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
19232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19233 {
19234 PyThreadState* __tstate = wxPyBeginAllowThreads();
19235 (arg1)->base_OnPreparePrinting();
19236
19237 wxPyEndAllowThreads(__tstate);
19238 if (PyErr_Occurred()) SWIG_fail;
19239 }
19240 Py_INCREF(Py_None); resultobj = Py_None;
19241 return resultobj;
19242 fail:
19243 return NULL;
19244 }
19245
19246
19247 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19248 PyObject *resultobj;
19249 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19250 int arg2 ;
19251 bool result;
19252 PyObject * obj0 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "self",(char *) "page", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
19258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19259 {
19260 PyThreadState* __tstate = wxPyBeginAllowThreads();
19261 result = (bool)(arg1)->base_HasPage(arg2);
19262
19263 wxPyEndAllowThreads(__tstate);
19264 if (PyErr_Occurred()) SWIG_fail;
19265 }
19266 resultobj = PyInt_FromLong((long)result);
19267 return resultobj;
19268 fail:
19269 return NULL;
19270 }
19271
19272
19273 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19274 PyObject *resultobj;
19275 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19276 int *arg2 = (int *) 0 ;
19277 int *arg3 = (int *) 0 ;
19278 int *arg4 = (int *) 0 ;
19279 int *arg5 = (int *) 0 ;
19280 int temp2 ;
19281 int temp3 ;
19282 int temp4 ;
19283 int temp5 ;
19284 PyObject * obj0 = 0 ;
19285 char *kwnames[] = {
19286 (char *) "self", NULL
19287 };
19288
19289 arg2 = &temp2;
19290 arg3 = &temp3;
19291 arg4 = &temp4;
19292 arg5 = &temp5;
19293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
19294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19295 {
19296 PyThreadState* __tstate = wxPyBeginAllowThreads();
19297 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
19298
19299 wxPyEndAllowThreads(__tstate);
19300 if (PyErr_Occurred()) SWIG_fail;
19301 }
19302 Py_INCREF(Py_None); resultobj = Py_None;
19303 {
19304 PyObject *o = PyInt_FromLong((long) (*arg2));
19305 resultobj = t_output_helper(resultobj,o);
19306 }
19307 {
19308 PyObject *o = PyInt_FromLong((long) (*arg3));
19309 resultobj = t_output_helper(resultobj,o);
19310 }
19311 {
19312 PyObject *o = PyInt_FromLong((long) (*arg4));
19313 resultobj = t_output_helper(resultobj,o);
19314 }
19315 {
19316 PyObject *o = PyInt_FromLong((long) (*arg5));
19317 resultobj = t_output_helper(resultobj,o);
19318 }
19319 return resultobj;
19320 fail:
19321 return NULL;
19322 }
19323
19324
19325 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
19326 PyObject *obj;
19327 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19328 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
19329 Py_INCREF(obj);
19330 return Py_BuildValue((char *)"");
19331 }
19332 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj;
19334 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19335 wxWindow *arg2 = (wxWindow *) 0 ;
19336 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19337 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19338 wxSize const &arg4_defvalue = wxDefaultSize ;
19339 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19340 long arg5 = (long) 0 ;
19341 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
19342 wxString *arg6 = (wxString *) &arg6_defvalue ;
19343 wxPreviewCanvas *result;
19344 wxPoint temp3 ;
19345 wxSize temp4 ;
19346 bool temp6 = False ;
19347 PyObject * obj0 = 0 ;
19348 PyObject * obj1 = 0 ;
19349 PyObject * obj2 = 0 ;
19350 PyObject * obj3 = 0 ;
19351 PyObject * obj5 = 0 ;
19352 char *kwnames[] = {
19353 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19354 };
19355
19356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
19357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19359 if (obj2) {
19360 {
19361 arg3 = &temp3;
19362 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19363 }
19364 }
19365 if (obj3) {
19366 {
19367 arg4 = &temp4;
19368 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19369 }
19370 }
19371 if (obj5) {
19372 {
19373 arg6 = wxString_in_helper(obj5);
19374 if (arg6 == NULL) SWIG_fail;
19375 temp6 = True;
19376 }
19377 }
19378 {
19379 PyThreadState* __tstate = wxPyBeginAllowThreads();
19380 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19381
19382 wxPyEndAllowThreads(__tstate);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 }
19385 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
19386 {
19387 if (temp6)
19388 delete arg6;
19389 }
19390 return resultobj;
19391 fail:
19392 {
19393 if (temp6)
19394 delete arg6;
19395 }
19396 return NULL;
19397 }
19398
19399
19400 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
19401 PyObject *obj;
19402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19403 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
19404 Py_INCREF(obj);
19405 return Py_BuildValue((char *)"");
19406 }
19407 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19408 PyObject *resultobj;
19409 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19410 wxFrame *arg2 = (wxFrame *) 0 ;
19411 wxString *arg3 = 0 ;
19412 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19413 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19414 wxSize const &arg5_defvalue = wxDefaultSize ;
19415 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19416 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19417 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19418 wxString *arg7 = (wxString *) &arg7_defvalue ;
19419 wxPreviewFrame *result;
19420 bool temp3 = False ;
19421 wxPoint temp4 ;
19422 wxSize temp5 ;
19423 bool temp7 = False ;
19424 PyObject * obj0 = 0 ;
19425 PyObject * obj1 = 0 ;
19426 PyObject * obj2 = 0 ;
19427 PyObject * obj3 = 0 ;
19428 PyObject * obj4 = 0 ;
19429 PyObject * obj6 = 0 ;
19430 char *kwnames[] = {
19431 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19432 };
19433
19434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19436 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19437 {
19438 arg3 = wxString_in_helper(obj2);
19439 if (arg3 == NULL) SWIG_fail;
19440 temp3 = True;
19441 }
19442 if (obj3) {
19443 {
19444 arg4 = &temp4;
19445 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19446 }
19447 }
19448 if (obj4) {
19449 {
19450 arg5 = &temp5;
19451 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19452 }
19453 }
19454 if (obj6) {
19455 {
19456 arg7 = wxString_in_helper(obj6);
19457 if (arg7 == NULL) SWIG_fail;
19458 temp7 = True;
19459 }
19460 }
19461 {
19462 PyThreadState* __tstate = wxPyBeginAllowThreads();
19463 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19464
19465 wxPyEndAllowThreads(__tstate);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
19468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19469 {
19470 if (temp3)
19471 delete arg3;
19472 }
19473 {
19474 if (temp7)
19475 delete arg7;
19476 }
19477 return resultobj;
19478 fail:
19479 {
19480 if (temp3)
19481 delete arg3;
19482 }
19483 {
19484 if (temp7)
19485 delete arg7;
19486 }
19487 return NULL;
19488 }
19489
19490
19491 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19494 PyObject * obj0 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19501 {
19502 PyThreadState* __tstate = wxPyBeginAllowThreads();
19503 (arg1)->Initialize();
19504
19505 wxPyEndAllowThreads(__tstate);
19506 if (PyErr_Occurred()) SWIG_fail;
19507 }
19508 Py_INCREF(Py_None); resultobj = Py_None;
19509 return resultobj;
19510 fail:
19511 return NULL;
19512 }
19513
19514
19515 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19516 PyObject *resultobj;
19517 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19518 PyObject * obj0 = 0 ;
19519 char *kwnames[] = {
19520 (char *) "self", NULL
19521 };
19522
19523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19525 {
19526 PyThreadState* __tstate = wxPyBeginAllowThreads();
19527 (arg1)->CreateControlBar();
19528
19529 wxPyEndAllowThreads(__tstate);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 Py_INCREF(Py_None); resultobj = Py_None;
19533 return resultobj;
19534 fail:
19535 return NULL;
19536 }
19537
19538
19539 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj;
19541 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19542 PyObject * obj0 = 0 ;
19543 char *kwnames[] = {
19544 (char *) "self", NULL
19545 };
19546
19547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19549 {
19550 PyThreadState* __tstate = wxPyBeginAllowThreads();
19551 (arg1)->CreateCanvas();
19552
19553 wxPyEndAllowThreads(__tstate);
19554 if (PyErr_Occurred()) SWIG_fail;
19555 }
19556 Py_INCREF(Py_None); resultobj = Py_None;
19557 return resultobj;
19558 fail:
19559 return NULL;
19560 }
19561
19562
19563 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19564 PyObject *resultobj;
19565 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19566 wxPreviewControlBar *result;
19567 PyObject * obj0 = 0 ;
19568 char *kwnames[] = {
19569 (char *) "self", NULL
19570 };
19571
19572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19574 {
19575 PyThreadState* __tstate = wxPyBeginAllowThreads();
19576 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19577
19578 wxPyEndAllowThreads(__tstate);
19579 if (PyErr_Occurred()) SWIG_fail;
19580 }
19581 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19582 return resultobj;
19583 fail:
19584 return NULL;
19585 }
19586
19587
19588 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19589 PyObject *obj;
19590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19591 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19592 Py_INCREF(obj);
19593 return Py_BuildValue((char *)"");
19594 }
19595 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19596 PyObject *resultobj;
19597 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19598 long arg2 ;
19599 wxWindow *arg3 = (wxWindow *) 0 ;
19600 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19601 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19602 wxSize const &arg5_defvalue = wxDefaultSize ;
19603 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19604 long arg6 = (long) wxTAB_TRAVERSAL ;
19605 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19606 wxString *arg7 = (wxString *) &arg7_defvalue ;
19607 wxPreviewControlBar *result;
19608 wxPoint temp4 ;
19609 wxSize temp5 ;
19610 bool temp7 = False ;
19611 PyObject * obj0 = 0 ;
19612 PyObject * obj2 = 0 ;
19613 PyObject * obj3 = 0 ;
19614 PyObject * obj4 = 0 ;
19615 PyObject * obj6 = 0 ;
19616 char *kwnames[] = {
19617 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19618 };
19619
19620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19622 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19623 if (obj3) {
19624 {
19625 arg4 = &temp4;
19626 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19627 }
19628 }
19629 if (obj4) {
19630 {
19631 arg5 = &temp5;
19632 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19633 }
19634 }
19635 if (obj6) {
19636 {
19637 arg7 = wxString_in_helper(obj6);
19638 if (arg7 == NULL) SWIG_fail;
19639 temp7 = True;
19640 }
19641 }
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19650 {
19651 if (temp7)
19652 delete arg7;
19653 }
19654 return resultobj;
19655 fail:
19656 {
19657 if (temp7)
19658 delete arg7;
19659 }
19660 return NULL;
19661 }
19662
19663
19664 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19665 PyObject *resultobj;
19666 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19667 int result;
19668 PyObject * obj0 = 0 ;
19669 char *kwnames[] = {
19670 (char *) "self", NULL
19671 };
19672
19673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 result = (int)(arg1)->GetZoomControl();
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 resultobj = PyInt_FromLong((long)result);
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19692 int arg2 ;
19693 PyObject * obj0 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self",(char *) "zoom", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 (arg1)->SetZoomControl(arg2);
19703
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 Py_INCREF(Py_None); resultobj = Py_None;
19708 return resultobj;
19709 fail:
19710 return NULL;
19711 }
19712
19713
19714 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19715 PyObject *resultobj;
19716 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19717 wxPrintPreview *result;
19718 PyObject * obj0 = 0 ;
19719 char *kwnames[] = {
19720 (char *) "self", NULL
19721 };
19722
19723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19728
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19733 return resultobj;
19734 fail:
19735 return NULL;
19736 }
19737
19738
19739 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19740 PyObject *resultobj;
19741 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19742 PyObject * obj0 = 0 ;
19743 char *kwnames[] = {
19744 (char *) "self", NULL
19745 };
19746
19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19749 {
19750 PyThreadState* __tstate = wxPyBeginAllowThreads();
19751 (arg1)->OnNext();
19752
19753 wxPyEndAllowThreads(__tstate);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 }
19756 Py_INCREF(Py_None); resultobj = Py_None;
19757 return resultobj;
19758 fail:
19759 return NULL;
19760 }
19761
19762
19763 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19764 PyObject *resultobj;
19765 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19766 PyObject * obj0 = 0 ;
19767 char *kwnames[] = {
19768 (char *) "self", NULL
19769 };
19770
19771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19773 {
19774 PyThreadState* __tstate = wxPyBeginAllowThreads();
19775 (arg1)->OnPrevious();
19776
19777 wxPyEndAllowThreads(__tstate);
19778 if (PyErr_Occurred()) SWIG_fail;
19779 }
19780 Py_INCREF(Py_None); resultobj = Py_None;
19781 return resultobj;
19782 fail:
19783 return NULL;
19784 }
19785
19786
19787 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19788 PyObject *resultobj;
19789 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19790 PyObject * obj0 = 0 ;
19791 char *kwnames[] = {
19792 (char *) "self", NULL
19793 };
19794
19795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19797 {
19798 PyThreadState* __tstate = wxPyBeginAllowThreads();
19799 (arg1)->OnFirst();
19800
19801 wxPyEndAllowThreads(__tstate);
19802 if (PyErr_Occurred()) SWIG_fail;
19803 }
19804 Py_INCREF(Py_None); resultobj = Py_None;
19805 return resultobj;
19806 fail:
19807 return NULL;
19808 }
19809
19810
19811 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19812 PyObject *resultobj;
19813 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19814 PyObject * obj0 = 0 ;
19815 char *kwnames[] = {
19816 (char *) "self", NULL
19817 };
19818
19819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19821 {
19822 PyThreadState* __tstate = wxPyBeginAllowThreads();
19823 (arg1)->OnLast();
19824
19825 wxPyEndAllowThreads(__tstate);
19826 if (PyErr_Occurred()) SWIG_fail;
19827 }
19828 Py_INCREF(Py_None); resultobj = Py_None;
19829 return resultobj;
19830 fail:
19831 return NULL;
19832 }
19833
19834
19835 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19836 PyObject *resultobj;
19837 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19838 PyObject * obj0 = 0 ;
19839 char *kwnames[] = {
19840 (char *) "self", NULL
19841 };
19842
19843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19845 {
19846 PyThreadState* __tstate = wxPyBeginAllowThreads();
19847 (arg1)->OnGoto();
19848
19849 wxPyEndAllowThreads(__tstate);
19850 if (PyErr_Occurred()) SWIG_fail;
19851 }
19852 Py_INCREF(Py_None); resultobj = Py_None;
19853 return resultobj;
19854 fail:
19855 return NULL;
19856 }
19857
19858
19859 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19860 PyObject *obj;
19861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19862 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19863 Py_INCREF(obj);
19864 return Py_BuildValue((char *)"");
19865 }
19866 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19867 PyObject *resultobj;
19868 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19869 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19870 wxPrintData *arg3 = (wxPrintData *) NULL ;
19871 wxPrintPreview *result;
19872 PyObject * obj0 = 0 ;
19873 PyObject * obj1 = 0 ;
19874 PyObject * obj2 = 0 ;
19875 char *kwnames[] = {
19876 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19877 };
19878
19879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19882 if (obj2) {
19883 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19884 }
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
19887 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19888
19889 wxPyEndAllowThreads(__tstate);
19890 if (PyErr_Occurred()) SWIG_fail;
19891 }
19892 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19893 return resultobj;
19894 fail:
19895 return NULL;
19896 }
19897
19898
19899 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19900 PyObject *resultobj;
19901 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19902 int arg2 ;
19903 bool result;
19904 PyObject * obj0 = 0 ;
19905 char *kwnames[] = {
19906 (char *) "self",(char *) "pageNum", NULL
19907 };
19908
19909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 result = (bool)(arg1)->SetCurrentPage(arg2);
19914
19915 wxPyEndAllowThreads(__tstate);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
19918 resultobj = PyInt_FromLong((long)result);
19919 return resultobj;
19920 fail:
19921 return NULL;
19922 }
19923
19924
19925 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj;
19927 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19928 int result;
19929 PyObject * obj0 = 0 ;
19930 char *kwnames[] = {
19931 (char *) "self", NULL
19932 };
19933
19934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19936 {
19937 PyThreadState* __tstate = wxPyBeginAllowThreads();
19938 result = (int)(arg1)->GetCurrentPage();
19939
19940 wxPyEndAllowThreads(__tstate);
19941 if (PyErr_Occurred()) SWIG_fail;
19942 }
19943 resultobj = PyInt_FromLong((long)result);
19944 return resultobj;
19945 fail:
19946 return NULL;
19947 }
19948
19949
19950 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19951 PyObject *resultobj;
19952 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19953 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19954 PyObject * obj0 = 0 ;
19955 PyObject * obj1 = 0 ;
19956 char *kwnames[] = {
19957 (char *) "self",(char *) "printout", NULL
19958 };
19959
19960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19963 {
19964 PyThreadState* __tstate = wxPyBeginAllowThreads();
19965 (arg1)->SetPrintout(arg2);
19966
19967 wxPyEndAllowThreads(__tstate);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
19970 Py_INCREF(Py_None); resultobj = Py_None;
19971 return resultobj;
19972 fail:
19973 return NULL;
19974 }
19975
19976
19977 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19978 PyObject *resultobj;
19979 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19980 wxPyPrintout *result;
19981 PyObject * obj0 = 0 ;
19982 char *kwnames[] = {
19983 (char *) "self", NULL
19984 };
19985
19986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19988 {
19989 PyThreadState* __tstate = wxPyBeginAllowThreads();
19990 result = (wxPyPrintout *)(arg1)->GetPrintout();
19991
19992 wxPyEndAllowThreads(__tstate);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 }
19995 {
19996 resultobj = wxPyMake_wxObject(result);
19997 }
19998 return resultobj;
19999 fail:
20000 return NULL;
20001 }
20002
20003
20004 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20005 PyObject *resultobj;
20006 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20007 wxPyPrintout *result;
20008 PyObject * obj0 = 0 ;
20009 char *kwnames[] = {
20010 (char *) "self", NULL
20011 };
20012
20013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
20014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20015 {
20016 PyThreadState* __tstate = wxPyBeginAllowThreads();
20017 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
20018
20019 wxPyEndAllowThreads(__tstate);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
20022 {
20023 resultobj = wxPyMake_wxObject(result);
20024 }
20025 return resultobj;
20026 fail:
20027 return NULL;
20028 }
20029
20030
20031 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20032 PyObject *resultobj;
20033 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20034 wxFrame *arg2 = (wxFrame *) 0 ;
20035 PyObject * obj0 = 0 ;
20036 PyObject * obj1 = 0 ;
20037 char *kwnames[] = {
20038 (char *) "self",(char *) "frame", NULL
20039 };
20040
20041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
20042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20043 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 (arg1)->SetFrame(arg2);
20047
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 Py_INCREF(Py_None); resultobj = Py_None;
20052 return resultobj;
20053 fail:
20054 return NULL;
20055 }
20056
20057
20058 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj;
20060 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20061 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20062 PyObject * obj0 = 0 ;
20063 PyObject * obj1 = 0 ;
20064 char *kwnames[] = {
20065 (char *) "self",(char *) "canvas", NULL
20066 };
20067
20068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
20069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20070 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20071 {
20072 PyThreadState* __tstate = wxPyBeginAllowThreads();
20073 (arg1)->SetCanvas(arg2);
20074
20075 wxPyEndAllowThreads(__tstate);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 }
20078 Py_INCREF(Py_None); resultobj = Py_None;
20079 return resultobj;
20080 fail:
20081 return NULL;
20082 }
20083
20084
20085 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20086 PyObject *resultobj;
20087 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20088 wxFrame *result;
20089 PyObject * obj0 = 0 ;
20090 char *kwnames[] = {
20091 (char *) "self", NULL
20092 };
20093
20094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
20095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20096 {
20097 PyThreadState* __tstate = wxPyBeginAllowThreads();
20098 result = (wxFrame *)(arg1)->GetFrame();
20099
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 {
20104 resultobj = wxPyMake_wxObject(result);
20105 }
20106 return resultobj;
20107 fail:
20108 return NULL;
20109 }
20110
20111
20112 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20113 PyObject *resultobj;
20114 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20115 wxPreviewCanvas *result;
20116 PyObject * obj0 = 0 ;
20117 char *kwnames[] = {
20118 (char *) "self", NULL
20119 };
20120
20121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
20122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
20126
20127 wxPyEndAllowThreads(__tstate);
20128 if (PyErr_Occurred()) SWIG_fail;
20129 }
20130 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
20131 return resultobj;
20132 fail:
20133 return NULL;
20134 }
20135
20136
20137 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20138 PyObject *resultobj;
20139 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20140 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20141 wxDC *arg3 = 0 ;
20142 bool result;
20143 PyObject * obj0 = 0 ;
20144 PyObject * obj1 = 0 ;
20145 PyObject * obj2 = 0 ;
20146 char *kwnames[] = {
20147 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20148 };
20149
20150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20153 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20154 if (arg3 == NULL) {
20155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20156 }
20157 {
20158 PyThreadState* __tstate = wxPyBeginAllowThreads();
20159 result = (bool)(arg1)->PaintPage(arg2,*arg3);
20160
20161 wxPyEndAllowThreads(__tstate);
20162 if (PyErr_Occurred()) SWIG_fail;
20163 }
20164 resultobj = PyInt_FromLong((long)result);
20165 return resultobj;
20166 fail:
20167 return NULL;
20168 }
20169
20170
20171 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20172 PyObject *resultobj;
20173 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20174 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20175 wxDC *arg3 = 0 ;
20176 bool result;
20177 PyObject * obj0 = 0 ;
20178 PyObject * obj1 = 0 ;
20179 PyObject * obj2 = 0 ;
20180 char *kwnames[] = {
20181 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20182 };
20183
20184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20186 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20187 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20188 if (arg3 == NULL) {
20189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20190 }
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 resultobj = PyInt_FromLong((long)result);
20199 return resultobj;
20200 fail:
20201 return NULL;
20202 }
20203
20204
20205 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20208 int arg2 ;
20209 bool result;
20210 PyObject * obj0 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self",(char *) "pageNum", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 result = (bool)(arg1)->RenderPage(arg2);
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
20224 resultobj = PyInt_FromLong((long)result);
20225 return resultobj;
20226 fail:
20227 return NULL;
20228 }
20229
20230
20231 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj;
20233 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20234 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20235 PyObject * obj0 = 0 ;
20236 PyObject * obj1 = 0 ;
20237 char *kwnames[] = {
20238 (char *) "self",(char *) "canvas", NULL
20239 };
20240
20241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
20242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20244 {
20245 PyThreadState* __tstate = wxPyBeginAllowThreads();
20246 (arg1)->AdjustScrollbars(arg2);
20247
20248 wxPyEndAllowThreads(__tstate);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 }
20251 Py_INCREF(Py_None); resultobj = Py_None;
20252 return resultobj;
20253 fail:
20254 return NULL;
20255 }
20256
20257
20258 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20259 PyObject *resultobj;
20260 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20261 wxPrintDialogData *result;
20262 PyObject * obj0 = 0 ;
20263 char *kwnames[] = {
20264 (char *) "self", NULL
20265 };
20266
20267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
20268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20269 {
20270 PyThreadState* __tstate = wxPyBeginAllowThreads();
20271 {
20272 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20273 result = (wxPrintDialogData *) &_result_ref;
20274 }
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
20280 return resultobj;
20281 fail:
20282 return NULL;
20283 }
20284
20285
20286 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20287 PyObject *resultobj;
20288 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20289 int arg2 ;
20290 PyObject * obj0 = 0 ;
20291 char *kwnames[] = {
20292 (char *) "self",(char *) "percent", NULL
20293 };
20294
20295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20297 {
20298 PyThreadState* __tstate = wxPyBeginAllowThreads();
20299 (arg1)->SetZoom(arg2);
20300
20301 wxPyEndAllowThreads(__tstate);
20302 if (PyErr_Occurred()) SWIG_fail;
20303 }
20304 Py_INCREF(Py_None); resultobj = Py_None;
20305 return resultobj;
20306 fail:
20307 return NULL;
20308 }
20309
20310
20311 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20312 PyObject *resultobj;
20313 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20314 int result;
20315 PyObject * obj0 = 0 ;
20316 char *kwnames[] = {
20317 (char *) "self", NULL
20318 };
20319
20320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
20321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20322 {
20323 PyThreadState* __tstate = wxPyBeginAllowThreads();
20324 result = (int)(arg1)->GetZoom();
20325
20326 wxPyEndAllowThreads(__tstate);
20327 if (PyErr_Occurred()) SWIG_fail;
20328 }
20329 resultobj = PyInt_FromLong((long)result);
20330 return resultobj;
20331 fail:
20332 return NULL;
20333 }
20334
20335
20336 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20337 PyObject *resultobj;
20338 wxPrintPreview *arg1 = (wxPrintPreview *) 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:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
20346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20347 {
20348 PyThreadState* __tstate = wxPyBeginAllowThreads();
20349 result = (int)(arg1)->GetMaxPage();
20350
20351 wxPyEndAllowThreads(__tstate);
20352 if (PyErr_Occurred()) SWIG_fail;
20353 }
20354 resultobj = PyInt_FromLong((long)result);
20355 return resultobj;
20356 fail:
20357 return NULL;
20358 }
20359
20360
20361 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20362 PyObject *resultobj;
20363 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20364 int result;
20365 PyObject * obj0 = 0 ;
20366 char *kwnames[] = {
20367 (char *) "self", NULL
20368 };
20369
20370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
20371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20372 {
20373 PyThreadState* __tstate = wxPyBeginAllowThreads();
20374 result = (int)(arg1)->GetMinPage();
20375
20376 wxPyEndAllowThreads(__tstate);
20377 if (PyErr_Occurred()) SWIG_fail;
20378 }
20379 resultobj = PyInt_FromLong((long)result);
20380 return resultobj;
20381 fail:
20382 return NULL;
20383 }
20384
20385
20386 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20387 PyObject *resultobj;
20388 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20389 bool result;
20390 PyObject * obj0 = 0 ;
20391 char *kwnames[] = {
20392 (char *) "self", NULL
20393 };
20394
20395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
20396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20397 {
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 result = (bool)(arg1)->Ok();
20400
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 resultobj = PyInt_FromLong((long)result);
20405 return resultobj;
20406 fail:
20407 return NULL;
20408 }
20409
20410
20411 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20412 PyObject *resultobj;
20413 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20414 bool arg2 ;
20415 PyObject * obj0 = 0 ;
20416 PyObject * obj1 = 0 ;
20417 char *kwnames[] = {
20418 (char *) "self",(char *) "ok", NULL
20419 };
20420
20421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
20422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20423 {
20424 arg2 = (bool) SPyObj_AsBool(obj1);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 (arg1)->SetOk(arg2);
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 Py_INCREF(Py_None); resultobj = Py_None;
20435 return resultobj;
20436 fail:
20437 return NULL;
20438 }
20439
20440
20441 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20442 PyObject *resultobj;
20443 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20444 bool arg2 ;
20445 bool result;
20446 PyObject * obj0 = 0 ;
20447 PyObject * obj1 = 0 ;
20448 char *kwnames[] = {
20449 (char *) "self",(char *) "interactive", NULL
20450 };
20451
20452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20454 {
20455 arg2 = (bool) SPyObj_AsBool(obj1);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
20458 {
20459 PyThreadState* __tstate = wxPyBeginAllowThreads();
20460 result = (bool)(arg1)->Print(arg2);
20461
20462 wxPyEndAllowThreads(__tstate);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 }
20465 resultobj = PyInt_FromLong((long)result);
20466 return resultobj;
20467 fail:
20468 return NULL;
20469 }
20470
20471
20472 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20473 PyObject *resultobj;
20474 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20475 PyObject * obj0 = 0 ;
20476 char *kwnames[] = {
20477 (char *) "self", NULL
20478 };
20479
20480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20482 {
20483 PyThreadState* __tstate = wxPyBeginAllowThreads();
20484 (arg1)->DetermineScaling();
20485
20486 wxPyEndAllowThreads(__tstate);
20487 if (PyErr_Occurred()) SWIG_fail;
20488 }
20489 Py_INCREF(Py_None); resultobj = Py_None;
20490 return resultobj;
20491 fail:
20492 return NULL;
20493 }
20494
20495
20496 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20497 PyObject *obj;
20498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20499 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20500 Py_INCREF(obj);
20501 return Py_BuildValue((char *)"");
20502 }
20503 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20504 PyObject *resultobj;
20505 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20506 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20507 wxPrintData *arg3 = (wxPrintData *) NULL ;
20508 wxPyPrintPreview *result;
20509 PyObject * obj0 = 0 ;
20510 PyObject * obj1 = 0 ;
20511 PyObject * obj2 = 0 ;
20512 char *kwnames[] = {
20513 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20514 };
20515
20516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20518 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20519 if (obj2) {
20520 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20521 }
20522 {
20523 PyThreadState* __tstate = wxPyBeginAllowThreads();
20524 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20525
20526 wxPyEndAllowThreads(__tstate);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 }
20529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20530 return resultobj;
20531 fail:
20532 return NULL;
20533 }
20534
20535
20536 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20537 PyObject *resultobj;
20538 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20539 PyObject *arg2 = (PyObject *) 0 ;
20540 PyObject *arg3 = (PyObject *) 0 ;
20541 PyObject * obj0 = 0 ;
20542 PyObject * obj1 = 0 ;
20543 PyObject * obj2 = 0 ;
20544 char *kwnames[] = {
20545 (char *) "self",(char *) "self",(char *) "_class", NULL
20546 };
20547
20548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20550 arg2 = obj1;
20551 arg3 = obj2;
20552 {
20553 PyThreadState* __tstate = wxPyBeginAllowThreads();
20554 (arg1)->_setCallbackInfo(arg2,arg3);
20555
20556 wxPyEndAllowThreads(__tstate);
20557 if (PyErr_Occurred()) SWIG_fail;
20558 }
20559 Py_INCREF(Py_None); resultobj = Py_None;
20560 return resultobj;
20561 fail:
20562 return NULL;
20563 }
20564
20565
20566 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20567 PyObject *resultobj;
20568 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20569 int arg2 ;
20570 bool result;
20571 PyObject * obj0 = 0 ;
20572 char *kwnames[] = {
20573 (char *) "self",(char *) "pageNum", NULL
20574 };
20575
20576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 resultobj = PyInt_FromLong((long)result);
20586 return resultobj;
20587 fail:
20588 return NULL;
20589 }
20590
20591
20592 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20593 PyObject *resultobj;
20594 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20595 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20596 wxDC *arg3 = 0 ;
20597 bool result;
20598 PyObject * obj0 = 0 ;
20599 PyObject * obj1 = 0 ;
20600 PyObject * obj2 = 0 ;
20601 char *kwnames[] = {
20602 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20603 };
20604
20605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20608 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20609 if (arg3 == NULL) {
20610 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20611 }
20612 {
20613 PyThreadState* __tstate = wxPyBeginAllowThreads();
20614 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20615
20616 wxPyEndAllowThreads(__tstate);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 }
20619 resultobj = PyInt_FromLong((long)result);
20620 return resultobj;
20621 fail:
20622 return NULL;
20623 }
20624
20625
20626 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20627 PyObject *resultobj;
20628 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20629 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20630 wxDC *arg3 = 0 ;
20631 bool result;
20632 PyObject * obj0 = 0 ;
20633 PyObject * obj1 = 0 ;
20634 PyObject * obj2 = 0 ;
20635 char *kwnames[] = {
20636 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20641 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20642 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20643 if (arg3 == NULL) {
20644 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20645 }
20646 {
20647 PyThreadState* __tstate = wxPyBeginAllowThreads();
20648 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20649
20650 wxPyEndAllowThreads(__tstate);
20651 if (PyErr_Occurred()) SWIG_fail;
20652 }
20653 resultobj = PyInt_FromLong((long)result);
20654 return resultobj;
20655 fail:
20656 return NULL;
20657 }
20658
20659
20660 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20661 PyObject *resultobj;
20662 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20663 int arg2 ;
20664 bool result;
20665 PyObject * obj0 = 0 ;
20666 char *kwnames[] = {
20667 (char *) "self",(char *) "pageNum", NULL
20668 };
20669
20670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20672 {
20673 PyThreadState* __tstate = wxPyBeginAllowThreads();
20674 result = (bool)(arg1)->base_RenderPage(arg2);
20675
20676 wxPyEndAllowThreads(__tstate);
20677 if (PyErr_Occurred()) SWIG_fail;
20678 }
20679 resultobj = PyInt_FromLong((long)result);
20680 return resultobj;
20681 fail:
20682 return NULL;
20683 }
20684
20685
20686 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20687 PyObject *resultobj;
20688 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20689 int arg2 ;
20690 PyObject * obj0 = 0 ;
20691 char *kwnames[] = {
20692 (char *) "self",(char *) "percent", NULL
20693 };
20694
20695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20697 {
20698 PyThreadState* __tstate = wxPyBeginAllowThreads();
20699 (arg1)->base_SetZoom(arg2);
20700
20701 wxPyEndAllowThreads(__tstate);
20702 if (PyErr_Occurred()) SWIG_fail;
20703 }
20704 Py_INCREF(Py_None); resultobj = Py_None;
20705 return resultobj;
20706 fail:
20707 return NULL;
20708 }
20709
20710
20711 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20712 PyObject *resultobj;
20713 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20714 bool arg2 ;
20715 bool result;
20716 PyObject * obj0 = 0 ;
20717 PyObject * obj1 = 0 ;
20718 char *kwnames[] = {
20719 (char *) "self",(char *) "interactive", NULL
20720 };
20721
20722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20724 {
20725 arg2 = (bool) SPyObj_AsBool(obj1);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
20728 {
20729 PyThreadState* __tstate = wxPyBeginAllowThreads();
20730 result = (bool)(arg1)->base_Print(arg2);
20731
20732 wxPyEndAllowThreads(__tstate);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 }
20735 resultobj = PyInt_FromLong((long)result);
20736 return resultobj;
20737 fail:
20738 return NULL;
20739 }
20740
20741
20742 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20743 PyObject *resultobj;
20744 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20745 PyObject * obj0 = 0 ;
20746 char *kwnames[] = {
20747 (char *) "self", NULL
20748 };
20749
20750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20752 {
20753 PyThreadState* __tstate = wxPyBeginAllowThreads();
20754 (arg1)->base_DetermineScaling();
20755
20756 wxPyEndAllowThreads(__tstate);
20757 if (PyErr_Occurred()) SWIG_fail;
20758 }
20759 Py_INCREF(Py_None); resultobj = Py_None;
20760 return resultobj;
20761 fail:
20762 return NULL;
20763 }
20764
20765
20766 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20767 PyObject *obj;
20768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20769 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20770 Py_INCREF(obj);
20771 return Py_BuildValue((char *)"");
20772 }
20773 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20774 PyObject *resultobj;
20775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20776 wxFrame *arg2 = (wxFrame *) 0 ;
20777 wxString *arg3 = 0 ;
20778 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20779 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20780 wxSize const &arg5_defvalue = wxDefaultSize ;
20781 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20782 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20783 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20784 wxString *arg7 = (wxString *) &arg7_defvalue ;
20785 wxPyPreviewFrame *result;
20786 bool temp3 = False ;
20787 wxPoint temp4 ;
20788 wxSize temp5 ;
20789 bool temp7 = False ;
20790 PyObject * obj0 = 0 ;
20791 PyObject * obj1 = 0 ;
20792 PyObject * obj2 = 0 ;
20793 PyObject * obj3 = 0 ;
20794 PyObject * obj4 = 0 ;
20795 PyObject * obj6 = 0 ;
20796 char *kwnames[] = {
20797 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20798 };
20799
20800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20803 {
20804 arg3 = wxString_in_helper(obj2);
20805 if (arg3 == NULL) SWIG_fail;
20806 temp3 = True;
20807 }
20808 if (obj3) {
20809 {
20810 arg4 = &temp4;
20811 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20812 }
20813 }
20814 if (obj4) {
20815 {
20816 arg5 = &temp5;
20817 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20818 }
20819 }
20820 if (obj6) {
20821 {
20822 arg7 = wxString_in_helper(obj6);
20823 if (arg7 == NULL) SWIG_fail;
20824 temp7 = True;
20825 }
20826 }
20827 {
20828 PyThreadState* __tstate = wxPyBeginAllowThreads();
20829 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20830
20831 wxPyEndAllowThreads(__tstate);
20832 if (PyErr_Occurred()) SWIG_fail;
20833 }
20834 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20835 {
20836 if (temp3)
20837 delete arg3;
20838 }
20839 {
20840 if (temp7)
20841 delete arg7;
20842 }
20843 return resultobj;
20844 fail:
20845 {
20846 if (temp3)
20847 delete arg3;
20848 }
20849 {
20850 if (temp7)
20851 delete arg7;
20852 }
20853 return NULL;
20854 }
20855
20856
20857 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20858 PyObject *resultobj;
20859 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20860 PyObject *arg2 = (PyObject *) 0 ;
20861 PyObject *arg3 = (PyObject *) 0 ;
20862 PyObject * obj0 = 0 ;
20863 PyObject * obj1 = 0 ;
20864 PyObject * obj2 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "self",(char *) "self",(char *) "_class", NULL
20867 };
20868
20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20871 arg2 = obj1;
20872 arg3 = obj2;
20873 {
20874 PyThreadState* __tstate = wxPyBeginAllowThreads();
20875 (arg1)->_setCallbackInfo(arg2,arg3);
20876
20877 wxPyEndAllowThreads(__tstate);
20878 if (PyErr_Occurred()) SWIG_fail;
20879 }
20880 Py_INCREF(Py_None); resultobj = Py_None;
20881 return resultobj;
20882 fail:
20883 return NULL;
20884 }
20885
20886
20887 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20888 PyObject *resultobj;
20889 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20890 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20891 PyObject * obj0 = 0 ;
20892 PyObject * obj1 = 0 ;
20893 char *kwnames[] = {
20894 (char *) "self",(char *) "canvas", NULL
20895 };
20896
20897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20899 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20900 {
20901 PyThreadState* __tstate = wxPyBeginAllowThreads();
20902 (arg1)->SetPreviewCanvas(arg2);
20903
20904 wxPyEndAllowThreads(__tstate);
20905 if (PyErr_Occurred()) SWIG_fail;
20906 }
20907 Py_INCREF(Py_None); resultobj = Py_None;
20908 return resultobj;
20909 fail:
20910 return NULL;
20911 }
20912
20913
20914 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20915 PyObject *resultobj;
20916 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20917 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20918 PyObject * obj0 = 0 ;
20919 PyObject * obj1 = 0 ;
20920 char *kwnames[] = {
20921 (char *) "self",(char *) "bar", NULL
20922 };
20923
20924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20926 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20927 {
20928 PyThreadState* __tstate = wxPyBeginAllowThreads();
20929 (arg1)->SetControlBar(arg2);
20930
20931 wxPyEndAllowThreads(__tstate);
20932 if (PyErr_Occurred()) SWIG_fail;
20933 }
20934 Py_INCREF(Py_None); resultobj = Py_None;
20935 return resultobj;
20936 fail:
20937 return NULL;
20938 }
20939
20940
20941 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20942 PyObject *resultobj;
20943 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20944 PyObject * obj0 = 0 ;
20945 char *kwnames[] = {
20946 (char *) "self", NULL
20947 };
20948
20949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20951 {
20952 PyThreadState* __tstate = wxPyBeginAllowThreads();
20953 (arg1)->base_Initialize();
20954
20955 wxPyEndAllowThreads(__tstate);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 Py_INCREF(Py_None); resultobj = Py_None;
20959 return resultobj;
20960 fail:
20961 return NULL;
20962 }
20963
20964
20965 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20966 PyObject *resultobj;
20967 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20968 PyObject * obj0 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "self", NULL
20971 };
20972
20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20975 {
20976 PyThreadState* __tstate = wxPyBeginAllowThreads();
20977 (arg1)->base_CreateCanvas();
20978
20979 wxPyEndAllowThreads(__tstate);
20980 if (PyErr_Occurred()) SWIG_fail;
20981 }
20982 Py_INCREF(Py_None); resultobj = Py_None;
20983 return resultobj;
20984 fail:
20985 return NULL;
20986 }
20987
20988
20989 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20990 PyObject *resultobj;
20991 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20992 PyObject * obj0 = 0 ;
20993 char *kwnames[] = {
20994 (char *) "self", NULL
20995 };
20996
20997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20999 {
21000 PyThreadState* __tstate = wxPyBeginAllowThreads();
21001 (arg1)->base_CreateControlBar();
21002
21003 wxPyEndAllowThreads(__tstate);
21004 if (PyErr_Occurred()) SWIG_fail;
21005 }
21006 Py_INCREF(Py_None); resultobj = Py_None;
21007 return resultobj;
21008 fail:
21009 return NULL;
21010 }
21011
21012
21013 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
21014 PyObject *obj;
21015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21016 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
21017 Py_INCREF(obj);
21018 return Py_BuildValue((char *)"");
21019 }
21020 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21021 PyObject *resultobj;
21022 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21023 long arg2 ;
21024 wxWindow *arg3 = (wxWindow *) 0 ;
21025 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21026 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21027 wxSize const &arg5_defvalue = wxDefaultSize ;
21028 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21029 long arg6 = (long) 0 ;
21030 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21031 wxString *arg7 = (wxString *) &arg7_defvalue ;
21032 wxPyPreviewControlBar *result;
21033 wxPoint temp4 ;
21034 wxSize temp5 ;
21035 bool temp7 = False ;
21036 PyObject * obj0 = 0 ;
21037 PyObject * obj2 = 0 ;
21038 PyObject * obj3 = 0 ;
21039 PyObject * obj4 = 0 ;
21040 PyObject * obj6 = 0 ;
21041 char *kwnames[] = {
21042 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21043 };
21044
21045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
21046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21047 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21048 if (obj3) {
21049 {
21050 arg4 = &temp4;
21051 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21052 }
21053 }
21054 if (obj4) {
21055 {
21056 arg5 = &temp5;
21057 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21058 }
21059 }
21060 if (obj6) {
21061 {
21062 arg7 = wxString_in_helper(obj6);
21063 if (arg7 == NULL) SWIG_fail;
21064 temp7 = True;
21065 }
21066 }
21067 {
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
21075 {
21076 if (temp7)
21077 delete arg7;
21078 }
21079 return resultobj;
21080 fail:
21081 {
21082 if (temp7)
21083 delete arg7;
21084 }
21085 return NULL;
21086 }
21087
21088
21089 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj;
21091 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21092 PyObject *arg2 = (PyObject *) 0 ;
21093 PyObject *arg3 = (PyObject *) 0 ;
21094 PyObject * obj0 = 0 ;
21095 PyObject * obj1 = 0 ;
21096 PyObject * obj2 = 0 ;
21097 char *kwnames[] = {
21098 (char *) "self",(char *) "self",(char *) "_class", NULL
21099 };
21100
21101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21103 arg2 = obj1;
21104 arg3 = obj2;
21105 {
21106 PyThreadState* __tstate = wxPyBeginAllowThreads();
21107 (arg1)->_setCallbackInfo(arg2,arg3);
21108
21109 wxPyEndAllowThreads(__tstate);
21110 if (PyErr_Occurred()) SWIG_fail;
21111 }
21112 Py_INCREF(Py_None); resultobj = Py_None;
21113 return resultobj;
21114 fail:
21115 return NULL;
21116 }
21117
21118
21119 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21120 PyObject *resultobj;
21121 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21122 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
21123 PyObject * obj0 = 0 ;
21124 PyObject * obj1 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self",(char *) "preview", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
21130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21131 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21132 {
21133 PyThreadState* __tstate = wxPyBeginAllowThreads();
21134 (arg1)->SetPrintPreview(arg2);
21135
21136 wxPyEndAllowThreads(__tstate);
21137 if (PyErr_Occurred()) SWIG_fail;
21138 }
21139 Py_INCREF(Py_None); resultobj = Py_None;
21140 return resultobj;
21141 fail:
21142 return NULL;
21143 }
21144
21145
21146 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
21147 PyObject *resultobj;
21148 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21149 PyObject * obj0 = 0 ;
21150 char *kwnames[] = {
21151 (char *) "self", NULL
21152 };
21153
21154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
21155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21156 {
21157 PyThreadState* __tstate = wxPyBeginAllowThreads();
21158 (arg1)->base_CreateButtons();
21159
21160 wxPyEndAllowThreads(__tstate);
21161 if (PyErr_Occurred()) SWIG_fail;
21162 }
21163 Py_INCREF(Py_None); resultobj = Py_None;
21164 return resultobj;
21165 fail:
21166 return NULL;
21167 }
21168
21169
21170 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21171 PyObject *resultobj;
21172 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21173 int arg2 ;
21174 PyObject * obj0 = 0 ;
21175 char *kwnames[] = {
21176 (char *) "self",(char *) "zoom", NULL
21177 };
21178
21179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
21180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21181 {
21182 PyThreadState* __tstate = wxPyBeginAllowThreads();
21183 (arg1)->base_SetZoomControl(arg2);
21184
21185 wxPyEndAllowThreads(__tstate);
21186 if (PyErr_Occurred()) SWIG_fail;
21187 }
21188 Py_INCREF(Py_None); resultobj = Py_None;
21189 return resultobj;
21190 fail:
21191 return NULL;
21192 }
21193
21194
21195 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21196 PyObject *obj;
21197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21198 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
21199 Py_INCREF(obj);
21200 return Py_BuildValue((char *)"");
21201 }
21202 static PyMethodDef SwigMethods[] = {
21203 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
21208 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
21223 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
21224 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
21229 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
21243 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
21266 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
21278 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
21282 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
21286 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
21291 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
21306 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
21332 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
21339 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21361 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
21362 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
21367 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
21369 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
21370 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
21371 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21372 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
21376 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21378 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
21382 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
21386 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
21387 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
21388 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21389 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21390 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21392 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21393 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21394 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21396 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
21397 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21399 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
21400 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
21402 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
21403 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
21404 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
21405 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
21406 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
21408 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21409 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
21412 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
21413 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
21414 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
21415 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
21417 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
21418 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21419 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21421 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21422 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
21423 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
21425 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
21427 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
21428 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
21429 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
21430 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21431 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
21432 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
21433 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
21434 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21436 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21437 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21438 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21439 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21440 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21441 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21442 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21443 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21444 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21445 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21446 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21447 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21448 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21449 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21450 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21451 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21452 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21453 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21454 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21455 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21456 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21457 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21458 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21459 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21460 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21461 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21462 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21463 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21464 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21465 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21466 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21467 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21468 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21469 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21470 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21471 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
21472 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
21473 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
21474 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
21475 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
21476 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21477 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21478 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21479 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21480 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21481 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21482 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21483 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21484 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21485 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21486 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21487 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21488 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21489 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21490 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21491 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21492 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21493 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21494 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21495 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21496 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21497 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21498 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21499 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21500 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21501 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21502 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21503 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21504 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21505 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21506 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21507 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21508 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21509 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21510 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21511 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21512 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21513 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21514 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21515 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21516 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21517 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21518 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21519 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21520 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21521 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21522 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21523 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21524 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21525 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21526 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21527 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21528 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21529 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21530 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21531 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21532 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21533 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21534 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21535 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21536 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21537 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21538 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21539 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21540 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21541 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21542 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21543 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21544 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21545 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21546 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21547 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21548 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21549 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21550 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21551 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21552 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21553 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21554 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21555 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21556 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21557 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21558 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21559 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21560 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21561 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21562 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21563 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21564 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21565 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21566 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21567 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21568 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21569 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21570 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21571 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21572 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21573 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21574 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21575 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21576 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21577 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21578 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21579 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21580 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21581 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21582 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21583 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21584 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21585 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21586 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21587 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21588 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21589 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21590 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21591 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21592 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21593 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21594 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21595 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21596 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21597 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21598 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21599 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21600 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21601 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21602 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21603 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21604 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21605 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21606 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21607 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21608 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21609 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21610 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21611 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21612 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21613 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21614 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21615 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21616 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21617 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21618 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21619 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21620 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21621 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21622 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21623 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21624 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21625 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21626 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21627 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21628 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21629 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21630 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21631 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21632 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21633 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21634 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21635 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21636 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21637 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21638 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21639 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21640 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21641 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21642 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21643 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21644 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21645 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21646 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21647 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21648 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21649 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21650 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21651 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21652 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21653 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21654 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21655 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21656 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21657 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21658 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21659 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21660 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21661 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21662 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21663 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21664 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21665 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21666 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21667 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21668 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21669 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21670 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21671 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21672 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21673 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21674 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21675 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21676 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21677 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21678 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21679 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21680 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21681 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21682 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21683 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21684 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21685 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21686 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21687 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21688 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21689 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21690 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21691 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21692 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21693 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21694 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21695 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21696 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21697 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21698 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21699 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21700 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21701 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21702 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21703 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21704 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21705 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21706 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21707 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21708 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21709 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21710 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21711 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21712 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21713 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21714 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21715 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21716 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21717 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21718 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21719 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21720 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21721 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21722 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21723 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21724 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21725 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21726 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21727 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21728 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21729 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21730 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21731 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21732 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21733 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21734 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21735 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21736 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21737 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21738 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21739 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21740 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21741 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21742 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21743 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21744 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21745 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21746 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21747 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21748 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21749 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21750 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21751 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21752 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21753 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21754 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21755 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21756 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21757 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21758 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21759 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21760 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21761 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21762 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21763 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21764 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21765 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21766 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21767 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21768 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21769 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21770 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21771 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21772 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21773 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21774 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21775 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21776 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21777 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21778 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21779 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21780 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21781 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21782 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21783 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21784 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21785 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21786 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21787 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21788 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21789 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21790 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21791 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21792 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21793 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21794 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21795 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21796 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21797 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21798 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21799 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21800 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21801 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21802 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21803 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21804 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21805 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21806 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21807 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21808 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21809 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21810 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21811 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21812 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21813 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21814 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21815 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21816 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21817 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21818 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21819 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21820 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21821 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21822 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21823 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21824 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21825 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21826 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21827 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21828 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21829 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21830 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21831 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21832 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21833 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21834 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21835 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21836 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21837 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21838 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21839 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21840 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21841 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21842 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21843 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21844 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21845 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21846 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21847 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21848 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21849 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21850 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21851 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21852 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21853 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21854 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21855 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21856 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21857 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21858 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21859 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21860 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21861 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21862 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21863 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21864 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21865 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21866 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21867 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21868 { NULL, NULL }
21869 };
21870
21871
21872 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21873
21874 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21875 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21876 }
21877 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21878 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21879 }
21880 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21881 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21882 }
21883 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21884 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21885 }
21886 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21887 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21888 }
21889 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21890 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21891 }
21892 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21893 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21894 }
21895 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21896 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21897 }
21898 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21899 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21900 }
21901 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21902 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21903 }
21904 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21905 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21906 }
21907 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21908 return (void *)((wxEvent *) ((wxPyEvent *) x));
21909 }
21910 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21911 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21912 }
21913 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21914 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21915 }
21916 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21917 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21918 }
21919 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21920 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21921 }
21922 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21923 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21924 }
21925 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21926 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21927 }
21928 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21929 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21930 }
21931 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21932 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21933 }
21934 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21935 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21936 }
21937 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21938 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21939 }
21940 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21941 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21942 }
21943 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21944 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21945 }
21946 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21947 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21948 }
21949 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21950 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21951 }
21952 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21953 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21954 }
21955 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21956 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21957 }
21958 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21959 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21960 }
21961 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21962 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21963 }
21964 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21965 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21966 }
21967 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21968 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21969 }
21970 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21971 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21972 }
21973 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21974 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21975 }
21976 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21977 return (void *)((wxEvent *) ((wxShowEvent *) x));
21978 }
21979 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21980 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21981 }
21982 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21983 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21984 }
21985 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21986 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21987 }
21988 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21989 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21990 }
21991 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21992 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21993 }
21994 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21995 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21996 }
21997 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21998 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21999 }
22000 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
22001 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
22002 }
22003 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
22004 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22005 }
22006 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
22007 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22008 }
22009 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
22010 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
22011 }
22012 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
22013 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
22014 }
22015 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
22016 return (void *)((wxEvtHandler *) ((wxValidator *) x));
22017 }
22018 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
22019 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
22020 }
22021 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
22022 return (void *)((wxEvtHandler *) ((wxMenu *) x));
22023 }
22024 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
22025 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22026 }
22027 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
22028 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22029 }
22030 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
22031 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22032 }
22033 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
22034 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22035 }
22036 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
22037 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22038 }
22039 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
22040 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22041 }
22042 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
22043 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22044 }
22045 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
22046 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
22047 }
22048 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
22049 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
22050 }
22051 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
22052 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22053 }
22054 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
22055 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22056 }
22057 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
22058 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22059 }
22060 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
22061 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
22062 }
22063 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
22064 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22065 }
22066 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
22067 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
22068 }
22069 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
22070 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
22071 }
22072 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
22073 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
22074 }
22075 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
22076 return (void *)((wxEvtHandler *) ((wxWindow *) x));
22077 }
22078 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
22079 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22080 }
22081 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
22082 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
22083 }
22084 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
22085 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
22086 }
22087 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
22088 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
22089 }
22090 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
22091 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22092 }
22093 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
22094 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22095 }
22096 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
22097 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22098 }
22099 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
22100 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
22101 }
22102 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
22103 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22104 }
22105 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
22106 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
22107 }
22108 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
22109 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22110 }
22111 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
22112 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22113 }
22114 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
22115 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22116 }
22117 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
22118 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22119 }
22120 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
22121 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22122 }
22123 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
22124 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
22125 }
22126 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
22127 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22128 }
22129 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
22130 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22131 }
22132 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
22133 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22134 }
22135 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
22136 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22137 }
22138 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
22139 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22140 }
22141 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
22142 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22143 }
22144 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
22145 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22146 }
22147 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
22148 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22149 }
22150 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
22151 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
22152 }
22153 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
22154 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
22155 }
22156 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
22157 return (void *)((wxFrame *) ((wxProgressDialog *) x));
22158 }
22159 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
22160 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
22161 }
22162 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
22163 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22164 }
22165 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
22166 return (void *)((wxFrame *) ((wxMiniFrame *) x));
22167 }
22168 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
22169 return (void *)((wxFrame *) ((wxSplashScreen *) x));
22170 }
22171 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
22172 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
22173 }
22174 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
22175 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
22176 }
22177 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
22178 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
22179 }
22180 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
22181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22182 }
22183 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
22184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22185 }
22186 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
22187 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
22188 }
22189 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
22190 return (void *)((wxObject *) ((wxSizerItem *) x));
22191 }
22192 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
22193 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
22194 }
22195 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
22196 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
22197 }
22198 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
22199 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
22200 }
22201 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
22202 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
22203 }
22204 static void *_p_wxSizerTo_p_wxObject(void *x) {
22205 return (void *)((wxObject *) ((wxSizer *) x));
22206 }
22207 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
22208 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
22209 }
22210 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
22211 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
22212 }
22213 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
22214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
22215 }
22216 static void *_p_wxEventTo_p_wxObject(void *x) {
22217 return (void *)((wxObject *) ((wxEvent *) x));
22218 }
22219 static void *_p_wxFontDataTo_p_wxObject(void *x) {
22220 return (void *)((wxObject *) ((wxFontData *) x));
22221 }
22222 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
22223 return (void *)((wxObject *) ((wxPrintData *) x));
22224 }
22225 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
22226 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
22227 }
22228 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
22229 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
22230 }
22231 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
22232 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
22233 }
22234 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
22235 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
22236 }
22237 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
22238 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
22239 }
22240 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
22241 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
22242 }
22243 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
22244 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
22245 }
22246 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
22247 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
22248 }
22249 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
22250 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
22251 }
22252 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
22253 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
22254 }
22255 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
22256 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22257 }
22258 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
22259 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
22260 }
22261 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
22262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22263 }
22264 static void *_p_wxControlTo_p_wxObject(void *x) {
22265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
22266 }
22267 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
22268 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
22269 }
22270 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
22271 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
22272 }
22273 static void *_p_wxFSFileTo_p_wxObject(void *x) {
22274 return (void *)((wxObject *) ((wxFSFile *) x));
22275 }
22276 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
22277 return (void *)((wxObject *) ((wxFindReplaceData *) x));
22278 }
22279 static void *_p_wxPySizerTo_p_wxObject(void *x) {
22280 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
22281 }
22282 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
22283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22284 }
22285 static void *_p_wxColourDataTo_p_wxObject(void *x) {
22286 return (void *)((wxObject *) ((wxColourData *) x));
22287 }
22288 static void *_p_wxPyEventTo_p_wxObject(void *x) {
22289 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
22290 }
22291 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
22292 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
22293 }
22294 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
22295 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
22296 }
22297 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
22298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22299 }
22300 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
22301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22302 }
22303 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
22304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22305 }
22306 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
22307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22308 }
22309 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
22310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22311 }
22312 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
22313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22314 }
22315 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
22316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22317 }
22318 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
22319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22320 }
22321 static void *_p_wxShowEventTo_p_wxObject(void *x) {
22322 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
22323 }
22324 static void *_p_wxPrinterTo_p_wxObject(void *x) {
22325 return (void *)((wxObject *) ((wxPrinter *) x));
22326 }
22327 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
22328 return (void *)((wxObject *) ((wxMenuItem *) x));
22329 }
22330 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
22331 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
22332 }
22333 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
22334 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
22335 }
22336 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
22337 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
22338 }
22339 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
22340 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
22341 }
22342 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
22343 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
22344 }
22345 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
22346 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
22347 }
22348 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
22349 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
22350 }
22351 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
22352 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
22353 }
22354 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
22355 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
22356 }
22357 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
22358 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
22359 }
22360 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
22361 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
22362 }
22363 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
22364 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
22365 }
22366 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
22367 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
22368 }
22369 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
22370 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
22371 }
22372 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
22373 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
22374 }
22375 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
22376 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
22377 }
22378 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
22379 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
22380 }
22381 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
22382 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
22383 }
22384 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
22385 return (void *)((wxObject *) ((wxImageHandler *) x));
22386 }
22387 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
22388 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
22389 }
22390 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
22391 return (void *)((wxObject *) ((wxEvtHandler *) x));
22392 }
22393 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
22394 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
22395 }
22396 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
22397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22398 }
22399 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
22400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22401 }
22402 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
22403 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
22404 }
22405 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
22406 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22407 }
22408 static void *_p_wxImageTo_p_wxObject(void *x) {
22409 return (void *)((wxObject *) ((wxImage *) x));
22410 }
22411 static void *_p_wxFrameTo_p_wxObject(void *x) {
22412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22413 }
22414 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
22415 return (void *)((wxObject *) ((wxPyPrintout *) x));
22416 }
22417 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
22418 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
22419 }
22420 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
22421 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
22422 }
22423 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
22424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
22425 }
22426 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
22427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22428 }
22429 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
22430 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22431 }
22432 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22433 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22434 }
22435 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22436 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22437 }
22438 static void *_p_wxWindowTo_p_wxObject(void *x) {
22439 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22440 }
22441 static void *_p_wxMenuTo_p_wxObject(void *x) {
22442 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22443 }
22444 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22445 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22446 }
22447 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22449 }
22450 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22452 }
22453 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22454 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22455 }
22456 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22457 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22458 }
22459 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22461 }
22462 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22464 }
22465 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22467 }
22468 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22469 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22470 }
22471 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22473 }
22474 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22476 }
22477 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22479 }
22480 static void *_p_wxSashEventTo_p_wxObject(void *x) {
22481 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22482 }
22483 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22484 return (void *)((wxObject *) ((wxPrintPreview *) x));
22485 }
22486 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22487 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22488 }
22489 static void *_p_wxPanelTo_p_wxObject(void *x) {
22490 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22491 }
22492 static void *_p_wxDialogTo_p_wxObject(void *x) {
22493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22494 }
22495 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22497 }
22498 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22500 }
22501 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22503 }
22504 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22506 }
22507 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22508 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22509 }
22510 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22511 return (void *)((wxObject *) ((wxFileSystem *) x));
22512 }
22513 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22514 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22515 }
22516 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22517 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22518 }
22519 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22520 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22521 }
22522 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22523 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22524 }
22525 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22526 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22527 }
22528 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22529 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22530 }
22531 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22532 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22533 }
22534 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22535 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22536 }
22537 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22539 }
22540 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22542 }
22543 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22544 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22545 }
22546 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22547 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22548 }
22549 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22550 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22551 }
22552 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22554 }
22555 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22556 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22557 }
22558 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22559 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22560 }
22561 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22562 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22563 }
22564 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22565 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22566 }
22567 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22568 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22569 }
22570 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22571 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22572 }
22573 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22574 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22575 }
22576 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22577 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22578 }
22579 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22580 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22581 }
22582 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22583 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22584 }
22585 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22586 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22587 }
22588 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22589 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22590 }
22591 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22592 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22593 }
22594 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22595 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22596 }
22597 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22598 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22599 }
22600 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22601 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22602 }
22603 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22604 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22605 }
22606 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22607 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22608 }
22609 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22610 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22611 }
22612 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22613 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22614 }
22615 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22616 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22617 }
22618 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22619 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22620 }
22621 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22622 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22623 }
22624 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22625 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22626 }
22627 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22628 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22629 }
22630 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22631 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22632 }
22633 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22634 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22635 }
22636 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22637 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22638 }
22639 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22640 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22641 }
22642 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22643 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22644 }
22645 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22646 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22647 }
22648 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22649 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22650 }
22651 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22652 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22653 }
22654 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22655 return (void *)((wxWindow *) ((wxMenuBar *) x));
22656 }
22657 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22658 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22659 }
22660 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22661 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22662 }
22663 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22664 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22665 }
22666 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22667 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22668 }
22669 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22670 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22671 }
22672 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22673 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22674 }
22675 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22676 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22677 }
22678 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22679 return (void *)((wxWindow *) ((wxPanel *) x));
22680 }
22681 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22682 return (void *)((wxWindow *) ((wxStatusBar *) x));
22683 }
22684 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22685 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22686 }
22687 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22688 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22689 }
22690 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22691 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22692 }
22693 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22694 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22695 }
22696 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22697 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22698 }
22699 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22700 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22701 }
22702 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22703 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22704 }
22705 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22706 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22707 }
22708 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22709 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22710 }
22711 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22712 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22713 }
22714 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22715 return (void *)((wxWindow *) ((wxSashWindow *) x));
22716 }
22717 static void *_p_wxControlTo_p_wxWindow(void *x) {
22718 return (void *)((wxWindow *) ((wxControl *) x));
22719 }
22720 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22721 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22722 }
22723 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22724 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22725 }
22726 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22727 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22728 }
22729 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22730 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22731 }
22732 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22733 return (void *)((wxWindow *) ((wxPyWindow *) x));
22734 }
22735 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22736 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22737 }
22738 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22739 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22740 }
22741 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22742 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22743 }
22744 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22745 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22746 }
22747 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22748 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22749 }
22750 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22751 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22752 }
22753 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22754 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22755 }
22756 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22757 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22758 }
22759 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22760 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22761 }
22762 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22763 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22764 }
22765 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22766 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22767 }
22768 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22769 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22770 }
22771 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22772 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22773 }
22774 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22775 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22776 }
22777 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22778 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22779 }
22780 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22781 return (void *)((wxDialog *) ((wxColourDialog *) x));
22782 }
22783 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22784 return (void *)((wxDialog *) ((wxDirDialog *) x));
22785 }
22786 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22787 return (void *)((wxDialog *) ((wxFontDialog *) x));
22788 }
22789 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22790 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22791 }
22792 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22793 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22794 }
22795 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22796 return (void *)((wxDialog *) ((wxFileDialog *) x));
22797 }
22798 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22799 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22800 }
22801 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22802 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22803 }
22804 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22805 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22806 }
22807 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22808 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22809 }
22810 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22811 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22812 }
22813 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22814 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22815 }
22816 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22817 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22818 }
22819 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22820 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22821 }
22822 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22823 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22824 }
22825 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22826 return (void *)((wxPanel *) ((wxPyPanel *) x));
22827 }
22828 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22829 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22830 }
22831 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22832 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22833 }
22834 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22835 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22836 }
22837 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22838 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22839 }
22840 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22841 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22842 }
22843 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22844 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22845 }
22846 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22847 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22848 }
22849 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22850 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22851 }
22852 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22853 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22854 }
22855 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22856 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22857 }
22858 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22859 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22860 }
22861 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22862 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22863 }
22864 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22865 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22866 }
22867 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22868 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22869 }
22870 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22871 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22872 }
22873 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22874 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22875 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22876 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22877 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22878 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22879 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22880 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent},{0}};
22881 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22882 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22883 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22884 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22885 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22886 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22887 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22888 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22889 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22890 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22891 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22892 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22893 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22894 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22895 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22896 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22897 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22898 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22899 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22900 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22901 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22902 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22903 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22904 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22905 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22906 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22907 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22908 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
22909 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22910 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22911 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22912 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22913 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22914 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}};
22915 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22916 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22917 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22918 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22919 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22920 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22921 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
22922 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22923 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22924 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22925 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22926 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22927 static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0},{"_p_wxPyVScrolledWindow"},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow},{0}};
22928 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22929 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow},{0}};
22930 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22931 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}};
22932 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
22933 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22934 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22935 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22936 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22937 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22938 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22939 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22940 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22941 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22942 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22943 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22944 static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0},{"_p_wxDialog"},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog},{0}};
22945 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}};
22946 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22947 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22948 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{0}};
22949 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22950 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22951 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22952 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22953 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22954 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22955
22956 static swig_type_info *swig_types_initial[] = {
22957 _swigt__p_wxQueryLayoutInfoEvent,
22958 _swigt__p_wxPreviewFrame,
22959 _swigt__p_wxPyPreviewFrame,
22960 _swigt__p_wxPyPanel,
22961 _swigt__p_wxMenu,
22962 _swigt__p_wxPrintData,
22963 _swigt__p_wxFontData,
22964 _swigt__p_wxEvent,
22965 _swigt__p_wxTaskBarIcon,
22966 _swigt__p_wxIconBundle,
22967 _swigt__p_wxLayoutAlgorithm,
22968 _swigt__p_wxFindDialogEvent,
22969 _swigt__p_wxPreviewCanvas,
22970 _swigt__p_wxFont,
22971 _swigt__p_wxSplitterEvent,
22972 _swigt__p_wxRegion,
22973 _swigt__p_wxFindReplaceData,
22974 _swigt__p_int,
22975 _swigt__p_wxSize,
22976 _swigt__p_wxDC,
22977 _swigt__p_wxIcon,
22978 _swigt__p_wxMDIChildFrame,
22979 _swigt__p_wxColourData,
22980 _swigt__p_wxNotifyEvent,
22981 _swigt__p_wxPyWindow,
22982 _swigt__p_wxSplashScreen,
22983 _swigt__p_wxFindReplaceDialog,
22984 _swigt__p_wxProgressDialog,
22985 _swigt__p_wxMessageDialog,
22986 _swigt__p_wxTextEntryDialog,
22987 _swigt__p_wxSingleChoiceDialog,
22988 _swigt__p_wxMultiChoiceDialog,
22989 _swigt__p_wxFileDialog,
22990 _swigt__p_wxPrinter,
22991 _swigt__p_wxArrayInt,
22992 _swigt__p_wxEvtHandler,
22993 _swigt__p_wxCalculateLayoutEvent,
22994 _swigt__p_wxPyHtmlListBox,
22995 _swigt__p_wxPyVListBox,
22996 _swigt__p_wxRect,
22997 _swigt__p_wxMiniFrame,
22998 _swigt__p_wxFrame,
22999 _swigt__p_wxPyPrintout,
23000 _swigt__p_wxTaskBarIconEvent,
23001 _swigt__p_wxScrollWinEvent,
23002 _swigt__p_wxStatusBar,
23003 _swigt__p_wxMDIParentFrame,
23004 _swigt__p_wxPoint,
23005 _swigt__p_wxObject,
23006 _swigt__p_unsigned_long,
23007 _swigt__p_wxMDIClientWindow,
23008 _swigt__p_wxTipWindow,
23009 _swigt__p_wxSashLayoutWindow,
23010 _swigt__p_wxSplitterWindow,
23011 _swigt__p_wxPyVScrolledWindow,
23012 _swigt__p_wxPyPopupTransientWindow,
23013 _swigt__p_wxPopupWindow,
23014 _swigt__p_wxSashWindow,
23015 _swigt__p_wxTopLevelWindow,
23016 _swigt__p_wxWindow,
23017 _swigt__p_wxScrolledWindow,
23018 _swigt__p_wxSplashScreenWindow,
23019 _swigt__p_wxMenuBar,
23020 _swigt__p_wxPrintPreview,
23021 _swigt__p_wxSashEvent,
23022 _swigt__p_wxString,
23023 _swigt__p_wxPyPrintPreview,
23024 _swigt__p_wxPageSetupDialog,
23025 _swigt__p_wxFontDialog,
23026 _swigt__p_wxDirDialog,
23027 _swigt__p_wxColourDialog,
23028 _swigt__p_wxDialog,
23029 _swigt__p_wxPanel,
23030 _swigt__p_wxPrintDialog,
23031 _swigt__p_wxBitmap,
23032 _swigt__p_wxCommandEvent,
23033 _swigt__p_wxPreviewControlBar,
23034 _swigt__p_wxPyPreviewControlBar,
23035 _swigt__p_wxColour,
23036 _swigt__p_wxToolBar,
23037 _swigt__p_wxPrintDialogData,
23038 _swigt__p_wxPageSetupDialogData,
23039 0
23040 };
23041
23042
23043 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
23044
23045 static swig_const_info swig_const_table[] = {
23046 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
23047 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
23048 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
23049 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
23050 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
23051 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
23052 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
23053 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
23054 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
23055 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
23056 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
23057 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
23058 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
23059 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
23060 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
23061 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
23062 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
23063 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
23064 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
23065 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
23066 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
23067 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
23068 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
23069 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
23070 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
23071 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
23072 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
23073 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
23074 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
23075 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
23076 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
23077 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
23078 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
23079 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
23080 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
23081 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
23082 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
23083 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
23084 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
23085 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
23086 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
23087 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
23088 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
23089 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
23090 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
23091 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
23092 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
23093 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
23094 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
23095 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
23096 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
23097 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
23098 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
23099 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
23100 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
23101 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
23102 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
23103 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
23104 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
23105 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
23106 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
23107 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
23108 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
23109 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
23110 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
23111 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
23112 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
23113 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
23114 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
23115 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
23116 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
23117 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
23118 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
23119 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
23120 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
23121 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
23122 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
23123 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
23124 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
23125 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
23126 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
23127 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
23128 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
23129 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
23130 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
23131 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
23132 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
23133 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
23134 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
23135 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
23136 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
23137 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
23138 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
23139 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
23140 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
23141 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
23142 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
23143 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
23144 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
23145 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
23146 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
23147 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
23148 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
23149 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
23150 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
23151 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
23152 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
23153 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
23154 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
23155 {0}};
23156
23157 #ifdef __cplusplus
23158 }
23159 #endif
23160
23161 #ifdef __cplusplus
23162 extern "C"
23163 #endif
23164 SWIGEXPORT(void) SWIG_init(void) {
23165 static PyObject *SWIG_globals = 0;
23166 static int typeinit = 0;
23167 PyObject *m, *d;
23168 int i;
23169 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
23170 m = Py_InitModule((char *) SWIG_name, SwigMethods);
23171 d = PyModule_GetDict(m);
23172
23173 if (!typeinit) {
23174 for (i = 0; swig_types_initial[i]; i++) {
23175 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
23176 }
23177 typeinit = 1;
23178 }
23179 SWIG_InstallConstants(d,swig_const_table);
23180
23181 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
23182 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
23183 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
23184 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
23185 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
23186 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
23187 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
23188 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
23189 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
23190 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
23191 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
23192 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
23193 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
23194 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
23195 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
23196 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
23197
23198 // Map renamed classes back to their common name for OOR
23199 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
23200 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
23201 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
23202
23203 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
23204 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
23205 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
23206 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
23207 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
23208 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
23209 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
23210 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
23211 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
23212 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
23213 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
23214 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
23215 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
23216 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
23217 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
23218 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
23219 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
23220 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
23221 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
23222 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
23223
23224 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
23225
23226 }
23227