]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/windows_wrap.cpp
Updated SWIG runtime code
[wxWidgets.git] / wxPython / src / mac / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
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_wxPyPopupTransientWindow swig_types[52]
437 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[53]
438 #define SWIGTYPE_p_wxSplitterWindow swig_types[54]
439 #define SWIGTYPE_p_wxPyVScrolledWindow 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
520
521 return self->IsModalShowing();
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 wxPopupWindow : public wxWindow {
539 public:
540 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
541 wxPopupWindow() { wxPyRaiseNotImplemented(); }
542 };
543
544 class wxPyPopupTransientWindow : public wxPopupWindow
545 {
546 public:
547 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
548 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
549 };
550
551
552 #include <wx/tipwin.h>
553
554 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
555 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
556 }
557
558 #include <wx/tipwin.h>
559
560
561 #include <wx/vscroll.h>
562
563
564 class wxPyVScrolledWindow : public wxVScrolledWindow
565 {
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
567 public:
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
569
570 wxPyVScrolledWindow(wxWindow *parent,
571 wxWindowID id = wxID_ANY,
572 const wxPoint& pos = wxDefaultPosition,
573 const wxSize& size = wxDefaultSize,
574 long style = 0,
575 const wxString& name = wxPyPanelNameStr)
576 : wxVScrolledWindow(parent, id, pos, size, style, name)
577 {}
578
579 // Overridable virtuals
580
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
584
585
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
589 // once
590 //
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
596 //
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
598 // usual
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
600
601
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
606 // its own logic
607 //
608 // this function should return the best guess for the total height it may
609 // make
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
611
612
613 // Also expose some other interesting protected methods
614
615
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
618 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
620
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
625
626
627 PYPRIVATE;
628 };
629
630 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
631
632 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
633 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
634 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
635
636
637 #include <wx/vlbox.h>
638
639 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
640
641 class wxPyVListBox : public wxVListBox
642 {
643 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
644 public:
645 wxPyVListBox() : wxVListBox() {}
646
647 wxPyVListBox(wxWindow *parent,
648 wxWindowID id = wxID_ANY,
649 const wxPoint& pos = wxDefaultPosition,
650 const wxSize& size = wxDefaultSize,
651 long style = 0,
652 const wxString& name = wxPyVListBoxNameStr)
653 : wxVListBox(parent, id, pos, size, style, name)
654 {}
655
656 // Overridable virtuals
657
658 // the derived class must implement this function to actually draw the item
659 // with the given index on the provided DC
660 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
661 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
662
663
664 // the derived class must implement this method to return the height of the
665 // specified item
666 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
667 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
668
669
670 // this method may be used to draw separators between the lines; note that
671 // the rectangle may be modified, typically to deflate it a bit before
672 // passing to OnDrawItem()
673 //
674 // the base class version doesn't do anything
675 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
676 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
677
678
679 // this method is used to draw the items background and, maybe, a border
680 // around it
681 //
682 // the base class version implements a reasonable default behaviour which
683 // consists in drawing the selected item with the standard background
684 // colour and drawing a border around the item if it is either selected or
685 // current
686 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
687 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
688
689
690 PYPRIVATE;
691 };
692
693 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
694
695 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
696 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
697 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
698 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
699
700
701
702 #include <wx/htmllbox.h>
703
704
705 class wxPyHtmlListBox : public wxHtmlListBox
706 {
707 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
708 public:
709 wxPyHtmlListBox() : wxHtmlListBox() {}
710
711 wxPyHtmlListBox(wxWindow *parent,
712 wxWindowID id = wxID_ANY,
713 const wxPoint& pos = wxDefaultPosition,
714 const wxSize& size = wxDefaultSize,
715 long style = 0,
716 const wxString& name = wxPyVListBoxNameStr)
717 : wxHtmlListBox(parent, id, pos, size, style, name)
718 {}
719
720 // Overridable virtuals
721
722 // this method must be implemented in the derived class and should return
723 // the body (i.e. without <html>) of the HTML for the given item
724 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
725
726 // this function may be overridden to decorate HTML returned by OnGetItem()
727 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
728
729 // TODO:
730 // // this method allows to customize the selection appearance: it may be used
731 // // to specify the colour of the text which normally has the given colour
732 // // colFg when it is inside the selection
733 // //
734 // // by default, the original colour is not used at all and all text has the
735 // // same (default for this system) colour inside selection
736 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
737
738 // // this is the same as GetSelectedTextColour() but allows to customize the
739 // // background colour -- this is even more rarely used as you can change it
740 // // globally using SetSelectionBackground()
741 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
742
743
744 PYPRIVATE;
745 };
746
747
748 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
749
750 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
751 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
752
753
754
755
756
757 #ifdef __WXMAC__
758 // implement dummy classes and such for wxMac
759
760 class wxTaskBarIcon : public wxEvtHandler
761 {
762 public:
763 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
764 };
765
766
767 class wxTaskBarIconEvent : public wxEvent
768 {
769 public:
770 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
771 { wxPyRaiseNotImplemented(); }
772 virtual wxEvent* Clone() const { return NULL; }
773 };
774
775 enum {
776 wxEVT_TASKBAR_MOVE = 0,
777 wxEVT_TASKBAR_LEFT_DOWN = 0,
778 wxEVT_TASKBAR_LEFT_UP = 0,
779 wxEVT_TASKBAR_RIGHT_DOWN = 0,
780 wxEVT_TASKBAR_RIGHT_UP = 0,
781 wxEVT_TASKBAR_LEFT_DCLICK = 0,
782 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
783 };
784 #endif
785
786 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
787 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
788 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
789 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
790 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
791 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
792 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
793 wxArrayString arr;
794 self->GetFilenames(arr);
795 return wxArrayString2PyList_helper(arr);
796 }
797 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
798 wxArrayString arr;
799 self->GetPaths(arr);
800 return wxArrayString2PyList_helper(arr);
801 }
802 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
803 return wxArrayInt2PyList_helper(self->GetSelections());
804 }
805 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
806 return new wxSingleChoiceDialog(parent, message, caption,
807 choices, choices_array, NULL, style, pos);
808 }
809
810 #include <wx/mdi.h>
811
812 // C++ version of Python aware wxWindow
813 class wxPyWindow : public wxWindow
814 {
815 DECLARE_DYNAMIC_CLASS(wxPyWindow)
816 public:
817 wxPyWindow() : wxWindow() {}
818 wxPyWindow(wxWindow* parent, const wxWindowID id,
819 const wxPoint& pos = wxDefaultPosition,
820 const wxSize& size = wxDefaultSize,
821 long style = 0,
822 const wxString& name = wxPyPanelNameStr)
823 : wxWindow(parent, id, pos, size, style, name) {}
824
825
826 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
827 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
828 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
829 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
830
831 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
832 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
833 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
834
835 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
836 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
837
838 DEC_PYCALLBACK__(InitDialog);
839 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
840 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
841 DEC_PYCALLBACK_BOOL_(Validate);
842
843 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
844 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
845 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
846
847 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
848 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
849
850 PYPRIVATE;
851 };
852
853 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
854
855 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
856 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
857 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
858 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
859
860 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
861 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
862 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
863
864 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
865 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
866
867 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
868 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
869 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
870 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
871
872 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
873 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
874 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
875
876 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
877 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
878
879
880 // C++ version of Python aware wxPanel
881 class wxPyPanel : public wxPanel
882 {
883 DECLARE_DYNAMIC_CLASS(wxPyPanel)
884 public:
885 wxPyPanel() : wxPanel() {}
886 wxPyPanel(wxWindow* parent, const wxWindowID id,
887 const wxPoint& pos = wxDefaultPosition,
888 const wxSize& size = wxDefaultSize,
889 long style = 0,
890 const wxString& name = wxPyPanelNameStr)
891 : wxPanel(parent, id, pos, size, style, name) {}
892
893
894 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
895 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
896 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
897 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
898
899 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
900 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
901 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
902
903 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
904 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
905
906 DEC_PYCALLBACK__(InitDialog);
907 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
908 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
909 DEC_PYCALLBACK_BOOL_(Validate);
910
911 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
912 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
913 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
914
915 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
916 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
917
918 PYPRIVATE;
919 };
920
921 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
922
923 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
924 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
925 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
926 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
927
928 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
929 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
930 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
931
932 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
933 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
934
935 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
936 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
937 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
938 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
939
940 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
941 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
942 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
943
944 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
945 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
946
947
948
949 #include "wx/wxPython/printfw.h"
950
951
952 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
953 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
954
955
956
957 // Since this one would be tough and ugly to do with the Macros...
958 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
959 bool hadErr = False;
960 bool found;
961
962 wxPyBeginBlockThreads();
963 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
964 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
965 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
966 PyObject* val;
967
968 val = PyTuple_GetItem(result, 0);
969 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
970 else hadErr = True;
971
972 val = PyTuple_GetItem(result, 1);
973 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
974 else hadErr = True;
975
976 val = PyTuple_GetItem(result, 2);
977 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
978 else hadErr = True;
979
980 val = PyTuple_GetItem(result, 3);
981 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
982 else hadErr = True;
983 }
984 else
985 hadErr = True;
986
987 if (hadErr) {
988 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
989 PyErr_Print();
990 }
991 Py_DECREF(result);
992 }
993 wxPyEndBlockThreads();
994 if (! found)
995 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
996 }
997
998 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
999 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1000 }
1001
1002
1003 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1004 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1005 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1006 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1007 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1008 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1009 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1010
1011
1012
1013
1014
1015 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1016 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1017 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1018
1019
1020 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1021 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1022 bool rval=False; \
1023 bool found; \
1024 wxPyBeginBlockThreads(); \
1025 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1026 PyObject* win = wxPyMake_wxObject(a); \
1027 PyObject* dc = wxPyMake_wxObject(&b); \
1028 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1029 Py_DECREF(win); \
1030 Py_DECREF(dc); \
1031 } \
1032 wxPyEndBlockThreads(); \
1033 if (! found) \
1034 rval = PCLASS::CBNAME(a, b); \
1035 return rval; \
1036 } \
1037 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1038 return PCLASS::CBNAME(a, b); \
1039 }
1040
1041
1042
1043
1044 class wxPyPrintPreview : public wxPrintPreview
1045 {
1046 DECLARE_CLASS(wxPyPrintPreview)
1047 public:
1048 wxPyPrintPreview(wxPyPrintout* printout,
1049 wxPyPrintout* printoutForPrinting,
1050 wxPrintData* data=NULL)
1051 : wxPrintPreview(printout, printoutForPrinting, data)
1052 {}
1053
1054 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1055 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1056 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1057 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1058 DEC_PYCALLBACK_VOID_INT(SetZoom);
1059 DEC_PYCALLBACK_BOOL_BOOL(Print);
1060 DEC_PYCALLBACK_VOID_(DetermineScaling);
1061
1062 PYPRIVATE;
1063 };
1064
1065 // Stupid renamed classes... Fix this in 2.5...
1066 #if defined(__WXMSW__)
1067 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1068 #elif defined(__WXMAC__)
1069 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1070 #else
1071 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1072 #endif
1073
1074 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1075 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1076 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1077 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1078 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1079 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1080 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1081
1082
1083 class wxPyPreviewFrame : public wxPreviewFrame
1084 {
1085 DECLARE_CLASS(wxPyPreviewFrame);
1086 public:
1087 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1088 const wxString& title,
1089 const wxPoint& pos = wxDefaultPosition,
1090 const wxSize& size = wxDefaultSize,
1091 long style = wxDEFAULT_FRAME_STYLE,
1092 const wxString& name = wxPyFrameNameStr)
1093 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1094 {}
1095
1096 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1097 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1098
1099 DEC_PYCALLBACK_VOID_(Initialize);
1100 DEC_PYCALLBACK_VOID_(CreateCanvas);
1101 DEC_PYCALLBACK_VOID_(CreateControlBar);
1102
1103 PYPRIVATE;
1104 };
1105
1106 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1107
1108 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1109 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1110 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1111
1112
1113 class wxPyPreviewControlBar : public wxPreviewControlBar
1114 {
1115 DECLARE_CLASS(wxPyPreviewControlBar);
1116 public:
1117 wxPyPreviewControlBar(wxPrintPreview *preview,
1118 long buttons,
1119 wxWindow *parent,
1120 const wxPoint& pos = wxDefaultPosition,
1121 const wxSize& size = wxDefaultSize,
1122 long style = 0,
1123 const wxString& name = wxPyPanelNameStr)
1124 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1125 {}
1126
1127 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1128
1129 DEC_PYCALLBACK_VOID_(CreateButtons);
1130 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1131
1132 PYPRIVATE;
1133 };
1134
1135 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1136 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1137 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1138
1139 #ifdef __cplusplus
1140 extern "C" {
1141 #endif
1142 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1143 PyObject *resultobj;
1144 wxWindow *arg1 = (wxWindow *) 0 ;
1145 int arg2 = (int) (int)-1 ;
1146 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1147 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1148 wxSize const &arg4_defvalue = wxDefaultSize ;
1149 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1150 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1151 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1152 wxString *arg6 = (wxString *) &arg6_defvalue ;
1153 wxPanel *result;
1154 wxPoint temp3 ;
1155 wxSize temp4 ;
1156 bool temp6 = False ;
1157 PyObject * obj0 = 0 ;
1158 PyObject * obj2 = 0 ;
1159 PyObject * obj3 = 0 ;
1160 PyObject * obj5 = 0 ;
1161 char *kwnames[] = {
1162 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1163 };
1164
1165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1167 if (obj2) {
1168 {
1169 arg3 = &temp3;
1170 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1171 }
1172 }
1173 if (obj3) {
1174 {
1175 arg4 = &temp4;
1176 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1177 }
1178 }
1179 if (obj5) {
1180 {
1181 arg6 = wxString_in_helper(obj5);
1182 if (arg6 == NULL) SWIG_fail;
1183 temp6 = True;
1184 }
1185 }
1186 {
1187 PyThreadState* __tstate = wxPyBeginAllowThreads();
1188 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1189
1190 wxPyEndAllowThreads(__tstate);
1191 if (PyErr_Occurred()) SWIG_fail;
1192 }
1193 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1194 {
1195 if (temp6)
1196 delete arg6;
1197 }
1198 return resultobj;
1199 fail:
1200 {
1201 if (temp6)
1202 delete arg6;
1203 }
1204 return NULL;
1205 }
1206
1207
1208 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1209 PyObject *resultobj;
1210 wxPanel *result;
1211 char *kwnames[] = {
1212 NULL
1213 };
1214
1215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1216 {
1217 PyThreadState* __tstate = wxPyBeginAllowThreads();
1218 result = (wxPanel *)new wxPanel();
1219
1220 wxPyEndAllowThreads(__tstate);
1221 if (PyErr_Occurred()) SWIG_fail;
1222 }
1223 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1224 return resultobj;
1225 fail:
1226 return NULL;
1227 }
1228
1229
1230 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1231 PyObject *resultobj;
1232 wxPanel *arg1 = (wxPanel *) 0 ;
1233 wxWindow *arg2 = (wxWindow *) 0 ;
1234 int arg3 ;
1235 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1236 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1237 wxSize const &arg5_defvalue = wxDefaultSize ;
1238 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1239 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1240 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1241 wxString *arg7 = (wxString *) &arg7_defvalue ;
1242 bool result;
1243 wxPoint temp4 ;
1244 wxSize temp5 ;
1245 bool temp7 = False ;
1246 PyObject * obj0 = 0 ;
1247 PyObject * obj1 = 0 ;
1248 PyObject * obj3 = 0 ;
1249 PyObject * obj4 = 0 ;
1250 PyObject * obj6 = 0 ;
1251 char *kwnames[] = {
1252 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1253 };
1254
1255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1257 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1258 if (obj3) {
1259 {
1260 arg4 = &temp4;
1261 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1262 }
1263 }
1264 if (obj4) {
1265 {
1266 arg5 = &temp5;
1267 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1268 }
1269 }
1270 if (obj6) {
1271 {
1272 arg7 = wxString_in_helper(obj6);
1273 if (arg7 == NULL) SWIG_fail;
1274 temp7 = True;
1275 }
1276 }
1277 {
1278 PyThreadState* __tstate = wxPyBeginAllowThreads();
1279 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1280
1281 wxPyEndAllowThreads(__tstate);
1282 if (PyErr_Occurred()) SWIG_fail;
1283 }
1284 resultobj = PyInt_FromLong((long)result);
1285 {
1286 if (temp7)
1287 delete arg7;
1288 }
1289 return resultobj;
1290 fail:
1291 {
1292 if (temp7)
1293 delete arg7;
1294 }
1295 return NULL;
1296 }
1297
1298
1299 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1300 PyObject *resultobj;
1301 wxPanel *arg1 = (wxPanel *) 0 ;
1302 PyObject * obj0 = 0 ;
1303 char *kwnames[] = {
1304 (char *) "self", NULL
1305 };
1306
1307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1309 {
1310 PyThreadState* __tstate = wxPyBeginAllowThreads();
1311 (arg1)->InitDialog();
1312
1313 wxPyEndAllowThreads(__tstate);
1314 if (PyErr_Occurred()) SWIG_fail;
1315 }
1316 Py_INCREF(Py_None); resultobj = Py_None;
1317 return resultobj;
1318 fail:
1319 return NULL;
1320 }
1321
1322
1323 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1324 PyObject *obj;
1325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1326 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1327 Py_INCREF(obj);
1328 return Py_BuildValue((char *)"");
1329 }
1330 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1331 PyObject *resultobj;
1332 wxWindow *arg1 = (wxWindow *) 0 ;
1333 int arg2 = (int) (int)-1 ;
1334 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1335 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1336 wxSize const &arg4_defvalue = wxDefaultSize ;
1337 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1338 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1339 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1340 wxString *arg6 = (wxString *) &arg6_defvalue ;
1341 wxScrolledWindow *result;
1342 wxPoint temp3 ;
1343 wxSize temp4 ;
1344 bool temp6 = False ;
1345 PyObject * obj0 = 0 ;
1346 PyObject * obj2 = 0 ;
1347 PyObject * obj3 = 0 ;
1348 PyObject * obj5 = 0 ;
1349 char *kwnames[] = {
1350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1351 };
1352
1353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1355 if (obj2) {
1356 {
1357 arg3 = &temp3;
1358 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1359 }
1360 }
1361 if (obj3) {
1362 {
1363 arg4 = &temp4;
1364 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1365 }
1366 }
1367 if (obj5) {
1368 {
1369 arg6 = wxString_in_helper(obj5);
1370 if (arg6 == NULL) SWIG_fail;
1371 temp6 = True;
1372 }
1373 }
1374 {
1375 PyThreadState* __tstate = wxPyBeginAllowThreads();
1376 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1377
1378 wxPyEndAllowThreads(__tstate);
1379 if (PyErr_Occurred()) SWIG_fail;
1380 }
1381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1382 {
1383 if (temp6)
1384 delete arg6;
1385 }
1386 return resultobj;
1387 fail:
1388 {
1389 if (temp6)
1390 delete arg6;
1391 }
1392 return NULL;
1393 }
1394
1395
1396 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1397 PyObject *resultobj;
1398 wxScrolledWindow *result;
1399 char *kwnames[] = {
1400 NULL
1401 };
1402
1403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1404 {
1405 PyThreadState* __tstate = wxPyBeginAllowThreads();
1406 result = (wxScrolledWindow *)new wxScrolledWindow();
1407
1408 wxPyEndAllowThreads(__tstate);
1409 if (PyErr_Occurred()) SWIG_fail;
1410 }
1411 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1412 return resultobj;
1413 fail:
1414 return NULL;
1415 }
1416
1417
1418 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1419 PyObject *resultobj;
1420 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1421 wxWindow *arg2 = (wxWindow *) 0 ;
1422 int arg3 = (int) (int)-1 ;
1423 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1424 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1425 wxSize const &arg5_defvalue = wxDefaultSize ;
1426 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1427 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1428 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1429 wxString *arg7 = (wxString *) &arg7_defvalue ;
1430 bool result;
1431 wxPoint temp4 ;
1432 wxSize temp5 ;
1433 bool temp7 = False ;
1434 PyObject * obj0 = 0 ;
1435 PyObject * obj1 = 0 ;
1436 PyObject * obj3 = 0 ;
1437 PyObject * obj4 = 0 ;
1438 PyObject * obj6 = 0 ;
1439 char *kwnames[] = {
1440 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1441 };
1442
1443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1445 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1446 if (obj3) {
1447 {
1448 arg4 = &temp4;
1449 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1450 }
1451 }
1452 if (obj4) {
1453 {
1454 arg5 = &temp5;
1455 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1456 }
1457 }
1458 if (obj6) {
1459 {
1460 arg7 = wxString_in_helper(obj6);
1461 if (arg7 == NULL) SWIG_fail;
1462 temp7 = True;
1463 }
1464 }
1465 {
1466 PyThreadState* __tstate = wxPyBeginAllowThreads();
1467 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1468
1469 wxPyEndAllowThreads(__tstate);
1470 if (PyErr_Occurred()) SWIG_fail;
1471 }
1472 resultobj = PyInt_FromLong((long)result);
1473 {
1474 if (temp7)
1475 delete arg7;
1476 }
1477 return resultobj;
1478 fail:
1479 {
1480 if (temp7)
1481 delete arg7;
1482 }
1483 return NULL;
1484 }
1485
1486
1487 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1488 PyObject *resultobj;
1489 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1490 int arg2 ;
1491 int arg3 ;
1492 int arg4 ;
1493 int arg5 ;
1494 int arg6 = (int) 0 ;
1495 int arg7 = (int) 0 ;
1496 bool arg8 = (bool) False ;
1497 PyObject * obj0 = 0 ;
1498 PyObject * obj7 = 0 ;
1499 char *kwnames[] = {
1500 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1501 };
1502
1503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1505 if (obj7) {
1506 {
1507 arg8 = (bool) SPyObj_AsBool(obj7);
1508 if (PyErr_Occurred()) SWIG_fail;
1509 }
1510 }
1511 {
1512 PyThreadState* __tstate = wxPyBeginAllowThreads();
1513 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1514
1515 wxPyEndAllowThreads(__tstate);
1516 if (PyErr_Occurred()) SWIG_fail;
1517 }
1518 Py_INCREF(Py_None); resultobj = Py_None;
1519 return resultobj;
1520 fail:
1521 return NULL;
1522 }
1523
1524
1525 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1526 PyObject *resultobj;
1527 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1528 int arg2 ;
1529 int arg3 ;
1530 PyObject * obj0 = 0 ;
1531 char *kwnames[] = {
1532 (char *) "self",(char *) "x",(char *) "y", NULL
1533 };
1534
1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1537 {
1538 PyThreadState* __tstate = wxPyBeginAllowThreads();
1539 (arg1)->Scroll(arg2,arg3);
1540
1541 wxPyEndAllowThreads(__tstate);
1542 if (PyErr_Occurred()) SWIG_fail;
1543 }
1544 Py_INCREF(Py_None); resultobj = Py_None;
1545 return resultobj;
1546 fail:
1547 return NULL;
1548 }
1549
1550
1551 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1552 PyObject *resultobj;
1553 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1554 int arg2 ;
1555 int result;
1556 PyObject * obj0 = 0 ;
1557 char *kwnames[] = {
1558 (char *) "self",(char *) "orient", NULL
1559 };
1560
1561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1563 {
1564 PyThreadState* __tstate = wxPyBeginAllowThreads();
1565 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1566
1567 wxPyEndAllowThreads(__tstate);
1568 if (PyErr_Occurred()) SWIG_fail;
1569 }
1570 resultobj = PyInt_FromLong((long)result);
1571 return resultobj;
1572 fail:
1573 return NULL;
1574 }
1575
1576
1577 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1578 PyObject *resultobj;
1579 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1580 int arg2 ;
1581 int arg3 ;
1582 PyObject * obj0 = 0 ;
1583 char *kwnames[] = {
1584 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1585 };
1586
1587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1589 {
1590 PyThreadState* __tstate = wxPyBeginAllowThreads();
1591 (arg1)->SetScrollPageSize(arg2,arg3);
1592
1593 wxPyEndAllowThreads(__tstate);
1594 if (PyErr_Occurred()) SWIG_fail;
1595 }
1596 Py_INCREF(Py_None); resultobj = Py_None;
1597 return resultobj;
1598 fail:
1599 return NULL;
1600 }
1601
1602
1603 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1604 PyObject *resultobj;
1605 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1606 int arg2 ;
1607 int arg3 ;
1608 PyObject * obj0 = 0 ;
1609 char *kwnames[] = {
1610 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1611 };
1612
1613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1615 {
1616 PyThreadState* __tstate = wxPyBeginAllowThreads();
1617 (arg1)->SetScrollRate(arg2,arg3);
1618
1619 wxPyEndAllowThreads(__tstate);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 }
1622 Py_INCREF(Py_None); resultobj = Py_None;
1623 return resultobj;
1624 fail:
1625 return NULL;
1626 }
1627
1628
1629 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1630 PyObject *resultobj;
1631 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1632 int *arg2 = (int *) 0 ;
1633 int *arg3 = (int *) 0 ;
1634 int temp2 ;
1635 int temp3 ;
1636 PyObject * obj0 = 0 ;
1637 char *kwnames[] = {
1638 (char *) "self", NULL
1639 };
1640
1641 arg2 = &temp2;
1642 arg3 = &temp3;
1643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1645 {
1646 PyThreadState* __tstate = wxPyBeginAllowThreads();
1647 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1648
1649 wxPyEndAllowThreads(__tstate);
1650 if (PyErr_Occurred()) SWIG_fail;
1651 }
1652 Py_INCREF(Py_None); resultobj = Py_None;
1653 {
1654 PyObject *o = PyInt_FromLong((long) (*arg2));
1655 resultobj = t_output_helper(resultobj,o);
1656 }
1657 {
1658 PyObject *o = PyInt_FromLong((long) (*arg3));
1659 resultobj = t_output_helper(resultobj,o);
1660 }
1661 return resultobj;
1662 fail:
1663 return NULL;
1664 }
1665
1666
1667 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject *resultobj;
1669 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1670 bool arg2 ;
1671 bool arg3 ;
1672 PyObject * obj0 = 0 ;
1673 PyObject * obj1 = 0 ;
1674 PyObject * obj2 = 0 ;
1675 char *kwnames[] = {
1676 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1677 };
1678
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1681 {
1682 arg2 = (bool) SPyObj_AsBool(obj1);
1683 if (PyErr_Occurred()) SWIG_fail;
1684 }
1685 {
1686 arg3 = (bool) SPyObj_AsBool(obj2);
1687 if (PyErr_Occurred()) SWIG_fail;
1688 }
1689 {
1690 PyThreadState* __tstate = wxPyBeginAllowThreads();
1691 (arg1)->EnableScrolling(arg2,arg3);
1692
1693 wxPyEndAllowThreads(__tstate);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 }
1696 Py_INCREF(Py_None); resultobj = Py_None;
1697 return resultobj;
1698 fail:
1699 return NULL;
1700 }
1701
1702
1703 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1704 PyObject *resultobj;
1705 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1706 int *arg2 = (int *) 0 ;
1707 int *arg3 = (int *) 0 ;
1708 int temp2 ;
1709 int temp3 ;
1710 PyObject * obj0 = 0 ;
1711 char *kwnames[] = {
1712 (char *) "self", NULL
1713 };
1714
1715 arg2 = &temp2;
1716 arg3 = &temp3;
1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1719 {
1720 PyThreadState* __tstate = wxPyBeginAllowThreads();
1721 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1722
1723 wxPyEndAllowThreads(__tstate);
1724 if (PyErr_Occurred()) SWIG_fail;
1725 }
1726 Py_INCREF(Py_None); resultobj = Py_None;
1727 {
1728 PyObject *o = PyInt_FromLong((long) (*arg2));
1729 resultobj = t_output_helper(resultobj,o);
1730 }
1731 {
1732 PyObject *o = PyInt_FromLong((long) (*arg3));
1733 resultobj = t_output_helper(resultobj,o);
1734 }
1735 return resultobj;
1736 fail:
1737 return NULL;
1738 }
1739
1740
1741 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1742 PyObject *resultobj;
1743 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1744 double arg2 ;
1745 double arg3 ;
1746 PyObject * obj0 = 0 ;
1747 char *kwnames[] = {
1748 (char *) "self",(char *) "xs",(char *) "ys", NULL
1749 };
1750
1751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1753 {
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
1755 (arg1)->SetScale(arg2,arg3);
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) SWIG_fail;
1759 }
1760 Py_INCREF(Py_None); resultobj = Py_None;
1761 return resultobj;
1762 fail:
1763 return NULL;
1764 }
1765
1766
1767 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject *resultobj;
1769 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1770 double result;
1771 PyObject * obj0 = 0 ;
1772 char *kwnames[] = {
1773 (char *) "self", NULL
1774 };
1775
1776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1778 {
1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
1780 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1781
1782 wxPyEndAllowThreads(__tstate);
1783 if (PyErr_Occurred()) SWIG_fail;
1784 }
1785 resultobj = PyFloat_FromDouble(result);
1786 return resultobj;
1787 fail:
1788 return NULL;
1789 }
1790
1791
1792 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1795 double result;
1796 PyObject * obj0 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1803 {
1804 PyThreadState* __tstate = wxPyBeginAllowThreads();
1805 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1806
1807 wxPyEndAllowThreads(__tstate);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 resultobj = PyFloat_FromDouble(result);
1811 return resultobj;
1812 fail:
1813 return NULL;
1814 }
1815
1816
1817 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1818 PyObject *resultobj;
1819 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1820 wxPoint *arg2 = 0 ;
1821 wxPoint result;
1822 wxPoint temp2 ;
1823 PyObject * obj0 = 0 ;
1824 PyObject * obj1 = 0 ;
1825
1826 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1828 {
1829 arg2 = &temp2;
1830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1831 }
1832 {
1833 PyThreadState* __tstate = wxPyBeginAllowThreads();
1834 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1835
1836 wxPyEndAllowThreads(__tstate);
1837 if (PyErr_Occurred()) SWIG_fail;
1838 }
1839 {
1840 wxPoint * resultptr;
1841 resultptr = new wxPoint((wxPoint &) result);
1842 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1843 }
1844 return resultobj;
1845 fail:
1846 return NULL;
1847 }
1848
1849
1850 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1851 PyObject *resultobj;
1852 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1853 int arg2 ;
1854 int arg3 ;
1855 int *arg4 = (int *) 0 ;
1856 int *arg5 = (int *) 0 ;
1857 int temp4 ;
1858 int temp5 ;
1859 PyObject * obj0 = 0 ;
1860
1861 arg4 = &temp4;
1862 arg5 = &temp5;
1863 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1865 {
1866 PyThreadState* __tstate = wxPyBeginAllowThreads();
1867 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1868
1869 wxPyEndAllowThreads(__tstate);
1870 if (PyErr_Occurred()) SWIG_fail;
1871 }
1872 Py_INCREF(Py_None); resultobj = Py_None;
1873 {
1874 PyObject *o = PyInt_FromLong((long) (*arg4));
1875 resultobj = t_output_helper(resultobj,o);
1876 }
1877 {
1878 PyObject *o = PyInt_FromLong((long) (*arg5));
1879 resultobj = t_output_helper(resultobj,o);
1880 }
1881 return resultobj;
1882 fail:
1883 return NULL;
1884 }
1885
1886
1887 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1888 int argc;
1889 PyObject *argv[4];
1890 int ii;
1891
1892 argc = PyObject_Length(args);
1893 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1894 argv[ii] = PyTuple_GetItem(args,ii);
1895 }
1896 if (argc == 2) {
1897 int _v;
1898 {
1899 void *ptr;
1900 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1901 _v = 0;
1902 PyErr_Clear();
1903 } else {
1904 _v = 1;
1905 }
1906 }
1907 if (_v) {
1908 {
1909 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1910 }
1911 if (_v) {
1912 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1913 }
1914 }
1915 }
1916 if (argc == 3) {
1917 int _v;
1918 {
1919 void *ptr;
1920 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1921 _v = 0;
1922 PyErr_Clear();
1923 } else {
1924 _v = 1;
1925 }
1926 }
1927 if (_v) {
1928 {
1929 SPyObj_AsInt(argv[1]);
1930 if (PyErr_Occurred()) {
1931 _v = 0;
1932 PyErr_Clear();
1933 } else {
1934 _v = 1;
1935 }
1936 }
1937 if (_v) {
1938 {
1939 SPyObj_AsInt(argv[2]);
1940 if (PyErr_Occurred()) {
1941 _v = 0;
1942 PyErr_Clear();
1943 } else {
1944 _v = 1;
1945 }
1946 }
1947 if (_v) {
1948 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1949 }
1950 }
1951 }
1952 }
1953
1954 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1955 return NULL;
1956 }
1957
1958
1959 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1960 PyObject *resultobj;
1961 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1962 wxPoint *arg2 = 0 ;
1963 wxPoint result;
1964 wxPoint temp2 ;
1965 PyObject * obj0 = 0 ;
1966 PyObject * obj1 = 0 ;
1967
1968 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1970 {
1971 arg2 = &temp2;
1972 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1973 }
1974 {
1975 PyThreadState* __tstate = wxPyBeginAllowThreads();
1976 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1977
1978 wxPyEndAllowThreads(__tstate);
1979 if (PyErr_Occurred()) SWIG_fail;
1980 }
1981 {
1982 wxPoint * resultptr;
1983 resultptr = new wxPoint((wxPoint &) result);
1984 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1985 }
1986 return resultobj;
1987 fail:
1988 return NULL;
1989 }
1990
1991
1992 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1993 PyObject *resultobj;
1994 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1995 int arg2 ;
1996 int arg3 ;
1997 int *arg4 = (int *) 0 ;
1998 int *arg5 = (int *) 0 ;
1999 int temp4 ;
2000 int temp5 ;
2001 PyObject * obj0 = 0 ;
2002
2003 arg4 = &temp4;
2004 arg5 = &temp5;
2005 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
2006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2007 {
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2010
2011 wxPyEndAllowThreads(__tstate);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 }
2014 Py_INCREF(Py_None); resultobj = Py_None;
2015 {
2016 PyObject *o = PyInt_FromLong((long) (*arg4));
2017 resultobj = t_output_helper(resultobj,o);
2018 }
2019 {
2020 PyObject *o = PyInt_FromLong((long) (*arg5));
2021 resultobj = t_output_helper(resultobj,o);
2022 }
2023 return resultobj;
2024 fail:
2025 return NULL;
2026 }
2027
2028
2029 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2030 int argc;
2031 PyObject *argv[4];
2032 int ii;
2033
2034 argc = PyObject_Length(args);
2035 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2036 argv[ii] = PyTuple_GetItem(args,ii);
2037 }
2038 if (argc == 2) {
2039 int _v;
2040 {
2041 void *ptr;
2042 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2043 _v = 0;
2044 PyErr_Clear();
2045 } else {
2046 _v = 1;
2047 }
2048 }
2049 if (_v) {
2050 {
2051 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2052 }
2053 if (_v) {
2054 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2055 }
2056 }
2057 }
2058 if (argc == 3) {
2059 int _v;
2060 {
2061 void *ptr;
2062 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2063 _v = 0;
2064 PyErr_Clear();
2065 } else {
2066 _v = 1;
2067 }
2068 }
2069 if (_v) {
2070 {
2071 SPyObj_AsInt(argv[1]);
2072 if (PyErr_Occurred()) {
2073 _v = 0;
2074 PyErr_Clear();
2075 } else {
2076 _v = 1;
2077 }
2078 }
2079 if (_v) {
2080 {
2081 SPyObj_AsInt(argv[2]);
2082 if (PyErr_Occurred()) {
2083 _v = 0;
2084 PyErr_Clear();
2085 } else {
2086 _v = 1;
2087 }
2088 }
2089 if (_v) {
2090 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2091 }
2092 }
2093 }
2094 }
2095
2096 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2097 return NULL;
2098 }
2099
2100
2101 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2102 PyObject *resultobj;
2103 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2104 PyObject * obj0 = 0 ;
2105 char *kwnames[] = {
2106 (char *) "self", NULL
2107 };
2108
2109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2111 {
2112 PyThreadState* __tstate = wxPyBeginAllowThreads();
2113 (arg1)->AdjustScrollbars();
2114
2115 wxPyEndAllowThreads(__tstate);
2116 if (PyErr_Occurred()) SWIG_fail;
2117 }
2118 Py_INCREF(Py_None); resultobj = Py_None;
2119 return resultobj;
2120 fail:
2121 return NULL;
2122 }
2123
2124
2125 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2126 PyObject *resultobj;
2127 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2128 wxScrollWinEvent *arg2 = 0 ;
2129 int result;
2130 PyObject * obj0 = 0 ;
2131 PyObject * obj1 = 0 ;
2132 char *kwnames[] = {
2133 (char *) "self",(char *) "event", NULL
2134 };
2135
2136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2138 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2139 if (arg2 == NULL) {
2140 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2141 }
2142 {
2143 PyThreadState* __tstate = wxPyBeginAllowThreads();
2144 result = (int)(arg1)->CalcScrollInc(*arg2);
2145
2146 wxPyEndAllowThreads(__tstate);
2147 if (PyErr_Occurred()) SWIG_fail;
2148 }
2149 resultobj = PyInt_FromLong((long)result);
2150 return resultobj;
2151 fail:
2152 return NULL;
2153 }
2154
2155
2156 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2157 PyObject *resultobj;
2158 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2159 wxWindow *arg2 = (wxWindow *) 0 ;
2160 PyObject * obj0 = 0 ;
2161 PyObject * obj1 = 0 ;
2162 char *kwnames[] = {
2163 (char *) "self",(char *) "target", NULL
2164 };
2165
2166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2169 {
2170 PyThreadState* __tstate = wxPyBeginAllowThreads();
2171 (arg1)->SetTargetWindow(arg2);
2172
2173 wxPyEndAllowThreads(__tstate);
2174 if (PyErr_Occurred()) SWIG_fail;
2175 }
2176 Py_INCREF(Py_None); resultobj = Py_None;
2177 return resultobj;
2178 fail:
2179 return NULL;
2180 }
2181
2182
2183 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2184 PyObject *resultobj;
2185 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2186 wxWindow *result;
2187 PyObject * obj0 = 0 ;
2188 char *kwnames[] = {
2189 (char *) "self", NULL
2190 };
2191
2192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2194 {
2195 PyThreadState* __tstate = wxPyBeginAllowThreads();
2196 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2197
2198 wxPyEndAllowThreads(__tstate);
2199 if (PyErr_Occurred()) SWIG_fail;
2200 }
2201 {
2202 resultobj = wxPyMake_wxObject(result);
2203 }
2204 return resultobj;
2205 fail:
2206 return NULL;
2207 }
2208
2209
2210 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2211 PyObject *resultobj;
2212 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2213 wxRect *arg2 = 0 ;
2214 wxRect temp2 ;
2215 PyObject * obj0 = 0 ;
2216 PyObject * obj1 = 0 ;
2217 char *kwnames[] = {
2218 (char *) "self",(char *) "rect", NULL
2219 };
2220
2221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2223 {
2224 arg2 = &temp2;
2225 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2226 }
2227 {
2228 PyThreadState* __tstate = wxPyBeginAllowThreads();
2229 (arg1)->SetTargetRect((wxRect const &)*arg2);
2230
2231 wxPyEndAllowThreads(__tstate);
2232 if (PyErr_Occurred()) SWIG_fail;
2233 }
2234 Py_INCREF(Py_None); resultobj = Py_None;
2235 return resultobj;
2236 fail:
2237 return NULL;
2238 }
2239
2240
2241 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2242 PyObject *resultobj;
2243 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2244 wxRect result;
2245 PyObject * obj0 = 0 ;
2246 char *kwnames[] = {
2247 (char *) "self", NULL
2248 };
2249
2250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2252 {
2253 PyThreadState* __tstate = wxPyBeginAllowThreads();
2254 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2255
2256 wxPyEndAllowThreads(__tstate);
2257 if (PyErr_Occurred()) SWIG_fail;
2258 }
2259 {
2260 wxRect * resultptr;
2261 resultptr = new wxRect((wxRect &) result);
2262 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2263 }
2264 return resultobj;
2265 fail:
2266 return NULL;
2267 }
2268
2269
2270 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2271 PyObject *obj;
2272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2273 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2274 Py_INCREF(obj);
2275 return Py_BuildValue((char *)"");
2276 }
2277 static int _wrap_FrameNameStr_set(PyObject *_val) {
2278 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2279 return 1;
2280 }
2281
2282
2283 static PyObject *_wrap_FrameNameStr_get() {
2284 PyObject *pyobj;
2285
2286 {
2287 #if wxUSE_UNICODE
2288 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2289 #else
2290 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2291 #endif
2292 }
2293 return pyobj;
2294 }
2295
2296
2297 static int _wrap_DialogNameStr_set(PyObject *_val) {
2298 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2299 return 1;
2300 }
2301
2302
2303 static PyObject *_wrap_DialogNameStr_get() {
2304 PyObject *pyobj;
2305
2306 {
2307 #if wxUSE_UNICODE
2308 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2309 #else
2310 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2311 #endif
2312 }
2313 return pyobj;
2314 }
2315
2316
2317 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2318 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2319 return 1;
2320 }
2321
2322
2323 static PyObject *_wrap_StatusLineNameStr_get() {
2324 PyObject *pyobj;
2325
2326 {
2327 #if wxUSE_UNICODE
2328 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2329 #else
2330 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2331 #endif
2332 }
2333 return pyobj;
2334 }
2335
2336
2337 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2338 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2339 return 1;
2340 }
2341
2342
2343 static PyObject *_wrap_ToolBarNameStr_get() {
2344 PyObject *pyobj;
2345
2346 {
2347 #if wxUSE_UNICODE
2348 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2349 #else
2350 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2351 #endif
2352 }
2353 return pyobj;
2354 }
2355
2356
2357 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2358 PyObject *resultobj;
2359 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2360 bool arg2 = (bool) True ;
2361 PyObject * obj0 = 0 ;
2362 PyObject * obj1 = 0 ;
2363 char *kwnames[] = {
2364 (char *) "self",(char *) "maximize", NULL
2365 };
2366
2367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2369 if (obj1) {
2370 {
2371 arg2 = (bool) SPyObj_AsBool(obj1);
2372 if (PyErr_Occurred()) SWIG_fail;
2373 }
2374 }
2375 {
2376 PyThreadState* __tstate = wxPyBeginAllowThreads();
2377 (arg1)->Maximize(arg2);
2378
2379 wxPyEndAllowThreads(__tstate);
2380 if (PyErr_Occurred()) SWIG_fail;
2381 }
2382 Py_INCREF(Py_None); resultobj = Py_None;
2383 return resultobj;
2384 fail:
2385 return NULL;
2386 }
2387
2388
2389 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2390 PyObject *resultobj;
2391 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2392 PyObject * obj0 = 0 ;
2393 char *kwnames[] = {
2394 (char *) "self", NULL
2395 };
2396
2397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2399 {
2400 PyThreadState* __tstate = wxPyBeginAllowThreads();
2401 (arg1)->Restore();
2402
2403 wxPyEndAllowThreads(__tstate);
2404 if (PyErr_Occurred()) SWIG_fail;
2405 }
2406 Py_INCREF(Py_None); resultobj = Py_None;
2407 return resultobj;
2408 fail:
2409 return NULL;
2410 }
2411
2412
2413 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2414 PyObject *resultobj;
2415 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2416 bool arg2 = (bool) True ;
2417 PyObject * obj0 = 0 ;
2418 PyObject * obj1 = 0 ;
2419 char *kwnames[] = {
2420 (char *) "self",(char *) "iconize", NULL
2421 };
2422
2423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2425 if (obj1) {
2426 {
2427 arg2 = (bool) SPyObj_AsBool(obj1);
2428 if (PyErr_Occurred()) SWIG_fail;
2429 }
2430 }
2431 {
2432 PyThreadState* __tstate = wxPyBeginAllowThreads();
2433 (arg1)->Iconize(arg2);
2434
2435 wxPyEndAllowThreads(__tstate);
2436 if (PyErr_Occurred()) SWIG_fail;
2437 }
2438 Py_INCREF(Py_None); resultobj = Py_None;
2439 return resultobj;
2440 fail:
2441 return NULL;
2442 }
2443
2444
2445 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2446 PyObject *resultobj;
2447 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2448 bool result;
2449 PyObject * obj0 = 0 ;
2450 char *kwnames[] = {
2451 (char *) "self", NULL
2452 };
2453
2454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2456 {
2457 PyThreadState* __tstate = wxPyBeginAllowThreads();
2458 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2459
2460 wxPyEndAllowThreads(__tstate);
2461 if (PyErr_Occurred()) SWIG_fail;
2462 }
2463 resultobj = PyInt_FromLong((long)result);
2464 return resultobj;
2465 fail:
2466 return NULL;
2467 }
2468
2469
2470 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2471 PyObject *resultobj;
2472 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2473 bool result;
2474 PyObject * obj0 = 0 ;
2475 char *kwnames[] = {
2476 (char *) "self", NULL
2477 };
2478
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2481 {
2482 PyThreadState* __tstate = wxPyBeginAllowThreads();
2483 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2484
2485 wxPyEndAllowThreads(__tstate);
2486 if (PyErr_Occurred()) SWIG_fail;
2487 }
2488 resultobj = PyInt_FromLong((long)result);
2489 return resultobj;
2490 fail:
2491 return NULL;
2492 }
2493
2494
2495 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2496 PyObject *resultobj;
2497 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2498 wxIcon result;
2499 PyObject * obj0 = 0 ;
2500 char *kwnames[] = {
2501 (char *) "self", NULL
2502 };
2503
2504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2506 {
2507 PyThreadState* __tstate = wxPyBeginAllowThreads();
2508 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2509
2510 wxPyEndAllowThreads(__tstate);
2511 if (PyErr_Occurred()) SWIG_fail;
2512 }
2513 {
2514 wxIcon * resultptr;
2515 resultptr = new wxIcon((wxIcon &) result);
2516 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2517 }
2518 return resultobj;
2519 fail:
2520 return NULL;
2521 }
2522
2523
2524 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2525 PyObject *resultobj;
2526 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2527 wxIcon *arg2 = 0 ;
2528 PyObject * obj0 = 0 ;
2529 PyObject * obj1 = 0 ;
2530 char *kwnames[] = {
2531 (char *) "self",(char *) "icon", NULL
2532 };
2533
2534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2536 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2537 if (arg2 == NULL) {
2538 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2539 }
2540 {
2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
2542 (arg1)->SetIcon((wxIcon const &)*arg2);
2543
2544 wxPyEndAllowThreads(__tstate);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 Py_INCREF(Py_None); resultobj = Py_None;
2548 return resultobj;
2549 fail:
2550 return NULL;
2551 }
2552
2553
2554 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2555 PyObject *resultobj;
2556 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2557 wxIconBundle *arg2 = 0 ;
2558 PyObject * obj0 = 0 ;
2559 PyObject * obj1 = 0 ;
2560 char *kwnames[] = {
2561 (char *) "self",(char *) "icons", NULL
2562 };
2563
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2566 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2567 if (arg2 == NULL) {
2568 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2569 }
2570 {
2571 PyThreadState* __tstate = wxPyBeginAllowThreads();
2572 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2573
2574 wxPyEndAllowThreads(__tstate);
2575 if (PyErr_Occurred()) SWIG_fail;
2576 }
2577 Py_INCREF(Py_None); resultobj = Py_None;
2578 return resultobj;
2579 fail:
2580 return NULL;
2581 }
2582
2583
2584 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2585 PyObject *resultobj;
2586 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2587 bool arg2 ;
2588 long arg3 = (long) wxFULLSCREEN_ALL ;
2589 bool result;
2590 PyObject * obj0 = 0 ;
2591 PyObject * obj1 = 0 ;
2592 char *kwnames[] = {
2593 (char *) "self",(char *) "show",(char *) "style", NULL
2594 };
2595
2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2598 {
2599 arg2 = (bool) SPyObj_AsBool(obj1);
2600 if (PyErr_Occurred()) SWIG_fail;
2601 }
2602 {
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
2604 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2605
2606 wxPyEndAllowThreads(__tstate);
2607 if (PyErr_Occurred()) SWIG_fail;
2608 }
2609 resultobj = PyInt_FromLong((long)result);
2610 return resultobj;
2611 fail:
2612 return NULL;
2613 }
2614
2615
2616 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2617 PyObject *resultobj;
2618 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2619 bool result;
2620 PyObject * obj0 = 0 ;
2621 char *kwnames[] = {
2622 (char *) "self", NULL
2623 };
2624
2625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2627 {
2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
2629 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2630
2631 wxPyEndAllowThreads(__tstate);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 }
2634 resultobj = PyInt_FromLong((long)result);
2635 return resultobj;
2636 fail:
2637 return NULL;
2638 }
2639
2640
2641 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2642 PyObject *resultobj;
2643 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2644 wxString *arg2 = 0 ;
2645 bool temp2 = False ;
2646 PyObject * obj0 = 0 ;
2647 PyObject * obj1 = 0 ;
2648 char *kwnames[] = {
2649 (char *) "self",(char *) "title", NULL
2650 };
2651
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2654 {
2655 arg2 = wxString_in_helper(obj1);
2656 if (arg2 == NULL) SWIG_fail;
2657 temp2 = True;
2658 }
2659 {
2660 PyThreadState* __tstate = wxPyBeginAllowThreads();
2661 (arg1)->SetTitle((wxString const &)*arg2);
2662
2663 wxPyEndAllowThreads(__tstate);
2664 if (PyErr_Occurred()) SWIG_fail;
2665 }
2666 Py_INCREF(Py_None); resultobj = Py_None;
2667 {
2668 if (temp2)
2669 delete arg2;
2670 }
2671 return resultobj;
2672 fail:
2673 {
2674 if (temp2)
2675 delete arg2;
2676 }
2677 return NULL;
2678 }
2679
2680
2681 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2682 PyObject *resultobj;
2683 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2684 wxString result;
2685 PyObject * obj0 = 0 ;
2686 char *kwnames[] = {
2687 (char *) "self", NULL
2688 };
2689
2690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2692 {
2693 PyThreadState* __tstate = wxPyBeginAllowThreads();
2694 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2695
2696 wxPyEndAllowThreads(__tstate);
2697 if (PyErr_Occurred()) SWIG_fail;
2698 }
2699 {
2700 #if wxUSE_UNICODE
2701 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2702 #else
2703 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2704 #endif
2705 }
2706 return resultobj;
2707 fail:
2708 return NULL;
2709 }
2710
2711
2712 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2713 PyObject *resultobj;
2714 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2715 wxRegion *arg2 = 0 ;
2716 bool result;
2717 PyObject * obj0 = 0 ;
2718 PyObject * obj1 = 0 ;
2719 char *kwnames[] = {
2720 (char *) "self",(char *) "region", NULL
2721 };
2722
2723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2725 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2726 if (arg2 == NULL) {
2727 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2728 }
2729 {
2730 PyThreadState* __tstate = wxPyBeginAllowThreads();
2731 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2732
2733 wxPyEndAllowThreads(__tstate);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
2736 resultobj = PyInt_FromLong((long)result);
2737 return resultobj;
2738 fail:
2739 return NULL;
2740 }
2741
2742
2743 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2744 PyObject *obj;
2745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2746 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2747 Py_INCREF(obj);
2748 return Py_BuildValue((char *)"");
2749 }
2750 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2751 PyObject *resultobj;
2752 wxWindow *arg1 = (wxWindow *) 0 ;
2753 int arg2 ;
2754 wxString *arg3 = 0 ;
2755 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2756 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2757 wxSize const &arg5_defvalue = wxDefaultSize ;
2758 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2759 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2760 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2761 wxString *arg7 = (wxString *) &arg7_defvalue ;
2762 wxFrame *result;
2763 bool temp3 = False ;
2764 wxPoint temp4 ;
2765 wxSize temp5 ;
2766 bool temp7 = False ;
2767 PyObject * obj0 = 0 ;
2768 PyObject * obj2 = 0 ;
2769 PyObject * obj3 = 0 ;
2770 PyObject * obj4 = 0 ;
2771 PyObject * obj6 = 0 ;
2772 char *kwnames[] = {
2773 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2774 };
2775
2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2778 {
2779 arg3 = wxString_in_helper(obj2);
2780 if (arg3 == NULL) SWIG_fail;
2781 temp3 = True;
2782 }
2783 if (obj3) {
2784 {
2785 arg4 = &temp4;
2786 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2787 }
2788 }
2789 if (obj4) {
2790 {
2791 arg5 = &temp5;
2792 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2793 }
2794 }
2795 if (obj6) {
2796 {
2797 arg7 = wxString_in_helper(obj6);
2798 if (arg7 == NULL) SWIG_fail;
2799 temp7 = True;
2800 }
2801 }
2802 {
2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
2804 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2805
2806 wxPyEndAllowThreads(__tstate);
2807 if (PyErr_Occurred()) SWIG_fail;
2808 }
2809 {
2810 resultobj = wxPyMake_wxObject(result);
2811 }
2812 {
2813 if (temp3)
2814 delete arg3;
2815 }
2816 {
2817 if (temp7)
2818 delete arg7;
2819 }
2820 return resultobj;
2821 fail:
2822 {
2823 if (temp3)
2824 delete arg3;
2825 }
2826 {
2827 if (temp7)
2828 delete arg7;
2829 }
2830 return NULL;
2831 }
2832
2833
2834 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2835 PyObject *resultobj;
2836 wxFrame *result;
2837 char *kwnames[] = {
2838 NULL
2839 };
2840
2841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2842 {
2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
2844 result = (wxFrame *)new wxFrame();
2845
2846 wxPyEndAllowThreads(__tstate);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
2849 {
2850 resultobj = wxPyMake_wxObject(result);
2851 }
2852 return resultobj;
2853 fail:
2854 return NULL;
2855 }
2856
2857
2858 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2859 PyObject *resultobj;
2860 wxFrame *arg1 = (wxFrame *) 0 ;
2861 wxWindow *arg2 = (wxWindow *) 0 ;
2862 int arg3 ;
2863 wxString *arg4 = 0 ;
2864 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2865 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2866 wxSize const &arg6_defvalue = wxDefaultSize ;
2867 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2868 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2869 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2870 wxString *arg8 = (wxString *) &arg8_defvalue ;
2871 bool result;
2872 bool temp4 = False ;
2873 wxPoint temp5 ;
2874 wxSize temp6 ;
2875 bool temp8 = False ;
2876 PyObject * obj0 = 0 ;
2877 PyObject * obj1 = 0 ;
2878 PyObject * obj3 = 0 ;
2879 PyObject * obj4 = 0 ;
2880 PyObject * obj5 = 0 ;
2881 PyObject * obj7 = 0 ;
2882 char *kwnames[] = {
2883 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2884 };
2885
2886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2889 {
2890 arg4 = wxString_in_helper(obj3);
2891 if (arg4 == NULL) SWIG_fail;
2892 temp4 = True;
2893 }
2894 if (obj4) {
2895 {
2896 arg5 = &temp5;
2897 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2898 }
2899 }
2900 if (obj5) {
2901 {
2902 arg6 = &temp6;
2903 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2904 }
2905 }
2906 if (obj7) {
2907 {
2908 arg8 = wxString_in_helper(obj7);
2909 if (arg8 == NULL) SWIG_fail;
2910 temp8 = True;
2911 }
2912 }
2913 {
2914 PyThreadState* __tstate = wxPyBeginAllowThreads();
2915 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2916
2917 wxPyEndAllowThreads(__tstate);
2918 if (PyErr_Occurred()) SWIG_fail;
2919 }
2920 resultobj = PyInt_FromLong((long)result);
2921 {
2922 if (temp4)
2923 delete arg4;
2924 }
2925 {
2926 if (temp8)
2927 delete arg8;
2928 }
2929 return resultobj;
2930 fail:
2931 {
2932 if (temp4)
2933 delete arg4;
2934 }
2935 {
2936 if (temp8)
2937 delete arg8;
2938 }
2939 return NULL;
2940 }
2941
2942
2943 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2944 PyObject *resultobj;
2945 wxFrame *arg1 = (wxFrame *) 0 ;
2946 wxPoint result;
2947 PyObject * obj0 = 0 ;
2948 char *kwnames[] = {
2949 (char *) "self", NULL
2950 };
2951
2952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2954 {
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 {
2962 wxPoint * resultptr;
2963 resultptr = new wxPoint((wxPoint &) result);
2964 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2965 }
2966 return resultobj;
2967 fail:
2968 return NULL;
2969 }
2970
2971
2972 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2973 PyObject *resultobj;
2974 wxFrame *arg1 = (wxFrame *) 0 ;
2975 PyObject * obj0 = 0 ;
2976 char *kwnames[] = {
2977 (char *) "self", NULL
2978 };
2979
2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2982 {
2983 PyThreadState* __tstate = wxPyBeginAllowThreads();
2984 (arg1)->SendSizeEvent();
2985
2986 wxPyEndAllowThreads(__tstate);
2987 if (PyErr_Occurred()) SWIG_fail;
2988 }
2989 Py_INCREF(Py_None); resultobj = Py_None;
2990 return resultobj;
2991 fail:
2992 return NULL;
2993 }
2994
2995
2996 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2997 PyObject *resultobj;
2998 wxFrame *arg1 = (wxFrame *) 0 ;
2999 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3000 PyObject * obj0 = 0 ;
3001 PyObject * obj1 = 0 ;
3002 char *kwnames[] = {
3003 (char *) "self",(char *) "menubar", NULL
3004 };
3005
3006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3008 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3009 {
3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
3011 (arg1)->SetMenuBar(arg2);
3012
3013 wxPyEndAllowThreads(__tstate);
3014 if (PyErr_Occurred()) SWIG_fail;
3015 }
3016 Py_INCREF(Py_None); resultobj = Py_None;
3017 return resultobj;
3018 fail:
3019 return NULL;
3020 }
3021
3022
3023 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3024 PyObject *resultobj;
3025 wxFrame *arg1 = (wxFrame *) 0 ;
3026 wxMenuBar *result;
3027 PyObject * obj0 = 0 ;
3028 char *kwnames[] = {
3029 (char *) "self", NULL
3030 };
3031
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3034 {
3035 PyThreadState* __tstate = wxPyBeginAllowThreads();
3036 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3037
3038 wxPyEndAllowThreads(__tstate);
3039 if (PyErr_Occurred()) SWIG_fail;
3040 }
3041 {
3042 resultobj = wxPyMake_wxObject(result);
3043 }
3044 return resultobj;
3045 fail:
3046 return NULL;
3047 }
3048
3049
3050 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3051 PyObject *resultobj;
3052 wxFrame *arg1 = (wxFrame *) 0 ;
3053 int arg2 ;
3054 bool result;
3055 PyObject * obj0 = 0 ;
3056 char *kwnames[] = {
3057 (char *) "self",(char *) "winid", NULL
3058 };
3059
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
3061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3062 {
3063 PyThreadState* __tstate = wxPyBeginAllowThreads();
3064 result = (bool)(arg1)->ProcessCommand(arg2);
3065
3066 wxPyEndAllowThreads(__tstate);
3067 if (PyErr_Occurred()) SWIG_fail;
3068 }
3069 resultobj = PyInt_FromLong((long)result);
3070 return resultobj;
3071 fail:
3072 return NULL;
3073 }
3074
3075
3076 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3077 PyObject *resultobj;
3078 wxFrame *arg1 = (wxFrame *) 0 ;
3079 int arg2 = (int) 1 ;
3080 long arg3 = (long) wxST_SIZEGRIP ;
3081 int arg4 = (int) 0 ;
3082 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3083 wxString *arg5 = (wxString *) &arg5_defvalue ;
3084 wxStatusBar *result;
3085 bool temp5 = False ;
3086 PyObject * obj0 = 0 ;
3087 PyObject * obj4 = 0 ;
3088 char *kwnames[] = {
3089 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3090 };
3091
3092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
3093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3094 if (obj4) {
3095 {
3096 arg5 = wxString_in_helper(obj4);
3097 if (arg5 == NULL) SWIG_fail;
3098 temp5 = True;
3099 }
3100 }
3101 {
3102 PyThreadState* __tstate = wxPyBeginAllowThreads();
3103 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3104
3105 wxPyEndAllowThreads(__tstate);
3106 if (PyErr_Occurred()) SWIG_fail;
3107 }
3108 {
3109 resultobj = wxPyMake_wxObject(result);
3110 }
3111 {
3112 if (temp5)
3113 delete arg5;
3114 }
3115 return resultobj;
3116 fail:
3117 {
3118 if (temp5)
3119 delete arg5;
3120 }
3121 return NULL;
3122 }
3123
3124
3125 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3126 PyObject *resultobj;
3127 wxFrame *arg1 = (wxFrame *) 0 ;
3128 wxStatusBar *result;
3129 PyObject * obj0 = 0 ;
3130 char *kwnames[] = {
3131 (char *) "self", NULL
3132 };
3133
3134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3136 {
3137 PyThreadState* __tstate = wxPyBeginAllowThreads();
3138 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3139
3140 wxPyEndAllowThreads(__tstate);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
3143 {
3144 resultobj = wxPyMake_wxObject(result);
3145 }
3146 return resultobj;
3147 fail:
3148 return NULL;
3149 }
3150
3151
3152 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject *resultobj;
3154 wxFrame *arg1 = (wxFrame *) 0 ;
3155 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3156 PyObject * obj0 = 0 ;
3157 PyObject * obj1 = 0 ;
3158 char *kwnames[] = {
3159 (char *) "self",(char *) "statBar", NULL
3160 };
3161
3162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3164 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3165 {
3166 PyThreadState* __tstate = wxPyBeginAllowThreads();
3167 (arg1)->SetStatusBar(arg2);
3168
3169 wxPyEndAllowThreads(__tstate);
3170 if (PyErr_Occurred()) SWIG_fail;
3171 }
3172 Py_INCREF(Py_None); resultobj = Py_None;
3173 return resultobj;
3174 fail:
3175 return NULL;
3176 }
3177
3178
3179 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3180 PyObject *resultobj;
3181 wxFrame *arg1 = (wxFrame *) 0 ;
3182 wxString *arg2 = 0 ;
3183 int arg3 = (int) 0 ;
3184 bool temp2 = False ;
3185 PyObject * obj0 = 0 ;
3186 PyObject * obj1 = 0 ;
3187 char *kwnames[] = {
3188 (char *) "self",(char *) "text",(char *) "number", NULL
3189 };
3190
3191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3193 {
3194 arg2 = wxString_in_helper(obj1);
3195 if (arg2 == NULL) SWIG_fail;
3196 temp2 = True;
3197 }
3198 {
3199 PyThreadState* __tstate = wxPyBeginAllowThreads();
3200 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3201
3202 wxPyEndAllowThreads(__tstate);
3203 if (PyErr_Occurred()) SWIG_fail;
3204 }
3205 Py_INCREF(Py_None); resultobj = Py_None;
3206 {
3207 if (temp2)
3208 delete arg2;
3209 }
3210 return resultobj;
3211 fail:
3212 {
3213 if (temp2)
3214 delete arg2;
3215 }
3216 return NULL;
3217 }
3218
3219
3220 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3221 PyObject *resultobj;
3222 wxFrame *arg1 = (wxFrame *) 0 ;
3223 int arg2 ;
3224 int *arg3 = (int *) 0 ;
3225 PyObject * obj0 = 0 ;
3226 PyObject * obj1 = 0 ;
3227 char *kwnames[] = {
3228 (char *) "self",(char *) "widths", NULL
3229 };
3230
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3233 {
3234 arg2 = PyList_Size(obj1);
3235 arg3 = int_LIST_helper(obj1);
3236 if (arg3 == NULL) SWIG_fail;
3237 }
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 }
3245 Py_INCREF(Py_None); resultobj = Py_None;
3246 {
3247 if (arg3) delete [] arg3;
3248 }
3249 return resultobj;
3250 fail:
3251 {
3252 if (arg3) delete [] arg3;
3253 }
3254 return NULL;
3255 }
3256
3257
3258 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj;
3260 wxFrame *arg1 = (wxFrame *) 0 ;
3261 wxString *arg2 = 0 ;
3262 int arg3 = (int) 0 ;
3263 bool temp2 = False ;
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
3266 char *kwnames[] = {
3267 (char *) "self",(char *) "text",(char *) "number", NULL
3268 };
3269
3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3272 {
3273 arg2 = wxString_in_helper(obj1);
3274 if (arg2 == NULL) SWIG_fail;
3275 temp2 = True;
3276 }
3277 {
3278 PyThreadState* __tstate = wxPyBeginAllowThreads();
3279 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3280
3281 wxPyEndAllowThreads(__tstate);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
3284 Py_INCREF(Py_None); resultobj = Py_None;
3285 {
3286 if (temp2)
3287 delete arg2;
3288 }
3289 return resultobj;
3290 fail:
3291 {
3292 if (temp2)
3293 delete arg2;
3294 }
3295 return NULL;
3296 }
3297
3298
3299 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3300 PyObject *resultobj;
3301 wxFrame *arg1 = (wxFrame *) 0 ;
3302 int arg2 = (int) 0 ;
3303 PyObject * obj0 = 0 ;
3304 char *kwnames[] = {
3305 (char *) "self",(char *) "number", NULL
3306 };
3307
3308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3310 {
3311 PyThreadState* __tstate = wxPyBeginAllowThreads();
3312 (arg1)->PopStatusText(arg2);
3313
3314 wxPyEndAllowThreads(__tstate);
3315 if (PyErr_Occurred()) SWIG_fail;
3316 }
3317 Py_INCREF(Py_None); resultobj = Py_None;
3318 return resultobj;
3319 fail:
3320 return NULL;
3321 }
3322
3323
3324 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3325 PyObject *resultobj;
3326 wxFrame *arg1 = (wxFrame *) 0 ;
3327 int arg2 ;
3328 PyObject * obj0 = 0 ;
3329 char *kwnames[] = {
3330 (char *) "self",(char *) "n", NULL
3331 };
3332
3333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 (arg1)->SetStatusBarPane(arg2);
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 Py_INCREF(Py_None); resultobj = Py_None;
3343 return resultobj;
3344 fail:
3345 return NULL;
3346 }
3347
3348
3349 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3350 PyObject *resultobj;
3351 wxFrame *arg1 = (wxFrame *) 0 ;
3352 int result;
3353 PyObject * obj0 = 0 ;
3354 char *kwnames[] = {
3355 (char *) "self", NULL
3356 };
3357
3358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3360 {
3361 PyThreadState* __tstate = wxPyBeginAllowThreads();
3362 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3363
3364 wxPyEndAllowThreads(__tstate);
3365 if (PyErr_Occurred()) SWIG_fail;
3366 }
3367 resultobj = PyInt_FromLong((long)result);
3368 return resultobj;
3369 fail:
3370 return NULL;
3371 }
3372
3373
3374 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3375 PyObject *resultobj;
3376 wxFrame *arg1 = (wxFrame *) 0 ;
3377 long arg2 = (long) -1 ;
3378 int arg3 = (int) -1 ;
3379 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3380 wxString *arg4 = (wxString *) &arg4_defvalue ;
3381 wxToolBar *result;
3382 bool temp4 = False ;
3383 PyObject * obj0 = 0 ;
3384 PyObject * obj3 = 0 ;
3385 char *kwnames[] = {
3386 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3387 };
3388
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3391 if (obj3) {
3392 {
3393 arg4 = wxString_in_helper(obj3);
3394 if (arg4 == NULL) SWIG_fail;
3395 temp4 = True;
3396 }
3397 }
3398 {
3399 PyThreadState* __tstate = wxPyBeginAllowThreads();
3400 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3401
3402 wxPyEndAllowThreads(__tstate);
3403 if (PyErr_Occurred()) SWIG_fail;
3404 }
3405 {
3406 resultobj = wxPyMake_wxObject(result);
3407 }
3408 {
3409 if (temp4)
3410 delete arg4;
3411 }
3412 return resultobj;
3413 fail:
3414 {
3415 if (temp4)
3416 delete arg4;
3417 }
3418 return NULL;
3419 }
3420
3421
3422 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3423 PyObject *resultobj;
3424 wxFrame *arg1 = (wxFrame *) 0 ;
3425 wxToolBar *result;
3426 PyObject * obj0 = 0 ;
3427 char *kwnames[] = {
3428 (char *) "self", NULL
3429 };
3430
3431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
3440 {
3441 resultobj = wxPyMake_wxObject(result);
3442 }
3443 return resultobj;
3444 fail:
3445 return NULL;
3446 }
3447
3448
3449 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3450 PyObject *resultobj;
3451 wxFrame *arg1 = (wxFrame *) 0 ;
3452 wxToolBar *arg2 = (wxToolBar *) 0 ;
3453 PyObject * obj0 = 0 ;
3454 PyObject * obj1 = 0 ;
3455 char *kwnames[] = {
3456 (char *) "self",(char *) "toolbar", NULL
3457 };
3458
3459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 (arg1)->SetToolBar(arg2);
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 Py_INCREF(Py_None); resultobj = Py_None;
3470 return resultobj;
3471 fail:
3472 return NULL;
3473 }
3474
3475
3476 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3477 PyObject *resultobj;
3478 wxFrame *arg1 = (wxFrame *) 0 ;
3479 wxString *arg2 = 0 ;
3480 bool arg3 ;
3481 bool temp2 = False ;
3482 PyObject * obj0 = 0 ;
3483 PyObject * obj1 = 0 ;
3484 PyObject * obj2 = 0 ;
3485 char *kwnames[] = {
3486 (char *) "self",(char *) "text",(char *) "show", NULL
3487 };
3488
3489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3491 {
3492 arg2 = wxString_in_helper(obj1);
3493 if (arg2 == NULL) SWIG_fail;
3494 temp2 = True;
3495 }
3496 {
3497 arg3 = (bool) SPyObj_AsBool(obj2);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 {
3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
3502 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3503
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 Py_INCREF(Py_None); resultobj = Py_None;
3508 {
3509 if (temp2)
3510 delete arg2;
3511 }
3512 return resultobj;
3513 fail:
3514 {
3515 if (temp2)
3516 delete arg2;
3517 }
3518 return NULL;
3519 }
3520
3521
3522 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3523 PyObject *resultobj;
3524 wxFrame *arg1 = (wxFrame *) 0 ;
3525 wxMenu *arg2 = (wxMenu *) NULL ;
3526 PyObject * obj0 = 0 ;
3527 PyObject * obj1 = 0 ;
3528 char *kwnames[] = {
3529 (char *) "self",(char *) "menu", NULL
3530 };
3531
3532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3534 if (obj1) {
3535 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3536 }
3537 {
3538 PyThreadState* __tstate = wxPyBeginAllowThreads();
3539 (arg1)->DoMenuUpdates(arg2);
3540
3541 wxPyEndAllowThreads(__tstate);
3542 if (PyErr_Occurred()) SWIG_fail;
3543 }
3544 Py_INCREF(Py_None); resultobj = Py_None;
3545 return resultobj;
3546 fail:
3547 return NULL;
3548 }
3549
3550
3551 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3552 PyObject *obj;
3553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3554 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3555 Py_INCREF(obj);
3556 return Py_BuildValue((char *)"");
3557 }
3558 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3559 PyObject *resultobj;
3560 wxWindow *arg1 = (wxWindow *) 0 ;
3561 int arg2 ;
3562 wxString *arg3 = 0 ;
3563 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3564 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3565 wxSize const &arg5_defvalue = wxDefaultSize ;
3566 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3567 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3568 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3569 wxString *arg7 = (wxString *) &arg7_defvalue ;
3570 wxDialog *result;
3571 bool temp3 = False ;
3572 wxPoint temp4 ;
3573 wxSize temp5 ;
3574 bool temp7 = False ;
3575 PyObject * obj0 = 0 ;
3576 PyObject * obj2 = 0 ;
3577 PyObject * obj3 = 0 ;
3578 PyObject * obj4 = 0 ;
3579 PyObject * obj6 = 0 ;
3580 char *kwnames[] = {
3581 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3582 };
3583
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3586 {
3587 arg3 = wxString_in_helper(obj2);
3588 if (arg3 == NULL) SWIG_fail;
3589 temp3 = True;
3590 }
3591 if (obj3) {
3592 {
3593 arg4 = &temp4;
3594 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3595 }
3596 }
3597 if (obj4) {
3598 {
3599 arg5 = &temp5;
3600 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3601 }
3602 }
3603 if (obj6) {
3604 {
3605 arg7 = wxString_in_helper(obj6);
3606 if (arg7 == NULL) SWIG_fail;
3607 temp7 = True;
3608 }
3609 }
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3613
3614 wxPyEndAllowThreads(__tstate);
3615 if (PyErr_Occurred()) SWIG_fail;
3616 }
3617 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3618 {
3619 if (temp3)
3620 delete arg3;
3621 }
3622 {
3623 if (temp7)
3624 delete arg7;
3625 }
3626 return resultobj;
3627 fail:
3628 {
3629 if (temp3)
3630 delete arg3;
3631 }
3632 {
3633 if (temp7)
3634 delete arg7;
3635 }
3636 return NULL;
3637 }
3638
3639
3640 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3641 PyObject *resultobj;
3642 wxDialog *result;
3643 char *kwnames[] = {
3644 NULL
3645 };
3646
3647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3648 {
3649 PyThreadState* __tstate = wxPyBeginAllowThreads();
3650 result = (wxDialog *)new wxDialog();
3651
3652 wxPyEndAllowThreads(__tstate);
3653 if (PyErr_Occurred()) SWIG_fail;
3654 }
3655 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3656 return resultobj;
3657 fail:
3658 return NULL;
3659 }
3660
3661
3662 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3663 PyObject *resultobj;
3664 wxDialog *arg1 = (wxDialog *) 0 ;
3665 wxWindow *arg2 = (wxWindow *) 0 ;
3666 int arg3 ;
3667 wxString *arg4 = 0 ;
3668 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3669 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3670 wxSize const &arg6_defvalue = wxDefaultSize ;
3671 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3672 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3673 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3674 wxString *arg8 = (wxString *) &arg8_defvalue ;
3675 bool result;
3676 bool temp4 = False ;
3677 wxPoint temp5 ;
3678 wxSize temp6 ;
3679 bool temp8 = False ;
3680 PyObject * obj0 = 0 ;
3681 PyObject * obj1 = 0 ;
3682 PyObject * obj3 = 0 ;
3683 PyObject * obj4 = 0 ;
3684 PyObject * obj5 = 0 ;
3685 PyObject * obj7 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3692 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3693 {
3694 arg4 = wxString_in_helper(obj3);
3695 if (arg4 == NULL) SWIG_fail;
3696 temp4 = True;
3697 }
3698 if (obj4) {
3699 {
3700 arg5 = &temp5;
3701 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3702 }
3703 }
3704 if (obj5) {
3705 {
3706 arg6 = &temp6;
3707 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3708 }
3709 }
3710 if (obj7) {
3711 {
3712 arg8 = wxString_in_helper(obj7);
3713 if (arg8 == NULL) SWIG_fail;
3714 temp8 = True;
3715 }
3716 }
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 resultobj = PyInt_FromLong((long)result);
3725 {
3726 if (temp4)
3727 delete arg4;
3728 }
3729 {
3730 if (temp8)
3731 delete arg8;
3732 }
3733 return resultobj;
3734 fail:
3735 {
3736 if (temp4)
3737 delete arg4;
3738 }
3739 {
3740 if (temp8)
3741 delete arg8;
3742 }
3743 return NULL;
3744 }
3745
3746
3747 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3748 PyObject *resultobj;
3749 wxDialog *arg1 = (wxDialog *) 0 ;
3750 int arg2 ;
3751 PyObject * obj0 = 0 ;
3752 char *kwnames[] = {
3753 (char *) "self",(char *) "returnCode", NULL
3754 };
3755
3756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3758 {
3759 PyThreadState* __tstate = wxPyBeginAllowThreads();
3760 (arg1)->SetReturnCode(arg2);
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
3765 Py_INCREF(Py_None); resultobj = Py_None;
3766 return resultobj;
3767 fail:
3768 return NULL;
3769 }
3770
3771
3772 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3773 PyObject *resultobj;
3774 wxDialog *arg1 = (wxDialog *) 0 ;
3775 int result;
3776 PyObject * obj0 = 0 ;
3777 char *kwnames[] = {
3778 (char *) "self", NULL
3779 };
3780
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3783 {
3784 PyThreadState* __tstate = wxPyBeginAllowThreads();
3785 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3786
3787 wxPyEndAllowThreads(__tstate);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 }
3790 resultobj = PyInt_FromLong((long)result);
3791 return resultobj;
3792 fail:
3793 return NULL;
3794 }
3795
3796
3797 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3798 PyObject *resultobj;
3799 wxDialog *arg1 = (wxDialog *) 0 ;
3800 wxString *arg2 = 0 ;
3801 wxSizer *result;
3802 bool temp2 = False ;
3803 PyObject * obj0 = 0 ;
3804 PyObject * obj1 = 0 ;
3805 char *kwnames[] = {
3806 (char *) "self",(char *) "message", NULL
3807 };
3808
3809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3811 {
3812 arg2 = wxString_in_helper(obj1);
3813 if (arg2 == NULL) SWIG_fail;
3814 temp2 = True;
3815 }
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3819
3820 wxPyEndAllowThreads(__tstate);
3821 if (PyErr_Occurred()) SWIG_fail;
3822 }
3823 {
3824 resultobj = wxPyMake_wxSizer(result);
3825 }
3826 {
3827 if (temp2)
3828 delete arg2;
3829 }
3830 return resultobj;
3831 fail:
3832 {
3833 if (temp2)
3834 delete arg2;
3835 }
3836 return NULL;
3837 }
3838
3839
3840 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3841 PyObject *resultobj;
3842 wxDialog *arg1 = (wxDialog *) 0 ;
3843 long arg2 ;
3844 wxSizer *result;
3845 PyObject * obj0 = 0 ;
3846 char *kwnames[] = {
3847 (char *) "self",(char *) "flags", NULL
3848 };
3849
3850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3852 {
3853 PyThreadState* __tstate = wxPyBeginAllowThreads();
3854 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3855
3856 wxPyEndAllowThreads(__tstate);
3857 if (PyErr_Occurred()) SWIG_fail;
3858 }
3859 {
3860 resultobj = wxPyMake_wxSizer(result);
3861 }
3862 return resultobj;
3863 fail:
3864 return NULL;
3865 }
3866
3867
3868 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3869 PyObject *resultobj;
3870 wxDialog *arg1 = (wxDialog *) 0 ;
3871 bool result;
3872 PyObject * obj0 = 0 ;
3873 char *kwnames[] = {
3874 (char *) "self", NULL
3875 };
3876
3877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3879 {
3880 PyThreadState* __tstate = wxPyBeginAllowThreads();
3881 result = (bool)((wxDialog const *)arg1)->IsModal();
3882
3883 wxPyEndAllowThreads(__tstate);
3884 if (PyErr_Occurred()) SWIG_fail;
3885 }
3886 resultobj = PyInt_FromLong((long)result);
3887 return resultobj;
3888 fail:
3889 return NULL;
3890 }
3891
3892
3893 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3894 PyObject *resultobj;
3895 wxDialog *arg1 = (wxDialog *) 0 ;
3896 int result;
3897 PyObject * obj0 = 0 ;
3898 char *kwnames[] = {
3899 (char *) "self", NULL
3900 };
3901
3902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3904 {
3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
3906 result = (int)(arg1)->ShowModal();
3907
3908 wxPyEndAllowThreads(__tstate);
3909 if (PyErr_Occurred()) SWIG_fail;
3910 }
3911 resultobj = PyInt_FromLong((long)result);
3912 return resultobj;
3913 fail:
3914 return NULL;
3915 }
3916
3917
3918 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3919 PyObject *resultobj;
3920 wxDialog *arg1 = (wxDialog *) 0 ;
3921 int arg2 ;
3922 PyObject * obj0 = 0 ;
3923 char *kwnames[] = {
3924 (char *) "self",(char *) "retCode", NULL
3925 };
3926
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 (arg1)->EndModal(arg2);
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 Py_INCREF(Py_None); resultobj = Py_None;
3937 return resultobj;
3938 fail:
3939 return NULL;
3940 }
3941
3942
3943 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3944 PyObject *resultobj;
3945 wxDialog *arg1 = (wxDialog *) 0 ;
3946 bool result;
3947 PyObject * obj0 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "self", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3954 {
3955 PyThreadState* __tstate = wxPyBeginAllowThreads();
3956 result = (bool)wxDialog_IsModalShowing(arg1);
3957
3958 wxPyEndAllowThreads(__tstate);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
3961 resultobj = PyInt_FromLong((long)result);
3962 return resultobj;
3963 fail:
3964 return NULL;
3965 }
3966
3967
3968 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3969 PyObject *obj;
3970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3971 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3972 Py_INCREF(obj);
3973 return Py_BuildValue((char *)"");
3974 }
3975 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3976 PyObject *resultobj;
3977 wxWindow *arg1 = (wxWindow *) 0 ;
3978 int arg2 ;
3979 wxString *arg3 = 0 ;
3980 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3981 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3982 wxSize const &arg5_defvalue = wxDefaultSize ;
3983 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3984 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3985 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3986 wxString *arg7 = (wxString *) &arg7_defvalue ;
3987 wxMiniFrame *result;
3988 bool temp3 = False ;
3989 wxPoint temp4 ;
3990 wxSize temp5 ;
3991 bool temp7 = False ;
3992 PyObject * obj0 = 0 ;
3993 PyObject * obj2 = 0 ;
3994 PyObject * obj3 = 0 ;
3995 PyObject * obj4 = 0 ;
3996 PyObject * obj6 = 0 ;
3997 char *kwnames[] = {
3998 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3999 };
4000
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4003 {
4004 arg3 = wxString_in_helper(obj2);
4005 if (arg3 == NULL) SWIG_fail;
4006 temp3 = True;
4007 }
4008 if (obj3) {
4009 {
4010 arg4 = &temp4;
4011 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4012 }
4013 }
4014 if (obj4) {
4015 {
4016 arg5 = &temp5;
4017 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4018 }
4019 }
4020 if (obj6) {
4021 {
4022 arg7 = wxString_in_helper(obj6);
4023 if (arg7 == NULL) SWIG_fail;
4024 temp7 = True;
4025 }
4026 }
4027 {
4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
4029 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4030
4031 wxPyEndAllowThreads(__tstate);
4032 if (PyErr_Occurred()) SWIG_fail;
4033 }
4034 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4035 {
4036 if (temp3)
4037 delete arg3;
4038 }
4039 {
4040 if (temp7)
4041 delete arg7;
4042 }
4043 return resultobj;
4044 fail:
4045 {
4046 if (temp3)
4047 delete arg3;
4048 }
4049 {
4050 if (temp7)
4051 delete arg7;
4052 }
4053 return NULL;
4054 }
4055
4056
4057 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4058 PyObject *resultobj;
4059 wxMiniFrame *result;
4060 char *kwnames[] = {
4061 NULL
4062 };
4063
4064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4065 {
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 result = (wxMiniFrame *)new wxMiniFrame();
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4073 return resultobj;
4074 fail:
4075 return NULL;
4076 }
4077
4078
4079 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4082 wxWindow *arg2 = (wxWindow *) 0 ;
4083 int arg3 ;
4084 wxString *arg4 = 0 ;
4085 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4086 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4087 wxSize const &arg6_defvalue = wxDefaultSize ;
4088 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4089 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4090 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4091 wxString *arg8 = (wxString *) &arg8_defvalue ;
4092 bool result;
4093 bool temp4 = False ;
4094 wxPoint temp5 ;
4095 wxSize temp6 ;
4096 bool temp8 = False ;
4097 PyObject * obj0 = 0 ;
4098 PyObject * obj1 = 0 ;
4099 PyObject * obj3 = 0 ;
4100 PyObject * obj4 = 0 ;
4101 PyObject * obj5 = 0 ;
4102 PyObject * obj7 = 0 ;
4103 char *kwnames[] = {
4104 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4105 };
4106
4107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4110 {
4111 arg4 = wxString_in_helper(obj3);
4112 if (arg4 == NULL) SWIG_fail;
4113 temp4 = True;
4114 }
4115 if (obj4) {
4116 {
4117 arg5 = &temp5;
4118 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4119 }
4120 }
4121 if (obj5) {
4122 {
4123 arg6 = &temp6;
4124 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4125 }
4126 }
4127 if (obj7) {
4128 {
4129 arg8 = wxString_in_helper(obj7);
4130 if (arg8 == NULL) SWIG_fail;
4131 temp8 = True;
4132 }
4133 }
4134 {
4135 PyThreadState* __tstate = wxPyBeginAllowThreads();
4136 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4137
4138 wxPyEndAllowThreads(__tstate);
4139 if (PyErr_Occurred()) SWIG_fail;
4140 }
4141 resultobj = PyInt_FromLong((long)result);
4142 {
4143 if (temp4)
4144 delete arg4;
4145 }
4146 {
4147 if (temp8)
4148 delete arg8;
4149 }
4150 return resultobj;
4151 fail:
4152 {
4153 if (temp4)
4154 delete arg4;
4155 }
4156 {
4157 if (temp8)
4158 delete arg8;
4159 }
4160 return NULL;
4161 }
4162
4163
4164 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4165 PyObject *obj;
4166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4167 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4168 Py_INCREF(obj);
4169 return Py_BuildValue((char *)"");
4170 }
4171 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4172 PyObject *resultobj;
4173 wxBitmap *arg1 = 0 ;
4174 wxWindow *arg2 = (wxWindow *) 0 ;
4175 int arg3 ;
4176 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4177 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4178 wxSize const &arg5_defvalue = wxDefaultSize ;
4179 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4180 long arg6 = (long) wxNO_BORDER ;
4181 wxSplashScreenWindow *result;
4182 wxPoint temp4 ;
4183 wxSize temp5 ;
4184 PyObject * obj0 = 0 ;
4185 PyObject * obj1 = 0 ;
4186 PyObject * obj3 = 0 ;
4187 PyObject * obj4 = 0 ;
4188 char *kwnames[] = {
4189 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4190 };
4191
4192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
4193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4194 if (arg1 == NULL) {
4195 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4196 }
4197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4198 if (obj3) {
4199 {
4200 arg4 = &temp4;
4201 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4202 }
4203 }
4204 if (obj4) {
4205 {
4206 arg5 = &temp5;
4207 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4208 }
4209 }
4210 {
4211 PyThreadState* __tstate = wxPyBeginAllowThreads();
4212 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4213
4214 wxPyEndAllowThreads(__tstate);
4215 if (PyErr_Occurred()) SWIG_fail;
4216 }
4217 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4218 return resultobj;
4219 fail:
4220 return NULL;
4221 }
4222
4223
4224 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4225 PyObject *resultobj;
4226 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4227 wxBitmap *arg2 = 0 ;
4228 PyObject * obj0 = 0 ;
4229 PyObject * obj1 = 0 ;
4230 char *kwnames[] = {
4231 (char *) "self",(char *) "bitmap", NULL
4232 };
4233
4234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4236 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4237 if (arg2 == NULL) {
4238 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4239 }
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4243
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
4247 Py_INCREF(Py_None); resultobj = Py_None;
4248 return resultobj;
4249 fail:
4250 return NULL;
4251 }
4252
4253
4254 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4255 PyObject *resultobj;
4256 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4257 wxBitmap *result;
4258 PyObject * obj0 = 0 ;
4259 char *kwnames[] = {
4260 (char *) "self", NULL
4261 };
4262
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4265 {
4266 PyThreadState* __tstate = wxPyBeginAllowThreads();
4267 {
4268 wxBitmap &_result_ref = (arg1)->GetBitmap();
4269 result = (wxBitmap *) &_result_ref;
4270 }
4271
4272 wxPyEndAllowThreads(__tstate);
4273 if (PyErr_Occurred()) SWIG_fail;
4274 }
4275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4276 return resultobj;
4277 fail:
4278 return NULL;
4279 }
4280
4281
4282 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4283 PyObject *obj;
4284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4285 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4286 Py_INCREF(obj);
4287 return Py_BuildValue((char *)"");
4288 }
4289 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject *resultobj;
4291 wxBitmap *arg1 = 0 ;
4292 long arg2 ;
4293 int arg3 ;
4294 wxWindow *arg4 = (wxWindow *) 0 ;
4295 int arg5 ;
4296 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4297 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4298 wxSize const &arg7_defvalue = wxDefaultSize ;
4299 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4300 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4301 wxSplashScreen *result;
4302 wxPoint temp6 ;
4303 wxSize temp7 ;
4304 PyObject * obj0 = 0 ;
4305 PyObject * obj3 = 0 ;
4306 PyObject * obj5 = 0 ;
4307 PyObject * obj6 = 0 ;
4308 char *kwnames[] = {
4309 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4310 };
4311
4312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4314 if (arg1 == NULL) {
4315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4316 }
4317 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4318 if (obj5) {
4319 {
4320 arg6 = &temp6;
4321 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4322 }
4323 }
4324 if (obj6) {
4325 {
4326 arg7 = &temp7;
4327 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4328 }
4329 }
4330 {
4331 PyThreadState* __tstate = wxPyBeginAllowThreads();
4332 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4333
4334 wxPyEndAllowThreads(__tstate);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
4337 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4338 return resultobj;
4339 fail:
4340 return NULL;
4341 }
4342
4343
4344 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4345 PyObject *resultobj;
4346 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4347 long result;
4348 PyObject * obj0 = 0 ;
4349 char *kwnames[] = {
4350 (char *) "self", NULL
4351 };
4352
4353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4358
4359 wxPyEndAllowThreads(__tstate);
4360 if (PyErr_Occurred()) SWIG_fail;
4361 }
4362 resultobj = PyInt_FromLong((long)result);
4363 return resultobj;
4364 fail:
4365 return NULL;
4366 }
4367
4368
4369 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4370 PyObject *resultobj;
4371 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4372 wxSplashScreenWindow *result;
4373 PyObject * obj0 = 0 ;
4374 char *kwnames[] = {
4375 (char *) "self", NULL
4376 };
4377
4378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4383
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4388 return resultobj;
4389 fail:
4390 return NULL;
4391 }
4392
4393
4394 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj;
4396 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4397 int result;
4398 PyObject * obj0 = 0 ;
4399 char *kwnames[] = {
4400 (char *) "self", NULL
4401 };
4402
4403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4405 {
4406 PyThreadState* __tstate = wxPyBeginAllowThreads();
4407 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4408
4409 wxPyEndAllowThreads(__tstate);
4410 if (PyErr_Occurred()) SWIG_fail;
4411 }
4412 resultobj = PyInt_FromLong((long)result);
4413 return resultobj;
4414 fail:
4415 return NULL;
4416 }
4417
4418
4419 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4420 PyObject *obj;
4421 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4422 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4423 Py_INCREF(obj);
4424 return Py_BuildValue((char *)"");
4425 }
4426 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4427 PyObject *resultobj;
4428 wxWindow *arg1 = (wxWindow *) 0 ;
4429 int arg2 = (int) -1 ;
4430 long arg3 = (long) wxST_SIZEGRIP ;
4431 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4432 wxString *arg4 = (wxString *) &arg4_defvalue ;
4433 wxStatusBar *result;
4434 bool temp4 = False ;
4435 PyObject * obj0 = 0 ;
4436 PyObject * obj3 = 0 ;
4437 char *kwnames[] = {
4438 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4439 };
4440
4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4443 if (obj3) {
4444 {
4445 arg4 = wxString_in_helper(obj3);
4446 if (arg4 == NULL) SWIG_fail;
4447 temp4 = True;
4448 }
4449 }
4450 {
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
4457 {
4458 resultobj = wxPyMake_wxObject(result);
4459 }
4460 {
4461 if (temp4)
4462 delete arg4;
4463 }
4464 return resultobj;
4465 fail:
4466 {
4467 if (temp4)
4468 delete arg4;
4469 }
4470 return NULL;
4471 }
4472
4473
4474 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4475 PyObject *resultobj;
4476 wxStatusBar *result;
4477 char *kwnames[] = {
4478 NULL
4479 };
4480
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 result = (wxStatusBar *)new wxStatusBar();
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 {
4490 resultobj = wxPyMake_wxObject(result);
4491 }
4492 return resultobj;
4493 fail:
4494 return NULL;
4495 }
4496
4497
4498 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj;
4500 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4501 wxWindow *arg2 = (wxWindow *) 0 ;
4502 int arg3 ;
4503 long arg4 = (long) wxST_SIZEGRIP ;
4504 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4505 wxString *arg5 = (wxString *) &arg5_defvalue ;
4506 bool result;
4507 bool temp5 = False ;
4508 PyObject * obj0 = 0 ;
4509 PyObject * obj1 = 0 ;
4510 PyObject * obj4 = 0 ;
4511 char *kwnames[] = {
4512 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4513 };
4514
4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4518 if (obj4) {
4519 {
4520 arg5 = wxString_in_helper(obj4);
4521 if (arg5 == NULL) SWIG_fail;
4522 temp5 = True;
4523 }
4524 }
4525 {
4526 PyThreadState* __tstate = wxPyBeginAllowThreads();
4527 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4528
4529 wxPyEndAllowThreads(__tstate);
4530 if (PyErr_Occurred()) SWIG_fail;
4531 }
4532 resultobj = PyInt_FromLong((long)result);
4533 {
4534 if (temp5)
4535 delete arg5;
4536 }
4537 return resultobj;
4538 fail:
4539 {
4540 if (temp5)
4541 delete arg5;
4542 }
4543 return NULL;
4544 }
4545
4546
4547 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4548 PyObject *resultobj;
4549 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4550 int arg2 = (int) 1 ;
4551 PyObject * obj0 = 0 ;
4552 char *kwnames[] = {
4553 (char *) "self",(char *) "number", NULL
4554 };
4555
4556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4558 {
4559 PyThreadState* __tstate = wxPyBeginAllowThreads();
4560 (arg1)->SetFieldsCount(arg2);
4561
4562 wxPyEndAllowThreads(__tstate);
4563 if (PyErr_Occurred()) SWIG_fail;
4564 }
4565 Py_INCREF(Py_None); resultobj = Py_None;
4566 return resultobj;
4567 fail:
4568 return NULL;
4569 }
4570
4571
4572 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj;
4574 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4575 int result;
4576 PyObject * obj0 = 0 ;
4577 char *kwnames[] = {
4578 (char *) "self", NULL
4579 };
4580
4581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4586
4587 wxPyEndAllowThreads(__tstate);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 resultobj = PyInt_FromLong((long)result);
4591 return resultobj;
4592 fail:
4593 return NULL;
4594 }
4595
4596
4597 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4598 PyObject *resultobj;
4599 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4600 wxString *arg2 = 0 ;
4601 int arg3 = (int) 0 ;
4602 bool temp2 = False ;
4603 PyObject * obj0 = 0 ;
4604 PyObject * obj1 = 0 ;
4605 char *kwnames[] = {
4606 (char *) "self",(char *) "text",(char *) "number", NULL
4607 };
4608
4609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4611 {
4612 arg2 = wxString_in_helper(obj1);
4613 if (arg2 == NULL) SWIG_fail;
4614 temp2 = True;
4615 }
4616 {
4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
4618 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4619
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 Py_INCREF(Py_None); resultobj = Py_None;
4624 {
4625 if (temp2)
4626 delete arg2;
4627 }
4628 return resultobj;
4629 fail:
4630 {
4631 if (temp2)
4632 delete arg2;
4633 }
4634 return NULL;
4635 }
4636
4637
4638 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4639 PyObject *resultobj;
4640 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4641 int arg2 = (int) 0 ;
4642 wxString result;
4643 PyObject * obj0 = 0 ;
4644 char *kwnames[] = {
4645 (char *) "self",(char *) "number", NULL
4646 };
4647
4648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 {
4658 #if wxUSE_UNICODE
4659 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4660 #else
4661 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4662 #endif
4663 }
4664 return resultobj;
4665 fail:
4666 return NULL;
4667 }
4668
4669
4670 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4671 PyObject *resultobj;
4672 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4673 wxString *arg2 = 0 ;
4674 int arg3 = (int) 0 ;
4675 bool temp2 = False ;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 char *kwnames[] = {
4679 (char *) "self",(char *) "text",(char *) "number", NULL
4680 };
4681
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4684 {
4685 arg2 = wxString_in_helper(obj1);
4686 if (arg2 == NULL) SWIG_fail;
4687 temp2 = True;
4688 }
4689 {
4690 PyThreadState* __tstate = wxPyBeginAllowThreads();
4691 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4692
4693 wxPyEndAllowThreads(__tstate);
4694 if (PyErr_Occurred()) SWIG_fail;
4695 }
4696 Py_INCREF(Py_None); resultobj = Py_None;
4697 {
4698 if (temp2)
4699 delete arg2;
4700 }
4701 return resultobj;
4702 fail:
4703 {
4704 if (temp2)
4705 delete arg2;
4706 }
4707 return NULL;
4708 }
4709
4710
4711 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4712 PyObject *resultobj;
4713 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4714 int arg2 = (int) 0 ;
4715 PyObject * obj0 = 0 ;
4716 char *kwnames[] = {
4717 (char *) "self",(char *) "number", NULL
4718 };
4719
4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 (arg1)->PopStatusText(arg2);
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 Py_INCREF(Py_None); resultobj = Py_None;
4730 return resultobj;
4731 fail:
4732 return NULL;
4733 }
4734
4735
4736 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4737 PyObject *resultobj;
4738 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4739 int arg2 ;
4740 int *arg3 = (int *) 0 ;
4741 PyObject * obj0 = 0 ;
4742 PyObject * obj1 = 0 ;
4743 char *kwnames[] = {
4744 (char *) "self",(char *) "widths", NULL
4745 };
4746
4747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4749 {
4750 arg2 = PyList_Size(obj1);
4751 arg3 = int_LIST_helper(obj1);
4752 if (arg3 == NULL) SWIG_fail;
4753 }
4754 {
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4757
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 }
4761 Py_INCREF(Py_None); resultobj = Py_None;
4762 {
4763 if (arg3) delete [] arg3;
4764 }
4765 return resultobj;
4766 fail:
4767 {
4768 if (arg3) delete [] arg3;
4769 }
4770 return NULL;
4771 }
4772
4773
4774 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject *resultobj;
4776 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4777 int arg2 ;
4778 wxRect result;
4779 PyObject * obj0 = 0 ;
4780 char *kwnames[] = {
4781 (char *) "self",(char *) "i", NULL
4782 };
4783
4784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 result = wxStatusBar_GetFieldRect(arg1,arg2);
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 {
4794 wxRect * resultptr;
4795 resultptr = new wxRect((wxRect &) result);
4796 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4797 }
4798 return resultobj;
4799 fail:
4800 return NULL;
4801 }
4802
4803
4804 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject *resultobj;
4806 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4807 int arg2 ;
4808 PyObject * obj0 = 0 ;
4809 char *kwnames[] = {
4810 (char *) "self",(char *) "height", NULL
4811 };
4812
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 (arg1)->SetMinHeight(arg2);
4818
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 Py_INCREF(Py_None); resultobj = Py_None;
4823 return resultobj;
4824 fail:
4825 return NULL;
4826 }
4827
4828
4829 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4830 PyObject *resultobj;
4831 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4832 int result;
4833 PyObject * obj0 = 0 ;
4834 char *kwnames[] = {
4835 (char *) "self", NULL
4836 };
4837
4838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
4847 resultobj = PyInt_FromLong((long)result);
4848 return resultobj;
4849 fail:
4850 return NULL;
4851 }
4852
4853
4854 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4857 int result;
4858 PyObject * obj0 = 0 ;
4859 char *kwnames[] = {
4860 (char *) "self", NULL
4861 };
4862
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4865 {
4866 PyThreadState* __tstate = wxPyBeginAllowThreads();
4867 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4868
4869 wxPyEndAllowThreads(__tstate);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
4872 resultobj = PyInt_FromLong((long)result);
4873 return resultobj;
4874 fail:
4875 return NULL;
4876 }
4877
4878
4879 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4880 PyObject *obj;
4881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4882 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4883 Py_INCREF(obj);
4884 return Py_BuildValue((char *)"");
4885 }
4886 static int _wrap_SplitterNameStr_set(PyObject *_val) {
4887 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
4888 return 1;
4889 }
4890
4891
4892 static PyObject *_wrap_SplitterNameStr_get() {
4893 PyObject *pyobj;
4894
4895 {
4896 #if wxUSE_UNICODE
4897 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4898 #else
4899 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4900 #endif
4901 }
4902 return pyobj;
4903 }
4904
4905
4906 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4907 PyObject *resultobj;
4908 wxWindow *arg1 = (wxWindow *) 0 ;
4909 int arg2 ;
4910 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4911 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4912 wxSize const &arg4_defvalue = wxDefaultSize ;
4913 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4914 long arg5 = (long) wxSP_3D ;
4915 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4916 wxString *arg6 = (wxString *) &arg6_defvalue ;
4917 wxSplitterWindow *result;
4918 wxPoint temp3 ;
4919 wxSize temp4 ;
4920 bool temp6 = False ;
4921 PyObject * obj0 = 0 ;
4922 PyObject * obj2 = 0 ;
4923 PyObject * obj3 = 0 ;
4924 PyObject * obj5 = 0 ;
4925 char *kwnames[] = {
4926 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4927 };
4928
4929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4931 if (obj2) {
4932 {
4933 arg3 = &temp3;
4934 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4935 }
4936 }
4937 if (obj3) {
4938 {
4939 arg4 = &temp4;
4940 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4941 }
4942 }
4943 if (obj5) {
4944 {
4945 arg6 = wxString_in_helper(obj5);
4946 if (arg6 == NULL) SWIG_fail;
4947 temp6 = True;
4948 }
4949 }
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4958 {
4959 if (temp6)
4960 delete arg6;
4961 }
4962 return resultobj;
4963 fail:
4964 {
4965 if (temp6)
4966 delete arg6;
4967 }
4968 return NULL;
4969 }
4970
4971
4972 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4973 PyObject *resultobj;
4974 wxSplitterWindow *result;
4975 char *kwnames[] = {
4976 NULL
4977 };
4978
4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 result = (wxSplitterWindow *)new wxSplitterWindow();
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4988 return resultobj;
4989 fail:
4990 return NULL;
4991 }
4992
4993
4994 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4995 PyObject *resultobj;
4996 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4997 wxWindow *arg2 = (wxWindow *) 0 ;
4998 int arg3 ;
4999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5001 wxSize const &arg5_defvalue = wxDefaultSize ;
5002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5003 long arg6 = (long) wxSP_3D ;
5004 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5005 wxString *arg7 = (wxString *) &arg7_defvalue ;
5006 bool result;
5007 wxPoint temp4 ;
5008 wxSize temp5 ;
5009 bool temp7 = False ;
5010 PyObject * obj0 = 0 ;
5011 PyObject * obj1 = 0 ;
5012 PyObject * obj3 = 0 ;
5013 PyObject * obj4 = 0 ;
5014 PyObject * obj6 = 0 ;
5015 char *kwnames[] = {
5016 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5017 };
5018
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5022 if (obj3) {
5023 {
5024 arg4 = &temp4;
5025 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5026 }
5027 }
5028 if (obj4) {
5029 {
5030 arg5 = &temp5;
5031 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5032 }
5033 }
5034 if (obj6) {
5035 {
5036 arg7 = wxString_in_helper(obj6);
5037 if (arg7 == NULL) SWIG_fail;
5038 temp7 = True;
5039 }
5040 }
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 resultobj = PyInt_FromLong((long)result);
5049 {
5050 if (temp7)
5051 delete arg7;
5052 }
5053 return resultobj;
5054 fail:
5055 {
5056 if (temp7)
5057 delete arg7;
5058 }
5059 return NULL;
5060 }
5061
5062
5063 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj;
5065 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5066 wxWindow *result;
5067 PyObject * obj0 = 0 ;
5068 char *kwnames[] = {
5069 (char *) "self", NULL
5070 };
5071
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5074 {
5075 PyThreadState* __tstate = wxPyBeginAllowThreads();
5076 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5077
5078 wxPyEndAllowThreads(__tstate);
5079 if (PyErr_Occurred()) SWIG_fail;
5080 }
5081 {
5082 resultobj = wxPyMake_wxObject(result);
5083 }
5084 return resultobj;
5085 fail:
5086 return NULL;
5087 }
5088
5089
5090 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5091 PyObject *resultobj;
5092 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5093 wxWindow *result;
5094 PyObject * obj0 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5101 {
5102 PyThreadState* __tstate = wxPyBeginAllowThreads();
5103 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5104
5105 wxPyEndAllowThreads(__tstate);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 {
5109 resultobj = wxPyMake_wxObject(result);
5110 }
5111 return resultobj;
5112 fail:
5113 return NULL;
5114 }
5115
5116
5117 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5118 PyObject *resultobj;
5119 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5120 int arg2 ;
5121 PyObject * obj0 = 0 ;
5122 char *kwnames[] = {
5123 (char *) "self",(char *) "mode", NULL
5124 };
5125
5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
5127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5128 {
5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
5130 (arg1)->SetSplitMode(arg2);
5131
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 Py_INCREF(Py_None); resultobj = Py_None;
5136 return resultobj;
5137 fail:
5138 return NULL;
5139 }
5140
5141
5142 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj;
5144 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5145 int result;
5146 PyObject * obj0 = 0 ;
5147 char *kwnames[] = {
5148 (char *) "self", NULL
5149 };
5150
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 resultobj = PyInt_FromLong((long)result);
5161 return resultobj;
5162 fail:
5163 return NULL;
5164 }
5165
5166
5167 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5168 PyObject *resultobj;
5169 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5170 wxWindow *arg2 = (wxWindow *) 0 ;
5171 PyObject * obj0 = 0 ;
5172 PyObject * obj1 = 0 ;
5173 char *kwnames[] = {
5174 (char *) "self",(char *) "window", NULL
5175 };
5176
5177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5179 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5180 {
5181 PyThreadState* __tstate = wxPyBeginAllowThreads();
5182 (arg1)->Initialize(arg2);
5183
5184 wxPyEndAllowThreads(__tstate);
5185 if (PyErr_Occurred()) SWIG_fail;
5186 }
5187 Py_INCREF(Py_None); resultobj = Py_None;
5188 return resultobj;
5189 fail:
5190 return NULL;
5191 }
5192
5193
5194 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5195 PyObject *resultobj;
5196 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5197 wxWindow *arg2 = (wxWindow *) 0 ;
5198 wxWindow *arg3 = (wxWindow *) 0 ;
5199 int arg4 = (int) 0 ;
5200 bool result;
5201 PyObject * obj0 = 0 ;
5202 PyObject * obj1 = 0 ;
5203 PyObject * obj2 = 0 ;
5204 char *kwnames[] = {
5205 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5206 };
5207
5208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5210 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5211 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5212 {
5213 PyThreadState* __tstate = wxPyBeginAllowThreads();
5214 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5215
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
5219 resultobj = PyInt_FromLong((long)result);
5220 return resultobj;
5221 fail:
5222 return NULL;
5223 }
5224
5225
5226 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj;
5228 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5229 wxWindow *arg2 = (wxWindow *) 0 ;
5230 wxWindow *arg3 = (wxWindow *) 0 ;
5231 int arg4 = (int) 0 ;
5232 bool result;
5233 PyObject * obj0 = 0 ;
5234 PyObject * obj1 = 0 ;
5235 PyObject * obj2 = 0 ;
5236 char *kwnames[] = {
5237 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5238 };
5239
5240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5243 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5244 {
5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
5246 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5247
5248 wxPyEndAllowThreads(__tstate);
5249 if (PyErr_Occurred()) SWIG_fail;
5250 }
5251 resultobj = PyInt_FromLong((long)result);
5252 return resultobj;
5253 fail:
5254 return NULL;
5255 }
5256
5257
5258 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5261 wxWindow *arg2 = (wxWindow *) NULL ;
5262 bool result;
5263 PyObject * obj0 = 0 ;
5264 PyObject * obj1 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self",(char *) "toRemove", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5271 if (obj1) {
5272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5273 }
5274 {
5275 PyThreadState* __tstate = wxPyBeginAllowThreads();
5276 result = (bool)(arg1)->Unsplit(arg2);
5277
5278 wxPyEndAllowThreads(__tstate);
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
5281 resultobj = PyInt_FromLong((long)result);
5282 return resultobj;
5283 fail:
5284 return NULL;
5285 }
5286
5287
5288 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5289 PyObject *resultobj;
5290 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5291 wxWindow *arg2 = (wxWindow *) 0 ;
5292 wxWindow *arg3 = (wxWindow *) 0 ;
5293 bool result;
5294 PyObject * obj0 = 0 ;
5295 PyObject * obj1 = 0 ;
5296 PyObject * obj2 = 0 ;
5297 char *kwnames[] = {
5298 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5299 };
5300
5301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5303 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5304 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5305 {
5306 PyThreadState* __tstate = wxPyBeginAllowThreads();
5307 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 resultobj = PyInt_FromLong((long)result);
5313 return resultobj;
5314 fail:
5315 return NULL;
5316 }
5317
5318
5319 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5320 PyObject *resultobj;
5321 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5322 bool result;
5323 PyObject * obj0 = 0 ;
5324 char *kwnames[] = {
5325 (char *) "self", NULL
5326 };
5327
5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 resultobj = PyInt_FromLong((long)result);
5338 return resultobj;
5339 fail:
5340 return NULL;
5341 }
5342
5343
5344 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5345 PyObject *resultobj;
5346 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5347 int arg2 ;
5348 PyObject * obj0 = 0 ;
5349 char *kwnames[] = {
5350 (char *) "self",(char *) "width", NULL
5351 };
5352
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 (arg1)->SetSashSize(arg2);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 Py_INCREF(Py_None); resultobj = Py_None;
5363 return resultobj;
5364 fail:
5365 return NULL;
5366 }
5367
5368
5369 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj;
5371 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5372 int arg2 ;
5373 PyObject * obj0 = 0 ;
5374 char *kwnames[] = {
5375 (char *) "self",(char *) "width", NULL
5376 };
5377
5378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5380 {
5381 PyThreadState* __tstate = wxPyBeginAllowThreads();
5382 (arg1)->SetBorderSize(arg2);
5383
5384 wxPyEndAllowThreads(__tstate);
5385 if (PyErr_Occurred()) SWIG_fail;
5386 }
5387 Py_INCREF(Py_None); resultobj = Py_None;
5388 return resultobj;
5389 fail:
5390 return NULL;
5391 }
5392
5393
5394 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5395 PyObject *resultobj;
5396 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5397 int result;
5398 PyObject * obj0 = 0 ;
5399 char *kwnames[] = {
5400 (char *) "self", NULL
5401 };
5402
5403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5408
5409 wxPyEndAllowThreads(__tstate);
5410 if (PyErr_Occurred()) SWIG_fail;
5411 }
5412 resultobj = PyInt_FromLong((long)result);
5413 return resultobj;
5414 fail:
5415 return NULL;
5416 }
5417
5418
5419 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5420 PyObject *resultobj;
5421 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5422 int result;
5423 PyObject * obj0 = 0 ;
5424 char *kwnames[] = {
5425 (char *) "self", NULL
5426 };
5427
5428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5430 {
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5433
5434 wxPyEndAllowThreads(__tstate);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 }
5437 resultobj = PyInt_FromLong((long)result);
5438 return resultobj;
5439 fail:
5440 return NULL;
5441 }
5442
5443
5444 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5445 PyObject *resultobj;
5446 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5447 int arg2 ;
5448 bool arg3 = (bool) True ;
5449 PyObject * obj0 = 0 ;
5450 PyObject * obj2 = 0 ;
5451 char *kwnames[] = {
5452 (char *) "self",(char *) "position",(char *) "redraw", NULL
5453 };
5454
5455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5457 if (obj2) {
5458 {
5459 arg3 = (bool) SPyObj_AsBool(obj2);
5460 if (PyErr_Occurred()) SWIG_fail;
5461 }
5462 }
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 (arg1)->SetSashPosition(arg2,arg3);
5466
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 Py_INCREF(Py_None); resultobj = Py_None;
5471 return resultobj;
5472 fail:
5473 return NULL;
5474 }
5475
5476
5477 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5478 PyObject *resultobj;
5479 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5480 int result;
5481 PyObject * obj0 = 0 ;
5482 char *kwnames[] = {
5483 (char *) "self", NULL
5484 };
5485
5486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5488 {
5489 PyThreadState* __tstate = wxPyBeginAllowThreads();
5490 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5491
5492 wxPyEndAllowThreads(__tstate);
5493 if (PyErr_Occurred()) SWIG_fail;
5494 }
5495 resultobj = PyInt_FromLong((long)result);
5496 return resultobj;
5497 fail:
5498 return NULL;
5499 }
5500
5501
5502 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5503 PyObject *resultobj;
5504 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5505 int arg2 ;
5506 PyObject * obj0 = 0 ;
5507 char *kwnames[] = {
5508 (char *) "self",(char *) "min", NULL
5509 };
5510
5511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 (arg1)->SetMinimumPaneSize(arg2);
5516
5517 wxPyEndAllowThreads(__tstate);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 Py_INCREF(Py_None); resultobj = Py_None;
5521 return resultobj;
5522 fail:
5523 return NULL;
5524 }
5525
5526
5527 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5528 PyObject *resultobj;
5529 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5530 int result;
5531 PyObject * obj0 = 0 ;
5532 char *kwnames[] = {
5533 (char *) "self", NULL
5534 };
5535
5536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5538 {
5539 PyThreadState* __tstate = wxPyBeginAllowThreads();
5540 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5541
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 resultobj = PyInt_FromLong((long)result);
5546 return resultobj;
5547 fail:
5548 return NULL;
5549 }
5550
5551
5552 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5553 PyObject *resultobj;
5554 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5555 int arg2 ;
5556 int arg3 ;
5557 int arg4 = (int) 5 ;
5558 bool result;
5559 PyObject * obj0 = 0 ;
5560 char *kwnames[] = {
5561 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5562 };
5563
5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 resultobj = PyInt_FromLong((long)result);
5574 return resultobj;
5575 fail:
5576 return NULL;
5577 }
5578
5579
5580 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5581 PyObject *resultobj;
5582 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5583 PyObject * obj0 = 0 ;
5584 char *kwnames[] = {
5585 (char *) "self", NULL
5586 };
5587
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",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 (arg1)->SizeWindows();
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 Py_INCREF(Py_None); resultobj = Py_None;
5598 return resultobj;
5599 fail:
5600 return NULL;
5601 }
5602
5603
5604 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5605 PyObject *resultobj;
5606 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5607 bool arg2 ;
5608 PyObject * obj0 = 0 ;
5609 PyObject * obj1 = 0 ;
5610 char *kwnames[] = {
5611 (char *) "self",(char *) "needUpdating", NULL
5612 };
5613
5614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5616 {
5617 arg2 = (bool) SPyObj_AsBool(obj1);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 {
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
5622 (arg1)->SetNeedUpdating(arg2);
5623
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 Py_INCREF(Py_None); resultobj = Py_None;
5628 return resultobj;
5629 fail:
5630 return NULL;
5631 }
5632
5633
5634 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5635 PyObject *resultobj;
5636 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5637 bool result;
5638 PyObject * obj0 = 0 ;
5639 char *kwnames[] = {
5640 (char *) "self", NULL
5641 };
5642
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 resultobj = PyInt_FromLong((long)result);
5653 return resultobj;
5654 fail:
5655 return NULL;
5656 }
5657
5658
5659 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5660 PyObject *obj;
5661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5662 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5663 Py_INCREF(obj);
5664 return Py_BuildValue((char *)"");
5665 }
5666 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj;
5668 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5669 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5670 wxSplitterEvent *result;
5671 PyObject * obj1 = 0 ;
5672 char *kwnames[] = {
5673 (char *) "type",(char *) "splitter", NULL
5674 };
5675
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5677 if (obj1) {
5678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5679 }
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5688 return resultobj;
5689 fail:
5690 return NULL;
5691 }
5692
5693
5694 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5695 PyObject *resultobj;
5696 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5697 int arg2 ;
5698 PyObject * obj0 = 0 ;
5699 char *kwnames[] = {
5700 (char *) "self",(char *) "pos", NULL
5701 };
5702
5703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 (arg1)->SetSashPosition(arg2);
5708
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 Py_INCREF(Py_None); resultobj = Py_None;
5713 return resultobj;
5714 fail:
5715 return NULL;
5716 }
5717
5718
5719 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5722 int result;
5723 PyObject * obj0 = 0 ;
5724 char *kwnames[] = {
5725 (char *) "self", NULL
5726 };
5727
5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5730 {
5731 PyThreadState* __tstate = wxPyBeginAllowThreads();
5732 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5733
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 resultobj = PyInt_FromLong((long)result);
5738 return resultobj;
5739 fail:
5740 return NULL;
5741 }
5742
5743
5744 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5745 PyObject *resultobj;
5746 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5747 wxWindow *result;
5748 PyObject * obj0 = 0 ;
5749 char *kwnames[] = {
5750 (char *) "self", NULL
5751 };
5752
5753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5755 {
5756 PyThreadState* __tstate = wxPyBeginAllowThreads();
5757 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5758
5759 wxPyEndAllowThreads(__tstate);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 }
5762 {
5763 resultobj = wxPyMake_wxObject(result);
5764 }
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj;
5773 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5774 int result;
5775 PyObject * obj0 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5785
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
5789 resultobj = PyInt_FromLong((long)result);
5790 return resultobj;
5791 fail:
5792 return NULL;
5793 }
5794
5795
5796 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5797 PyObject *resultobj;
5798 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5799 int result;
5800 PyObject * obj0 = 0 ;
5801 char *kwnames[] = {
5802 (char *) "self", NULL
5803 };
5804
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 resultobj = PyInt_FromLong((long)result);
5815 return resultobj;
5816 fail:
5817 return NULL;
5818 }
5819
5820
5821 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5822 PyObject *obj;
5823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5824 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5825 Py_INCREF(obj);
5826 return Py_BuildValue((char *)"");
5827 }
5828 static int _wrap_SashNameStr_set(PyObject *_val) {
5829 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
5830 return 1;
5831 }
5832
5833
5834 static PyObject *_wrap_SashNameStr_get() {
5835 PyObject *pyobj;
5836
5837 {
5838 #if wxUSE_UNICODE
5839 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5840 #else
5841 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5842 #endif
5843 }
5844 return pyobj;
5845 }
5846
5847
5848 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
5849 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
5850 return 1;
5851 }
5852
5853
5854 static PyObject *_wrap_SashLayoutNameStr_get() {
5855 PyObject *pyobj;
5856
5857 {
5858 #if wxUSE_UNICODE
5859 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5860 #else
5861 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5862 #endif
5863 }
5864 return pyobj;
5865 }
5866
5867
5868 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5869 PyObject *resultobj;
5870 wxWindow *arg1 = (wxWindow *) 0 ;
5871 int arg2 ;
5872 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5873 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5874 wxSize const &arg4_defvalue = wxDefaultSize ;
5875 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5876 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5877 wxString const &arg6_defvalue = wxPySashNameStr ;
5878 wxString *arg6 = (wxString *) &arg6_defvalue ;
5879 wxSashWindow *result;
5880 wxPoint temp3 ;
5881 wxSize temp4 ;
5882 bool temp6 = False ;
5883 PyObject * obj0 = 0 ;
5884 PyObject * obj2 = 0 ;
5885 PyObject * obj3 = 0 ;
5886 PyObject * obj5 = 0 ;
5887 char *kwnames[] = {
5888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5889 };
5890
5891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5893 if (obj2) {
5894 {
5895 arg3 = &temp3;
5896 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5897 }
5898 }
5899 if (obj3) {
5900 {
5901 arg4 = &temp4;
5902 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5903 }
5904 }
5905 if (obj5) {
5906 {
5907 arg6 = wxString_in_helper(obj5);
5908 if (arg6 == NULL) SWIG_fail;
5909 temp6 = True;
5910 }
5911 }
5912 {
5913 PyThreadState* __tstate = wxPyBeginAllowThreads();
5914 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5915
5916 wxPyEndAllowThreads(__tstate);
5917 if (PyErr_Occurred()) SWIG_fail;
5918 }
5919 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5920 {
5921 if (temp6)
5922 delete arg6;
5923 }
5924 return resultobj;
5925 fail:
5926 {
5927 if (temp6)
5928 delete arg6;
5929 }
5930 return NULL;
5931 }
5932
5933
5934 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxSashWindow *result;
5937 char *kwnames[] = {
5938 NULL
5939 };
5940
5941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 result = (wxSashWindow *)new wxSashWindow();
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj;
5958 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5959 wxWindow *arg2 = (wxWindow *) 0 ;
5960 int arg3 ;
5961 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5962 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5963 wxSize const &arg5_defvalue = wxDefaultSize ;
5964 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5965 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5966 wxString const &arg7_defvalue = wxPySashNameStr ;
5967 wxString *arg7 = (wxString *) &arg7_defvalue ;
5968 bool result;
5969 wxPoint temp4 ;
5970 wxSize temp5 ;
5971 bool temp7 = False ;
5972 PyObject * obj0 = 0 ;
5973 PyObject * obj1 = 0 ;
5974 PyObject * obj3 = 0 ;
5975 PyObject * obj4 = 0 ;
5976 PyObject * obj6 = 0 ;
5977 char *kwnames[] = {
5978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5979 };
5980
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5984 if (obj3) {
5985 {
5986 arg4 = &temp4;
5987 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5988 }
5989 }
5990 if (obj4) {
5991 {
5992 arg5 = &temp5;
5993 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5994 }
5995 }
5996 if (obj6) {
5997 {
5998 arg7 = wxString_in_helper(obj6);
5999 if (arg7 == NULL) SWIG_fail;
6000 temp7 = True;
6001 }
6002 }
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6006
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
6010 resultobj = PyInt_FromLong((long)result);
6011 {
6012 if (temp7)
6013 delete arg7;
6014 }
6015 return resultobj;
6016 fail:
6017 {
6018 if (temp7)
6019 delete arg7;
6020 }
6021 return NULL;
6022 }
6023
6024
6025 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6026 PyObject *resultobj;
6027 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6028 int arg2 ;
6029 bool arg3 ;
6030 PyObject * obj0 = 0 ;
6031 PyObject * obj2 = 0 ;
6032 char *kwnames[] = {
6033 (char *) "self",(char *) "edge",(char *) "sash", NULL
6034 };
6035
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
6037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6038 {
6039 arg3 = (bool) SPyObj_AsBool(obj2);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 {
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
6044 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6045
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
6049 Py_INCREF(Py_None); resultobj = Py_None;
6050 return resultobj;
6051 fail:
6052 return NULL;
6053 }
6054
6055
6056 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6057 PyObject *resultobj;
6058 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6059 int arg2 ;
6060 bool result;
6061 PyObject * obj0 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "self",(char *) "edge", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
6067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6068 {
6069 PyThreadState* __tstate = wxPyBeginAllowThreads();
6070 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6071
6072 wxPyEndAllowThreads(__tstate);
6073 if (PyErr_Occurred()) SWIG_fail;
6074 }
6075 resultobj = PyInt_FromLong((long)result);
6076 return resultobj;
6077 fail:
6078 return NULL;
6079 }
6080
6081
6082 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6083 PyObject *resultobj;
6084 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6085 int arg2 ;
6086 bool arg3 ;
6087 PyObject * obj0 = 0 ;
6088 PyObject * obj2 = 0 ;
6089 char *kwnames[] = {
6090 (char *) "self",(char *) "edge",(char *) "border", NULL
6091 };
6092
6093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
6094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6095 {
6096 arg3 = (bool) SPyObj_AsBool(obj2);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
6099 {
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6102
6103 wxPyEndAllowThreads(__tstate);
6104 if (PyErr_Occurred()) SWIG_fail;
6105 }
6106 Py_INCREF(Py_None); resultobj = Py_None;
6107 return resultobj;
6108 fail:
6109 return NULL;
6110 }
6111
6112
6113 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6114 PyObject *resultobj;
6115 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6116 int arg2 ;
6117 bool result;
6118 PyObject * obj0 = 0 ;
6119 char *kwnames[] = {
6120 (char *) "self",(char *) "edge", NULL
6121 };
6122
6123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
6124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6125 {
6126 PyThreadState* __tstate = wxPyBeginAllowThreads();
6127 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6128
6129 wxPyEndAllowThreads(__tstate);
6130 if (PyErr_Occurred()) SWIG_fail;
6131 }
6132 resultobj = PyInt_FromLong((long)result);
6133 return resultobj;
6134 fail:
6135 return NULL;
6136 }
6137
6138
6139 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6140 PyObject *resultobj;
6141 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6142 int arg2 ;
6143 int result;
6144 PyObject * obj0 = 0 ;
6145 char *kwnames[] = {
6146 (char *) "self",(char *) "edge", NULL
6147 };
6148
6149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
6150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
6158 resultobj = PyInt_FromLong((long)result);
6159 return resultobj;
6160 fail:
6161 return NULL;
6162 }
6163
6164
6165 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6166 PyObject *resultobj;
6167 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6168 int arg2 ;
6169 PyObject * obj0 = 0 ;
6170 char *kwnames[] = {
6171 (char *) "self",(char *) "width", NULL
6172 };
6173
6174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
6175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 (arg1)->SetDefaultBorderSize(arg2);
6179
6180 wxPyEndAllowThreads(__tstate);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 Py_INCREF(Py_None); resultobj = Py_None;
6184 return resultobj;
6185 fail:
6186 return NULL;
6187 }
6188
6189
6190 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6191 PyObject *resultobj;
6192 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6193 int result;
6194 PyObject * obj0 = 0 ;
6195 char *kwnames[] = {
6196 (char *) "self", NULL
6197 };
6198
6199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6201 {
6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
6203 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6204
6205 wxPyEndAllowThreads(__tstate);
6206 if (PyErr_Occurred()) SWIG_fail;
6207 }
6208 resultobj = PyInt_FromLong((long)result);
6209 return resultobj;
6210 fail:
6211 return NULL;
6212 }
6213
6214
6215 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6216 PyObject *resultobj;
6217 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6218 int arg2 ;
6219 PyObject * obj0 = 0 ;
6220 char *kwnames[] = {
6221 (char *) "self",(char *) "width", NULL
6222 };
6223
6224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6226 {
6227 PyThreadState* __tstate = wxPyBeginAllowThreads();
6228 (arg1)->SetExtraBorderSize(arg2);
6229
6230 wxPyEndAllowThreads(__tstate);
6231 if (PyErr_Occurred()) SWIG_fail;
6232 }
6233 Py_INCREF(Py_None); resultobj = Py_None;
6234 return resultobj;
6235 fail:
6236 return NULL;
6237 }
6238
6239
6240 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6241 PyObject *resultobj;
6242 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6243 int result;
6244 PyObject * obj0 = 0 ;
6245 char *kwnames[] = {
6246 (char *) "self", NULL
6247 };
6248
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6251 {
6252 PyThreadState* __tstate = wxPyBeginAllowThreads();
6253 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6254
6255 wxPyEndAllowThreads(__tstate);
6256 if (PyErr_Occurred()) SWIG_fail;
6257 }
6258 resultobj = PyInt_FromLong((long)result);
6259 return resultobj;
6260 fail:
6261 return NULL;
6262 }
6263
6264
6265 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6266 PyObject *resultobj;
6267 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6268 int arg2 ;
6269 PyObject * obj0 = 0 ;
6270 char *kwnames[] = {
6271 (char *) "self",(char *) "min", NULL
6272 };
6273
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6276 {
6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6278 (arg1)->SetMinimumSizeX(arg2);
6279
6280 wxPyEndAllowThreads(__tstate);
6281 if (PyErr_Occurred()) SWIG_fail;
6282 }
6283 Py_INCREF(Py_None); resultobj = Py_None;
6284 return resultobj;
6285 fail:
6286 return NULL;
6287 }
6288
6289
6290 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6291 PyObject *resultobj;
6292 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6293 int arg2 ;
6294 PyObject * obj0 = 0 ;
6295 char *kwnames[] = {
6296 (char *) "self",(char *) "min", NULL
6297 };
6298
6299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6301 {
6302 PyThreadState* __tstate = wxPyBeginAllowThreads();
6303 (arg1)->SetMinimumSizeY(arg2);
6304
6305 wxPyEndAllowThreads(__tstate);
6306 if (PyErr_Occurred()) SWIG_fail;
6307 }
6308 Py_INCREF(Py_None); resultobj = Py_None;
6309 return resultobj;
6310 fail:
6311 return NULL;
6312 }
6313
6314
6315 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj;
6317 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6318 int result;
6319 PyObject * obj0 = 0 ;
6320 char *kwnames[] = {
6321 (char *) "self", NULL
6322 };
6323
6324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6326 {
6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
6328 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6329
6330 wxPyEndAllowThreads(__tstate);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
6333 resultobj = PyInt_FromLong((long)result);
6334 return resultobj;
6335 fail:
6336 return NULL;
6337 }
6338
6339
6340 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6341 PyObject *resultobj;
6342 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6343 int result;
6344 PyObject * obj0 = 0 ;
6345 char *kwnames[] = {
6346 (char *) "self", NULL
6347 };
6348
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 resultobj = PyInt_FromLong((long)result);
6359 return resultobj;
6360 fail:
6361 return NULL;
6362 }
6363
6364
6365 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6366 PyObject *resultobj;
6367 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6368 int arg2 ;
6369 PyObject * obj0 = 0 ;
6370 char *kwnames[] = {
6371 (char *) "self",(char *) "max", NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6376 {
6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
6378 (arg1)->SetMaximumSizeX(arg2);
6379
6380 wxPyEndAllowThreads(__tstate);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
6383 Py_INCREF(Py_None); resultobj = Py_None;
6384 return resultobj;
6385 fail:
6386 return NULL;
6387 }
6388
6389
6390 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6391 PyObject *resultobj;
6392 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6393 int arg2 ;
6394 PyObject * obj0 = 0 ;
6395 char *kwnames[] = {
6396 (char *) "self",(char *) "max", NULL
6397 };
6398
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 (arg1)->SetMaximumSizeY(arg2);
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 }
6408 Py_INCREF(Py_None); resultobj = Py_None;
6409 return resultobj;
6410 fail:
6411 return NULL;
6412 }
6413
6414
6415 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6416 PyObject *resultobj;
6417 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6418 int result;
6419 PyObject * obj0 = 0 ;
6420 char *kwnames[] = {
6421 (char *) "self", NULL
6422 };
6423
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 resultobj = PyInt_FromLong((long)result);
6434 return resultobj;
6435 fail:
6436 return NULL;
6437 }
6438
6439
6440 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6441 PyObject *resultobj;
6442 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6443 int result;
6444 PyObject * obj0 = 0 ;
6445 char *kwnames[] = {
6446 (char *) "self", NULL
6447 };
6448
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6454
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 resultobj = PyInt_FromLong((long)result);
6459 return resultobj;
6460 fail:
6461 return NULL;
6462 }
6463
6464
6465 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6466 PyObject *resultobj;
6467 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6468 int arg2 ;
6469 int arg3 ;
6470 int arg4 = (int) 2 ;
6471 int result;
6472 PyObject * obj0 = 0 ;
6473 char *kwnames[] = {
6474 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6475 };
6476
6477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6479 {
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6482
6483 wxPyEndAllowThreads(__tstate);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 }
6486 resultobj = PyInt_FromLong((long)result);
6487 return resultobj;
6488 fail:
6489 return NULL;
6490 }
6491
6492
6493 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6496 PyObject * obj0 = 0 ;
6497 char *kwnames[] = {
6498 (char *) "self", NULL
6499 };
6500
6501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 (arg1)->SizeWindows();
6506
6507 wxPyEndAllowThreads(__tstate);
6508 if (PyErr_Occurred()) SWIG_fail;
6509 }
6510 Py_INCREF(Py_None); resultobj = Py_None;
6511 return resultobj;
6512 fail:
6513 return NULL;
6514 }
6515
6516
6517 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6518 PyObject *obj;
6519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6520 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6521 Py_INCREF(obj);
6522 return Py_BuildValue((char *)"");
6523 }
6524 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6525 PyObject *resultobj;
6526 int arg1 = (int) 0 ;
6527 int arg2 = (int) wxSASH_NONE ;
6528 wxSashEvent *result;
6529 char *kwnames[] = {
6530 (char *) "id",(char *) "edge", NULL
6531 };
6532
6533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6534 {
6535 PyThreadState* __tstate = wxPyBeginAllowThreads();
6536 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6537
6538 wxPyEndAllowThreads(__tstate);
6539 if (PyErr_Occurred()) SWIG_fail;
6540 }
6541 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6542 return resultobj;
6543 fail:
6544 return NULL;
6545 }
6546
6547
6548 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6549 PyObject *resultobj;
6550 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6551 int arg2 ;
6552 PyObject * obj0 = 0 ;
6553 char *kwnames[] = {
6554 (char *) "self",(char *) "edge", NULL
6555 };
6556
6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6559 {
6560 PyThreadState* __tstate = wxPyBeginAllowThreads();
6561 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6562
6563 wxPyEndAllowThreads(__tstate);
6564 if (PyErr_Occurred()) SWIG_fail;
6565 }
6566 Py_INCREF(Py_None); resultobj = Py_None;
6567 return resultobj;
6568 fail:
6569 return NULL;
6570 }
6571
6572
6573 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6574 PyObject *resultobj;
6575 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6576 int result;
6577 PyObject * obj0 = 0 ;
6578 char *kwnames[] = {
6579 (char *) "self", NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6584 {
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6587
6588 wxPyEndAllowThreads(__tstate);
6589 if (PyErr_Occurred()) SWIG_fail;
6590 }
6591 resultobj = PyInt_FromLong((long)result);
6592 return resultobj;
6593 fail:
6594 return NULL;
6595 }
6596
6597
6598 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6599 PyObject *resultobj;
6600 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6601 wxRect *arg2 = 0 ;
6602 wxRect temp2 ;
6603 PyObject * obj0 = 0 ;
6604 PyObject * obj1 = 0 ;
6605 char *kwnames[] = {
6606 (char *) "self",(char *) "rect", NULL
6607 };
6608
6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6611 {
6612 arg2 = &temp2;
6613 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6614 }
6615 {
6616 PyThreadState* __tstate = wxPyBeginAllowThreads();
6617 (arg1)->SetDragRect((wxRect const &)*arg2);
6618
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 Py_INCREF(Py_None); resultobj = Py_None;
6623 return resultobj;
6624 fail:
6625 return NULL;
6626 }
6627
6628
6629 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6630 PyObject *resultobj;
6631 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6632 wxRect result;
6633 PyObject * obj0 = 0 ;
6634 char *kwnames[] = {
6635 (char *) "self", NULL
6636 };
6637
6638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6640 {
6641 PyThreadState* __tstate = wxPyBeginAllowThreads();
6642 result = ((wxSashEvent const *)arg1)->GetDragRect();
6643
6644 wxPyEndAllowThreads(__tstate);
6645 if (PyErr_Occurred()) SWIG_fail;
6646 }
6647 {
6648 wxRect * resultptr;
6649 resultptr = new wxRect((wxRect &) result);
6650 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6651 }
6652 return resultobj;
6653 fail:
6654 return NULL;
6655 }
6656
6657
6658 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6659 PyObject *resultobj;
6660 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6661 int arg2 ;
6662 PyObject * obj0 = 0 ;
6663 char *kwnames[] = {
6664 (char *) "self",(char *) "status", NULL
6665 };
6666
6667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
6676 Py_INCREF(Py_None); resultobj = Py_None;
6677 return resultobj;
6678 fail:
6679 return NULL;
6680 }
6681
6682
6683 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6684 PyObject *resultobj;
6685 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6686 int result;
6687 PyObject * obj0 = 0 ;
6688 char *kwnames[] = {
6689 (char *) "self", NULL
6690 };
6691
6692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6694 {
6695 PyThreadState* __tstate = wxPyBeginAllowThreads();
6696 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6697
6698 wxPyEndAllowThreads(__tstate);
6699 if (PyErr_Occurred()) SWIG_fail;
6700 }
6701 resultobj = PyInt_FromLong((long)result);
6702 return resultobj;
6703 fail:
6704 return NULL;
6705 }
6706
6707
6708 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6709 PyObject *obj;
6710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6711 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6712 Py_INCREF(obj);
6713 return Py_BuildValue((char *)"");
6714 }
6715 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6716 PyObject *resultobj;
6717 int arg1 = (int) 0 ;
6718 wxQueryLayoutInfoEvent *result;
6719 char *kwnames[] = {
6720 (char *) "id", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6724 {
6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
6726 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6727
6728 wxPyEndAllowThreads(__tstate);
6729 if (PyErr_Occurred()) SWIG_fail;
6730 }
6731 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6732 return resultobj;
6733 fail:
6734 return NULL;
6735 }
6736
6737
6738 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj;
6740 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6741 int arg2 ;
6742 PyObject * obj0 = 0 ;
6743 char *kwnames[] = {
6744 (char *) "self",(char *) "length", NULL
6745 };
6746
6747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 (arg1)->SetRequestedLength(arg2);
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 Py_INCREF(Py_None); resultobj = Py_None;
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6766 int result;
6767 PyObject * obj0 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self", NULL
6770 };
6771
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 resultobj = PyInt_FromLong((long)result);
6782 return resultobj;
6783 fail:
6784 return NULL;
6785 }
6786
6787
6788 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6789 PyObject *resultobj;
6790 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6791 int arg2 ;
6792 PyObject * obj0 = 0 ;
6793 char *kwnames[] = {
6794 (char *) "self",(char *) "flags", NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6799 {
6800 PyThreadState* __tstate = wxPyBeginAllowThreads();
6801 (arg1)->SetFlags(arg2);
6802
6803 wxPyEndAllowThreads(__tstate);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 Py_INCREF(Py_None); resultobj = Py_None;
6807 return resultobj;
6808 fail:
6809 return NULL;
6810 }
6811
6812
6813 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6814 PyObject *resultobj;
6815 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6816 int result;
6817 PyObject * obj0 = 0 ;
6818 char *kwnames[] = {
6819 (char *) "self", NULL
6820 };
6821
6822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6824 {
6825 PyThreadState* __tstate = wxPyBeginAllowThreads();
6826 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6827
6828 wxPyEndAllowThreads(__tstate);
6829 if (PyErr_Occurred()) SWIG_fail;
6830 }
6831 resultobj = PyInt_FromLong((long)result);
6832 return resultobj;
6833 fail:
6834 return NULL;
6835 }
6836
6837
6838 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6839 PyObject *resultobj;
6840 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6841 wxSize *arg2 = 0 ;
6842 wxSize temp2 ;
6843 PyObject * obj0 = 0 ;
6844 PyObject * obj1 = 0 ;
6845 char *kwnames[] = {
6846 (char *) "self",(char *) "size", NULL
6847 };
6848
6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6851 {
6852 arg2 = &temp2;
6853 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6854 }
6855 {
6856 PyThreadState* __tstate = wxPyBeginAllowThreads();
6857 (arg1)->SetSize((wxSize const &)*arg2);
6858
6859 wxPyEndAllowThreads(__tstate);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 Py_INCREF(Py_None); resultobj = Py_None;
6863 return resultobj;
6864 fail:
6865 return NULL;
6866 }
6867
6868
6869 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6870 PyObject *resultobj;
6871 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6872 wxSize result;
6873 PyObject * obj0 = 0 ;
6874 char *kwnames[] = {
6875 (char *) "self", NULL
6876 };
6877
6878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6880 {
6881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6882 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6883
6884 wxPyEndAllowThreads(__tstate);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 }
6887 {
6888 wxSize * resultptr;
6889 resultptr = new wxSize((wxSize &) result);
6890 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6891 }
6892 return resultobj;
6893 fail:
6894 return NULL;
6895 }
6896
6897
6898 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6899 PyObject *resultobj;
6900 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6901 int arg2 ;
6902 PyObject * obj0 = 0 ;
6903 char *kwnames[] = {
6904 (char *) "self",(char *) "orient", NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6912
6913 wxPyEndAllowThreads(__tstate);
6914 if (PyErr_Occurred()) SWIG_fail;
6915 }
6916 Py_INCREF(Py_None); resultobj = Py_None;
6917 return resultobj;
6918 fail:
6919 return NULL;
6920 }
6921
6922
6923 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6924 PyObject *resultobj;
6925 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6926 int result;
6927 PyObject * obj0 = 0 ;
6928 char *kwnames[] = {
6929 (char *) "self", NULL
6930 };
6931
6932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6934 {
6935 PyThreadState* __tstate = wxPyBeginAllowThreads();
6936 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6937
6938 wxPyEndAllowThreads(__tstate);
6939 if (PyErr_Occurred()) SWIG_fail;
6940 }
6941 resultobj = PyInt_FromLong((long)result);
6942 return resultobj;
6943 fail:
6944 return NULL;
6945 }
6946
6947
6948 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6949 PyObject *resultobj;
6950 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6951 int arg2 ;
6952 PyObject * obj0 = 0 ;
6953 char *kwnames[] = {
6954 (char *) "self",(char *) "align", NULL
6955 };
6956
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6962
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
6966 Py_INCREF(Py_None); resultobj = Py_None;
6967 return resultobj;
6968 fail:
6969 return NULL;
6970 }
6971
6972
6973 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6974 PyObject *resultobj;
6975 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6976 int result;
6977 PyObject * obj0 = 0 ;
6978 char *kwnames[] = {
6979 (char *) "self", NULL
6980 };
6981
6982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6984 {
6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
6986 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6987
6988 wxPyEndAllowThreads(__tstate);
6989 if (PyErr_Occurred()) SWIG_fail;
6990 }
6991 resultobj = PyInt_FromLong((long)result);
6992 return resultobj;
6993 fail:
6994 return NULL;
6995 }
6996
6997
6998 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6999 PyObject *obj;
7000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7001 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7002 Py_INCREF(obj);
7003 return Py_BuildValue((char *)"");
7004 }
7005 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7006 PyObject *resultobj;
7007 int arg1 = (int) 0 ;
7008 wxCalculateLayoutEvent *result;
7009 char *kwnames[] = {
7010 (char *) "id", NULL
7011 };
7012
7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
7014 {
7015 PyThreadState* __tstate = wxPyBeginAllowThreads();
7016 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7017
7018 wxPyEndAllowThreads(__tstate);
7019 if (PyErr_Occurred()) SWIG_fail;
7020 }
7021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7022 return resultobj;
7023 fail:
7024 return NULL;
7025 }
7026
7027
7028 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7029 PyObject *resultobj;
7030 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7031 int arg2 ;
7032 PyObject * obj0 = 0 ;
7033 char *kwnames[] = {
7034 (char *) "self",(char *) "flags", NULL
7035 };
7036
7037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
7038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7039 {
7040 PyThreadState* __tstate = wxPyBeginAllowThreads();
7041 (arg1)->SetFlags(arg2);
7042
7043 wxPyEndAllowThreads(__tstate);
7044 if (PyErr_Occurred()) SWIG_fail;
7045 }
7046 Py_INCREF(Py_None); resultobj = Py_None;
7047 return resultobj;
7048 fail:
7049 return NULL;
7050 }
7051
7052
7053 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7054 PyObject *resultobj;
7055 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7056 int result;
7057 PyObject * obj0 = 0 ;
7058 char *kwnames[] = {
7059 (char *) "self", NULL
7060 };
7061
7062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7064 {
7065 PyThreadState* __tstate = wxPyBeginAllowThreads();
7066 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7067
7068 wxPyEndAllowThreads(__tstate);
7069 if (PyErr_Occurred()) SWIG_fail;
7070 }
7071 resultobj = PyInt_FromLong((long)result);
7072 return resultobj;
7073 fail:
7074 return NULL;
7075 }
7076
7077
7078 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj;
7080 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7081 wxRect *arg2 = 0 ;
7082 wxRect temp2 ;
7083 PyObject * obj0 = 0 ;
7084 PyObject * obj1 = 0 ;
7085 char *kwnames[] = {
7086 (char *) "self",(char *) "rect", NULL
7087 };
7088
7089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7091 {
7092 arg2 = &temp2;
7093 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7094 }
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 (arg1)->SetRect((wxRect const &)*arg2);
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 Py_INCREF(Py_None); resultobj = Py_None;
7103 return resultobj;
7104 fail:
7105 return NULL;
7106 }
7107
7108
7109 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7110 PyObject *resultobj;
7111 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7112 wxRect result;
7113 PyObject * obj0 = 0 ;
7114 char *kwnames[] = {
7115 (char *) "self", NULL
7116 };
7117
7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7120 {
7121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7122 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7123
7124 wxPyEndAllowThreads(__tstate);
7125 if (PyErr_Occurred()) SWIG_fail;
7126 }
7127 {
7128 wxRect * resultptr;
7129 resultptr = new wxRect((wxRect &) result);
7130 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7131 }
7132 return resultobj;
7133 fail:
7134 return NULL;
7135 }
7136
7137
7138 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7139 PyObject *obj;
7140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7141 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7142 Py_INCREF(obj);
7143 return Py_BuildValue((char *)"");
7144 }
7145 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7146 PyObject *resultobj;
7147 wxWindow *arg1 = (wxWindow *) 0 ;
7148 int arg2 ;
7149 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7150 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7151 wxSize const &arg4_defvalue = wxDefaultSize ;
7152 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7153 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7154 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7155 wxString *arg6 = (wxString *) &arg6_defvalue ;
7156 wxSashLayoutWindow *result;
7157 wxPoint temp3 ;
7158 wxSize temp4 ;
7159 bool temp6 = False ;
7160 PyObject * obj0 = 0 ;
7161 PyObject * obj2 = 0 ;
7162 PyObject * obj3 = 0 ;
7163 PyObject * obj5 = 0 ;
7164 char *kwnames[] = {
7165 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7166 };
7167
7168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7170 if (obj2) {
7171 {
7172 arg3 = &temp3;
7173 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7174 }
7175 }
7176 if (obj3) {
7177 {
7178 arg4 = &temp4;
7179 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7180 }
7181 }
7182 if (obj5) {
7183 {
7184 arg6 = wxString_in_helper(obj5);
7185 if (arg6 == NULL) SWIG_fail;
7186 temp6 = True;
7187 }
7188 }
7189 {
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7192
7193 wxPyEndAllowThreads(__tstate);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7197 {
7198 if (temp6)
7199 delete arg6;
7200 }
7201 return resultobj;
7202 fail:
7203 {
7204 if (temp6)
7205 delete arg6;
7206 }
7207 return NULL;
7208 }
7209
7210
7211 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7212 PyObject *resultobj;
7213 wxSashLayoutWindow *result;
7214 char *kwnames[] = {
7215 NULL
7216 };
7217
7218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7219 {
7220 PyThreadState* __tstate = wxPyBeginAllowThreads();
7221 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7222
7223 wxPyEndAllowThreads(__tstate);
7224 if (PyErr_Occurred()) SWIG_fail;
7225 }
7226 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7227 return resultobj;
7228 fail:
7229 return NULL;
7230 }
7231
7232
7233 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7234 PyObject *resultobj;
7235 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7236 wxWindow *arg2 = (wxWindow *) 0 ;
7237 int arg3 ;
7238 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7239 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7240 wxSize const &arg5_defvalue = wxDefaultSize ;
7241 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7242 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7243 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7244 wxString *arg7 = (wxString *) &arg7_defvalue ;
7245 bool result;
7246 wxPoint temp4 ;
7247 wxSize temp5 ;
7248 bool temp7 = False ;
7249 PyObject * obj0 = 0 ;
7250 PyObject * obj1 = 0 ;
7251 PyObject * obj3 = 0 ;
7252 PyObject * obj4 = 0 ;
7253 PyObject * obj6 = 0 ;
7254 char *kwnames[] = {
7255 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7256 };
7257
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7261 if (obj3) {
7262 {
7263 arg4 = &temp4;
7264 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7265 }
7266 }
7267 if (obj4) {
7268 {
7269 arg5 = &temp5;
7270 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7271 }
7272 }
7273 if (obj6) {
7274 {
7275 arg7 = wxString_in_helper(obj6);
7276 if (arg7 == NULL) SWIG_fail;
7277 temp7 = True;
7278 }
7279 }
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 resultobj = PyInt_FromLong((long)result);
7288 {
7289 if (temp7)
7290 delete arg7;
7291 }
7292 return resultobj;
7293 fail:
7294 {
7295 if (temp7)
7296 delete arg7;
7297 }
7298 return NULL;
7299 }
7300
7301
7302 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject *resultobj;
7304 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7305 int result;
7306 PyObject * obj0 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "self", NULL
7309 };
7310
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7313 {
7314 PyThreadState* __tstate = wxPyBeginAllowThreads();
7315 result = (int)(arg1)->GetAlignment();
7316
7317 wxPyEndAllowThreads(__tstate);
7318 if (PyErr_Occurred()) SWIG_fail;
7319 }
7320 resultobj = PyInt_FromLong((long)result);
7321 return resultobj;
7322 fail:
7323 return NULL;
7324 }
7325
7326
7327 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7328 PyObject *resultobj;
7329 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7330 int result;
7331 PyObject * obj0 = 0 ;
7332 char *kwnames[] = {
7333 (char *) "self", NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7338 {
7339 PyThreadState* __tstate = wxPyBeginAllowThreads();
7340 result = (int)(arg1)->GetOrientation();
7341
7342 wxPyEndAllowThreads(__tstate);
7343 if (PyErr_Occurred()) SWIG_fail;
7344 }
7345 resultobj = PyInt_FromLong((long)result);
7346 return resultobj;
7347 fail:
7348 return NULL;
7349 }
7350
7351
7352 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7353 PyObject *resultobj;
7354 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7355 int arg2 ;
7356 PyObject * obj0 = 0 ;
7357 char *kwnames[] = {
7358 (char *) "self",(char *) "alignment", NULL
7359 };
7360
7361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7363 {
7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7365 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7366
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 Py_INCREF(Py_None); resultobj = Py_None;
7371 return resultobj;
7372 fail:
7373 return NULL;
7374 }
7375
7376
7377 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7378 PyObject *resultobj;
7379 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7380 wxSize *arg2 = 0 ;
7381 wxSize temp2 ;
7382 PyObject * obj0 = 0 ;
7383 PyObject * obj1 = 0 ;
7384 char *kwnames[] = {
7385 (char *) "self",(char *) "size", NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7390 {
7391 arg2 = &temp2;
7392 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7393 }
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 Py_INCREF(Py_None); resultobj = Py_None;
7402 return resultobj;
7403 fail:
7404 return NULL;
7405 }
7406
7407
7408 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj;
7410 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7411 int arg2 ;
7412 PyObject * obj0 = 0 ;
7413 char *kwnames[] = {
7414 (char *) "self",(char *) "orientation", NULL
7415 };
7416
7417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7419 {
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 Py_INCREF(Py_None); resultobj = Py_None;
7427 return resultobj;
7428 fail:
7429 return NULL;
7430 }
7431
7432
7433 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7434 PyObject *obj;
7435 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7436 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7437 Py_INCREF(obj);
7438 return Py_BuildValue((char *)"");
7439 }
7440 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 wxLayoutAlgorithm *result;
7443 char *kwnames[] = {
7444 NULL
7445 };
7446
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7456 return resultobj;
7457 fail:
7458 return NULL;
7459 }
7460
7461
7462 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7465 PyObject * obj0 = 0 ;
7466 char *kwnames[] = {
7467 (char *) "self", NULL
7468 };
7469
7470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7472 {
7473 PyThreadState* __tstate = wxPyBeginAllowThreads();
7474 delete arg1;
7475
7476 wxPyEndAllowThreads(__tstate);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 }
7479 Py_INCREF(Py_None); resultobj = Py_None;
7480 return resultobj;
7481 fail:
7482 return NULL;
7483 }
7484
7485
7486 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7487 PyObject *resultobj;
7488 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7489 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7490 wxRect *arg3 = (wxRect *) NULL ;
7491 bool result;
7492 PyObject * obj0 = 0 ;
7493 PyObject * obj1 = 0 ;
7494 PyObject * obj2 = 0 ;
7495 char *kwnames[] = {
7496 (char *) "self",(char *) "frame",(char *) "rect", NULL
7497 };
7498
7499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7501 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7502 if (obj2) {
7503 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7504 }
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 resultobj = PyInt_FromLong((long)result);
7513 return resultobj;
7514 fail:
7515 return NULL;
7516 }
7517
7518
7519 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7520 PyObject *resultobj;
7521 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7522 wxFrame *arg2 = (wxFrame *) 0 ;
7523 wxWindow *arg3 = (wxWindow *) NULL ;
7524 bool result;
7525 PyObject * obj0 = 0 ;
7526 PyObject * obj1 = 0 ;
7527 PyObject * obj2 = 0 ;
7528 char *kwnames[] = {
7529 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7530 };
7531
7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7534 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7535 if (obj2) {
7536 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7537 }
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 resultobj = PyInt_FromLong((long)result);
7546 return resultobj;
7547 fail:
7548 return NULL;
7549 }
7550
7551
7552 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7555 wxWindow *arg2 = (wxWindow *) 0 ;
7556 wxWindow *arg3 = (wxWindow *) NULL ;
7557 bool result;
7558 PyObject * obj0 = 0 ;
7559 PyObject * obj1 = 0 ;
7560 PyObject * obj2 = 0 ;
7561 char *kwnames[] = {
7562 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7563 };
7564
7565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7568 if (obj2) {
7569 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7570 }
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 resultobj = PyInt_FromLong((long)result);
7579 return resultobj;
7580 fail:
7581 return NULL;
7582 }
7583
7584
7585 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7586 PyObject *obj;
7587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7588 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7589 Py_INCREF(obj);
7590 return Py_BuildValue((char *)"");
7591 }
7592 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7593 PyObject *resultobj;
7594 wxWindow *arg1 = (wxWindow *) 0 ;
7595 int arg2 = (int) wxBORDER_NONE ;
7596 wxPopupWindow *result;
7597 PyObject * obj0 = 0 ;
7598 char *kwnames[] = {
7599 (char *) "parent",(char *) "flags", NULL
7600 };
7601
7602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7612 return resultobj;
7613 fail:
7614 return NULL;
7615 }
7616
7617
7618 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 wxPopupWindow *result;
7621 char *kwnames[] = {
7622 NULL
7623 };
7624
7625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 result = (wxPopupWindow *)new wxPopupWindow();
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7634 return resultobj;
7635 fail:
7636 return NULL;
7637 }
7638
7639
7640 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7641 PyObject *obj;
7642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7643 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7644 Py_INCREF(obj);
7645 return Py_BuildValue((char *)"");
7646 }
7647 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7648 PyObject *resultobj;
7649 wxWindow *arg1 = (wxWindow *) 0 ;
7650 int arg2 = (int) wxBORDER_NONE ;
7651 wxPyPopupTransientWindow *result;
7652 PyObject * obj0 = 0 ;
7653 char *kwnames[] = {
7654 (char *) "parent",(char *) "style", NULL
7655 };
7656
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7662
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7667 return resultobj;
7668 fail:
7669 return NULL;
7670 }
7671
7672
7673 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7674 PyObject *resultobj;
7675 wxPyPopupTransientWindow *result;
7676 char *kwnames[] = {
7677 NULL
7678 };
7679
7680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7689 return resultobj;
7690 fail:
7691 return NULL;
7692 }
7693
7694
7695 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7696 PyObject *obj;
7697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7698 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7699 Py_INCREF(obj);
7700 return Py_BuildValue((char *)"");
7701 }
7702 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7703 PyObject *resultobj;
7704 wxWindow *arg1 = (wxWindow *) 0 ;
7705 wxString *arg2 = 0 ;
7706 int arg3 = (int) 100 ;
7707 wxRect *arg4 = (wxRect *) NULL ;
7708 wxTipWindow *result;
7709 bool temp2 = False ;
7710 PyObject * obj0 = 0 ;
7711 PyObject * obj1 = 0 ;
7712 PyObject * obj3 = 0 ;
7713 char *kwnames[] = {
7714 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7715 };
7716
7717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7719 {
7720 arg2 = wxString_in_helper(obj1);
7721 if (arg2 == NULL) SWIG_fail;
7722 temp2 = True;
7723 }
7724 if (obj3) {
7725 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7726 }
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7735 {
7736 if (temp2)
7737 delete arg2;
7738 }
7739 return resultobj;
7740 fail:
7741 {
7742 if (temp2)
7743 delete arg2;
7744 }
7745 return NULL;
7746 }
7747
7748
7749 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj;
7751 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7752 wxRect *arg2 = 0 ;
7753 wxRect temp2 ;
7754 PyObject * obj0 = 0 ;
7755 PyObject * obj1 = 0 ;
7756 char *kwnames[] = {
7757 (char *) "self",(char *) "rectBound", NULL
7758 };
7759
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7762 {
7763 arg2 = &temp2;
7764 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7765 }
7766 {
7767 PyThreadState* __tstate = wxPyBeginAllowThreads();
7768 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7769
7770 wxPyEndAllowThreads(__tstate);
7771 if (PyErr_Occurred()) SWIG_fail;
7772 }
7773 Py_INCREF(Py_None); resultobj = Py_None;
7774 return resultobj;
7775 fail:
7776 return NULL;
7777 }
7778
7779
7780 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7781 PyObject *resultobj;
7782 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7783 PyObject * obj0 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "self", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7790 {
7791 PyThreadState* __tstate = wxPyBeginAllowThreads();
7792 (arg1)->Close();
7793
7794 wxPyEndAllowThreads(__tstate);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 }
7797 Py_INCREF(Py_None); resultobj = Py_None;
7798 return resultobj;
7799 fail:
7800 return NULL;
7801 }
7802
7803
7804 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7805 PyObject *obj;
7806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7807 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7808 Py_INCREF(obj);
7809 return Py_BuildValue((char *)"");
7810 }
7811 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7812 PyObject *resultobj;
7813 wxWindow *arg1 = (wxWindow *) 0 ;
7814 int arg2 = (int) wxID_ANY ;
7815 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7816 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7817 wxSize const &arg4_defvalue = wxDefaultSize ;
7818 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7819 long arg5 = (long) 0 ;
7820 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7821 wxString *arg6 = (wxString *) &arg6_defvalue ;
7822 wxPyVScrolledWindow *result;
7823 wxPoint temp3 ;
7824 wxSize temp4 ;
7825 bool temp6 = False ;
7826 PyObject * obj0 = 0 ;
7827 PyObject * obj2 = 0 ;
7828 PyObject * obj3 = 0 ;
7829 PyObject * obj5 = 0 ;
7830 char *kwnames[] = {
7831 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7836 if (obj2) {
7837 {
7838 arg3 = &temp3;
7839 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7840 }
7841 }
7842 if (obj3) {
7843 {
7844 arg4 = &temp4;
7845 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7846 }
7847 }
7848 if (obj5) {
7849 {
7850 arg6 = wxString_in_helper(obj5);
7851 if (arg6 == NULL) SWIG_fail;
7852 temp6 = True;
7853 }
7854 }
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7858
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7863 {
7864 if (temp6)
7865 delete arg6;
7866 }
7867 return resultobj;
7868 fail:
7869 {
7870 if (temp6)
7871 delete arg6;
7872 }
7873 return NULL;
7874 }
7875
7876
7877 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7878 PyObject *resultobj;
7879 wxPyVScrolledWindow *result;
7880 char *kwnames[] = {
7881 NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7893 return resultobj;
7894 fail:
7895 return NULL;
7896 }
7897
7898
7899 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj;
7901 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7902 PyObject *arg2 = (PyObject *) 0 ;
7903 PyObject *arg3 = (PyObject *) 0 ;
7904 PyObject * obj0 = 0 ;
7905 PyObject * obj1 = 0 ;
7906 PyObject * obj2 = 0 ;
7907 char *kwnames[] = {
7908 (char *) "self",(char *) "self",(char *) "_class", NULL
7909 };
7910
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7913 arg2 = obj1;
7914 arg3 = obj2;
7915 {
7916 PyThreadState* __tstate = wxPyBeginAllowThreads();
7917 (arg1)->_setCallbackInfo(arg2,arg3);
7918
7919 wxPyEndAllowThreads(__tstate);
7920 if (PyErr_Occurred()) SWIG_fail;
7921 }
7922 Py_INCREF(Py_None); resultobj = Py_None;
7923 return resultobj;
7924 fail:
7925 return NULL;
7926 }
7927
7928
7929 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7930 PyObject *resultobj;
7931 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7932 wxWindow *arg2 = (wxWindow *) 0 ;
7933 int arg3 = (int) wxID_ANY ;
7934 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7935 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7936 wxSize const &arg5_defvalue = wxDefaultSize ;
7937 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7938 long arg6 = (long) 0 ;
7939 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7940 wxString *arg7 = (wxString *) &arg7_defvalue ;
7941 bool result;
7942 wxPoint temp4 ;
7943 wxSize temp5 ;
7944 bool temp7 = False ;
7945 PyObject * obj0 = 0 ;
7946 PyObject * obj1 = 0 ;
7947 PyObject * obj3 = 0 ;
7948 PyObject * obj4 = 0 ;
7949 PyObject * obj6 = 0 ;
7950 char *kwnames[] = {
7951 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7952 };
7953
7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7957 if (obj3) {
7958 {
7959 arg4 = &temp4;
7960 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7961 }
7962 }
7963 if (obj4) {
7964 {
7965 arg5 = &temp5;
7966 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7967 }
7968 }
7969 if (obj6) {
7970 {
7971 arg7 = wxString_in_helper(obj6);
7972 if (arg7 == NULL) SWIG_fail;
7973 temp7 = True;
7974 }
7975 }
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7979
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 resultobj = PyInt_FromLong((long)result);
7984 {
7985 if (temp7)
7986 delete arg7;
7987 }
7988 return resultobj;
7989 fail:
7990 {
7991 if (temp7)
7992 delete arg7;
7993 }
7994 return NULL;
7995 }
7996
7997
7998 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8001 size_t arg2 ;
8002 PyObject * obj0 = 0 ;
8003 PyObject * obj1 = 0 ;
8004 char *kwnames[] = {
8005 (char *) "self",(char *) "count", NULL
8006 };
8007
8008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8010 {
8011 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 }
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 (arg1)->SetLineCount(arg2);
8017
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 Py_INCREF(Py_None); resultobj = Py_None;
8022 return resultobj;
8023 fail:
8024 return NULL;
8025 }
8026
8027
8028 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8029 PyObject *resultobj;
8030 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8031 size_t arg2 ;
8032 bool result;
8033 PyObject * obj0 = 0 ;
8034 PyObject * obj1 = 0 ;
8035 char *kwnames[] = {
8036 (char *) "self",(char *) "line", NULL
8037 };
8038
8039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8041 {
8042 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8043 if (PyErr_Occurred()) SWIG_fail;
8044 }
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 result = (bool)(arg1)->ScrollToLine(arg2);
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 resultobj = PyInt_FromLong((long)result);
8053 return resultobj;
8054 fail:
8055 return NULL;
8056 }
8057
8058
8059 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8060 PyObject *resultobj;
8061 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8062 int arg2 ;
8063 bool result;
8064 PyObject * obj0 = 0 ;
8065 char *kwnames[] = {
8066 (char *) "self",(char *) "lines", NULL
8067 };
8068
8069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
8070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = (bool)(arg1)->ScrollLines(arg2);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 resultobj = PyInt_FromLong((long)result);
8079 return resultobj;
8080 fail:
8081 return NULL;
8082 }
8083
8084
8085 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8086 PyObject *resultobj;
8087 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8088 int arg2 ;
8089 bool result;
8090 PyObject * obj0 = 0 ;
8091 char *kwnames[] = {
8092 (char *) "self",(char *) "pages", NULL
8093 };
8094
8095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
8096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 result = (bool)(arg1)->ScrollPages(arg2);
8100
8101 wxPyEndAllowThreads(__tstate);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
8104 resultobj = PyInt_FromLong((long)result);
8105 return resultobj;
8106 fail:
8107 return NULL;
8108 }
8109
8110
8111 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8112 PyObject *resultobj;
8113 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8114 size_t arg2 ;
8115 PyObject * obj0 = 0 ;
8116 PyObject * obj1 = 0 ;
8117 char *kwnames[] = {
8118 (char *) "self",(char *) "line", NULL
8119 };
8120
8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8123 {
8124 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 {
8128 PyThreadState* __tstate = wxPyBeginAllowThreads();
8129 (arg1)->RefreshLine(arg2);
8130
8131 wxPyEndAllowThreads(__tstate);
8132 if (PyErr_Occurred()) SWIG_fail;
8133 }
8134 Py_INCREF(Py_None); resultobj = Py_None;
8135 return resultobj;
8136 fail:
8137 return NULL;
8138 }
8139
8140
8141 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8142 PyObject *resultobj;
8143 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8144 size_t arg2 ;
8145 size_t arg3 ;
8146 PyObject * obj0 = 0 ;
8147 PyObject * obj1 = 0 ;
8148 PyObject * obj2 = 0 ;
8149 char *kwnames[] = {
8150 (char *) "self",(char *) "from",(char *) "to", NULL
8151 };
8152
8153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8155 {
8156 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 }
8159 {
8160 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 (arg1)->RefreshLines(arg2,arg3);
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 Py_INCREF(Py_None); resultobj = Py_None;
8171 return resultobj;
8172 fail:
8173 return NULL;
8174 }
8175
8176
8177 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8178 PyObject *resultobj;
8179 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8180 int arg2 ;
8181 int arg3 ;
8182 int result;
8183 PyObject * obj0 = 0 ;
8184 char *kwnames[] = {
8185 (char *) "self",(char *) "x",(char *) "y", NULL
8186 };
8187
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8193
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
8197 resultobj = PyInt_FromLong((long)result);
8198 return resultobj;
8199 fail:
8200 return NULL;
8201 }
8202
8203
8204 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8205 PyObject *resultobj;
8206 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8207 wxPoint *arg2 = 0 ;
8208 int result;
8209 wxPoint temp2 ;
8210 PyObject * obj0 = 0 ;
8211 PyObject * obj1 = 0 ;
8212 char *kwnames[] = {
8213 (char *) "self",(char *) "pt", NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",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 = &temp2;
8220 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8221 }
8222 {
8223 PyThreadState* __tstate = wxPyBeginAllowThreads();
8224 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8225
8226 wxPyEndAllowThreads(__tstate);
8227 if (PyErr_Occurred()) SWIG_fail;
8228 }
8229 resultobj = PyInt_FromLong((long)result);
8230 return resultobj;
8231 fail:
8232 return NULL;
8233 }
8234
8235
8236 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8237 PyObject *resultobj;
8238 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8239 PyObject * obj0 = 0 ;
8240 char *kwnames[] = {
8241 (char *) "self", NULL
8242 };
8243
8244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8246 {
8247 PyThreadState* __tstate = wxPyBeginAllowThreads();
8248 (arg1)->RefreshAll();
8249
8250 wxPyEndAllowThreads(__tstate);
8251 if (PyErr_Occurred()) SWIG_fail;
8252 }
8253 Py_INCREF(Py_None); resultobj = Py_None;
8254 return resultobj;
8255 fail:
8256 return NULL;
8257 }
8258
8259
8260 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8261 PyObject *resultobj;
8262 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8263 size_t result;
8264 PyObject * obj0 = 0 ;
8265 char *kwnames[] = {
8266 (char *) "self", NULL
8267 };
8268
8269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8271 {
8272 PyThreadState* __tstate = wxPyBeginAllowThreads();
8273 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8274
8275 wxPyEndAllowThreads(__tstate);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 }
8278 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8279 return resultobj;
8280 fail:
8281 return NULL;
8282 }
8283
8284
8285 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8286 PyObject *resultobj;
8287 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8288 size_t result;
8289 PyObject * obj0 = 0 ;
8290 char *kwnames[] = {
8291 (char *) "self", NULL
8292 };
8293
8294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8296 {
8297 PyThreadState* __tstate = wxPyBeginAllowThreads();
8298 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8299
8300 wxPyEndAllowThreads(__tstate);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 }
8303 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8304 return resultobj;
8305 fail:
8306 return NULL;
8307 }
8308
8309
8310 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8311 PyObject *resultobj;
8312 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8313 size_t result;
8314 PyObject * obj0 = 0 ;
8315 char *kwnames[] = {
8316 (char *) "self", NULL
8317 };
8318
8319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8321 {
8322 PyThreadState* __tstate = wxPyBeginAllowThreads();
8323 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8324
8325 wxPyEndAllowThreads(__tstate);
8326 if (PyErr_Occurred()) SWIG_fail;
8327 }
8328 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8329 return resultobj;
8330 fail:
8331 return NULL;
8332 }
8333
8334
8335 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8336 PyObject *resultobj;
8337 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8338 size_t arg2 ;
8339 bool result;
8340 PyObject * obj0 = 0 ;
8341 PyObject * obj1 = 0 ;
8342 char *kwnames[] = {
8343 (char *) "self",(char *) "line", NULL
8344 };
8345
8346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8348 {
8349 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8350 if (PyErr_Occurred()) SWIG_fail;
8351 }
8352 {
8353 PyThreadState* __tstate = wxPyBeginAllowThreads();
8354 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8355
8356 wxPyEndAllowThreads(__tstate);
8357 if (PyErr_Occurred()) SWIG_fail;
8358 }
8359 resultobj = PyInt_FromLong((long)result);
8360 return resultobj;
8361 fail:
8362 return NULL;
8363 }
8364
8365
8366 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8367 PyObject *obj;
8368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8369 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8370 Py_INCREF(obj);
8371 return Py_BuildValue((char *)"");
8372 }
8373 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
8374 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
8375 return 1;
8376 }
8377
8378
8379 static PyObject *_wrap_VListBoxNameStr_get() {
8380 PyObject *pyobj;
8381
8382 {
8383 #if wxUSE_UNICODE
8384 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8385 #else
8386 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8387 #endif
8388 }
8389 return pyobj;
8390 }
8391
8392
8393 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8394 PyObject *resultobj;
8395 wxWindow *arg1 = (wxWindow *) 0 ;
8396 int arg2 = (int) wxID_ANY ;
8397 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8398 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8399 wxSize const &arg4_defvalue = wxDefaultSize ;
8400 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8401 long arg5 = (long) 0 ;
8402 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8403 wxString *arg6 = (wxString *) &arg6_defvalue ;
8404 wxPyVListBox *result;
8405 wxPoint temp3 ;
8406 wxSize temp4 ;
8407 bool temp6 = False ;
8408 PyObject * obj0 = 0 ;
8409 PyObject * obj2 = 0 ;
8410 PyObject * obj3 = 0 ;
8411 PyObject * obj5 = 0 ;
8412 char *kwnames[] = {
8413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8414 };
8415
8416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8418 if (obj2) {
8419 {
8420 arg3 = &temp3;
8421 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8422 }
8423 }
8424 if (obj3) {
8425 {
8426 arg4 = &temp4;
8427 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8428 }
8429 }
8430 if (obj5) {
8431 {
8432 arg6 = wxString_in_helper(obj5);
8433 if (arg6 == NULL) SWIG_fail;
8434 temp6 = True;
8435 }
8436 }
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8445 {
8446 if (temp6)
8447 delete arg6;
8448 }
8449 return resultobj;
8450 fail:
8451 {
8452 if (temp6)
8453 delete arg6;
8454 }
8455 return NULL;
8456 }
8457
8458
8459 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8460 PyObject *resultobj;
8461 wxPyVListBox *result;
8462 char *kwnames[] = {
8463 NULL
8464 };
8465
8466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8467 {
8468 PyThreadState* __tstate = wxPyBeginAllowThreads();
8469 result = (wxPyVListBox *)new wxPyVListBox();
8470
8471 wxPyEndAllowThreads(__tstate);
8472 if (PyErr_Occurred()) SWIG_fail;
8473 }
8474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8475 return resultobj;
8476 fail:
8477 return NULL;
8478 }
8479
8480
8481 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8482 PyObject *resultobj;
8483 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8484 PyObject *arg2 = (PyObject *) 0 ;
8485 PyObject *arg3 = (PyObject *) 0 ;
8486 PyObject * obj0 = 0 ;
8487 PyObject * obj1 = 0 ;
8488 PyObject * obj2 = 0 ;
8489 char *kwnames[] = {
8490 (char *) "self",(char *) "self",(char *) "_class", NULL
8491 };
8492
8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8495 arg2 = obj1;
8496 arg3 = obj2;
8497 {
8498 PyThreadState* __tstate = wxPyBeginAllowThreads();
8499 (arg1)->_setCallbackInfo(arg2,arg3);
8500
8501 wxPyEndAllowThreads(__tstate);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
8504 Py_INCREF(Py_None); resultobj = Py_None;
8505 return resultobj;
8506 fail:
8507 return NULL;
8508 }
8509
8510
8511 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8512 PyObject *resultobj;
8513 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8514 wxWindow *arg2 = (wxWindow *) 0 ;
8515 int arg3 = (int) wxID_ANY ;
8516 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8517 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8518 wxSize const &arg5_defvalue = wxDefaultSize ;
8519 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8520 long arg6 = (long) 0 ;
8521 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8522 wxString *arg7 = (wxString *) &arg7_defvalue ;
8523 bool result;
8524 wxPoint temp4 ;
8525 wxSize temp5 ;
8526 bool temp7 = False ;
8527 PyObject * obj0 = 0 ;
8528 PyObject * obj1 = 0 ;
8529 PyObject * obj3 = 0 ;
8530 PyObject * obj4 = 0 ;
8531 PyObject * obj6 = 0 ;
8532 char *kwnames[] = {
8533 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8534 };
8535
8536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8539 if (obj3) {
8540 {
8541 arg4 = &temp4;
8542 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8543 }
8544 }
8545 if (obj4) {
8546 {
8547 arg5 = &temp5;
8548 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8549 }
8550 }
8551 if (obj6) {
8552 {
8553 arg7 = wxString_in_helper(obj6);
8554 if (arg7 == NULL) SWIG_fail;
8555 temp7 = True;
8556 }
8557 }
8558 {
8559 PyThreadState* __tstate = wxPyBeginAllowThreads();
8560 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8561
8562 wxPyEndAllowThreads(__tstate);
8563 if (PyErr_Occurred()) SWIG_fail;
8564 }
8565 resultobj = PyInt_FromLong((long)result);
8566 {
8567 if (temp7)
8568 delete arg7;
8569 }
8570 return resultobj;
8571 fail:
8572 {
8573 if (temp7)
8574 delete arg7;
8575 }
8576 return NULL;
8577 }
8578
8579
8580 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8581 PyObject *resultobj;
8582 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8583 size_t result;
8584 PyObject * obj0 = 0 ;
8585 char *kwnames[] = {
8586 (char *) "self", NULL
8587 };
8588
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8591 {
8592 PyThreadState* __tstate = wxPyBeginAllowThreads();
8593 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8594
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8599 return resultobj;
8600 fail:
8601 return NULL;
8602 }
8603
8604
8605 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8606 PyObject *resultobj;
8607 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8608 bool result;
8609 PyObject * obj0 = 0 ;
8610 char *kwnames[] = {
8611 (char *) "self", NULL
8612 };
8613
8614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8616 {
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8619
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 }
8623 resultobj = PyInt_FromLong((long)result);
8624 return resultobj;
8625 fail:
8626 return NULL;
8627 }
8628
8629
8630 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8631 PyObject *resultobj;
8632 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8633 int result;
8634 PyObject * obj0 = 0 ;
8635 char *kwnames[] = {
8636 (char *) "self", NULL
8637 };
8638
8639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 resultobj = PyInt_FromLong((long)result);
8649 return resultobj;
8650 fail:
8651 return NULL;
8652 }
8653
8654
8655 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8656 PyObject *resultobj;
8657 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8658 size_t arg2 ;
8659 bool result;
8660 PyObject * obj0 = 0 ;
8661 PyObject * obj1 = 0 ;
8662 char *kwnames[] = {
8663 (char *) "self",(char *) "item", NULL
8664 };
8665
8666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8668 {
8669 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 resultobj = PyInt_FromLong((long)result);
8680 return resultobj;
8681 fail:
8682 return NULL;
8683 }
8684
8685
8686 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8687 PyObject *resultobj;
8688 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8689 size_t arg2 ;
8690 bool result;
8691 PyObject * obj0 = 0 ;
8692 PyObject * obj1 = 0 ;
8693 char *kwnames[] = {
8694 (char *) "self",(char *) "item", NULL
8695 };
8696
8697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8699 {
8700 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8701 if (PyErr_Occurred()) SWIG_fail;
8702 }
8703 {
8704 PyThreadState* __tstate = wxPyBeginAllowThreads();
8705 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8706
8707 wxPyEndAllowThreads(__tstate);
8708 if (PyErr_Occurred()) SWIG_fail;
8709 }
8710 resultobj = PyInt_FromLong((long)result);
8711 return resultobj;
8712 fail:
8713 return NULL;
8714 }
8715
8716
8717 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8718 PyObject *resultobj;
8719 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8720 size_t result;
8721 PyObject * obj0 = 0 ;
8722 char *kwnames[] = {
8723 (char *) "self", NULL
8724 };
8725
8726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8728 {
8729 PyThreadState* __tstate = wxPyBeginAllowThreads();
8730 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8731
8732 wxPyEndAllowThreads(__tstate);
8733 if (PyErr_Occurred()) SWIG_fail;
8734 }
8735 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8736 return resultobj;
8737 fail:
8738 return NULL;
8739 }
8740
8741
8742 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8743 PyObject *resultobj;
8744 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8745 unsigned long *arg2 = 0 ;
8746 int result;
8747 PyObject * obj0 = 0 ;
8748 PyObject * obj1 = 0 ;
8749 char *kwnames[] = {
8750 (char *) "self",(char *) "cookie", NULL
8751 };
8752
8753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8756 if (arg2 == NULL) {
8757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8758 }
8759 {
8760 PyThreadState* __tstate = wxPyBeginAllowThreads();
8761 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8762
8763 wxPyEndAllowThreads(__tstate);
8764 if (PyErr_Occurred()) SWIG_fail;
8765 }
8766 resultobj = PyInt_FromLong((long)result);
8767 return resultobj;
8768 fail:
8769 return NULL;
8770 }
8771
8772
8773 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8774 PyObject *resultobj;
8775 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8776 unsigned long *arg2 = 0 ;
8777 int result;
8778 PyObject * obj0 = 0 ;
8779 PyObject * obj1 = 0 ;
8780 char *kwnames[] = {
8781 (char *) "self",(char *) "cookie", NULL
8782 };
8783
8784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8787 if (arg2 == NULL) {
8788 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8789 }
8790 {
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8793
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 resultobj = PyInt_FromLong((long)result);
8798 return resultobj;
8799 fail:
8800 return NULL;
8801 }
8802
8803
8804 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj;
8806 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8807 wxPoint result;
8808 PyObject * obj0 = 0 ;
8809 char *kwnames[] = {
8810 (char *) "self", NULL
8811 };
8812
8813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
8817 result = ((wxPyVListBox const *)arg1)->GetMargins();
8818
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 {
8823 wxPoint * resultptr;
8824 resultptr = new wxPoint((wxPoint &) result);
8825 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8826 }
8827 return resultobj;
8828 fail:
8829 return NULL;
8830 }
8831
8832
8833 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8834 PyObject *resultobj;
8835 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8836 wxColour *result;
8837 PyObject * obj0 = 0 ;
8838 char *kwnames[] = {
8839 (char *) "self", NULL
8840 };
8841
8842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8844 {
8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
8846 {
8847 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8848 result = (wxColour *) &_result_ref;
8849 }
8850
8851 wxPyEndAllowThreads(__tstate);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 }
8854 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8855 return resultobj;
8856 fail:
8857 return NULL;
8858 }
8859
8860
8861 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8862 PyObject *resultobj;
8863 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8864 size_t arg2 ;
8865 PyObject * obj0 = 0 ;
8866 PyObject * obj1 = 0 ;
8867 char *kwnames[] = {
8868 (char *) "self",(char *) "count", NULL
8869 };
8870
8871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8873 {
8874 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8875 if (PyErr_Occurred()) SWIG_fail;
8876 }
8877 {
8878 PyThreadState* __tstate = wxPyBeginAllowThreads();
8879 (arg1)->SetItemCount(arg2);
8880
8881 wxPyEndAllowThreads(__tstate);
8882 if (PyErr_Occurred()) SWIG_fail;
8883 }
8884 Py_INCREF(Py_None); resultobj = Py_None;
8885 return resultobj;
8886 fail:
8887 return NULL;
8888 }
8889
8890
8891 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8892 PyObject *resultobj;
8893 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8894 PyObject * obj0 = 0 ;
8895 char *kwnames[] = {
8896 (char *) "self", NULL
8897 };
8898
8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 (arg1)->Clear();
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 Py_INCREF(Py_None); resultobj = Py_None;
8909 return resultobj;
8910 fail:
8911 return NULL;
8912 }
8913
8914
8915 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject *resultobj;
8917 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8918 int arg2 ;
8919 PyObject * obj0 = 0 ;
8920 char *kwnames[] = {
8921 (char *) "self",(char *) "selection", NULL
8922 };
8923
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8926 {
8927 PyThreadState* __tstate = wxPyBeginAllowThreads();
8928 (arg1)->SetSelection(arg2);
8929
8930 wxPyEndAllowThreads(__tstate);
8931 if (PyErr_Occurred()) SWIG_fail;
8932 }
8933 Py_INCREF(Py_None); resultobj = Py_None;
8934 return resultobj;
8935 fail:
8936 return NULL;
8937 }
8938
8939
8940 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8941 PyObject *resultobj;
8942 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8943 size_t arg2 ;
8944 bool arg3 = (bool) True ;
8945 bool result;
8946 PyObject * obj0 = 0 ;
8947 PyObject * obj1 = 0 ;
8948 PyObject * obj2 = 0 ;
8949 char *kwnames[] = {
8950 (char *) "self",(char *) "item",(char *) "select", NULL
8951 };
8952
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8955 {
8956 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8957 if (PyErr_Occurred()) SWIG_fail;
8958 }
8959 if (obj2) {
8960 {
8961 arg3 = (bool) SPyObj_AsBool(obj2);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
8964 }
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
8967 result = (bool)(arg1)->Select(arg2,arg3);
8968
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 resultobj = PyInt_FromLong((long)result);
8973 return resultobj;
8974 fail:
8975 return NULL;
8976 }
8977
8978
8979 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8980 PyObject *resultobj;
8981 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8982 size_t arg2 ;
8983 size_t arg3 ;
8984 bool result;
8985 PyObject * obj0 = 0 ;
8986 PyObject * obj1 = 0 ;
8987 PyObject * obj2 = 0 ;
8988 char *kwnames[] = {
8989 (char *) "self",(char *) "from",(char *) "to", NULL
8990 };
8991
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8994 {
8995 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 {
8999 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 }
9002 {
9003 PyThreadState* __tstate = wxPyBeginAllowThreads();
9004 result = (bool)(arg1)->SelectRange(arg2,arg3);
9005
9006 wxPyEndAllowThreads(__tstate);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 resultobj = PyInt_FromLong((long)result);
9010 return resultobj;
9011 fail:
9012 return NULL;
9013 }
9014
9015
9016 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9017 PyObject *resultobj;
9018 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9019 size_t arg2 ;
9020 PyObject * obj0 = 0 ;
9021 PyObject * obj1 = 0 ;
9022 char *kwnames[] = {
9023 (char *) "self",(char *) "item", NULL
9024 };
9025
9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9028 {
9029 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 {
9033 PyThreadState* __tstate = wxPyBeginAllowThreads();
9034 (arg1)->Toggle(arg2);
9035
9036 wxPyEndAllowThreads(__tstate);
9037 if (PyErr_Occurred()) SWIG_fail;
9038 }
9039 Py_INCREF(Py_None); resultobj = Py_None;
9040 return resultobj;
9041 fail:
9042 return NULL;
9043 }
9044
9045
9046 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9047 PyObject *resultobj;
9048 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9049 bool result;
9050 PyObject * obj0 = 0 ;
9051 char *kwnames[] = {
9052 (char *) "self", NULL
9053 };
9054
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9057 {
9058 PyThreadState* __tstate = wxPyBeginAllowThreads();
9059 result = (bool)(arg1)->SelectAll();
9060
9061 wxPyEndAllowThreads(__tstate);
9062 if (PyErr_Occurred()) SWIG_fail;
9063 }
9064 resultobj = PyInt_FromLong((long)result);
9065 return resultobj;
9066 fail:
9067 return NULL;
9068 }
9069
9070
9071 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9072 PyObject *resultobj;
9073 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9074 bool result;
9075 PyObject * obj0 = 0 ;
9076 char *kwnames[] = {
9077 (char *) "self", NULL
9078 };
9079
9080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 result = (bool)(arg1)->DeselectAll();
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 resultobj = PyInt_FromLong((long)result);
9090 return resultobj;
9091 fail:
9092 return NULL;
9093 }
9094
9095
9096 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9099 wxPoint *arg2 = 0 ;
9100 wxPoint temp2 ;
9101 PyObject * obj0 = 0 ;
9102 PyObject * obj1 = 0 ;
9103 char *kwnames[] = {
9104 (char *) "self",(char *) "pt", NULL
9105 };
9106
9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9109 {
9110 arg2 = &temp2;
9111 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9112 }
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 (arg1)->SetMargins((wxPoint const &)*arg2);
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 Py_INCREF(Py_None); resultobj = Py_None;
9121 return resultobj;
9122 fail:
9123 return NULL;
9124 }
9125
9126
9127 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9128 PyObject *resultobj;
9129 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9130 int arg2 ;
9131 int arg3 ;
9132 PyObject * obj0 = 0 ;
9133 char *kwnames[] = {
9134 (char *) "self",(char *) "x",(char *) "y", NULL
9135 };
9136
9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9139 {
9140 PyThreadState* __tstate = wxPyBeginAllowThreads();
9141 (arg1)->SetMargins(arg2,arg3);
9142
9143 wxPyEndAllowThreads(__tstate);
9144 if (PyErr_Occurred()) SWIG_fail;
9145 }
9146 Py_INCREF(Py_None); resultobj = Py_None;
9147 return resultobj;
9148 fail:
9149 return NULL;
9150 }
9151
9152
9153 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9154 PyObject *resultobj;
9155 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9156 wxColour *arg2 = 0 ;
9157 wxColour temp2 ;
9158 PyObject * obj0 = 0 ;
9159 PyObject * obj1 = 0 ;
9160 char *kwnames[] = {
9161 (char *) "self",(char *) "col", NULL
9162 };
9163
9164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9166 {
9167 arg2 = &temp2;
9168 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9169 }
9170 {
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9173
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 Py_INCREF(Py_None); resultobj = Py_None;
9178 return resultobj;
9179 fail:
9180 return NULL;
9181 }
9182
9183
9184 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9185 PyObject *obj;
9186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9187 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9188 Py_INCREF(obj);
9189 return Py_BuildValue((char *)"");
9190 }
9191 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject *resultobj;
9193 wxWindow *arg1 = (wxWindow *) 0 ;
9194 int arg2 = (int) wxID_ANY ;
9195 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9196 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9197 wxSize const &arg4_defvalue = wxDefaultSize ;
9198 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9199 long arg5 = (long) 0 ;
9200 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9201 wxString *arg6 = (wxString *) &arg6_defvalue ;
9202 wxPyHtmlListBox *result;
9203 wxPoint temp3 ;
9204 wxSize temp4 ;
9205 bool temp6 = False ;
9206 PyObject * obj0 = 0 ;
9207 PyObject * obj2 = 0 ;
9208 PyObject * obj3 = 0 ;
9209 PyObject * obj5 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9216 if (obj2) {
9217 {
9218 arg3 = &temp3;
9219 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9220 }
9221 }
9222 if (obj3) {
9223 {
9224 arg4 = &temp4;
9225 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9226 }
9227 }
9228 if (obj5) {
9229 {
9230 arg6 = wxString_in_helper(obj5);
9231 if (arg6 == NULL) SWIG_fail;
9232 temp6 = True;
9233 }
9234 }
9235 {
9236 PyThreadState* __tstate = wxPyBeginAllowThreads();
9237 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9238
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9243 {
9244 if (temp6)
9245 delete arg6;
9246 }
9247 return resultobj;
9248 fail:
9249 {
9250 if (temp6)
9251 delete arg6;
9252 }
9253 return NULL;
9254 }
9255
9256
9257 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9258 PyObject *resultobj;
9259 wxPyHtmlListBox *result;
9260 char *kwnames[] = {
9261 NULL
9262 };
9263
9264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9268
9269 wxPyEndAllowThreads(__tstate);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 }
9272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9273 return resultobj;
9274 fail:
9275 return NULL;
9276 }
9277
9278
9279 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9280 PyObject *resultobj;
9281 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9282 PyObject *arg2 = (PyObject *) 0 ;
9283 PyObject *arg3 = (PyObject *) 0 ;
9284 PyObject * obj0 = 0 ;
9285 PyObject * obj1 = 0 ;
9286 PyObject * obj2 = 0 ;
9287 char *kwnames[] = {
9288 (char *) "self",(char *) "self",(char *) "_class", NULL
9289 };
9290
9291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9293 arg2 = obj1;
9294 arg3 = obj2;
9295 {
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 (arg1)->_setCallbackInfo(arg2,arg3);
9298
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 Py_INCREF(Py_None); resultobj = Py_None;
9303 return resultobj;
9304 fail:
9305 return NULL;
9306 }
9307
9308
9309 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9310 PyObject *resultobj;
9311 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9312 wxWindow *arg2 = (wxWindow *) 0 ;
9313 int arg3 = (int) wxID_ANY ;
9314 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9315 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9316 wxSize const &arg5_defvalue = wxDefaultSize ;
9317 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9318 long arg6 = (long) 0 ;
9319 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9320 wxString *arg7 = (wxString *) &arg7_defvalue ;
9321 bool result;
9322 wxPoint temp4 ;
9323 wxSize temp5 ;
9324 bool temp7 = False ;
9325 PyObject * obj0 = 0 ;
9326 PyObject * obj1 = 0 ;
9327 PyObject * obj3 = 0 ;
9328 PyObject * obj4 = 0 ;
9329 PyObject * obj6 = 0 ;
9330 char *kwnames[] = {
9331 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9332 };
9333
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9336 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9337 if (obj3) {
9338 {
9339 arg4 = &temp4;
9340 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9341 }
9342 }
9343 if (obj4) {
9344 {
9345 arg5 = &temp5;
9346 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9347 }
9348 }
9349 if (obj6) {
9350 {
9351 arg7 = wxString_in_helper(obj6);
9352 if (arg7 == NULL) SWIG_fail;
9353 temp7 = True;
9354 }
9355 }
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9359
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 resultobj = PyInt_FromLong((long)result);
9364 {
9365 if (temp7)
9366 delete arg7;
9367 }
9368 return resultobj;
9369 fail:
9370 {
9371 if (temp7)
9372 delete arg7;
9373 }
9374 return NULL;
9375 }
9376
9377
9378 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9379 PyObject *resultobj;
9380 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9381 PyObject * obj0 = 0 ;
9382 char *kwnames[] = {
9383 (char *) "self", NULL
9384 };
9385
9386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9388 {
9389 PyThreadState* __tstate = wxPyBeginAllowThreads();
9390 (arg1)->RefreshAll();
9391
9392 wxPyEndAllowThreads(__tstate);
9393 if (PyErr_Occurred()) SWIG_fail;
9394 }
9395 Py_INCREF(Py_None); resultobj = Py_None;
9396 return resultobj;
9397 fail:
9398 return NULL;
9399 }
9400
9401
9402 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9403 PyObject *resultobj;
9404 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9405 size_t arg2 ;
9406 PyObject * obj0 = 0 ;
9407 PyObject * obj1 = 0 ;
9408 char *kwnames[] = {
9409 (char *) "self",(char *) "count", NULL
9410 };
9411
9412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9414 {
9415 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 (arg1)->SetItemCount(arg2);
9421
9422 wxPyEndAllowThreads(__tstate);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 }
9425 Py_INCREF(Py_None); resultobj = Py_None;
9426 return resultobj;
9427 fail:
9428 return NULL;
9429 }
9430
9431
9432 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9433 PyObject *obj;
9434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9435 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9436 Py_INCREF(obj);
9437 return Py_BuildValue((char *)"");
9438 }
9439 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9440 PyObject *resultobj;
9441 wxTaskBarIcon *result;
9442 char *kwnames[] = {
9443 NULL
9444 };
9445
9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9447 {
9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9449 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9450
9451 wxPyEndAllowThreads(__tstate);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 }
9454 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9455 return resultobj;
9456 fail:
9457 return NULL;
9458 }
9459
9460
9461 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9462 PyObject *resultobj;
9463 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9464 PyObject * obj0 = 0 ;
9465 char *kwnames[] = {
9466 (char *) "self", NULL
9467 };
9468
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 delete arg1;
9474
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
9478 Py_INCREF(Py_None); resultobj = Py_None;
9479 return resultobj;
9480 fail:
9481 return NULL;
9482 }
9483
9484
9485 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9486 PyObject *obj;
9487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9488 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9489 Py_INCREF(obj);
9490 return Py_BuildValue((char *)"");
9491 }
9492 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9493 PyObject *resultobj;
9494 wxEventType arg1 ;
9495 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9496 wxTaskBarIconEvent *result;
9497 PyObject * obj1 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "evtType",(char *) "tbIcon", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9504 {
9505 PyThreadState* __tstate = wxPyBeginAllowThreads();
9506 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9507
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9512 return resultobj;
9513 fail:
9514 return NULL;
9515 }
9516
9517
9518 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9519 PyObject *obj;
9520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9521 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9522 Py_INCREF(obj);
9523 return Py_BuildValue((char *)"");
9524 }
9525 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
9526 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
9527 return 1;
9528 }
9529
9530
9531 static PyObject *_wrap_FileSelectorPromptStr_get() {
9532 PyObject *pyobj;
9533
9534 {
9535 #if wxUSE_UNICODE
9536 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9537 #else
9538 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9539 #endif
9540 }
9541 return pyobj;
9542 }
9543
9544
9545 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
9546 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
9547 return 1;
9548 }
9549
9550
9551 static PyObject *_wrap_DirSelectorPromptStr_get() {
9552 PyObject *pyobj;
9553
9554 {
9555 #if wxUSE_UNICODE
9556 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9557 #else
9558 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9559 #endif
9560 }
9561 return pyobj;
9562 }
9563
9564
9565 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
9566 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
9567 return 1;
9568 }
9569
9570
9571 static PyObject *_wrap_DirDialogNameStr_get() {
9572 PyObject *pyobj;
9573
9574 {
9575 #if wxUSE_UNICODE
9576 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9577 #else
9578 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9579 #endif
9580 }
9581 return pyobj;
9582 }
9583
9584
9585 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
9586 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
9587 return 1;
9588 }
9589
9590
9591 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
9592 PyObject *pyobj;
9593
9594 {
9595 #if wxUSE_UNICODE
9596 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9597 #else
9598 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9599 #endif
9600 }
9601 return pyobj;
9602 }
9603
9604
9605 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
9606 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
9607 return 1;
9608 }
9609
9610
9611 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
9612 PyObject *pyobj;
9613
9614 {
9615 #if wxUSE_UNICODE
9616 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9617 #else
9618 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9619 #endif
9620 }
9621 return pyobj;
9622 }
9623
9624
9625 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
9626 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
9627 return 1;
9628 }
9629
9630
9631 static PyObject *_wrap_MessageBoxCaptionStr_get() {
9632 PyObject *pyobj;
9633
9634 {
9635 #if wxUSE_UNICODE
9636 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9637 #else
9638 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9639 #endif
9640 }
9641 return pyobj;
9642 }
9643
9644
9645 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9646 PyObject *resultobj;
9647 wxColourData *result;
9648 char *kwnames[] = {
9649 NULL
9650 };
9651
9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 result = (wxColourData *)new wxColourData();
9656
9657 wxPyEndAllowThreads(__tstate);
9658 if (PyErr_Occurred()) SWIG_fail;
9659 }
9660 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9661 return resultobj;
9662 fail:
9663 return NULL;
9664 }
9665
9666
9667 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9668 PyObject *resultobj;
9669 wxColourData *arg1 = (wxColourData *) 0 ;
9670 PyObject * obj0 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "self", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 delete arg1;
9680
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
9684 Py_INCREF(Py_None); resultobj = Py_None;
9685 return resultobj;
9686 fail:
9687 return NULL;
9688 }
9689
9690
9691 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9692 PyObject *resultobj;
9693 wxColourData *arg1 = (wxColourData *) 0 ;
9694 bool result;
9695 PyObject * obj0 = 0 ;
9696 char *kwnames[] = {
9697 (char *) "self", NULL
9698 };
9699
9700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9702 {
9703 PyThreadState* __tstate = wxPyBeginAllowThreads();
9704 result = (bool)(arg1)->GetChooseFull();
9705
9706 wxPyEndAllowThreads(__tstate);
9707 if (PyErr_Occurred()) SWIG_fail;
9708 }
9709 resultobj = PyInt_FromLong((long)result);
9710 return resultobj;
9711 fail:
9712 return NULL;
9713 }
9714
9715
9716 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9717 PyObject *resultobj;
9718 wxColourData *arg1 = (wxColourData *) 0 ;
9719 wxColour result;
9720 PyObject * obj0 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9727 {
9728 PyThreadState* __tstate = wxPyBeginAllowThreads();
9729 result = (arg1)->GetColour();
9730
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 {
9735 wxColour * resultptr;
9736 resultptr = new wxColour((wxColour &) result);
9737 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9738 }
9739 return resultobj;
9740 fail:
9741 return NULL;
9742 }
9743
9744
9745 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9746 PyObject *resultobj;
9747 wxColourData *arg1 = (wxColourData *) 0 ;
9748 int arg2 ;
9749 wxColour result;
9750 PyObject * obj0 = 0 ;
9751 char *kwnames[] = {
9752 (char *) "self",(char *) "i", NULL
9753 };
9754
9755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9757 {
9758 PyThreadState* __tstate = wxPyBeginAllowThreads();
9759 result = (arg1)->GetCustomColour(arg2);
9760
9761 wxPyEndAllowThreads(__tstate);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 }
9764 {
9765 wxColour * resultptr;
9766 resultptr = new wxColour((wxColour &) result);
9767 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9768 }
9769 return resultobj;
9770 fail:
9771 return NULL;
9772 }
9773
9774
9775 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9776 PyObject *resultobj;
9777 wxColourData *arg1 = (wxColourData *) 0 ;
9778 int arg2 ;
9779 PyObject * obj0 = 0 ;
9780 char *kwnames[] = {
9781 (char *) "self",(char *) "flag", NULL
9782 };
9783
9784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9786 {
9787 PyThreadState* __tstate = wxPyBeginAllowThreads();
9788 (arg1)->SetChooseFull(arg2);
9789
9790 wxPyEndAllowThreads(__tstate);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 }
9793 Py_INCREF(Py_None); resultobj = Py_None;
9794 return resultobj;
9795 fail:
9796 return NULL;
9797 }
9798
9799
9800 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj;
9802 wxColourData *arg1 = (wxColourData *) 0 ;
9803 wxColour *arg2 = 0 ;
9804 wxColour temp2 ;
9805 PyObject * obj0 = 0 ;
9806 PyObject * obj1 = 0 ;
9807 char *kwnames[] = {
9808 (char *) "self",(char *) "colour", NULL
9809 };
9810
9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9813 {
9814 arg2 = &temp2;
9815 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9816 }
9817 {
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 (arg1)->SetColour((wxColour const &)*arg2);
9820
9821 wxPyEndAllowThreads(__tstate);
9822 if (PyErr_Occurred()) SWIG_fail;
9823 }
9824 Py_INCREF(Py_None); resultobj = Py_None;
9825 return resultobj;
9826 fail:
9827 return NULL;
9828 }
9829
9830
9831 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9832 PyObject *resultobj;
9833 wxColourData *arg1 = (wxColourData *) 0 ;
9834 int arg2 ;
9835 wxColour *arg3 = 0 ;
9836 wxColour temp3 ;
9837 PyObject * obj0 = 0 ;
9838 PyObject * obj2 = 0 ;
9839 char *kwnames[] = {
9840 (char *) "self",(char *) "i",(char *) "colour", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9845 {
9846 arg3 = &temp3;
9847 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9848 }
9849 {
9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
9851 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9852
9853 wxPyEndAllowThreads(__tstate);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
9856 Py_INCREF(Py_None); resultobj = Py_None;
9857 return resultobj;
9858 fail:
9859 return NULL;
9860 }
9861
9862
9863 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9864 PyObject *obj;
9865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9866 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9867 Py_INCREF(obj);
9868 return Py_BuildValue((char *)"");
9869 }
9870 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj;
9872 wxWindow *arg1 = (wxWindow *) 0 ;
9873 wxColourData *arg2 = (wxColourData *) NULL ;
9874 wxColourDialog *result;
9875 PyObject * obj0 = 0 ;
9876 PyObject * obj1 = 0 ;
9877 char *kwnames[] = {
9878 (char *) "parent",(char *) "data", NULL
9879 };
9880
9881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9883 if (obj1) {
9884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9885 }
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9889
9890 wxPyEndAllowThreads(__tstate);
9891 if (PyErr_Occurred()) SWIG_fail;
9892 }
9893 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9894 return resultobj;
9895 fail:
9896 return NULL;
9897 }
9898
9899
9900 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9901 PyObject *resultobj;
9902 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9903 wxColourData *result;
9904 PyObject * obj0 = 0 ;
9905 char *kwnames[] = {
9906 (char *) "self", NULL
9907 };
9908
9909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 {
9914 wxColourData &_result_ref = (arg1)->GetColourData();
9915 result = (wxColourData *) &_result_ref;
9916 }
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9922 return resultobj;
9923 fail:
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9931 int result;
9932 PyObject * obj0 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (int)(arg1)->ShowModal();
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 resultobj = PyInt_FromLong((long)result);
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9954 PyObject *obj;
9955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9956 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9957 Py_INCREF(obj);
9958 return Py_BuildValue((char *)"");
9959 }
9960 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9961 PyObject *resultobj;
9962 wxWindow *arg1 = (wxWindow *) 0 ;
9963 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9964 wxString *arg2 = (wxString *) &arg2_defvalue ;
9965 wxString const &arg3_defvalue = wxPyEmptyString ;
9966 wxString *arg3 = (wxString *) &arg3_defvalue ;
9967 long arg4 = (long) 0 ;
9968 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9969 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9970 wxSize const &arg6_defvalue = wxDefaultSize ;
9971 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9972 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9973 wxString *arg7 = (wxString *) &arg7_defvalue ;
9974 wxDirDialog *result;
9975 bool temp2 = False ;
9976 bool temp3 = False ;
9977 wxPoint temp5 ;
9978 wxSize temp6 ;
9979 bool temp7 = False ;
9980 PyObject * obj0 = 0 ;
9981 PyObject * obj1 = 0 ;
9982 PyObject * obj2 = 0 ;
9983 PyObject * obj4 = 0 ;
9984 PyObject * obj5 = 0 ;
9985 PyObject * obj6 = 0 ;
9986 char *kwnames[] = {
9987 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9992 if (obj1) {
9993 {
9994 arg2 = wxString_in_helper(obj1);
9995 if (arg2 == NULL) SWIG_fail;
9996 temp2 = True;
9997 }
9998 }
9999 if (obj2) {
10000 {
10001 arg3 = wxString_in_helper(obj2);
10002 if (arg3 == NULL) SWIG_fail;
10003 temp3 = True;
10004 }
10005 }
10006 if (obj4) {
10007 {
10008 arg5 = &temp5;
10009 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10010 }
10011 }
10012 if (obj5) {
10013 {
10014 arg6 = &temp6;
10015 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10016 }
10017 }
10018 if (obj6) {
10019 {
10020 arg7 = wxString_in_helper(obj6);
10021 if (arg7 == NULL) SWIG_fail;
10022 temp7 = True;
10023 }
10024 }
10025 {
10026 PyThreadState* __tstate = wxPyBeginAllowThreads();
10027 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10028
10029 wxPyEndAllowThreads(__tstate);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 }
10032 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10033 {
10034 if (temp2)
10035 delete arg2;
10036 }
10037 {
10038 if (temp3)
10039 delete arg3;
10040 }
10041 {
10042 if (temp7)
10043 delete arg7;
10044 }
10045 return resultobj;
10046 fail:
10047 {
10048 if (temp2)
10049 delete arg2;
10050 }
10051 {
10052 if (temp3)
10053 delete arg3;
10054 }
10055 {
10056 if (temp7)
10057 delete arg7;
10058 }
10059 return NULL;
10060 }
10061
10062
10063 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10064 PyObject *resultobj;
10065 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10066 wxString result;
10067 PyObject * obj0 = 0 ;
10068 char *kwnames[] = {
10069 (char *) "self", NULL
10070 };
10071
10072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (arg1)->GetPath();
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 {
10082 #if wxUSE_UNICODE
10083 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10084 #else
10085 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10086 #endif
10087 }
10088 return resultobj;
10089 fail:
10090 return NULL;
10091 }
10092
10093
10094 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10095 PyObject *resultobj;
10096 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10097 wxString result;
10098 PyObject * obj0 = 0 ;
10099 char *kwnames[] = {
10100 (char *) "self", NULL
10101 };
10102
10103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 result = (arg1)->GetMessage();
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 {
10113 #if wxUSE_UNICODE
10114 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10115 #else
10116 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10117 #endif
10118 }
10119 return resultobj;
10120 fail:
10121 return NULL;
10122 }
10123
10124
10125 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10126 PyObject *resultobj;
10127 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10128 long result;
10129 PyObject * obj0 = 0 ;
10130 char *kwnames[] = {
10131 (char *) "self", NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 result = (long)(arg1)->GetStyle();
10139
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = PyInt_FromLong((long)result);
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj;
10152 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10153 wxString *arg2 = 0 ;
10154 bool temp2 = False ;
10155 PyObject * obj0 = 0 ;
10156 PyObject * obj1 = 0 ;
10157 char *kwnames[] = {
10158 (char *) "self",(char *) "message", NULL
10159 };
10160
10161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10163 {
10164 arg2 = wxString_in_helper(obj1);
10165 if (arg2 == NULL) SWIG_fail;
10166 temp2 = True;
10167 }
10168 {
10169 PyThreadState* __tstate = wxPyBeginAllowThreads();
10170 (arg1)->SetMessage((wxString const &)*arg2);
10171
10172 wxPyEndAllowThreads(__tstate);
10173 if (PyErr_Occurred()) SWIG_fail;
10174 }
10175 Py_INCREF(Py_None); resultobj = Py_None;
10176 {
10177 if (temp2)
10178 delete arg2;
10179 }
10180 return resultobj;
10181 fail:
10182 {
10183 if (temp2)
10184 delete arg2;
10185 }
10186 return NULL;
10187 }
10188
10189
10190 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10191 PyObject *resultobj;
10192 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10193 wxString *arg2 = 0 ;
10194 bool temp2 = False ;
10195 PyObject * obj0 = 0 ;
10196 PyObject * obj1 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self",(char *) "path", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10203 {
10204 arg2 = wxString_in_helper(obj1);
10205 if (arg2 == NULL) SWIG_fail;
10206 temp2 = True;
10207 }
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 (arg1)->SetPath((wxString const &)*arg2);
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 Py_INCREF(Py_None); resultobj = Py_None;
10216 {
10217 if (temp2)
10218 delete arg2;
10219 }
10220 return resultobj;
10221 fail:
10222 {
10223 if (temp2)
10224 delete arg2;
10225 }
10226 return NULL;
10227 }
10228
10229
10230 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10231 PyObject *resultobj;
10232 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10233 int result;
10234 PyObject * obj0 = 0 ;
10235 char *kwnames[] = {
10236 (char *) "self", NULL
10237 };
10238
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10241 {
10242 PyThreadState* __tstate = wxPyBeginAllowThreads();
10243 result = (int)(arg1)->ShowModal();
10244
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) SWIG_fail;
10247 }
10248 resultobj = PyInt_FromLong((long)result);
10249 return resultobj;
10250 fail:
10251 return NULL;
10252 }
10253
10254
10255 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10256 PyObject *obj;
10257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10258 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10259 Py_INCREF(obj);
10260 return Py_BuildValue((char *)"");
10261 }
10262 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10263 PyObject *resultobj;
10264 wxWindow *arg1 = (wxWindow *) 0 ;
10265 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10266 wxString *arg2 = (wxString *) &arg2_defvalue ;
10267 wxString const &arg3_defvalue = wxPyEmptyString ;
10268 wxString *arg3 = (wxString *) &arg3_defvalue ;
10269 wxString const &arg4_defvalue = wxPyEmptyString ;
10270 wxString *arg4 = (wxString *) &arg4_defvalue ;
10271 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10272 wxString *arg5 = (wxString *) &arg5_defvalue ;
10273 long arg6 = (long) 0 ;
10274 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10275 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10276 wxFileDialog *result;
10277 bool temp2 = False ;
10278 bool temp3 = False ;
10279 bool temp4 = False ;
10280 bool temp5 = False ;
10281 wxPoint temp7 ;
10282 PyObject * obj0 = 0 ;
10283 PyObject * obj1 = 0 ;
10284 PyObject * obj2 = 0 ;
10285 PyObject * obj3 = 0 ;
10286 PyObject * obj4 = 0 ;
10287 PyObject * obj6 = 0 ;
10288 char *kwnames[] = {
10289 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10290 };
10291
10292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10294 if (obj1) {
10295 {
10296 arg2 = wxString_in_helper(obj1);
10297 if (arg2 == NULL) SWIG_fail;
10298 temp2 = True;
10299 }
10300 }
10301 if (obj2) {
10302 {
10303 arg3 = wxString_in_helper(obj2);
10304 if (arg3 == NULL) SWIG_fail;
10305 temp3 = True;
10306 }
10307 }
10308 if (obj3) {
10309 {
10310 arg4 = wxString_in_helper(obj3);
10311 if (arg4 == NULL) SWIG_fail;
10312 temp4 = True;
10313 }
10314 }
10315 if (obj4) {
10316 {
10317 arg5 = wxString_in_helper(obj4);
10318 if (arg5 == NULL) SWIG_fail;
10319 temp5 = True;
10320 }
10321 }
10322 if (obj6) {
10323 {
10324 arg7 = &temp7;
10325 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10326 }
10327 }
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10331
10332 wxPyEndAllowThreads(__tstate);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 }
10335 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10336 {
10337 if (temp2)
10338 delete arg2;
10339 }
10340 {
10341 if (temp3)
10342 delete arg3;
10343 }
10344 {
10345 if (temp4)
10346 delete arg4;
10347 }
10348 {
10349 if (temp5)
10350 delete arg5;
10351 }
10352 return resultobj;
10353 fail:
10354 {
10355 if (temp2)
10356 delete arg2;
10357 }
10358 {
10359 if (temp3)
10360 delete arg3;
10361 }
10362 {
10363 if (temp4)
10364 delete arg4;
10365 }
10366 {
10367 if (temp5)
10368 delete arg5;
10369 }
10370 return NULL;
10371 }
10372
10373
10374 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10375 PyObject *resultobj;
10376 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10377 wxString *arg2 = 0 ;
10378 bool temp2 = False ;
10379 PyObject * obj0 = 0 ;
10380 PyObject * obj1 = 0 ;
10381 char *kwnames[] = {
10382 (char *) "self",(char *) "message", NULL
10383 };
10384
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10387 {
10388 arg2 = wxString_in_helper(obj1);
10389 if (arg2 == NULL) SWIG_fail;
10390 temp2 = True;
10391 }
10392 {
10393 PyThreadState* __tstate = wxPyBeginAllowThreads();
10394 (arg1)->SetMessage((wxString const &)*arg2);
10395
10396 wxPyEndAllowThreads(__tstate);
10397 if (PyErr_Occurred()) SWIG_fail;
10398 }
10399 Py_INCREF(Py_None); resultobj = Py_None;
10400 {
10401 if (temp2)
10402 delete arg2;
10403 }
10404 return resultobj;
10405 fail:
10406 {
10407 if (temp2)
10408 delete arg2;
10409 }
10410 return NULL;
10411 }
10412
10413
10414 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj;
10416 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10417 wxString *arg2 = 0 ;
10418 bool temp2 = False ;
10419 PyObject * obj0 = 0 ;
10420 PyObject * obj1 = 0 ;
10421 char *kwnames[] = {
10422 (char *) "self",(char *) "path", NULL
10423 };
10424
10425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10427 {
10428 arg2 = wxString_in_helper(obj1);
10429 if (arg2 == NULL) SWIG_fail;
10430 temp2 = True;
10431 }
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 (arg1)->SetPath((wxString const &)*arg2);
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 Py_INCREF(Py_None); resultobj = Py_None;
10440 {
10441 if (temp2)
10442 delete arg2;
10443 }
10444 return resultobj;
10445 fail:
10446 {
10447 if (temp2)
10448 delete arg2;
10449 }
10450 return NULL;
10451 }
10452
10453
10454 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10455 PyObject *resultobj;
10456 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10457 wxString *arg2 = 0 ;
10458 bool temp2 = False ;
10459 PyObject * obj0 = 0 ;
10460 PyObject * obj1 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self",(char *) "dir", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10467 {
10468 arg2 = wxString_in_helper(obj1);
10469 if (arg2 == NULL) SWIG_fail;
10470 temp2 = True;
10471 }
10472 {
10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
10474 (arg1)->SetDirectory((wxString const &)*arg2);
10475
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 Py_INCREF(Py_None); resultobj = Py_None;
10480 {
10481 if (temp2)
10482 delete arg2;
10483 }
10484 return resultobj;
10485 fail:
10486 {
10487 if (temp2)
10488 delete arg2;
10489 }
10490 return NULL;
10491 }
10492
10493
10494 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10495 PyObject *resultobj;
10496 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10497 wxString *arg2 = 0 ;
10498 bool temp2 = False ;
10499 PyObject * obj0 = 0 ;
10500 PyObject * obj1 = 0 ;
10501 char *kwnames[] = {
10502 (char *) "self",(char *) "name", NULL
10503 };
10504
10505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10507 {
10508 arg2 = wxString_in_helper(obj1);
10509 if (arg2 == NULL) SWIG_fail;
10510 temp2 = True;
10511 }
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 (arg1)->SetFilename((wxString const &)*arg2);
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 Py_INCREF(Py_None); resultobj = Py_None;
10520 {
10521 if (temp2)
10522 delete arg2;
10523 }
10524 return resultobj;
10525 fail:
10526 {
10527 if (temp2)
10528 delete arg2;
10529 }
10530 return NULL;
10531 }
10532
10533
10534 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj;
10536 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10537 wxString *arg2 = 0 ;
10538 bool temp2 = False ;
10539 PyObject * obj0 = 0 ;
10540 PyObject * obj1 = 0 ;
10541 char *kwnames[] = {
10542 (char *) "self",(char *) "wildCard", NULL
10543 };
10544
10545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10547 {
10548 arg2 = wxString_in_helper(obj1);
10549 if (arg2 == NULL) SWIG_fail;
10550 temp2 = True;
10551 }
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 (arg1)->SetWildcard((wxString const &)*arg2);
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 Py_INCREF(Py_None); resultobj = Py_None;
10560 {
10561 if (temp2)
10562 delete arg2;
10563 }
10564 return resultobj;
10565 fail:
10566 {
10567 if (temp2)
10568 delete arg2;
10569 }
10570 return NULL;
10571 }
10572
10573
10574 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10575 PyObject *resultobj;
10576 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10577 long arg2 ;
10578 PyObject * obj0 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self",(char *) "style", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 (arg1)->SetStyle(arg2);
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 Py_INCREF(Py_None); resultobj = Py_None;
10593 return resultobj;
10594 fail:
10595 return NULL;
10596 }
10597
10598
10599 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10600 PyObject *resultobj;
10601 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10602 int arg2 ;
10603 PyObject * obj0 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "self",(char *) "filterIndex", NULL
10606 };
10607
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 (arg1)->SetFilterIndex(arg2);
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 Py_INCREF(Py_None); resultobj = Py_None;
10618 return resultobj;
10619 fail:
10620 return NULL;
10621 }
10622
10623
10624 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10625 PyObject *resultobj;
10626 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10627 wxString result;
10628 PyObject * obj0 = 0 ;
10629 char *kwnames[] = {
10630 (char *) "self", NULL
10631 };
10632
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 result = ((wxFileDialog const *)arg1)->GetMessage();
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 {
10643 #if wxUSE_UNICODE
10644 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10645 #else
10646 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10647 #endif
10648 }
10649 return resultobj;
10650 fail:
10651 return NULL;
10652 }
10653
10654
10655 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10656 PyObject *resultobj;
10657 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10658 wxString result;
10659 PyObject * obj0 = 0 ;
10660 char *kwnames[] = {
10661 (char *) "self", NULL
10662 };
10663
10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 result = ((wxFileDialog const *)arg1)->GetPath();
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 {
10674 #if wxUSE_UNICODE
10675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10676 #else
10677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10678 #endif
10679 }
10680 return resultobj;
10681 fail:
10682 return NULL;
10683 }
10684
10685
10686 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10687 PyObject *resultobj;
10688 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10689 wxString result;
10690 PyObject * obj0 = 0 ;
10691 char *kwnames[] = {
10692 (char *) "self", NULL
10693 };
10694
10695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10697 {
10698 PyThreadState* __tstate = wxPyBeginAllowThreads();
10699 result = ((wxFileDialog const *)arg1)->GetDirectory();
10700
10701 wxPyEndAllowThreads(__tstate);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
10704 {
10705 #if wxUSE_UNICODE
10706 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10707 #else
10708 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10709 #endif
10710 }
10711 return resultobj;
10712 fail:
10713 return NULL;
10714 }
10715
10716
10717 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10718 PyObject *resultobj;
10719 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10720 wxString result;
10721 PyObject * obj0 = 0 ;
10722 char *kwnames[] = {
10723 (char *) "self", NULL
10724 };
10725
10726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10728 {
10729 PyThreadState* __tstate = wxPyBeginAllowThreads();
10730 result = ((wxFileDialog const *)arg1)->GetFilename();
10731
10732 wxPyEndAllowThreads(__tstate);
10733 if (PyErr_Occurred()) SWIG_fail;
10734 }
10735 {
10736 #if wxUSE_UNICODE
10737 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10738 #else
10739 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10740 #endif
10741 }
10742 return resultobj;
10743 fail:
10744 return NULL;
10745 }
10746
10747
10748 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10749 PyObject *resultobj;
10750 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10751 wxString result;
10752 PyObject * obj0 = 0 ;
10753 char *kwnames[] = {
10754 (char *) "self", NULL
10755 };
10756
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10759 {
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 result = ((wxFileDialog const *)arg1)->GetWildcard();
10762
10763 wxPyEndAllowThreads(__tstate);
10764 if (PyErr_Occurred()) SWIG_fail;
10765 }
10766 {
10767 #if wxUSE_UNICODE
10768 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10769 #else
10770 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10771 #endif
10772 }
10773 return resultobj;
10774 fail:
10775 return NULL;
10776 }
10777
10778
10779 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10780 PyObject *resultobj;
10781 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10782 long result;
10783 PyObject * obj0 = 0 ;
10784 char *kwnames[] = {
10785 (char *) "self", NULL
10786 };
10787
10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10790 {
10791 PyThreadState* __tstate = wxPyBeginAllowThreads();
10792 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10793
10794 wxPyEndAllowThreads(__tstate);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 resultobj = PyInt_FromLong((long)result);
10798 return resultobj;
10799 fail:
10800 return NULL;
10801 }
10802
10803
10804 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj;
10806 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10807 int result;
10808 PyObject * obj0 = 0 ;
10809 char *kwnames[] = {
10810 (char *) "self", NULL
10811 };
10812
10813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10815 {
10816 PyThreadState* __tstate = wxPyBeginAllowThreads();
10817 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10818
10819 wxPyEndAllowThreads(__tstate);
10820 if (PyErr_Occurred()) SWIG_fail;
10821 }
10822 resultobj = PyInt_FromLong((long)result);
10823 return resultobj;
10824 fail:
10825 return NULL;
10826 }
10827
10828
10829 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10830 PyObject *resultobj;
10831 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10832 PyObject *result;
10833 PyObject * obj0 = 0 ;
10834 char *kwnames[] = {
10835 (char *) "self", NULL
10836 };
10837
10838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10840 {
10841 PyThreadState* __tstate = wxPyBeginAllowThreads();
10842 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10843
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) SWIG_fail;
10846 }
10847 resultobj = result;
10848 return resultobj;
10849 fail:
10850 return NULL;
10851 }
10852
10853
10854 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10855 PyObject *resultobj;
10856 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10857 PyObject *result;
10858 PyObject * obj0 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "self", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10865 {
10866 PyThreadState* __tstate = wxPyBeginAllowThreads();
10867 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10868
10869 wxPyEndAllowThreads(__tstate);
10870 if (PyErr_Occurred()) SWIG_fail;
10871 }
10872 resultobj = result;
10873 return resultobj;
10874 fail:
10875 return NULL;
10876 }
10877
10878
10879 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10880 PyObject *obj;
10881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10882 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10883 Py_INCREF(obj);
10884 return Py_BuildValue((char *)"");
10885 }
10886 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10887 PyObject *resultobj;
10888 wxWindow *arg1 = (wxWindow *) 0 ;
10889 wxString *arg2 = 0 ;
10890 wxString *arg3 = 0 ;
10891 int arg4 ;
10892 wxString *arg5 = (wxString *) 0 ;
10893 long arg6 = (long) wxCHOICEDLG_STYLE ;
10894 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10895 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10896 wxMultiChoiceDialog *result;
10897 bool temp2 = False ;
10898 bool temp3 = False ;
10899 bool temp5 = False ;
10900 wxPoint temp7 ;
10901 PyObject * obj0 = 0 ;
10902 PyObject * obj1 = 0 ;
10903 PyObject * obj2 = 0 ;
10904 PyObject * obj4 = 0 ;
10905 PyObject * obj6 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10912 {
10913 arg2 = wxString_in_helper(obj1);
10914 if (arg2 == NULL) SWIG_fail;
10915 temp2 = True;
10916 }
10917 {
10918 arg3 = wxString_in_helper(obj2);
10919 if (arg3 == NULL) SWIG_fail;
10920 temp3 = True;
10921 }
10922 {
10923 arg5 = wxString_in_helper(obj4);
10924 if (arg5 == NULL) SWIG_fail;
10925 temp5 = True;
10926 }
10927 if (obj6) {
10928 {
10929 arg7 = &temp7;
10930 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10931 }
10932 }
10933 {
10934 PyThreadState* __tstate = wxPyBeginAllowThreads();
10935 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10936
10937 wxPyEndAllowThreads(__tstate);
10938 if (PyErr_Occurred()) SWIG_fail;
10939 }
10940 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10941 {
10942 if (temp2)
10943 delete arg2;
10944 }
10945 {
10946 if (temp3)
10947 delete arg3;
10948 }
10949 {
10950 if (temp5)
10951 delete arg5;
10952 }
10953 return resultobj;
10954 fail:
10955 {
10956 if (temp2)
10957 delete arg2;
10958 }
10959 {
10960 if (temp3)
10961 delete arg3;
10962 }
10963 {
10964 if (temp5)
10965 delete arg5;
10966 }
10967 return NULL;
10968 }
10969
10970
10971 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10972 PyObject *resultobj;
10973 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10974 wxArrayInt *arg2 = 0 ;
10975 PyObject * obj0 = 0 ;
10976 PyObject * obj1 = 0 ;
10977 char *kwnames[] = {
10978 (char *) "self",(char *) "selections", NULL
10979 };
10980
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10983 {
10984 if (! PySequence_Check(obj1)) {
10985 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10986 SWIG_fail;
10987 }
10988 arg2 = new wxArrayInt;
10989 int i, len=PySequence_Length(obj1);
10990 for (i=0; i<len; i++) {
10991 PyObject* item = PySequence_GetItem(obj1, i);
10992 PyObject* number = PyNumber_Int(item);
10993 arg2->Add(PyInt_AS_LONG(number));
10994 Py_DECREF(item);
10995 Py_DECREF(number);
10996 }
10997 }
10998 {
10999 PyThreadState* __tstate = wxPyBeginAllowThreads();
11000 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11001
11002 wxPyEndAllowThreads(__tstate);
11003 if (PyErr_Occurred()) SWIG_fail;
11004 }
11005 Py_INCREF(Py_None); resultobj = Py_None;
11006 {
11007 if (arg2) delete arg2;
11008 }
11009 return resultobj;
11010 fail:
11011 {
11012 if (arg2) delete arg2;
11013 }
11014 return NULL;
11015 }
11016
11017
11018 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11019 PyObject *resultobj;
11020 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11021 PyObject *result;
11022 PyObject * obj0 = 0 ;
11023 char *kwnames[] = {
11024 (char *) "self", NULL
11025 };
11026
11027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11029 {
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 resultobj = result;
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11044 PyObject *obj;
11045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11046 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11047 Py_INCREF(obj);
11048 return Py_BuildValue((char *)"");
11049 }
11050 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj;
11052 wxWindow *arg1 = (wxWindow *) 0 ;
11053 wxString *arg2 = 0 ;
11054 wxString *arg3 = 0 ;
11055 int arg4 ;
11056 wxString *arg5 = (wxString *) 0 ;
11057 long arg6 = (long) wxCHOICEDLG_STYLE ;
11058 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11059 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11060 wxSingleChoiceDialog *result;
11061 bool temp2 = False ;
11062 bool temp3 = False ;
11063 wxPoint temp6 ;
11064 PyObject * obj0 = 0 ;
11065 PyObject * obj1 = 0 ;
11066 PyObject * obj2 = 0 ;
11067 PyObject * obj3 = 0 ;
11068 PyObject * obj5 = 0 ;
11069 char *kwnames[] = {
11070 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11071 };
11072
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
11074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11075 {
11076 arg2 = wxString_in_helper(obj1);
11077 if (arg2 == NULL) SWIG_fail;
11078 temp2 = True;
11079 }
11080 {
11081 arg3 = wxString_in_helper(obj2);
11082 if (arg3 == NULL) SWIG_fail;
11083 temp3 = True;
11084 }
11085 {
11086 arg4 = PyList_Size(obj3);
11087 arg5 = wxString_LIST_helper(obj3);
11088 if (arg5 == NULL) SWIG_fail;
11089 }
11090 if (obj5) {
11091 {
11092 arg7 = &temp6;
11093 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11094 }
11095 }
11096 {
11097 PyThreadState* __tstate = wxPyBeginAllowThreads();
11098 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11099
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11104 {
11105 if (temp2)
11106 delete arg2;
11107 }
11108 {
11109 if (temp3)
11110 delete arg3;
11111 }
11112 {
11113 if (arg5) delete [] arg5;
11114 }
11115 return resultobj;
11116 fail:
11117 {
11118 if (temp2)
11119 delete arg2;
11120 }
11121 {
11122 if (temp3)
11123 delete arg3;
11124 }
11125 {
11126 if (arg5) delete [] arg5;
11127 }
11128 return NULL;
11129 }
11130
11131
11132 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11133 PyObject *resultobj;
11134 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11135 int result;
11136 PyObject * obj0 = 0 ;
11137 char *kwnames[] = {
11138 (char *) "self", NULL
11139 };
11140
11141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11143 {
11144 PyThreadState* __tstate = wxPyBeginAllowThreads();
11145 result = (int)(arg1)->GetSelection();
11146
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 resultobj = PyInt_FromLong((long)result);
11151 return resultobj;
11152 fail:
11153 return NULL;
11154 }
11155
11156
11157 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11158 PyObject *resultobj;
11159 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11160 wxString result;
11161 PyObject * obj0 = 0 ;
11162 char *kwnames[] = {
11163 (char *) "self", NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11168 {
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = (arg1)->GetStringSelection();
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 {
11176 #if wxUSE_UNICODE
11177 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11178 #else
11179 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11180 #endif
11181 }
11182 return resultobj;
11183 fail:
11184 return NULL;
11185 }
11186
11187
11188 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11189 PyObject *resultobj;
11190 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11191 int arg2 ;
11192 PyObject * obj0 = 0 ;
11193 char *kwnames[] = {
11194 (char *) "self",(char *) "sel", NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->SetSelection(arg2);
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 Py_INCREF(Py_None); resultobj = Py_None;
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11216 int result;
11217 PyObject * obj0 = 0 ;
11218 char *kwnames[] = {
11219 (char *) "self", NULL
11220 };
11221
11222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 result = (int)(arg1)->ShowModal();
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 resultobj = PyInt_FromLong((long)result);
11232 return resultobj;
11233 fail:
11234 return NULL;
11235 }
11236
11237
11238 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11239 PyObject *obj;
11240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11241 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11242 Py_INCREF(obj);
11243 return Py_BuildValue((char *)"");
11244 }
11245 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11246 PyObject *resultobj;
11247 wxWindow *arg1 = (wxWindow *) 0 ;
11248 wxString *arg2 = 0 ;
11249 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11250 wxString *arg3 = (wxString *) &arg3_defvalue ;
11251 wxString const &arg4_defvalue = wxPyEmptyString ;
11252 wxString *arg4 = (wxString *) &arg4_defvalue ;
11253 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11254 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11255 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11256 wxTextEntryDialog *result;
11257 bool temp2 = False ;
11258 bool temp3 = False ;
11259 bool temp4 = False ;
11260 wxPoint temp6 ;
11261 PyObject * obj0 = 0 ;
11262 PyObject * obj1 = 0 ;
11263 PyObject * obj2 = 0 ;
11264 PyObject * obj3 = 0 ;
11265 PyObject * obj5 = 0 ;
11266 char *kwnames[] = {
11267 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11268 };
11269
11270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11272 {
11273 arg2 = wxString_in_helper(obj1);
11274 if (arg2 == NULL) SWIG_fail;
11275 temp2 = True;
11276 }
11277 if (obj2) {
11278 {
11279 arg3 = wxString_in_helper(obj2);
11280 if (arg3 == NULL) SWIG_fail;
11281 temp3 = True;
11282 }
11283 }
11284 if (obj3) {
11285 {
11286 arg4 = wxString_in_helper(obj3);
11287 if (arg4 == NULL) SWIG_fail;
11288 temp4 = True;
11289 }
11290 }
11291 if (obj5) {
11292 {
11293 arg6 = &temp6;
11294 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11295 }
11296 }
11297 {
11298 PyThreadState* __tstate = wxPyBeginAllowThreads();
11299 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11300
11301 wxPyEndAllowThreads(__tstate);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 }
11304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11305 {
11306 if (temp2)
11307 delete arg2;
11308 }
11309 {
11310 if (temp3)
11311 delete arg3;
11312 }
11313 {
11314 if (temp4)
11315 delete arg4;
11316 }
11317 return resultobj;
11318 fail:
11319 {
11320 if (temp2)
11321 delete arg2;
11322 }
11323 {
11324 if (temp3)
11325 delete arg3;
11326 }
11327 {
11328 if (temp4)
11329 delete arg4;
11330 }
11331 return NULL;
11332 }
11333
11334
11335 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11336 PyObject *resultobj;
11337 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11338 wxString result;
11339 PyObject * obj0 = 0 ;
11340 char *kwnames[] = {
11341 (char *) "self", NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 result = (arg1)->GetValue();
11349
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 {
11354 #if wxUSE_UNICODE
11355 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11356 #else
11357 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11358 #endif
11359 }
11360 return resultobj;
11361 fail:
11362 return NULL;
11363 }
11364
11365
11366 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11367 PyObject *resultobj;
11368 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11369 wxString *arg2 = 0 ;
11370 bool temp2 = False ;
11371 PyObject * obj0 = 0 ;
11372 PyObject * obj1 = 0 ;
11373 char *kwnames[] = {
11374 (char *) "self",(char *) "value", NULL
11375 };
11376
11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11379 {
11380 arg2 = wxString_in_helper(obj1);
11381 if (arg2 == NULL) SWIG_fail;
11382 temp2 = True;
11383 }
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 (arg1)->SetValue((wxString const &)*arg2);
11387
11388 wxPyEndAllowThreads(__tstate);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 Py_INCREF(Py_None); resultobj = Py_None;
11392 {
11393 if (temp2)
11394 delete arg2;
11395 }
11396 return resultobj;
11397 fail:
11398 {
11399 if (temp2)
11400 delete arg2;
11401 }
11402 return NULL;
11403 }
11404
11405
11406 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11407 PyObject *resultobj;
11408 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11409 int result;
11410 PyObject * obj0 = 0 ;
11411 char *kwnames[] = {
11412 (char *) "self", NULL
11413 };
11414
11415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 result = (int)(arg1)->ShowModal();
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 resultobj = PyInt_FromLong((long)result);
11425 return resultobj;
11426 fail:
11427 return NULL;
11428 }
11429
11430
11431 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11432 PyObject *obj;
11433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11434 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11435 Py_INCREF(obj);
11436 return Py_BuildValue((char *)"");
11437 }
11438 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11439 PyObject *resultobj;
11440 wxFontData *result;
11441 char *kwnames[] = {
11442 NULL
11443 };
11444
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 result = (wxFontData *)new wxFontData();
11449
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11454 return resultobj;
11455 fail:
11456 return NULL;
11457 }
11458
11459
11460 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11461 PyObject *resultobj;
11462 wxFontData *arg1 = (wxFontData *) 0 ;
11463 PyObject * obj0 = 0 ;
11464 char *kwnames[] = {
11465 (char *) "self", NULL
11466 };
11467
11468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 delete arg1;
11473
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 Py_INCREF(Py_None); resultobj = Py_None;
11478 return resultobj;
11479 fail:
11480 return NULL;
11481 }
11482
11483
11484 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11485 PyObject *resultobj;
11486 wxFontData *arg1 = (wxFontData *) 0 ;
11487 bool arg2 ;
11488 PyObject * obj0 = 0 ;
11489 PyObject * obj1 = 0 ;
11490 char *kwnames[] = {
11491 (char *) "self",(char *) "enable", NULL
11492 };
11493
11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11496 {
11497 arg2 = (bool) SPyObj_AsBool(obj1);
11498 if (PyErr_Occurred()) SWIG_fail;
11499 }
11500 {
11501 PyThreadState* __tstate = wxPyBeginAllowThreads();
11502 (arg1)->EnableEffects(arg2);
11503
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 Py_INCREF(Py_None); resultobj = Py_None;
11508 return resultobj;
11509 fail:
11510 return NULL;
11511 }
11512
11513
11514 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11515 PyObject *resultobj;
11516 wxFontData *arg1 = (wxFontData *) 0 ;
11517 bool result;
11518 PyObject * obj0 = 0 ;
11519 char *kwnames[] = {
11520 (char *) "self", NULL
11521 };
11522
11523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (bool)(arg1)->GetAllowSymbols();
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 resultobj = PyInt_FromLong((long)result);
11533 return resultobj;
11534 fail:
11535 return NULL;
11536 }
11537
11538
11539 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11540 PyObject *resultobj;
11541 wxFontData *arg1 = (wxFontData *) 0 ;
11542 wxColour result;
11543 PyObject * obj0 = 0 ;
11544 char *kwnames[] = {
11545 (char *) "self", NULL
11546 };
11547
11548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 result = (arg1)->GetColour();
11553
11554 wxPyEndAllowThreads(__tstate);
11555 if (PyErr_Occurred()) SWIG_fail;
11556 }
11557 {
11558 wxColour * resultptr;
11559 resultptr = new wxColour((wxColour &) result);
11560 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11561 }
11562 return resultobj;
11563 fail:
11564 return NULL;
11565 }
11566
11567
11568 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11569 PyObject *resultobj;
11570 wxFontData *arg1 = (wxFontData *) 0 ;
11571 wxFont result;
11572 PyObject * obj0 = 0 ;
11573 char *kwnames[] = {
11574 (char *) "self", NULL
11575 };
11576
11577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 result = (arg1)->GetChosenFont();
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 {
11587 wxFont * resultptr;
11588 resultptr = new wxFont((wxFont &) result);
11589 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11590 }
11591 return resultobj;
11592 fail:
11593 return NULL;
11594 }
11595
11596
11597 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxFontData *arg1 = (wxFontData *) 0 ;
11600 bool result;
11601 PyObject * obj0 = 0 ;
11602 char *kwnames[] = {
11603 (char *) "self", NULL
11604 };
11605
11606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11608 {
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 result = (bool)(arg1)->GetEnableEffects();
11611
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 resultobj = PyInt_FromLong((long)result);
11616 return resultobj;
11617 fail:
11618 return NULL;
11619 }
11620
11621
11622 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj;
11624 wxFontData *arg1 = (wxFontData *) 0 ;
11625 wxFont result;
11626 PyObject * obj0 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11633 {
11634 PyThreadState* __tstate = wxPyBeginAllowThreads();
11635 result = (arg1)->GetInitialFont();
11636
11637 wxPyEndAllowThreads(__tstate);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 }
11640 {
11641 wxFont * resultptr;
11642 resultptr = new wxFont((wxFont &) result);
11643 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11644 }
11645 return resultobj;
11646 fail:
11647 return NULL;
11648 }
11649
11650
11651 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11652 PyObject *resultobj;
11653 wxFontData *arg1 = (wxFontData *) 0 ;
11654 bool result;
11655 PyObject * obj0 = 0 ;
11656 char *kwnames[] = {
11657 (char *) "self", NULL
11658 };
11659
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11662 {
11663 PyThreadState* __tstate = wxPyBeginAllowThreads();
11664 result = (bool)(arg1)->GetShowHelp();
11665
11666 wxPyEndAllowThreads(__tstate);
11667 if (PyErr_Occurred()) SWIG_fail;
11668 }
11669 resultobj = PyInt_FromLong((long)result);
11670 return resultobj;
11671 fail:
11672 return NULL;
11673 }
11674
11675
11676 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11677 PyObject *resultobj;
11678 wxFontData *arg1 = (wxFontData *) 0 ;
11679 bool arg2 ;
11680 PyObject * obj0 = 0 ;
11681 PyObject * obj1 = 0 ;
11682 char *kwnames[] = {
11683 (char *) "self",(char *) "allowSymbols", NULL
11684 };
11685
11686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11688 {
11689 arg2 = (bool) SPyObj_AsBool(obj1);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 }
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 (arg1)->SetAllowSymbols(arg2);
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
11699 Py_INCREF(Py_None); resultobj = Py_None;
11700 return resultobj;
11701 fail:
11702 return NULL;
11703 }
11704
11705
11706 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11707 PyObject *resultobj;
11708 wxFontData *arg1 = (wxFontData *) 0 ;
11709 wxFont *arg2 = 0 ;
11710 PyObject * obj0 = 0 ;
11711 PyObject * obj1 = 0 ;
11712 char *kwnames[] = {
11713 (char *) "self",(char *) "font", NULL
11714 };
11715
11716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11719 if (arg2 == NULL) {
11720 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11721 }
11722 {
11723 PyThreadState* __tstate = wxPyBeginAllowThreads();
11724 (arg1)->SetChosenFont((wxFont const &)*arg2);
11725
11726 wxPyEndAllowThreads(__tstate);
11727 if (PyErr_Occurred()) SWIG_fail;
11728 }
11729 Py_INCREF(Py_None); resultobj = Py_None;
11730 return resultobj;
11731 fail:
11732 return NULL;
11733 }
11734
11735
11736 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11737 PyObject *resultobj;
11738 wxFontData *arg1 = (wxFontData *) 0 ;
11739 wxColour *arg2 = 0 ;
11740 wxColour temp2 ;
11741 PyObject * obj0 = 0 ;
11742 PyObject * obj1 = 0 ;
11743 char *kwnames[] = {
11744 (char *) "self",(char *) "colour", NULL
11745 };
11746
11747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11749 {
11750 arg2 = &temp2;
11751 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11752 }
11753 {
11754 PyThreadState* __tstate = wxPyBeginAllowThreads();
11755 (arg1)->SetColour((wxColour const &)*arg2);
11756
11757 wxPyEndAllowThreads(__tstate);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 }
11760 Py_INCREF(Py_None); resultobj = Py_None;
11761 return resultobj;
11762 fail:
11763 return NULL;
11764 }
11765
11766
11767 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11768 PyObject *resultobj;
11769 wxFontData *arg1 = (wxFontData *) 0 ;
11770 wxFont *arg2 = 0 ;
11771 PyObject * obj0 = 0 ;
11772 PyObject * obj1 = 0 ;
11773 char *kwnames[] = {
11774 (char *) "self",(char *) "font", NULL
11775 };
11776
11777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11779 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11780 if (arg2 == NULL) {
11781 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11782 }
11783 {
11784 PyThreadState* __tstate = wxPyBeginAllowThreads();
11785 (arg1)->SetInitialFont((wxFont const &)*arg2);
11786
11787 wxPyEndAllowThreads(__tstate);
11788 if (PyErr_Occurred()) SWIG_fail;
11789 }
11790 Py_INCREF(Py_None); resultobj = Py_None;
11791 return resultobj;
11792 fail:
11793 return NULL;
11794 }
11795
11796
11797 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11798 PyObject *resultobj;
11799 wxFontData *arg1 = (wxFontData *) 0 ;
11800 int arg2 ;
11801 int arg3 ;
11802 PyObject * obj0 = 0 ;
11803 char *kwnames[] = {
11804 (char *) "self",(char *) "min",(char *) "max", NULL
11805 };
11806
11807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11809 {
11810 PyThreadState* __tstate = wxPyBeginAllowThreads();
11811 (arg1)->SetRange(arg2,arg3);
11812
11813 wxPyEndAllowThreads(__tstate);
11814 if (PyErr_Occurred()) SWIG_fail;
11815 }
11816 Py_INCREF(Py_None); resultobj = Py_None;
11817 return resultobj;
11818 fail:
11819 return NULL;
11820 }
11821
11822
11823 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj;
11825 wxFontData *arg1 = (wxFontData *) 0 ;
11826 bool arg2 ;
11827 PyObject * obj0 = 0 ;
11828 PyObject * obj1 = 0 ;
11829 char *kwnames[] = {
11830 (char *) "self",(char *) "showHelp", NULL
11831 };
11832
11833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11835 {
11836 arg2 = (bool) SPyObj_AsBool(obj1);
11837 if (PyErr_Occurred()) SWIG_fail;
11838 }
11839 {
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 (arg1)->SetShowHelp(arg2);
11842
11843 wxPyEndAllowThreads(__tstate);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
11846 Py_INCREF(Py_None); resultobj = Py_None;
11847 return resultobj;
11848 fail:
11849 return NULL;
11850 }
11851
11852
11853 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11854 PyObject *obj;
11855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11856 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11857 Py_INCREF(obj);
11858 return Py_BuildValue((char *)"");
11859 }
11860 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11861 PyObject *resultobj;
11862 wxWindow *arg1 = (wxWindow *) 0 ;
11863 wxFontData *arg2 = 0 ;
11864 wxFontDialog *result;
11865 PyObject * obj0 = 0 ;
11866 PyObject * obj1 = 0 ;
11867 char *kwnames[] = {
11868 (char *) "parent",(char *) "data", NULL
11869 };
11870
11871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11873 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11874 if (arg2 == NULL) {
11875 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11876 }
11877 {
11878 PyThreadState* __tstate = wxPyBeginAllowThreads();
11879 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11880
11881 wxPyEndAllowThreads(__tstate);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 }
11884 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11885 return resultobj;
11886 fail:
11887 return NULL;
11888 }
11889
11890
11891 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11892 PyObject *resultobj;
11893 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11894 wxFontData *result;
11895 PyObject * obj0 = 0 ;
11896 char *kwnames[] = {
11897 (char *) "self", NULL
11898 };
11899
11900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 {
11905 wxFontData &_result_ref = (arg1)->GetFontData();
11906 result = (wxFontData *) &_result_ref;
11907 }
11908
11909 wxPyEndAllowThreads(__tstate);
11910 if (PyErr_Occurred()) SWIG_fail;
11911 }
11912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11913 return resultobj;
11914 fail:
11915 return NULL;
11916 }
11917
11918
11919 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11920 PyObject *resultobj;
11921 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11922 int result;
11923 PyObject * obj0 = 0 ;
11924 char *kwnames[] = {
11925 (char *) "self", NULL
11926 };
11927
11928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11930 {
11931 PyThreadState* __tstate = wxPyBeginAllowThreads();
11932 result = (int)(arg1)->ShowModal();
11933
11934 wxPyEndAllowThreads(__tstate);
11935 if (PyErr_Occurred()) SWIG_fail;
11936 }
11937 resultobj = PyInt_FromLong((long)result);
11938 return resultobj;
11939 fail:
11940 return NULL;
11941 }
11942
11943
11944 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11945 PyObject *obj;
11946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11947 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11948 Py_INCREF(obj);
11949 return Py_BuildValue((char *)"");
11950 }
11951 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11952 PyObject *resultobj;
11953 wxWindow *arg1 = (wxWindow *) 0 ;
11954 wxString *arg2 = 0 ;
11955 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11956 wxString *arg3 = (wxString *) &arg3_defvalue ;
11957 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11958 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11959 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11960 wxMessageDialog *result;
11961 bool temp2 = False ;
11962 bool temp3 = False ;
11963 wxPoint temp5 ;
11964 PyObject * obj0 = 0 ;
11965 PyObject * obj1 = 0 ;
11966 PyObject * obj2 = 0 ;
11967 PyObject * obj4 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11974 {
11975 arg2 = wxString_in_helper(obj1);
11976 if (arg2 == NULL) SWIG_fail;
11977 temp2 = True;
11978 }
11979 if (obj2) {
11980 {
11981 arg3 = wxString_in_helper(obj2);
11982 if (arg3 == NULL) SWIG_fail;
11983 temp3 = True;
11984 }
11985 }
11986 if (obj4) {
11987 {
11988 arg5 = &temp5;
11989 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11990 }
11991 }
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11995
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12000 {
12001 if (temp2)
12002 delete arg2;
12003 }
12004 {
12005 if (temp3)
12006 delete arg3;
12007 }
12008 return resultobj;
12009 fail:
12010 {
12011 if (temp2)
12012 delete arg2;
12013 }
12014 {
12015 if (temp3)
12016 delete arg3;
12017 }
12018 return NULL;
12019 }
12020
12021
12022 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12023 PyObject *resultobj;
12024 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12025 int result;
12026 PyObject * obj0 = 0 ;
12027 char *kwnames[] = {
12028 (char *) "self", NULL
12029 };
12030
12031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 result = (int)(arg1)->ShowModal();
12036
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 resultobj = PyInt_FromLong((long)result);
12041 return resultobj;
12042 fail:
12043 return NULL;
12044 }
12045
12046
12047 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12048 PyObject *obj;
12049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12050 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12051 Py_INCREF(obj);
12052 return Py_BuildValue((char *)"");
12053 }
12054 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12055 PyObject *resultobj;
12056 wxString *arg1 = 0 ;
12057 wxString *arg2 = 0 ;
12058 int arg3 = (int) 100 ;
12059 wxWindow *arg4 = (wxWindow *) NULL ;
12060 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12061 wxProgressDialog *result;
12062 bool temp1 = False ;
12063 bool temp2 = False ;
12064 PyObject * obj0 = 0 ;
12065 PyObject * obj1 = 0 ;
12066 PyObject * obj3 = 0 ;
12067 char *kwnames[] = {
12068 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12069 };
12070
12071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
12072 {
12073 arg1 = wxString_in_helper(obj0);
12074 if (arg1 == NULL) SWIG_fail;
12075 temp1 = True;
12076 }
12077 {
12078 arg2 = wxString_in_helper(obj1);
12079 if (arg2 == NULL) SWIG_fail;
12080 temp2 = True;
12081 }
12082 if (obj3) {
12083 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12084 }
12085 {
12086 PyThreadState* __tstate = wxPyBeginAllowThreads();
12087 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12088
12089 wxPyEndAllowThreads(__tstate);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
12092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12093 {
12094 if (temp1)
12095 delete arg1;
12096 }
12097 {
12098 if (temp2)
12099 delete arg2;
12100 }
12101 return resultobj;
12102 fail:
12103 {
12104 if (temp1)
12105 delete arg1;
12106 }
12107 {
12108 if (temp2)
12109 delete arg2;
12110 }
12111 return NULL;
12112 }
12113
12114
12115 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12116 PyObject *resultobj;
12117 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12118 int arg2 ;
12119 wxString const &arg3_defvalue = wxPyEmptyString ;
12120 wxString *arg3 = (wxString *) &arg3_defvalue ;
12121 bool result;
12122 bool temp3 = False ;
12123 PyObject * obj0 = 0 ;
12124 PyObject * obj2 = 0 ;
12125 char *kwnames[] = {
12126 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12127 };
12128
12129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
12130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12131 if (obj2) {
12132 {
12133 arg3 = wxString_in_helper(obj2);
12134 if (arg3 == NULL) SWIG_fail;
12135 temp3 = True;
12136 }
12137 }
12138 {
12139 PyThreadState* __tstate = wxPyBeginAllowThreads();
12140 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12141
12142 wxPyEndAllowThreads(__tstate);
12143 if (PyErr_Occurred()) SWIG_fail;
12144 }
12145 resultobj = PyInt_FromLong((long)result);
12146 {
12147 if (temp3)
12148 delete arg3;
12149 }
12150 return resultobj;
12151 fail:
12152 {
12153 if (temp3)
12154 delete arg3;
12155 }
12156 return NULL;
12157 }
12158
12159
12160 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12161 PyObject *resultobj;
12162 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12163 PyObject * obj0 = 0 ;
12164 char *kwnames[] = {
12165 (char *) "self", NULL
12166 };
12167
12168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12170 {
12171 PyThreadState* __tstate = wxPyBeginAllowThreads();
12172 (arg1)->Resume();
12173
12174 wxPyEndAllowThreads(__tstate);
12175 if (PyErr_Occurred()) SWIG_fail;
12176 }
12177 Py_INCREF(Py_None); resultobj = Py_None;
12178 return resultobj;
12179 fail:
12180 return NULL;
12181 }
12182
12183
12184 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12185 PyObject *obj;
12186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12187 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12188 Py_INCREF(obj);
12189 return Py_BuildValue((char *)"");
12190 }
12191 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj;
12193 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12194 int arg2 = (int) 0 ;
12195 wxFindDialogEvent *result;
12196 char *kwnames[] = {
12197 (char *) "commandType",(char *) "id", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
12203 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12204
12205 wxPyEndAllowThreads(__tstate);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 }
12208 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12209 return resultobj;
12210 fail:
12211 return NULL;
12212 }
12213
12214
12215 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12216 PyObject *resultobj;
12217 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12218 int result;
12219 PyObject * obj0 = 0 ;
12220 char *kwnames[] = {
12221 (char *) "self", NULL
12222 };
12223
12224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 result = (int)(arg1)->GetFlags();
12229
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 resultobj = PyInt_FromLong((long)result);
12234 return resultobj;
12235 fail:
12236 return NULL;
12237 }
12238
12239
12240 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12241 PyObject *resultobj;
12242 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12243 wxString *result;
12244 PyObject * obj0 = 0 ;
12245 char *kwnames[] = {
12246 (char *) "self", NULL
12247 };
12248
12249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 {
12254 wxString const &_result_ref = (arg1)->GetFindString();
12255 result = (wxString *) &_result_ref;
12256 }
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 {
12262 #if wxUSE_UNICODE
12263 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12264 #else
12265 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12266 #endif
12267 }
12268 return resultobj;
12269 fail:
12270 return NULL;
12271 }
12272
12273
12274 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12275 PyObject *resultobj;
12276 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12277 wxString *result;
12278 PyObject * obj0 = 0 ;
12279 char *kwnames[] = {
12280 (char *) "self", NULL
12281 };
12282
12283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 {
12288 wxString const &_result_ref = (arg1)->GetReplaceString();
12289 result = (wxString *) &_result_ref;
12290 }
12291
12292 wxPyEndAllowThreads(__tstate);
12293 if (PyErr_Occurred()) SWIG_fail;
12294 }
12295 {
12296 #if wxUSE_UNICODE
12297 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12298 #else
12299 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12300 #endif
12301 }
12302 return resultobj;
12303 fail:
12304 return NULL;
12305 }
12306
12307
12308 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12309 PyObject *resultobj;
12310 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12311 wxFindReplaceDialog *result;
12312 PyObject * obj0 = 0 ;
12313 char *kwnames[] = {
12314 (char *) "self", NULL
12315 };
12316
12317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12327 return resultobj;
12328 fail:
12329 return NULL;
12330 }
12331
12332
12333 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj;
12335 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12336 int arg2 ;
12337 PyObject * obj0 = 0 ;
12338 char *kwnames[] = {
12339 (char *) "self",(char *) "flags", NULL
12340 };
12341
12342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 (arg1)->SetFlags(arg2);
12347
12348 wxPyEndAllowThreads(__tstate);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 Py_INCREF(Py_None); resultobj = Py_None;
12352 return resultobj;
12353 fail:
12354 return NULL;
12355 }
12356
12357
12358 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12359 PyObject *resultobj;
12360 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12361 wxString *arg2 = 0 ;
12362 bool temp2 = False ;
12363 PyObject * obj0 = 0 ;
12364 PyObject * obj1 = 0 ;
12365 char *kwnames[] = {
12366 (char *) "self",(char *) "str", NULL
12367 };
12368
12369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12371 {
12372 arg2 = wxString_in_helper(obj1);
12373 if (arg2 == NULL) SWIG_fail;
12374 temp2 = True;
12375 }
12376 {
12377 PyThreadState* __tstate = wxPyBeginAllowThreads();
12378 (arg1)->SetFindString((wxString const &)*arg2);
12379
12380 wxPyEndAllowThreads(__tstate);
12381 if (PyErr_Occurred()) SWIG_fail;
12382 }
12383 Py_INCREF(Py_None); resultobj = Py_None;
12384 {
12385 if (temp2)
12386 delete arg2;
12387 }
12388 return resultobj;
12389 fail:
12390 {
12391 if (temp2)
12392 delete arg2;
12393 }
12394 return NULL;
12395 }
12396
12397
12398 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12399 PyObject *resultobj;
12400 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12401 wxString *arg2 = 0 ;
12402 bool temp2 = False ;
12403 PyObject * obj0 = 0 ;
12404 PyObject * obj1 = 0 ;
12405 char *kwnames[] = {
12406 (char *) "self",(char *) "str", NULL
12407 };
12408
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12411 {
12412 arg2 = wxString_in_helper(obj1);
12413 if (arg2 == NULL) SWIG_fail;
12414 temp2 = True;
12415 }
12416 {
12417 PyThreadState* __tstate = wxPyBeginAllowThreads();
12418 (arg1)->SetReplaceString((wxString const &)*arg2);
12419
12420 wxPyEndAllowThreads(__tstate);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 }
12423 Py_INCREF(Py_None); resultobj = Py_None;
12424 {
12425 if (temp2)
12426 delete arg2;
12427 }
12428 return resultobj;
12429 fail:
12430 {
12431 if (temp2)
12432 delete arg2;
12433 }
12434 return NULL;
12435 }
12436
12437
12438 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12439 PyObject *obj;
12440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12441 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12442 Py_INCREF(obj);
12443 return Py_BuildValue((char *)"");
12444 }
12445 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12446 PyObject *resultobj;
12447 int arg1 = (int) 0 ;
12448 wxFindReplaceData *result;
12449 char *kwnames[] = {
12450 (char *) "flags", NULL
12451 };
12452
12453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12462 return resultobj;
12463 fail:
12464 return NULL;
12465 }
12466
12467
12468 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj;
12470 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12471 PyObject * obj0 = 0 ;
12472 char *kwnames[] = {
12473 (char *) "self", NULL
12474 };
12475
12476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12478 {
12479 PyThreadState* __tstate = wxPyBeginAllowThreads();
12480 delete arg1;
12481
12482 wxPyEndAllowThreads(__tstate);
12483 if (PyErr_Occurred()) SWIG_fail;
12484 }
12485 Py_INCREF(Py_None); resultobj = Py_None;
12486 return resultobj;
12487 fail:
12488 return NULL;
12489 }
12490
12491
12492 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12493 PyObject *resultobj;
12494 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12495 wxString *result;
12496 PyObject * obj0 = 0 ;
12497 char *kwnames[] = {
12498 (char *) "self", NULL
12499 };
12500
12501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12503 {
12504 PyThreadState* __tstate = wxPyBeginAllowThreads();
12505 {
12506 wxString const &_result_ref = (arg1)->GetFindString();
12507 result = (wxString *) &_result_ref;
12508 }
12509
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 {
12514 #if wxUSE_UNICODE
12515 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12516 #else
12517 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12518 #endif
12519 }
12520 return resultobj;
12521 fail:
12522 return NULL;
12523 }
12524
12525
12526 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12527 PyObject *resultobj;
12528 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12529 wxString *result;
12530 PyObject * obj0 = 0 ;
12531 char *kwnames[] = {
12532 (char *) "self", NULL
12533 };
12534
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12537 {
12538 PyThreadState* __tstate = wxPyBeginAllowThreads();
12539 {
12540 wxString const &_result_ref = (arg1)->GetReplaceString();
12541 result = (wxString *) &_result_ref;
12542 }
12543
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 }
12547 {
12548 #if wxUSE_UNICODE
12549 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12550 #else
12551 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12552 #endif
12553 }
12554 return resultobj;
12555 fail:
12556 return NULL;
12557 }
12558
12559
12560 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12561 PyObject *resultobj;
12562 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12563 int result;
12564 PyObject * obj0 = 0 ;
12565 char *kwnames[] = {
12566 (char *) "self", NULL
12567 };
12568
12569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12571 {
12572 PyThreadState* __tstate = wxPyBeginAllowThreads();
12573 result = (int)(arg1)->GetFlags();
12574
12575 wxPyEndAllowThreads(__tstate);
12576 if (PyErr_Occurred()) SWIG_fail;
12577 }
12578 resultobj = PyInt_FromLong((long)result);
12579 return resultobj;
12580 fail:
12581 return NULL;
12582 }
12583
12584
12585 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12586 PyObject *resultobj;
12587 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12588 int arg2 ;
12589 PyObject * obj0 = 0 ;
12590 char *kwnames[] = {
12591 (char *) "self",(char *) "flags", NULL
12592 };
12593
12594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 (arg1)->SetFlags(arg2);
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 Py_INCREF(Py_None); resultobj = Py_None;
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj;
12612 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12613 wxString *arg2 = 0 ;
12614 bool temp2 = False ;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12617 char *kwnames[] = {
12618 (char *) "self",(char *) "str", NULL
12619 };
12620
12621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12623 {
12624 arg2 = wxString_in_helper(obj1);
12625 if (arg2 == NULL) SWIG_fail;
12626 temp2 = True;
12627 }
12628 {
12629 PyThreadState* __tstate = wxPyBeginAllowThreads();
12630 (arg1)->SetFindString((wxString const &)*arg2);
12631
12632 wxPyEndAllowThreads(__tstate);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 }
12635 Py_INCREF(Py_None); resultobj = Py_None;
12636 {
12637 if (temp2)
12638 delete arg2;
12639 }
12640 return resultobj;
12641 fail:
12642 {
12643 if (temp2)
12644 delete arg2;
12645 }
12646 return NULL;
12647 }
12648
12649
12650 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj;
12652 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12653 wxString *arg2 = 0 ;
12654 bool temp2 = False ;
12655 PyObject * obj0 = 0 ;
12656 PyObject * obj1 = 0 ;
12657 char *kwnames[] = {
12658 (char *) "self",(char *) "str", NULL
12659 };
12660
12661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12663 {
12664 arg2 = wxString_in_helper(obj1);
12665 if (arg2 == NULL) SWIG_fail;
12666 temp2 = True;
12667 }
12668 {
12669 PyThreadState* __tstate = wxPyBeginAllowThreads();
12670 (arg1)->SetReplaceString((wxString const &)*arg2);
12671
12672 wxPyEndAllowThreads(__tstate);
12673 if (PyErr_Occurred()) SWIG_fail;
12674 }
12675 Py_INCREF(Py_None); resultobj = Py_None;
12676 {
12677 if (temp2)
12678 delete arg2;
12679 }
12680 return resultobj;
12681 fail:
12682 {
12683 if (temp2)
12684 delete arg2;
12685 }
12686 return NULL;
12687 }
12688
12689
12690 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12691 PyObject *obj;
12692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12693 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12694 Py_INCREF(obj);
12695 return Py_BuildValue((char *)"");
12696 }
12697 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12698 PyObject *resultobj;
12699 wxWindow *arg1 = (wxWindow *) 0 ;
12700 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12701 wxString *arg3 = 0 ;
12702 int arg4 = (int) 0 ;
12703 wxFindReplaceDialog *result;
12704 bool temp3 = False ;
12705 PyObject * obj0 = 0 ;
12706 PyObject * obj1 = 0 ;
12707 PyObject * obj2 = 0 ;
12708 char *kwnames[] = {
12709 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12710 };
12711
12712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12715 {
12716 arg3 = wxString_in_helper(obj2);
12717 if (arg3 == NULL) SWIG_fail;
12718 temp3 = True;
12719 }
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12723
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
12727 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12728 {
12729 if (temp3)
12730 delete arg3;
12731 }
12732 return resultobj;
12733 fail:
12734 {
12735 if (temp3)
12736 delete arg3;
12737 }
12738 return NULL;
12739 }
12740
12741
12742 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12743 PyObject *resultobj;
12744 wxFindReplaceDialog *result;
12745 char *kwnames[] = {
12746 NULL
12747 };
12748
12749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12750 {
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12753
12754 wxPyEndAllowThreads(__tstate);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
12757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12758 return resultobj;
12759 fail:
12760 return NULL;
12761 }
12762
12763
12764 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12765 PyObject *resultobj;
12766 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12767 wxWindow *arg2 = (wxWindow *) 0 ;
12768 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12769 wxString *arg4 = 0 ;
12770 int arg5 = (int) 0 ;
12771 bool result;
12772 bool temp4 = False ;
12773 PyObject * obj0 = 0 ;
12774 PyObject * obj1 = 0 ;
12775 PyObject * obj2 = 0 ;
12776 PyObject * obj3 = 0 ;
12777 char *kwnames[] = {
12778 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12779 };
12780
12781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12784 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12785 {
12786 arg4 = wxString_in_helper(obj3);
12787 if (arg4 == NULL) SWIG_fail;
12788 temp4 = True;
12789 }
12790 {
12791 PyThreadState* __tstate = wxPyBeginAllowThreads();
12792 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12793
12794 wxPyEndAllowThreads(__tstate);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
12797 resultobj = PyInt_FromLong((long)result);
12798 {
12799 if (temp4)
12800 delete arg4;
12801 }
12802 return resultobj;
12803 fail:
12804 {
12805 if (temp4)
12806 delete arg4;
12807 }
12808 return NULL;
12809 }
12810
12811
12812 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12813 PyObject *resultobj;
12814 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12815 wxFindReplaceData *result;
12816 PyObject * obj0 = 0 ;
12817 char *kwnames[] = {
12818 (char *) "self", NULL
12819 };
12820
12821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12823 {
12824 PyThreadState* __tstate = wxPyBeginAllowThreads();
12825 result = (wxFindReplaceData *)(arg1)->GetData();
12826
12827 wxPyEndAllowThreads(__tstate);
12828 if (PyErr_Occurred()) SWIG_fail;
12829 }
12830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12831 return resultobj;
12832 fail:
12833 return NULL;
12834 }
12835
12836
12837 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12838 PyObject *resultobj;
12839 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12840 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12841 PyObject * obj0 = 0 ;
12842 PyObject * obj1 = 0 ;
12843 char *kwnames[] = {
12844 (char *) "self",(char *) "data", NULL
12845 };
12846
12847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12849 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12850 {
12851 PyThreadState* __tstate = wxPyBeginAllowThreads();
12852 (arg1)->SetData(arg2);
12853
12854 wxPyEndAllowThreads(__tstate);
12855 if (PyErr_Occurred()) SWIG_fail;
12856 }
12857 Py_INCREF(Py_None); resultobj = Py_None;
12858 return resultobj;
12859 fail:
12860 return NULL;
12861 }
12862
12863
12864 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12865 PyObject *obj;
12866 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12867 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12868 Py_INCREF(obj);
12869 return Py_BuildValue((char *)"");
12870 }
12871 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12872 PyObject *resultobj;
12873 wxWindow *arg1 = (wxWindow *) 0 ;
12874 int arg2 ;
12875 wxString *arg3 = 0 ;
12876 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12877 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12878 wxSize const &arg5_defvalue = wxDefaultSize ;
12879 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12880 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12881 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12882 wxString *arg7 = (wxString *) &arg7_defvalue ;
12883 wxMDIParentFrame *result;
12884 bool temp3 = False ;
12885 wxPoint temp4 ;
12886 wxSize temp5 ;
12887 bool temp7 = False ;
12888 PyObject * obj0 = 0 ;
12889 PyObject * obj2 = 0 ;
12890 PyObject * obj3 = 0 ;
12891 PyObject * obj4 = 0 ;
12892 PyObject * obj6 = 0 ;
12893 char *kwnames[] = {
12894 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12895 };
12896
12897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12899 {
12900 arg3 = wxString_in_helper(obj2);
12901 if (arg3 == NULL) SWIG_fail;
12902 temp3 = True;
12903 }
12904 if (obj3) {
12905 {
12906 arg4 = &temp4;
12907 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12908 }
12909 }
12910 if (obj4) {
12911 {
12912 arg5 = &temp5;
12913 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12914 }
12915 }
12916 if (obj6) {
12917 {
12918 arg7 = wxString_in_helper(obj6);
12919 if (arg7 == NULL) SWIG_fail;
12920 temp7 = True;
12921 }
12922 }
12923 {
12924 PyThreadState* __tstate = wxPyBeginAllowThreads();
12925 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12926
12927 wxPyEndAllowThreads(__tstate);
12928 if (PyErr_Occurred()) SWIG_fail;
12929 }
12930 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12931 {
12932 if (temp3)
12933 delete arg3;
12934 }
12935 {
12936 if (temp7)
12937 delete arg7;
12938 }
12939 return resultobj;
12940 fail:
12941 {
12942 if (temp3)
12943 delete arg3;
12944 }
12945 {
12946 if (temp7)
12947 delete arg7;
12948 }
12949 return NULL;
12950 }
12951
12952
12953 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12954 PyObject *resultobj;
12955 wxMDIParentFrame *result;
12956 char *kwnames[] = {
12957 NULL
12958 };
12959
12960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12961 {
12962 PyThreadState* __tstate = wxPyBeginAllowThreads();
12963 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12964
12965 wxPyEndAllowThreads(__tstate);
12966 if (PyErr_Occurred()) SWIG_fail;
12967 }
12968 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12969 return resultobj;
12970 fail:
12971 return NULL;
12972 }
12973
12974
12975 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12976 PyObject *resultobj;
12977 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12978 wxWindow *arg2 = (wxWindow *) 0 ;
12979 int arg3 ;
12980 wxString *arg4 = 0 ;
12981 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12982 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12983 wxSize const &arg6_defvalue = wxDefaultSize ;
12984 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12985 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12986 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12987 wxString *arg8 = (wxString *) &arg8_defvalue ;
12988 bool result;
12989 bool temp4 = False ;
12990 wxPoint temp5 ;
12991 wxSize temp6 ;
12992 bool temp8 = False ;
12993 PyObject * obj0 = 0 ;
12994 PyObject * obj1 = 0 ;
12995 PyObject * obj3 = 0 ;
12996 PyObject * obj4 = 0 ;
12997 PyObject * obj5 = 0 ;
12998 PyObject * obj7 = 0 ;
12999 char *kwnames[] = {
13000 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13001 };
13002
13003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13006 {
13007 arg4 = wxString_in_helper(obj3);
13008 if (arg4 == NULL) SWIG_fail;
13009 temp4 = True;
13010 }
13011 if (obj4) {
13012 {
13013 arg5 = &temp5;
13014 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13015 }
13016 }
13017 if (obj5) {
13018 {
13019 arg6 = &temp6;
13020 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13021 }
13022 }
13023 if (obj7) {
13024 {
13025 arg8 = wxString_in_helper(obj7);
13026 if (arg8 == NULL) SWIG_fail;
13027 temp8 = True;
13028 }
13029 }
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
13032 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
13037 resultobj = PyInt_FromLong((long)result);
13038 {
13039 if (temp4)
13040 delete arg4;
13041 }
13042 {
13043 if (temp8)
13044 delete arg8;
13045 }
13046 return resultobj;
13047 fail:
13048 {
13049 if (temp4)
13050 delete arg4;
13051 }
13052 {
13053 if (temp8)
13054 delete arg8;
13055 }
13056 return NULL;
13057 }
13058
13059
13060 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
13061 PyObject *resultobj;
13062 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13063 PyObject * obj0 = 0 ;
13064 char *kwnames[] = {
13065 (char *) "self", NULL
13066 };
13067
13068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
13069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13070 {
13071 PyThreadState* __tstate = wxPyBeginAllowThreads();
13072 (arg1)->ActivateNext();
13073
13074 wxPyEndAllowThreads(__tstate);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 }
13077 Py_INCREF(Py_None); resultobj = Py_None;
13078 return resultobj;
13079 fail:
13080 return NULL;
13081 }
13082
13083
13084 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
13085 PyObject *resultobj;
13086 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13087 PyObject * obj0 = 0 ;
13088 char *kwnames[] = {
13089 (char *) "self", NULL
13090 };
13091
13092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
13093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 (arg1)->ActivatePrevious();
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 Py_INCREF(Py_None); resultobj = Py_None;
13102 return resultobj;
13103 fail:
13104 return NULL;
13105 }
13106
13107
13108 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
13109 PyObject *resultobj;
13110 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13111 PyObject * obj0 = 0 ;
13112 char *kwnames[] = {
13113 (char *) "self", NULL
13114 };
13115
13116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
13117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13118 {
13119 PyThreadState* __tstate = wxPyBeginAllowThreads();
13120 (arg1)->ArrangeIcons();
13121
13122 wxPyEndAllowThreads(__tstate);
13123 if (PyErr_Occurred()) SWIG_fail;
13124 }
13125 Py_INCREF(Py_None); resultobj = Py_None;
13126 return resultobj;
13127 fail:
13128 return NULL;
13129 }
13130
13131
13132 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
13133 PyObject *resultobj;
13134 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13135 PyObject * obj0 = 0 ;
13136 char *kwnames[] = {
13137 (char *) "self", NULL
13138 };
13139
13140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
13141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13142 {
13143 PyThreadState* __tstate = wxPyBeginAllowThreads();
13144 (arg1)->Cascade();
13145
13146 wxPyEndAllowThreads(__tstate);
13147 if (PyErr_Occurred()) SWIG_fail;
13148 }
13149 Py_INCREF(Py_None); resultobj = Py_None;
13150 return resultobj;
13151 fail:
13152 return NULL;
13153 }
13154
13155
13156 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13157 PyObject *resultobj;
13158 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13159 wxMDIChildFrame *result;
13160 PyObject * obj0 = 0 ;
13161 char *kwnames[] = {
13162 (char *) "self", NULL
13163 };
13164
13165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 {
13175 resultobj = wxPyMake_wxObject(result);
13176 }
13177 return resultobj;
13178 fail:
13179 return NULL;
13180 }
13181
13182
13183 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj;
13185 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13186 wxMDIClientWindow *result;
13187 PyObject * obj0 = 0 ;
13188 char *kwnames[] = {
13189 (char *) "self", NULL
13190 };
13191
13192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13197
13198 wxPyEndAllowThreads(__tstate);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 }
13201 {
13202 resultobj = wxPyMake_wxObject(result);
13203 }
13204 return resultobj;
13205 fail:
13206 return NULL;
13207 }
13208
13209
13210 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13211 PyObject *resultobj;
13212 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13213 wxWindow *result;
13214 PyObject * obj0 = 0 ;
13215 char *kwnames[] = {
13216 (char *) "self", NULL
13217 };
13218
13219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13221 {
13222 PyThreadState* __tstate = wxPyBeginAllowThreads();
13223 result = (wxWindow *)(arg1)->GetToolBar();
13224
13225 wxPyEndAllowThreads(__tstate);
13226 if (PyErr_Occurred()) SWIG_fail;
13227 }
13228 {
13229 resultobj = wxPyMake_wxObject(result);
13230 }
13231 return resultobj;
13232 fail:
13233 return NULL;
13234 }
13235
13236
13237 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13238 PyObject *resultobj;
13239 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13240 PyObject * obj0 = 0 ;
13241 char *kwnames[] = {
13242 (char *) "self", NULL
13243 };
13244
13245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13247 {
13248 PyThreadState* __tstate = wxPyBeginAllowThreads();
13249 (arg1)->Tile();
13250
13251 wxPyEndAllowThreads(__tstate);
13252 if (PyErr_Occurred()) SWIG_fail;
13253 }
13254 Py_INCREF(Py_None); resultobj = Py_None;
13255 return resultobj;
13256 fail:
13257 return NULL;
13258 }
13259
13260
13261 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13262 PyObject *obj;
13263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13264 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13265 Py_INCREF(obj);
13266 return Py_BuildValue((char *)"");
13267 }
13268 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13269 PyObject *resultobj;
13270 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13271 int arg2 ;
13272 wxString *arg3 = 0 ;
13273 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13274 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13275 wxSize const &arg5_defvalue = wxDefaultSize ;
13276 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13277 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13278 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13279 wxString *arg7 = (wxString *) &arg7_defvalue ;
13280 wxMDIChildFrame *result;
13281 bool temp3 = False ;
13282 wxPoint temp4 ;
13283 wxSize temp5 ;
13284 bool temp7 = False ;
13285 PyObject * obj0 = 0 ;
13286 PyObject * obj2 = 0 ;
13287 PyObject * obj3 = 0 ;
13288 PyObject * obj4 = 0 ;
13289 PyObject * obj6 = 0 ;
13290 char *kwnames[] = {
13291 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13292 };
13293
13294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13296 {
13297 arg3 = wxString_in_helper(obj2);
13298 if (arg3 == NULL) SWIG_fail;
13299 temp3 = True;
13300 }
13301 if (obj3) {
13302 {
13303 arg4 = &temp4;
13304 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13305 }
13306 }
13307 if (obj4) {
13308 {
13309 arg5 = &temp5;
13310 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13311 }
13312 }
13313 if (obj6) {
13314 {
13315 arg7 = wxString_in_helper(obj6);
13316 if (arg7 == NULL) SWIG_fail;
13317 temp7 = True;
13318 }
13319 }
13320 {
13321 PyThreadState* __tstate = wxPyBeginAllowThreads();
13322 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13323
13324 wxPyEndAllowThreads(__tstate);
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 {
13328 resultobj = wxPyMake_wxObject(result);
13329 }
13330 {
13331 if (temp3)
13332 delete arg3;
13333 }
13334 {
13335 if (temp7)
13336 delete arg7;
13337 }
13338 return resultobj;
13339 fail:
13340 {
13341 if (temp3)
13342 delete arg3;
13343 }
13344 {
13345 if (temp7)
13346 delete arg7;
13347 }
13348 return NULL;
13349 }
13350
13351
13352 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13353 PyObject *resultobj;
13354 wxMDIChildFrame *result;
13355 char *kwnames[] = {
13356 NULL
13357 };
13358
13359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13360 {
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13363
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 {
13368 resultobj = wxPyMake_wxObject(result);
13369 }
13370 return resultobj;
13371 fail:
13372 return NULL;
13373 }
13374
13375
13376 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13377 PyObject *resultobj;
13378 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13379 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13380 int arg3 ;
13381 wxString *arg4 = 0 ;
13382 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13383 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13384 wxSize const &arg6_defvalue = wxDefaultSize ;
13385 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13386 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13387 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13388 wxString *arg8 = (wxString *) &arg8_defvalue ;
13389 bool result;
13390 bool temp4 = False ;
13391 wxPoint temp5 ;
13392 wxSize temp6 ;
13393 bool temp8 = False ;
13394 PyObject * obj0 = 0 ;
13395 PyObject * obj1 = 0 ;
13396 PyObject * obj3 = 0 ;
13397 PyObject * obj4 = 0 ;
13398 PyObject * obj5 = 0 ;
13399 PyObject * obj7 = 0 ;
13400 char *kwnames[] = {
13401 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13402 };
13403
13404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13407 {
13408 arg4 = wxString_in_helper(obj3);
13409 if (arg4 == NULL) SWIG_fail;
13410 temp4 = True;
13411 }
13412 if (obj4) {
13413 {
13414 arg5 = &temp5;
13415 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13416 }
13417 }
13418 if (obj5) {
13419 {
13420 arg6 = &temp6;
13421 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13422 }
13423 }
13424 if (obj7) {
13425 {
13426 arg8 = wxString_in_helper(obj7);
13427 if (arg8 == NULL) SWIG_fail;
13428 temp8 = True;
13429 }
13430 }
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13434
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 resultobj = PyInt_FromLong((long)result);
13439 {
13440 if (temp4)
13441 delete arg4;
13442 }
13443 {
13444 if (temp8)
13445 delete arg8;
13446 }
13447 return resultobj;
13448 fail:
13449 {
13450 if (temp4)
13451 delete arg4;
13452 }
13453 {
13454 if (temp8)
13455 delete arg8;
13456 }
13457 return NULL;
13458 }
13459
13460
13461 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13462 PyObject *resultobj;
13463 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13464 PyObject * obj0 = 0 ;
13465 char *kwnames[] = {
13466 (char *) "self", NULL
13467 };
13468
13469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13471 {
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
13473 (arg1)->Activate();
13474
13475 wxPyEndAllowThreads(__tstate);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 }
13478 Py_INCREF(Py_None); resultobj = Py_None;
13479 return resultobj;
13480 fail:
13481 return NULL;
13482 }
13483
13484
13485 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13486 PyObject *resultobj;
13487 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13488 bool arg2 ;
13489 PyObject * obj0 = 0 ;
13490 PyObject * obj1 = 0 ;
13491 char *kwnames[] = {
13492 (char *) "self",(char *) "maximize", NULL
13493 };
13494
13495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13497 {
13498 arg2 = (bool) SPyObj_AsBool(obj1);
13499 if (PyErr_Occurred()) SWIG_fail;
13500 }
13501 {
13502 PyThreadState* __tstate = wxPyBeginAllowThreads();
13503 (arg1)->Maximize(arg2);
13504
13505 wxPyEndAllowThreads(__tstate);
13506 if (PyErr_Occurred()) SWIG_fail;
13507 }
13508 Py_INCREF(Py_None); resultobj = Py_None;
13509 return resultobj;
13510 fail:
13511 return NULL;
13512 }
13513
13514
13515 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13516 PyObject *resultobj;
13517 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13518 PyObject * obj0 = 0 ;
13519 char *kwnames[] = {
13520 (char *) "self", NULL
13521 };
13522
13523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 (arg1)->Restore();
13528
13529 wxPyEndAllowThreads(__tstate);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 }
13532 Py_INCREF(Py_None); resultobj = Py_None;
13533 return resultobj;
13534 fail:
13535 return NULL;
13536 }
13537
13538
13539 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13540 PyObject *obj;
13541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13542 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13543 Py_INCREF(obj);
13544 return Py_BuildValue((char *)"");
13545 }
13546 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13547 PyObject *resultobj;
13548 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13549 long arg2 = (long) 0 ;
13550 wxMDIClientWindow *result;
13551 PyObject * obj0 = 0 ;
13552 char *kwnames[] = {
13553 (char *) "parent",(char *) "style", NULL
13554 };
13555
13556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13558 {
13559 PyThreadState* __tstate = wxPyBeginAllowThreads();
13560 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13561
13562 wxPyEndAllowThreads(__tstate);
13563 if (PyErr_Occurred()) SWIG_fail;
13564 }
13565 {
13566 resultobj = wxPyMake_wxObject(result);
13567 }
13568 return resultobj;
13569 fail:
13570 return NULL;
13571 }
13572
13573
13574 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13575 PyObject *resultobj;
13576 wxMDIClientWindow *result;
13577 char *kwnames[] = {
13578 NULL
13579 };
13580
13581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13582 {
13583 PyThreadState* __tstate = wxPyBeginAllowThreads();
13584 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13585
13586 wxPyEndAllowThreads(__tstate);
13587 if (PyErr_Occurred()) SWIG_fail;
13588 }
13589 {
13590 resultobj = wxPyMake_wxObject(result);
13591 }
13592 return resultobj;
13593 fail:
13594 return NULL;
13595 }
13596
13597
13598 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13601 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13602 long arg3 = (long) 0 ;
13603 bool result;
13604 PyObject * obj0 = 0 ;
13605 PyObject * obj1 = 0 ;
13606 char *kwnames[] = {
13607 (char *) "self",(char *) "parent",(char *) "style", NULL
13608 };
13609
13610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13612 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13613 {
13614 PyThreadState* __tstate = wxPyBeginAllowThreads();
13615 result = (bool)(arg1)->Create(arg2,arg3);
13616
13617 wxPyEndAllowThreads(__tstate);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 }
13620 resultobj = PyInt_FromLong((long)result);
13621 return resultobj;
13622 fail:
13623 return NULL;
13624 }
13625
13626
13627 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13628 PyObject *obj;
13629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13630 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13631 Py_INCREF(obj);
13632 return Py_BuildValue((char *)"");
13633 }
13634 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13635 PyObject *resultobj;
13636 wxWindow *arg1 = (wxWindow *) 0 ;
13637 int arg2 ;
13638 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13639 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13640 wxSize const &arg4_defvalue = wxDefaultSize ;
13641 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13642 long arg5 = (long) 0 ;
13643 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13644 wxString *arg6 = (wxString *) &arg6_defvalue ;
13645 wxPyWindow *result;
13646 wxPoint temp3 ;
13647 wxSize temp4 ;
13648 bool temp6 = False ;
13649 PyObject * obj0 = 0 ;
13650 PyObject * obj2 = 0 ;
13651 PyObject * obj3 = 0 ;
13652 PyObject * obj5 = 0 ;
13653 char *kwnames[] = {
13654 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13655 };
13656
13657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13659 if (obj2) {
13660 {
13661 arg3 = &temp3;
13662 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13663 }
13664 }
13665 if (obj3) {
13666 {
13667 arg4 = &temp4;
13668 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13669 }
13670 }
13671 if (obj5) {
13672 {
13673 arg6 = wxString_in_helper(obj5);
13674 if (arg6 == NULL) SWIG_fail;
13675 temp6 = True;
13676 }
13677 }
13678 {
13679 PyThreadState* __tstate = wxPyBeginAllowThreads();
13680 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13681
13682 wxPyEndAllowThreads(__tstate);
13683 if (PyErr_Occurred()) SWIG_fail;
13684 }
13685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13686 {
13687 if (temp6)
13688 delete arg6;
13689 }
13690 return resultobj;
13691 fail:
13692 {
13693 if (temp6)
13694 delete arg6;
13695 }
13696 return NULL;
13697 }
13698
13699
13700 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13701 PyObject *resultobj;
13702 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13703 PyObject *arg2 = (PyObject *) 0 ;
13704 PyObject *arg3 = (PyObject *) 0 ;
13705 PyObject * obj0 = 0 ;
13706 PyObject * obj1 = 0 ;
13707 PyObject * obj2 = 0 ;
13708 char *kwnames[] = {
13709 (char *) "self",(char *) "self",(char *) "_class", NULL
13710 };
13711
13712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13714 arg2 = obj1;
13715 arg3 = obj2;
13716 {
13717 PyThreadState* __tstate = wxPyBeginAllowThreads();
13718 (arg1)->_setCallbackInfo(arg2,arg3);
13719
13720 wxPyEndAllowThreads(__tstate);
13721 if (PyErr_Occurred()) SWIG_fail;
13722 }
13723 Py_INCREF(Py_None); resultobj = Py_None;
13724 return resultobj;
13725 fail:
13726 return NULL;
13727 }
13728
13729
13730 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13731 PyObject *resultobj;
13732 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13733 int arg2 ;
13734 int arg3 ;
13735 int arg4 ;
13736 int arg5 ;
13737 PyObject * obj0 = 0 ;
13738 char *kwnames[] = {
13739 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13740 };
13741
13742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13744 {
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13747
13748 wxPyEndAllowThreads(__tstate);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
13751 Py_INCREF(Py_None); resultobj = Py_None;
13752 return resultobj;
13753 fail:
13754 return NULL;
13755 }
13756
13757
13758 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13759 PyObject *resultobj;
13760 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13761 int arg2 ;
13762 int arg3 ;
13763 int arg4 ;
13764 int arg5 ;
13765 int arg6 = (int) wxSIZE_AUTO ;
13766 PyObject * obj0 = 0 ;
13767 char *kwnames[] = {
13768 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13769 };
13770
13771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13773 {
13774 PyThreadState* __tstate = wxPyBeginAllowThreads();
13775 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
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 *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13788 PyObject *resultobj;
13789 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13790 int arg2 ;
13791 int arg3 ;
13792 PyObject * obj0 = 0 ;
13793 char *kwnames[] = {
13794 (char *) "self",(char *) "width",(char *) "height", NULL
13795 };
13796
13797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 (arg1)->base_DoSetClientSize(arg2,arg3);
13802
13803 wxPyEndAllowThreads(__tstate);
13804 if (PyErr_Occurred()) SWIG_fail;
13805 }
13806 Py_INCREF(Py_None); resultobj = Py_None;
13807 return resultobj;
13808 fail:
13809 return NULL;
13810 }
13811
13812
13813 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13814 PyObject *resultobj;
13815 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13816 int arg2 ;
13817 int arg3 ;
13818 PyObject * obj0 = 0 ;
13819 char *kwnames[] = {
13820 (char *) "self",(char *) "x",(char *) "y", NULL
13821 };
13822
13823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13825 {
13826 PyThreadState* __tstate = wxPyBeginAllowThreads();
13827 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13828
13829 wxPyEndAllowThreads(__tstate);
13830 if (PyErr_Occurred()) SWIG_fail;
13831 }
13832 Py_INCREF(Py_None); resultobj = Py_None;
13833 return resultobj;
13834 fail:
13835 return NULL;
13836 }
13837
13838
13839 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13840 PyObject *resultobj;
13841 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13842 int *arg2 = (int *) 0 ;
13843 int *arg3 = (int *) 0 ;
13844 int temp2 ;
13845 int temp3 ;
13846 PyObject * obj0 = 0 ;
13847 char *kwnames[] = {
13848 (char *) "self", NULL
13849 };
13850
13851 arg2 = &temp2;
13852 arg3 = &temp3;
13853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13855 {
13856 PyThreadState* __tstate = wxPyBeginAllowThreads();
13857 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13858
13859 wxPyEndAllowThreads(__tstate);
13860 if (PyErr_Occurred()) SWIG_fail;
13861 }
13862 Py_INCREF(Py_None); resultobj = Py_None;
13863 {
13864 PyObject *o = PyInt_FromLong((long) (*arg2));
13865 resultobj = t_output_helper(resultobj,o);
13866 }
13867 {
13868 PyObject *o = PyInt_FromLong((long) (*arg3));
13869 resultobj = t_output_helper(resultobj,o);
13870 }
13871 return resultobj;
13872 fail:
13873 return NULL;
13874 }
13875
13876
13877 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13878 PyObject *resultobj;
13879 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13880 int *arg2 = (int *) 0 ;
13881 int *arg3 = (int *) 0 ;
13882 int temp2 ;
13883 int temp3 ;
13884 PyObject * obj0 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "self", NULL
13887 };
13888
13889 arg2 = &temp2;
13890 arg3 = &temp3;
13891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 Py_INCREF(Py_None); resultobj = Py_None;
13901 {
13902 PyObject *o = PyInt_FromLong((long) (*arg2));
13903 resultobj = t_output_helper(resultobj,o);
13904 }
13905 {
13906 PyObject *o = PyInt_FromLong((long) (*arg3));
13907 resultobj = t_output_helper(resultobj,o);
13908 }
13909 return resultobj;
13910 fail:
13911 return NULL;
13912 }
13913
13914
13915 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13916 PyObject *resultobj;
13917 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13918 int *arg2 = (int *) 0 ;
13919 int *arg3 = (int *) 0 ;
13920 int temp2 ;
13921 int temp3 ;
13922 PyObject * obj0 = 0 ;
13923 char *kwnames[] = {
13924 (char *) "self", NULL
13925 };
13926
13927 arg2 = &temp2;
13928 arg3 = &temp3;
13929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13931 {
13932 PyThreadState* __tstate = wxPyBeginAllowThreads();
13933 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13934
13935 wxPyEndAllowThreads(__tstate);
13936 if (PyErr_Occurred()) SWIG_fail;
13937 }
13938 Py_INCREF(Py_None); resultobj = Py_None;
13939 {
13940 PyObject *o = PyInt_FromLong((long) (*arg2));
13941 resultobj = t_output_helper(resultobj,o);
13942 }
13943 {
13944 PyObject *o = PyInt_FromLong((long) (*arg3));
13945 resultobj = t_output_helper(resultobj,o);
13946 }
13947 return resultobj;
13948 fail:
13949 return NULL;
13950 }
13951
13952
13953 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13954 PyObject *resultobj;
13955 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13956 wxSize result;
13957 PyObject * obj0 = 0 ;
13958 char *kwnames[] = {
13959 (char *) "self", NULL
13960 };
13961
13962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13964 {
13965 PyThreadState* __tstate = wxPyBeginAllowThreads();
13966 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13967
13968 wxPyEndAllowThreads(__tstate);
13969 if (PyErr_Occurred()) SWIG_fail;
13970 }
13971 {
13972 wxSize * resultptr;
13973 resultptr = new wxSize((wxSize &) result);
13974 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13975 }
13976 return resultobj;
13977 fail:
13978 return NULL;
13979 }
13980
13981
13982 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13983 PyObject *resultobj;
13984 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13985 wxSize result;
13986 PyObject * obj0 = 0 ;
13987 char *kwnames[] = {
13988 (char *) "self", NULL
13989 };
13990
13991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13993 {
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
13995 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13996
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
14000 {
14001 wxSize * resultptr;
14002 resultptr = new wxSize((wxSize &) result);
14003 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14004 }
14005 return resultobj;
14006 fail:
14007 return NULL;
14008 }
14009
14010
14011 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14012 PyObject *resultobj;
14013 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14014 PyObject * obj0 = 0 ;
14015 char *kwnames[] = {
14016 (char *) "self", NULL
14017 };
14018
14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) 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_InitDialog();
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_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14036 PyObject *resultobj;
14037 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14038 bool result;
14039 PyObject * obj0 = 0 ;
14040 char *kwnames[] = {
14041 (char *) "self", NULL
14042 };
14043
14044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (bool)(arg1)->base_TransferDataToWindow();
14049
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
14053 resultobj = PyInt_FromLong((long)result);
14054 return resultobj;
14055 fail:
14056 return NULL;
14057 }
14058
14059
14060 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14061 PyObject *resultobj;
14062 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14063 bool result;
14064 PyObject * obj0 = 0 ;
14065 char *kwnames[] = {
14066 (char *) "self", NULL
14067 };
14068
14069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14071 {
14072 PyThreadState* __tstate = wxPyBeginAllowThreads();
14073 result = (bool)(arg1)->base_TransferDataFromWindow();
14074
14075 wxPyEndAllowThreads(__tstate);
14076 if (PyErr_Occurred()) SWIG_fail;
14077 }
14078 resultobj = PyInt_FromLong((long)result);
14079 return resultobj;
14080 fail:
14081 return NULL;
14082 }
14083
14084
14085 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14086 PyObject *resultobj;
14087 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14088 bool result;
14089 PyObject * obj0 = 0 ;
14090 char *kwnames[] = {
14091 (char *) "self", NULL
14092 };
14093
14094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
14095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14096 {
14097 PyThreadState* __tstate = wxPyBeginAllowThreads();
14098 result = (bool)(arg1)->base_Validate();
14099
14100 wxPyEndAllowThreads(__tstate);
14101 if (PyErr_Occurred()) SWIG_fail;
14102 }
14103 resultobj = PyInt_FromLong((long)result);
14104 return resultobj;
14105 fail:
14106 return NULL;
14107 }
14108
14109
14110 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14111 PyObject *resultobj;
14112 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14113 bool result;
14114 PyObject * obj0 = 0 ;
14115 char *kwnames[] = {
14116 (char *) "self", NULL
14117 };
14118
14119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14121 {
14122 PyThreadState* __tstate = wxPyBeginAllowThreads();
14123 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14124
14125 wxPyEndAllowThreads(__tstate);
14126 if (PyErr_Occurred()) SWIG_fail;
14127 }
14128 resultobj = PyInt_FromLong((long)result);
14129 return resultobj;
14130 fail:
14131 return NULL;
14132 }
14133
14134
14135 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14136 PyObject *resultobj;
14137 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14138 bool result;
14139 PyObject * obj0 = 0 ;
14140 char *kwnames[] = {
14141 (char *) "self", NULL
14142 };
14143
14144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14146 {
14147 PyThreadState* __tstate = wxPyBeginAllowThreads();
14148 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14149
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 resultobj = PyInt_FromLong((long)result);
14154 return resultobj;
14155 fail:
14156 return NULL;
14157 }
14158
14159
14160 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14161 PyObject *resultobj;
14162 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14163 wxSize result;
14164 PyObject * obj0 = 0 ;
14165 char *kwnames[] = {
14166 (char *) "self", NULL
14167 };
14168
14169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14174
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 {
14179 wxSize * resultptr;
14180 resultptr = new wxSize((wxSize &) result);
14181 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14182 }
14183 return resultobj;
14184 fail:
14185 return NULL;
14186 }
14187
14188
14189 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14190 PyObject *resultobj;
14191 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14192 wxWindow *arg2 = (wxWindow *) 0 ;
14193 PyObject * obj0 = 0 ;
14194 PyObject * obj1 = 0 ;
14195 char *kwnames[] = {
14196 (char *) "self",(char *) "child", NULL
14197 };
14198
14199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14202 {
14203 PyThreadState* __tstate = wxPyBeginAllowThreads();
14204 (arg1)->base_AddChild(arg2);
14205
14206 wxPyEndAllowThreads(__tstate);
14207 if (PyErr_Occurred()) SWIG_fail;
14208 }
14209 Py_INCREF(Py_None); resultobj = Py_None;
14210 return resultobj;
14211 fail:
14212 return NULL;
14213 }
14214
14215
14216 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14217 PyObject *resultobj;
14218 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14219 wxWindow *arg2 = (wxWindow *) 0 ;
14220 PyObject * obj0 = 0 ;
14221 PyObject * obj1 = 0 ;
14222 char *kwnames[] = {
14223 (char *) "self",(char *) "child", NULL
14224 };
14225
14226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14229 {
14230 PyThreadState* __tstate = wxPyBeginAllowThreads();
14231 (arg1)->base_RemoveChild(arg2);
14232
14233 wxPyEndAllowThreads(__tstate);
14234 if (PyErr_Occurred()) SWIG_fail;
14235 }
14236 Py_INCREF(Py_None); resultobj = Py_None;
14237 return resultobj;
14238 fail:
14239 return NULL;
14240 }
14241
14242
14243 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14244 PyObject *obj;
14245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14246 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14247 Py_INCREF(obj);
14248 return Py_BuildValue((char *)"");
14249 }
14250 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14251 PyObject *resultobj;
14252 wxWindow *arg1 = (wxWindow *) 0 ;
14253 int arg2 ;
14254 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14255 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14256 wxSize const &arg4_defvalue = wxDefaultSize ;
14257 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14258 long arg5 = (long) 0 ;
14259 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14260 wxString *arg6 = (wxString *) &arg6_defvalue ;
14261 wxPyPanel *result;
14262 wxPoint temp3 ;
14263 wxSize temp4 ;
14264 bool temp6 = False ;
14265 PyObject * obj0 = 0 ;
14266 PyObject * obj2 = 0 ;
14267 PyObject * obj3 = 0 ;
14268 PyObject * obj5 = 0 ;
14269 char *kwnames[] = {
14270 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14271 };
14272
14273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14275 if (obj2) {
14276 {
14277 arg3 = &temp3;
14278 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14279 }
14280 }
14281 if (obj3) {
14282 {
14283 arg4 = &temp4;
14284 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14285 }
14286 }
14287 if (obj5) {
14288 {
14289 arg6 = wxString_in_helper(obj5);
14290 if (arg6 == NULL) SWIG_fail;
14291 temp6 = True;
14292 }
14293 }
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14297
14298 wxPyEndAllowThreads(__tstate);
14299 if (PyErr_Occurred()) SWIG_fail;
14300 }
14301 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14302 {
14303 if (temp6)
14304 delete arg6;
14305 }
14306 return resultobj;
14307 fail:
14308 {
14309 if (temp6)
14310 delete arg6;
14311 }
14312 return NULL;
14313 }
14314
14315
14316 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14317 PyObject *resultobj;
14318 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14319 PyObject *arg2 = (PyObject *) 0 ;
14320 PyObject *arg3 = (PyObject *) 0 ;
14321 PyObject * obj0 = 0 ;
14322 PyObject * obj1 = 0 ;
14323 PyObject * obj2 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self",(char *) "self",(char *) "_class", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14330 arg2 = obj1;
14331 arg3 = obj2;
14332 {
14333 PyThreadState* __tstate = wxPyBeginAllowThreads();
14334 (arg1)->_setCallbackInfo(arg2,arg3);
14335
14336 wxPyEndAllowThreads(__tstate);
14337 if (PyErr_Occurred()) SWIG_fail;
14338 }
14339 Py_INCREF(Py_None); resultobj = Py_None;
14340 return resultobj;
14341 fail:
14342 return NULL;
14343 }
14344
14345
14346 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14347 PyObject *resultobj;
14348 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14349 int arg2 ;
14350 int arg3 ;
14351 int arg4 ;
14352 int arg5 ;
14353 PyObject * obj0 = 0 ;
14354 char *kwnames[] = {
14355 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14356 };
14357
14358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14360 {
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14363
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 Py_INCREF(Py_None); resultobj = Py_None;
14368 return resultobj;
14369 fail:
14370 return NULL;
14371 }
14372
14373
14374 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14375 PyObject *resultobj;
14376 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14377 int arg2 ;
14378 int arg3 ;
14379 int arg4 ;
14380 int arg5 ;
14381 int arg6 = (int) wxSIZE_AUTO ;
14382 PyObject * obj0 = 0 ;
14383 char *kwnames[] = {
14384 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14385 };
14386
14387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14392
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
14396 Py_INCREF(Py_None); resultobj = Py_None;
14397 return resultobj;
14398 fail:
14399 return NULL;
14400 }
14401
14402
14403 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14404 PyObject *resultobj;
14405 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14406 int arg2 ;
14407 int arg3 ;
14408 PyObject * obj0 = 0 ;
14409 char *kwnames[] = {
14410 (char *) "self",(char *) "width",(char *) "height", NULL
14411 };
14412
14413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 (arg1)->base_DoSetClientSize(arg2,arg3);
14418
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 Py_INCREF(Py_None); resultobj = Py_None;
14423 return resultobj;
14424 fail:
14425 return NULL;
14426 }
14427
14428
14429 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14430 PyObject *resultobj;
14431 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14432 int arg2 ;
14433 int arg3 ;
14434 PyObject * obj0 = 0 ;
14435 char *kwnames[] = {
14436 (char *) "self",(char *) "x",(char *) "y", NULL
14437 };
14438
14439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14441 {
14442 PyThreadState* __tstate = wxPyBeginAllowThreads();
14443 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14444
14445 wxPyEndAllowThreads(__tstate);
14446 if (PyErr_Occurred()) SWIG_fail;
14447 }
14448 Py_INCREF(Py_None); resultobj = Py_None;
14449 return resultobj;
14450 fail:
14451 return NULL;
14452 }
14453
14454
14455 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14456 PyObject *resultobj;
14457 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14458 int *arg2 = (int *) 0 ;
14459 int *arg3 = (int *) 0 ;
14460 int temp2 ;
14461 int temp3 ;
14462 PyObject * obj0 = 0 ;
14463 char *kwnames[] = {
14464 (char *) "self", NULL
14465 };
14466
14467 arg2 = &temp2;
14468 arg3 = &temp3;
14469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14471 {
14472 PyThreadState* __tstate = wxPyBeginAllowThreads();
14473 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14474
14475 wxPyEndAllowThreads(__tstate);
14476 if (PyErr_Occurred()) SWIG_fail;
14477 }
14478 Py_INCREF(Py_None); resultobj = Py_None;
14479 {
14480 PyObject *o = PyInt_FromLong((long) (*arg2));
14481 resultobj = t_output_helper(resultobj,o);
14482 }
14483 {
14484 PyObject *o = PyInt_FromLong((long) (*arg3));
14485 resultobj = t_output_helper(resultobj,o);
14486 }
14487 return resultobj;
14488 fail:
14489 return NULL;
14490 }
14491
14492
14493 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14494 PyObject *resultobj;
14495 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14496 int *arg2 = (int *) 0 ;
14497 int *arg3 = (int *) 0 ;
14498 int temp2 ;
14499 int temp3 ;
14500 PyObject * obj0 = 0 ;
14501 char *kwnames[] = {
14502 (char *) "self", NULL
14503 };
14504
14505 arg2 = &temp2;
14506 arg3 = &temp3;
14507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14509 {
14510 PyThreadState* __tstate = wxPyBeginAllowThreads();
14511 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14512
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 Py_INCREF(Py_None); resultobj = Py_None;
14517 {
14518 PyObject *o = PyInt_FromLong((long) (*arg2));
14519 resultobj = t_output_helper(resultobj,o);
14520 }
14521 {
14522 PyObject *o = PyInt_FromLong((long) (*arg3));
14523 resultobj = t_output_helper(resultobj,o);
14524 }
14525 return resultobj;
14526 fail:
14527 return NULL;
14528 }
14529
14530
14531 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14532 PyObject *resultobj;
14533 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14534 int *arg2 = (int *) 0 ;
14535 int *arg3 = (int *) 0 ;
14536 int temp2 ;
14537 int temp3 ;
14538 PyObject * obj0 = 0 ;
14539 char *kwnames[] = {
14540 (char *) "self", NULL
14541 };
14542
14543 arg2 = &temp2;
14544 arg3 = &temp3;
14545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14547 {
14548 PyThreadState* __tstate = wxPyBeginAllowThreads();
14549 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14550
14551 wxPyEndAllowThreads(__tstate);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 Py_INCREF(Py_None); resultobj = Py_None;
14555 {
14556 PyObject *o = PyInt_FromLong((long) (*arg2));
14557 resultobj = t_output_helper(resultobj,o);
14558 }
14559 {
14560 PyObject *o = PyInt_FromLong((long) (*arg3));
14561 resultobj = t_output_helper(resultobj,o);
14562 }
14563 return resultobj;
14564 fail:
14565 return NULL;
14566 }
14567
14568
14569 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj;
14571 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14572 wxSize result;
14573 PyObject * obj0 = 0 ;
14574 char *kwnames[] = {
14575 (char *) "self", NULL
14576 };
14577
14578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14580 {
14581 PyThreadState* __tstate = wxPyBeginAllowThreads();
14582 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14583
14584 wxPyEndAllowThreads(__tstate);
14585 if (PyErr_Occurred()) SWIG_fail;
14586 }
14587 {
14588 wxSize * resultptr;
14589 resultptr = new wxSize((wxSize &) result);
14590 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14591 }
14592 return resultobj;
14593 fail:
14594 return NULL;
14595 }
14596
14597
14598 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14599 PyObject *resultobj;
14600 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14601 wxSize result;
14602 PyObject * obj0 = 0 ;
14603 char *kwnames[] = {
14604 (char *) "self", NULL
14605 };
14606
14607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14609 {
14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
14611 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14612
14613 wxPyEndAllowThreads(__tstate);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
14616 {
14617 wxSize * resultptr;
14618 resultptr = new wxSize((wxSize &) result);
14619 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14620 }
14621 return resultobj;
14622 fail:
14623 return NULL;
14624 }
14625
14626
14627 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14628 PyObject *resultobj;
14629 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14630 PyObject * obj0 = 0 ;
14631 char *kwnames[] = {
14632 (char *) "self", NULL
14633 };
14634
14635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) 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_InitDialog();
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_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14652 PyObject *resultobj;
14653 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14654 bool result;
14655 PyObject * obj0 = 0 ;
14656 char *kwnames[] = {
14657 (char *) "self", NULL
14658 };
14659
14660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14662 {
14663 PyThreadState* __tstate = wxPyBeginAllowThreads();
14664 result = (bool)(arg1)->base_TransferDataToWindow();
14665
14666 wxPyEndAllowThreads(__tstate);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 resultobj = PyInt_FromLong((long)result);
14670 return resultobj;
14671 fail:
14672 return NULL;
14673 }
14674
14675
14676 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14677 PyObject *resultobj;
14678 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14679 bool result;
14680 PyObject * obj0 = 0 ;
14681 char *kwnames[] = {
14682 (char *) "self", NULL
14683 };
14684
14685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14687 {
14688 PyThreadState* __tstate = wxPyBeginAllowThreads();
14689 result = (bool)(arg1)->base_TransferDataFromWindow();
14690
14691 wxPyEndAllowThreads(__tstate);
14692 if (PyErr_Occurred()) SWIG_fail;
14693 }
14694 resultobj = PyInt_FromLong((long)result);
14695 return resultobj;
14696 fail:
14697 return NULL;
14698 }
14699
14700
14701 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14702 PyObject *resultobj;
14703 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14704 bool result;
14705 PyObject * obj0 = 0 ;
14706 char *kwnames[] = {
14707 (char *) "self", NULL
14708 };
14709
14710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14712 {
14713 PyThreadState* __tstate = wxPyBeginAllowThreads();
14714 result = (bool)(arg1)->base_Validate();
14715
14716 wxPyEndAllowThreads(__tstate);
14717 if (PyErr_Occurred()) SWIG_fail;
14718 }
14719 resultobj = PyInt_FromLong((long)result);
14720 return resultobj;
14721 fail:
14722 return NULL;
14723 }
14724
14725
14726 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14727 PyObject *resultobj;
14728 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14729 bool result;
14730 PyObject * obj0 = 0 ;
14731 char *kwnames[] = {
14732 (char *) "self", NULL
14733 };
14734
14735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14737 {
14738 PyThreadState* __tstate = wxPyBeginAllowThreads();
14739 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14740
14741 wxPyEndAllowThreads(__tstate);
14742 if (PyErr_Occurred()) SWIG_fail;
14743 }
14744 resultobj = PyInt_FromLong((long)result);
14745 return resultobj;
14746 fail:
14747 return NULL;
14748 }
14749
14750
14751 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14752 PyObject *resultobj;
14753 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14754 bool result;
14755 PyObject * obj0 = 0 ;
14756 char *kwnames[] = {
14757 (char *) "self", NULL
14758 };
14759
14760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14762 {
14763 PyThreadState* __tstate = wxPyBeginAllowThreads();
14764 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14765
14766 wxPyEndAllowThreads(__tstate);
14767 if (PyErr_Occurred()) SWIG_fail;
14768 }
14769 resultobj = PyInt_FromLong((long)result);
14770 return resultobj;
14771 fail:
14772 return NULL;
14773 }
14774
14775
14776 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14777 PyObject *resultobj;
14778 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14779 wxSize result;
14780 PyObject * obj0 = 0 ;
14781 char *kwnames[] = {
14782 (char *) "self", NULL
14783 };
14784
14785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14787 {
14788 PyThreadState* __tstate = wxPyBeginAllowThreads();
14789 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14790
14791 wxPyEndAllowThreads(__tstate);
14792 if (PyErr_Occurred()) SWIG_fail;
14793 }
14794 {
14795 wxSize * resultptr;
14796 resultptr = new wxSize((wxSize &) result);
14797 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14798 }
14799 return resultobj;
14800 fail:
14801 return NULL;
14802 }
14803
14804
14805 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14806 PyObject *resultobj;
14807 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14808 wxWindow *arg2 = (wxWindow *) 0 ;
14809 PyObject * obj0 = 0 ;
14810 PyObject * obj1 = 0 ;
14811 char *kwnames[] = {
14812 (char *) "self",(char *) "child", NULL
14813 };
14814
14815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14818 {
14819 PyThreadState* __tstate = wxPyBeginAllowThreads();
14820 (arg1)->base_AddChild(arg2);
14821
14822 wxPyEndAllowThreads(__tstate);
14823 if (PyErr_Occurred()) SWIG_fail;
14824 }
14825 Py_INCREF(Py_None); resultobj = Py_None;
14826 return resultobj;
14827 fail:
14828 return NULL;
14829 }
14830
14831
14832 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14833 PyObject *resultobj;
14834 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14835 wxWindow *arg2 = (wxWindow *) 0 ;
14836 PyObject * obj0 = 0 ;
14837 PyObject * obj1 = 0 ;
14838 char *kwnames[] = {
14839 (char *) "self",(char *) "child", NULL
14840 };
14841
14842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14844 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14845 {
14846 PyThreadState* __tstate = wxPyBeginAllowThreads();
14847 (arg1)->base_RemoveChild(arg2);
14848
14849 wxPyEndAllowThreads(__tstate);
14850 if (PyErr_Occurred()) SWIG_fail;
14851 }
14852 Py_INCREF(Py_None); resultobj = Py_None;
14853 return resultobj;
14854 fail:
14855 return NULL;
14856 }
14857
14858
14859 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14860 PyObject *obj;
14861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14862 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14863 Py_INCREF(obj);
14864 return Py_BuildValue((char *)"");
14865 }
14866 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
14867 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
14868 return 1;
14869 }
14870
14871
14872 static PyObject *_wrap_PrintoutTitleStr_get() {
14873 PyObject *pyobj;
14874
14875 {
14876 #if wxUSE_UNICODE
14877 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
14878 #else
14879 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
14880 #endif
14881 }
14882 return pyobj;
14883 }
14884
14885
14886 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
14887 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
14888 return 1;
14889 }
14890
14891
14892 static PyObject *_wrap_PreviewCanvasNameStr_get() {
14893 PyObject *pyobj;
14894
14895 {
14896 #if wxUSE_UNICODE
14897 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
14898 #else
14899 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
14900 #endif
14901 }
14902 return pyobj;
14903 }
14904
14905
14906 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14907 PyObject *resultobj;
14908 wxPrintData *result;
14909 char *kwnames[] = {
14910 NULL
14911 };
14912
14913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14914 {
14915 PyThreadState* __tstate = wxPyBeginAllowThreads();
14916 result = (wxPrintData *)new wxPrintData();
14917
14918 wxPyEndAllowThreads(__tstate);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
14921 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14922 return resultobj;
14923 fail:
14924 return NULL;
14925 }
14926
14927
14928 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14929 PyObject *resultobj;
14930 wxPrintData *arg1 = (wxPrintData *) 0 ;
14931 PyObject * obj0 = 0 ;
14932 char *kwnames[] = {
14933 (char *) "self", NULL
14934 };
14935
14936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14938 {
14939 PyThreadState* __tstate = wxPyBeginAllowThreads();
14940 delete arg1;
14941
14942 wxPyEndAllowThreads(__tstate);
14943 if (PyErr_Occurred()) SWIG_fail;
14944 }
14945 Py_INCREF(Py_None); resultobj = Py_None;
14946 return resultobj;
14947 fail:
14948 return NULL;
14949 }
14950
14951
14952 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14953 PyObject *resultobj;
14954 wxPrintData *arg1 = (wxPrintData *) 0 ;
14955 int result;
14956 PyObject * obj0 = 0 ;
14957 char *kwnames[] = {
14958 (char *) "self", NULL
14959 };
14960
14961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14963 {
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 result = (int)(arg1)->GetNoCopies();
14966
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 resultobj = PyInt_FromLong((long)result);
14971 return resultobj;
14972 fail:
14973 return NULL;
14974 }
14975
14976
14977 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14978 PyObject *resultobj;
14979 wxPrintData *arg1 = (wxPrintData *) 0 ;
14980 bool result;
14981 PyObject * obj0 = 0 ;
14982 char *kwnames[] = {
14983 (char *) "self", NULL
14984 };
14985
14986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14988 {
14989 PyThreadState* __tstate = wxPyBeginAllowThreads();
14990 result = (bool)(arg1)->GetCollate();
14991
14992 wxPyEndAllowThreads(__tstate);
14993 if (PyErr_Occurred()) SWIG_fail;
14994 }
14995 resultobj = PyInt_FromLong((long)result);
14996 return resultobj;
14997 fail:
14998 return NULL;
14999 }
15000
15001
15002 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15003 PyObject *resultobj;
15004 wxPrintData *arg1 = (wxPrintData *) 0 ;
15005 int result;
15006 PyObject * obj0 = 0 ;
15007 char *kwnames[] = {
15008 (char *) "self", NULL
15009 };
15010
15011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15013 {
15014 PyThreadState* __tstate = wxPyBeginAllowThreads();
15015 result = (int)(arg1)->GetOrientation();
15016
15017 wxPyEndAllowThreads(__tstate);
15018 if (PyErr_Occurred()) SWIG_fail;
15019 }
15020 resultobj = PyInt_FromLong((long)result);
15021 return resultobj;
15022 fail:
15023 return NULL;
15024 }
15025
15026
15027 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
15028 PyObject *resultobj;
15029 wxPrintData *arg1 = (wxPrintData *) 0 ;
15030 bool result;
15031 PyObject * obj0 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "self", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15038 {
15039 PyThreadState* __tstate = wxPyBeginAllowThreads();
15040 result = (bool)(arg1)->Ok();
15041
15042 wxPyEndAllowThreads(__tstate);
15043 if (PyErr_Occurred()) SWIG_fail;
15044 }
15045 resultobj = PyInt_FromLong((long)result);
15046 return resultobj;
15047 fail:
15048 return NULL;
15049 }
15050
15051
15052 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15053 PyObject *resultobj;
15054 wxPrintData *arg1 = (wxPrintData *) 0 ;
15055 wxString *result;
15056 PyObject * obj0 = 0 ;
15057 char *kwnames[] = {
15058 (char *) "self", NULL
15059 };
15060
15061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15063 {
15064 PyThreadState* __tstate = wxPyBeginAllowThreads();
15065 {
15066 wxString const &_result_ref = (arg1)->GetPrinterName();
15067 result = (wxString *) &_result_ref;
15068 }
15069
15070 wxPyEndAllowThreads(__tstate);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 }
15073 {
15074 #if wxUSE_UNICODE
15075 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15076 #else
15077 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15078 #endif
15079 }
15080 return resultobj;
15081 fail:
15082 return NULL;
15083 }
15084
15085
15086 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15087 PyObject *resultobj;
15088 wxPrintData *arg1 = (wxPrintData *) 0 ;
15089 bool result;
15090 PyObject * obj0 = 0 ;
15091 char *kwnames[] = {
15092 (char *) "self", NULL
15093 };
15094
15095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15097 {
15098 PyThreadState* __tstate = wxPyBeginAllowThreads();
15099 result = (bool)(arg1)->GetColour();
15100
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 resultobj = PyInt_FromLong((long)result);
15105 return resultobj;
15106 fail:
15107 return NULL;
15108 }
15109
15110
15111 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15112 PyObject *resultobj;
15113 wxPrintData *arg1 = (wxPrintData *) 0 ;
15114 int result;
15115 PyObject * obj0 = 0 ;
15116 char *kwnames[] = {
15117 (char *) "self", NULL
15118 };
15119
15120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15122 {
15123 PyThreadState* __tstate = wxPyBeginAllowThreads();
15124 result = (int)(arg1)->GetDuplex();
15125
15126 wxPyEndAllowThreads(__tstate);
15127 if (PyErr_Occurred()) SWIG_fail;
15128 }
15129 resultobj = PyInt_FromLong((long)result);
15130 return resultobj;
15131 fail:
15132 return NULL;
15133 }
15134
15135
15136 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15137 PyObject *resultobj;
15138 wxPrintData *arg1 = (wxPrintData *) 0 ;
15139 int result;
15140 PyObject * obj0 = 0 ;
15141 char *kwnames[] = {
15142 (char *) "self", NULL
15143 };
15144
15145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15147 {
15148 PyThreadState* __tstate = wxPyBeginAllowThreads();
15149 result = (int)(arg1)->GetPaperId();
15150
15151 wxPyEndAllowThreads(__tstate);
15152 if (PyErr_Occurred()) SWIG_fail;
15153 }
15154 resultobj = PyInt_FromLong((long)result);
15155 return resultobj;
15156 fail:
15157 return NULL;
15158 }
15159
15160
15161 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15162 PyObject *resultobj;
15163 wxPrintData *arg1 = (wxPrintData *) 0 ;
15164 wxSize *result;
15165 PyObject * obj0 = 0 ;
15166 char *kwnames[] = {
15167 (char *) "self", NULL
15168 };
15169
15170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15172 {
15173 PyThreadState* __tstate = wxPyBeginAllowThreads();
15174 {
15175 wxSize const &_result_ref = (arg1)->GetPaperSize();
15176 result = (wxSize *) &_result_ref;
15177 }
15178
15179 wxPyEndAllowThreads(__tstate);
15180 if (PyErr_Occurred()) SWIG_fail;
15181 }
15182 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15183 return resultobj;
15184 fail:
15185 return NULL;
15186 }
15187
15188
15189 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15190 PyObject *resultobj;
15191 wxPrintData *arg1 = (wxPrintData *) 0 ;
15192 int result;
15193 PyObject * obj0 = 0 ;
15194 char *kwnames[] = {
15195 (char *) "self", NULL
15196 };
15197
15198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15200 {
15201 PyThreadState* __tstate = wxPyBeginAllowThreads();
15202 result = (int)(arg1)->GetQuality();
15203
15204 wxPyEndAllowThreads(__tstate);
15205 if (PyErr_Occurred()) SWIG_fail;
15206 }
15207 resultobj = PyInt_FromLong((long)result);
15208 return resultobj;
15209 fail:
15210 return NULL;
15211 }
15212
15213
15214 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15215 PyObject *resultobj;
15216 wxPrintData *arg1 = (wxPrintData *) 0 ;
15217 int arg2 ;
15218 PyObject * obj0 = 0 ;
15219 char *kwnames[] = {
15220 (char *) "self",(char *) "v", NULL
15221 };
15222
15223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15225 {
15226 PyThreadState* __tstate = wxPyBeginAllowThreads();
15227 (arg1)->SetNoCopies(arg2);
15228
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 Py_INCREF(Py_None); resultobj = Py_None;
15233 return resultobj;
15234 fail:
15235 return NULL;
15236 }
15237
15238
15239 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15240 PyObject *resultobj;
15241 wxPrintData *arg1 = (wxPrintData *) 0 ;
15242 bool arg2 ;
15243 PyObject * obj0 = 0 ;
15244 PyObject * obj1 = 0 ;
15245 char *kwnames[] = {
15246 (char *) "self",(char *) "flag", NULL
15247 };
15248
15249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15251 {
15252 arg2 = (bool) SPyObj_AsBool(obj1);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 }
15255 {
15256 PyThreadState* __tstate = wxPyBeginAllowThreads();
15257 (arg1)->SetCollate(arg2);
15258
15259 wxPyEndAllowThreads(__tstate);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 }
15262 Py_INCREF(Py_None); resultobj = Py_None;
15263 return resultobj;
15264 fail:
15265 return NULL;
15266 }
15267
15268
15269 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15270 PyObject *resultobj;
15271 wxPrintData *arg1 = (wxPrintData *) 0 ;
15272 int arg2 ;
15273 PyObject * obj0 = 0 ;
15274 char *kwnames[] = {
15275 (char *) "self",(char *) "orient", NULL
15276 };
15277
15278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15280 {
15281 PyThreadState* __tstate = wxPyBeginAllowThreads();
15282 (arg1)->SetOrientation(arg2);
15283
15284 wxPyEndAllowThreads(__tstate);
15285 if (PyErr_Occurred()) SWIG_fail;
15286 }
15287 Py_INCREF(Py_None); resultobj = Py_None;
15288 return resultobj;
15289 fail:
15290 return NULL;
15291 }
15292
15293
15294 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15295 PyObject *resultobj;
15296 wxPrintData *arg1 = (wxPrintData *) 0 ;
15297 wxString *arg2 = 0 ;
15298 bool temp2 = False ;
15299 PyObject * obj0 = 0 ;
15300 PyObject * obj1 = 0 ;
15301 char *kwnames[] = {
15302 (char *) "self",(char *) "name", NULL
15303 };
15304
15305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15307 {
15308 arg2 = wxString_in_helper(obj1);
15309 if (arg2 == NULL) SWIG_fail;
15310 temp2 = True;
15311 }
15312 {
15313 PyThreadState* __tstate = wxPyBeginAllowThreads();
15314 (arg1)->SetPrinterName((wxString const &)*arg2);
15315
15316 wxPyEndAllowThreads(__tstate);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
15319 Py_INCREF(Py_None); resultobj = Py_None;
15320 {
15321 if (temp2)
15322 delete arg2;
15323 }
15324 return resultobj;
15325 fail:
15326 {
15327 if (temp2)
15328 delete arg2;
15329 }
15330 return NULL;
15331 }
15332
15333
15334 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15335 PyObject *resultobj;
15336 wxPrintData *arg1 = (wxPrintData *) 0 ;
15337 bool arg2 ;
15338 PyObject * obj0 = 0 ;
15339 PyObject * obj1 = 0 ;
15340 char *kwnames[] = {
15341 (char *) "self",(char *) "colour", NULL
15342 };
15343
15344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15346 {
15347 arg2 = (bool) SPyObj_AsBool(obj1);
15348 if (PyErr_Occurred()) SWIG_fail;
15349 }
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 (arg1)->SetColour(arg2);
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
15357 Py_INCREF(Py_None); resultobj = Py_None;
15358 return resultobj;
15359 fail:
15360 return NULL;
15361 }
15362
15363
15364 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15365 PyObject *resultobj;
15366 wxPrintData *arg1 = (wxPrintData *) 0 ;
15367 int arg2 ;
15368 PyObject * obj0 = 0 ;
15369 char *kwnames[] = {
15370 (char *) "self",(char *) "duplex", NULL
15371 };
15372
15373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15375 {
15376 PyThreadState* __tstate = wxPyBeginAllowThreads();
15377 (arg1)->SetDuplex((wxDuplexMode )arg2);
15378
15379 wxPyEndAllowThreads(__tstate);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 }
15382 Py_INCREF(Py_None); resultobj = Py_None;
15383 return resultobj;
15384 fail:
15385 return NULL;
15386 }
15387
15388
15389 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15390 PyObject *resultobj;
15391 wxPrintData *arg1 = (wxPrintData *) 0 ;
15392 int arg2 ;
15393 PyObject * obj0 = 0 ;
15394 char *kwnames[] = {
15395 (char *) "self",(char *) "sizeId", NULL
15396 };
15397
15398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15400 {
15401 PyThreadState* __tstate = wxPyBeginAllowThreads();
15402 (arg1)->SetPaperId((wxPaperSize )arg2);
15403
15404 wxPyEndAllowThreads(__tstate);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 }
15407 Py_INCREF(Py_None); resultobj = Py_None;
15408 return resultobj;
15409 fail:
15410 return NULL;
15411 }
15412
15413
15414 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15415 PyObject *resultobj;
15416 wxPrintData *arg1 = (wxPrintData *) 0 ;
15417 wxSize *arg2 = 0 ;
15418 wxSize temp2 ;
15419 PyObject * obj0 = 0 ;
15420 PyObject * obj1 = 0 ;
15421 char *kwnames[] = {
15422 (char *) "self",(char *) "sz", NULL
15423 };
15424
15425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15427 {
15428 arg2 = &temp2;
15429 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15430 }
15431 {
15432 PyThreadState* __tstate = wxPyBeginAllowThreads();
15433 (arg1)->SetPaperSize((wxSize const &)*arg2);
15434
15435 wxPyEndAllowThreads(__tstate);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 }
15438 Py_INCREF(Py_None); resultobj = Py_None;
15439 return resultobj;
15440 fail:
15441 return NULL;
15442 }
15443
15444
15445 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15446 PyObject *resultobj;
15447 wxPrintData *arg1 = (wxPrintData *) 0 ;
15448 int arg2 ;
15449 PyObject * obj0 = 0 ;
15450 char *kwnames[] = {
15451 (char *) "self",(char *) "quality", NULL
15452 };
15453
15454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetQuality",kwnames,&obj0,&arg2)) goto fail;
15455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15456 {
15457 PyThreadState* __tstate = wxPyBeginAllowThreads();
15458 (arg1)->SetQuality(arg2);
15459
15460 wxPyEndAllowThreads(__tstate);
15461 if (PyErr_Occurred()) SWIG_fail;
15462 }
15463 Py_INCREF(Py_None); resultobj = Py_None;
15464 return resultobj;
15465 fail:
15466 return NULL;
15467 }
15468
15469
15470 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15471 PyObject *resultobj;
15472 wxPrintData *arg1 = (wxPrintData *) 0 ;
15473 wxString *result;
15474 PyObject * obj0 = 0 ;
15475 char *kwnames[] = {
15476 (char *) "self", NULL
15477 };
15478
15479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15481 {
15482 PyThreadState* __tstate = wxPyBeginAllowThreads();
15483 {
15484 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15485 result = (wxString *) &_result_ref;
15486 }
15487
15488 wxPyEndAllowThreads(__tstate);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 {
15492 #if wxUSE_UNICODE
15493 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15494 #else
15495 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15496 #endif
15497 }
15498 return resultobj;
15499 fail:
15500 return NULL;
15501 }
15502
15503
15504 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15505 PyObject *resultobj;
15506 wxPrintData *arg1 = (wxPrintData *) 0 ;
15507 wxString *result;
15508 PyObject * obj0 = 0 ;
15509 char *kwnames[] = {
15510 (char *) "self", NULL
15511 };
15512
15513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15515 {
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 {
15518 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15519 result = (wxString *) &_result_ref;
15520 }
15521
15522 wxPyEndAllowThreads(__tstate);
15523 if (PyErr_Occurred()) SWIG_fail;
15524 }
15525 {
15526 #if wxUSE_UNICODE
15527 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15528 #else
15529 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15530 #endif
15531 }
15532 return resultobj;
15533 fail:
15534 return NULL;
15535 }
15536
15537
15538 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15539 PyObject *resultobj;
15540 wxPrintData *arg1 = (wxPrintData *) 0 ;
15541 wxString *result;
15542 PyObject * obj0 = 0 ;
15543 char *kwnames[] = {
15544 (char *) "self", NULL
15545 };
15546
15547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15549 {
15550 PyThreadState* __tstate = wxPyBeginAllowThreads();
15551 {
15552 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15553 result = (wxString *) &_result_ref;
15554 }
15555
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 {
15560 #if wxUSE_UNICODE
15561 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15562 #else
15563 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15564 #endif
15565 }
15566 return resultobj;
15567 fail:
15568 return NULL;
15569 }
15570
15571
15572 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15573 PyObject *resultobj;
15574 wxPrintData *arg1 = (wxPrintData *) 0 ;
15575 wxString *result;
15576 PyObject * obj0 = 0 ;
15577 char *kwnames[] = {
15578 (char *) "self", NULL
15579 };
15580
15581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 {
15586 wxString const &_result_ref = (arg1)->GetFilename();
15587 result = (wxString *) &_result_ref;
15588 }
15589
15590 wxPyEndAllowThreads(__tstate);
15591 if (PyErr_Occurred()) SWIG_fail;
15592 }
15593 {
15594 #if wxUSE_UNICODE
15595 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15596 #else
15597 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15598 #endif
15599 }
15600 return resultobj;
15601 fail:
15602 return NULL;
15603 }
15604
15605
15606 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15607 PyObject *resultobj;
15608 wxPrintData *arg1 = (wxPrintData *) 0 ;
15609 wxString *result;
15610 PyObject * obj0 = 0 ;
15611 char *kwnames[] = {
15612 (char *) "self", NULL
15613 };
15614
15615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15617 {
15618 PyThreadState* __tstate = wxPyBeginAllowThreads();
15619 {
15620 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15621 result = (wxString *) &_result_ref;
15622 }
15623
15624 wxPyEndAllowThreads(__tstate);
15625 if (PyErr_Occurred()) SWIG_fail;
15626 }
15627 {
15628 #if wxUSE_UNICODE
15629 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15630 #else
15631 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15632 #endif
15633 }
15634 return resultobj;
15635 fail:
15636 return NULL;
15637 }
15638
15639
15640 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj;
15642 wxPrintData *arg1 = (wxPrintData *) 0 ;
15643 double result;
15644 PyObject * obj0 = 0 ;
15645 char *kwnames[] = {
15646 (char *) "self", NULL
15647 };
15648
15649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15651 {
15652 PyThreadState* __tstate = wxPyBeginAllowThreads();
15653 result = (double)(arg1)->GetPrinterScaleX();
15654
15655 wxPyEndAllowThreads(__tstate);
15656 if (PyErr_Occurred()) SWIG_fail;
15657 }
15658 resultobj = PyFloat_FromDouble(result);
15659 return resultobj;
15660 fail:
15661 return NULL;
15662 }
15663
15664
15665 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15666 PyObject *resultobj;
15667 wxPrintData *arg1 = (wxPrintData *) 0 ;
15668 double result;
15669 PyObject * obj0 = 0 ;
15670 char *kwnames[] = {
15671 (char *) "self", NULL
15672 };
15673
15674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15676 {
15677 PyThreadState* __tstate = wxPyBeginAllowThreads();
15678 result = (double)(arg1)->GetPrinterScaleY();
15679
15680 wxPyEndAllowThreads(__tstate);
15681 if (PyErr_Occurred()) SWIG_fail;
15682 }
15683 resultobj = PyFloat_FromDouble(result);
15684 return resultobj;
15685 fail:
15686 return NULL;
15687 }
15688
15689
15690 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15691 PyObject *resultobj;
15692 wxPrintData *arg1 = (wxPrintData *) 0 ;
15693 long result;
15694 PyObject * obj0 = 0 ;
15695 char *kwnames[] = {
15696 (char *) "self", NULL
15697 };
15698
15699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 result = (long)(arg1)->GetPrinterTranslateX();
15704
15705 wxPyEndAllowThreads(__tstate);
15706 if (PyErr_Occurred()) SWIG_fail;
15707 }
15708 resultobj = PyInt_FromLong((long)result);
15709 return resultobj;
15710 fail:
15711 return NULL;
15712 }
15713
15714
15715 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15716 PyObject *resultobj;
15717 wxPrintData *arg1 = (wxPrintData *) 0 ;
15718 long result;
15719 PyObject * obj0 = 0 ;
15720 char *kwnames[] = {
15721 (char *) "self", NULL
15722 };
15723
15724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15726 {
15727 PyThreadState* __tstate = wxPyBeginAllowThreads();
15728 result = (long)(arg1)->GetPrinterTranslateY();
15729
15730 wxPyEndAllowThreads(__tstate);
15731 if (PyErr_Occurred()) SWIG_fail;
15732 }
15733 resultobj = PyInt_FromLong((long)result);
15734 return resultobj;
15735 fail:
15736 return NULL;
15737 }
15738
15739
15740 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15741 PyObject *resultobj;
15742 wxPrintData *arg1 = (wxPrintData *) 0 ;
15743 int result;
15744 PyObject * obj0 = 0 ;
15745 char *kwnames[] = {
15746 (char *) "self", NULL
15747 };
15748
15749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15751 {
15752 PyThreadState* __tstate = wxPyBeginAllowThreads();
15753 result = (int)(arg1)->GetPrintMode();
15754
15755 wxPyEndAllowThreads(__tstate);
15756 if (PyErr_Occurred()) SWIG_fail;
15757 }
15758 resultobj = PyInt_FromLong((long)result);
15759 return resultobj;
15760 fail:
15761 return NULL;
15762 }
15763
15764
15765 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15766 PyObject *resultobj;
15767 wxPrintData *arg1 = (wxPrintData *) 0 ;
15768 wxString *arg2 = 0 ;
15769 bool temp2 = False ;
15770 PyObject * obj0 = 0 ;
15771 PyObject * obj1 = 0 ;
15772 char *kwnames[] = {
15773 (char *) "self",(char *) "command", NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15778 {
15779 arg2 = wxString_in_helper(obj1);
15780 if (arg2 == NULL) SWIG_fail;
15781 temp2 = True;
15782 }
15783 {
15784 PyThreadState* __tstate = wxPyBeginAllowThreads();
15785 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15786
15787 wxPyEndAllowThreads(__tstate);
15788 if (PyErr_Occurred()) SWIG_fail;
15789 }
15790 Py_INCREF(Py_None); resultobj = Py_None;
15791 {
15792 if (temp2)
15793 delete arg2;
15794 }
15795 return resultobj;
15796 fail:
15797 {
15798 if (temp2)
15799 delete arg2;
15800 }
15801 return NULL;
15802 }
15803
15804
15805 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15806 PyObject *resultobj;
15807 wxPrintData *arg1 = (wxPrintData *) 0 ;
15808 wxString *arg2 = 0 ;
15809 bool temp2 = False ;
15810 PyObject * obj0 = 0 ;
15811 PyObject * obj1 = 0 ;
15812 char *kwnames[] = {
15813 (char *) "self",(char *) "options", NULL
15814 };
15815
15816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15818 {
15819 arg2 = wxString_in_helper(obj1);
15820 if (arg2 == NULL) SWIG_fail;
15821 temp2 = True;
15822 }
15823 {
15824 PyThreadState* __tstate = wxPyBeginAllowThreads();
15825 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15826
15827 wxPyEndAllowThreads(__tstate);
15828 if (PyErr_Occurred()) SWIG_fail;
15829 }
15830 Py_INCREF(Py_None); resultobj = Py_None;
15831 {
15832 if (temp2)
15833 delete arg2;
15834 }
15835 return resultobj;
15836 fail:
15837 {
15838 if (temp2)
15839 delete arg2;
15840 }
15841 return NULL;
15842 }
15843
15844
15845 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15846 PyObject *resultobj;
15847 wxPrintData *arg1 = (wxPrintData *) 0 ;
15848 wxString *arg2 = 0 ;
15849 bool temp2 = False ;
15850 PyObject * obj0 = 0 ;
15851 PyObject * obj1 = 0 ;
15852 char *kwnames[] = {
15853 (char *) "self",(char *) "command", NULL
15854 };
15855
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15858 {
15859 arg2 = wxString_in_helper(obj1);
15860 if (arg2 == NULL) SWIG_fail;
15861 temp2 = True;
15862 }
15863 {
15864 PyThreadState* __tstate = wxPyBeginAllowThreads();
15865 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15866
15867 wxPyEndAllowThreads(__tstate);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 }
15870 Py_INCREF(Py_None); resultobj = Py_None;
15871 {
15872 if (temp2)
15873 delete arg2;
15874 }
15875 return resultobj;
15876 fail:
15877 {
15878 if (temp2)
15879 delete arg2;
15880 }
15881 return NULL;
15882 }
15883
15884
15885 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15886 PyObject *resultobj;
15887 wxPrintData *arg1 = (wxPrintData *) 0 ;
15888 wxString *arg2 = 0 ;
15889 bool temp2 = False ;
15890 PyObject * obj0 = 0 ;
15891 PyObject * obj1 = 0 ;
15892 char *kwnames[] = {
15893 (char *) "self",(char *) "filename", NULL
15894 };
15895
15896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15898 {
15899 arg2 = wxString_in_helper(obj1);
15900 if (arg2 == NULL) SWIG_fail;
15901 temp2 = True;
15902 }
15903 {
15904 PyThreadState* __tstate = wxPyBeginAllowThreads();
15905 (arg1)->SetFilename((wxString const &)*arg2);
15906
15907 wxPyEndAllowThreads(__tstate);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 }
15910 Py_INCREF(Py_None); resultobj = Py_None;
15911 {
15912 if (temp2)
15913 delete arg2;
15914 }
15915 return resultobj;
15916 fail:
15917 {
15918 if (temp2)
15919 delete arg2;
15920 }
15921 return NULL;
15922 }
15923
15924
15925 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15926 PyObject *resultobj;
15927 wxPrintData *arg1 = (wxPrintData *) 0 ;
15928 wxString *arg2 = 0 ;
15929 bool temp2 = False ;
15930 PyObject * obj0 = 0 ;
15931 PyObject * obj1 = 0 ;
15932 char *kwnames[] = {
15933 (char *) "self",(char *) "path", NULL
15934 };
15935
15936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15938 {
15939 arg2 = wxString_in_helper(obj1);
15940 if (arg2 == NULL) SWIG_fail;
15941 temp2 = True;
15942 }
15943 {
15944 PyThreadState* __tstate = wxPyBeginAllowThreads();
15945 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15946
15947 wxPyEndAllowThreads(__tstate);
15948 if (PyErr_Occurred()) SWIG_fail;
15949 }
15950 Py_INCREF(Py_None); resultobj = Py_None;
15951 {
15952 if (temp2)
15953 delete arg2;
15954 }
15955 return resultobj;
15956 fail:
15957 {
15958 if (temp2)
15959 delete arg2;
15960 }
15961 return NULL;
15962 }
15963
15964
15965 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15966 PyObject *resultobj;
15967 wxPrintData *arg1 = (wxPrintData *) 0 ;
15968 double arg2 ;
15969 PyObject * obj0 = 0 ;
15970 char *kwnames[] = {
15971 (char *) "self",(char *) "x", NULL
15972 };
15973
15974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15976 {
15977 PyThreadState* __tstate = wxPyBeginAllowThreads();
15978 (arg1)->SetPrinterScaleX(arg2);
15979
15980 wxPyEndAllowThreads(__tstate);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 Py_INCREF(Py_None); resultobj = Py_None;
15984 return resultobj;
15985 fail:
15986 return NULL;
15987 }
15988
15989
15990 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15991 PyObject *resultobj;
15992 wxPrintData *arg1 = (wxPrintData *) 0 ;
15993 double arg2 ;
15994 PyObject * obj0 = 0 ;
15995 char *kwnames[] = {
15996 (char *) "self",(char *) "y", NULL
15997 };
15998
15999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
16000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16001 {
16002 PyThreadState* __tstate = wxPyBeginAllowThreads();
16003 (arg1)->SetPrinterScaleY(arg2);
16004
16005 wxPyEndAllowThreads(__tstate);
16006 if (PyErr_Occurred()) SWIG_fail;
16007 }
16008 Py_INCREF(Py_None); resultobj = Py_None;
16009 return resultobj;
16010 fail:
16011 return NULL;
16012 }
16013
16014
16015 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
16016 PyObject *resultobj;
16017 wxPrintData *arg1 = (wxPrintData *) 0 ;
16018 double arg2 ;
16019 double arg3 ;
16020 PyObject * obj0 = 0 ;
16021 char *kwnames[] = {
16022 (char *) "self",(char *) "x",(char *) "y", NULL
16023 };
16024
16025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
16026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16027 {
16028 PyThreadState* __tstate = wxPyBeginAllowThreads();
16029 (arg1)->SetPrinterScaling(arg2,arg3);
16030
16031 wxPyEndAllowThreads(__tstate);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
16034 Py_INCREF(Py_None); resultobj = Py_None;
16035 return resultobj;
16036 fail:
16037 return NULL;
16038 }
16039
16040
16041 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16042 PyObject *resultobj;
16043 wxPrintData *arg1 = (wxPrintData *) 0 ;
16044 long arg2 ;
16045 PyObject * obj0 = 0 ;
16046 char *kwnames[] = {
16047 (char *) "self",(char *) "x", NULL
16048 };
16049
16050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
16051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16052 {
16053 PyThreadState* __tstate = wxPyBeginAllowThreads();
16054 (arg1)->SetPrinterTranslateX(arg2);
16055
16056 wxPyEndAllowThreads(__tstate);
16057 if (PyErr_Occurred()) SWIG_fail;
16058 }
16059 Py_INCREF(Py_None); resultobj = Py_None;
16060 return resultobj;
16061 fail:
16062 return NULL;
16063 }
16064
16065
16066 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16067 PyObject *resultobj;
16068 wxPrintData *arg1 = (wxPrintData *) 0 ;
16069 long arg2 ;
16070 PyObject * obj0 = 0 ;
16071 char *kwnames[] = {
16072 (char *) "self",(char *) "y", NULL
16073 };
16074
16075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
16076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16077 {
16078 PyThreadState* __tstate = wxPyBeginAllowThreads();
16079 (arg1)->SetPrinterTranslateY(arg2);
16080
16081 wxPyEndAllowThreads(__tstate);
16082 if (PyErr_Occurred()) SWIG_fail;
16083 }
16084 Py_INCREF(Py_None); resultobj = Py_None;
16085 return resultobj;
16086 fail:
16087 return NULL;
16088 }
16089
16090
16091 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
16092 PyObject *resultobj;
16093 wxPrintData *arg1 = (wxPrintData *) 0 ;
16094 long arg2 ;
16095 long arg3 ;
16096 PyObject * obj0 = 0 ;
16097 char *kwnames[] = {
16098 (char *) "self",(char *) "x",(char *) "y", NULL
16099 };
16100
16101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
16102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16103 {
16104 PyThreadState* __tstate = wxPyBeginAllowThreads();
16105 (arg1)->SetPrinterTranslation(arg2,arg3);
16106
16107 wxPyEndAllowThreads(__tstate);
16108 if (PyErr_Occurred()) SWIG_fail;
16109 }
16110 Py_INCREF(Py_None); resultobj = Py_None;
16111 return resultobj;
16112 fail:
16113 return NULL;
16114 }
16115
16116
16117 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16118 PyObject *resultobj;
16119 wxPrintData *arg1 = (wxPrintData *) 0 ;
16120 int arg2 ;
16121 PyObject * obj0 = 0 ;
16122 char *kwnames[] = {
16123 (char *) "self",(char *) "printMode", NULL
16124 };
16125
16126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
16127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16128 {
16129 PyThreadState* __tstate = wxPyBeginAllowThreads();
16130 (arg1)->SetPrintMode((wxPrintMode )arg2);
16131
16132 wxPyEndAllowThreads(__tstate);
16133 if (PyErr_Occurred()) SWIG_fail;
16134 }
16135 Py_INCREF(Py_None); resultobj = Py_None;
16136 return resultobj;
16137 fail:
16138 return NULL;
16139 }
16140
16141
16142 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
16143 PyObject *obj;
16144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16145 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
16146 Py_INCREF(obj);
16147 return Py_BuildValue((char *)"");
16148 }
16149 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16150 PyObject *resultobj;
16151 wxPageSetupDialogData *result;
16152 char *kwnames[] = {
16153 NULL
16154 };
16155
16156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16157 {
16158 PyThreadState* __tstate = wxPyBeginAllowThreads();
16159 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16160
16161 wxPyEndAllowThreads(__tstate);
16162 if (PyErr_Occurred()) SWIG_fail;
16163 }
16164 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16165 return resultobj;
16166 fail:
16167 return NULL;
16168 }
16169
16170
16171 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16172 PyObject *resultobj;
16173 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16174 PyObject * obj0 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16181 {
16182 PyThreadState* __tstate = wxPyBeginAllowThreads();
16183 delete arg1;
16184
16185 wxPyEndAllowThreads(__tstate);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 }
16188 Py_INCREF(Py_None); resultobj = Py_None;
16189 return resultobj;
16190 fail:
16191 return NULL;
16192 }
16193
16194
16195 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16196 PyObject *resultobj;
16197 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16198 bool arg2 ;
16199 PyObject * obj0 = 0 ;
16200 PyObject * obj1 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self",(char *) "flag", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16207 {
16208 arg2 = (bool) SPyObj_AsBool(obj1);
16209 if (PyErr_Occurred()) SWIG_fail;
16210 }
16211 {
16212 PyThreadState* __tstate = wxPyBeginAllowThreads();
16213 (arg1)->EnableHelp(arg2);
16214
16215 wxPyEndAllowThreads(__tstate);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 Py_INCREF(Py_None); resultobj = Py_None;
16219 return resultobj;
16220 fail:
16221 return NULL;
16222 }
16223
16224
16225 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16226 PyObject *resultobj;
16227 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16228 bool arg2 ;
16229 PyObject * obj0 = 0 ;
16230 PyObject * obj1 = 0 ;
16231 char *kwnames[] = {
16232 (char *) "self",(char *) "flag", NULL
16233 };
16234
16235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16237 {
16238 arg2 = (bool) SPyObj_AsBool(obj1);
16239 if (PyErr_Occurred()) SWIG_fail;
16240 }
16241 {
16242 PyThreadState* __tstate = wxPyBeginAllowThreads();
16243 (arg1)->EnableMargins(arg2);
16244
16245 wxPyEndAllowThreads(__tstate);
16246 if (PyErr_Occurred()) SWIG_fail;
16247 }
16248 Py_INCREF(Py_None); resultobj = Py_None;
16249 return resultobj;
16250 fail:
16251 return NULL;
16252 }
16253
16254
16255 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16256 PyObject *resultobj;
16257 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16258 bool arg2 ;
16259 PyObject * obj0 = 0 ;
16260 PyObject * obj1 = 0 ;
16261 char *kwnames[] = {
16262 (char *) "self",(char *) "flag", NULL
16263 };
16264
16265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16267 {
16268 arg2 = (bool) SPyObj_AsBool(obj1);
16269 if (PyErr_Occurred()) SWIG_fail;
16270 }
16271 {
16272 PyThreadState* __tstate = wxPyBeginAllowThreads();
16273 (arg1)->EnableOrientation(arg2);
16274
16275 wxPyEndAllowThreads(__tstate);
16276 if (PyErr_Occurred()) SWIG_fail;
16277 }
16278 Py_INCREF(Py_None); resultobj = Py_None;
16279 return resultobj;
16280 fail:
16281 return NULL;
16282 }
16283
16284
16285 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16286 PyObject *resultobj;
16287 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16288 bool arg2 ;
16289 PyObject * obj0 = 0 ;
16290 PyObject * obj1 = 0 ;
16291 char *kwnames[] = {
16292 (char *) "self",(char *) "flag", NULL
16293 };
16294
16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16297 {
16298 arg2 = (bool) SPyObj_AsBool(obj1);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 {
16302 PyThreadState* __tstate = wxPyBeginAllowThreads();
16303 (arg1)->EnablePaper(arg2);
16304
16305 wxPyEndAllowThreads(__tstate);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 Py_INCREF(Py_None); resultobj = Py_None;
16309 return resultobj;
16310 fail:
16311 return NULL;
16312 }
16313
16314
16315 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16316 PyObject *resultobj;
16317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16318 bool arg2 ;
16319 PyObject * obj0 = 0 ;
16320 PyObject * obj1 = 0 ;
16321 char *kwnames[] = {
16322 (char *) "self",(char *) "flag", NULL
16323 };
16324
16325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16327 {
16328 arg2 = (bool) SPyObj_AsBool(obj1);
16329 if (PyErr_Occurred()) SWIG_fail;
16330 }
16331 {
16332 PyThreadState* __tstate = wxPyBeginAllowThreads();
16333 (arg1)->EnablePrinter(arg2);
16334
16335 wxPyEndAllowThreads(__tstate);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 Py_INCREF(Py_None); resultobj = Py_None;
16339 return resultobj;
16340 fail:
16341 return NULL;
16342 }
16343
16344
16345 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16346 PyObject *resultobj;
16347 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16348 bool result;
16349 PyObject * obj0 = 0 ;
16350 char *kwnames[] = {
16351 (char *) "self", NULL
16352 };
16353
16354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16356 {
16357 PyThreadState* __tstate = wxPyBeginAllowThreads();
16358 result = (bool)(arg1)->GetDefaultMinMargins();
16359
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
16363 resultobj = PyInt_FromLong((long)result);
16364 return resultobj;
16365 fail:
16366 return NULL;
16367 }
16368
16369
16370 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16371 PyObject *resultobj;
16372 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16373 bool result;
16374 PyObject * obj0 = 0 ;
16375 char *kwnames[] = {
16376 (char *) "self", NULL
16377 };
16378
16379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16381 {
16382 PyThreadState* __tstate = wxPyBeginAllowThreads();
16383 result = (bool)(arg1)->GetEnableMargins();
16384
16385 wxPyEndAllowThreads(__tstate);
16386 if (PyErr_Occurred()) SWIG_fail;
16387 }
16388 resultobj = PyInt_FromLong((long)result);
16389 return resultobj;
16390 fail:
16391 return NULL;
16392 }
16393
16394
16395 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16396 PyObject *resultobj;
16397 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16398 bool result;
16399 PyObject * obj0 = 0 ;
16400 char *kwnames[] = {
16401 (char *) "self", NULL
16402 };
16403
16404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16406 {
16407 PyThreadState* __tstate = wxPyBeginAllowThreads();
16408 result = (bool)(arg1)->GetEnableOrientation();
16409
16410 wxPyEndAllowThreads(__tstate);
16411 if (PyErr_Occurred()) SWIG_fail;
16412 }
16413 resultobj = PyInt_FromLong((long)result);
16414 return resultobj;
16415 fail:
16416 return NULL;
16417 }
16418
16419
16420 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16421 PyObject *resultobj;
16422 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16423 bool result;
16424 PyObject * obj0 = 0 ;
16425 char *kwnames[] = {
16426 (char *) "self", NULL
16427 };
16428
16429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16431 {
16432 PyThreadState* __tstate = wxPyBeginAllowThreads();
16433 result = (bool)(arg1)->GetEnablePaper();
16434
16435 wxPyEndAllowThreads(__tstate);
16436 if (PyErr_Occurred()) SWIG_fail;
16437 }
16438 resultobj = PyInt_FromLong((long)result);
16439 return resultobj;
16440 fail:
16441 return NULL;
16442 }
16443
16444
16445 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16446 PyObject *resultobj;
16447 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16448 bool result;
16449 PyObject * obj0 = 0 ;
16450 char *kwnames[] = {
16451 (char *) "self", NULL
16452 };
16453
16454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
16458 result = (bool)(arg1)->GetEnablePrinter();
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 resultobj = PyInt_FromLong((long)result);
16464 return resultobj;
16465 fail:
16466 return NULL;
16467 }
16468
16469
16470 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16471 PyObject *resultobj;
16472 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16473 bool result;
16474 PyObject * obj0 = 0 ;
16475 char *kwnames[] = {
16476 (char *) "self", NULL
16477 };
16478
16479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16481 {
16482 PyThreadState* __tstate = wxPyBeginAllowThreads();
16483 result = (bool)(arg1)->GetEnableHelp();
16484
16485 wxPyEndAllowThreads(__tstate);
16486 if (PyErr_Occurred()) SWIG_fail;
16487 }
16488 resultobj = PyInt_FromLong((long)result);
16489 return resultobj;
16490 fail:
16491 return NULL;
16492 }
16493
16494
16495 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16496 PyObject *resultobj;
16497 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16498 bool result;
16499 PyObject * obj0 = 0 ;
16500 char *kwnames[] = {
16501 (char *) "self", NULL
16502 };
16503
16504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16506 {
16507 PyThreadState* __tstate = wxPyBeginAllowThreads();
16508 result = (bool)(arg1)->GetDefaultInfo();
16509
16510 wxPyEndAllowThreads(__tstate);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
16513 resultobj = PyInt_FromLong((long)result);
16514 return resultobj;
16515 fail:
16516 return NULL;
16517 }
16518
16519
16520 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16521 PyObject *resultobj;
16522 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16523 wxPoint result;
16524 PyObject * obj0 = 0 ;
16525 char *kwnames[] = {
16526 (char *) "self", NULL
16527 };
16528
16529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16531 {
16532 PyThreadState* __tstate = wxPyBeginAllowThreads();
16533 result = (arg1)->GetMarginTopLeft();
16534
16535 wxPyEndAllowThreads(__tstate);
16536 if (PyErr_Occurred()) SWIG_fail;
16537 }
16538 {
16539 wxPoint * resultptr;
16540 resultptr = new wxPoint((wxPoint &) result);
16541 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16542 }
16543 return resultobj;
16544 fail:
16545 return NULL;
16546 }
16547
16548
16549 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16550 PyObject *resultobj;
16551 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16552 wxPoint result;
16553 PyObject * obj0 = 0 ;
16554 char *kwnames[] = {
16555 (char *) "self", NULL
16556 };
16557
16558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 result = (arg1)->GetMarginBottomRight();
16563
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 {
16568 wxPoint * resultptr;
16569 resultptr = new wxPoint((wxPoint &) result);
16570 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16571 }
16572 return resultobj;
16573 fail:
16574 return NULL;
16575 }
16576
16577
16578 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16581 wxPoint result;
16582 PyObject * obj0 = 0 ;
16583 char *kwnames[] = {
16584 (char *) "self", NULL
16585 };
16586
16587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 result = (arg1)->GetMinMarginTopLeft();
16592
16593 wxPyEndAllowThreads(__tstate);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 }
16596 {
16597 wxPoint * resultptr;
16598 resultptr = new wxPoint((wxPoint &) result);
16599 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16600 }
16601 return resultobj;
16602 fail:
16603 return NULL;
16604 }
16605
16606
16607 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16608 PyObject *resultobj;
16609 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16610 wxPoint result;
16611 PyObject * obj0 = 0 ;
16612 char *kwnames[] = {
16613 (char *) "self", NULL
16614 };
16615
16616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16618 {
16619 PyThreadState* __tstate = wxPyBeginAllowThreads();
16620 result = (arg1)->GetMinMarginBottomRight();
16621
16622 wxPyEndAllowThreads(__tstate);
16623 if (PyErr_Occurred()) SWIG_fail;
16624 }
16625 {
16626 wxPoint * resultptr;
16627 resultptr = new wxPoint((wxPoint &) result);
16628 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16629 }
16630 return resultobj;
16631 fail:
16632 return NULL;
16633 }
16634
16635
16636 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj;
16638 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16639 int result;
16640 PyObject * obj0 = 0 ;
16641 char *kwnames[] = {
16642 (char *) "self", NULL
16643 };
16644
16645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16647 {
16648 PyThreadState* __tstate = wxPyBeginAllowThreads();
16649 result = (int)(arg1)->GetPaperId();
16650
16651 wxPyEndAllowThreads(__tstate);
16652 if (PyErr_Occurred()) SWIG_fail;
16653 }
16654 resultobj = PyInt_FromLong((long)result);
16655 return resultobj;
16656 fail:
16657 return NULL;
16658 }
16659
16660
16661 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16662 PyObject *resultobj;
16663 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16664 wxSize result;
16665 PyObject * obj0 = 0 ;
16666 char *kwnames[] = {
16667 (char *) "self", NULL
16668 };
16669
16670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16672 {
16673 PyThreadState* __tstate = wxPyBeginAllowThreads();
16674 result = (arg1)->GetPaperSize();
16675
16676 wxPyEndAllowThreads(__tstate);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 {
16680 wxSize * resultptr;
16681 resultptr = new wxSize((wxSize &) result);
16682 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16683 }
16684 return resultobj;
16685 fail:
16686 return NULL;
16687 }
16688
16689
16690 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16691 PyObject *resultobj;
16692 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16693 wxPrintData *result;
16694 PyObject * obj0 = 0 ;
16695 char *kwnames[] = {
16696 (char *) "self", NULL
16697 };
16698
16699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16701 {
16702 PyThreadState* __tstate = wxPyBeginAllowThreads();
16703 {
16704 wxPrintData &_result_ref = (arg1)->GetPrintData();
16705 result = (wxPrintData *) &_result_ref;
16706 }
16707
16708 wxPyEndAllowThreads(__tstate);
16709 if (PyErr_Occurred()) SWIG_fail;
16710 }
16711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16712 return resultobj;
16713 fail:
16714 return NULL;
16715 }
16716
16717
16718 static PyObject *_wrap_PageSetupDialogData_Ok(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_Ok",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)->Ok();
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_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16744 PyObject *resultobj;
16745 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16746 bool arg2 ;
16747 PyObject * obj0 = 0 ;
16748 PyObject * obj1 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self",(char *) "flag", NULL
16751 };
16752
16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16755 {
16756 arg2 = (bool) SPyObj_AsBool(obj1);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 }
16759 {
16760 PyThreadState* __tstate = wxPyBeginAllowThreads();
16761 (arg1)->SetDefaultInfo(arg2);
16762
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 Py_INCREF(Py_None); resultobj = Py_None;
16767 return resultobj;
16768 fail:
16769 return NULL;
16770 }
16771
16772
16773 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj;
16775 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16776 bool arg2 ;
16777 PyObject * obj0 = 0 ;
16778 PyObject * obj1 = 0 ;
16779 char *kwnames[] = {
16780 (char *) "self",(char *) "flag", NULL
16781 };
16782
16783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16785 {
16786 arg2 = (bool) SPyObj_AsBool(obj1);
16787 if (PyErr_Occurred()) SWIG_fail;
16788 }
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 (arg1)->SetDefaultMinMargins(arg2);
16792
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
16796 Py_INCREF(Py_None); resultobj = Py_None;
16797 return resultobj;
16798 fail:
16799 return NULL;
16800 }
16801
16802
16803 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16804 PyObject *resultobj;
16805 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16806 wxPoint *arg2 = 0 ;
16807 wxPoint temp2 ;
16808 PyObject * obj0 = 0 ;
16809 PyObject * obj1 = 0 ;
16810 char *kwnames[] = {
16811 (char *) "self",(char *) "pt", NULL
16812 };
16813
16814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16816 {
16817 arg2 = &temp2;
16818 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16819 }
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16823
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 Py_INCREF(Py_None); resultobj = Py_None;
16828 return resultobj;
16829 fail:
16830 return NULL;
16831 }
16832
16833
16834 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16835 PyObject *resultobj;
16836 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16837 wxPoint *arg2 = 0 ;
16838 wxPoint temp2 ;
16839 PyObject * obj0 = 0 ;
16840 PyObject * obj1 = 0 ;
16841 char *kwnames[] = {
16842 (char *) "self",(char *) "pt", NULL
16843 };
16844
16845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16847 {
16848 arg2 = &temp2;
16849 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16850 }
16851 {
16852 PyThreadState* __tstate = wxPyBeginAllowThreads();
16853 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16854
16855 wxPyEndAllowThreads(__tstate);
16856 if (PyErr_Occurred()) SWIG_fail;
16857 }
16858 Py_INCREF(Py_None); resultobj = Py_None;
16859 return resultobj;
16860 fail:
16861 return NULL;
16862 }
16863
16864
16865 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16866 PyObject *resultobj;
16867 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16868 wxPoint *arg2 = 0 ;
16869 wxPoint temp2 ;
16870 PyObject * obj0 = 0 ;
16871 PyObject * obj1 = 0 ;
16872 char *kwnames[] = {
16873 (char *) "self",(char *) "pt", NULL
16874 };
16875
16876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16878 {
16879 arg2 = &temp2;
16880 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16881 }
16882 {
16883 PyThreadState* __tstate = wxPyBeginAllowThreads();
16884 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16885
16886 wxPyEndAllowThreads(__tstate);
16887 if (PyErr_Occurred()) SWIG_fail;
16888 }
16889 Py_INCREF(Py_None); resultobj = Py_None;
16890 return resultobj;
16891 fail:
16892 return NULL;
16893 }
16894
16895
16896 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16897 PyObject *resultobj;
16898 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16899 wxPoint *arg2 = 0 ;
16900 wxPoint temp2 ;
16901 PyObject * obj0 = 0 ;
16902 PyObject * obj1 = 0 ;
16903 char *kwnames[] = {
16904 (char *) "self",(char *) "pt", NULL
16905 };
16906
16907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16909 {
16910 arg2 = &temp2;
16911 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16912 }
16913 {
16914 PyThreadState* __tstate = wxPyBeginAllowThreads();
16915 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16916
16917 wxPyEndAllowThreads(__tstate);
16918 if (PyErr_Occurred()) SWIG_fail;
16919 }
16920 Py_INCREF(Py_None); resultobj = Py_None;
16921 return resultobj;
16922 fail:
16923 return NULL;
16924 }
16925
16926
16927 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16928 PyObject *resultobj;
16929 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16930 int arg2 ;
16931 PyObject * obj0 = 0 ;
16932 char *kwnames[] = {
16933 (char *) "self",(char *) "id", NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 (arg1)->SetPaperId((wxPaperSize )arg2);
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 Py_INCREF(Py_None); resultobj = Py_None;
16946 return resultobj;
16947 fail:
16948 return NULL;
16949 }
16950
16951
16952 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16953 PyObject *resultobj;
16954 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16955 wxSize *arg2 = 0 ;
16956 wxSize temp2 ;
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
16959 char *kwnames[] = {
16960 (char *) "self",(char *) "size", NULL
16961 };
16962
16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16965 {
16966 arg2 = &temp2;
16967 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16968 }
16969 {
16970 PyThreadState* __tstate = wxPyBeginAllowThreads();
16971 (arg1)->SetPaperSize((wxSize const &)*arg2);
16972
16973 wxPyEndAllowThreads(__tstate);
16974 if (PyErr_Occurred()) SWIG_fail;
16975 }
16976 Py_INCREF(Py_None); resultobj = Py_None;
16977 return resultobj;
16978 fail:
16979 return NULL;
16980 }
16981
16982
16983 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16984 PyObject *resultobj;
16985 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16986 wxPrintData *arg2 = 0 ;
16987 PyObject * obj0 = 0 ;
16988 PyObject * obj1 = 0 ;
16989 char *kwnames[] = {
16990 (char *) "self",(char *) "printData", NULL
16991 };
16992
16993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16996 if (arg2 == NULL) {
16997 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16998 }
16999 {
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 Py_INCREF(Py_None); resultobj = Py_None;
17007 return resultobj;
17008 fail:
17009 return NULL;
17010 }
17011
17012
17013 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
17014 PyObject *obj;
17015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17016 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
17017 Py_INCREF(obj);
17018 return Py_BuildValue((char *)"");
17019 }
17020 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17021 PyObject *resultobj;
17022 wxWindow *arg1 = (wxWindow *) 0 ;
17023 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
17024 wxPageSetupDialog *result;
17025 PyObject * obj0 = 0 ;
17026 PyObject * obj1 = 0 ;
17027 char *kwnames[] = {
17028 (char *) "parent",(char *) "data", NULL
17029 };
17030
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17033 if (obj1) {
17034 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17035 }
17036 {
17037 PyThreadState* __tstate = wxPyBeginAllowThreads();
17038 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
17039
17040 wxPyEndAllowThreads(__tstate);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 }
17043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
17044 return resultobj;
17045 fail:
17046 return NULL;
17047 }
17048
17049
17050 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
17051 PyObject *resultobj;
17052 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17053 wxPageSetupDialogData *result;
17054 PyObject * obj0 = 0 ;
17055 char *kwnames[] = {
17056 (char *) "self", NULL
17057 };
17058
17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
17060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17061 {
17062 PyThreadState* __tstate = wxPyBeginAllowThreads();
17063 {
17064 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
17065 result = (wxPageSetupDialogData *) &_result_ref;
17066 }
17067
17068 wxPyEndAllowThreads(__tstate);
17069 if (PyErr_Occurred()) SWIG_fail;
17070 }
17071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
17072 return resultobj;
17073 fail:
17074 return NULL;
17075 }
17076
17077
17078 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17079 PyObject *resultobj;
17080 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17081 int result;
17082 PyObject * obj0 = 0 ;
17083 char *kwnames[] = {
17084 (char *) "self", NULL
17085 };
17086
17087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
17088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17089 {
17090 PyThreadState* __tstate = wxPyBeginAllowThreads();
17091 result = (int)(arg1)->ShowModal();
17092
17093 wxPyEndAllowThreads(__tstate);
17094 if (PyErr_Occurred()) SWIG_fail;
17095 }
17096 resultobj = PyInt_FromLong((long)result);
17097 return resultobj;
17098 fail:
17099 return NULL;
17100 }
17101
17102
17103 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
17104 PyObject *obj;
17105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17106 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
17107 Py_INCREF(obj);
17108 return Py_BuildValue((char *)"");
17109 }
17110 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17111 PyObject *resultobj;
17112 wxPrintDialogData *result;
17113 char *kwnames[] = {
17114 NULL
17115 };
17116
17117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 result = (wxPrintDialogData *)new wxPrintDialogData();
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
17126 return resultobj;
17127 fail:
17128 return NULL;
17129 }
17130
17131
17132 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj;
17134 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17135 PyObject * obj0 = 0 ;
17136 char *kwnames[] = {
17137 (char *) "self", NULL
17138 };
17139
17140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
17141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17142 {
17143 PyThreadState* __tstate = wxPyBeginAllowThreads();
17144 delete arg1;
17145
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 Py_INCREF(Py_None); resultobj = Py_None;
17150 return resultobj;
17151 fail:
17152 return NULL;
17153 }
17154
17155
17156 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17157 PyObject *resultobj;
17158 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17159 int result;
17160 PyObject * obj0 = 0 ;
17161 char *kwnames[] = {
17162 (char *) "self", NULL
17163 };
17164
17165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17167 {
17168 PyThreadState* __tstate = wxPyBeginAllowThreads();
17169 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17170
17171 wxPyEndAllowThreads(__tstate);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 }
17174 resultobj = PyInt_FromLong((long)result);
17175 return resultobj;
17176 fail:
17177 return NULL;
17178 }
17179
17180
17181 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17182 PyObject *resultobj;
17183 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17184 int result;
17185 PyObject * obj0 = 0 ;
17186 char *kwnames[] = {
17187 (char *) "self", NULL
17188 };
17189
17190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17192 {
17193 PyThreadState* __tstate = wxPyBeginAllowThreads();
17194 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17195
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 resultobj = PyInt_FromLong((long)result);
17200 return resultobj;
17201 fail:
17202 return NULL;
17203 }
17204
17205
17206 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj;
17208 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17209 int result;
17210 PyObject * obj0 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "self", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17217 {
17218 PyThreadState* __tstate = wxPyBeginAllowThreads();
17219 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17220
17221 wxPyEndAllowThreads(__tstate);
17222 if (PyErr_Occurred()) SWIG_fail;
17223 }
17224 resultobj = PyInt_FromLong((long)result);
17225 return resultobj;
17226 fail:
17227 return NULL;
17228 }
17229
17230
17231 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj;
17233 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17234 int result;
17235 PyObject * obj0 = 0 ;
17236 char *kwnames[] = {
17237 (char *) "self", NULL
17238 };
17239
17240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17242 {
17243 PyThreadState* __tstate = wxPyBeginAllowThreads();
17244 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17245
17246 wxPyEndAllowThreads(__tstate);
17247 if (PyErr_Occurred()) SWIG_fail;
17248 }
17249 resultobj = PyInt_FromLong((long)result);
17250 return resultobj;
17251 fail:
17252 return NULL;
17253 }
17254
17255
17256 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17257 PyObject *resultobj;
17258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17259 int result;
17260 PyObject * obj0 = 0 ;
17261 char *kwnames[] = {
17262 (char *) "self", NULL
17263 };
17264
17265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17267 {
17268 PyThreadState* __tstate = wxPyBeginAllowThreads();
17269 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17270
17271 wxPyEndAllowThreads(__tstate);
17272 if (PyErr_Occurred()) SWIG_fail;
17273 }
17274 resultobj = PyInt_FromLong((long)result);
17275 return resultobj;
17276 fail:
17277 return NULL;
17278 }
17279
17280
17281 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17282 PyObject *resultobj;
17283 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17284 bool result;
17285 PyObject * obj0 = 0 ;
17286 char *kwnames[] = {
17287 (char *) "self", NULL
17288 };
17289
17290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17292 {
17293 PyThreadState* __tstate = wxPyBeginAllowThreads();
17294 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17295
17296 wxPyEndAllowThreads(__tstate);
17297 if (PyErr_Occurred()) SWIG_fail;
17298 }
17299 resultobj = PyInt_FromLong((long)result);
17300 return resultobj;
17301 fail:
17302 return NULL;
17303 }
17304
17305
17306 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17307 PyObject *resultobj;
17308 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17309 bool result;
17310 PyObject * obj0 = 0 ;
17311 char *kwnames[] = {
17312 (char *) "self", NULL
17313 };
17314
17315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17317 {
17318 PyThreadState* __tstate = wxPyBeginAllowThreads();
17319 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17320
17321 wxPyEndAllowThreads(__tstate);
17322 if (PyErr_Occurred()) SWIG_fail;
17323 }
17324 resultobj = PyInt_FromLong((long)result);
17325 return resultobj;
17326 fail:
17327 return NULL;
17328 }
17329
17330
17331 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17332 PyObject *resultobj;
17333 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17334 bool result;
17335 PyObject * obj0 = 0 ;
17336 char *kwnames[] = {
17337 (char *) "self", NULL
17338 };
17339
17340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17342 {
17343 PyThreadState* __tstate = wxPyBeginAllowThreads();
17344 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17345
17346 wxPyEndAllowThreads(__tstate);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 resultobj = PyInt_FromLong((long)result);
17350 return resultobj;
17351 fail:
17352 return NULL;
17353 }
17354
17355
17356 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17357 PyObject *resultobj;
17358 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17359 bool result;
17360 PyObject * obj0 = 0 ;
17361 char *kwnames[] = {
17362 (char *) "self", NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17370
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 resultobj = PyInt_FromLong((long)result);
17375 return resultobj;
17376 fail:
17377 return NULL;
17378 }
17379
17380
17381 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17382 PyObject *resultobj;
17383 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17384 bool result;
17385 PyObject * obj0 = 0 ;
17386 char *kwnames[] = {
17387 (char *) "self", NULL
17388 };
17389
17390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17392 {
17393 PyThreadState* __tstate = wxPyBeginAllowThreads();
17394 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17395
17396 wxPyEndAllowThreads(__tstate);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
17399 resultobj = PyInt_FromLong((long)result);
17400 return resultobj;
17401 fail:
17402 return NULL;
17403 }
17404
17405
17406 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17407 PyObject *resultobj;
17408 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17409 int arg2 ;
17410 PyObject * obj0 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self",(char *) "v", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 (arg1)->SetFromPage(arg2);
17420
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 Py_INCREF(Py_None); resultobj = Py_None;
17425 return resultobj;
17426 fail:
17427 return NULL;
17428 }
17429
17430
17431 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17432 PyObject *resultobj;
17433 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17434 int arg2 ;
17435 PyObject * obj0 = 0 ;
17436 char *kwnames[] = {
17437 (char *) "self",(char *) "v", NULL
17438 };
17439
17440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17442 {
17443 PyThreadState* __tstate = wxPyBeginAllowThreads();
17444 (arg1)->SetToPage(arg2);
17445
17446 wxPyEndAllowThreads(__tstate);
17447 if (PyErr_Occurred()) SWIG_fail;
17448 }
17449 Py_INCREF(Py_None); resultobj = Py_None;
17450 return resultobj;
17451 fail:
17452 return NULL;
17453 }
17454
17455
17456 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17457 PyObject *resultobj;
17458 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17459 int arg2 ;
17460 PyObject * obj0 = 0 ;
17461 char *kwnames[] = {
17462 (char *) "self",(char *) "v", NULL
17463 };
17464
17465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 (arg1)->SetMinPage(arg2);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 Py_INCREF(Py_None); resultobj = Py_None;
17475 return resultobj;
17476 fail:
17477 return NULL;
17478 }
17479
17480
17481 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj;
17483 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17484 int arg2 ;
17485 PyObject * obj0 = 0 ;
17486 char *kwnames[] = {
17487 (char *) "self",(char *) "v", NULL
17488 };
17489
17490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17492 {
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 (arg1)->SetMaxPage(arg2);
17495
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
17499 Py_INCREF(Py_None); resultobj = Py_None;
17500 return resultobj;
17501 fail:
17502 return NULL;
17503 }
17504
17505
17506 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17507 PyObject *resultobj;
17508 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17509 int arg2 ;
17510 PyObject * obj0 = 0 ;
17511 char *kwnames[] = {
17512 (char *) "self",(char *) "v", NULL
17513 };
17514
17515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17517 {
17518 PyThreadState* __tstate = wxPyBeginAllowThreads();
17519 (arg1)->SetNoCopies(arg2);
17520
17521 wxPyEndAllowThreads(__tstate);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 }
17524 Py_INCREF(Py_None); resultobj = Py_None;
17525 return resultobj;
17526 fail:
17527 return NULL;
17528 }
17529
17530
17531 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17532 PyObject *resultobj;
17533 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17534 bool arg2 ;
17535 PyObject * obj0 = 0 ;
17536 PyObject * obj1 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "self",(char *) "flag", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17543 {
17544 arg2 = (bool) SPyObj_AsBool(obj1);
17545 if (PyErr_Occurred()) SWIG_fail;
17546 }
17547 {
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 (arg1)->SetAllPages(arg2);
17550
17551 wxPyEndAllowThreads(__tstate);
17552 if (PyErr_Occurred()) SWIG_fail;
17553 }
17554 Py_INCREF(Py_None); resultobj = Py_None;
17555 return resultobj;
17556 fail:
17557 return NULL;
17558 }
17559
17560
17561 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17562 PyObject *resultobj;
17563 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17564 bool arg2 ;
17565 PyObject * obj0 = 0 ;
17566 PyObject * obj1 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self",(char *) "flag", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17573 {
17574 arg2 = (bool) SPyObj_AsBool(obj1);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 {
17578 PyThreadState* __tstate = wxPyBeginAllowThreads();
17579 (arg1)->SetSelection(arg2);
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 Py_INCREF(Py_None); resultobj = Py_None;
17585 return resultobj;
17586 fail:
17587 return NULL;
17588 }
17589
17590
17591 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17592 PyObject *resultobj;
17593 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17594 bool arg2 ;
17595 PyObject * obj0 = 0 ;
17596 PyObject * obj1 = 0 ;
17597 char *kwnames[] = {
17598 (char *) "self",(char *) "flag", NULL
17599 };
17600
17601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17603 {
17604 arg2 = (bool) SPyObj_AsBool(obj1);
17605 if (PyErr_Occurred()) SWIG_fail;
17606 }
17607 {
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 (arg1)->SetCollate(arg2);
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 Py_INCREF(Py_None); resultobj = Py_None;
17615 return resultobj;
17616 fail:
17617 return NULL;
17618 }
17619
17620
17621 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17624 bool arg2 ;
17625 PyObject * obj0 = 0 ;
17626 PyObject * obj1 = 0 ;
17627 char *kwnames[] = {
17628 (char *) "self",(char *) "flag", NULL
17629 };
17630
17631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17633 {
17634 arg2 = (bool) SPyObj_AsBool(obj1);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 {
17638 PyThreadState* __tstate = wxPyBeginAllowThreads();
17639 (arg1)->SetPrintToFile(arg2);
17640
17641 wxPyEndAllowThreads(__tstate);
17642 if (PyErr_Occurred()) SWIG_fail;
17643 }
17644 Py_INCREF(Py_None); resultobj = Py_None;
17645 return resultobj;
17646 fail:
17647 return NULL;
17648 }
17649
17650
17651 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17652 PyObject *resultobj;
17653 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17654 bool arg2 ;
17655 PyObject * obj0 = 0 ;
17656 PyObject * obj1 = 0 ;
17657 char *kwnames[] = {
17658 (char *) "self",(char *) "flag", NULL
17659 };
17660
17661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17663 {
17664 arg2 = (bool) SPyObj_AsBool(obj1);
17665 if (PyErr_Occurred()) SWIG_fail;
17666 }
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 (arg1)->SetSetupDialog(arg2);
17670
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 Py_INCREF(Py_None); resultobj = Py_None;
17675 return resultobj;
17676 fail:
17677 return NULL;
17678 }
17679
17680
17681 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17682 PyObject *resultobj;
17683 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17684 bool arg2 ;
17685 PyObject * obj0 = 0 ;
17686 PyObject * obj1 = 0 ;
17687 char *kwnames[] = {
17688 (char *) "self",(char *) "flag", NULL
17689 };
17690
17691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17693 {
17694 arg2 = (bool) SPyObj_AsBool(obj1);
17695 if (PyErr_Occurred()) SWIG_fail;
17696 }
17697 {
17698 PyThreadState* __tstate = wxPyBeginAllowThreads();
17699 (arg1)->EnablePrintToFile(arg2);
17700
17701 wxPyEndAllowThreads(__tstate);
17702 if (PyErr_Occurred()) SWIG_fail;
17703 }
17704 Py_INCREF(Py_None); resultobj = Py_None;
17705 return resultobj;
17706 fail:
17707 return NULL;
17708 }
17709
17710
17711 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17712 PyObject *resultobj;
17713 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17714 bool arg2 ;
17715 PyObject * obj0 = 0 ;
17716 PyObject * obj1 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "self",(char *) "flag", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17723 {
17724 arg2 = (bool) SPyObj_AsBool(obj1);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 {
17728 PyThreadState* __tstate = wxPyBeginAllowThreads();
17729 (arg1)->EnableSelection(arg2);
17730
17731 wxPyEndAllowThreads(__tstate);
17732 if (PyErr_Occurred()) SWIG_fail;
17733 }
17734 Py_INCREF(Py_None); resultobj = Py_None;
17735 return resultobj;
17736 fail:
17737 return NULL;
17738 }
17739
17740
17741 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17742 PyObject *resultobj;
17743 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17744 bool arg2 ;
17745 PyObject * obj0 = 0 ;
17746 PyObject * obj1 = 0 ;
17747 char *kwnames[] = {
17748 (char *) "self",(char *) "flag", NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17753 {
17754 arg2 = (bool) SPyObj_AsBool(obj1);
17755 if (PyErr_Occurred()) SWIG_fail;
17756 }
17757 {
17758 PyThreadState* __tstate = wxPyBeginAllowThreads();
17759 (arg1)->EnablePageNumbers(arg2);
17760
17761 wxPyEndAllowThreads(__tstate);
17762 if (PyErr_Occurred()) SWIG_fail;
17763 }
17764 Py_INCREF(Py_None); resultobj = Py_None;
17765 return resultobj;
17766 fail:
17767 return NULL;
17768 }
17769
17770
17771 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17772 PyObject *resultobj;
17773 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17774 bool arg2 ;
17775 PyObject * obj0 = 0 ;
17776 PyObject * obj1 = 0 ;
17777 char *kwnames[] = {
17778 (char *) "self",(char *) "flag", NULL
17779 };
17780
17781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17783 {
17784 arg2 = (bool) SPyObj_AsBool(obj1);
17785 if (PyErr_Occurred()) SWIG_fail;
17786 }
17787 {
17788 PyThreadState* __tstate = wxPyBeginAllowThreads();
17789 (arg1)->EnableHelp(arg2);
17790
17791 wxPyEndAllowThreads(__tstate);
17792 if (PyErr_Occurred()) SWIG_fail;
17793 }
17794 Py_INCREF(Py_None); resultobj = Py_None;
17795 return resultobj;
17796 fail:
17797 return NULL;
17798 }
17799
17800
17801 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17802 PyObject *resultobj;
17803 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17804 bool result;
17805 PyObject * obj0 = 0 ;
17806 char *kwnames[] = {
17807 (char *) "self", NULL
17808 };
17809
17810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17812 {
17813 PyThreadState* __tstate = wxPyBeginAllowThreads();
17814 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17815
17816 wxPyEndAllowThreads(__tstate);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 }
17819 resultobj = PyInt_FromLong((long)result);
17820 return resultobj;
17821 fail:
17822 return NULL;
17823 }
17824
17825
17826 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17827 PyObject *resultobj;
17828 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17829 bool result;
17830 PyObject * obj0 = 0 ;
17831 char *kwnames[] = {
17832 (char *) "self", NULL
17833 };
17834
17835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17837 {
17838 PyThreadState* __tstate = wxPyBeginAllowThreads();
17839 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17840
17841 wxPyEndAllowThreads(__tstate);
17842 if (PyErr_Occurred()) SWIG_fail;
17843 }
17844 resultobj = PyInt_FromLong((long)result);
17845 return resultobj;
17846 fail:
17847 return NULL;
17848 }
17849
17850
17851 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17852 PyObject *resultobj;
17853 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17854 bool result;
17855 PyObject * obj0 = 0 ;
17856 char *kwnames[] = {
17857 (char *) "self", NULL
17858 };
17859
17860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
17869 resultobj = PyInt_FromLong((long)result);
17870 return resultobj;
17871 fail:
17872 return NULL;
17873 }
17874
17875
17876 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17877 PyObject *resultobj;
17878 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17879 bool result;
17880 PyObject * obj0 = 0 ;
17881 char *kwnames[] = {
17882 (char *) "self", NULL
17883 };
17884
17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17887 {
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17890
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
17894 resultobj = PyInt_FromLong((long)result);
17895 return resultobj;
17896 fail:
17897 return NULL;
17898 }
17899
17900
17901 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17902 PyObject *resultobj;
17903 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17904 bool result;
17905 PyObject * obj0 = 0 ;
17906 char *kwnames[] = {
17907 (char *) "self", NULL
17908 };
17909
17910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 resultobj = PyInt_FromLong((long)result);
17920 return resultobj;
17921 fail:
17922 return NULL;
17923 }
17924
17925
17926 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17927 PyObject *resultobj;
17928 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17929 wxPrintData *result;
17930 PyObject * obj0 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "self", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17937 {
17938 PyThreadState* __tstate = wxPyBeginAllowThreads();
17939 {
17940 wxPrintData &_result_ref = (arg1)->GetPrintData();
17941 result = (wxPrintData *) &_result_ref;
17942 }
17943
17944 wxPyEndAllowThreads(__tstate);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 }
17947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17948 return resultobj;
17949 fail:
17950 return NULL;
17951 }
17952
17953
17954 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17955 PyObject *resultobj;
17956 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17957 wxPrintData *arg2 = 0 ;
17958 PyObject * obj0 = 0 ;
17959 PyObject * obj1 = 0 ;
17960 char *kwnames[] = {
17961 (char *) "self",(char *) "printData", NULL
17962 };
17963
17964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17967 if (arg2 == NULL) {
17968 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17969 }
17970 {
17971 PyThreadState* __tstate = wxPyBeginAllowThreads();
17972 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17973
17974 wxPyEndAllowThreads(__tstate);
17975 if (PyErr_Occurred()) SWIG_fail;
17976 }
17977 Py_INCREF(Py_None); resultobj = Py_None;
17978 return resultobj;
17979 fail:
17980 return NULL;
17981 }
17982
17983
17984 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17985 PyObject *obj;
17986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17987 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17988 Py_INCREF(obj);
17989 return Py_BuildValue((char *)"");
17990 }
17991 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17992 PyObject *resultobj;
17993 wxWindow *arg1 = (wxWindow *) 0 ;
17994 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17995 wxPrintDialog *result;
17996 PyObject * obj0 = 0 ;
17997 PyObject * obj1 = 0 ;
17998 char *kwnames[] = {
17999 (char *) "parent",(char *) "data", NULL
18000 };
18001
18002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18004 if (obj1) {
18005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18006 }
18007 {
18008 PyThreadState* __tstate = wxPyBeginAllowThreads();
18009 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
18010
18011 wxPyEndAllowThreads(__tstate);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 }
18014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
18015 return resultobj;
18016 fail:
18017 return NULL;
18018 }
18019
18020
18021 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18022 PyObject *resultobj;
18023 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18024 wxPrintDialogData *result;
18025 PyObject * obj0 = 0 ;
18026 char *kwnames[] = {
18027 (char *) "self", NULL
18028 };
18029
18030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
18031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18032 {
18033 PyThreadState* __tstate = wxPyBeginAllowThreads();
18034 {
18035 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18036 result = (wxPrintDialogData *) &_result_ref;
18037 }
18038
18039 wxPyEndAllowThreads(__tstate);
18040 if (PyErr_Occurred()) SWIG_fail;
18041 }
18042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18043 return resultobj;
18044 fail:
18045 return NULL;
18046 }
18047
18048
18049 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18050 PyObject *resultobj;
18051 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18052 wxDC *result;
18053 PyObject * obj0 = 0 ;
18054 char *kwnames[] = {
18055 (char *) "self", NULL
18056 };
18057
18058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
18059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18060 {
18061 PyThreadState* __tstate = wxPyBeginAllowThreads();
18062 result = (wxDC *)(arg1)->GetPrintDC();
18063
18064 wxPyEndAllowThreads(__tstate);
18065 if (PyErr_Occurred()) SWIG_fail;
18066 }
18067 {
18068 resultobj = wxPyMake_wxObject(result);
18069 }
18070 return resultobj;
18071 fail:
18072 return NULL;
18073 }
18074
18075
18076 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18077 PyObject *resultobj;
18078 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18079 int result;
18080 PyObject * obj0 = 0 ;
18081 char *kwnames[] = {
18082 (char *) "self", NULL
18083 };
18084
18085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
18086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 result = (int)(arg1)->ShowModal();
18090
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 resultobj = PyInt_FromLong((long)result);
18095 return resultobj;
18096 fail:
18097 return NULL;
18098 }
18099
18100
18101 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
18102 PyObject *obj;
18103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18104 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
18105 Py_INCREF(obj);
18106 return Py_BuildValue((char *)"");
18107 }
18108 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18109 PyObject *resultobj;
18110 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
18111 wxPrinter *result;
18112 PyObject * obj0 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "data", NULL
18115 };
18116
18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
18118 if (obj0) {
18119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18120 }
18121 {
18122 PyThreadState* __tstate = wxPyBeginAllowThreads();
18123 result = (wxPrinter *)new wxPrinter(arg1);
18124
18125 wxPyEndAllowThreads(__tstate);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
18129 return resultobj;
18130 fail:
18131 return NULL;
18132 }
18133
18134
18135 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18136 PyObject *resultobj;
18137 wxPrinter *arg1 = (wxPrinter *) 0 ;
18138 PyObject * obj0 = 0 ;
18139 char *kwnames[] = {
18140 (char *) "self", NULL
18141 };
18142
18143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
18144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 delete arg1;
18148
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 Py_INCREF(Py_None); resultobj = Py_None;
18153 return resultobj;
18154 fail:
18155 return NULL;
18156 }
18157
18158
18159 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18160 PyObject *resultobj;
18161 wxPrinter *arg1 = (wxPrinter *) 0 ;
18162 wxWindow *arg2 = (wxWindow *) 0 ;
18163 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18164 PyObject * obj0 = 0 ;
18165 PyObject * obj1 = 0 ;
18166 PyObject * obj2 = 0 ;
18167 char *kwnames[] = {
18168 (char *) "self",(char *) "parent",(char *) "printout", NULL
18169 };
18170
18171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
18172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18174 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18175 {
18176 PyThreadState* __tstate = wxPyBeginAllowThreads();
18177 (arg1)->CreateAbortWindow(arg2,arg3);
18178
18179 wxPyEndAllowThreads(__tstate);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 }
18182 Py_INCREF(Py_None); resultobj = Py_None;
18183 return resultobj;
18184 fail:
18185 return NULL;
18186 }
18187
18188
18189 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18190 PyObject *resultobj;
18191 wxPrinter *arg1 = (wxPrinter *) 0 ;
18192 wxPrintDialogData *result;
18193 PyObject * obj0 = 0 ;
18194 char *kwnames[] = {
18195 (char *) "self", NULL
18196 };
18197
18198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18200 {
18201 PyThreadState* __tstate = wxPyBeginAllowThreads();
18202 {
18203 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18204 result = (wxPrintDialogData *) &_result_ref;
18205 }
18206
18207 wxPyEndAllowThreads(__tstate);
18208 if (PyErr_Occurred()) SWIG_fail;
18209 }
18210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18211 return resultobj;
18212 fail:
18213 return NULL;
18214 }
18215
18216
18217 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18218 PyObject *resultobj;
18219 wxPrinter *arg1 = (wxPrinter *) 0 ;
18220 wxWindow *arg2 = (wxWindow *) 0 ;
18221 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18222 int arg4 = (int) True ;
18223 bool result;
18224 PyObject * obj0 = 0 ;
18225 PyObject * obj1 = 0 ;
18226 PyObject * obj2 = 0 ;
18227 char *kwnames[] = {
18228 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18229 };
18230
18231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18234 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18235 {
18236 PyThreadState* __tstate = wxPyBeginAllowThreads();
18237 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18238
18239 wxPyEndAllowThreads(__tstate);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
18242 resultobj = PyInt_FromLong((long)result);
18243 return resultobj;
18244 fail:
18245 return NULL;
18246 }
18247
18248
18249 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18250 PyObject *resultobj;
18251 wxPrinter *arg1 = (wxPrinter *) 0 ;
18252 wxWindow *arg2 = (wxWindow *) 0 ;
18253 wxDC *result;
18254 PyObject * obj0 = 0 ;
18255 PyObject * obj1 = 0 ;
18256 char *kwnames[] = {
18257 (char *) "self",(char *) "parent", NULL
18258 };
18259
18260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18263 {
18264 PyThreadState* __tstate = wxPyBeginAllowThreads();
18265 result = (wxDC *)(arg1)->PrintDialog(arg2);
18266
18267 wxPyEndAllowThreads(__tstate);
18268 if (PyErr_Occurred()) SWIG_fail;
18269 }
18270 {
18271 resultobj = wxPyMake_wxObject(result);
18272 }
18273 return resultobj;
18274 fail:
18275 return NULL;
18276 }
18277
18278
18279 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18280 PyObject *resultobj;
18281 wxPrinter *arg1 = (wxPrinter *) 0 ;
18282 wxWindow *arg2 = (wxWindow *) 0 ;
18283 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18284 wxString *arg4 = 0 ;
18285 bool temp4 = False ;
18286 PyObject * obj0 = 0 ;
18287 PyObject * obj1 = 0 ;
18288 PyObject * obj2 = 0 ;
18289 PyObject * obj3 = 0 ;
18290 char *kwnames[] = {
18291 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18292 };
18293
18294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18296 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18297 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18298 {
18299 arg4 = wxString_in_helper(obj3);
18300 if (arg4 == NULL) SWIG_fail;
18301 temp4 = True;
18302 }
18303 {
18304 PyThreadState* __tstate = wxPyBeginAllowThreads();
18305 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18306
18307 wxPyEndAllowThreads(__tstate);
18308 if (PyErr_Occurred()) SWIG_fail;
18309 }
18310 Py_INCREF(Py_None); resultobj = Py_None;
18311 {
18312 if (temp4)
18313 delete arg4;
18314 }
18315 return resultobj;
18316 fail:
18317 {
18318 if (temp4)
18319 delete arg4;
18320 }
18321 return NULL;
18322 }
18323
18324
18325 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18326 PyObject *resultobj;
18327 wxPrinter *arg1 = (wxPrinter *) 0 ;
18328 wxWindow *arg2 = (wxWindow *) 0 ;
18329 bool result;
18330 PyObject * obj0 = 0 ;
18331 PyObject * obj1 = 0 ;
18332 char *kwnames[] = {
18333 (char *) "self",(char *) "parent", NULL
18334 };
18335
18336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18338 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18339 {
18340 PyThreadState* __tstate = wxPyBeginAllowThreads();
18341 result = (bool)(arg1)->Setup(arg2);
18342
18343 wxPyEndAllowThreads(__tstate);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
18346 resultobj = PyInt_FromLong((long)result);
18347 return resultobj;
18348 fail:
18349 return NULL;
18350 }
18351
18352
18353 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18354 PyObject *resultobj;
18355 wxPrinter *arg1 = (wxPrinter *) 0 ;
18356 bool result;
18357 PyObject * obj0 = 0 ;
18358 char *kwnames[] = {
18359 (char *) "self", NULL
18360 };
18361
18362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 result = (bool)(arg1)->GetAbort();
18367
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 resultobj = PyInt_FromLong((long)result);
18372 return resultobj;
18373 fail:
18374 return NULL;
18375 }
18376
18377
18378 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18379 PyObject *resultobj;
18380 int result;
18381 char *kwnames[] = {
18382 NULL
18383 };
18384
18385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18386 {
18387 PyThreadState* __tstate = wxPyBeginAllowThreads();
18388 result = (int)wxPrinter::GetLastError();
18389
18390 wxPyEndAllowThreads(__tstate);
18391 if (PyErr_Occurred()) SWIG_fail;
18392 }
18393 resultobj = PyInt_FromLong((long)result);
18394 return resultobj;
18395 fail:
18396 return NULL;
18397 }
18398
18399
18400 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18401 PyObject *obj;
18402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18403 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18404 Py_INCREF(obj);
18405 return Py_BuildValue((char *)"");
18406 }
18407 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18408 PyObject *resultobj;
18409 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18410 wxString *arg1 = (wxString *) &arg1_defvalue ;
18411 wxPyPrintout *result;
18412 bool temp1 = False ;
18413 PyObject * obj0 = 0 ;
18414 char *kwnames[] = {
18415 (char *) "title", NULL
18416 };
18417
18418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18419 if (obj0) {
18420 {
18421 arg1 = wxString_in_helper(obj0);
18422 if (arg1 == NULL) SWIG_fail;
18423 temp1 = True;
18424 }
18425 }
18426 {
18427 PyThreadState* __tstate = wxPyBeginAllowThreads();
18428 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18429
18430 wxPyEndAllowThreads(__tstate);
18431 if (PyErr_Occurred()) SWIG_fail;
18432 }
18433 {
18434 resultobj = wxPyMake_wxObject(result);
18435 }
18436 {
18437 if (temp1)
18438 delete arg1;
18439 }
18440 return resultobj;
18441 fail:
18442 {
18443 if (temp1)
18444 delete arg1;
18445 }
18446 return NULL;
18447 }
18448
18449
18450 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj;
18452 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18453 PyObject *arg2 = (PyObject *) 0 ;
18454 PyObject *arg3 = (PyObject *) 0 ;
18455 PyObject * obj0 = 0 ;
18456 PyObject * obj1 = 0 ;
18457 PyObject * obj2 = 0 ;
18458 char *kwnames[] = {
18459 (char *) "self",(char *) "self",(char *) "_class", NULL
18460 };
18461
18462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18464 arg2 = obj1;
18465 arg3 = obj2;
18466 {
18467 PyThreadState* __tstate = wxPyBeginAllowThreads();
18468 (arg1)->_setCallbackInfo(arg2,arg3);
18469
18470 wxPyEndAllowThreads(__tstate);
18471 if (PyErr_Occurred()) SWIG_fail;
18472 }
18473 Py_INCREF(Py_None); resultobj = Py_None;
18474 return resultobj;
18475 fail:
18476 return NULL;
18477 }
18478
18479
18480 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18481 PyObject *resultobj;
18482 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18483 wxString result;
18484 PyObject * obj0 = 0 ;
18485 char *kwnames[] = {
18486 (char *) "self", NULL
18487 };
18488
18489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18491 {
18492 PyThreadState* __tstate = wxPyBeginAllowThreads();
18493 result = ((wxPyPrintout const *)arg1)->GetTitle();
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 {
18499 #if wxUSE_UNICODE
18500 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18501 #else
18502 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18503 #endif
18504 }
18505 return resultobj;
18506 fail:
18507 return NULL;
18508 }
18509
18510
18511 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18512 PyObject *resultobj;
18513 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18514 wxDC *result;
18515 PyObject * obj0 = 0 ;
18516 char *kwnames[] = {
18517 (char *) "self", NULL
18518 };
18519
18520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18522 {
18523 PyThreadState* __tstate = wxPyBeginAllowThreads();
18524 result = (wxDC *)(arg1)->GetDC();
18525
18526 wxPyEndAllowThreads(__tstate);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 }
18529 {
18530 resultobj = wxPyMake_wxObject(result);
18531 }
18532 return resultobj;
18533 fail:
18534 return NULL;
18535 }
18536
18537
18538 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18539 PyObject *resultobj;
18540 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18541 wxDC *arg2 = (wxDC *) 0 ;
18542 PyObject * obj0 = 0 ;
18543 PyObject * obj1 = 0 ;
18544 char *kwnames[] = {
18545 (char *) "self",(char *) "dc", NULL
18546 };
18547
18548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18550 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18551 {
18552 PyThreadState* __tstate = wxPyBeginAllowThreads();
18553 (arg1)->SetDC(arg2);
18554
18555 wxPyEndAllowThreads(__tstate);
18556 if (PyErr_Occurred()) SWIG_fail;
18557 }
18558 Py_INCREF(Py_None); resultobj = Py_None;
18559 return resultobj;
18560 fail:
18561 return NULL;
18562 }
18563
18564
18565 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18566 PyObject *resultobj;
18567 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18568 int arg2 ;
18569 int arg3 ;
18570 PyObject * obj0 = 0 ;
18571 char *kwnames[] = {
18572 (char *) "self",(char *) "w",(char *) "h", NULL
18573 };
18574
18575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18577 {
18578 PyThreadState* __tstate = wxPyBeginAllowThreads();
18579 (arg1)->SetPageSizePixels(arg2,arg3);
18580
18581 wxPyEndAllowThreads(__tstate);
18582 if (PyErr_Occurred()) SWIG_fail;
18583 }
18584 Py_INCREF(Py_None); resultobj = Py_None;
18585 return resultobj;
18586 fail:
18587 return NULL;
18588 }
18589
18590
18591 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18592 PyObject *resultobj;
18593 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18594 int *arg2 = (int *) 0 ;
18595 int *arg3 = (int *) 0 ;
18596 int temp2 ;
18597 int temp3 ;
18598 PyObject * obj0 = 0 ;
18599 char *kwnames[] = {
18600 (char *) "self", NULL
18601 };
18602
18603 arg2 = &temp2;
18604 arg3 = &temp3;
18605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18607 {
18608 PyThreadState* __tstate = wxPyBeginAllowThreads();
18609 (arg1)->GetPageSizePixels(arg2,arg3);
18610
18611 wxPyEndAllowThreads(__tstate);
18612 if (PyErr_Occurred()) SWIG_fail;
18613 }
18614 Py_INCREF(Py_None); resultobj = Py_None;
18615 {
18616 PyObject *o = PyInt_FromLong((long) (*arg2));
18617 resultobj = t_output_helper(resultobj,o);
18618 }
18619 {
18620 PyObject *o = PyInt_FromLong((long) (*arg3));
18621 resultobj = t_output_helper(resultobj,o);
18622 }
18623 return resultobj;
18624 fail:
18625 return NULL;
18626 }
18627
18628
18629 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18630 PyObject *resultobj;
18631 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18632 int arg2 ;
18633 int arg3 ;
18634 PyObject * obj0 = 0 ;
18635 char *kwnames[] = {
18636 (char *) "self",(char *) "w",(char *) "h", NULL
18637 };
18638
18639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18641 {
18642 PyThreadState* __tstate = wxPyBeginAllowThreads();
18643 (arg1)->SetPageSizeMM(arg2,arg3);
18644
18645 wxPyEndAllowThreads(__tstate);
18646 if (PyErr_Occurred()) SWIG_fail;
18647 }
18648 Py_INCREF(Py_None); resultobj = Py_None;
18649 return resultobj;
18650 fail:
18651 return NULL;
18652 }
18653
18654
18655 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18656 PyObject *resultobj;
18657 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18658 int *arg2 = (int *) 0 ;
18659 int *arg3 = (int *) 0 ;
18660 int temp2 ;
18661 int temp3 ;
18662 PyObject * obj0 = 0 ;
18663 char *kwnames[] = {
18664 (char *) "self", NULL
18665 };
18666
18667 arg2 = &temp2;
18668 arg3 = &temp3;
18669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18671 {
18672 PyThreadState* __tstate = wxPyBeginAllowThreads();
18673 (arg1)->GetPageSizeMM(arg2,arg3);
18674
18675 wxPyEndAllowThreads(__tstate);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 }
18678 Py_INCREF(Py_None); resultobj = Py_None;
18679 {
18680 PyObject *o = PyInt_FromLong((long) (*arg2));
18681 resultobj = t_output_helper(resultobj,o);
18682 }
18683 {
18684 PyObject *o = PyInt_FromLong((long) (*arg3));
18685 resultobj = t_output_helper(resultobj,o);
18686 }
18687 return resultobj;
18688 fail:
18689 return NULL;
18690 }
18691
18692
18693 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18694 PyObject *resultobj;
18695 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18696 int arg2 ;
18697 int arg3 ;
18698 PyObject * obj0 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self",(char *) "x",(char *) "y", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18705 {
18706 PyThreadState* __tstate = wxPyBeginAllowThreads();
18707 (arg1)->SetPPIScreen(arg2,arg3);
18708
18709 wxPyEndAllowThreads(__tstate);
18710 if (PyErr_Occurred()) SWIG_fail;
18711 }
18712 Py_INCREF(Py_None); resultobj = Py_None;
18713 return resultobj;
18714 fail:
18715 return NULL;
18716 }
18717
18718
18719 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18720 PyObject *resultobj;
18721 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18722 int *arg2 = (int *) 0 ;
18723 int *arg3 = (int *) 0 ;
18724 int temp2 ;
18725 int temp3 ;
18726 PyObject * obj0 = 0 ;
18727 char *kwnames[] = {
18728 (char *) "self", NULL
18729 };
18730
18731 arg2 = &temp2;
18732 arg3 = &temp3;
18733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18735 {
18736 PyThreadState* __tstate = wxPyBeginAllowThreads();
18737 (arg1)->GetPPIScreen(arg2,arg3);
18738
18739 wxPyEndAllowThreads(__tstate);
18740 if (PyErr_Occurred()) SWIG_fail;
18741 }
18742 Py_INCREF(Py_None); resultobj = Py_None;
18743 {
18744 PyObject *o = PyInt_FromLong((long) (*arg2));
18745 resultobj = t_output_helper(resultobj,o);
18746 }
18747 {
18748 PyObject *o = PyInt_FromLong((long) (*arg3));
18749 resultobj = t_output_helper(resultobj,o);
18750 }
18751 return resultobj;
18752 fail:
18753 return NULL;
18754 }
18755
18756
18757 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj;
18759 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18760 int arg2 ;
18761 int arg3 ;
18762 PyObject * obj0 = 0 ;
18763 char *kwnames[] = {
18764 (char *) "self",(char *) "x",(char *) "y", NULL
18765 };
18766
18767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18769 {
18770 PyThreadState* __tstate = wxPyBeginAllowThreads();
18771 (arg1)->SetPPIPrinter(arg2,arg3);
18772
18773 wxPyEndAllowThreads(__tstate);
18774 if (PyErr_Occurred()) SWIG_fail;
18775 }
18776 Py_INCREF(Py_None); resultobj = Py_None;
18777 return resultobj;
18778 fail:
18779 return NULL;
18780 }
18781
18782
18783 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18784 PyObject *resultobj;
18785 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18786 int *arg2 = (int *) 0 ;
18787 int *arg3 = (int *) 0 ;
18788 int temp2 ;
18789 int temp3 ;
18790 PyObject * obj0 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self", NULL
18793 };
18794
18795 arg2 = &temp2;
18796 arg3 = &temp3;
18797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18799 {
18800 PyThreadState* __tstate = wxPyBeginAllowThreads();
18801 (arg1)->GetPPIPrinter(arg2,arg3);
18802
18803 wxPyEndAllowThreads(__tstate);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 }
18806 Py_INCREF(Py_None); resultobj = Py_None;
18807 {
18808 PyObject *o = PyInt_FromLong((long) (*arg2));
18809 resultobj = t_output_helper(resultobj,o);
18810 }
18811 {
18812 PyObject *o = PyInt_FromLong((long) (*arg3));
18813 resultobj = t_output_helper(resultobj,o);
18814 }
18815 return resultobj;
18816 fail:
18817 return NULL;
18818 }
18819
18820
18821 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18822 PyObject *resultobj;
18823 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18824 bool result;
18825 PyObject * obj0 = 0 ;
18826 char *kwnames[] = {
18827 (char *) "self", NULL
18828 };
18829
18830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18832 {
18833 PyThreadState* __tstate = wxPyBeginAllowThreads();
18834 result = (bool)(arg1)->IsPreview();
18835
18836 wxPyEndAllowThreads(__tstate);
18837 if (PyErr_Occurred()) SWIG_fail;
18838 }
18839 resultobj = PyInt_FromLong((long)result);
18840 return resultobj;
18841 fail:
18842 return NULL;
18843 }
18844
18845
18846 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18847 PyObject *resultobj;
18848 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18849 bool arg2 ;
18850 PyObject * obj0 = 0 ;
18851 PyObject * obj1 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self",(char *) "p", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18858 {
18859 arg2 = (bool) SPyObj_AsBool(obj1);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 (arg1)->SetIsPreview(arg2);
18865
18866 wxPyEndAllowThreads(__tstate);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 Py_INCREF(Py_None); resultobj = Py_None;
18870 return resultobj;
18871 fail:
18872 return NULL;
18873 }
18874
18875
18876 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18879 int arg2 ;
18880 int arg3 ;
18881 bool result;
18882 PyObject * obj0 = 0 ;
18883 char *kwnames[] = {
18884 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18885 };
18886
18887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",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 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18892
18893 wxPyEndAllowThreads(__tstate);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
18896 resultobj = PyInt_FromLong((long)result);
18897 return resultobj;
18898 fail:
18899 return NULL;
18900 }
18901
18902
18903 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj;
18905 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18906 PyObject * obj0 = 0 ;
18907 char *kwnames[] = {
18908 (char *) "self", NULL
18909 };
18910
18911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18913 {
18914 PyThreadState* __tstate = wxPyBeginAllowThreads();
18915 (arg1)->base_OnEndDocument();
18916
18917 wxPyEndAllowThreads(__tstate);
18918 if (PyErr_Occurred()) SWIG_fail;
18919 }
18920 Py_INCREF(Py_None); resultobj = Py_None;
18921 return resultobj;
18922 fail:
18923 return NULL;
18924 }
18925
18926
18927 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18928 PyObject *resultobj;
18929 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18930 PyObject * obj0 = 0 ;
18931 char *kwnames[] = {
18932 (char *) "self", NULL
18933 };
18934
18935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 (arg1)->base_OnBeginPrinting();
18940
18941 wxPyEndAllowThreads(__tstate);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 Py_INCREF(Py_None); resultobj = Py_None;
18945 return resultobj;
18946 fail:
18947 return NULL;
18948 }
18949
18950
18951 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18952 PyObject *resultobj;
18953 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18954 PyObject * obj0 = 0 ;
18955 char *kwnames[] = {
18956 (char *) "self", NULL
18957 };
18958
18959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18961 {
18962 PyThreadState* __tstate = wxPyBeginAllowThreads();
18963 (arg1)->base_OnEndPrinting();
18964
18965 wxPyEndAllowThreads(__tstate);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 }
18968 Py_INCREF(Py_None); resultobj = Py_None;
18969 return resultobj;
18970 fail:
18971 return NULL;
18972 }
18973
18974
18975 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18976 PyObject *resultobj;
18977 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18978 PyObject * obj0 = 0 ;
18979 char *kwnames[] = {
18980 (char *) "self", NULL
18981 };
18982
18983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18985 {
18986 PyThreadState* __tstate = wxPyBeginAllowThreads();
18987 (arg1)->base_OnPreparePrinting();
18988
18989 wxPyEndAllowThreads(__tstate);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 Py_INCREF(Py_None); resultobj = Py_None;
18993 return resultobj;
18994 fail:
18995 return NULL;
18996 }
18997
18998
18999 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19000 PyObject *resultobj;
19001 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19002 int arg2 ;
19003 bool result;
19004 PyObject * obj0 = 0 ;
19005 char *kwnames[] = {
19006 (char *) "self",(char *) "page", NULL
19007 };
19008
19009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
19010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19011 {
19012 PyThreadState* __tstate = wxPyBeginAllowThreads();
19013 result = (bool)(arg1)->base_HasPage(arg2);
19014
19015 wxPyEndAllowThreads(__tstate);
19016 if (PyErr_Occurred()) SWIG_fail;
19017 }
19018 resultobj = PyInt_FromLong((long)result);
19019 return resultobj;
19020 fail:
19021 return NULL;
19022 }
19023
19024
19025 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19026 PyObject *resultobj;
19027 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19028 int *arg2 = (int *) 0 ;
19029 int *arg3 = (int *) 0 ;
19030 int *arg4 = (int *) 0 ;
19031 int *arg5 = (int *) 0 ;
19032 int temp2 ;
19033 int temp3 ;
19034 int temp4 ;
19035 int temp5 ;
19036 PyObject * obj0 = 0 ;
19037 char *kwnames[] = {
19038 (char *) "self", NULL
19039 };
19040
19041 arg2 = &temp2;
19042 arg3 = &temp3;
19043 arg4 = &temp4;
19044 arg5 = &temp5;
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",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)->base_GetPageInfo(arg2,arg3,arg4,arg5);
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 {
19064 PyObject *o = PyInt_FromLong((long) (*arg4));
19065 resultobj = t_output_helper(resultobj,o);
19066 }
19067 {
19068 PyObject *o = PyInt_FromLong((long) (*arg5));
19069 resultobj = t_output_helper(resultobj,o);
19070 }
19071 return resultobj;
19072 fail:
19073 return NULL;
19074 }
19075
19076
19077 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
19078 PyObject *obj;
19079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19080 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
19081 Py_INCREF(obj);
19082 return Py_BuildValue((char *)"");
19083 }
19084 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19085 PyObject *resultobj;
19086 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19087 wxWindow *arg2 = (wxWindow *) 0 ;
19088 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19089 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19090 wxSize const &arg4_defvalue = wxDefaultSize ;
19091 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19092 long arg5 = (long) 0 ;
19093 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
19094 wxString *arg6 = (wxString *) &arg6_defvalue ;
19095 wxPreviewCanvas *result;
19096 wxPoint temp3 ;
19097 wxSize temp4 ;
19098 bool temp6 = False ;
19099 PyObject * obj0 = 0 ;
19100 PyObject * obj1 = 0 ;
19101 PyObject * obj2 = 0 ;
19102 PyObject * obj3 = 0 ;
19103 PyObject * obj5 = 0 ;
19104 char *kwnames[] = {
19105 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19106 };
19107
19108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
19109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19111 if (obj2) {
19112 {
19113 arg3 = &temp3;
19114 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19115 }
19116 }
19117 if (obj3) {
19118 {
19119 arg4 = &temp4;
19120 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19121 }
19122 }
19123 if (obj5) {
19124 {
19125 arg6 = wxString_in_helper(obj5);
19126 if (arg6 == NULL) SWIG_fail;
19127 temp6 = True;
19128 }
19129 }
19130 {
19131 PyThreadState* __tstate = wxPyBeginAllowThreads();
19132 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19133
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
19138 {
19139 if (temp6)
19140 delete arg6;
19141 }
19142 return resultobj;
19143 fail:
19144 {
19145 if (temp6)
19146 delete arg6;
19147 }
19148 return NULL;
19149 }
19150
19151
19152 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
19153 PyObject *obj;
19154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19155 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
19156 Py_INCREF(obj);
19157 return Py_BuildValue((char *)"");
19158 }
19159 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19160 PyObject *resultobj;
19161 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19162 wxFrame *arg2 = (wxFrame *) 0 ;
19163 wxString *arg3 = 0 ;
19164 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19165 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19166 wxSize const &arg5_defvalue = wxDefaultSize ;
19167 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19168 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19169 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19170 wxString *arg7 = (wxString *) &arg7_defvalue ;
19171 wxPreviewFrame *result;
19172 bool temp3 = False ;
19173 wxPoint temp4 ;
19174 wxSize temp5 ;
19175 bool temp7 = False ;
19176 PyObject * obj0 = 0 ;
19177 PyObject * obj1 = 0 ;
19178 PyObject * obj2 = 0 ;
19179 PyObject * obj3 = 0 ;
19180 PyObject * obj4 = 0 ;
19181 PyObject * obj6 = 0 ;
19182 char *kwnames[] = {
19183 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19184 };
19185
19186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19188 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19189 {
19190 arg3 = wxString_in_helper(obj2);
19191 if (arg3 == NULL) SWIG_fail;
19192 temp3 = True;
19193 }
19194 if (obj3) {
19195 {
19196 arg4 = &temp4;
19197 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19198 }
19199 }
19200 if (obj4) {
19201 {
19202 arg5 = &temp5;
19203 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19204 }
19205 }
19206 if (obj6) {
19207 {
19208 arg7 = wxString_in_helper(obj6);
19209 if (arg7 == NULL) SWIG_fail;
19210 temp7 = True;
19211 }
19212 }
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
19215 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19216
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
19220 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19221 {
19222 if (temp3)
19223 delete arg3;
19224 }
19225 {
19226 if (temp7)
19227 delete arg7;
19228 }
19229 return resultobj;
19230 fail:
19231 {
19232 if (temp3)
19233 delete arg3;
19234 }
19235 {
19236 if (temp7)
19237 delete arg7;
19238 }
19239 return NULL;
19240 }
19241
19242
19243 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19244 PyObject *resultobj;
19245 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19246 PyObject * obj0 = 0 ;
19247 char *kwnames[] = {
19248 (char *) "self", NULL
19249 };
19250
19251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19253 {
19254 PyThreadState* __tstate = wxPyBeginAllowThreads();
19255 (arg1)->Initialize();
19256
19257 wxPyEndAllowThreads(__tstate);
19258 if (PyErr_Occurred()) SWIG_fail;
19259 }
19260 Py_INCREF(Py_None); resultobj = Py_None;
19261 return resultobj;
19262 fail:
19263 return NULL;
19264 }
19265
19266
19267 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19268 PyObject *resultobj;
19269 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19270 PyObject * obj0 = 0 ;
19271 char *kwnames[] = {
19272 (char *) "self", NULL
19273 };
19274
19275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19277 {
19278 PyThreadState* __tstate = wxPyBeginAllowThreads();
19279 (arg1)->CreateControlBar();
19280
19281 wxPyEndAllowThreads(__tstate);
19282 if (PyErr_Occurred()) SWIG_fail;
19283 }
19284 Py_INCREF(Py_None); resultobj = Py_None;
19285 return resultobj;
19286 fail:
19287 return NULL;
19288 }
19289
19290
19291 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19292 PyObject *resultobj;
19293 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19294 PyObject * obj0 = 0 ;
19295 char *kwnames[] = {
19296 (char *) "self", NULL
19297 };
19298
19299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19301 {
19302 PyThreadState* __tstate = wxPyBeginAllowThreads();
19303 (arg1)->CreateCanvas();
19304
19305 wxPyEndAllowThreads(__tstate);
19306 if (PyErr_Occurred()) SWIG_fail;
19307 }
19308 Py_INCREF(Py_None); resultobj = Py_None;
19309 return resultobj;
19310 fail:
19311 return NULL;
19312 }
19313
19314
19315 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19318 wxPreviewControlBar *result;
19319 PyObject * obj0 = 0 ;
19320 char *kwnames[] = {
19321 (char *) "self", NULL
19322 };
19323
19324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19329
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19334 return resultobj;
19335 fail:
19336 return NULL;
19337 }
19338
19339
19340 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19341 PyObject *obj;
19342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19343 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19344 Py_INCREF(obj);
19345 return Py_BuildValue((char *)"");
19346 }
19347 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19348 PyObject *resultobj;
19349 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19350 long arg2 ;
19351 wxWindow *arg3 = (wxWindow *) 0 ;
19352 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19353 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19354 wxSize const &arg5_defvalue = wxDefaultSize ;
19355 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19356 long arg6 = (long) wxTAB_TRAVERSAL ;
19357 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19358 wxString *arg7 = (wxString *) &arg7_defvalue ;
19359 wxPreviewControlBar *result;
19360 wxPoint temp4 ;
19361 wxSize temp5 ;
19362 bool temp7 = False ;
19363 PyObject * obj0 = 0 ;
19364 PyObject * obj2 = 0 ;
19365 PyObject * obj3 = 0 ;
19366 PyObject * obj4 = 0 ;
19367 PyObject * obj6 = 0 ;
19368 char *kwnames[] = {
19369 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19370 };
19371
19372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19374 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19375 if (obj3) {
19376 {
19377 arg4 = &temp4;
19378 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19379 }
19380 }
19381 if (obj4) {
19382 {
19383 arg5 = &temp5;
19384 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19385 }
19386 }
19387 if (obj6) {
19388 {
19389 arg7 = wxString_in_helper(obj6);
19390 if (arg7 == NULL) SWIG_fail;
19391 temp7 = True;
19392 }
19393 }
19394 {
19395 PyThreadState* __tstate = wxPyBeginAllowThreads();
19396 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19397
19398 wxPyEndAllowThreads(__tstate);
19399 if (PyErr_Occurred()) SWIG_fail;
19400 }
19401 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19402 {
19403 if (temp7)
19404 delete arg7;
19405 }
19406 return resultobj;
19407 fail:
19408 {
19409 if (temp7)
19410 delete arg7;
19411 }
19412 return NULL;
19413 }
19414
19415
19416 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19417 PyObject *resultobj;
19418 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19419 int result;
19420 PyObject * obj0 = 0 ;
19421 char *kwnames[] = {
19422 (char *) "self", NULL
19423 };
19424
19425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19427 {
19428 PyThreadState* __tstate = wxPyBeginAllowThreads();
19429 result = (int)(arg1)->GetZoomControl();
19430
19431 wxPyEndAllowThreads(__tstate);
19432 if (PyErr_Occurred()) SWIG_fail;
19433 }
19434 resultobj = PyInt_FromLong((long)result);
19435 return resultobj;
19436 fail:
19437 return NULL;
19438 }
19439
19440
19441 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19442 PyObject *resultobj;
19443 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19444 int arg2 ;
19445 PyObject * obj0 = 0 ;
19446 char *kwnames[] = {
19447 (char *) "self",(char *) "zoom", NULL
19448 };
19449
19450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19452 {
19453 PyThreadState* __tstate = wxPyBeginAllowThreads();
19454 (arg1)->SetZoomControl(arg2);
19455
19456 wxPyEndAllowThreads(__tstate);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 }
19459 Py_INCREF(Py_None); resultobj = Py_None;
19460 return resultobj;
19461 fail:
19462 return NULL;
19463 }
19464
19465
19466 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19467 PyObject *resultobj;
19468 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19469 wxPrintPreview *result;
19470 PyObject * obj0 = 0 ;
19471 char *kwnames[] = {
19472 (char *) "self", NULL
19473 };
19474
19475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19477 {
19478 PyThreadState* __tstate = wxPyBeginAllowThreads();
19479 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19485 return resultobj;
19486 fail:
19487 return NULL;
19488 }
19489
19490
19491 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19494 PyObject * obj0 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19501 {
19502 PyThreadState* __tstate = wxPyBeginAllowThreads();
19503 (arg1)->OnNext();
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_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19516 PyObject *resultobj;
19517 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19518 PyObject * obj0 = 0 ;
19519 char *kwnames[] = {
19520 (char *) "self", NULL
19521 };
19522
19523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19525 {
19526 PyThreadState* __tstate = wxPyBeginAllowThreads();
19527 (arg1)->OnPrevious();
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_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj;
19541 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19542 PyObject * obj0 = 0 ;
19543 char *kwnames[] = {
19544 (char *) "self", NULL
19545 };
19546
19547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19549 {
19550 PyThreadState* __tstate = wxPyBeginAllowThreads();
19551 (arg1)->OnFirst();
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_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19564 PyObject *resultobj;
19565 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19566 PyObject * obj0 = 0 ;
19567 char *kwnames[] = {
19568 (char *) "self", NULL
19569 };
19570
19571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19573 {
19574 PyThreadState* __tstate = wxPyBeginAllowThreads();
19575 (arg1)->OnLast();
19576
19577 wxPyEndAllowThreads(__tstate);
19578 if (PyErr_Occurred()) SWIG_fail;
19579 }
19580 Py_INCREF(Py_None); resultobj = Py_None;
19581 return resultobj;
19582 fail:
19583 return NULL;
19584 }
19585
19586
19587 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19588 PyObject *resultobj;
19589 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19590 PyObject * obj0 = 0 ;
19591 char *kwnames[] = {
19592 (char *) "self", NULL
19593 };
19594
19595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19597 {
19598 PyThreadState* __tstate = wxPyBeginAllowThreads();
19599 (arg1)->OnGoto();
19600
19601 wxPyEndAllowThreads(__tstate);
19602 if (PyErr_Occurred()) SWIG_fail;
19603 }
19604 Py_INCREF(Py_None); resultobj = Py_None;
19605 return resultobj;
19606 fail:
19607 return NULL;
19608 }
19609
19610
19611 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19612 PyObject *obj;
19613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19614 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19615 Py_INCREF(obj);
19616 return Py_BuildValue((char *)"");
19617 }
19618 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19619 PyObject *resultobj;
19620 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19621 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19622 wxPrintData *arg3 = (wxPrintData *) NULL ;
19623 wxPrintPreview *result;
19624 PyObject * obj0 = 0 ;
19625 PyObject * obj1 = 0 ;
19626 PyObject * obj2 = 0 ;
19627 char *kwnames[] = {
19628 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19629 };
19630
19631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19633 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19634 if (obj2) {
19635 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19636 }
19637 {
19638 PyThreadState* __tstate = wxPyBeginAllowThreads();
19639 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19640
19641 wxPyEndAllowThreads(__tstate);
19642 if (PyErr_Occurred()) SWIG_fail;
19643 }
19644 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19645 return resultobj;
19646 fail:
19647 return NULL;
19648 }
19649
19650
19651 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19652 PyObject *resultobj;
19653 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19654 int arg2 ;
19655 bool result;
19656 PyObject * obj0 = 0 ;
19657 char *kwnames[] = {
19658 (char *) "self",(char *) "pageNum", NULL
19659 };
19660
19661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19663 {
19664 PyThreadState* __tstate = wxPyBeginAllowThreads();
19665 result = (bool)(arg1)->SetCurrentPage(arg2);
19666
19667 wxPyEndAllowThreads(__tstate);
19668 if (PyErr_Occurred()) SWIG_fail;
19669 }
19670 resultobj = PyInt_FromLong((long)result);
19671 return resultobj;
19672 fail:
19673 return NULL;
19674 }
19675
19676
19677 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19678 PyObject *resultobj;
19679 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19680 int result;
19681 PyObject * obj0 = 0 ;
19682 char *kwnames[] = {
19683 (char *) "self", NULL
19684 };
19685
19686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19688 {
19689 PyThreadState* __tstate = wxPyBeginAllowThreads();
19690 result = (int)(arg1)->GetCurrentPage();
19691
19692 wxPyEndAllowThreads(__tstate);
19693 if (PyErr_Occurred()) SWIG_fail;
19694 }
19695 resultobj = PyInt_FromLong((long)result);
19696 return resultobj;
19697 fail:
19698 return NULL;
19699 }
19700
19701
19702 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19703 PyObject *resultobj;
19704 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19705 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19706 PyObject * obj0 = 0 ;
19707 PyObject * obj1 = 0 ;
19708 char *kwnames[] = {
19709 (char *) "self",(char *) "printout", NULL
19710 };
19711
19712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 (arg1)->SetPrintout(arg2);
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 Py_INCREF(Py_None); resultobj = Py_None;
19723 return resultobj;
19724 fail:
19725 return NULL;
19726 }
19727
19728
19729 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19730 PyObject *resultobj;
19731 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19732 wxPyPrintout *result;
19733 PyObject * obj0 = 0 ;
19734 char *kwnames[] = {
19735 (char *) "self", NULL
19736 };
19737
19738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19740 {
19741 PyThreadState* __tstate = wxPyBeginAllowThreads();
19742 result = (wxPyPrintout *)(arg1)->GetPrintout();
19743
19744 wxPyEndAllowThreads(__tstate);
19745 if (PyErr_Occurred()) SWIG_fail;
19746 }
19747 {
19748 resultobj = wxPyMake_wxObject(result);
19749 }
19750 return resultobj;
19751 fail:
19752 return NULL;
19753 }
19754
19755
19756 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19757 PyObject *resultobj;
19758 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19759 wxPyPrintout *result;
19760 PyObject * obj0 = 0 ;
19761 char *kwnames[] = {
19762 (char *) "self", NULL
19763 };
19764
19765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19767 {
19768 PyThreadState* __tstate = wxPyBeginAllowThreads();
19769 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19770
19771 wxPyEndAllowThreads(__tstate);
19772 if (PyErr_Occurred()) SWIG_fail;
19773 }
19774 {
19775 resultobj = wxPyMake_wxObject(result);
19776 }
19777 return resultobj;
19778 fail:
19779 return NULL;
19780 }
19781
19782
19783 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19784 PyObject *resultobj;
19785 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19786 wxFrame *arg2 = (wxFrame *) 0 ;
19787 PyObject * obj0 = 0 ;
19788 PyObject * obj1 = 0 ;
19789 char *kwnames[] = {
19790 (char *) "self",(char *) "frame", NULL
19791 };
19792
19793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19795 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19796 {
19797 PyThreadState* __tstate = wxPyBeginAllowThreads();
19798 (arg1)->SetFrame(arg2);
19799
19800 wxPyEndAllowThreads(__tstate);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 }
19803 Py_INCREF(Py_None); resultobj = Py_None;
19804 return resultobj;
19805 fail:
19806 return NULL;
19807 }
19808
19809
19810 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19811 PyObject *resultobj;
19812 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19813 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19814 PyObject * obj0 = 0 ;
19815 PyObject * obj1 = 0 ;
19816 char *kwnames[] = {
19817 (char *) "self",(char *) "canvas", NULL
19818 };
19819
19820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19822 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 (arg1)->SetCanvas(arg2);
19826
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 Py_INCREF(Py_None); resultobj = Py_None;
19831 return resultobj;
19832 fail:
19833 return NULL;
19834 }
19835
19836
19837 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19838 PyObject *resultobj;
19839 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19840 wxFrame *result;
19841 PyObject * obj0 = 0 ;
19842 char *kwnames[] = {
19843 (char *) "self", NULL
19844 };
19845
19846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 result = (wxFrame *)(arg1)->GetFrame();
19851
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
19855 {
19856 resultobj = wxPyMake_wxObject(result);
19857 }
19858 return resultobj;
19859 fail:
19860 return NULL;
19861 }
19862
19863
19864 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj;
19866 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19867 wxPreviewCanvas *result;
19868 PyObject * obj0 = 0 ;
19869 char *kwnames[] = {
19870 (char *) "self", NULL
19871 };
19872
19873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
19877 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19878
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19883 return resultobj;
19884 fail:
19885 return NULL;
19886 }
19887
19888
19889 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj;
19891 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19892 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19893 wxDC *arg3 = 0 ;
19894 bool result;
19895 PyObject * obj0 = 0 ;
19896 PyObject * obj1 = 0 ;
19897 PyObject * obj2 = 0 ;
19898 char *kwnames[] = {
19899 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19900 };
19901
19902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19904 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19905 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19906 if (arg3 == NULL) {
19907 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19908 }
19909 {
19910 PyThreadState* __tstate = wxPyBeginAllowThreads();
19911 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19912
19913 wxPyEndAllowThreads(__tstate);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 }
19916 resultobj = PyInt_FromLong((long)result);
19917 return resultobj;
19918 fail:
19919 return NULL;
19920 }
19921
19922
19923 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19924 PyObject *resultobj;
19925 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19926 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19927 wxDC *arg3 = 0 ;
19928 bool result;
19929 PyObject * obj0 = 0 ;
19930 PyObject * obj1 = 0 ;
19931 PyObject * obj2 = 0 ;
19932 char *kwnames[] = {
19933 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19934 };
19935
19936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19938 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19939 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19940 if (arg3 == NULL) {
19941 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19942 }
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19946
19947 wxPyEndAllowThreads(__tstate);
19948 if (PyErr_Occurred()) SWIG_fail;
19949 }
19950 resultobj = PyInt_FromLong((long)result);
19951 return resultobj;
19952 fail:
19953 return NULL;
19954 }
19955
19956
19957 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19958 PyObject *resultobj;
19959 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19960 int arg2 ;
19961 bool result;
19962 PyObject * obj0 = 0 ;
19963 char *kwnames[] = {
19964 (char *) "self",(char *) "pageNum", NULL
19965 };
19966
19967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19969 {
19970 PyThreadState* __tstate = wxPyBeginAllowThreads();
19971 result = (bool)(arg1)->RenderPage(arg2);
19972
19973 wxPyEndAllowThreads(__tstate);
19974 if (PyErr_Occurred()) SWIG_fail;
19975 }
19976 resultobj = PyInt_FromLong((long)result);
19977 return resultobj;
19978 fail:
19979 return NULL;
19980 }
19981
19982
19983 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19984 PyObject *resultobj;
19985 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19986 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19987 PyObject * obj0 = 0 ;
19988 PyObject * obj1 = 0 ;
19989 char *kwnames[] = {
19990 (char *) "self",(char *) "canvas", NULL
19991 };
19992
19993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 (arg1)->AdjustScrollbars(arg2);
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 Py_INCREF(Py_None); resultobj = Py_None;
20004 return resultobj;
20005 fail:
20006 return NULL;
20007 }
20008
20009
20010 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20011 PyObject *resultobj;
20012 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20013 wxPrintDialogData *result;
20014 PyObject * obj0 = 0 ;
20015 char *kwnames[] = {
20016 (char *) "self", NULL
20017 };
20018
20019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
20020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20021 {
20022 PyThreadState* __tstate = wxPyBeginAllowThreads();
20023 {
20024 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20025 result = (wxPrintDialogData *) &_result_ref;
20026 }
20027
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
20032 return resultobj;
20033 fail:
20034 return NULL;
20035 }
20036
20037
20038 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20039 PyObject *resultobj;
20040 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20041 int arg2 ;
20042 PyObject * obj0 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self",(char *) "percent", NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20049 {
20050 PyThreadState* __tstate = wxPyBeginAllowThreads();
20051 (arg1)->SetZoom(arg2);
20052
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 Py_INCREF(Py_None); resultobj = Py_None;
20057 return resultobj;
20058 fail:
20059 return NULL;
20060 }
20061
20062
20063 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20064 PyObject *resultobj;
20065 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20066 int result;
20067 PyObject * obj0 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
20073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 result = (int)(arg1)->GetZoom();
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 resultobj = PyInt_FromLong((long)result);
20082 return resultobj;
20083 fail:
20084 return NULL;
20085 }
20086
20087
20088 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20089 PyObject *resultobj;
20090 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20091 int result;
20092 PyObject * obj0 = 0 ;
20093 char *kwnames[] = {
20094 (char *) "self", NULL
20095 };
20096
20097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
20098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20099 {
20100 PyThreadState* __tstate = wxPyBeginAllowThreads();
20101 result = (int)(arg1)->GetMaxPage();
20102
20103 wxPyEndAllowThreads(__tstate);
20104 if (PyErr_Occurred()) SWIG_fail;
20105 }
20106 resultobj = PyInt_FromLong((long)result);
20107 return resultobj;
20108 fail:
20109 return NULL;
20110 }
20111
20112
20113 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20114 PyObject *resultobj;
20115 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20116 int result;
20117 PyObject * obj0 = 0 ;
20118 char *kwnames[] = {
20119 (char *) "self", NULL
20120 };
20121
20122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
20123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20124 {
20125 PyThreadState* __tstate = wxPyBeginAllowThreads();
20126 result = (int)(arg1)->GetMinPage();
20127
20128 wxPyEndAllowThreads(__tstate);
20129 if (PyErr_Occurred()) SWIG_fail;
20130 }
20131 resultobj = PyInt_FromLong((long)result);
20132 return resultobj;
20133 fail:
20134 return NULL;
20135 }
20136
20137
20138 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20139 PyObject *resultobj;
20140 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20141 bool result;
20142 PyObject * obj0 = 0 ;
20143 char *kwnames[] = {
20144 (char *) "self", NULL
20145 };
20146
20147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
20148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20149 {
20150 PyThreadState* __tstate = wxPyBeginAllowThreads();
20151 result = (bool)(arg1)->Ok();
20152
20153 wxPyEndAllowThreads(__tstate);
20154 if (PyErr_Occurred()) SWIG_fail;
20155 }
20156 resultobj = PyInt_FromLong((long)result);
20157 return resultobj;
20158 fail:
20159 return NULL;
20160 }
20161
20162
20163 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20164 PyObject *resultobj;
20165 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20166 bool arg2 ;
20167 PyObject * obj0 = 0 ;
20168 PyObject * obj1 = 0 ;
20169 char *kwnames[] = {
20170 (char *) "self",(char *) "ok", NULL
20171 };
20172
20173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
20174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20175 {
20176 arg2 = (bool) SPyObj_AsBool(obj1);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 {
20180 PyThreadState* __tstate = wxPyBeginAllowThreads();
20181 (arg1)->SetOk(arg2);
20182
20183 wxPyEndAllowThreads(__tstate);
20184 if (PyErr_Occurred()) SWIG_fail;
20185 }
20186 Py_INCREF(Py_None); resultobj = Py_None;
20187 return resultobj;
20188 fail:
20189 return NULL;
20190 }
20191
20192
20193 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20194 PyObject *resultobj;
20195 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20196 bool arg2 ;
20197 bool result;
20198 PyObject * obj0 = 0 ;
20199 PyObject * obj1 = 0 ;
20200 char *kwnames[] = {
20201 (char *) "self",(char *) "interactive", NULL
20202 };
20203
20204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20206 {
20207 arg2 = (bool) SPyObj_AsBool(obj1);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
20210 {
20211 PyThreadState* __tstate = wxPyBeginAllowThreads();
20212 result = (bool)(arg1)->Print(arg2);
20213
20214 wxPyEndAllowThreads(__tstate);
20215 if (PyErr_Occurred()) SWIG_fail;
20216 }
20217 resultobj = PyInt_FromLong((long)result);
20218 return resultobj;
20219 fail:
20220 return NULL;
20221 }
20222
20223
20224 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20225 PyObject *resultobj;
20226 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20227 PyObject * obj0 = 0 ;
20228 char *kwnames[] = {
20229 (char *) "self", NULL
20230 };
20231
20232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20234 {
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 (arg1)->DetermineScaling();
20237
20238 wxPyEndAllowThreads(__tstate);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 }
20241 Py_INCREF(Py_None); resultobj = Py_None;
20242 return resultobj;
20243 fail:
20244 return NULL;
20245 }
20246
20247
20248 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20249 PyObject *obj;
20250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20251 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20252 Py_INCREF(obj);
20253 return Py_BuildValue((char *)"");
20254 }
20255 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20256 PyObject *resultobj;
20257 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20258 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20259 wxPrintData *arg3 = (wxPrintData *) NULL ;
20260 wxPyPrintPreview *result;
20261 PyObject * obj0 = 0 ;
20262 PyObject * obj1 = 0 ;
20263 PyObject * obj2 = 0 ;
20264 char *kwnames[] = {
20265 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20266 };
20267
20268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20271 if (obj2) {
20272 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20273 }
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20282 return resultobj;
20283 fail:
20284 return NULL;
20285 }
20286
20287
20288 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20289 PyObject *resultobj;
20290 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20291 PyObject *arg2 = (PyObject *) 0 ;
20292 PyObject *arg3 = (PyObject *) 0 ;
20293 PyObject * obj0 = 0 ;
20294 PyObject * obj1 = 0 ;
20295 PyObject * obj2 = 0 ;
20296 char *kwnames[] = {
20297 (char *) "self",(char *) "self",(char *) "_class", NULL
20298 };
20299
20300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20302 arg2 = obj1;
20303 arg3 = obj2;
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
20306 (arg1)->_setCallbackInfo(arg2,arg3);
20307
20308 wxPyEndAllowThreads(__tstate);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 }
20311 Py_INCREF(Py_None); resultobj = Py_None;
20312 return resultobj;
20313 fail:
20314 return NULL;
20315 }
20316
20317
20318 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20319 PyObject *resultobj;
20320 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20321 int arg2 ;
20322 bool result;
20323 PyObject * obj0 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self",(char *) "pageNum", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
20332 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20333
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 resultobj = PyInt_FromLong((long)result);
20338 return resultobj;
20339 fail:
20340 return NULL;
20341 }
20342
20343
20344 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20345 PyObject *resultobj;
20346 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20347 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20348 wxDC *arg3 = 0 ;
20349 bool result;
20350 PyObject * obj0 = 0 ;
20351 PyObject * obj1 = 0 ;
20352 PyObject * obj2 = 0 ;
20353 char *kwnames[] = {
20354 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20355 };
20356
20357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20360 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20361 if (arg3 == NULL) {
20362 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20363 }
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20367
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 resultobj = PyInt_FromLong((long)result);
20372 return resultobj;
20373 fail:
20374 return NULL;
20375 }
20376
20377
20378 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20379 PyObject *resultobj;
20380 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20381 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20382 wxDC *arg3 = 0 ;
20383 bool result;
20384 PyObject * obj0 = 0 ;
20385 PyObject * obj1 = 0 ;
20386 PyObject * obj2 = 0 ;
20387 char *kwnames[] = {
20388 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20389 };
20390
20391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20394 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20395 if (arg3 == NULL) {
20396 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20397 }
20398 {
20399 PyThreadState* __tstate = wxPyBeginAllowThreads();
20400 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20401
20402 wxPyEndAllowThreads(__tstate);
20403 if (PyErr_Occurred()) SWIG_fail;
20404 }
20405 resultobj = PyInt_FromLong((long)result);
20406 return resultobj;
20407 fail:
20408 return NULL;
20409 }
20410
20411
20412 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20413 PyObject *resultobj;
20414 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20415 int arg2 ;
20416 bool result;
20417 PyObject * obj0 = 0 ;
20418 char *kwnames[] = {
20419 (char *) "self",(char *) "pageNum", NULL
20420 };
20421
20422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20424 {
20425 PyThreadState* __tstate = wxPyBeginAllowThreads();
20426 result = (bool)(arg1)->base_RenderPage(arg2);
20427
20428 wxPyEndAllowThreads(__tstate);
20429 if (PyErr_Occurred()) SWIG_fail;
20430 }
20431 resultobj = PyInt_FromLong((long)result);
20432 return resultobj;
20433 fail:
20434 return NULL;
20435 }
20436
20437
20438 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20439 PyObject *resultobj;
20440 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20441 int arg2 ;
20442 PyObject * obj0 = 0 ;
20443 char *kwnames[] = {
20444 (char *) "self",(char *) "percent", NULL
20445 };
20446
20447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20449 {
20450 PyThreadState* __tstate = wxPyBeginAllowThreads();
20451 (arg1)->base_SetZoom(arg2);
20452
20453 wxPyEndAllowThreads(__tstate);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 }
20456 Py_INCREF(Py_None); resultobj = Py_None;
20457 return resultobj;
20458 fail:
20459 return NULL;
20460 }
20461
20462
20463 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20464 PyObject *resultobj;
20465 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20466 bool arg2 ;
20467 bool result;
20468 PyObject * obj0 = 0 ;
20469 PyObject * obj1 = 0 ;
20470 char *kwnames[] = {
20471 (char *) "self",(char *) "interactive", NULL
20472 };
20473
20474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20476 {
20477 arg2 = (bool) SPyObj_AsBool(obj1);
20478 if (PyErr_Occurred()) SWIG_fail;
20479 }
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 result = (bool)(arg1)->base_Print(arg2);
20483
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 resultobj = PyInt_FromLong((long)result);
20488 return resultobj;
20489 fail:
20490 return NULL;
20491 }
20492
20493
20494 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20495 PyObject *resultobj;
20496 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20497 PyObject * obj0 = 0 ;
20498 char *kwnames[] = {
20499 (char *) "self", NULL
20500 };
20501
20502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20504 {
20505 PyThreadState* __tstate = wxPyBeginAllowThreads();
20506 (arg1)->base_DetermineScaling();
20507
20508 wxPyEndAllowThreads(__tstate);
20509 if (PyErr_Occurred()) SWIG_fail;
20510 }
20511 Py_INCREF(Py_None); resultobj = Py_None;
20512 return resultobj;
20513 fail:
20514 return NULL;
20515 }
20516
20517
20518 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20519 PyObject *obj;
20520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20521 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20522 Py_INCREF(obj);
20523 return Py_BuildValue((char *)"");
20524 }
20525 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20526 PyObject *resultobj;
20527 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20528 wxFrame *arg2 = (wxFrame *) 0 ;
20529 wxString *arg3 = 0 ;
20530 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20531 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20532 wxSize const &arg5_defvalue = wxDefaultSize ;
20533 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20534 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20535 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20536 wxString *arg7 = (wxString *) &arg7_defvalue ;
20537 wxPyPreviewFrame *result;
20538 bool temp3 = False ;
20539 wxPoint temp4 ;
20540 wxSize temp5 ;
20541 bool temp7 = False ;
20542 PyObject * obj0 = 0 ;
20543 PyObject * obj1 = 0 ;
20544 PyObject * obj2 = 0 ;
20545 PyObject * obj3 = 0 ;
20546 PyObject * obj4 = 0 ;
20547 PyObject * obj6 = 0 ;
20548 char *kwnames[] = {
20549 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20550 };
20551
20552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20554 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20555 {
20556 arg3 = wxString_in_helper(obj2);
20557 if (arg3 == NULL) SWIG_fail;
20558 temp3 = True;
20559 }
20560 if (obj3) {
20561 {
20562 arg4 = &temp4;
20563 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20564 }
20565 }
20566 if (obj4) {
20567 {
20568 arg5 = &temp5;
20569 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20570 }
20571 }
20572 if (obj6) {
20573 {
20574 arg7 = wxString_in_helper(obj6);
20575 if (arg7 == NULL) SWIG_fail;
20576 temp7 = True;
20577 }
20578 }
20579 {
20580 PyThreadState* __tstate = wxPyBeginAllowThreads();
20581 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20582
20583 wxPyEndAllowThreads(__tstate);
20584 if (PyErr_Occurred()) SWIG_fail;
20585 }
20586 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20587 {
20588 if (temp3)
20589 delete arg3;
20590 }
20591 {
20592 if (temp7)
20593 delete arg7;
20594 }
20595 return resultobj;
20596 fail:
20597 {
20598 if (temp3)
20599 delete arg3;
20600 }
20601 {
20602 if (temp7)
20603 delete arg7;
20604 }
20605 return NULL;
20606 }
20607
20608
20609 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20610 PyObject *resultobj;
20611 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20612 PyObject *arg2 = (PyObject *) 0 ;
20613 PyObject *arg3 = (PyObject *) 0 ;
20614 PyObject * obj0 = 0 ;
20615 PyObject * obj1 = 0 ;
20616 PyObject * obj2 = 0 ;
20617 char *kwnames[] = {
20618 (char *) "self",(char *) "self",(char *) "_class", NULL
20619 };
20620
20621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20623 arg2 = obj1;
20624 arg3 = obj2;
20625 {
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
20627 (arg1)->_setCallbackInfo(arg2,arg3);
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 Py_INCREF(Py_None); resultobj = Py_None;
20633 return resultobj;
20634 fail:
20635 return NULL;
20636 }
20637
20638
20639 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj;
20641 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20642 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20643 PyObject * obj0 = 0 ;
20644 PyObject * obj1 = 0 ;
20645 char *kwnames[] = {
20646 (char *) "self",(char *) "canvas", NULL
20647 };
20648
20649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20652 {
20653 PyThreadState* __tstate = wxPyBeginAllowThreads();
20654 (arg1)->SetPreviewCanvas(arg2);
20655
20656 wxPyEndAllowThreads(__tstate);
20657 if (PyErr_Occurred()) SWIG_fail;
20658 }
20659 Py_INCREF(Py_None); resultobj = Py_None;
20660 return resultobj;
20661 fail:
20662 return NULL;
20663 }
20664
20665
20666 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20667 PyObject *resultobj;
20668 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20669 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20670 PyObject * obj0 = 0 ;
20671 PyObject * obj1 = 0 ;
20672 char *kwnames[] = {
20673 (char *) "self",(char *) "bar", NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 (arg1)->SetControlBar(arg2);
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 Py_INCREF(Py_None); resultobj = Py_None;
20687 return resultobj;
20688 fail:
20689 return NULL;
20690 }
20691
20692
20693 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20694 PyObject *resultobj;
20695 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20696 PyObject * obj0 = 0 ;
20697 char *kwnames[] = {
20698 (char *) "self", NULL
20699 };
20700
20701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20703 {
20704 PyThreadState* __tstate = wxPyBeginAllowThreads();
20705 (arg1)->base_Initialize();
20706
20707 wxPyEndAllowThreads(__tstate);
20708 if (PyErr_Occurred()) SWIG_fail;
20709 }
20710 Py_INCREF(Py_None); resultobj = Py_None;
20711 return resultobj;
20712 fail:
20713 return NULL;
20714 }
20715
20716
20717 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20718 PyObject *resultobj;
20719 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20720 PyObject * obj0 = 0 ;
20721 char *kwnames[] = {
20722 (char *) "self", NULL
20723 };
20724
20725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20727 {
20728 PyThreadState* __tstate = wxPyBeginAllowThreads();
20729 (arg1)->base_CreateCanvas();
20730
20731 wxPyEndAllowThreads(__tstate);
20732 if (PyErr_Occurred()) SWIG_fail;
20733 }
20734 Py_INCREF(Py_None); resultobj = Py_None;
20735 return resultobj;
20736 fail:
20737 return NULL;
20738 }
20739
20740
20741 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20742 PyObject *resultobj;
20743 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20744 PyObject * obj0 = 0 ;
20745 char *kwnames[] = {
20746 (char *) "self", NULL
20747 };
20748
20749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20751 {
20752 PyThreadState* __tstate = wxPyBeginAllowThreads();
20753 (arg1)->base_CreateControlBar();
20754
20755 wxPyEndAllowThreads(__tstate);
20756 if (PyErr_Occurred()) SWIG_fail;
20757 }
20758 Py_INCREF(Py_None); resultobj = Py_None;
20759 return resultobj;
20760 fail:
20761 return NULL;
20762 }
20763
20764
20765 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20766 PyObject *obj;
20767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20768 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20769 Py_INCREF(obj);
20770 return Py_BuildValue((char *)"");
20771 }
20772 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20773 PyObject *resultobj;
20774 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20775 long arg2 ;
20776 wxWindow *arg3 = (wxWindow *) 0 ;
20777 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20778 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20779 wxSize const &arg5_defvalue = wxDefaultSize ;
20780 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20781 long arg6 = (long) 0 ;
20782 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20783 wxString *arg7 = (wxString *) &arg7_defvalue ;
20784 wxPyPreviewControlBar *result;
20785 wxPoint temp4 ;
20786 wxSize temp5 ;
20787 bool temp7 = False ;
20788 PyObject * obj0 = 0 ;
20789 PyObject * obj2 = 0 ;
20790 PyObject * obj3 = 0 ;
20791 PyObject * obj4 = 0 ;
20792 PyObject * obj6 = 0 ;
20793 char *kwnames[] = {
20794 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20795 };
20796
20797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20799 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20800 if (obj3) {
20801 {
20802 arg4 = &temp4;
20803 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20804 }
20805 }
20806 if (obj4) {
20807 {
20808 arg5 = &temp5;
20809 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20810 }
20811 }
20812 if (obj6) {
20813 {
20814 arg7 = wxString_in_helper(obj6);
20815 if (arg7 == NULL) SWIG_fail;
20816 temp7 = True;
20817 }
20818 }
20819 {
20820 PyThreadState* __tstate = wxPyBeginAllowThreads();
20821 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20822
20823 wxPyEndAllowThreads(__tstate);
20824 if (PyErr_Occurred()) SWIG_fail;
20825 }
20826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20827 {
20828 if (temp7)
20829 delete arg7;
20830 }
20831 return resultobj;
20832 fail:
20833 {
20834 if (temp7)
20835 delete arg7;
20836 }
20837 return NULL;
20838 }
20839
20840
20841 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20842 PyObject *resultobj;
20843 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20844 PyObject *arg2 = (PyObject *) 0 ;
20845 PyObject *arg3 = (PyObject *) 0 ;
20846 PyObject * obj0 = 0 ;
20847 PyObject * obj1 = 0 ;
20848 PyObject * obj2 = 0 ;
20849 char *kwnames[] = {
20850 (char *) "self",(char *) "self",(char *) "_class", NULL
20851 };
20852
20853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20855 arg2 = obj1;
20856 arg3 = obj2;
20857 {
20858 PyThreadState* __tstate = wxPyBeginAllowThreads();
20859 (arg1)->_setCallbackInfo(arg2,arg3);
20860
20861 wxPyEndAllowThreads(__tstate);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 Py_INCREF(Py_None); resultobj = Py_None;
20865 return resultobj;
20866 fail:
20867 return NULL;
20868 }
20869
20870
20871 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20872 PyObject *resultobj;
20873 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20874 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20875 PyObject * obj0 = 0 ;
20876 PyObject * obj1 = 0 ;
20877 char *kwnames[] = {
20878 (char *) "self",(char *) "preview", NULL
20879 };
20880
20881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20884 {
20885 PyThreadState* __tstate = wxPyBeginAllowThreads();
20886 (arg1)->SetPrintPreview(arg2);
20887
20888 wxPyEndAllowThreads(__tstate);
20889 if (PyErr_Occurred()) SWIG_fail;
20890 }
20891 Py_INCREF(Py_None); resultobj = Py_None;
20892 return resultobj;
20893 fail:
20894 return NULL;
20895 }
20896
20897
20898 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20899 PyObject *resultobj;
20900 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20901 PyObject * obj0 = 0 ;
20902 char *kwnames[] = {
20903 (char *) "self", NULL
20904 };
20905
20906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20908 {
20909 PyThreadState* __tstate = wxPyBeginAllowThreads();
20910 (arg1)->base_CreateButtons();
20911
20912 wxPyEndAllowThreads(__tstate);
20913 if (PyErr_Occurred()) SWIG_fail;
20914 }
20915 Py_INCREF(Py_None); resultobj = Py_None;
20916 return resultobj;
20917 fail:
20918 return NULL;
20919 }
20920
20921
20922 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20923 PyObject *resultobj;
20924 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20925 int arg2 ;
20926 PyObject * obj0 = 0 ;
20927 char *kwnames[] = {
20928 (char *) "self",(char *) "zoom", NULL
20929 };
20930
20931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20933 {
20934 PyThreadState* __tstate = wxPyBeginAllowThreads();
20935 (arg1)->base_SetZoomControl(arg2);
20936
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 Py_INCREF(Py_None); resultobj = Py_None;
20941 return resultobj;
20942 fail:
20943 return NULL;
20944 }
20945
20946
20947 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20948 PyObject *obj;
20949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20950 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20951 Py_INCREF(obj);
20952 return Py_BuildValue((char *)"");
20953 }
20954 static PyMethodDef SwigMethods[] = {
20955 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20960 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20966 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20968 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20975 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20976 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20978 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20979 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
20983 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20991 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20997 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
21006 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
21020 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
21032 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
21035 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
21036 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
21037 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
21040 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
21042 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
21043 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
21044 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
21045 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
21047 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21051 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
21060 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
21086 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
21093 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
21116 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
21124 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
21136 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
21142 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
21151 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
21157 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
21160 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
21163 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
21167 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21185 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21211 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21218 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21221 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21223 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21232 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21236 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21244 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21262 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21266 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21272 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21277 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21293 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21297 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21300 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21304 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21313 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21322 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21328 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21340 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21347 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21351 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21361 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21362 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21367 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21369 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21370 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21371 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21372 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21376 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21378 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21382 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21386 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21387 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21388 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21389 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21390 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21392 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21393 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21394 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21396 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21397 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21399 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21400 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21402 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21403 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21404 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21405 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21406 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21408 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21409 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21412 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21413 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21414 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21415 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21417 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21418 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21419 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21421 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21422 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21423 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21425 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21427 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21428 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21429 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21430 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21431 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21432 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21433 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21434 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21436 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21437 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21438 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21439 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21440 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21441 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21442 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21443 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21444 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21445 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21446 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21447 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21448 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21449 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21450 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21451 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21452 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21453 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21454 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21455 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21456 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21457 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21458 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21459 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21460 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21461 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21462 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21463 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21464 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21465 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21466 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21467 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21468 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21469 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21470 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21471 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21472 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21473 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21474 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21475 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21476 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21477 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21478 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21479 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21480 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21481 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21482 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21483 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21484 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21485 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21486 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21487 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21488 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21489 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21490 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21491 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21492 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21493 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21494 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21495 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21496 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21497 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21498 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21499 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21500 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21501 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21502 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21503 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21504 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21505 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21506 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21507 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21508 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21509 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21510 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21511 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21512 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21513 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21514 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21515 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21516 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21517 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21518 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21519 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21520 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21521 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21522 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21523 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21524 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21525 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21526 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21527 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21528 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21529 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21530 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21531 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21532 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21533 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21534 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21535 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21536 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21537 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21538 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21539 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21540 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21541 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21542 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21543 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21544 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21545 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21546 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21547 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21548 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21549 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21550 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21551 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21552 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21553 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21554 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21555 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21556 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21557 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21558 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21559 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21560 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21561 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21562 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21563 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21564 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21565 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21566 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21567 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21568 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21569 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21570 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21571 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21572 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21573 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21574 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21575 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21576 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21577 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21578 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21579 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21580 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21581 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21582 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21583 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21584 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21585 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21586 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21587 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21588 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21589 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21590 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21591 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21592 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21593 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21594 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21595 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21596 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21597 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21598 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21599 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21600 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21601 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21602 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21603 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21604 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21605 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21606 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21607 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21608 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21609 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21610 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21611 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21612 { NULL, NULL }
21613 };
21614
21615
21616 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21617
21618 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21619 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21620 }
21621 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21622 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21623 }
21624 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21625 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21626 }
21627 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21628 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21629 }
21630 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21631 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21632 }
21633 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21634 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21635 }
21636 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21637 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21638 }
21639 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21640 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21641 }
21642 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21643 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21644 }
21645 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21646 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21647 }
21648 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21649 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21650 }
21651 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21652 return (void *)((wxEvent *) ((wxPyEvent *) x));
21653 }
21654 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21655 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21656 }
21657 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21658 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21659 }
21660 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21661 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21662 }
21663 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21664 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21665 }
21666 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21667 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21668 }
21669 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21670 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21671 }
21672 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21673 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21674 }
21675 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21676 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21677 }
21678 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21679 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21680 }
21681 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21682 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21683 }
21684 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21685 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21686 }
21687 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21688 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21689 }
21690 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21691 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21692 }
21693 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21694 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21695 }
21696 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21697 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21698 }
21699 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21700 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21701 }
21702 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21703 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21704 }
21705 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21706 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21707 }
21708 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21709 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21710 }
21711 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21712 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21713 }
21714 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21715 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21716 }
21717 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21718 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21719 }
21720 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21721 return (void *)((wxEvent *) ((wxShowEvent *) x));
21722 }
21723 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21724 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21725 }
21726 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21727 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21728 }
21729 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21730 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21731 }
21732 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21733 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21734 }
21735 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21736 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21737 }
21738 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21739 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21740 }
21741 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21742 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21743 }
21744 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21745 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21746 }
21747 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21748 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21749 }
21750 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21751 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21752 }
21753 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21754 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21755 }
21756 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21757 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21758 }
21759 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21760 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21761 }
21762 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21763 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21764 }
21765 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21766 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21767 }
21768 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21769 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21770 }
21771 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21772 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21773 }
21774 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21775 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21776 }
21777 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21778 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21779 }
21780 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21781 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21782 }
21783 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21784 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21785 }
21786 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21787 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21788 }
21789 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21790 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21791 }
21792 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21793 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21794 }
21795 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21796 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21797 }
21798 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21799 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21800 }
21801 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21802 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21803 }
21804 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21805 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21806 }
21807 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21808 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21809 }
21810 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21811 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21812 }
21813 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21814 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21815 }
21816 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21817 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21818 }
21819 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21820 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21821 }
21822 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21823 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21824 }
21825 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21826 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21827 }
21828 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21829 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21830 }
21831 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21832 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21833 }
21834 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21835 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21836 }
21837 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21838 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21839 }
21840 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21841 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21842 }
21843 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21844 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21845 }
21846 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21847 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21848 }
21849 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21850 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21851 }
21852 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21853 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21854 }
21855 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21856 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21857 }
21858 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21859 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21860 }
21861 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21862 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21863 }
21864 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21865 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21866 }
21867 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21868 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21869 }
21870 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21871 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21872 }
21873 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21874 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21875 }
21876 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21877 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21878 }
21879 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21880 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21881 }
21882 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21883 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21884 }
21885 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21886 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21887 }
21888 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21889 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21890 }
21891 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21892 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21893 }
21894 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21895 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21896 }
21897 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21898 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21899 }
21900 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21901 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21902 }
21903 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
21904 return (void *)((wxFrame *) ((wxTipWindow *) x));
21905 }
21906 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21907 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21908 }
21909 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21910 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21911 }
21912 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21913 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21914 }
21915 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21916 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21917 }
21918 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21919 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21920 }
21921 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21922 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21923 }
21924 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21925 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21926 }
21927 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21929 }
21930 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21932 }
21933 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21934 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21935 }
21936 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21937 return (void *)((wxObject *) ((wxSizerItem *) x));
21938 }
21939 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21940 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21941 }
21942 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21943 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21944 }
21945 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21946 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21947 }
21948 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21949 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21950 }
21951 static void *_p_wxSizerTo_p_wxObject(void *x) {
21952 return (void *)((wxObject *) ((wxSizer *) x));
21953 }
21954 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21955 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21956 }
21957 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21958 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21959 }
21960 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21962 }
21963 static void *_p_wxEventTo_p_wxObject(void *x) {
21964 return (void *)((wxObject *) ((wxEvent *) x));
21965 }
21966 static void *_p_wxFontDataTo_p_wxObject(void *x) {
21967 return (void *)((wxObject *) ((wxFontData *) x));
21968 }
21969 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21970 return (void *)((wxObject *) ((wxPrintData *) x));
21971 }
21972 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21973 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21974 }
21975 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21976 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21977 }
21978 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21979 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21980 }
21981 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21982 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21983 }
21984 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21985 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21986 }
21987 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21988 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21989 }
21990 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21991 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21992 }
21993 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21994 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21995 }
21996 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21997 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21998 }
21999 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
22000 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
22001 }
22002 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
22003 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22004 }
22005 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
22006 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
22007 }
22008 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
22009 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22010 }
22011 static void *_p_wxControlTo_p_wxObject(void *x) {
22012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
22013 }
22014 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
22015 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
22016 }
22017 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
22018 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
22019 }
22020 static void *_p_wxFSFileTo_p_wxObject(void *x) {
22021 return (void *)((wxObject *) ((wxFSFile *) x));
22022 }
22023 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
22024 return (void *)((wxObject *) ((wxFindReplaceData *) x));
22025 }
22026 static void *_p_wxPySizerTo_p_wxObject(void *x) {
22027 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
22028 }
22029 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
22030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22031 }
22032 static void *_p_wxColourDataTo_p_wxObject(void *x) {
22033 return (void *)((wxObject *) ((wxColourData *) x));
22034 }
22035 static void *_p_wxPyEventTo_p_wxObject(void *x) {
22036 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
22037 }
22038 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
22039 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
22040 }
22041 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
22042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
22043 }
22044 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
22045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22046 }
22047 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
22048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22049 }
22050 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
22051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22052 }
22053 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
22054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22055 }
22056 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
22057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22058 }
22059 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
22060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22061 }
22062 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
22063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22064 }
22065 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
22066 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22067 }
22068 static void *_p_wxShowEventTo_p_wxObject(void *x) {
22069 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
22070 }
22071 static void *_p_wxPrinterTo_p_wxObject(void *x) {
22072 return (void *)((wxObject *) ((wxPrinter *) x));
22073 }
22074 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
22075 return (void *)((wxObject *) ((wxMenuItem *) x));
22076 }
22077 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
22078 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
22079 }
22080 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
22081 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
22082 }
22083 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
22084 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
22085 }
22086 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
22087 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
22088 }
22089 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
22090 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
22091 }
22092 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
22093 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
22094 }
22095 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
22096 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
22097 }
22098 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
22099 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
22100 }
22101 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
22102 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
22103 }
22104 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
22105 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
22106 }
22107 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
22108 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
22109 }
22110 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
22111 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
22112 }
22113 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
22114 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
22115 }
22116 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
22117 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
22118 }
22119 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
22120 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
22121 }
22122 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
22123 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
22124 }
22125 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
22126 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
22127 }
22128 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
22129 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
22130 }
22131 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
22132 return (void *)((wxObject *) ((wxImageHandler *) x));
22133 }
22134 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
22135 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
22136 }
22137 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
22138 return (void *)((wxObject *) ((wxEvtHandler *) x));
22139 }
22140 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
22141 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
22142 }
22143 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
22144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22145 }
22146 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
22147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22148 }
22149 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
22150 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
22151 }
22152 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
22153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22154 }
22155 static void *_p_wxImageTo_p_wxObject(void *x) {
22156 return (void *)((wxObject *) ((wxImage *) x));
22157 }
22158 static void *_p_wxFrameTo_p_wxObject(void *x) {
22159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22160 }
22161 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
22162 return (void *)((wxObject *) ((wxPyPrintout *) x));
22163 }
22164 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
22165 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
22166 }
22167 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
22168 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
22169 }
22170 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
22171 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
22172 }
22173 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
22174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22175 }
22176 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
22177 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22178 }
22179 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22180 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22181 }
22182 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22183 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22184 }
22185 static void *_p_wxWindowTo_p_wxObject(void *x) {
22186 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22187 }
22188 static void *_p_wxMenuTo_p_wxObject(void *x) {
22189 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22190 }
22191 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22193 }
22194 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22196 }
22197 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22199 }
22200 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22202 }
22203 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22204 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22205 }
22206 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22207 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22208 }
22209 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22211 }
22212 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22214 }
22215 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22217 }
22218 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
22220 }
22221 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22223 }
22224 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22225 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22226 }
22227 static void *_p_wxSashEventTo_p_wxObject(void *x) {
22228 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22229 }
22230 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22231 return (void *)((wxObject *) ((wxPrintPreview *) x));
22232 }
22233 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22234 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22235 }
22236 static void *_p_wxPanelTo_p_wxObject(void *x) {
22237 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22238 }
22239 static void *_p_wxDialogTo_p_wxObject(void *x) {
22240 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22241 }
22242 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22244 }
22245 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22247 }
22248 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22250 }
22251 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22252 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22253 }
22254 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22255 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22256 }
22257 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22258 return (void *)((wxObject *) ((wxFileSystem *) x));
22259 }
22260 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22261 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22262 }
22263 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22264 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22265 }
22266 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22267 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22268 }
22269 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22270 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22271 }
22272 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22273 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22274 }
22275 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22276 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22277 }
22278 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22279 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22280 }
22281 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22282 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22283 }
22284 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22286 }
22287 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22289 }
22290 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22291 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22292 }
22293 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22294 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22295 }
22296 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22297 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22298 }
22299 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22301 }
22302 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22303 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22304 }
22305 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22306 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22307 }
22308 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22309 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22310 }
22311 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22312 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22313 }
22314 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22315 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22316 }
22317 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22318 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22319 }
22320 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22321 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22322 }
22323 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22324 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22325 }
22326 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22327 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22328 }
22329 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22330 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22331 }
22332 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22333 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22334 }
22335 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22336 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22337 }
22338 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22339 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22340 }
22341 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22342 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22343 }
22344 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22345 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22346 }
22347 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22348 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22349 }
22350 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22351 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22352 }
22353 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
22354 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
22355 }
22356 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22357 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22358 }
22359 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22360 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22361 }
22362 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22363 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22364 }
22365 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22366 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22367 }
22368 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22369 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22370 }
22371 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22372 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22373 }
22374 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22375 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22376 }
22377 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22378 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22379 }
22380 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22381 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22382 }
22383 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22384 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22385 }
22386 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22387 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22388 }
22389 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22390 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22391 }
22392 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22393 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22394 }
22395 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22396 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22397 }
22398 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22399 return (void *)((wxWindow *) ((wxMenuBar *) x));
22400 }
22401 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22402 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22403 }
22404 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22405 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22406 }
22407 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22408 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22409 }
22410 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22411 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22412 }
22413 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22414 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22415 }
22416 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22417 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22418 }
22419 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22420 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22421 }
22422 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22423 return (void *)((wxWindow *) ((wxPanel *) x));
22424 }
22425 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22426 return (void *)((wxWindow *) ((wxStatusBar *) x));
22427 }
22428 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22429 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22430 }
22431 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22432 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22433 }
22434 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22435 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
22436 }
22437 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22438 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22439 }
22440 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22441 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22442 }
22443 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22444 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22445 }
22446 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22447 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22448 }
22449 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22450 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22451 }
22452 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22453 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22454 }
22455 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22456 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22457 }
22458 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22459 return (void *)((wxWindow *) ((wxSashWindow *) x));
22460 }
22461 static void *_p_wxControlTo_p_wxWindow(void *x) {
22462 return (void *)((wxWindow *) ((wxControl *) x));
22463 }
22464 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22465 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22466 }
22467 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22468 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22469 }
22470 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22471 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22472 }
22473 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22474 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22475 }
22476 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22477 return (void *)((wxWindow *) ((wxPyWindow *) x));
22478 }
22479 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22480 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22481 }
22482 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22483 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22484 }
22485 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22486 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22487 }
22488 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22489 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22490 }
22491 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22492 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22493 }
22494 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22495 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22496 }
22497 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22498 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22499 }
22500 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22501 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22502 }
22503 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22504 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22505 }
22506 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22507 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22508 }
22509 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22510 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22511 }
22512 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22513 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22514 }
22515 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22516 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22517 }
22518 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22519 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22520 }
22521 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22522 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22523 }
22524 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22525 return (void *)((wxDialog *) ((wxColourDialog *) x));
22526 }
22527 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22528 return (void *)((wxDialog *) ((wxDirDialog *) x));
22529 }
22530 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22531 return (void *)((wxDialog *) ((wxFontDialog *) x));
22532 }
22533 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22534 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22535 }
22536 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22537 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22538 }
22539 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22540 return (void *)((wxDialog *) ((wxFileDialog *) x));
22541 }
22542 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22543 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22544 }
22545 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22546 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22547 }
22548 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22549 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22550 }
22551 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22552 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22553 }
22554 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22555 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22556 }
22557 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22558 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22559 }
22560 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22561 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22562 }
22563 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22564 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22565 }
22566 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22567 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22568 }
22569 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22570 return (void *)((wxPanel *) ((wxPyPanel *) x));
22571 }
22572 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22573 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22574 }
22575 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22576 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22577 }
22578 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22579 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22580 }
22581 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22582 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22583 }
22584 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22585 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22586 }
22587 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22588 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22589 }
22590 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22591 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22592 }
22593 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22594 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22595 }
22596 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22597 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22598 }
22599 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22600 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22601 }
22602 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22603 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22604 }
22605 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22606 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22607 }
22608 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22609 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22610 }
22611 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22612 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22613 }
22614 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22615 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22616 }
22617 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22618 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22619 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22620 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22621 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22622 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22623 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22624 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}};
22625 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22626 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22627 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22628 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22629 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22630 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22631 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22632 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22633 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22634 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22635 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22636 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22637 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22638 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22639 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22640 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22641 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22642 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22643 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22644 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22645 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22646 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22647 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22648 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22649 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22650 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22651 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22652 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_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}};
22653 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22654 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22655 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22656 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22657 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22658 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_wxTipWindow", _p_wxTipWindowTo_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}};
22659 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22660 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22661 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22662 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22663 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22664 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22665 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
22666 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22667 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22668 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22669 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
22670 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22671 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22672 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}};
22673 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{0}};
22674 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22675 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_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_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}};
22676 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_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}};
22677 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22678 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22679 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22680 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22681 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22682 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22683 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22684 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22685 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22686 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22687 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22688 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}};
22689 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}};
22690 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22691 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22692 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}};
22693 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22694 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22695 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22696 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22697 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22698 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22699
22700 static swig_type_info *swig_types_initial[] = {
22701 _swigt__p_wxQueryLayoutInfoEvent,
22702 _swigt__p_wxPreviewFrame,
22703 _swigt__p_wxPyPreviewFrame,
22704 _swigt__p_wxPyPanel,
22705 _swigt__p_wxMenu,
22706 _swigt__p_wxPrintData,
22707 _swigt__p_wxFontData,
22708 _swigt__p_wxEvent,
22709 _swigt__p_wxTaskBarIcon,
22710 _swigt__p_wxIconBundle,
22711 _swigt__p_wxLayoutAlgorithm,
22712 _swigt__p_wxFindDialogEvent,
22713 _swigt__p_wxPreviewCanvas,
22714 _swigt__p_wxFont,
22715 _swigt__p_wxSplitterEvent,
22716 _swigt__p_wxRegion,
22717 _swigt__p_wxFindReplaceData,
22718 _swigt__p_int,
22719 _swigt__p_wxSize,
22720 _swigt__p_wxDC,
22721 _swigt__p_wxIcon,
22722 _swigt__p_wxMDIChildFrame,
22723 _swigt__p_wxColourData,
22724 _swigt__p_wxNotifyEvent,
22725 _swigt__p_wxPyWindow,
22726 _swigt__p_wxSplashScreen,
22727 _swigt__p_wxFindReplaceDialog,
22728 _swigt__p_wxProgressDialog,
22729 _swigt__p_wxMessageDialog,
22730 _swigt__p_wxTextEntryDialog,
22731 _swigt__p_wxSingleChoiceDialog,
22732 _swigt__p_wxMultiChoiceDialog,
22733 _swigt__p_wxFileDialog,
22734 _swigt__p_wxPrinter,
22735 _swigt__p_wxArrayInt,
22736 _swigt__p_wxEvtHandler,
22737 _swigt__p_wxCalculateLayoutEvent,
22738 _swigt__p_wxPyHtmlListBox,
22739 _swigt__p_wxPyVListBox,
22740 _swigt__p_wxRect,
22741 _swigt__p_wxMiniFrame,
22742 _swigt__p_wxFrame,
22743 _swigt__p_wxPyPrintout,
22744 _swigt__p_wxTaskBarIconEvent,
22745 _swigt__p_wxScrollWinEvent,
22746 _swigt__p_wxStatusBar,
22747 _swigt__p_wxMDIParentFrame,
22748 _swigt__p_wxPoint,
22749 _swigt__p_wxObject,
22750 _swigt__p_unsigned_long,
22751 _swigt__p_wxMDIClientWindow,
22752 _swigt__p_wxTipWindow,
22753 _swigt__p_wxPyPopupTransientWindow,
22754 _swigt__p_wxSashLayoutWindow,
22755 _swigt__p_wxSplitterWindow,
22756 _swigt__p_wxPyVScrolledWindow,
22757 _swigt__p_wxPopupWindow,
22758 _swigt__p_wxSashWindow,
22759 _swigt__p_wxTopLevelWindow,
22760 _swigt__p_wxWindow,
22761 _swigt__p_wxScrolledWindow,
22762 _swigt__p_wxSplashScreenWindow,
22763 _swigt__p_wxMenuBar,
22764 _swigt__p_wxPrintPreview,
22765 _swigt__p_wxSashEvent,
22766 _swigt__p_wxString,
22767 _swigt__p_wxPyPrintPreview,
22768 _swigt__p_wxPageSetupDialog,
22769 _swigt__p_wxFontDialog,
22770 _swigt__p_wxDirDialog,
22771 _swigt__p_wxColourDialog,
22772 _swigt__p_wxDialog,
22773 _swigt__p_wxPanel,
22774 _swigt__p_wxPrintDialog,
22775 _swigt__p_wxBitmap,
22776 _swigt__p_wxCommandEvent,
22777 _swigt__p_wxPreviewControlBar,
22778 _swigt__p_wxPyPreviewControlBar,
22779 _swigt__p_wxColour,
22780 _swigt__p_wxToolBar,
22781 _swigt__p_wxPrintDialogData,
22782 _swigt__p_wxPageSetupDialogData,
22783 0
22784 };
22785
22786
22787 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22788
22789 static swig_const_info swig_const_table[] = {
22790 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22791 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22792 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22793 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22794 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22795 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22796 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22797 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22798 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22799 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22800 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22801 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22802 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22803 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22804 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22805 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22806 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22807 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22808 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22809 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22810 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22811 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22812 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22813 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22814 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22815 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22816 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22817 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22818 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22819 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22820 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22821 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22822 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22823 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22824 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22825 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22826 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22827 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22828 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22829 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22830 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22831 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22832 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22833 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22834 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22835 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22836 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22837 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22838 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22839 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22840 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22841 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22842 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22843 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22844 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22845 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22846 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22847 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22848 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22849 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22850 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22851 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22852 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22853 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22854 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22855 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22856 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22857 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22858 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22859 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22860 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22861 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22862 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22863 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22864 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22865 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22866 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22867 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22868 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22869 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22870 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22871 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22872 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22873 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22874 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22875 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22876 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22877 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22878 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22879 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22880 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22881 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22882 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22883 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22884 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22885 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22886 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22887 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22888 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22889 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22890 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22891 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22892 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22893 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22894 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22895 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22896 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22897 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22898 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22899 {0}};
22900
22901 #ifdef __cplusplus
22902 }
22903 #endif
22904
22905 #ifdef __cplusplus
22906 extern "C"
22907 #endif
22908 SWIGEXPORT(void) SWIG_init(void) {
22909 static PyObject *SWIG_globals = 0;
22910 static int typeinit = 0;
22911 PyObject *m, *d;
22912 int i;
22913 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22914 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22915 d = PyModule_GetDict(m);
22916
22917 if (!typeinit) {
22918 for (i = 0; swig_types_initial[i]; i++) {
22919 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22920 }
22921 typeinit = 1;
22922 }
22923 SWIG_InstallConstants(d,swig_const_table);
22924
22925 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
22926 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
22927 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
22928 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
22929 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
22930 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
22931 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22932 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22933 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22934 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22935 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
22936 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
22937 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22938 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22939 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22940 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
22941
22942 // Map renamed classes back to their common name for OOR
22943 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22944 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22945 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22946
22947 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22948 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22949 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22950 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22951 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22952 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22953 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22954 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
22955 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
22956 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
22957 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
22958 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
22959 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
22960 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22961 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22962 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22963 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22964 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22965 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
22966 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
22967
22968 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22969
22970 }
22971