]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows_wrap.cpp
docstring patch has been submitted to SF
[wxWidgets.git] / wxPython / src / msw / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #include <limits.h>
141 #include <float.h>
142
143 #ifdef __cplusplus
144 #define SWIG_STATIC_INLINE static inline
145 #else
146 #define SWIG_STATIC_INLINE static
147 #endif
148
149 SWIG_STATIC_INLINE long
150 SPyObj_AsLong(PyObject * obj)
151 {
152 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
153 }
154
155 SWIG_STATIC_INLINE unsigned long
156 SPyObj_AsUnsignedLong(PyObject * obj)
157 {
158 if (PyLong_Check(obj)) {
159 return PyLong_AsUnsignedLong(obj);
160 } else {
161 long i = PyInt_AsLong(obj);
162 if ( !PyErr_Occurred() && (i < 0)) {
163 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
164 }
165 return i;
166 }
167 }
168
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject*
171 SPyObj_FromLongLong(long long value)
172 {
173 return (value > (long)(LONG_MAX)) ?
174 PyLong_FromLongLong(value) : PyInt_FromLong((long)value);
175 }
176 #endif
177
178 SWIG_STATIC_INLINE PyObject*
179 SPyObj_FromUnsignedLong(unsigned long value)
180 {
181 return (value > (unsigned long)(LONG_MAX)) ?
182 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
183 }
184
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject*
187 SPyObj_FromUnsignedLongLong(unsigned long long value)
188 {
189 return (value > (unsigned long long)(LONG_MAX)) ?
190 PyLong_FromUnsignedLongLong(value) : PyInt_FromLong((long)value);
191 }
192 #endif
193
194 SWIG_STATIC_INLINE long
195 SPyObj_AsLongInRange(PyObject * obj, long min_value, long max_value)
196 {
197 long value = SPyObj_AsLong(obj);
198 if (!PyErr_Occurred()) {
199 if (value < min_value) {
200 PyErr_SetString(PyExc_OverflowError,"value is smaller than type minimum");
201 } else if (value > max_value) {
202 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
203 }
204 }
205 return value;
206 }
207
208 SWIG_STATIC_INLINE unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject *obj, unsigned long max_value)
210 {
211 unsigned long value = SPyObj_AsUnsignedLong(obj);
212 if (!PyErr_Occurred()) {
213 if (value > max_value) {
214 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
215 }
216 }
217 return value;
218 }
219
220 SWIG_STATIC_INLINE signed char
221 SPyObj_AsSignedChar(PyObject *obj) {
222 return (signed char)SPyObj_AsLongInRange(obj, SCHAR_MIN, SCHAR_MAX);
223 }
224
225 SWIG_STATIC_INLINE short
226 SPyObj_AsShort(PyObject *obj) {
227 return (short)SPyObj_AsLongInRange(obj, SHRT_MIN, SHRT_MAX);
228 }
229
230 SWIG_STATIC_INLINE int
231 SPyObj_AsInt(PyObject *obj) {
232 return SPyObj_AsLongInRange(obj, INT_MIN, INT_MAX);
233 }
234
235 SWIG_STATIC_INLINE unsigned char
236 SPyObj_AsUnsignedChar(PyObject *obj) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj, UCHAR_MAX);
238 }
239
240 SWIG_STATIC_INLINE unsigned short
241 SPyObj_AsUnsignedShort(PyObject *obj) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj, USHRT_MAX);
243 }
244
245 SWIG_STATIC_INLINE unsigned int
246 SPyObj_AsUnsignedInt(PyObject *obj) {
247 return SPyObj_AsUnsignedLongInRange(obj, UINT_MAX);
248 }
249
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE long long
252 SPyObj_AsLongLong(PyObject *obj) {
253 return PyInt_Check(obj) ?
254 PyInt_AsLong(obj) : PyLong_AsLongLong(obj);
255 }
256
257 SWIG_STATIC_INLINE unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject *obj) {
259 return PyLong_Check(obj) ?
260 PyLong_AsUnsignedLongLong(obj) : SPyObj_AsUnsignedLong(obj);
261 }
262 #endif
263
264 SWIG_STATIC_INLINE double
265 SPyObj_AsDouble(PyObject *obj) {
266 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
267 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
268 }
269
270 SWIG_STATIC_INLINE float
271 SPyObj_AsFloat(PyObject *obj) {
272 double value = SPyObj_AsDouble(obj);
273 if (!PyErr_Occurred()) {
274 if (value < FLT_MIN) {
275 PyErr_SetString(PyExc_OverflowError,"float is smaller than flt_min");
276 } else if (value > FLT_MAX) {
277 PyErr_SetString(PyExc_OverflowError,"float is greater than flt_max");
278 }
279 }
280 return (float) value;
281 }
282
283 SWIG_STATIC_INLINE char
284 SPyObj_AsChar(PyObject *obj) {
285 char c = (PyString_Check(obj) && PyString_Size(obj) == 1) ?
286 PyString_AsString(obj)[0]
287 : (char) SPyObj_AsLongInRange(obj, CHAR_MIN, CHAR_MAX);
288 if (PyErr_Occurred()) {
289 PyErr_Clear();
290 PyErr_SetString(PyExc_TypeError, "a char is required");
291 }
292 return c;
293 }
294
295 SWIG_STATIC_INLINE PyObject *
296 SPyObj_FromChar(char c) {
297 return PyString_FromStringAndSize(&c,1);
298 }
299
300 SWIG_STATIC_INLINE PyObject *
301 SPyObj_FromCharPtr(const char* cptr) {
302 return cptr ? PyString_FromString(cptr) : Py_BuildValue((char*)"");
303 }
304
305 SWIG_STATIC_INLINE int
306 SPyObj_AsBool(PyObject *obj) {
307 return SPyObj_AsLong/*Long*/(obj) ? 1 : 0;
308 }
309
310
311
312 #ifdef __cplusplus
313 extern "C" {
314 #endif
315
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
321
322 /* Flags for pointer conversion */
323
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
326
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
329
330 /* Constant information structure */
331 typedef struct swig_const_info {
332 int type;
333 char *name;
334 long lvalue;
335 double dvalue;
336 void *pvalue;
337 swig_type_info **ptype;
338 } swig_const_info;
339
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
347
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
359
360
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
362 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
364 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
367 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
369
370
371
372 /* Contract support */
373
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
375
376 #ifdef __cplusplus
377 }
378 #endif
379
380
381
382 /* -------- TYPES TABLE (BEGIN) -------- */
383
384 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
385 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
386 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
387 #define SWIGTYPE_p_wxPyPanel swig_types[3]
388 #define SWIGTYPE_p_wxMenu swig_types[4]
389 #define SWIGTYPE_p_wxPrintData swig_types[5]
390 #define SWIGTYPE_p_wxFontData swig_types[6]
391 #define SWIGTYPE_p_wxEvent swig_types[7]
392 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
393 #define SWIGTYPE_p_wxIconBundle swig_types[9]
394 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
395 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
396 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
397 #define SWIGTYPE_p_wxFont swig_types[13]
398 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
399 #define SWIGTYPE_p_wxRegion swig_types[15]
400 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
401 #define SWIGTYPE_p_int swig_types[17]
402 #define SWIGTYPE_p_wxSize swig_types[18]
403 #define SWIGTYPE_p_wxDC swig_types[19]
404 #define SWIGTYPE_p_wxIcon swig_types[20]
405 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
406 #define SWIGTYPE_p_wxColourData swig_types[22]
407 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
408 #define SWIGTYPE_p_wxPyWindow swig_types[24]
409 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
410 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
411 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
412 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
413 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
414 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
415 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
416 #define SWIGTYPE_p_wxFileDialog swig_types[32]
417 #define SWIGTYPE_p_wxPrinter swig_types[33]
418 #define SWIGTYPE_p_wxArrayInt swig_types[34]
419 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
420 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
421 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
422 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
423 #define SWIGTYPE_p_wxRect swig_types[39]
424 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
425 #define SWIGTYPE_p_wxFrame swig_types[41]
426 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
427 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
428 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
429 #define SWIGTYPE_p_wxStatusBar swig_types[45]
430 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
431 #define SWIGTYPE_p_wxPoint swig_types[47]
432 #define SWIGTYPE_p_wxObject swig_types[48]
433 #define SWIGTYPE_p_unsigned_long swig_types[49]
434 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
435 #define SWIGTYPE_p_wxTipWindow swig_types[51]
436 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
437 #define SWIGTYPE_p_wxSplitterWindow swig_types[53]
438 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
439 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
440 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
441 #define SWIGTYPE_p_wxSashWindow swig_types[57]
442 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
443 #define SWIGTYPE_p_wxWindow swig_types[59]
444 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
445 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
446 #define SWIGTYPE_p_wxMenuBar swig_types[62]
447 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
448 #define SWIGTYPE_p_wxSashEvent swig_types[64]
449 #define SWIGTYPE_p_wxString swig_types[65]
450 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
451 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
452 #define SWIGTYPE_p_wxFontDialog swig_types[68]
453 #define SWIGTYPE_p_wxDirDialog swig_types[69]
454 #define SWIGTYPE_p_wxColourDialog swig_types[70]
455 #define SWIGTYPE_p_wxDialog swig_types[71]
456 #define SWIGTYPE_p_wxPanel swig_types[72]
457 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
458 #define SWIGTYPE_p_wxBitmap swig_types[74]
459 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
460 #define SWIGTYPE_p_wxPreviewControlBar swig_types[76]
461 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[77]
462 #define SWIGTYPE_p_wxColour swig_types[78]
463 #define SWIGTYPE_p_wxToolBar swig_types[79]
464 #define SWIGTYPE_p_wxPrintDialogData swig_types[80]
465 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
466 static swig_type_info *swig_types[83];
467
468 /* -------- TYPES TABLE (END) -------- */
469
470
471 /*-----------------------------------------------
472 @(target):= _windows.so
473 ------------------------------------------------*/
474 #define SWIG_init init_windows
475
476 #define SWIG_name "_windows"
477
478 #include "wx/wxPython/wxPython.h"
479 #include "wx/wxPython/pyclasses.h"
480
481
482 static const wxString wxPyEmptyString(wxEmptyString);
483 static const wxString wxPyPanelNameStr(wxPanelNameStr);
484
485
486
487 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
488 PyObject* o2;
489 PyObject* o3;
490
491 if (!target) {
492 target = o;
493 } else if (target == Py_None) {
494 Py_DECREF(Py_None);
495 target = o;
496 } else {
497 if (!PyTuple_Check(target)) {
498 o2 = target;
499 target = PyTuple_New(1);
500 PyTuple_SetItem(target, 0, o2);
501 }
502 o3 = PyTuple_New(1);
503 PyTuple_SetItem(o3, 0, o);
504
505 o2 = target;
506 target = PySequence_Concat(o2, o3);
507 Py_DECREF(o2);
508 Py_DECREF(o3);
509 }
510 return target;
511 }
512
513 static const wxString wxPyFrameNameStr(wxFrameNameStr);
514 static const wxString wxPyDialogNameStr(wxDialogNameStr);
515 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
516 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
517 bool wxDialog_IsModalShowing(wxDialog *self){
518
519
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 wxPyPopupTransientWindow : public wxPopupTransientWindow
539 {
540 public:
541 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
542 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
543 : wxPopupTransientWindow(parent, style) {}
544
545 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
546 DEC_PYCALLBACK__(OnDismiss);
547 DEC_PYCALLBACK_BOOL_(CanDismiss);
548 PYPRIVATE;
549 };
550
551
552 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
553 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
554 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
555
556
557 #include <wx/tipwin.h>
558
559 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
560 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
561 }
562
563 #include <wx/tipwin.h>
564
565
566 #include <wx/vscroll.h>
567
568
569 class wxPyVScrolledWindow : public wxVScrolledWindow
570 {
571 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
572 public:
573 wxPyVScrolledWindow() : wxVScrolledWindow() {}
574
575 wxPyVScrolledWindow(wxWindow *parent,
576 wxWindowID id = wxID_ANY,
577 const wxPoint& pos = wxDefaultPosition,
578 const wxSize& size = wxDefaultSize,
579 long style = 0,
580 const wxString& name = wxPyPanelNameStr)
581 : wxVScrolledWindow(parent, id, pos, size, style, name)
582 {}
583
584 // Overridable virtuals
585
586 // this function must be overridden in the derived class and it should
587 // return the height of the given line in pixels
588 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
589
590
591 // this function doesn't have to be overridden but it may be useful to do
592 // it if calculating the lines heights is a relatively expensive operation
593 // as it gives the user code a possibility to calculate several of them at
594 // once
595 //
596 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
597 // shouldn't rely on the latter being called for all lines in the interval
598 // specified here. It is also possible that OnGetLineHeight() will be
599 // called for the lines outside of this interval, so this is really just a
600 // hint, not a promise.
601 //
602 // finally note that lineMin is inclusive, while lineMax is exclusive, as
603 // usual
604 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
605
606
607 // when the number of lines changes, we try to estimate the total height
608 // of all lines which is a rather expensive operation in terms of lines
609 // access, so if the user code may estimate the average height
610 // better/faster than we do, it should override this function to implement
611 // its own logic
612 //
613 // this function should return the best guess for the total height it may
614 // make
615 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
616
617
618 // Also expose some other interesting protected methods
619
620
621 // find the index of the line we need to show at the top of the window such
622 // that the last (fully or partially) visible line is the given one
623 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
624 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
625
626 // get the total height of the lines between lineMin (inclusive) and
627 // lineMax (exclusive)
628 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
629 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
630
631
632 PYPRIVATE;
633 };
634
635 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
636
637 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
638 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
639 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
640
641
642 #include <wx/vlbox.h>
643
644 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
645
646 class wxPyVListBox : public wxVListBox
647 {
648 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
649 public:
650 wxPyVListBox() : wxVListBox() {}
651
652 wxPyVListBox(wxWindow *parent,
653 wxWindowID id = wxID_ANY,
654 const wxPoint& pos = wxDefaultPosition,
655 const wxSize& size = wxDefaultSize,
656 long style = 0,
657 const wxString& name = wxPyVListBoxNameStr)
658 : wxVListBox(parent, id, pos, size, style, name)
659 {}
660
661 // Overridable virtuals
662
663 // the derived class must implement this function to actually draw the item
664 // with the given index on the provided DC
665 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
666 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
667
668
669 // the derived class must implement this method to return the height of the
670 // specified item
671 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
672 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
673
674
675 // this method may be used to draw separators between the lines; note that
676 // the rectangle may be modified, typically to deflate it a bit before
677 // passing to OnDrawItem()
678 //
679 // the base class version doesn't do anything
680 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
681 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
682
683
684 // this method is used to draw the items background and, maybe, a border
685 // around it
686 //
687 // the base class version implements a reasonable default behaviour which
688 // consists in drawing the selected item with the standard background
689 // colour and drawing a border around the item if it is either selected or
690 // current
691 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
692 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
693
694
695 PYPRIVATE;
696 };
697
698 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
699
700 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
701 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
702 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
703 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
704
705
706
707 #include <wx/htmllbox.h>
708
709
710 class wxPyHtmlListBox : public wxHtmlListBox
711 {
712 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
713 public:
714 wxPyHtmlListBox() : wxHtmlListBox() {}
715
716 wxPyHtmlListBox(wxWindow *parent,
717 wxWindowID id = wxID_ANY,
718 const wxPoint& pos = wxDefaultPosition,
719 const wxSize& size = wxDefaultSize,
720 long style = 0,
721 const wxString& name = wxPyVListBoxNameStr)
722 : wxHtmlListBox(parent, id, pos, size, style, name)
723 {}
724
725 // Overridable virtuals
726
727 // this method must be implemented in the derived class and should return
728 // the body (i.e. without <html>) of the HTML for the given item
729 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
730
731 // this function may be overridden to decorate HTML returned by OnGetItem()
732 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
733
734 // TODO:
735 // // this method allows to customize the selection appearance: it may be used
736 // // to specify the colour of the text which normally has the given colour
737 // // colFg when it is inside the selection
738 // //
739 // // by default, the original colour is not used at all and all text has the
740 // // same (default for this system) colour inside selection
741 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
742
743 // // this is the same as GetSelectedTextColour() but allows to customize the
744 // // background colour -- this is even more rarely used as you can change it
745 // // globally using SetSelectionBackground()
746 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
747
748
749 PYPRIVATE;
750 };
751
752
753 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
754
755 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
756 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
757
758
759
760
761
762 #ifdef __WXMAC__
763 // implement dummy classes and such for wxMac
764
765 class wxTaskBarIcon : public wxEvtHandler
766 {
767 public:
768 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
769 };
770
771
772 class wxTaskBarIconEvent : public wxEvent
773 {
774 public:
775 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
776 { wxPyRaiseNotImplemented(); }
777 virtual wxEvent* Clone() const { return NULL; }
778 };
779
780 enum {
781 wxEVT_TASKBAR_MOVE = 0,
782 wxEVT_TASKBAR_LEFT_DOWN = 0,
783 wxEVT_TASKBAR_LEFT_UP = 0,
784 wxEVT_TASKBAR_RIGHT_DOWN = 0,
785 wxEVT_TASKBAR_RIGHT_UP = 0,
786 wxEVT_TASKBAR_LEFT_DCLICK = 0,
787 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
788 };
789 #endif
790
791 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
792 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
793 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
794 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
795 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
796 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
797 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
798 wxArrayString arr;
799 self->GetFilenames(arr);
800 return wxArrayString2PyList_helper(arr);
801 }
802 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
803 wxArrayString arr;
804 self->GetPaths(arr);
805 return wxArrayString2PyList_helper(arr);
806 }
807 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
808 return wxArrayInt2PyList_helper(self->GetSelections());
809 }
810 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
811 return new wxSingleChoiceDialog(parent, message, caption,
812 choices, choices_array, NULL, style, pos);
813 }
814
815 #include <wx/mdi.h>
816
817 // C++ version of Python aware wxWindow
818 class wxPyWindow : public wxWindow
819 {
820 DECLARE_DYNAMIC_CLASS(wxPyWindow)
821 public:
822 wxPyWindow() : wxWindow() {}
823 wxPyWindow(wxWindow* parent, const wxWindowID id,
824 const wxPoint& pos = wxDefaultPosition,
825 const wxSize& size = wxDefaultSize,
826 long style = 0,
827 const wxString& name = wxPyPanelNameStr)
828 : wxWindow(parent, id, pos, size, style, name) {}
829
830
831 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
832 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
833 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
834 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
835
836 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
837 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
838 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
839
840 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
841 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
842
843 DEC_PYCALLBACK__(InitDialog);
844 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
845 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
846 DEC_PYCALLBACK_BOOL_(Validate);
847
848 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
849 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
850 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
851
852 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
853 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
854
855 PYPRIVATE;
856 };
857
858 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
859
860 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
861 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
862 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
863 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
864
865 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
866 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
867 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
868
869 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
870 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
871
872 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
873 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
874 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
875 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
876
877 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
878 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
879 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
880
881 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
882 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
883
884
885 // C++ version of Python aware wxPanel
886 class wxPyPanel : public wxPanel
887 {
888 DECLARE_DYNAMIC_CLASS(wxPyPanel)
889 public:
890 wxPyPanel() : wxPanel() {}
891 wxPyPanel(wxWindow* parent, const wxWindowID id,
892 const wxPoint& pos = wxDefaultPosition,
893 const wxSize& size = wxDefaultSize,
894 long style = 0,
895 const wxString& name = wxPyPanelNameStr)
896 : wxPanel(parent, id, pos, size, style, name) {}
897
898
899 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
900 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
901 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
902 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
903
904 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
905 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
906 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
907
908 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
909 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
910
911 DEC_PYCALLBACK__(InitDialog);
912 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
913 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
914 DEC_PYCALLBACK_BOOL_(Validate);
915
916 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
917 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
918 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
919
920 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
921 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
922
923 PYPRIVATE;
924 };
925
926 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
927
928 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
929 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
930 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
931 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
932
933 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
934 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
935 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
936
937 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
938 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
939
940 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
941 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
942 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
943 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
944
945 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
946 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
947 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
948
949 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
950 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
951
952
953
954 #include "wx/wxPython/printfw.h"
955
956
957 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
958 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
959
960
961
962 // Since this one would be tough and ugly to do with the Macros...
963 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
964 bool hadErr = False;
965 bool found;
966
967 wxPyBeginBlockThreads();
968 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
969 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
970 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
971 PyObject* val;
972
973 val = PyTuple_GetItem(result, 0);
974 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
975 else hadErr = True;
976
977 val = PyTuple_GetItem(result, 1);
978 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
979 else hadErr = True;
980
981 val = PyTuple_GetItem(result, 2);
982 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
983 else hadErr = True;
984
985 val = PyTuple_GetItem(result, 3);
986 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
987 else hadErr = True;
988 }
989 else
990 hadErr = True;
991
992 if (hadErr) {
993 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
994 PyErr_Print();
995 }
996 Py_DECREF(result);
997 }
998 wxPyEndBlockThreads();
999 if (! found)
1000 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1001 }
1002
1003 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1004 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1005 }
1006
1007
1008 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1009 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1010 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1011 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1012 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1013 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1014 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1015
1016
1017
1018
1019
1020 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1021 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1022 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1023
1024
1025 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1026 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1027 bool rval=False; \
1028 bool found; \
1029 wxPyBeginBlockThreads(); \
1030 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1031 PyObject* win = wxPyMake_wxObject(a); \
1032 PyObject* dc = wxPyMake_wxObject(&b); \
1033 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1034 Py_DECREF(win); \
1035 Py_DECREF(dc); \
1036 } \
1037 wxPyEndBlockThreads(); \
1038 if (! found) \
1039 rval = PCLASS::CBNAME(a, b); \
1040 return rval; \
1041 } \
1042 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1043 return PCLASS::CBNAME(a, b); \
1044 }
1045
1046
1047
1048
1049 class wxPyPrintPreview : public wxPrintPreview
1050 {
1051 DECLARE_CLASS(wxPyPrintPreview)
1052 public:
1053 wxPyPrintPreview(wxPyPrintout* printout,
1054 wxPyPrintout* printoutForPrinting,
1055 wxPrintData* data=NULL)
1056 : wxPrintPreview(printout, printoutForPrinting, data)
1057 {}
1058
1059 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1060 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1061 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1062 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1063 DEC_PYCALLBACK_VOID_INT(SetZoom);
1064 DEC_PYCALLBACK_BOOL_BOOL(Print);
1065 DEC_PYCALLBACK_VOID_(DetermineScaling);
1066
1067 PYPRIVATE;
1068 };
1069
1070 // Stupid renamed classes... Fix this in 2.5...
1071 #if defined(__WXMSW__)
1072 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1073 #elif defined(__WXMAC__)
1074 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1075 #else
1076 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1077 #endif
1078
1079 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1080 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1081 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1082 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1083 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1084 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1085 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1086
1087
1088 class wxPyPreviewFrame : public wxPreviewFrame
1089 {
1090 DECLARE_CLASS(wxPyPreviewFrame);
1091 public:
1092 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1093 const wxString& title,
1094 const wxPoint& pos = wxDefaultPosition,
1095 const wxSize& size = wxDefaultSize,
1096 long style = wxDEFAULT_FRAME_STYLE,
1097 const wxString& name = wxPyFrameNameStr)
1098 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1099 {}
1100
1101 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1102 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1103
1104 DEC_PYCALLBACK_VOID_(Initialize);
1105 DEC_PYCALLBACK_VOID_(CreateCanvas);
1106 DEC_PYCALLBACK_VOID_(CreateControlBar);
1107
1108 PYPRIVATE;
1109 };
1110
1111 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1112
1113 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1114 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1115 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1116
1117
1118 class wxPyPreviewControlBar : public wxPreviewControlBar
1119 {
1120 DECLARE_CLASS(wxPyPreviewControlBar);
1121 public:
1122 wxPyPreviewControlBar(wxPrintPreview *preview,
1123 long buttons,
1124 wxWindow *parent,
1125 const wxPoint& pos = wxDefaultPosition,
1126 const wxSize& size = wxDefaultSize,
1127 long style = 0,
1128 const wxString& name = wxPyPanelNameStr)
1129 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1130 {}
1131
1132 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1133
1134 DEC_PYCALLBACK_VOID_(CreateButtons);
1135 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1136
1137 PYPRIVATE;
1138 };
1139
1140 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1141 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1142 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1143
1144 #ifdef __cplusplus
1145 extern "C" {
1146 #endif
1147 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1148 PyObject *resultobj;
1149 wxWindow *arg1 = (wxWindow *) 0 ;
1150 int arg2 = (int) (int)-1 ;
1151 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1152 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1153 wxSize const &arg4_defvalue = wxDefaultSize ;
1154 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1155 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1156 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1157 wxString *arg6 = (wxString *) &arg6_defvalue ;
1158 wxPanel *result;
1159 wxPoint temp3 ;
1160 wxSize temp4 ;
1161 bool temp6 = False ;
1162 PyObject * obj0 = 0 ;
1163 PyObject * obj2 = 0 ;
1164 PyObject * obj3 = 0 ;
1165 PyObject * obj5 = 0 ;
1166 char *kwnames[] = {
1167 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1168 };
1169
1170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1172 if (obj2) {
1173 {
1174 arg3 = &temp3;
1175 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1176 }
1177 }
1178 if (obj3) {
1179 {
1180 arg4 = &temp4;
1181 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1182 }
1183 }
1184 if (obj5) {
1185 {
1186 arg6 = wxString_in_helper(obj5);
1187 if (arg6 == NULL) SWIG_fail;
1188 temp6 = True;
1189 }
1190 }
1191 {
1192 PyThreadState* __tstate = wxPyBeginAllowThreads();
1193 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1194
1195 wxPyEndAllowThreads(__tstate);
1196 if (PyErr_Occurred()) SWIG_fail;
1197 }
1198 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1199 {
1200 if (temp6)
1201 delete arg6;
1202 }
1203 return resultobj;
1204 fail:
1205 {
1206 if (temp6)
1207 delete arg6;
1208 }
1209 return NULL;
1210 }
1211
1212
1213 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1214 PyObject *resultobj;
1215 wxPanel *result;
1216 char *kwnames[] = {
1217 NULL
1218 };
1219
1220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1221 {
1222 PyThreadState* __tstate = wxPyBeginAllowThreads();
1223 result = (wxPanel *)new wxPanel();
1224
1225 wxPyEndAllowThreads(__tstate);
1226 if (PyErr_Occurred()) SWIG_fail;
1227 }
1228 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1229 return resultobj;
1230 fail:
1231 return NULL;
1232 }
1233
1234
1235 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1236 PyObject *resultobj;
1237 wxPanel *arg1 = (wxPanel *) 0 ;
1238 wxWindow *arg2 = (wxWindow *) 0 ;
1239 int arg3 ;
1240 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1241 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1242 wxSize const &arg5_defvalue = wxDefaultSize ;
1243 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1244 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1245 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1246 wxString *arg7 = (wxString *) &arg7_defvalue ;
1247 bool result;
1248 wxPoint temp4 ;
1249 wxSize temp5 ;
1250 bool temp7 = False ;
1251 PyObject * obj0 = 0 ;
1252 PyObject * obj1 = 0 ;
1253 PyObject * obj3 = 0 ;
1254 PyObject * obj4 = 0 ;
1255 PyObject * obj6 = 0 ;
1256 char *kwnames[] = {
1257 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1258 };
1259
1260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1263 if (obj3) {
1264 {
1265 arg4 = &temp4;
1266 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1267 }
1268 }
1269 if (obj4) {
1270 {
1271 arg5 = &temp5;
1272 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1273 }
1274 }
1275 if (obj6) {
1276 {
1277 arg7 = wxString_in_helper(obj6);
1278 if (arg7 == NULL) SWIG_fail;
1279 temp7 = True;
1280 }
1281 }
1282 {
1283 PyThreadState* __tstate = wxPyBeginAllowThreads();
1284 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1285
1286 wxPyEndAllowThreads(__tstate);
1287 if (PyErr_Occurred()) SWIG_fail;
1288 }
1289 resultobj = PyInt_FromLong((long)result);
1290 {
1291 if (temp7)
1292 delete arg7;
1293 }
1294 return resultobj;
1295 fail:
1296 {
1297 if (temp7)
1298 delete arg7;
1299 }
1300 return NULL;
1301 }
1302
1303
1304 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1305 PyObject *resultobj;
1306 wxPanel *arg1 = (wxPanel *) 0 ;
1307 PyObject * obj0 = 0 ;
1308 char *kwnames[] = {
1309 (char *) "self", NULL
1310 };
1311
1312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1314 {
1315 PyThreadState* __tstate = wxPyBeginAllowThreads();
1316 (arg1)->InitDialog();
1317
1318 wxPyEndAllowThreads(__tstate);
1319 if (PyErr_Occurred()) SWIG_fail;
1320 }
1321 Py_INCREF(Py_None); resultobj = Py_None;
1322 return resultobj;
1323 fail:
1324 return NULL;
1325 }
1326
1327
1328 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1329 PyObject *obj;
1330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1331 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1332 Py_INCREF(obj);
1333 return Py_BuildValue((char *)"");
1334 }
1335 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1336 PyObject *resultobj;
1337 wxWindow *arg1 = (wxWindow *) 0 ;
1338 int arg2 = (int) (int)-1 ;
1339 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1340 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1341 wxSize const &arg4_defvalue = wxDefaultSize ;
1342 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1343 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1344 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1345 wxString *arg6 = (wxString *) &arg6_defvalue ;
1346 wxScrolledWindow *result;
1347 wxPoint temp3 ;
1348 wxSize temp4 ;
1349 bool temp6 = False ;
1350 PyObject * obj0 = 0 ;
1351 PyObject * obj2 = 0 ;
1352 PyObject * obj3 = 0 ;
1353 PyObject * obj5 = 0 ;
1354 char *kwnames[] = {
1355 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1356 };
1357
1358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1360 if (obj2) {
1361 {
1362 arg3 = &temp3;
1363 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1364 }
1365 }
1366 if (obj3) {
1367 {
1368 arg4 = &temp4;
1369 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1370 }
1371 }
1372 if (obj5) {
1373 {
1374 arg6 = wxString_in_helper(obj5);
1375 if (arg6 == NULL) SWIG_fail;
1376 temp6 = True;
1377 }
1378 }
1379 {
1380 PyThreadState* __tstate = wxPyBeginAllowThreads();
1381 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1382
1383 wxPyEndAllowThreads(__tstate);
1384 if (PyErr_Occurred()) SWIG_fail;
1385 }
1386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1387 {
1388 if (temp6)
1389 delete arg6;
1390 }
1391 return resultobj;
1392 fail:
1393 {
1394 if (temp6)
1395 delete arg6;
1396 }
1397 return NULL;
1398 }
1399
1400
1401 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1402 PyObject *resultobj;
1403 wxScrolledWindow *result;
1404 char *kwnames[] = {
1405 NULL
1406 };
1407
1408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1409 {
1410 PyThreadState* __tstate = wxPyBeginAllowThreads();
1411 result = (wxScrolledWindow *)new wxScrolledWindow();
1412
1413 wxPyEndAllowThreads(__tstate);
1414 if (PyErr_Occurred()) SWIG_fail;
1415 }
1416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1417 return resultobj;
1418 fail:
1419 return NULL;
1420 }
1421
1422
1423 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1424 PyObject *resultobj;
1425 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1426 wxWindow *arg2 = (wxWindow *) 0 ;
1427 int arg3 = (int) (int)-1 ;
1428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1430 wxSize const &arg5_defvalue = wxDefaultSize ;
1431 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1432 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1433 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1434 wxString *arg7 = (wxString *) &arg7_defvalue ;
1435 bool result;
1436 wxPoint temp4 ;
1437 wxSize temp5 ;
1438 bool temp7 = False ;
1439 PyObject * obj0 = 0 ;
1440 PyObject * obj1 = 0 ;
1441 PyObject * obj3 = 0 ;
1442 PyObject * obj4 = 0 ;
1443 PyObject * obj6 = 0 ;
1444 char *kwnames[] = {
1445 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1446 };
1447
1448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1451 if (obj3) {
1452 {
1453 arg4 = &temp4;
1454 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1455 }
1456 }
1457 if (obj4) {
1458 {
1459 arg5 = &temp5;
1460 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1461 }
1462 }
1463 if (obj6) {
1464 {
1465 arg7 = wxString_in_helper(obj6);
1466 if (arg7 == NULL) SWIG_fail;
1467 temp7 = True;
1468 }
1469 }
1470 {
1471 PyThreadState* __tstate = wxPyBeginAllowThreads();
1472 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1473
1474 wxPyEndAllowThreads(__tstate);
1475 if (PyErr_Occurred()) SWIG_fail;
1476 }
1477 resultobj = PyInt_FromLong((long)result);
1478 {
1479 if (temp7)
1480 delete arg7;
1481 }
1482 return resultobj;
1483 fail:
1484 {
1485 if (temp7)
1486 delete arg7;
1487 }
1488 return NULL;
1489 }
1490
1491
1492 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1493 PyObject *resultobj;
1494 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1495 int arg2 ;
1496 int arg3 ;
1497 int arg4 ;
1498 int arg5 ;
1499 int arg6 = (int) 0 ;
1500 int arg7 = (int) 0 ;
1501 bool arg8 = (bool) False ;
1502 PyObject * obj0 = 0 ;
1503 PyObject * obj7 = 0 ;
1504 char *kwnames[] = {
1505 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1506 };
1507
1508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1510 if (obj7) {
1511 {
1512 arg8 = (bool) SPyObj_AsBool(obj7);
1513 if (PyErr_Occurred()) SWIG_fail;
1514 }
1515 }
1516 {
1517 PyThreadState* __tstate = wxPyBeginAllowThreads();
1518 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1519
1520 wxPyEndAllowThreads(__tstate);
1521 if (PyErr_Occurred()) SWIG_fail;
1522 }
1523 Py_INCREF(Py_None); resultobj = Py_None;
1524 return resultobj;
1525 fail:
1526 return NULL;
1527 }
1528
1529
1530 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1531 PyObject *resultobj;
1532 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1533 int arg2 ;
1534 int arg3 ;
1535 PyObject * obj0 = 0 ;
1536 char *kwnames[] = {
1537 (char *) "self",(char *) "x",(char *) "y", NULL
1538 };
1539
1540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1542 {
1543 PyThreadState* __tstate = wxPyBeginAllowThreads();
1544 (arg1)->Scroll(arg2,arg3);
1545
1546 wxPyEndAllowThreads(__tstate);
1547 if (PyErr_Occurred()) SWIG_fail;
1548 }
1549 Py_INCREF(Py_None); resultobj = Py_None;
1550 return resultobj;
1551 fail:
1552 return NULL;
1553 }
1554
1555
1556 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1557 PyObject *resultobj;
1558 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1559 int arg2 ;
1560 int result;
1561 PyObject * obj0 = 0 ;
1562 char *kwnames[] = {
1563 (char *) "self",(char *) "orient", NULL
1564 };
1565
1566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1568 {
1569 PyThreadState* __tstate = wxPyBeginAllowThreads();
1570 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1571
1572 wxPyEndAllowThreads(__tstate);
1573 if (PyErr_Occurred()) SWIG_fail;
1574 }
1575 resultobj = PyInt_FromLong((long)result);
1576 return resultobj;
1577 fail:
1578 return NULL;
1579 }
1580
1581
1582 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1583 PyObject *resultobj;
1584 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1585 int arg2 ;
1586 int arg3 ;
1587 PyObject * obj0 = 0 ;
1588 char *kwnames[] = {
1589 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1590 };
1591
1592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1594 {
1595 PyThreadState* __tstate = wxPyBeginAllowThreads();
1596 (arg1)->SetScrollPageSize(arg2,arg3);
1597
1598 wxPyEndAllowThreads(__tstate);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 }
1601 Py_INCREF(Py_None); resultobj = Py_None;
1602 return resultobj;
1603 fail:
1604 return NULL;
1605 }
1606
1607
1608 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1609 PyObject *resultobj;
1610 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1611 int arg2 ;
1612 int arg3 ;
1613 PyObject * obj0 = 0 ;
1614 char *kwnames[] = {
1615 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1616 };
1617
1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1620 {
1621 PyThreadState* __tstate = wxPyBeginAllowThreads();
1622 (arg1)->SetScrollRate(arg2,arg3);
1623
1624 wxPyEndAllowThreads(__tstate);
1625 if (PyErr_Occurred()) SWIG_fail;
1626 }
1627 Py_INCREF(Py_None); resultobj = Py_None;
1628 return resultobj;
1629 fail:
1630 return NULL;
1631 }
1632
1633
1634 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1635 PyObject *resultobj;
1636 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1637 int *arg2 = (int *) 0 ;
1638 int *arg3 = (int *) 0 ;
1639 int temp2 ;
1640 int temp3 ;
1641 PyObject * obj0 = 0 ;
1642 char *kwnames[] = {
1643 (char *) "self", NULL
1644 };
1645
1646 arg2 = &temp2;
1647 arg3 = &temp3;
1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1650 {
1651 PyThreadState* __tstate = wxPyBeginAllowThreads();
1652 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1653
1654 wxPyEndAllowThreads(__tstate);
1655 if (PyErr_Occurred()) SWIG_fail;
1656 }
1657 Py_INCREF(Py_None); resultobj = Py_None;
1658 {
1659 PyObject *o = PyInt_FromLong((long) (*arg2));
1660 resultobj = t_output_helper(resultobj,o);
1661 }
1662 {
1663 PyObject *o = PyInt_FromLong((long) (*arg3));
1664 resultobj = t_output_helper(resultobj,o);
1665 }
1666 return resultobj;
1667 fail:
1668 return NULL;
1669 }
1670
1671
1672 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1673 PyObject *resultobj;
1674 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1675 bool arg2 ;
1676 bool arg3 ;
1677 PyObject * obj0 = 0 ;
1678 PyObject * obj1 = 0 ;
1679 PyObject * obj2 = 0 ;
1680 char *kwnames[] = {
1681 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1682 };
1683
1684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1686 {
1687 arg2 = (bool) SPyObj_AsBool(obj1);
1688 if (PyErr_Occurred()) SWIG_fail;
1689 }
1690 {
1691 arg3 = (bool) SPyObj_AsBool(obj2);
1692 if (PyErr_Occurred()) SWIG_fail;
1693 }
1694 {
1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
1696 (arg1)->EnableScrolling(arg2,arg3);
1697
1698 wxPyEndAllowThreads(__tstate);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 }
1701 Py_INCREF(Py_None); resultobj = Py_None;
1702 return resultobj;
1703 fail:
1704 return NULL;
1705 }
1706
1707
1708 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1709 PyObject *resultobj;
1710 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1711 int *arg2 = (int *) 0 ;
1712 int *arg3 = (int *) 0 ;
1713 int temp2 ;
1714 int temp3 ;
1715 PyObject * obj0 = 0 ;
1716 char *kwnames[] = {
1717 (char *) "self", NULL
1718 };
1719
1720 arg2 = &temp2;
1721 arg3 = &temp3;
1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1724 {
1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
1726 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1727
1728 wxPyEndAllowThreads(__tstate);
1729 if (PyErr_Occurred()) SWIG_fail;
1730 }
1731 Py_INCREF(Py_None); resultobj = Py_None;
1732 {
1733 PyObject *o = PyInt_FromLong((long) (*arg2));
1734 resultobj = t_output_helper(resultobj,o);
1735 }
1736 {
1737 PyObject *o = PyInt_FromLong((long) (*arg3));
1738 resultobj = t_output_helper(resultobj,o);
1739 }
1740 return resultobj;
1741 fail:
1742 return NULL;
1743 }
1744
1745
1746 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1747 PyObject *resultobj;
1748 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1749 double arg2 ;
1750 double arg3 ;
1751 PyObject * obj0 = 0 ;
1752 char *kwnames[] = {
1753 (char *) "self",(char *) "xs",(char *) "ys", NULL
1754 };
1755
1756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1758 {
1759 PyThreadState* __tstate = wxPyBeginAllowThreads();
1760 (arg1)->SetScale(arg2,arg3);
1761
1762 wxPyEndAllowThreads(__tstate);
1763 if (PyErr_Occurred()) SWIG_fail;
1764 }
1765 Py_INCREF(Py_None); resultobj = Py_None;
1766 return resultobj;
1767 fail:
1768 return NULL;
1769 }
1770
1771
1772 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1773 PyObject *resultobj;
1774 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1775 double result;
1776 PyObject * obj0 = 0 ;
1777 char *kwnames[] = {
1778 (char *) "self", NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1783 {
1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
1785 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1786
1787 wxPyEndAllowThreads(__tstate);
1788 if (PyErr_Occurred()) SWIG_fail;
1789 }
1790 resultobj = PyFloat_FromDouble(result);
1791 return resultobj;
1792 fail:
1793 return NULL;
1794 }
1795
1796
1797 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject *resultobj;
1799 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1800 double result;
1801 PyObject * obj0 = 0 ;
1802 char *kwnames[] = {
1803 (char *) "self", NULL
1804 };
1805
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 resultobj = PyFloat_FromDouble(result);
1816 return resultobj;
1817 fail:
1818 return NULL;
1819 }
1820
1821
1822 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1823 PyObject *resultobj;
1824 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1825 wxPoint *arg2 = 0 ;
1826 wxPoint result;
1827 wxPoint temp2 ;
1828 PyObject * obj0 = 0 ;
1829 PyObject * obj1 = 0 ;
1830
1831 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1833 {
1834 arg2 = &temp2;
1835 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1836 }
1837 {
1838 PyThreadState* __tstate = wxPyBeginAllowThreads();
1839 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1840
1841 wxPyEndAllowThreads(__tstate);
1842 if (PyErr_Occurred()) SWIG_fail;
1843 }
1844 {
1845 wxPoint * resultptr;
1846 resultptr = new wxPoint((wxPoint &) result);
1847 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1848 }
1849 return resultobj;
1850 fail:
1851 return NULL;
1852 }
1853
1854
1855 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1856 PyObject *resultobj;
1857 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1858 int arg2 ;
1859 int arg3 ;
1860 int *arg4 = (int *) 0 ;
1861 int *arg5 = (int *) 0 ;
1862 int temp4 ;
1863 int temp5 ;
1864 PyObject * obj0 = 0 ;
1865
1866 arg4 = &temp4;
1867 arg5 = &temp5;
1868 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1870 {
1871 PyThreadState* __tstate = wxPyBeginAllowThreads();
1872 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1873
1874 wxPyEndAllowThreads(__tstate);
1875 if (PyErr_Occurred()) SWIG_fail;
1876 }
1877 Py_INCREF(Py_None); resultobj = Py_None;
1878 {
1879 PyObject *o = PyInt_FromLong((long) (*arg4));
1880 resultobj = t_output_helper(resultobj,o);
1881 }
1882 {
1883 PyObject *o = PyInt_FromLong((long) (*arg5));
1884 resultobj = t_output_helper(resultobj,o);
1885 }
1886 return resultobj;
1887 fail:
1888 return NULL;
1889 }
1890
1891
1892 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1893 int argc;
1894 PyObject *argv[4];
1895 int ii;
1896
1897 argc = PyObject_Length(args);
1898 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1899 argv[ii] = PyTuple_GetItem(args,ii);
1900 }
1901 if (argc == 2) {
1902 int _v;
1903 {
1904 void *ptr;
1905 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1906 _v = 0;
1907 PyErr_Clear();
1908 } else {
1909 _v = 1;
1910 }
1911 }
1912 if (_v) {
1913 {
1914 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1915 }
1916 if (_v) {
1917 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1918 }
1919 }
1920 }
1921 if (argc == 3) {
1922 int _v;
1923 {
1924 void *ptr;
1925 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1926 _v = 0;
1927 PyErr_Clear();
1928 } else {
1929 _v = 1;
1930 }
1931 }
1932 if (_v) {
1933 {
1934 SPyObj_AsInt(argv[1]);
1935 if (PyErr_Occurred()) {
1936 _v = 0;
1937 PyErr_Clear();
1938 } else {
1939 _v = 1;
1940 }
1941 }
1942 if (_v) {
1943 {
1944 SPyObj_AsInt(argv[2]);
1945 if (PyErr_Occurred()) {
1946 _v = 0;
1947 PyErr_Clear();
1948 } else {
1949 _v = 1;
1950 }
1951 }
1952 if (_v) {
1953 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1954 }
1955 }
1956 }
1957 }
1958
1959 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1960 return NULL;
1961 }
1962
1963
1964 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1965 PyObject *resultobj;
1966 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1967 wxPoint *arg2 = 0 ;
1968 wxPoint result;
1969 wxPoint temp2 ;
1970 PyObject * obj0 = 0 ;
1971 PyObject * obj1 = 0 ;
1972
1973 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1975 {
1976 arg2 = &temp2;
1977 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1978 }
1979 {
1980 PyThreadState* __tstate = wxPyBeginAllowThreads();
1981 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1982
1983 wxPyEndAllowThreads(__tstate);
1984 if (PyErr_Occurred()) SWIG_fail;
1985 }
1986 {
1987 wxPoint * resultptr;
1988 resultptr = new wxPoint((wxPoint &) result);
1989 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1990 }
1991 return resultobj;
1992 fail:
1993 return NULL;
1994 }
1995
1996
1997 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1998 PyObject *resultobj;
1999 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2000 int arg2 ;
2001 int arg3 ;
2002 int *arg4 = (int *) 0 ;
2003 int *arg5 = (int *) 0 ;
2004 int temp4 ;
2005 int temp5 ;
2006 PyObject * obj0 = 0 ;
2007
2008 arg4 = &temp4;
2009 arg5 = &temp5;
2010 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
2011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2012 {
2013 PyThreadState* __tstate = wxPyBeginAllowThreads();
2014 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2015
2016 wxPyEndAllowThreads(__tstate);
2017 if (PyErr_Occurred()) SWIG_fail;
2018 }
2019 Py_INCREF(Py_None); resultobj = Py_None;
2020 {
2021 PyObject *o = PyInt_FromLong((long) (*arg4));
2022 resultobj = t_output_helper(resultobj,o);
2023 }
2024 {
2025 PyObject *o = PyInt_FromLong((long) (*arg5));
2026 resultobj = t_output_helper(resultobj,o);
2027 }
2028 return resultobj;
2029 fail:
2030 return NULL;
2031 }
2032
2033
2034 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2035 int argc;
2036 PyObject *argv[4];
2037 int ii;
2038
2039 argc = PyObject_Length(args);
2040 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2041 argv[ii] = PyTuple_GetItem(args,ii);
2042 }
2043 if (argc == 2) {
2044 int _v;
2045 {
2046 void *ptr;
2047 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2048 _v = 0;
2049 PyErr_Clear();
2050 } else {
2051 _v = 1;
2052 }
2053 }
2054 if (_v) {
2055 {
2056 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2057 }
2058 if (_v) {
2059 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2060 }
2061 }
2062 }
2063 if (argc == 3) {
2064 int _v;
2065 {
2066 void *ptr;
2067 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2068 _v = 0;
2069 PyErr_Clear();
2070 } else {
2071 _v = 1;
2072 }
2073 }
2074 if (_v) {
2075 {
2076 SPyObj_AsInt(argv[1]);
2077 if (PyErr_Occurred()) {
2078 _v = 0;
2079 PyErr_Clear();
2080 } else {
2081 _v = 1;
2082 }
2083 }
2084 if (_v) {
2085 {
2086 SPyObj_AsInt(argv[2]);
2087 if (PyErr_Occurred()) {
2088 _v = 0;
2089 PyErr_Clear();
2090 } else {
2091 _v = 1;
2092 }
2093 }
2094 if (_v) {
2095 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2096 }
2097 }
2098 }
2099 }
2100
2101 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2102 return NULL;
2103 }
2104
2105
2106 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2107 PyObject *resultobj;
2108 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2109 PyObject * obj0 = 0 ;
2110 char *kwnames[] = {
2111 (char *) "self", NULL
2112 };
2113
2114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 (arg1)->AdjustScrollbars();
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 Py_INCREF(Py_None); resultobj = Py_None;
2124 return resultobj;
2125 fail:
2126 return NULL;
2127 }
2128
2129
2130 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2131 PyObject *resultobj;
2132 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2133 wxScrollWinEvent *arg2 = 0 ;
2134 int result;
2135 PyObject * obj0 = 0 ;
2136 PyObject * obj1 = 0 ;
2137 char *kwnames[] = {
2138 (char *) "self",(char *) "event", NULL
2139 };
2140
2141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2144 if (arg2 == NULL) {
2145 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2146 }
2147 {
2148 PyThreadState* __tstate = wxPyBeginAllowThreads();
2149 result = (int)(arg1)->CalcScrollInc(*arg2);
2150
2151 wxPyEndAllowThreads(__tstate);
2152 if (PyErr_Occurred()) SWIG_fail;
2153 }
2154 resultobj = PyInt_FromLong((long)result);
2155 return resultobj;
2156 fail:
2157 return NULL;
2158 }
2159
2160
2161 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2162 PyObject *resultobj;
2163 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2164 wxWindow *arg2 = (wxWindow *) 0 ;
2165 PyObject * obj0 = 0 ;
2166 PyObject * obj1 = 0 ;
2167 char *kwnames[] = {
2168 (char *) "self",(char *) "target", NULL
2169 };
2170
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2174 {
2175 PyThreadState* __tstate = wxPyBeginAllowThreads();
2176 (arg1)->SetTargetWindow(arg2);
2177
2178 wxPyEndAllowThreads(__tstate);
2179 if (PyErr_Occurred()) SWIG_fail;
2180 }
2181 Py_INCREF(Py_None); resultobj = Py_None;
2182 return resultobj;
2183 fail:
2184 return NULL;
2185 }
2186
2187
2188 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2189 PyObject *resultobj;
2190 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2191 wxWindow *result;
2192 PyObject * obj0 = 0 ;
2193 char *kwnames[] = {
2194 (char *) "self", NULL
2195 };
2196
2197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
2206 {
2207 resultobj = wxPyMake_wxObject(result);
2208 }
2209 return resultobj;
2210 fail:
2211 return NULL;
2212 }
2213
2214
2215 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2216 PyObject *resultobj;
2217 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2218 wxRect *arg2 = 0 ;
2219 wxRect temp2 ;
2220 PyObject * obj0 = 0 ;
2221 PyObject * obj1 = 0 ;
2222 char *kwnames[] = {
2223 (char *) "self",(char *) "rect", NULL
2224 };
2225
2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2228 {
2229 arg2 = &temp2;
2230 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2231 }
2232 {
2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
2234 (arg1)->SetTargetRect((wxRect const &)*arg2);
2235
2236 wxPyEndAllowThreads(__tstate);
2237 if (PyErr_Occurred()) SWIG_fail;
2238 }
2239 Py_INCREF(Py_None); resultobj = Py_None;
2240 return resultobj;
2241 fail:
2242 return NULL;
2243 }
2244
2245
2246 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2247 PyObject *resultobj;
2248 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2249 wxRect result;
2250 PyObject * obj0 = 0 ;
2251 char *kwnames[] = {
2252 (char *) "self", NULL
2253 };
2254
2255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2257 {
2258 PyThreadState* __tstate = wxPyBeginAllowThreads();
2259 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2260
2261 wxPyEndAllowThreads(__tstate);
2262 if (PyErr_Occurred()) SWIG_fail;
2263 }
2264 {
2265 wxRect * resultptr;
2266 resultptr = new wxRect((wxRect &) result);
2267 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2268 }
2269 return resultobj;
2270 fail:
2271 return NULL;
2272 }
2273
2274
2275 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2276 PyObject *obj;
2277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2278 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2279 Py_INCREF(obj);
2280 return Py_BuildValue((char *)"");
2281 }
2282 static int _wrap_FrameNameStr_set(PyObject *_val) {
2283 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2284 return 1;
2285 }
2286
2287
2288 static PyObject *_wrap_FrameNameStr_get() {
2289 PyObject *pyobj;
2290
2291 {
2292 #if wxUSE_UNICODE
2293 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2294 #else
2295 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2296 #endif
2297 }
2298 return pyobj;
2299 }
2300
2301
2302 static int _wrap_DialogNameStr_set(PyObject *_val) {
2303 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2304 return 1;
2305 }
2306
2307
2308 static PyObject *_wrap_DialogNameStr_get() {
2309 PyObject *pyobj;
2310
2311 {
2312 #if wxUSE_UNICODE
2313 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2314 #else
2315 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2316 #endif
2317 }
2318 return pyobj;
2319 }
2320
2321
2322 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2323 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2324 return 1;
2325 }
2326
2327
2328 static PyObject *_wrap_StatusLineNameStr_get() {
2329 PyObject *pyobj;
2330
2331 {
2332 #if wxUSE_UNICODE
2333 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2334 #else
2335 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2336 #endif
2337 }
2338 return pyobj;
2339 }
2340
2341
2342 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2343 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2344 return 1;
2345 }
2346
2347
2348 static PyObject *_wrap_ToolBarNameStr_get() {
2349 PyObject *pyobj;
2350
2351 {
2352 #if wxUSE_UNICODE
2353 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2354 #else
2355 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2356 #endif
2357 }
2358 return pyobj;
2359 }
2360
2361
2362 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2363 PyObject *resultobj;
2364 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2365 bool arg2 = (bool) True ;
2366 PyObject * obj0 = 0 ;
2367 PyObject * obj1 = 0 ;
2368 char *kwnames[] = {
2369 (char *) "self",(char *) "maximize", NULL
2370 };
2371
2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2374 if (obj1) {
2375 {
2376 arg2 = (bool) SPyObj_AsBool(obj1);
2377 if (PyErr_Occurred()) SWIG_fail;
2378 }
2379 }
2380 {
2381 PyThreadState* __tstate = wxPyBeginAllowThreads();
2382 (arg1)->Maximize(arg2);
2383
2384 wxPyEndAllowThreads(__tstate);
2385 if (PyErr_Occurred()) SWIG_fail;
2386 }
2387 Py_INCREF(Py_None); resultobj = Py_None;
2388 return resultobj;
2389 fail:
2390 return NULL;
2391 }
2392
2393
2394 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2395 PyObject *resultobj;
2396 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2397 PyObject * obj0 = 0 ;
2398 char *kwnames[] = {
2399 (char *) "self", NULL
2400 };
2401
2402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 (arg1)->Restore();
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 Py_INCREF(Py_None); resultobj = Py_None;
2412 return resultobj;
2413 fail:
2414 return NULL;
2415 }
2416
2417
2418 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2419 PyObject *resultobj;
2420 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2421 bool arg2 = (bool) True ;
2422 PyObject * obj0 = 0 ;
2423 PyObject * obj1 = 0 ;
2424 char *kwnames[] = {
2425 (char *) "self",(char *) "iconize", NULL
2426 };
2427
2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2430 if (obj1) {
2431 {
2432 arg2 = (bool) SPyObj_AsBool(obj1);
2433 if (PyErr_Occurred()) SWIG_fail;
2434 }
2435 }
2436 {
2437 PyThreadState* __tstate = wxPyBeginAllowThreads();
2438 (arg1)->Iconize(arg2);
2439
2440 wxPyEndAllowThreads(__tstate);
2441 if (PyErr_Occurred()) SWIG_fail;
2442 }
2443 Py_INCREF(Py_None); resultobj = Py_None;
2444 return resultobj;
2445 fail:
2446 return NULL;
2447 }
2448
2449
2450 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2451 PyObject *resultobj;
2452 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2453 bool result;
2454 PyObject * obj0 = 0 ;
2455 char *kwnames[] = {
2456 (char *) "self", NULL
2457 };
2458
2459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2461 {
2462 PyThreadState* __tstate = wxPyBeginAllowThreads();
2463 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2464
2465 wxPyEndAllowThreads(__tstate);
2466 if (PyErr_Occurred()) SWIG_fail;
2467 }
2468 resultobj = PyInt_FromLong((long)result);
2469 return resultobj;
2470 fail:
2471 return NULL;
2472 }
2473
2474
2475 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2476 PyObject *resultobj;
2477 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2478 bool result;
2479 PyObject * obj0 = 0 ;
2480 char *kwnames[] = {
2481 (char *) "self", NULL
2482 };
2483
2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2486 {
2487 PyThreadState* __tstate = wxPyBeginAllowThreads();
2488 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2489
2490 wxPyEndAllowThreads(__tstate);
2491 if (PyErr_Occurred()) SWIG_fail;
2492 }
2493 resultobj = PyInt_FromLong((long)result);
2494 return resultobj;
2495 fail:
2496 return NULL;
2497 }
2498
2499
2500 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2501 PyObject *resultobj;
2502 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2503 wxIcon result;
2504 PyObject * obj0 = 0 ;
2505 char *kwnames[] = {
2506 (char *) "self", NULL
2507 };
2508
2509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2511 {
2512 PyThreadState* __tstate = wxPyBeginAllowThreads();
2513 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2514
2515 wxPyEndAllowThreads(__tstate);
2516 if (PyErr_Occurred()) SWIG_fail;
2517 }
2518 {
2519 wxIcon * resultptr;
2520 resultptr = new wxIcon((wxIcon &) result);
2521 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2522 }
2523 return resultobj;
2524 fail:
2525 return NULL;
2526 }
2527
2528
2529 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2530 PyObject *resultobj;
2531 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2532 wxIcon *arg2 = 0 ;
2533 PyObject * obj0 = 0 ;
2534 PyObject * obj1 = 0 ;
2535 char *kwnames[] = {
2536 (char *) "self",(char *) "icon", NULL
2537 };
2538
2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2542 if (arg2 == NULL) {
2543 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2544 }
2545 {
2546 PyThreadState* __tstate = wxPyBeginAllowThreads();
2547 (arg1)->SetIcon((wxIcon const &)*arg2);
2548
2549 wxPyEndAllowThreads(__tstate);
2550 if (PyErr_Occurred()) SWIG_fail;
2551 }
2552 Py_INCREF(Py_None); resultobj = Py_None;
2553 return resultobj;
2554 fail:
2555 return NULL;
2556 }
2557
2558
2559 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2560 PyObject *resultobj;
2561 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2562 wxIconBundle *arg2 = 0 ;
2563 PyObject * obj0 = 0 ;
2564 PyObject * obj1 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "self",(char *) "icons", NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2572 if (arg2 == NULL) {
2573 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2574 }
2575 {
2576 PyThreadState* __tstate = wxPyBeginAllowThreads();
2577 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2578
2579 wxPyEndAllowThreads(__tstate);
2580 if (PyErr_Occurred()) SWIG_fail;
2581 }
2582 Py_INCREF(Py_None); resultobj = Py_None;
2583 return resultobj;
2584 fail:
2585 return NULL;
2586 }
2587
2588
2589 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2590 PyObject *resultobj;
2591 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2592 bool arg2 ;
2593 long arg3 = (long) wxFULLSCREEN_ALL ;
2594 bool result;
2595 PyObject * obj0 = 0 ;
2596 PyObject * obj1 = 0 ;
2597 char *kwnames[] = {
2598 (char *) "self",(char *) "show",(char *) "style", NULL
2599 };
2600
2601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2603 {
2604 arg2 = (bool) SPyObj_AsBool(obj1);
2605 if (PyErr_Occurred()) SWIG_fail;
2606 }
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 resultobj = PyInt_FromLong((long)result);
2615 return resultobj;
2616 fail:
2617 return NULL;
2618 }
2619
2620
2621 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2622 PyObject *resultobj;
2623 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2624 bool result;
2625 PyObject * obj0 = 0 ;
2626 char *kwnames[] = {
2627 (char *) "self", NULL
2628 };
2629
2630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2632 {
2633 PyThreadState* __tstate = wxPyBeginAllowThreads();
2634 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2635
2636 wxPyEndAllowThreads(__tstate);
2637 if (PyErr_Occurred()) SWIG_fail;
2638 }
2639 resultobj = PyInt_FromLong((long)result);
2640 return resultobj;
2641 fail:
2642 return NULL;
2643 }
2644
2645
2646 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2647 PyObject *resultobj;
2648 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2649 wxString *arg2 = 0 ;
2650 bool temp2 = False ;
2651 PyObject * obj0 = 0 ;
2652 PyObject * obj1 = 0 ;
2653 char *kwnames[] = {
2654 (char *) "self",(char *) "title", NULL
2655 };
2656
2657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2659 {
2660 arg2 = wxString_in_helper(obj1);
2661 if (arg2 == NULL) SWIG_fail;
2662 temp2 = True;
2663 }
2664 {
2665 PyThreadState* __tstate = wxPyBeginAllowThreads();
2666 (arg1)->SetTitle((wxString const &)*arg2);
2667
2668 wxPyEndAllowThreads(__tstate);
2669 if (PyErr_Occurred()) SWIG_fail;
2670 }
2671 Py_INCREF(Py_None); resultobj = Py_None;
2672 {
2673 if (temp2)
2674 delete arg2;
2675 }
2676 return resultobj;
2677 fail:
2678 {
2679 if (temp2)
2680 delete arg2;
2681 }
2682 return NULL;
2683 }
2684
2685
2686 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2687 PyObject *resultobj;
2688 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2689 wxString result;
2690 PyObject * obj0 = 0 ;
2691 char *kwnames[] = {
2692 (char *) "self", NULL
2693 };
2694
2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2697 {
2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
2699 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2700
2701 wxPyEndAllowThreads(__tstate);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 {
2705 #if wxUSE_UNICODE
2706 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2707 #else
2708 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2709 #endif
2710 }
2711 return resultobj;
2712 fail:
2713 return NULL;
2714 }
2715
2716
2717 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2718 PyObject *resultobj;
2719 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2720 wxRegion *arg2 = 0 ;
2721 bool result;
2722 PyObject * obj0 = 0 ;
2723 PyObject * obj1 = 0 ;
2724 char *kwnames[] = {
2725 (char *) "self",(char *) "region", NULL
2726 };
2727
2728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2730 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2731 if (arg2 == NULL) {
2732 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2733 }
2734 {
2735 PyThreadState* __tstate = wxPyBeginAllowThreads();
2736 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2737
2738 wxPyEndAllowThreads(__tstate);
2739 if (PyErr_Occurred()) SWIG_fail;
2740 }
2741 resultobj = PyInt_FromLong((long)result);
2742 return resultobj;
2743 fail:
2744 return NULL;
2745 }
2746
2747
2748 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2749 PyObject *obj;
2750 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2751 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2752 Py_INCREF(obj);
2753 return Py_BuildValue((char *)"");
2754 }
2755 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2756 PyObject *resultobj;
2757 wxWindow *arg1 = (wxWindow *) 0 ;
2758 int arg2 ;
2759 wxString *arg3 = 0 ;
2760 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2761 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2762 wxSize const &arg5_defvalue = wxDefaultSize ;
2763 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2764 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2765 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2766 wxString *arg7 = (wxString *) &arg7_defvalue ;
2767 wxFrame *result;
2768 bool temp3 = False ;
2769 wxPoint temp4 ;
2770 wxSize temp5 ;
2771 bool temp7 = False ;
2772 PyObject * obj0 = 0 ;
2773 PyObject * obj2 = 0 ;
2774 PyObject * obj3 = 0 ;
2775 PyObject * obj4 = 0 ;
2776 PyObject * obj6 = 0 ;
2777 char *kwnames[] = {
2778 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2779 };
2780
2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2783 {
2784 arg3 = wxString_in_helper(obj2);
2785 if (arg3 == NULL) SWIG_fail;
2786 temp3 = True;
2787 }
2788 if (obj3) {
2789 {
2790 arg4 = &temp4;
2791 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2792 }
2793 }
2794 if (obj4) {
2795 {
2796 arg5 = &temp5;
2797 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2798 }
2799 }
2800 if (obj6) {
2801 {
2802 arg7 = wxString_in_helper(obj6);
2803 if (arg7 == NULL) SWIG_fail;
2804 temp7 = True;
2805 }
2806 }
2807 {
2808 PyThreadState* __tstate = wxPyBeginAllowThreads();
2809 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2810
2811 wxPyEndAllowThreads(__tstate);
2812 if (PyErr_Occurred()) SWIG_fail;
2813 }
2814 {
2815 resultobj = wxPyMake_wxObject(result);
2816 }
2817 {
2818 if (temp3)
2819 delete arg3;
2820 }
2821 {
2822 if (temp7)
2823 delete arg7;
2824 }
2825 return resultobj;
2826 fail:
2827 {
2828 if (temp3)
2829 delete arg3;
2830 }
2831 {
2832 if (temp7)
2833 delete arg7;
2834 }
2835 return NULL;
2836 }
2837
2838
2839 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2840 PyObject *resultobj;
2841 wxFrame *result;
2842 char *kwnames[] = {
2843 NULL
2844 };
2845
2846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2847 {
2848 PyThreadState* __tstate = wxPyBeginAllowThreads();
2849 result = (wxFrame *)new wxFrame();
2850
2851 wxPyEndAllowThreads(__tstate);
2852 if (PyErr_Occurred()) SWIG_fail;
2853 }
2854 {
2855 resultobj = wxPyMake_wxObject(result);
2856 }
2857 return resultobj;
2858 fail:
2859 return NULL;
2860 }
2861
2862
2863 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2864 PyObject *resultobj;
2865 wxFrame *arg1 = (wxFrame *) 0 ;
2866 wxWindow *arg2 = (wxWindow *) 0 ;
2867 int arg3 ;
2868 wxString *arg4 = 0 ;
2869 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2870 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2871 wxSize const &arg6_defvalue = wxDefaultSize ;
2872 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2873 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2874 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2875 wxString *arg8 = (wxString *) &arg8_defvalue ;
2876 bool result;
2877 bool temp4 = False ;
2878 wxPoint temp5 ;
2879 wxSize temp6 ;
2880 bool temp8 = False ;
2881 PyObject * obj0 = 0 ;
2882 PyObject * obj1 = 0 ;
2883 PyObject * obj3 = 0 ;
2884 PyObject * obj4 = 0 ;
2885 PyObject * obj5 = 0 ;
2886 PyObject * obj7 = 0 ;
2887 char *kwnames[] = {
2888 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2889 };
2890
2891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2893 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2894 {
2895 arg4 = wxString_in_helper(obj3);
2896 if (arg4 == NULL) SWIG_fail;
2897 temp4 = True;
2898 }
2899 if (obj4) {
2900 {
2901 arg5 = &temp5;
2902 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2903 }
2904 }
2905 if (obj5) {
2906 {
2907 arg6 = &temp6;
2908 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2909 }
2910 }
2911 if (obj7) {
2912 {
2913 arg8 = wxString_in_helper(obj7);
2914 if (arg8 == NULL) SWIG_fail;
2915 temp8 = True;
2916 }
2917 }
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 resultobj = PyInt_FromLong((long)result);
2926 {
2927 if (temp4)
2928 delete arg4;
2929 }
2930 {
2931 if (temp8)
2932 delete arg8;
2933 }
2934 return resultobj;
2935 fail:
2936 {
2937 if (temp4)
2938 delete arg4;
2939 }
2940 {
2941 if (temp8)
2942 delete arg8;
2943 }
2944 return NULL;
2945 }
2946
2947
2948 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2949 PyObject *resultobj;
2950 wxFrame *arg1 = (wxFrame *) 0 ;
2951 wxPoint result;
2952 PyObject * obj0 = 0 ;
2953 char *kwnames[] = {
2954 (char *) "self", NULL
2955 };
2956
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2959 {
2960 PyThreadState* __tstate = wxPyBeginAllowThreads();
2961 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2962
2963 wxPyEndAllowThreads(__tstate);
2964 if (PyErr_Occurred()) SWIG_fail;
2965 }
2966 {
2967 wxPoint * resultptr;
2968 resultptr = new wxPoint((wxPoint &) result);
2969 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2970 }
2971 return resultobj;
2972 fail:
2973 return NULL;
2974 }
2975
2976
2977 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2978 PyObject *resultobj;
2979 wxFrame *arg1 = (wxFrame *) 0 ;
2980 PyObject * obj0 = 0 ;
2981 char *kwnames[] = {
2982 (char *) "self", NULL
2983 };
2984
2985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2987 {
2988 PyThreadState* __tstate = wxPyBeginAllowThreads();
2989 (arg1)->SendSizeEvent();
2990
2991 wxPyEndAllowThreads(__tstate);
2992 if (PyErr_Occurred()) SWIG_fail;
2993 }
2994 Py_INCREF(Py_None); resultobj = Py_None;
2995 return resultobj;
2996 fail:
2997 return NULL;
2998 }
2999
3000
3001 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3002 PyObject *resultobj;
3003 wxFrame *arg1 = (wxFrame *) 0 ;
3004 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3005 PyObject * obj0 = 0 ;
3006 PyObject * obj1 = 0 ;
3007 char *kwnames[] = {
3008 (char *) "self",(char *) "menubar", NULL
3009 };
3010
3011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3014 {
3015 PyThreadState* __tstate = wxPyBeginAllowThreads();
3016 (arg1)->SetMenuBar(arg2);
3017
3018 wxPyEndAllowThreads(__tstate);
3019 if (PyErr_Occurred()) SWIG_fail;
3020 }
3021 Py_INCREF(Py_None); resultobj = Py_None;
3022 return resultobj;
3023 fail:
3024 return NULL;
3025 }
3026
3027
3028 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3029 PyObject *resultobj;
3030 wxFrame *arg1 = (wxFrame *) 0 ;
3031 wxMenuBar *result;
3032 PyObject * obj0 = 0 ;
3033 char *kwnames[] = {
3034 (char *) "self", NULL
3035 };
3036
3037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3039 {
3040 PyThreadState* __tstate = wxPyBeginAllowThreads();
3041 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3042
3043 wxPyEndAllowThreads(__tstate);
3044 if (PyErr_Occurred()) SWIG_fail;
3045 }
3046 {
3047 resultobj = wxPyMake_wxObject(result);
3048 }
3049 return resultobj;
3050 fail:
3051 return NULL;
3052 }
3053
3054
3055 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3056 PyObject *resultobj;
3057 wxFrame *arg1 = (wxFrame *) 0 ;
3058 int arg2 ;
3059 bool result;
3060 PyObject * obj0 = 0 ;
3061 char *kwnames[] = {
3062 (char *) "self",(char *) "winid", NULL
3063 };
3064
3065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
3066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 result = (bool)(arg1)->ProcessCommand(arg2);
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 resultobj = PyInt_FromLong((long)result);
3075 return resultobj;
3076 fail:
3077 return NULL;
3078 }
3079
3080
3081 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject *resultobj;
3083 wxFrame *arg1 = (wxFrame *) 0 ;
3084 int arg2 = (int) 1 ;
3085 long arg3 = (long) wxST_SIZEGRIP ;
3086 int arg4 = (int) 0 ;
3087 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3088 wxString *arg5 = (wxString *) &arg5_defvalue ;
3089 wxStatusBar *result;
3090 bool temp5 = False ;
3091 PyObject * obj0 = 0 ;
3092 PyObject * obj4 = 0 ;
3093 char *kwnames[] = {
3094 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3095 };
3096
3097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
3098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3099 if (obj4) {
3100 {
3101 arg5 = wxString_in_helper(obj4);
3102 if (arg5 == NULL) SWIG_fail;
3103 temp5 = True;
3104 }
3105 }
3106 {
3107 PyThreadState* __tstate = wxPyBeginAllowThreads();
3108 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3109
3110 wxPyEndAllowThreads(__tstate);
3111 if (PyErr_Occurred()) SWIG_fail;
3112 }
3113 {
3114 resultobj = wxPyMake_wxObject(result);
3115 }
3116 {
3117 if (temp5)
3118 delete arg5;
3119 }
3120 return resultobj;
3121 fail:
3122 {
3123 if (temp5)
3124 delete arg5;
3125 }
3126 return NULL;
3127 }
3128
3129
3130 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3131 PyObject *resultobj;
3132 wxFrame *arg1 = (wxFrame *) 0 ;
3133 wxStatusBar *result;
3134 PyObject * obj0 = 0 ;
3135 char *kwnames[] = {
3136 (char *) "self", NULL
3137 };
3138
3139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
3148 {
3149 resultobj = wxPyMake_wxObject(result);
3150 }
3151 return resultobj;
3152 fail:
3153 return NULL;
3154 }
3155
3156
3157 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3158 PyObject *resultobj;
3159 wxFrame *arg1 = (wxFrame *) 0 ;
3160 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3161 PyObject * obj0 = 0 ;
3162 PyObject * obj1 = 0 ;
3163 char *kwnames[] = {
3164 (char *) "self",(char *) "statBar", NULL
3165 };
3166
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3169 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3170 {
3171 PyThreadState* __tstate = wxPyBeginAllowThreads();
3172 (arg1)->SetStatusBar(arg2);
3173
3174 wxPyEndAllowThreads(__tstate);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 Py_INCREF(Py_None); resultobj = Py_None;
3178 return resultobj;
3179 fail:
3180 return NULL;
3181 }
3182
3183
3184 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3185 PyObject *resultobj;
3186 wxFrame *arg1 = (wxFrame *) 0 ;
3187 wxString *arg2 = 0 ;
3188 int arg3 = (int) 0 ;
3189 bool temp2 = False ;
3190 PyObject * obj0 = 0 ;
3191 PyObject * obj1 = 0 ;
3192 char *kwnames[] = {
3193 (char *) "self",(char *) "text",(char *) "number", NULL
3194 };
3195
3196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3198 {
3199 arg2 = wxString_in_helper(obj1);
3200 if (arg2 == NULL) SWIG_fail;
3201 temp2 = True;
3202 }
3203 {
3204 PyThreadState* __tstate = wxPyBeginAllowThreads();
3205 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3206
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
3210 Py_INCREF(Py_None); resultobj = Py_None;
3211 {
3212 if (temp2)
3213 delete arg2;
3214 }
3215 return resultobj;
3216 fail:
3217 {
3218 if (temp2)
3219 delete arg2;
3220 }
3221 return NULL;
3222 }
3223
3224
3225 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3226 PyObject *resultobj;
3227 wxFrame *arg1 = (wxFrame *) 0 ;
3228 int arg2 ;
3229 int *arg3 = (int *) 0 ;
3230 PyObject * obj0 = 0 ;
3231 PyObject * obj1 = 0 ;
3232 char *kwnames[] = {
3233 (char *) "self",(char *) "widths", NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3238 {
3239 arg2 = PyList_Size(obj1);
3240 arg3 = int_LIST_helper(obj1);
3241 if (arg3 == NULL) SWIG_fail;
3242 }
3243 {
3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
3245 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 Py_INCREF(Py_None); resultobj = Py_None;
3251 {
3252 if (arg3) delete [] arg3;
3253 }
3254 return resultobj;
3255 fail:
3256 {
3257 if (arg3) delete [] arg3;
3258 }
3259 return NULL;
3260 }
3261
3262
3263 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3264 PyObject *resultobj;
3265 wxFrame *arg1 = (wxFrame *) 0 ;
3266 wxString *arg2 = 0 ;
3267 int arg3 = (int) 0 ;
3268 bool temp2 = False ;
3269 PyObject * obj0 = 0 ;
3270 PyObject * obj1 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self",(char *) "text",(char *) "number", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3277 {
3278 arg2 = wxString_in_helper(obj1);
3279 if (arg2 == NULL) SWIG_fail;
3280 temp2 = True;
3281 }
3282 {
3283 PyThreadState* __tstate = wxPyBeginAllowThreads();
3284 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3285
3286 wxPyEndAllowThreads(__tstate);
3287 if (PyErr_Occurred()) SWIG_fail;
3288 }
3289 Py_INCREF(Py_None); resultobj = Py_None;
3290 {
3291 if (temp2)
3292 delete arg2;
3293 }
3294 return resultobj;
3295 fail:
3296 {
3297 if (temp2)
3298 delete arg2;
3299 }
3300 return NULL;
3301 }
3302
3303
3304 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3305 PyObject *resultobj;
3306 wxFrame *arg1 = (wxFrame *) 0 ;
3307 int arg2 = (int) 0 ;
3308 PyObject * obj0 = 0 ;
3309 char *kwnames[] = {
3310 (char *) "self",(char *) "number", NULL
3311 };
3312
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3315 {
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 (arg1)->PopStatusText(arg2);
3318
3319 wxPyEndAllowThreads(__tstate);
3320 if (PyErr_Occurred()) SWIG_fail;
3321 }
3322 Py_INCREF(Py_None); resultobj = Py_None;
3323 return resultobj;
3324 fail:
3325 return NULL;
3326 }
3327
3328
3329 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3330 PyObject *resultobj;
3331 wxFrame *arg1 = (wxFrame *) 0 ;
3332 int arg2 ;
3333 PyObject * obj0 = 0 ;
3334 char *kwnames[] = {
3335 (char *) "self",(char *) "n", NULL
3336 };
3337
3338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3340 {
3341 PyThreadState* __tstate = wxPyBeginAllowThreads();
3342 (arg1)->SetStatusBarPane(arg2);
3343
3344 wxPyEndAllowThreads(__tstate);
3345 if (PyErr_Occurred()) SWIG_fail;
3346 }
3347 Py_INCREF(Py_None); resultobj = Py_None;
3348 return resultobj;
3349 fail:
3350 return NULL;
3351 }
3352
3353
3354 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3355 PyObject *resultobj;
3356 wxFrame *arg1 = (wxFrame *) 0 ;
3357 int result;
3358 PyObject * obj0 = 0 ;
3359 char *kwnames[] = {
3360 (char *) "self", NULL
3361 };
3362
3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3365 {
3366 PyThreadState* __tstate = wxPyBeginAllowThreads();
3367 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3368
3369 wxPyEndAllowThreads(__tstate);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 }
3372 resultobj = PyInt_FromLong((long)result);
3373 return resultobj;
3374 fail:
3375 return NULL;
3376 }
3377
3378
3379 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3380 PyObject *resultobj;
3381 wxFrame *arg1 = (wxFrame *) 0 ;
3382 long arg2 = (long) -1 ;
3383 int arg3 = (int) -1 ;
3384 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3385 wxString *arg4 = (wxString *) &arg4_defvalue ;
3386 wxToolBar *result;
3387 bool temp4 = False ;
3388 PyObject * obj0 = 0 ;
3389 PyObject * obj3 = 0 ;
3390 char *kwnames[] = {
3391 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3392 };
3393
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3396 if (obj3) {
3397 {
3398 arg4 = wxString_in_helper(obj3);
3399 if (arg4 == NULL) SWIG_fail;
3400 temp4 = True;
3401 }
3402 }
3403 {
3404 PyThreadState* __tstate = wxPyBeginAllowThreads();
3405 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3406
3407 wxPyEndAllowThreads(__tstate);
3408 if (PyErr_Occurred()) SWIG_fail;
3409 }
3410 {
3411 resultobj = wxPyMake_wxObject(result);
3412 }
3413 {
3414 if (temp4)
3415 delete arg4;
3416 }
3417 return resultobj;
3418 fail:
3419 {
3420 if (temp4)
3421 delete arg4;
3422 }
3423 return NULL;
3424 }
3425
3426
3427 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3428 PyObject *resultobj;
3429 wxFrame *arg1 = (wxFrame *) 0 ;
3430 wxToolBar *result;
3431 PyObject * obj0 = 0 ;
3432 char *kwnames[] = {
3433 (char *) "self", NULL
3434 };
3435
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3438 {
3439 PyThreadState* __tstate = wxPyBeginAllowThreads();
3440 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3441
3442 wxPyEndAllowThreads(__tstate);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
3445 {
3446 resultobj = wxPyMake_wxObject(result);
3447 }
3448 return resultobj;
3449 fail:
3450 return NULL;
3451 }
3452
3453
3454 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject *resultobj;
3456 wxFrame *arg1 = (wxFrame *) 0 ;
3457 wxToolBar *arg2 = (wxToolBar *) 0 ;
3458 PyObject * obj0 = 0 ;
3459 PyObject * obj1 = 0 ;
3460 char *kwnames[] = {
3461 (char *) "self",(char *) "toolbar", NULL
3462 };
3463
3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3466 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 (arg1)->SetToolBar(arg2);
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 Py_INCREF(Py_None); resultobj = Py_None;
3475 return resultobj;
3476 fail:
3477 return NULL;
3478 }
3479
3480
3481 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3482 PyObject *resultobj;
3483 wxFrame *arg1 = (wxFrame *) 0 ;
3484 wxString *arg2 = 0 ;
3485 bool arg3 ;
3486 bool temp2 = False ;
3487 PyObject * obj0 = 0 ;
3488 PyObject * obj1 = 0 ;
3489 PyObject * obj2 = 0 ;
3490 char *kwnames[] = {
3491 (char *) "self",(char *) "text",(char *) "show", NULL
3492 };
3493
3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3496 {
3497 arg2 = wxString_in_helper(obj1);
3498 if (arg2 == NULL) SWIG_fail;
3499 temp2 = True;
3500 }
3501 {
3502 arg3 = (bool) SPyObj_AsBool(obj2);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
3505 {
3506 PyThreadState* __tstate = wxPyBeginAllowThreads();
3507 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3508
3509 wxPyEndAllowThreads(__tstate);
3510 if (PyErr_Occurred()) SWIG_fail;
3511 }
3512 Py_INCREF(Py_None); resultobj = Py_None;
3513 {
3514 if (temp2)
3515 delete arg2;
3516 }
3517 return resultobj;
3518 fail:
3519 {
3520 if (temp2)
3521 delete arg2;
3522 }
3523 return NULL;
3524 }
3525
3526
3527 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3528 PyObject *resultobj;
3529 wxFrame *arg1 = (wxFrame *) 0 ;
3530 wxMenu *arg2 = (wxMenu *) NULL ;
3531 PyObject * obj0 = 0 ;
3532 PyObject * obj1 = 0 ;
3533 char *kwnames[] = {
3534 (char *) "self",(char *) "menu", NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3539 if (obj1) {
3540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3541 }
3542 {
3543 PyThreadState* __tstate = wxPyBeginAllowThreads();
3544 (arg1)->DoMenuUpdates(arg2);
3545
3546 wxPyEndAllowThreads(__tstate);
3547 if (PyErr_Occurred()) SWIG_fail;
3548 }
3549 Py_INCREF(Py_None); resultobj = Py_None;
3550 return resultobj;
3551 fail:
3552 return NULL;
3553 }
3554
3555
3556 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3557 PyObject *obj;
3558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3559 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3560 Py_INCREF(obj);
3561 return Py_BuildValue((char *)"");
3562 }
3563 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3564 PyObject *resultobj;
3565 wxWindow *arg1 = (wxWindow *) 0 ;
3566 int arg2 ;
3567 wxString *arg3 = 0 ;
3568 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3569 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3570 wxSize const &arg5_defvalue = wxDefaultSize ;
3571 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3572 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3573 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3574 wxString *arg7 = (wxString *) &arg7_defvalue ;
3575 wxDialog *result;
3576 bool temp3 = False ;
3577 wxPoint temp4 ;
3578 wxSize temp5 ;
3579 bool temp7 = False ;
3580 PyObject * obj0 = 0 ;
3581 PyObject * obj2 = 0 ;
3582 PyObject * obj3 = 0 ;
3583 PyObject * obj4 = 0 ;
3584 PyObject * obj6 = 0 ;
3585 char *kwnames[] = {
3586 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3587 };
3588
3589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3591 {
3592 arg3 = wxString_in_helper(obj2);
3593 if (arg3 == NULL) SWIG_fail;
3594 temp3 = True;
3595 }
3596 if (obj3) {
3597 {
3598 arg4 = &temp4;
3599 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3600 }
3601 }
3602 if (obj4) {
3603 {
3604 arg5 = &temp5;
3605 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3606 }
3607 }
3608 if (obj6) {
3609 {
3610 arg7 = wxString_in_helper(obj6);
3611 if (arg7 == NULL) SWIG_fail;
3612 temp7 = True;
3613 }
3614 }
3615 {
3616 PyThreadState* __tstate = wxPyBeginAllowThreads();
3617 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3618
3619 wxPyEndAllowThreads(__tstate);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
3622 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3623 {
3624 if (temp3)
3625 delete arg3;
3626 }
3627 {
3628 if (temp7)
3629 delete arg7;
3630 }
3631 return resultobj;
3632 fail:
3633 {
3634 if (temp3)
3635 delete arg3;
3636 }
3637 {
3638 if (temp7)
3639 delete arg7;
3640 }
3641 return NULL;
3642 }
3643
3644
3645 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3646 PyObject *resultobj;
3647 wxDialog *result;
3648 char *kwnames[] = {
3649 NULL
3650 };
3651
3652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 result = (wxDialog *)new wxDialog();
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3661 return resultobj;
3662 fail:
3663 return NULL;
3664 }
3665
3666
3667 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3668 PyObject *resultobj;
3669 wxDialog *arg1 = (wxDialog *) 0 ;
3670 wxWindow *arg2 = (wxWindow *) 0 ;
3671 int arg3 ;
3672 wxString *arg4 = 0 ;
3673 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3674 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3675 wxSize const &arg6_defvalue = wxDefaultSize ;
3676 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3677 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3678 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3679 wxString *arg8 = (wxString *) &arg8_defvalue ;
3680 bool result;
3681 bool temp4 = False ;
3682 wxPoint temp5 ;
3683 wxSize temp6 ;
3684 bool temp8 = False ;
3685 PyObject * obj0 = 0 ;
3686 PyObject * obj1 = 0 ;
3687 PyObject * obj3 = 0 ;
3688 PyObject * obj4 = 0 ;
3689 PyObject * obj5 = 0 ;
3690 PyObject * obj7 = 0 ;
3691 char *kwnames[] = {
3692 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3693 };
3694
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3698 {
3699 arg4 = wxString_in_helper(obj3);
3700 if (arg4 == NULL) SWIG_fail;
3701 temp4 = True;
3702 }
3703 if (obj4) {
3704 {
3705 arg5 = &temp5;
3706 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3707 }
3708 }
3709 if (obj5) {
3710 {
3711 arg6 = &temp6;
3712 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3713 }
3714 }
3715 if (obj7) {
3716 {
3717 arg8 = wxString_in_helper(obj7);
3718 if (arg8 == NULL) SWIG_fail;
3719 temp8 = True;
3720 }
3721 }
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
3724 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 resultobj = PyInt_FromLong((long)result);
3730 {
3731 if (temp4)
3732 delete arg4;
3733 }
3734 {
3735 if (temp8)
3736 delete arg8;
3737 }
3738 return resultobj;
3739 fail:
3740 {
3741 if (temp4)
3742 delete arg4;
3743 }
3744 {
3745 if (temp8)
3746 delete arg8;
3747 }
3748 return NULL;
3749 }
3750
3751
3752 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3753 PyObject *resultobj;
3754 wxDialog *arg1 = (wxDialog *) 0 ;
3755 int arg2 ;
3756 PyObject * obj0 = 0 ;
3757 char *kwnames[] = {
3758 (char *) "self",(char *) "returnCode", NULL
3759 };
3760
3761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3763 {
3764 PyThreadState* __tstate = wxPyBeginAllowThreads();
3765 (arg1)->SetReturnCode(arg2);
3766
3767 wxPyEndAllowThreads(__tstate);
3768 if (PyErr_Occurred()) SWIG_fail;
3769 }
3770 Py_INCREF(Py_None); resultobj = Py_None;
3771 return resultobj;
3772 fail:
3773 return NULL;
3774 }
3775
3776
3777 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3778 PyObject *resultobj;
3779 wxDialog *arg1 = (wxDialog *) 0 ;
3780 int result;
3781 PyObject * obj0 = 0 ;
3782 char *kwnames[] = {
3783 (char *) "self", NULL
3784 };
3785
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3788 {
3789 PyThreadState* __tstate = wxPyBeginAllowThreads();
3790 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3791
3792 wxPyEndAllowThreads(__tstate);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 }
3795 resultobj = PyInt_FromLong((long)result);
3796 return resultobj;
3797 fail:
3798 return NULL;
3799 }
3800
3801
3802 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3803 PyObject *resultobj;
3804 wxDialog *arg1 = (wxDialog *) 0 ;
3805 wxString *arg2 = 0 ;
3806 wxSizer *result;
3807 bool temp2 = False ;
3808 PyObject * obj0 = 0 ;
3809 PyObject * obj1 = 0 ;
3810 char *kwnames[] = {
3811 (char *) "self",(char *) "message", NULL
3812 };
3813
3814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3816 {
3817 arg2 = wxString_in_helper(obj1);
3818 if (arg2 == NULL) SWIG_fail;
3819 temp2 = True;
3820 }
3821 {
3822 PyThreadState* __tstate = wxPyBeginAllowThreads();
3823 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3824
3825 wxPyEndAllowThreads(__tstate);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 }
3828 {
3829 resultobj = wxPyMake_wxSizer(result);
3830 }
3831 {
3832 if (temp2)
3833 delete arg2;
3834 }
3835 return resultobj;
3836 fail:
3837 {
3838 if (temp2)
3839 delete arg2;
3840 }
3841 return NULL;
3842 }
3843
3844
3845 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3846 PyObject *resultobj;
3847 wxDialog *arg1 = (wxDialog *) 0 ;
3848 long arg2 ;
3849 wxSizer *result;
3850 PyObject * obj0 = 0 ;
3851 char *kwnames[] = {
3852 (char *) "self",(char *) "flags", NULL
3853 };
3854
3855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 {
3865 resultobj = wxPyMake_wxSizer(result);
3866 }
3867 return resultobj;
3868 fail:
3869 return NULL;
3870 }
3871
3872
3873 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3874 PyObject *resultobj;
3875 wxDialog *arg1 = (wxDialog *) 0 ;
3876 bool result;
3877 PyObject * obj0 = 0 ;
3878 char *kwnames[] = {
3879 (char *) "self", NULL
3880 };
3881
3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3884 {
3885 PyThreadState* __tstate = wxPyBeginAllowThreads();
3886 result = (bool)((wxDialog const *)arg1)->IsModal();
3887
3888 wxPyEndAllowThreads(__tstate);
3889 if (PyErr_Occurred()) SWIG_fail;
3890 }
3891 resultobj = PyInt_FromLong((long)result);
3892 return resultobj;
3893 fail:
3894 return NULL;
3895 }
3896
3897
3898 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3899 PyObject *resultobj;
3900 wxDialog *arg1 = (wxDialog *) 0 ;
3901 int result;
3902 PyObject * obj0 = 0 ;
3903 char *kwnames[] = {
3904 (char *) "self", NULL
3905 };
3906
3907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3909 {
3910 PyThreadState* __tstate = wxPyBeginAllowThreads();
3911 result = (int)(arg1)->ShowModal();
3912
3913 wxPyEndAllowThreads(__tstate);
3914 if (PyErr_Occurred()) SWIG_fail;
3915 }
3916 resultobj = PyInt_FromLong((long)result);
3917 return resultobj;
3918 fail:
3919 return NULL;
3920 }
3921
3922
3923 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3924 PyObject *resultobj;
3925 wxDialog *arg1 = (wxDialog *) 0 ;
3926 int arg2 ;
3927 PyObject * obj0 = 0 ;
3928 char *kwnames[] = {
3929 (char *) "self",(char *) "retCode", NULL
3930 };
3931
3932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3934 {
3935 PyThreadState* __tstate = wxPyBeginAllowThreads();
3936 (arg1)->EndModal(arg2);
3937
3938 wxPyEndAllowThreads(__tstate);
3939 if (PyErr_Occurred()) SWIG_fail;
3940 }
3941 Py_INCREF(Py_None); resultobj = Py_None;
3942 return resultobj;
3943 fail:
3944 return NULL;
3945 }
3946
3947
3948 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3949 PyObject *resultobj;
3950 wxDialog *arg1 = (wxDialog *) 0 ;
3951 bool result;
3952 PyObject * obj0 = 0 ;
3953 char *kwnames[] = {
3954 (char *) "self", NULL
3955 };
3956
3957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3959 {
3960 PyThreadState* __tstate = wxPyBeginAllowThreads();
3961 result = (bool)wxDialog_IsModalShowing(arg1);
3962
3963 wxPyEndAllowThreads(__tstate);
3964 if (PyErr_Occurred()) SWIG_fail;
3965 }
3966 resultobj = PyInt_FromLong((long)result);
3967 return resultobj;
3968 fail:
3969 return NULL;
3970 }
3971
3972
3973 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3974 PyObject *obj;
3975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3976 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3977 Py_INCREF(obj);
3978 return Py_BuildValue((char *)"");
3979 }
3980 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3981 PyObject *resultobj;
3982 wxWindow *arg1 = (wxWindow *) 0 ;
3983 int arg2 ;
3984 wxString *arg3 = 0 ;
3985 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3986 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3987 wxSize const &arg5_defvalue = wxDefaultSize ;
3988 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3989 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3990 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3991 wxString *arg7 = (wxString *) &arg7_defvalue ;
3992 wxMiniFrame *result;
3993 bool temp3 = False ;
3994 wxPoint temp4 ;
3995 wxSize temp5 ;
3996 bool temp7 = False ;
3997 PyObject * obj0 = 0 ;
3998 PyObject * obj2 = 0 ;
3999 PyObject * obj3 = 0 ;
4000 PyObject * obj4 = 0 ;
4001 PyObject * obj6 = 0 ;
4002 char *kwnames[] = {
4003 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4004 };
4005
4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4008 {
4009 arg3 = wxString_in_helper(obj2);
4010 if (arg3 == NULL) SWIG_fail;
4011 temp3 = True;
4012 }
4013 if (obj3) {
4014 {
4015 arg4 = &temp4;
4016 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4017 }
4018 }
4019 if (obj4) {
4020 {
4021 arg5 = &temp5;
4022 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4023 }
4024 }
4025 if (obj6) {
4026 {
4027 arg7 = wxString_in_helper(obj6);
4028 if (arg7 == NULL) SWIG_fail;
4029 temp7 = True;
4030 }
4031 }
4032 {
4033 PyThreadState* __tstate = wxPyBeginAllowThreads();
4034 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4035
4036 wxPyEndAllowThreads(__tstate);
4037 if (PyErr_Occurred()) SWIG_fail;
4038 }
4039 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4040 {
4041 if (temp3)
4042 delete arg3;
4043 }
4044 {
4045 if (temp7)
4046 delete arg7;
4047 }
4048 return resultobj;
4049 fail:
4050 {
4051 if (temp3)
4052 delete arg3;
4053 }
4054 {
4055 if (temp7)
4056 delete arg7;
4057 }
4058 return NULL;
4059 }
4060
4061
4062 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4063 PyObject *resultobj;
4064 wxMiniFrame *result;
4065 char *kwnames[] = {
4066 NULL
4067 };
4068
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4070 {
4071 PyThreadState* __tstate = wxPyBeginAllowThreads();
4072 result = (wxMiniFrame *)new wxMiniFrame();
4073
4074 wxPyEndAllowThreads(__tstate);
4075 if (PyErr_Occurred()) SWIG_fail;
4076 }
4077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4078 return resultobj;
4079 fail:
4080 return NULL;
4081 }
4082
4083
4084 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4085 PyObject *resultobj;
4086 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4087 wxWindow *arg2 = (wxWindow *) 0 ;
4088 int arg3 ;
4089 wxString *arg4 = 0 ;
4090 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4091 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4092 wxSize const &arg6_defvalue = wxDefaultSize ;
4093 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4094 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4095 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4096 wxString *arg8 = (wxString *) &arg8_defvalue ;
4097 bool result;
4098 bool temp4 = False ;
4099 wxPoint temp5 ;
4100 wxSize temp6 ;
4101 bool temp8 = False ;
4102 PyObject * obj0 = 0 ;
4103 PyObject * obj1 = 0 ;
4104 PyObject * obj3 = 0 ;
4105 PyObject * obj4 = 0 ;
4106 PyObject * obj5 = 0 ;
4107 PyObject * obj7 = 0 ;
4108 char *kwnames[] = {
4109 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4110 };
4111
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4115 {
4116 arg4 = wxString_in_helper(obj3);
4117 if (arg4 == NULL) SWIG_fail;
4118 temp4 = True;
4119 }
4120 if (obj4) {
4121 {
4122 arg5 = &temp5;
4123 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4124 }
4125 }
4126 if (obj5) {
4127 {
4128 arg6 = &temp6;
4129 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4130 }
4131 }
4132 if (obj7) {
4133 {
4134 arg8 = wxString_in_helper(obj7);
4135 if (arg8 == NULL) SWIG_fail;
4136 temp8 = True;
4137 }
4138 }
4139 {
4140 PyThreadState* __tstate = wxPyBeginAllowThreads();
4141 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4142
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 resultobj = PyInt_FromLong((long)result);
4147 {
4148 if (temp4)
4149 delete arg4;
4150 }
4151 {
4152 if (temp8)
4153 delete arg8;
4154 }
4155 return resultobj;
4156 fail:
4157 {
4158 if (temp4)
4159 delete arg4;
4160 }
4161 {
4162 if (temp8)
4163 delete arg8;
4164 }
4165 return NULL;
4166 }
4167
4168
4169 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4170 PyObject *obj;
4171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4172 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4173 Py_INCREF(obj);
4174 return Py_BuildValue((char *)"");
4175 }
4176 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4177 PyObject *resultobj;
4178 wxBitmap *arg1 = 0 ;
4179 wxWindow *arg2 = (wxWindow *) 0 ;
4180 int arg3 ;
4181 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4182 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4183 wxSize const &arg5_defvalue = wxDefaultSize ;
4184 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4185 long arg6 = (long) wxNO_BORDER ;
4186 wxSplashScreenWindow *result;
4187 wxPoint temp4 ;
4188 wxSize temp5 ;
4189 PyObject * obj0 = 0 ;
4190 PyObject * obj1 = 0 ;
4191 PyObject * obj3 = 0 ;
4192 PyObject * obj4 = 0 ;
4193 char *kwnames[] = {
4194 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4195 };
4196
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
4198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4199 if (arg1 == NULL) {
4200 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4201 }
4202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4203 if (obj3) {
4204 {
4205 arg4 = &temp4;
4206 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4207 }
4208 }
4209 if (obj4) {
4210 {
4211 arg5 = &temp5;
4212 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4213 }
4214 }
4215 {
4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
4217 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4218
4219 wxPyEndAllowThreads(__tstate);
4220 if (PyErr_Occurred()) SWIG_fail;
4221 }
4222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4223 return resultobj;
4224 fail:
4225 return NULL;
4226 }
4227
4228
4229 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4230 PyObject *resultobj;
4231 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4232 wxBitmap *arg2 = 0 ;
4233 PyObject * obj0 = 0 ;
4234 PyObject * obj1 = 0 ;
4235 char *kwnames[] = {
4236 (char *) "self",(char *) "bitmap", NULL
4237 };
4238
4239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4242 if (arg2 == NULL) {
4243 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4244 }
4245 {
4246 PyThreadState* __tstate = wxPyBeginAllowThreads();
4247 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4248
4249 wxPyEndAllowThreads(__tstate);
4250 if (PyErr_Occurred()) SWIG_fail;
4251 }
4252 Py_INCREF(Py_None); resultobj = Py_None;
4253 return resultobj;
4254 fail:
4255 return NULL;
4256 }
4257
4258
4259 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj;
4261 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4262 wxBitmap *result;
4263 PyObject * obj0 = 0 ;
4264 char *kwnames[] = {
4265 (char *) "self", NULL
4266 };
4267
4268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4270 {
4271 PyThreadState* __tstate = wxPyBeginAllowThreads();
4272 {
4273 wxBitmap &_result_ref = (arg1)->GetBitmap();
4274 result = (wxBitmap *) &_result_ref;
4275 }
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4281 return resultobj;
4282 fail:
4283 return NULL;
4284 }
4285
4286
4287 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4288 PyObject *obj;
4289 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4290 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4291 Py_INCREF(obj);
4292 return Py_BuildValue((char *)"");
4293 }
4294 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4295 PyObject *resultobj;
4296 wxBitmap *arg1 = 0 ;
4297 long arg2 ;
4298 int arg3 ;
4299 wxWindow *arg4 = (wxWindow *) 0 ;
4300 int arg5 ;
4301 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4302 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4303 wxSize const &arg7_defvalue = wxDefaultSize ;
4304 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4305 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4306 wxSplashScreen *result;
4307 wxPoint temp6 ;
4308 wxSize temp7 ;
4309 PyObject * obj0 = 0 ;
4310 PyObject * obj3 = 0 ;
4311 PyObject * obj5 = 0 ;
4312 PyObject * obj6 = 0 ;
4313 char *kwnames[] = {
4314 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4315 };
4316
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4319 if (arg1 == NULL) {
4320 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4321 }
4322 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4323 if (obj5) {
4324 {
4325 arg6 = &temp6;
4326 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4327 }
4328 }
4329 if (obj6) {
4330 {
4331 arg7 = &temp7;
4332 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4333 }
4334 }
4335 {
4336 PyThreadState* __tstate = wxPyBeginAllowThreads();
4337 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4338
4339 wxPyEndAllowThreads(__tstate);
4340 if (PyErr_Occurred()) SWIG_fail;
4341 }
4342 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4343 return resultobj;
4344 fail:
4345 return NULL;
4346 }
4347
4348
4349 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4350 PyObject *resultobj;
4351 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4352 long result;
4353 PyObject * obj0 = 0 ;
4354 char *kwnames[] = {
4355 (char *) "self", NULL
4356 };
4357
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4360 {
4361 PyThreadState* __tstate = wxPyBeginAllowThreads();
4362 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4363
4364 wxPyEndAllowThreads(__tstate);
4365 if (PyErr_Occurred()) SWIG_fail;
4366 }
4367 resultobj = PyInt_FromLong((long)result);
4368 return resultobj;
4369 fail:
4370 return NULL;
4371 }
4372
4373
4374 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4375 PyObject *resultobj;
4376 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4377 wxSplashScreenWindow *result;
4378 PyObject * obj0 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "self", NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4385 {
4386 PyThreadState* __tstate = wxPyBeginAllowThreads();
4387 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4388
4389 wxPyEndAllowThreads(__tstate);
4390 if (PyErr_Occurred()) SWIG_fail;
4391 }
4392 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4393 return resultobj;
4394 fail:
4395 return NULL;
4396 }
4397
4398
4399 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4400 PyObject *resultobj;
4401 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4402 int result;
4403 PyObject * obj0 = 0 ;
4404 char *kwnames[] = {
4405 (char *) "self", NULL
4406 };
4407
4408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4410 {
4411 PyThreadState* __tstate = wxPyBeginAllowThreads();
4412 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4413
4414 wxPyEndAllowThreads(__tstate);
4415 if (PyErr_Occurred()) SWIG_fail;
4416 }
4417 resultobj = PyInt_FromLong((long)result);
4418 return resultobj;
4419 fail:
4420 return NULL;
4421 }
4422
4423
4424 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4425 PyObject *obj;
4426 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4427 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4428 Py_INCREF(obj);
4429 return Py_BuildValue((char *)"");
4430 }
4431 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj;
4433 wxWindow *arg1 = (wxWindow *) 0 ;
4434 int arg2 = (int) -1 ;
4435 long arg3 = (long) wxST_SIZEGRIP ;
4436 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4437 wxString *arg4 = (wxString *) &arg4_defvalue ;
4438 wxStatusBar *result;
4439 bool temp4 = False ;
4440 PyObject * obj0 = 0 ;
4441 PyObject * obj3 = 0 ;
4442 char *kwnames[] = {
4443 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4444 };
4445
4446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4448 if (obj3) {
4449 {
4450 arg4 = wxString_in_helper(obj3);
4451 if (arg4 == NULL) SWIG_fail;
4452 temp4 = True;
4453 }
4454 }
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
4462 {
4463 resultobj = wxPyMake_wxObject(result);
4464 }
4465 {
4466 if (temp4)
4467 delete arg4;
4468 }
4469 return resultobj;
4470 fail:
4471 {
4472 if (temp4)
4473 delete arg4;
4474 }
4475 return NULL;
4476 }
4477
4478
4479 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj;
4481 wxStatusBar *result;
4482 char *kwnames[] = {
4483 NULL
4484 };
4485
4486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 result = (wxStatusBar *)new wxStatusBar();
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 {
4495 resultobj = wxPyMake_wxObject(result);
4496 }
4497 return resultobj;
4498 fail:
4499 return NULL;
4500 }
4501
4502
4503 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4506 wxWindow *arg2 = (wxWindow *) 0 ;
4507 int arg3 ;
4508 long arg4 = (long) wxST_SIZEGRIP ;
4509 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4510 wxString *arg5 = (wxString *) &arg5_defvalue ;
4511 bool result;
4512 bool temp5 = False ;
4513 PyObject * obj0 = 0 ;
4514 PyObject * obj1 = 0 ;
4515 PyObject * obj4 = 0 ;
4516 char *kwnames[] = {
4517 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4518 };
4519
4520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4523 if (obj4) {
4524 {
4525 arg5 = wxString_in_helper(obj4);
4526 if (arg5 == NULL) SWIG_fail;
4527 temp5 = True;
4528 }
4529 }
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4533
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4537 resultobj = PyInt_FromLong((long)result);
4538 {
4539 if (temp5)
4540 delete arg5;
4541 }
4542 return resultobj;
4543 fail:
4544 {
4545 if (temp5)
4546 delete arg5;
4547 }
4548 return NULL;
4549 }
4550
4551
4552 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4553 PyObject *resultobj;
4554 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4555 int arg2 = (int) 1 ;
4556 PyObject * obj0 = 0 ;
4557 char *kwnames[] = {
4558 (char *) "self",(char *) "number", NULL
4559 };
4560
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4563 {
4564 PyThreadState* __tstate = wxPyBeginAllowThreads();
4565 (arg1)->SetFieldsCount(arg2);
4566
4567 wxPyEndAllowThreads(__tstate);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 Py_INCREF(Py_None); resultobj = Py_None;
4571 return resultobj;
4572 fail:
4573 return NULL;
4574 }
4575
4576
4577 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4578 PyObject *resultobj;
4579 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4580 int result;
4581 PyObject * obj0 = 0 ;
4582 char *kwnames[] = {
4583 (char *) "self", NULL
4584 };
4585
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4588 {
4589 PyThreadState* __tstate = wxPyBeginAllowThreads();
4590 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4591
4592 wxPyEndAllowThreads(__tstate);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 }
4595 resultobj = PyInt_FromLong((long)result);
4596 return resultobj;
4597 fail:
4598 return NULL;
4599 }
4600
4601
4602 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4603 PyObject *resultobj;
4604 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4605 wxString *arg2 = 0 ;
4606 int arg3 = (int) 0 ;
4607 bool temp2 = False ;
4608 PyObject * obj0 = 0 ;
4609 PyObject * obj1 = 0 ;
4610 char *kwnames[] = {
4611 (char *) "self",(char *) "text",(char *) "number", NULL
4612 };
4613
4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4616 {
4617 arg2 = wxString_in_helper(obj1);
4618 if (arg2 == NULL) SWIG_fail;
4619 temp2 = True;
4620 }
4621 {
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4624
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
4628 Py_INCREF(Py_None); resultobj = Py_None;
4629 {
4630 if (temp2)
4631 delete arg2;
4632 }
4633 return resultobj;
4634 fail:
4635 {
4636 if (temp2)
4637 delete arg2;
4638 }
4639 return NULL;
4640 }
4641
4642
4643 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4644 PyObject *resultobj;
4645 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4646 int arg2 = (int) 0 ;
4647 wxString result;
4648 PyObject * obj0 = 0 ;
4649 char *kwnames[] = {
4650 (char *) "self",(char *) "number", NULL
4651 };
4652
4653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4655 {
4656 PyThreadState* __tstate = wxPyBeginAllowThreads();
4657 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4658
4659 wxPyEndAllowThreads(__tstate);
4660 if (PyErr_Occurred()) SWIG_fail;
4661 }
4662 {
4663 #if wxUSE_UNICODE
4664 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4665 #else
4666 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4667 #endif
4668 }
4669 return resultobj;
4670 fail:
4671 return NULL;
4672 }
4673
4674
4675 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj;
4677 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4678 wxString *arg2 = 0 ;
4679 int arg3 = (int) 0 ;
4680 bool temp2 = False ;
4681 PyObject * obj0 = 0 ;
4682 PyObject * obj1 = 0 ;
4683 char *kwnames[] = {
4684 (char *) "self",(char *) "text",(char *) "number", NULL
4685 };
4686
4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4689 {
4690 arg2 = wxString_in_helper(obj1);
4691 if (arg2 == NULL) SWIG_fail;
4692 temp2 = True;
4693 }
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 Py_INCREF(Py_None); resultobj = Py_None;
4702 {
4703 if (temp2)
4704 delete arg2;
4705 }
4706 return resultobj;
4707 fail:
4708 {
4709 if (temp2)
4710 delete arg2;
4711 }
4712 return NULL;
4713 }
4714
4715
4716 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4717 PyObject *resultobj;
4718 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4719 int arg2 = (int) 0 ;
4720 PyObject * obj0 = 0 ;
4721 char *kwnames[] = {
4722 (char *) "self",(char *) "number", NULL
4723 };
4724
4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 (arg1)->PopStatusText(arg2);
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 Py_INCREF(Py_None); resultobj = Py_None;
4735 return resultobj;
4736 fail:
4737 return NULL;
4738 }
4739
4740
4741 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4742 PyObject *resultobj;
4743 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4744 int arg2 ;
4745 int *arg3 = (int *) 0 ;
4746 PyObject * obj0 = 0 ;
4747 PyObject * obj1 = 0 ;
4748 char *kwnames[] = {
4749 (char *) "self",(char *) "widths", NULL
4750 };
4751
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4754 {
4755 arg2 = PyList_Size(obj1);
4756 arg3 = int_LIST_helper(obj1);
4757 if (arg3 == NULL) SWIG_fail;
4758 }
4759 {
4760 PyThreadState* __tstate = wxPyBeginAllowThreads();
4761 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4762
4763 wxPyEndAllowThreads(__tstate);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 }
4766 Py_INCREF(Py_None); resultobj = Py_None;
4767 {
4768 if (arg3) delete [] arg3;
4769 }
4770 return resultobj;
4771 fail:
4772 {
4773 if (arg3) delete [] arg3;
4774 }
4775 return NULL;
4776 }
4777
4778
4779 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4780 PyObject *resultobj;
4781 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4782 int arg2 ;
4783 wxRect result;
4784 PyObject * obj0 = 0 ;
4785 char *kwnames[] = {
4786 (char *) "self",(char *) "i", NULL
4787 };
4788
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4791 {
4792 PyThreadState* __tstate = wxPyBeginAllowThreads();
4793 result = wxStatusBar_GetFieldRect(arg1,arg2);
4794
4795 wxPyEndAllowThreads(__tstate);
4796 if (PyErr_Occurred()) SWIG_fail;
4797 }
4798 {
4799 wxRect * resultptr;
4800 resultptr = new wxRect((wxRect &) result);
4801 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4802 }
4803 return resultobj;
4804 fail:
4805 return NULL;
4806 }
4807
4808
4809 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4810 PyObject *resultobj;
4811 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4812 int arg2 ;
4813 PyObject * obj0 = 0 ;
4814 char *kwnames[] = {
4815 (char *) "self",(char *) "height", NULL
4816 };
4817
4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4820 {
4821 PyThreadState* __tstate = wxPyBeginAllowThreads();
4822 (arg1)->SetMinHeight(arg2);
4823
4824 wxPyEndAllowThreads(__tstate);
4825 if (PyErr_Occurred()) SWIG_fail;
4826 }
4827 Py_INCREF(Py_None); resultobj = Py_None;
4828 return resultobj;
4829 fail:
4830 return NULL;
4831 }
4832
4833
4834 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4835 PyObject *resultobj;
4836 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4837 int result;
4838 PyObject * obj0 = 0 ;
4839 char *kwnames[] = {
4840 (char *) "self", NULL
4841 };
4842
4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4848
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 resultobj = PyInt_FromLong((long)result);
4853 return resultobj;
4854 fail:
4855 return NULL;
4856 }
4857
4858
4859 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4860 PyObject *resultobj;
4861 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4862 int result;
4863 PyObject * obj0 = 0 ;
4864 char *kwnames[] = {
4865 (char *) "self", NULL
4866 };
4867
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4870 {
4871 PyThreadState* __tstate = wxPyBeginAllowThreads();
4872 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4873
4874 wxPyEndAllowThreads(__tstate);
4875 if (PyErr_Occurred()) SWIG_fail;
4876 }
4877 resultobj = PyInt_FromLong((long)result);
4878 return resultobj;
4879 fail:
4880 return NULL;
4881 }
4882
4883
4884 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4885 PyObject *obj;
4886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4887 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4888 Py_INCREF(obj);
4889 return Py_BuildValue((char *)"");
4890 }
4891 static int _wrap_SplitterNameStr_set(PyObject *_val) {
4892 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
4893 return 1;
4894 }
4895
4896
4897 static PyObject *_wrap_SplitterNameStr_get() {
4898 PyObject *pyobj;
4899
4900 {
4901 #if wxUSE_UNICODE
4902 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4903 #else
4904 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4905 #endif
4906 }
4907 return pyobj;
4908 }
4909
4910
4911 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4912 PyObject *resultobj;
4913 wxWindow *arg1 = (wxWindow *) 0 ;
4914 int arg2 ;
4915 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4916 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4917 wxSize const &arg4_defvalue = wxDefaultSize ;
4918 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4919 long arg5 = (long) wxSP_3D ;
4920 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4921 wxString *arg6 = (wxString *) &arg6_defvalue ;
4922 wxSplitterWindow *result;
4923 wxPoint temp3 ;
4924 wxSize temp4 ;
4925 bool temp6 = False ;
4926 PyObject * obj0 = 0 ;
4927 PyObject * obj2 = 0 ;
4928 PyObject * obj3 = 0 ;
4929 PyObject * obj5 = 0 ;
4930 char *kwnames[] = {
4931 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4932 };
4933
4934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4936 if (obj2) {
4937 {
4938 arg3 = &temp3;
4939 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4940 }
4941 }
4942 if (obj3) {
4943 {
4944 arg4 = &temp4;
4945 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4946 }
4947 }
4948 if (obj5) {
4949 {
4950 arg6 = wxString_in_helper(obj5);
4951 if (arg6 == NULL) SWIG_fail;
4952 temp6 = True;
4953 }
4954 }
4955 {
4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
4957 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4958
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4963 {
4964 if (temp6)
4965 delete arg6;
4966 }
4967 return resultobj;
4968 fail:
4969 {
4970 if (temp6)
4971 delete arg6;
4972 }
4973 return NULL;
4974 }
4975
4976
4977 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4978 PyObject *resultobj;
4979 wxSplitterWindow *result;
4980 char *kwnames[] = {
4981 NULL
4982 };
4983
4984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 result = (wxSplitterWindow *)new wxSplitterWindow();
4988
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5002 wxWindow *arg2 = (wxWindow *) 0 ;
5003 int arg3 ;
5004 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5005 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5006 wxSize const &arg5_defvalue = wxDefaultSize ;
5007 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5008 long arg6 = (long) wxSP_3D ;
5009 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5010 wxString *arg7 = (wxString *) &arg7_defvalue ;
5011 bool result;
5012 wxPoint temp4 ;
5013 wxSize temp5 ;
5014 bool temp7 = False ;
5015 PyObject * obj0 = 0 ;
5016 PyObject * obj1 = 0 ;
5017 PyObject * obj3 = 0 ;
5018 PyObject * obj4 = 0 ;
5019 PyObject * obj6 = 0 ;
5020 char *kwnames[] = {
5021 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5022 };
5023
5024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5026 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5027 if (obj3) {
5028 {
5029 arg4 = &temp4;
5030 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5031 }
5032 }
5033 if (obj4) {
5034 {
5035 arg5 = &temp5;
5036 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5037 }
5038 }
5039 if (obj6) {
5040 {
5041 arg7 = wxString_in_helper(obj6);
5042 if (arg7 == NULL) SWIG_fail;
5043 temp7 = True;
5044 }
5045 }
5046 {
5047 PyThreadState* __tstate = wxPyBeginAllowThreads();
5048 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5049
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
5053 resultobj = PyInt_FromLong((long)result);
5054 {
5055 if (temp7)
5056 delete arg7;
5057 }
5058 return resultobj;
5059 fail:
5060 {
5061 if (temp7)
5062 delete arg7;
5063 }
5064 return NULL;
5065 }
5066
5067
5068 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5069 PyObject *resultobj;
5070 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5071 wxWindow *result;
5072 PyObject * obj0 = 0 ;
5073 char *kwnames[] = {
5074 (char *) "self", NULL
5075 };
5076
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5079 {
5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
5081 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5082
5083 wxPyEndAllowThreads(__tstate);
5084 if (PyErr_Occurred()) SWIG_fail;
5085 }
5086 {
5087 resultobj = wxPyMake_wxObject(result);
5088 }
5089 return resultobj;
5090 fail:
5091 return NULL;
5092 }
5093
5094
5095 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5096 PyObject *resultobj;
5097 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5098 wxWindow *result;
5099 PyObject * obj0 = 0 ;
5100 char *kwnames[] = {
5101 (char *) "self", NULL
5102 };
5103
5104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 {
5114 resultobj = wxPyMake_wxObject(result);
5115 }
5116 return resultobj;
5117 fail:
5118 return NULL;
5119 }
5120
5121
5122 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5125 int arg2 ;
5126 PyObject * obj0 = 0 ;
5127 char *kwnames[] = {
5128 (char *) "self",(char *) "mode", NULL
5129 };
5130
5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
5132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 (arg1)->SetSplitMode(arg2);
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 Py_INCREF(Py_None); resultobj = Py_None;
5141 return resultobj;
5142 fail:
5143 return NULL;
5144 }
5145
5146
5147 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5148 PyObject *resultobj;
5149 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5150 int result;
5151 PyObject * obj0 = 0 ;
5152 char *kwnames[] = {
5153 (char *) "self", NULL
5154 };
5155
5156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5158 {
5159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5160 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5161
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 resultobj = PyInt_FromLong((long)result);
5166 return resultobj;
5167 fail:
5168 return NULL;
5169 }
5170
5171
5172 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5173 PyObject *resultobj;
5174 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5175 wxWindow *arg2 = (wxWindow *) 0 ;
5176 PyObject * obj0 = 0 ;
5177 PyObject * obj1 = 0 ;
5178 char *kwnames[] = {
5179 (char *) "self",(char *) "window", NULL
5180 };
5181
5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5184 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5185 {
5186 PyThreadState* __tstate = wxPyBeginAllowThreads();
5187 (arg1)->Initialize(arg2);
5188
5189 wxPyEndAllowThreads(__tstate);
5190 if (PyErr_Occurred()) SWIG_fail;
5191 }
5192 Py_INCREF(Py_None); resultobj = Py_None;
5193 return resultobj;
5194 fail:
5195 return NULL;
5196 }
5197
5198
5199 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5200 PyObject *resultobj;
5201 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5202 wxWindow *arg2 = (wxWindow *) 0 ;
5203 wxWindow *arg3 = (wxWindow *) 0 ;
5204 int arg4 = (int) 0 ;
5205 bool result;
5206 PyObject * obj0 = 0 ;
5207 PyObject * obj1 = 0 ;
5208 PyObject * obj2 = 0 ;
5209 char *kwnames[] = {
5210 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5211 };
5212
5213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5216 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 resultobj = PyInt_FromLong((long)result);
5225 return resultobj;
5226 fail:
5227 return NULL;
5228 }
5229
5230
5231 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5232 PyObject *resultobj;
5233 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5234 wxWindow *arg2 = (wxWindow *) 0 ;
5235 wxWindow *arg3 = (wxWindow *) 0 ;
5236 int arg4 = (int) 0 ;
5237 bool result;
5238 PyObject * obj0 = 0 ;
5239 PyObject * obj1 = 0 ;
5240 PyObject * obj2 = 0 ;
5241 char *kwnames[] = {
5242 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5243 };
5244
5245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5248 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5249 {
5250 PyThreadState* __tstate = wxPyBeginAllowThreads();
5251 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5252
5253 wxPyEndAllowThreads(__tstate);
5254 if (PyErr_Occurred()) SWIG_fail;
5255 }
5256 resultobj = PyInt_FromLong((long)result);
5257 return resultobj;
5258 fail:
5259 return NULL;
5260 }
5261
5262
5263 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5264 PyObject *resultobj;
5265 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5266 wxWindow *arg2 = (wxWindow *) NULL ;
5267 bool result;
5268 PyObject * obj0 = 0 ;
5269 PyObject * obj1 = 0 ;
5270 char *kwnames[] = {
5271 (char *) "self",(char *) "toRemove", NULL
5272 };
5273
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5276 if (obj1) {
5277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5278 }
5279 {
5280 PyThreadState* __tstate = wxPyBeginAllowThreads();
5281 result = (bool)(arg1)->Unsplit(arg2);
5282
5283 wxPyEndAllowThreads(__tstate);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 }
5286 resultobj = PyInt_FromLong((long)result);
5287 return resultobj;
5288 fail:
5289 return NULL;
5290 }
5291
5292
5293 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5294 PyObject *resultobj;
5295 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5296 wxWindow *arg2 = (wxWindow *) 0 ;
5297 wxWindow *arg3 = (wxWindow *) 0 ;
5298 bool result;
5299 PyObject * obj0 = 0 ;
5300 PyObject * obj1 = 0 ;
5301 PyObject * obj2 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5304 };
5305
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5308 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5309 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5310 {
5311 PyThreadState* __tstate = wxPyBeginAllowThreads();
5312 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5313
5314 wxPyEndAllowThreads(__tstate);
5315 if (PyErr_Occurred()) SWIG_fail;
5316 }
5317 resultobj = PyInt_FromLong((long)result);
5318 return resultobj;
5319 fail:
5320 return NULL;
5321 }
5322
5323
5324 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5325 PyObject *resultobj;
5326 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5327 bool result;
5328 PyObject * obj0 = 0 ;
5329 char *kwnames[] = {
5330 (char *) "self", NULL
5331 };
5332
5333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5335 {
5336 PyThreadState* __tstate = wxPyBeginAllowThreads();
5337 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5338
5339 wxPyEndAllowThreads(__tstate);
5340 if (PyErr_Occurred()) SWIG_fail;
5341 }
5342 resultobj = PyInt_FromLong((long)result);
5343 return resultobj;
5344 fail:
5345 return NULL;
5346 }
5347
5348
5349 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5350 PyObject *resultobj;
5351 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5352 int arg2 ;
5353 PyObject * obj0 = 0 ;
5354 char *kwnames[] = {
5355 (char *) "self",(char *) "width", NULL
5356 };
5357
5358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 (arg1)->SetSashSize(arg2);
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 Py_INCREF(Py_None); resultobj = Py_None;
5368 return resultobj;
5369 fail:
5370 return NULL;
5371 }
5372
5373
5374 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5375 PyObject *resultobj;
5376 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5377 int arg2 ;
5378 PyObject * obj0 = 0 ;
5379 char *kwnames[] = {
5380 (char *) "self",(char *) "width", NULL
5381 };
5382
5383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5385 {
5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
5387 (arg1)->SetBorderSize(arg2);
5388
5389 wxPyEndAllowThreads(__tstate);
5390 if (PyErr_Occurred()) SWIG_fail;
5391 }
5392 Py_INCREF(Py_None); resultobj = Py_None;
5393 return resultobj;
5394 fail:
5395 return NULL;
5396 }
5397
5398
5399 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5400 PyObject *resultobj;
5401 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5402 int result;
5403 PyObject * obj0 = 0 ;
5404 char *kwnames[] = {
5405 (char *) "self", NULL
5406 };
5407
5408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 resultobj = PyInt_FromLong((long)result);
5418 return resultobj;
5419 fail:
5420 return NULL;
5421 }
5422
5423
5424 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj;
5426 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5427 int result;
5428 PyObject * obj0 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5435 {
5436 PyThreadState* __tstate = wxPyBeginAllowThreads();
5437 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5438
5439 wxPyEndAllowThreads(__tstate);
5440 if (PyErr_Occurred()) SWIG_fail;
5441 }
5442 resultobj = PyInt_FromLong((long)result);
5443 return resultobj;
5444 fail:
5445 return NULL;
5446 }
5447
5448
5449 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5450 PyObject *resultobj;
5451 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5452 int arg2 ;
5453 bool arg3 = (bool) True ;
5454 PyObject * obj0 = 0 ;
5455 PyObject * obj2 = 0 ;
5456 char *kwnames[] = {
5457 (char *) "self",(char *) "position",(char *) "redraw", NULL
5458 };
5459
5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5462 if (obj2) {
5463 {
5464 arg3 = (bool) SPyObj_AsBool(obj2);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 }
5468 {
5469 PyThreadState* __tstate = wxPyBeginAllowThreads();
5470 (arg1)->SetSashPosition(arg2,arg3);
5471
5472 wxPyEndAllowThreads(__tstate);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
5475 Py_INCREF(Py_None); resultobj = Py_None;
5476 return resultobj;
5477 fail:
5478 return NULL;
5479 }
5480
5481
5482 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj;
5484 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5485 int result;
5486 PyObject * obj0 = 0 ;
5487 char *kwnames[] = {
5488 (char *) "self", NULL
5489 };
5490
5491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 resultobj = PyInt_FromLong((long)result);
5501 return resultobj;
5502 fail:
5503 return NULL;
5504 }
5505
5506
5507 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5508 PyObject *resultobj;
5509 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5510 int arg2 ;
5511 PyObject * obj0 = 0 ;
5512 char *kwnames[] = {
5513 (char *) "self",(char *) "min", NULL
5514 };
5515
5516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5518 {
5519 PyThreadState* __tstate = wxPyBeginAllowThreads();
5520 (arg1)->SetMinimumPaneSize(arg2);
5521
5522 wxPyEndAllowThreads(__tstate);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 }
5525 Py_INCREF(Py_None); resultobj = Py_None;
5526 return resultobj;
5527 fail:
5528 return NULL;
5529 }
5530
5531
5532 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5533 PyObject *resultobj;
5534 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5535 int result;
5536 PyObject * obj0 = 0 ;
5537 char *kwnames[] = {
5538 (char *) "self", NULL
5539 };
5540
5541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5543 {
5544 PyThreadState* __tstate = wxPyBeginAllowThreads();
5545 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5546
5547 wxPyEndAllowThreads(__tstate);
5548 if (PyErr_Occurred()) SWIG_fail;
5549 }
5550 resultobj = PyInt_FromLong((long)result);
5551 return resultobj;
5552 fail:
5553 return NULL;
5554 }
5555
5556
5557 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5558 PyObject *resultobj;
5559 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5560 int arg2 ;
5561 int arg3 ;
5562 int arg4 = (int) 5 ;
5563 bool result;
5564 PyObject * obj0 = 0 ;
5565 char *kwnames[] = {
5566 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5567 };
5568
5569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5571 {
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5574
5575 wxPyEndAllowThreads(__tstate);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 resultobj = PyInt_FromLong((long)result);
5579 return resultobj;
5580 fail:
5581 return NULL;
5582 }
5583
5584
5585 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj;
5587 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5588 PyObject * obj0 = 0 ;
5589 char *kwnames[] = {
5590 (char *) "self", NULL
5591 };
5592
5593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5595 {
5596 PyThreadState* __tstate = wxPyBeginAllowThreads();
5597 (arg1)->SizeWindows();
5598
5599 wxPyEndAllowThreads(__tstate);
5600 if (PyErr_Occurred()) SWIG_fail;
5601 }
5602 Py_INCREF(Py_None); resultobj = Py_None;
5603 return resultobj;
5604 fail:
5605 return NULL;
5606 }
5607
5608
5609 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5610 PyObject *resultobj;
5611 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5612 bool arg2 ;
5613 PyObject * obj0 = 0 ;
5614 PyObject * obj1 = 0 ;
5615 char *kwnames[] = {
5616 (char *) "self",(char *) "needUpdating", NULL
5617 };
5618
5619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5621 {
5622 arg2 = (bool) SPyObj_AsBool(obj1);
5623 if (PyErr_Occurred()) SWIG_fail;
5624 }
5625 {
5626 PyThreadState* __tstate = wxPyBeginAllowThreads();
5627 (arg1)->SetNeedUpdating(arg2);
5628
5629 wxPyEndAllowThreads(__tstate);
5630 if (PyErr_Occurred()) SWIG_fail;
5631 }
5632 Py_INCREF(Py_None); resultobj = Py_None;
5633 return resultobj;
5634 fail:
5635 return NULL;
5636 }
5637
5638
5639 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5640 PyObject *resultobj;
5641 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5642 bool result;
5643 PyObject * obj0 = 0 ;
5644 char *kwnames[] = {
5645 (char *) "self", NULL
5646 };
5647
5648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
5657 resultobj = PyInt_FromLong((long)result);
5658 return resultobj;
5659 fail:
5660 return NULL;
5661 }
5662
5663
5664 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5665 PyObject *obj;
5666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5667 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5668 Py_INCREF(obj);
5669 return Py_BuildValue((char *)"");
5670 }
5671 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5672 PyObject *resultobj;
5673 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5674 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5675 wxSplitterEvent *result;
5676 PyObject * obj1 = 0 ;
5677 char *kwnames[] = {
5678 (char *) "type",(char *) "splitter", NULL
5679 };
5680
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5682 if (obj1) {
5683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5684 }
5685 {
5686 PyThreadState* __tstate = wxPyBeginAllowThreads();
5687 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5688
5689 wxPyEndAllowThreads(__tstate);
5690 if (PyErr_Occurred()) SWIG_fail;
5691 }
5692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5693 return resultobj;
5694 fail:
5695 return NULL;
5696 }
5697
5698
5699 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5700 PyObject *resultobj;
5701 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5702 int arg2 ;
5703 PyObject * obj0 = 0 ;
5704 char *kwnames[] = {
5705 (char *) "self",(char *) "pos", NULL
5706 };
5707
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5710 {
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 (arg1)->SetSashPosition(arg2);
5713
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 Py_INCREF(Py_None); resultobj = Py_None;
5718 return resultobj;
5719 fail:
5720 return NULL;
5721 }
5722
5723
5724 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5725 PyObject *resultobj;
5726 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5727 int result;
5728 PyObject * obj0 = 0 ;
5729 char *kwnames[] = {
5730 (char *) "self", NULL
5731 };
5732
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5735 {
5736 PyThreadState* __tstate = wxPyBeginAllowThreads();
5737 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5738
5739 wxPyEndAllowThreads(__tstate);
5740 if (PyErr_Occurred()) SWIG_fail;
5741 }
5742 resultobj = PyInt_FromLong((long)result);
5743 return resultobj;
5744 fail:
5745 return NULL;
5746 }
5747
5748
5749 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5750 PyObject *resultobj;
5751 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5752 wxWindow *result;
5753 PyObject * obj0 = 0 ;
5754 char *kwnames[] = {
5755 (char *) "self", NULL
5756 };
5757
5758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5760 {
5761 PyThreadState* __tstate = wxPyBeginAllowThreads();
5762 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5763
5764 wxPyEndAllowThreads(__tstate);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 }
5767 {
5768 resultobj = wxPyMake_wxObject(result);
5769 }
5770 return resultobj;
5771 fail:
5772 return NULL;
5773 }
5774
5775
5776 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5777 PyObject *resultobj;
5778 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5779 int result;
5780 PyObject * obj0 = 0 ;
5781 char *kwnames[] = {
5782 (char *) "self", NULL
5783 };
5784
5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 resultobj = PyInt_FromLong((long)result);
5795 return resultobj;
5796 fail:
5797 return NULL;
5798 }
5799
5800
5801 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5802 PyObject *resultobj;
5803 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5804 int result;
5805 PyObject * obj0 = 0 ;
5806 char *kwnames[] = {
5807 (char *) "self", NULL
5808 };
5809
5810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5812 {
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 resultobj = PyInt_FromLong((long)result);
5820 return resultobj;
5821 fail:
5822 return NULL;
5823 }
5824
5825
5826 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5827 PyObject *obj;
5828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5829 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5830 Py_INCREF(obj);
5831 return Py_BuildValue((char *)"");
5832 }
5833 static int _wrap_SashNameStr_set(PyObject *_val) {
5834 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
5835 return 1;
5836 }
5837
5838
5839 static PyObject *_wrap_SashNameStr_get() {
5840 PyObject *pyobj;
5841
5842 {
5843 #if wxUSE_UNICODE
5844 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5845 #else
5846 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5847 #endif
5848 }
5849 return pyobj;
5850 }
5851
5852
5853 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
5854 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
5855 return 1;
5856 }
5857
5858
5859 static PyObject *_wrap_SashLayoutNameStr_get() {
5860 PyObject *pyobj;
5861
5862 {
5863 #if wxUSE_UNICODE
5864 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5865 #else
5866 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5867 #endif
5868 }
5869 return pyobj;
5870 }
5871
5872
5873 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj;
5875 wxWindow *arg1 = (wxWindow *) 0 ;
5876 int arg2 ;
5877 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5878 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5879 wxSize const &arg4_defvalue = wxDefaultSize ;
5880 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5881 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5882 wxString const &arg6_defvalue = wxPySashNameStr ;
5883 wxString *arg6 = (wxString *) &arg6_defvalue ;
5884 wxSashWindow *result;
5885 wxPoint temp3 ;
5886 wxSize temp4 ;
5887 bool temp6 = False ;
5888 PyObject * obj0 = 0 ;
5889 PyObject * obj2 = 0 ;
5890 PyObject * obj3 = 0 ;
5891 PyObject * obj5 = 0 ;
5892 char *kwnames[] = {
5893 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5894 };
5895
5896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5898 if (obj2) {
5899 {
5900 arg3 = &temp3;
5901 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5902 }
5903 }
5904 if (obj3) {
5905 {
5906 arg4 = &temp4;
5907 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5908 }
5909 }
5910 if (obj5) {
5911 {
5912 arg6 = wxString_in_helper(obj5);
5913 if (arg6 == NULL) SWIG_fail;
5914 temp6 = True;
5915 }
5916 }
5917 {
5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
5919 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5920
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5925 {
5926 if (temp6)
5927 delete arg6;
5928 }
5929 return resultobj;
5930 fail:
5931 {
5932 if (temp6)
5933 delete arg6;
5934 }
5935 return NULL;
5936 }
5937
5938
5939 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5940 PyObject *resultobj;
5941 wxSashWindow *result;
5942 char *kwnames[] = {
5943 NULL
5944 };
5945
5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 result = (wxSashWindow *)new wxSashWindow();
5950
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5955 return resultobj;
5956 fail:
5957 return NULL;
5958 }
5959
5960
5961 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5962 PyObject *resultobj;
5963 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5964 wxWindow *arg2 = (wxWindow *) 0 ;
5965 int arg3 ;
5966 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5967 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5968 wxSize const &arg5_defvalue = wxDefaultSize ;
5969 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5970 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5971 wxString const &arg7_defvalue = wxPySashNameStr ;
5972 wxString *arg7 = (wxString *) &arg7_defvalue ;
5973 bool result;
5974 wxPoint temp4 ;
5975 wxSize temp5 ;
5976 bool temp7 = False ;
5977 PyObject * obj0 = 0 ;
5978 PyObject * obj1 = 0 ;
5979 PyObject * obj3 = 0 ;
5980 PyObject * obj4 = 0 ;
5981 PyObject * obj6 = 0 ;
5982 char *kwnames[] = {
5983 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5984 };
5985
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5988 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5989 if (obj3) {
5990 {
5991 arg4 = &temp4;
5992 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5993 }
5994 }
5995 if (obj4) {
5996 {
5997 arg5 = &temp5;
5998 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5999 }
6000 }
6001 if (obj6) {
6002 {
6003 arg7 = wxString_in_helper(obj6);
6004 if (arg7 == NULL) SWIG_fail;
6005 temp7 = True;
6006 }
6007 }
6008 {
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6011
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 resultobj = PyInt_FromLong((long)result);
6016 {
6017 if (temp7)
6018 delete arg7;
6019 }
6020 return resultobj;
6021 fail:
6022 {
6023 if (temp7)
6024 delete arg7;
6025 }
6026 return NULL;
6027 }
6028
6029
6030 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6031 PyObject *resultobj;
6032 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6033 int arg2 ;
6034 bool arg3 ;
6035 PyObject * obj0 = 0 ;
6036 PyObject * obj2 = 0 ;
6037 char *kwnames[] = {
6038 (char *) "self",(char *) "edge",(char *) "sash", NULL
6039 };
6040
6041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
6042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6043 {
6044 arg3 = (bool) SPyObj_AsBool(obj2);
6045 if (PyErr_Occurred()) SWIG_fail;
6046 }
6047 {
6048 PyThreadState* __tstate = wxPyBeginAllowThreads();
6049 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6050
6051 wxPyEndAllowThreads(__tstate);
6052 if (PyErr_Occurred()) SWIG_fail;
6053 }
6054 Py_INCREF(Py_None); resultobj = Py_None;
6055 return resultobj;
6056 fail:
6057 return NULL;
6058 }
6059
6060
6061 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6062 PyObject *resultobj;
6063 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6064 int arg2 ;
6065 bool result;
6066 PyObject * obj0 = 0 ;
6067 char *kwnames[] = {
6068 (char *) "self",(char *) "edge", NULL
6069 };
6070
6071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
6072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6076
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 resultobj = PyInt_FromLong((long)result);
6081 return resultobj;
6082 fail:
6083 return NULL;
6084 }
6085
6086
6087 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6088 PyObject *resultobj;
6089 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6090 int arg2 ;
6091 bool arg3 ;
6092 PyObject * obj0 = 0 ;
6093 PyObject * obj2 = 0 ;
6094 char *kwnames[] = {
6095 (char *) "self",(char *) "edge",(char *) "border", NULL
6096 };
6097
6098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
6099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6100 {
6101 arg3 = (bool) SPyObj_AsBool(obj2);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
6104 {
6105 PyThreadState* __tstate = wxPyBeginAllowThreads();
6106 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6107
6108 wxPyEndAllowThreads(__tstate);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 }
6111 Py_INCREF(Py_None); resultobj = Py_None;
6112 return resultobj;
6113 fail:
6114 return NULL;
6115 }
6116
6117
6118 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6119 PyObject *resultobj;
6120 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6121 int arg2 ;
6122 bool result;
6123 PyObject * obj0 = 0 ;
6124 char *kwnames[] = {
6125 (char *) "self",(char *) "edge", NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
6129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6133
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 resultobj = PyInt_FromLong((long)result);
6138 return resultobj;
6139 fail:
6140 return NULL;
6141 }
6142
6143
6144 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6145 PyObject *resultobj;
6146 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6147 int arg2 ;
6148 int result;
6149 PyObject * obj0 = 0 ;
6150 char *kwnames[] = {
6151 (char *) "self",(char *) "edge", NULL
6152 };
6153
6154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
6155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6159
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
6163 resultobj = PyInt_FromLong((long)result);
6164 return resultobj;
6165 fail:
6166 return NULL;
6167 }
6168
6169
6170 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6171 PyObject *resultobj;
6172 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6173 int arg2 ;
6174 PyObject * obj0 = 0 ;
6175 char *kwnames[] = {
6176 (char *) "self",(char *) "width", NULL
6177 };
6178
6179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
6180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6181 {
6182 PyThreadState* __tstate = wxPyBeginAllowThreads();
6183 (arg1)->SetDefaultBorderSize(arg2);
6184
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
6188 Py_INCREF(Py_None); resultobj = Py_None;
6189 return resultobj;
6190 fail:
6191 return NULL;
6192 }
6193
6194
6195 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj;
6197 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6198 int result;
6199 PyObject * obj0 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6209
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 resultobj = PyInt_FromLong((long)result);
6214 return resultobj;
6215 fail:
6216 return NULL;
6217 }
6218
6219
6220 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
6222 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6223 int arg2 ;
6224 PyObject * obj0 = 0 ;
6225 char *kwnames[] = {
6226 (char *) "self",(char *) "width", NULL
6227 };
6228
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 (arg1)->SetExtraBorderSize(arg2);
6234
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 Py_INCREF(Py_None); resultobj = Py_None;
6239 return resultobj;
6240 fail:
6241 return NULL;
6242 }
6243
6244
6245 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj;
6247 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6248 int result;
6249 PyObject * obj0 = 0 ;
6250 char *kwnames[] = {
6251 (char *) "self", NULL
6252 };
6253
6254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
6263 resultobj = PyInt_FromLong((long)result);
6264 return resultobj;
6265 fail:
6266 return NULL;
6267 }
6268
6269
6270 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6271 PyObject *resultobj;
6272 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6273 int arg2 ;
6274 PyObject * obj0 = 0 ;
6275 char *kwnames[] = {
6276 (char *) "self",(char *) "min", NULL
6277 };
6278
6279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 (arg1)->SetMinimumSizeX(arg2);
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 Py_INCREF(Py_None); resultobj = Py_None;
6289 return resultobj;
6290 fail:
6291 return NULL;
6292 }
6293
6294
6295 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6296 PyObject *resultobj;
6297 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6298 int arg2 ;
6299 PyObject * obj0 = 0 ;
6300 char *kwnames[] = {
6301 (char *) "self",(char *) "min", NULL
6302 };
6303
6304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 (arg1)->SetMinimumSizeY(arg2);
6309
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 Py_INCREF(Py_None); resultobj = Py_None;
6314 return resultobj;
6315 fail:
6316 return NULL;
6317 }
6318
6319
6320 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6323 int result;
6324 PyObject * obj0 = 0 ;
6325 char *kwnames[] = {
6326 (char *) "self", NULL
6327 };
6328
6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6331 {
6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
6333 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6334
6335 wxPyEndAllowThreads(__tstate);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
6338 resultobj = PyInt_FromLong((long)result);
6339 return resultobj;
6340 fail:
6341 return NULL;
6342 }
6343
6344
6345 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6346 PyObject *resultobj;
6347 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6348 int result;
6349 PyObject * obj0 = 0 ;
6350 char *kwnames[] = {
6351 (char *) "self", NULL
6352 };
6353
6354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6356 {
6357 PyThreadState* __tstate = wxPyBeginAllowThreads();
6358 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6359
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 resultobj = PyInt_FromLong((long)result);
6364 return resultobj;
6365 fail:
6366 return NULL;
6367 }
6368
6369
6370 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6371 PyObject *resultobj;
6372 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6373 int arg2 ;
6374 PyObject * obj0 = 0 ;
6375 char *kwnames[] = {
6376 (char *) "self",(char *) "max", NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 (arg1)->SetMaximumSizeX(arg2);
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 }
6388 Py_INCREF(Py_None); resultobj = Py_None;
6389 return resultobj;
6390 fail:
6391 return NULL;
6392 }
6393
6394
6395 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6396 PyObject *resultobj;
6397 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6398 int arg2 ;
6399 PyObject * obj0 = 0 ;
6400 char *kwnames[] = {
6401 (char *) "self",(char *) "max", NULL
6402 };
6403
6404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6406 {
6407 PyThreadState* __tstate = wxPyBeginAllowThreads();
6408 (arg1)->SetMaximumSizeY(arg2);
6409
6410 wxPyEndAllowThreads(__tstate);
6411 if (PyErr_Occurred()) SWIG_fail;
6412 }
6413 Py_INCREF(Py_None); resultobj = Py_None;
6414 return resultobj;
6415 fail:
6416 return NULL;
6417 }
6418
6419
6420 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6421 PyObject *resultobj;
6422 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6423 int result;
6424 PyObject * obj0 = 0 ;
6425 char *kwnames[] = {
6426 (char *) "self", NULL
6427 };
6428
6429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6431 {
6432 PyThreadState* __tstate = wxPyBeginAllowThreads();
6433 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6434
6435 wxPyEndAllowThreads(__tstate);
6436 if (PyErr_Occurred()) SWIG_fail;
6437 }
6438 resultobj = PyInt_FromLong((long)result);
6439 return resultobj;
6440 fail:
6441 return NULL;
6442 }
6443
6444
6445 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6446 PyObject *resultobj;
6447 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6448 int result;
6449 PyObject * obj0 = 0 ;
6450 char *kwnames[] = {
6451 (char *) "self", NULL
6452 };
6453
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6456 {
6457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6458 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6459
6460 wxPyEndAllowThreads(__tstate);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 }
6463 resultobj = PyInt_FromLong((long)result);
6464 return resultobj;
6465 fail:
6466 return NULL;
6467 }
6468
6469
6470 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6471 PyObject *resultobj;
6472 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6473 int arg2 ;
6474 int arg3 ;
6475 int arg4 = (int) 2 ;
6476 int result;
6477 PyObject * obj0 = 0 ;
6478 char *kwnames[] = {
6479 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6480 };
6481
6482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6484 {
6485 PyThreadState* __tstate = wxPyBeginAllowThreads();
6486 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6487
6488 wxPyEndAllowThreads(__tstate);
6489 if (PyErr_Occurred()) SWIG_fail;
6490 }
6491 resultobj = PyInt_FromLong((long)result);
6492 return resultobj;
6493 fail:
6494 return NULL;
6495 }
6496
6497
6498 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6499 PyObject *resultobj;
6500 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6501 PyObject * obj0 = 0 ;
6502 char *kwnames[] = {
6503 (char *) "self", NULL
6504 };
6505
6506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6508 {
6509 PyThreadState* __tstate = wxPyBeginAllowThreads();
6510 (arg1)->SizeWindows();
6511
6512 wxPyEndAllowThreads(__tstate);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 }
6515 Py_INCREF(Py_None); resultobj = Py_None;
6516 return resultobj;
6517 fail:
6518 return NULL;
6519 }
6520
6521
6522 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6523 PyObject *obj;
6524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6525 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6526 Py_INCREF(obj);
6527 return Py_BuildValue((char *)"");
6528 }
6529 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6530 PyObject *resultobj;
6531 int arg1 = (int) 0 ;
6532 int arg2 = (int) wxSASH_NONE ;
6533 wxSashEvent *result;
6534 char *kwnames[] = {
6535 (char *) "id",(char *) "edge", NULL
6536 };
6537
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6539 {
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6542
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
6546 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6547 return resultobj;
6548 fail:
6549 return NULL;
6550 }
6551
6552
6553 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6554 PyObject *resultobj;
6555 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6556 int arg2 ;
6557 PyObject * obj0 = 0 ;
6558 char *kwnames[] = {
6559 (char *) "self",(char *) "edge", NULL
6560 };
6561
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6564 {
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
6566 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6567
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 Py_INCREF(Py_None); resultobj = Py_None;
6572 return resultobj;
6573 fail:
6574 return NULL;
6575 }
6576
6577
6578 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6579 PyObject *resultobj;
6580 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6581 int result;
6582 PyObject * obj0 = 0 ;
6583 char *kwnames[] = {
6584 (char *) "self", NULL
6585 };
6586
6587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6592
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 resultobj = PyInt_FromLong((long)result);
6597 return resultobj;
6598 fail:
6599 return NULL;
6600 }
6601
6602
6603 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6604 PyObject *resultobj;
6605 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6606 wxRect *arg2 = 0 ;
6607 wxRect temp2 ;
6608 PyObject * obj0 = 0 ;
6609 PyObject * obj1 = 0 ;
6610 char *kwnames[] = {
6611 (char *) "self",(char *) "rect", NULL
6612 };
6613
6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6616 {
6617 arg2 = &temp2;
6618 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6619 }
6620 {
6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6622 (arg1)->SetDragRect((wxRect const &)*arg2);
6623
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 Py_INCREF(Py_None); resultobj = Py_None;
6628 return resultobj;
6629 fail:
6630 return NULL;
6631 }
6632
6633
6634 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6635 PyObject *resultobj;
6636 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6637 wxRect result;
6638 PyObject * obj0 = 0 ;
6639 char *kwnames[] = {
6640 (char *) "self", NULL
6641 };
6642
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6645 {
6646 PyThreadState* __tstate = wxPyBeginAllowThreads();
6647 result = ((wxSashEvent const *)arg1)->GetDragRect();
6648
6649 wxPyEndAllowThreads(__tstate);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
6652 {
6653 wxRect * resultptr;
6654 resultptr = new wxRect((wxRect &) result);
6655 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6656 }
6657 return resultobj;
6658 fail:
6659 return NULL;
6660 }
6661
6662
6663 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6664 PyObject *resultobj;
6665 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6666 int arg2 ;
6667 PyObject * obj0 = 0 ;
6668 char *kwnames[] = {
6669 (char *) "self",(char *) "status", NULL
6670 };
6671
6672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6677
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
6681 Py_INCREF(Py_None); resultobj = Py_None;
6682 return resultobj;
6683 fail:
6684 return NULL;
6685 }
6686
6687
6688 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6689 PyObject *resultobj;
6690 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6691 int result;
6692 PyObject * obj0 = 0 ;
6693 char *kwnames[] = {
6694 (char *) "self", NULL
6695 };
6696
6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6702
6703 wxPyEndAllowThreads(__tstate);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 resultobj = PyInt_FromLong((long)result);
6707 return resultobj;
6708 fail:
6709 return NULL;
6710 }
6711
6712
6713 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6714 PyObject *obj;
6715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6716 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6717 Py_INCREF(obj);
6718 return Py_BuildValue((char *)"");
6719 }
6720 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6721 PyObject *resultobj;
6722 int arg1 = (int) 0 ;
6723 wxQueryLayoutInfoEvent *result;
6724 char *kwnames[] = {
6725 (char *) "id", NULL
6726 };
6727
6728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6729 {
6730 PyThreadState* __tstate = wxPyBeginAllowThreads();
6731 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6732
6733 wxPyEndAllowThreads(__tstate);
6734 if (PyErr_Occurred()) SWIG_fail;
6735 }
6736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6737 return resultobj;
6738 fail:
6739 return NULL;
6740 }
6741
6742
6743 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6744 PyObject *resultobj;
6745 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6746 int arg2 ;
6747 PyObject * obj0 = 0 ;
6748 char *kwnames[] = {
6749 (char *) "self",(char *) "length", NULL
6750 };
6751
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 (arg1)->SetRequestedLength(arg2);
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 Py_INCREF(Py_None); resultobj = Py_None;
6762 return resultobj;
6763 fail:
6764 return NULL;
6765 }
6766
6767
6768 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj;
6770 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6771 int result;
6772 PyObject * obj0 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "self", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6779 {
6780 PyThreadState* __tstate = wxPyBeginAllowThreads();
6781 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6782
6783 wxPyEndAllowThreads(__tstate);
6784 if (PyErr_Occurred()) SWIG_fail;
6785 }
6786 resultobj = PyInt_FromLong((long)result);
6787 return resultobj;
6788 fail:
6789 return NULL;
6790 }
6791
6792
6793 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6794 PyObject *resultobj;
6795 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6796 int arg2 ;
6797 PyObject * obj0 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self",(char *) "flags", NULL
6800 };
6801
6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6804 {
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 (arg1)->SetFlags(arg2);
6807
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 Py_INCREF(Py_None); resultobj = Py_None;
6812 return resultobj;
6813 fail:
6814 return NULL;
6815 }
6816
6817
6818 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj;
6820 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6821 int result;
6822 PyObject * obj0 = 0 ;
6823 char *kwnames[] = {
6824 (char *) "self", NULL
6825 };
6826
6827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6832
6833 wxPyEndAllowThreads(__tstate);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
6836 resultobj = PyInt_FromLong((long)result);
6837 return resultobj;
6838 fail:
6839 return NULL;
6840 }
6841
6842
6843 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6844 PyObject *resultobj;
6845 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6846 wxSize *arg2 = 0 ;
6847 wxSize temp2 ;
6848 PyObject * obj0 = 0 ;
6849 PyObject * obj1 = 0 ;
6850 char *kwnames[] = {
6851 (char *) "self",(char *) "size", NULL
6852 };
6853
6854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6856 {
6857 arg2 = &temp2;
6858 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6859 }
6860 {
6861 PyThreadState* __tstate = wxPyBeginAllowThreads();
6862 (arg1)->SetSize((wxSize const &)*arg2);
6863
6864 wxPyEndAllowThreads(__tstate);
6865 if (PyErr_Occurred()) SWIG_fail;
6866 }
6867 Py_INCREF(Py_None); resultobj = Py_None;
6868 return resultobj;
6869 fail:
6870 return NULL;
6871 }
6872
6873
6874 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6875 PyObject *resultobj;
6876 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6877 wxSize result;
6878 PyObject * obj0 = 0 ;
6879 char *kwnames[] = {
6880 (char *) "self", NULL
6881 };
6882
6883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6885 {
6886 PyThreadState* __tstate = wxPyBeginAllowThreads();
6887 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6888
6889 wxPyEndAllowThreads(__tstate);
6890 if (PyErr_Occurred()) SWIG_fail;
6891 }
6892 {
6893 wxSize * resultptr;
6894 resultptr = new wxSize((wxSize &) result);
6895 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6896 }
6897 return resultobj;
6898 fail:
6899 return NULL;
6900 }
6901
6902
6903 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6904 PyObject *resultobj;
6905 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6906 int arg2 ;
6907 PyObject * obj0 = 0 ;
6908 char *kwnames[] = {
6909 (char *) "self",(char *) "orient", NULL
6910 };
6911
6912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6914 {
6915 PyThreadState* __tstate = wxPyBeginAllowThreads();
6916 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6917
6918 wxPyEndAllowThreads(__tstate);
6919 if (PyErr_Occurred()) SWIG_fail;
6920 }
6921 Py_INCREF(Py_None); resultobj = Py_None;
6922 return resultobj;
6923 fail:
6924 return NULL;
6925 }
6926
6927
6928 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6929 PyObject *resultobj;
6930 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6931 int result;
6932 PyObject * obj0 = 0 ;
6933 char *kwnames[] = {
6934 (char *) "self", NULL
6935 };
6936
6937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6941 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6942
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 resultobj = PyInt_FromLong((long)result);
6947 return resultobj;
6948 fail:
6949 return NULL;
6950 }
6951
6952
6953 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6954 PyObject *resultobj;
6955 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6956 int arg2 ;
6957 PyObject * obj0 = 0 ;
6958 char *kwnames[] = {
6959 (char *) "self",(char *) "align", NULL
6960 };
6961
6962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6964 {
6965 PyThreadState* __tstate = wxPyBeginAllowThreads();
6966 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6967
6968 wxPyEndAllowThreads(__tstate);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 }
6971 Py_INCREF(Py_None); resultobj = Py_None;
6972 return resultobj;
6973 fail:
6974 return NULL;
6975 }
6976
6977
6978 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6979 PyObject *resultobj;
6980 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6981 int result;
6982 PyObject * obj0 = 0 ;
6983 char *kwnames[] = {
6984 (char *) "self", NULL
6985 };
6986
6987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6989 {
6990 PyThreadState* __tstate = wxPyBeginAllowThreads();
6991 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6992
6993 wxPyEndAllowThreads(__tstate);
6994 if (PyErr_Occurred()) SWIG_fail;
6995 }
6996 resultobj = PyInt_FromLong((long)result);
6997 return resultobj;
6998 fail:
6999 return NULL;
7000 }
7001
7002
7003 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7004 PyObject *obj;
7005 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7006 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7007 Py_INCREF(obj);
7008 return Py_BuildValue((char *)"");
7009 }
7010 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7011 PyObject *resultobj;
7012 int arg1 = (int) 0 ;
7013 wxCalculateLayoutEvent *result;
7014 char *kwnames[] = {
7015 (char *) "id", NULL
7016 };
7017
7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
7019 {
7020 PyThreadState* __tstate = wxPyBeginAllowThreads();
7021 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7022
7023 wxPyEndAllowThreads(__tstate);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 }
7026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7027 return resultobj;
7028 fail:
7029 return NULL;
7030 }
7031
7032
7033 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7034 PyObject *resultobj;
7035 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7036 int arg2 ;
7037 PyObject * obj0 = 0 ;
7038 char *kwnames[] = {
7039 (char *) "self",(char *) "flags", NULL
7040 };
7041
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
7043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 (arg1)->SetFlags(arg2);
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 Py_INCREF(Py_None); resultobj = Py_None;
7052 return resultobj;
7053 fail:
7054 return NULL;
7055 }
7056
7057
7058 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7059 PyObject *resultobj;
7060 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7061 int result;
7062 PyObject * obj0 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "self", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 resultobj = PyInt_FromLong((long)result);
7077 return resultobj;
7078 fail:
7079 return NULL;
7080 }
7081
7082
7083 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj;
7085 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7086 wxRect *arg2 = 0 ;
7087 wxRect temp2 ;
7088 PyObject * obj0 = 0 ;
7089 PyObject * obj1 = 0 ;
7090 char *kwnames[] = {
7091 (char *) "self",(char *) "rect", NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7096 {
7097 arg2 = &temp2;
7098 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7099 }
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 (arg1)->SetRect((wxRect const &)*arg2);
7103
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 Py_INCREF(Py_None); resultobj = Py_None;
7108 return resultobj;
7109 fail:
7110 return NULL;
7111 }
7112
7113
7114 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj;
7116 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7117 wxRect result;
7118 PyObject * obj0 = 0 ;
7119 char *kwnames[] = {
7120 (char *) "self", NULL
7121 };
7122
7123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7125 {
7126 PyThreadState* __tstate = wxPyBeginAllowThreads();
7127 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7128
7129 wxPyEndAllowThreads(__tstate);
7130 if (PyErr_Occurred()) SWIG_fail;
7131 }
7132 {
7133 wxRect * resultptr;
7134 resultptr = new wxRect((wxRect &) result);
7135 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7136 }
7137 return resultobj;
7138 fail:
7139 return NULL;
7140 }
7141
7142
7143 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7144 PyObject *obj;
7145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7146 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7147 Py_INCREF(obj);
7148 return Py_BuildValue((char *)"");
7149 }
7150 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7151 PyObject *resultobj;
7152 wxWindow *arg1 = (wxWindow *) 0 ;
7153 int arg2 ;
7154 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7155 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7156 wxSize const &arg4_defvalue = wxDefaultSize ;
7157 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7158 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7159 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7160 wxString *arg6 = (wxString *) &arg6_defvalue ;
7161 wxSashLayoutWindow *result;
7162 wxPoint temp3 ;
7163 wxSize temp4 ;
7164 bool temp6 = False ;
7165 PyObject * obj0 = 0 ;
7166 PyObject * obj2 = 0 ;
7167 PyObject * obj3 = 0 ;
7168 PyObject * obj5 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7175 if (obj2) {
7176 {
7177 arg3 = &temp3;
7178 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7179 }
7180 }
7181 if (obj3) {
7182 {
7183 arg4 = &temp4;
7184 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7185 }
7186 }
7187 if (obj5) {
7188 {
7189 arg6 = wxString_in_helper(obj5);
7190 if (arg6 == NULL) SWIG_fail;
7191 temp6 = True;
7192 }
7193 }
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7197
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7202 {
7203 if (temp6)
7204 delete arg6;
7205 }
7206 return resultobj;
7207 fail:
7208 {
7209 if (temp6)
7210 delete arg6;
7211 }
7212 return NULL;
7213 }
7214
7215
7216 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7217 PyObject *resultobj;
7218 wxSashLayoutWindow *result;
7219 char *kwnames[] = {
7220 NULL
7221 };
7222
7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7224 {
7225 PyThreadState* __tstate = wxPyBeginAllowThreads();
7226 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7227
7228 wxPyEndAllowThreads(__tstate);
7229 if (PyErr_Occurred()) SWIG_fail;
7230 }
7231 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7232 return resultobj;
7233 fail:
7234 return NULL;
7235 }
7236
7237
7238 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7239 PyObject *resultobj;
7240 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7241 wxWindow *arg2 = (wxWindow *) 0 ;
7242 int arg3 ;
7243 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7244 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7245 wxSize const &arg5_defvalue = wxDefaultSize ;
7246 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7247 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7248 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7249 wxString *arg7 = (wxString *) &arg7_defvalue ;
7250 bool result;
7251 wxPoint temp4 ;
7252 wxSize temp5 ;
7253 bool temp7 = False ;
7254 PyObject * obj0 = 0 ;
7255 PyObject * obj1 = 0 ;
7256 PyObject * obj3 = 0 ;
7257 PyObject * obj4 = 0 ;
7258 PyObject * obj6 = 0 ;
7259 char *kwnames[] = {
7260 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7261 };
7262
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7266 if (obj3) {
7267 {
7268 arg4 = &temp4;
7269 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7270 }
7271 }
7272 if (obj4) {
7273 {
7274 arg5 = &temp5;
7275 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7276 }
7277 }
7278 if (obj6) {
7279 {
7280 arg7 = wxString_in_helper(obj6);
7281 if (arg7 == NULL) SWIG_fail;
7282 temp7 = True;
7283 }
7284 }
7285 {
7286 PyThreadState* __tstate = wxPyBeginAllowThreads();
7287 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7288
7289 wxPyEndAllowThreads(__tstate);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 }
7292 resultobj = PyInt_FromLong((long)result);
7293 {
7294 if (temp7)
7295 delete arg7;
7296 }
7297 return resultobj;
7298 fail:
7299 {
7300 if (temp7)
7301 delete arg7;
7302 }
7303 return NULL;
7304 }
7305
7306
7307 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7308 PyObject *resultobj;
7309 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7310 int result;
7311 PyObject * obj0 = 0 ;
7312 char *kwnames[] = {
7313 (char *) "self", NULL
7314 };
7315
7316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7318 {
7319 PyThreadState* __tstate = wxPyBeginAllowThreads();
7320 result = (int)(arg1)->GetAlignment();
7321
7322 wxPyEndAllowThreads(__tstate);
7323 if (PyErr_Occurred()) SWIG_fail;
7324 }
7325 resultobj = PyInt_FromLong((long)result);
7326 return resultobj;
7327 fail:
7328 return NULL;
7329 }
7330
7331
7332 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7333 PyObject *resultobj;
7334 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7335 int result;
7336 PyObject * obj0 = 0 ;
7337 char *kwnames[] = {
7338 (char *) "self", NULL
7339 };
7340
7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 result = (int)(arg1)->GetOrientation();
7346
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 resultobj = PyInt_FromLong((long)result);
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj;
7359 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7360 int arg2 ;
7361 PyObject * obj0 = 0 ;
7362 char *kwnames[] = {
7363 (char *) "self",(char *) "alignment", NULL
7364 };
7365
7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7368 {
7369 PyThreadState* __tstate = wxPyBeginAllowThreads();
7370 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7371
7372 wxPyEndAllowThreads(__tstate);
7373 if (PyErr_Occurred()) SWIG_fail;
7374 }
7375 Py_INCREF(Py_None); resultobj = Py_None;
7376 return resultobj;
7377 fail:
7378 return NULL;
7379 }
7380
7381
7382 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7383 PyObject *resultobj;
7384 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7385 wxSize *arg2 = 0 ;
7386 wxSize temp2 ;
7387 PyObject * obj0 = 0 ;
7388 PyObject * obj1 = 0 ;
7389 char *kwnames[] = {
7390 (char *) "self",(char *) "size", NULL
7391 };
7392
7393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7395 {
7396 arg2 = &temp2;
7397 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7398 }
7399 {
7400 PyThreadState* __tstate = wxPyBeginAllowThreads();
7401 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7402
7403 wxPyEndAllowThreads(__tstate);
7404 if (PyErr_Occurred()) SWIG_fail;
7405 }
7406 Py_INCREF(Py_None); resultobj = Py_None;
7407 return resultobj;
7408 fail:
7409 return NULL;
7410 }
7411
7412
7413 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7414 PyObject *resultobj;
7415 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7416 int arg2 ;
7417 PyObject * obj0 = 0 ;
7418 char *kwnames[] = {
7419 (char *) "self",(char *) "orientation", NULL
7420 };
7421
7422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
7431 Py_INCREF(Py_None); resultobj = Py_None;
7432 return resultobj;
7433 fail:
7434 return NULL;
7435 }
7436
7437
7438 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7439 PyObject *obj;
7440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7441 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7442 Py_INCREF(obj);
7443 return Py_BuildValue((char *)"");
7444 }
7445 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj;
7447 wxLayoutAlgorithm *result;
7448 char *kwnames[] = {
7449 NULL
7450 };
7451
7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7461 return resultobj;
7462 fail:
7463 return NULL;
7464 }
7465
7466
7467 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7468 PyObject *resultobj;
7469 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7470 PyObject * obj0 = 0 ;
7471 char *kwnames[] = {
7472 (char *) "self", NULL
7473 };
7474
7475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7477 {
7478 PyThreadState* __tstate = wxPyBeginAllowThreads();
7479 delete arg1;
7480
7481 wxPyEndAllowThreads(__tstate);
7482 if (PyErr_Occurred()) SWIG_fail;
7483 }
7484 Py_INCREF(Py_None); resultobj = Py_None;
7485 return resultobj;
7486 fail:
7487 return NULL;
7488 }
7489
7490
7491 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7492 PyObject *resultobj;
7493 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7494 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7495 wxRect *arg3 = (wxRect *) NULL ;
7496 bool result;
7497 PyObject * obj0 = 0 ;
7498 PyObject * obj1 = 0 ;
7499 PyObject * obj2 = 0 ;
7500 char *kwnames[] = {
7501 (char *) "self",(char *) "frame",(char *) "rect", NULL
7502 };
7503
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7506 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7507 if (obj2) {
7508 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7509 }
7510 {
7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
7512 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7513
7514 wxPyEndAllowThreads(__tstate);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 }
7517 resultobj = PyInt_FromLong((long)result);
7518 return resultobj;
7519 fail:
7520 return NULL;
7521 }
7522
7523
7524 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7525 PyObject *resultobj;
7526 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7527 wxFrame *arg2 = (wxFrame *) 0 ;
7528 wxWindow *arg3 = (wxWindow *) NULL ;
7529 bool result;
7530 PyObject * obj0 = 0 ;
7531 PyObject * obj1 = 0 ;
7532 PyObject * obj2 = 0 ;
7533 char *kwnames[] = {
7534 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7535 };
7536
7537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7540 if (obj2) {
7541 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7542 }
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 resultobj = PyInt_FromLong((long)result);
7551 return resultobj;
7552 fail:
7553 return NULL;
7554 }
7555
7556
7557 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7558 PyObject *resultobj;
7559 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7560 wxWindow *arg2 = (wxWindow *) 0 ;
7561 wxWindow *arg3 = (wxWindow *) NULL ;
7562 bool result;
7563 PyObject * obj0 = 0 ;
7564 PyObject * obj1 = 0 ;
7565 PyObject * obj2 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7572 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7573 if (obj2) {
7574 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7575 }
7576 {
7577 PyThreadState* __tstate = wxPyBeginAllowThreads();
7578 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7579
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 resultobj = PyInt_FromLong((long)result);
7584 return resultobj;
7585 fail:
7586 return NULL;
7587 }
7588
7589
7590 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7591 PyObject *obj;
7592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7593 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7594 Py_INCREF(obj);
7595 return Py_BuildValue((char *)"");
7596 }
7597 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7598 PyObject *resultobj;
7599 wxWindow *arg1 = (wxWindow *) 0 ;
7600 int arg2 = (int) wxBORDER_NONE ;
7601 wxPopupWindow *result;
7602 PyObject * obj0 = 0 ;
7603 char *kwnames[] = {
7604 (char *) "parent",(char *) "flags", NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7617 return resultobj;
7618 fail:
7619 return NULL;
7620 }
7621
7622
7623 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7624 PyObject *resultobj;
7625 wxPopupWindow *result;
7626 char *kwnames[] = {
7627 NULL
7628 };
7629
7630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7631 {
7632 PyThreadState* __tstate = wxPyBeginAllowThreads();
7633 result = (wxPopupWindow *)new wxPopupWindow();
7634
7635 wxPyEndAllowThreads(__tstate);
7636 if (PyErr_Occurred()) SWIG_fail;
7637 }
7638 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7639 return resultobj;
7640 fail:
7641 return NULL;
7642 }
7643
7644
7645 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7646 PyObject *resultobj;
7647 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7648 wxWindow *arg2 = (wxWindow *) 0 ;
7649 int arg3 = (int) wxBORDER_NONE ;
7650 bool result;
7651 PyObject * obj0 = 0 ;
7652 PyObject * obj1 = 0 ;
7653 char *kwnames[] = {
7654 (char *) "self",(char *) "parent",(char *) "flags", NULL
7655 };
7656
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
7662 result = (bool)(arg1)->Create(arg2,arg3);
7663
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 resultobj = PyInt_FromLong((long)result);
7668 return resultobj;
7669 fail:
7670 return NULL;
7671 }
7672
7673
7674 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7675 PyObject *resultobj;
7676 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7677 wxPoint *arg2 = 0 ;
7678 wxSize *arg3 = 0 ;
7679 wxPoint temp2 ;
7680 wxSize temp3 ;
7681 PyObject * obj0 = 0 ;
7682 PyObject * obj1 = 0 ;
7683 PyObject * obj2 = 0 ;
7684 char *kwnames[] = {
7685 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7686 };
7687
7688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7690 {
7691 arg2 = &temp2;
7692 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7693 }
7694 {
7695 arg3 = &temp3;
7696 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7697 }
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 Py_INCREF(Py_None); resultobj = Py_None;
7706 return resultobj;
7707 fail:
7708 return NULL;
7709 }
7710
7711
7712 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7713 PyObject *obj;
7714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7715 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7716 Py_INCREF(obj);
7717 return Py_BuildValue((char *)"");
7718 }
7719 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7720 PyObject *resultobj;
7721 wxWindow *arg1 = (wxWindow *) 0 ;
7722 int arg2 = (int) wxBORDER_NONE ;
7723 wxPyPopupTransientWindow *result;
7724 PyObject * obj0 = 0 ;
7725 char *kwnames[] = {
7726 (char *) "parent",(char *) "style", NULL
7727 };
7728
7729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7739 return resultobj;
7740 fail:
7741 return NULL;
7742 }
7743
7744
7745 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7746 PyObject *resultobj;
7747 wxPyPopupTransientWindow *result;
7748 char *kwnames[] = {
7749 NULL
7750 };
7751
7752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7761 return resultobj;
7762 fail:
7763 return NULL;
7764 }
7765
7766
7767 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7770 PyObject *arg2 = (PyObject *) 0 ;
7771 PyObject *arg3 = (PyObject *) 0 ;
7772 PyObject * obj0 = 0 ;
7773 PyObject * obj1 = 0 ;
7774 PyObject * obj2 = 0 ;
7775 char *kwnames[] = {
7776 (char *) "self",(char *) "self",(char *) "_class", NULL
7777 };
7778
7779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7781 arg2 = obj1;
7782 arg3 = obj2;
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 (arg1)->_setCallbackInfo(arg2,arg3);
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 Py_INCREF(Py_None); resultobj = Py_None;
7791 return resultobj;
7792 fail:
7793 return NULL;
7794 }
7795
7796
7797 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7800 wxWindow *arg2 = (wxWindow *) NULL ;
7801 PyObject * obj0 = 0 ;
7802 PyObject * obj1 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "self",(char *) "focus", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7809 if (obj1) {
7810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7811 }
7812 {
7813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7814 (arg1)->Popup(arg2);
7815
7816 wxPyEndAllowThreads(__tstate);
7817 if (PyErr_Occurred()) SWIG_fail;
7818 }
7819 Py_INCREF(Py_None); resultobj = Py_None;
7820 return resultobj;
7821 fail:
7822 return NULL;
7823 }
7824
7825
7826 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7827 PyObject *resultobj;
7828 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7829 PyObject * obj0 = 0 ;
7830 char *kwnames[] = {
7831 (char *) "self", NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7836 {
7837 PyThreadState* __tstate = wxPyBeginAllowThreads();
7838 (arg1)->Dismiss();
7839
7840 wxPyEndAllowThreads(__tstate);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 Py_INCREF(Py_None); resultobj = Py_None;
7844 return resultobj;
7845 fail:
7846 return NULL;
7847 }
7848
7849
7850 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7851 PyObject *obj;
7852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7853 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7854 Py_INCREF(obj);
7855 return Py_BuildValue((char *)"");
7856 }
7857 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxWindow *arg1 = (wxWindow *) 0 ;
7860 wxString *arg2 = 0 ;
7861 int arg3 = (int) 100 ;
7862 wxRect *arg4 = (wxRect *) NULL ;
7863 wxTipWindow *result;
7864 bool temp2 = False ;
7865 PyObject * obj0 = 0 ;
7866 PyObject * obj1 = 0 ;
7867 PyObject * obj3 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7874 {
7875 arg2 = wxString_in_helper(obj1);
7876 if (arg2 == NULL) SWIG_fail;
7877 temp2 = True;
7878 }
7879 if (obj3) {
7880 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7881 }
7882 {
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7885
7886 wxPyEndAllowThreads(__tstate);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 }
7889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7890 {
7891 if (temp2)
7892 delete arg2;
7893 }
7894 return resultobj;
7895 fail:
7896 {
7897 if (temp2)
7898 delete arg2;
7899 }
7900 return NULL;
7901 }
7902
7903
7904 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7905 PyObject *resultobj;
7906 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7907 wxRect *arg2 = 0 ;
7908 wxRect temp2 ;
7909 PyObject * obj0 = 0 ;
7910 PyObject * obj1 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self",(char *) "rectBound", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7917 {
7918 arg2 = &temp2;
7919 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7920 }
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7924
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 Py_INCREF(Py_None); resultobj = Py_None;
7929 return resultobj;
7930 fail:
7931 return NULL;
7932 }
7933
7934
7935 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7936 PyObject *resultobj;
7937 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7938 PyObject * obj0 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "self", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7945 {
7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
7947 (arg1)->Close();
7948
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 Py_INCREF(Py_None); resultobj = Py_None;
7953 return resultobj;
7954 fail:
7955 return NULL;
7956 }
7957
7958
7959 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7960 PyObject *obj;
7961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7962 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7963 Py_INCREF(obj);
7964 return Py_BuildValue((char *)"");
7965 }
7966 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7967 PyObject *resultobj;
7968 wxWindow *arg1 = (wxWindow *) 0 ;
7969 int arg2 = (int) wxID_ANY ;
7970 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7971 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7972 wxSize const &arg4_defvalue = wxDefaultSize ;
7973 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7974 long arg5 = (long) 0 ;
7975 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7976 wxString *arg6 = (wxString *) &arg6_defvalue ;
7977 wxPyVScrolledWindow *result;
7978 wxPoint temp3 ;
7979 wxSize temp4 ;
7980 bool temp6 = False ;
7981 PyObject * obj0 = 0 ;
7982 PyObject * obj2 = 0 ;
7983 PyObject * obj3 = 0 ;
7984 PyObject * obj5 = 0 ;
7985 char *kwnames[] = {
7986 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7987 };
7988
7989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7991 if (obj2) {
7992 {
7993 arg3 = &temp3;
7994 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7995 }
7996 }
7997 if (obj3) {
7998 {
7999 arg4 = &temp4;
8000 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8001 }
8002 }
8003 if (obj5) {
8004 {
8005 arg6 = wxString_in_helper(obj5);
8006 if (arg6 == NULL) SWIG_fail;
8007 temp6 = True;
8008 }
8009 }
8010 {
8011 PyThreadState* __tstate = wxPyBeginAllowThreads();
8012 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8013
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8018 {
8019 if (temp6)
8020 delete arg6;
8021 }
8022 return resultobj;
8023 fail:
8024 {
8025 if (temp6)
8026 delete arg6;
8027 }
8028 return NULL;
8029 }
8030
8031
8032 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject *resultobj;
8034 wxPyVScrolledWindow *result;
8035 char *kwnames[] = {
8036 NULL
8037 };
8038
8039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8040 {
8041 PyThreadState* __tstate = wxPyBeginAllowThreads();
8042 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8043
8044 wxPyEndAllowThreads(__tstate);
8045 if (PyErr_Occurred()) SWIG_fail;
8046 }
8047 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8048 return resultobj;
8049 fail:
8050 return NULL;
8051 }
8052
8053
8054 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8055 PyObject *resultobj;
8056 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8057 PyObject *arg2 = (PyObject *) 0 ;
8058 PyObject *arg3 = (PyObject *) 0 ;
8059 PyObject * obj0 = 0 ;
8060 PyObject * obj1 = 0 ;
8061 PyObject * obj2 = 0 ;
8062 char *kwnames[] = {
8063 (char *) "self",(char *) "self",(char *) "_class", NULL
8064 };
8065
8066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8068 arg2 = obj1;
8069 arg3 = obj2;
8070 {
8071 PyThreadState* __tstate = wxPyBeginAllowThreads();
8072 (arg1)->_setCallbackInfo(arg2,arg3);
8073
8074 wxPyEndAllowThreads(__tstate);
8075 if (PyErr_Occurred()) SWIG_fail;
8076 }
8077 Py_INCREF(Py_None); resultobj = Py_None;
8078 return resultobj;
8079 fail:
8080 return NULL;
8081 }
8082
8083
8084 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8085 PyObject *resultobj;
8086 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8087 wxWindow *arg2 = (wxWindow *) 0 ;
8088 int arg3 = (int) wxID_ANY ;
8089 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8090 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8091 wxSize const &arg5_defvalue = wxDefaultSize ;
8092 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8093 long arg6 = (long) 0 ;
8094 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8095 wxString *arg7 = (wxString *) &arg7_defvalue ;
8096 bool result;
8097 wxPoint temp4 ;
8098 wxSize temp5 ;
8099 bool temp7 = False ;
8100 PyObject * obj0 = 0 ;
8101 PyObject * obj1 = 0 ;
8102 PyObject * obj3 = 0 ;
8103 PyObject * obj4 = 0 ;
8104 PyObject * obj6 = 0 ;
8105 char *kwnames[] = {
8106 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8107 };
8108
8109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8112 if (obj3) {
8113 {
8114 arg4 = &temp4;
8115 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8116 }
8117 }
8118 if (obj4) {
8119 {
8120 arg5 = &temp5;
8121 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8122 }
8123 }
8124 if (obj6) {
8125 {
8126 arg7 = wxString_in_helper(obj6);
8127 if (arg7 == NULL) SWIG_fail;
8128 temp7 = True;
8129 }
8130 }
8131 {
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8134
8135 wxPyEndAllowThreads(__tstate);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
8138 resultobj = PyInt_FromLong((long)result);
8139 {
8140 if (temp7)
8141 delete arg7;
8142 }
8143 return resultobj;
8144 fail:
8145 {
8146 if (temp7)
8147 delete arg7;
8148 }
8149 return NULL;
8150 }
8151
8152
8153 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8154 PyObject *resultobj;
8155 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8156 size_t arg2 ;
8157 PyObject * obj0 = 0 ;
8158 PyObject * obj1 = 0 ;
8159 char *kwnames[] = {
8160 (char *) "self",(char *) "count", NULL
8161 };
8162
8163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8165 {
8166 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 (arg1)->SetLineCount(arg2);
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 Py_INCREF(Py_None); resultobj = Py_None;
8177 return resultobj;
8178 fail:
8179 return NULL;
8180 }
8181
8182
8183 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8184 PyObject *resultobj;
8185 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8186 size_t arg2 ;
8187 bool result;
8188 PyObject * obj0 = 0 ;
8189 PyObject * obj1 = 0 ;
8190 char *kwnames[] = {
8191 (char *) "self",(char *) "line", NULL
8192 };
8193
8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8196 {
8197 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 {
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 result = (bool)(arg1)->ScrollToLine(arg2);
8203
8204 wxPyEndAllowThreads(__tstate);
8205 if (PyErr_Occurred()) SWIG_fail;
8206 }
8207 resultobj = PyInt_FromLong((long)result);
8208 return resultobj;
8209 fail:
8210 return NULL;
8211 }
8212
8213
8214 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8215 PyObject *resultobj;
8216 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8217 int arg2 ;
8218 bool result;
8219 PyObject * obj0 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self",(char *) "lines", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
8225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (bool)(arg1)->ScrollLines(arg2);
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 resultobj = PyInt_FromLong((long)result);
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj;
8242 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8243 int arg2 ;
8244 bool result;
8245 PyObject * obj0 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "self",(char *) "pages", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
8251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (bool)(arg1)->ScrollPages(arg2);
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 resultobj = PyInt_FromLong((long)result);
8260 return resultobj;
8261 fail:
8262 return NULL;
8263 }
8264
8265
8266 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8267 PyObject *resultobj;
8268 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8269 size_t arg2 ;
8270 PyObject * obj0 = 0 ;
8271 PyObject * obj1 = 0 ;
8272 char *kwnames[] = {
8273 (char *) "self",(char *) "line", NULL
8274 };
8275
8276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8278 {
8279 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8280 if (PyErr_Occurred()) SWIG_fail;
8281 }
8282 {
8283 PyThreadState* __tstate = wxPyBeginAllowThreads();
8284 (arg1)->RefreshLine(arg2);
8285
8286 wxPyEndAllowThreads(__tstate);
8287 if (PyErr_Occurred()) SWIG_fail;
8288 }
8289 Py_INCREF(Py_None); resultobj = Py_None;
8290 return resultobj;
8291 fail:
8292 return NULL;
8293 }
8294
8295
8296 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8297 PyObject *resultobj;
8298 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8299 size_t arg2 ;
8300 size_t arg3 ;
8301 PyObject * obj0 = 0 ;
8302 PyObject * obj1 = 0 ;
8303 PyObject * obj2 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "self",(char *) "from",(char *) "to", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8310 {
8311 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8312 if (PyErr_Occurred()) SWIG_fail;
8313 }
8314 {
8315 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 {
8319 PyThreadState* __tstate = wxPyBeginAllowThreads();
8320 (arg1)->RefreshLines(arg2,arg3);
8321
8322 wxPyEndAllowThreads(__tstate);
8323 if (PyErr_Occurred()) SWIG_fail;
8324 }
8325 Py_INCREF(Py_None); resultobj = Py_None;
8326 return resultobj;
8327 fail:
8328 return NULL;
8329 }
8330
8331
8332 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8333 PyObject *resultobj;
8334 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8335 int arg2 ;
8336 int arg3 ;
8337 int result;
8338 PyObject * obj0 = 0 ;
8339 char *kwnames[] = {
8340 (char *) "self",(char *) "x",(char *) "y", NULL
8341 };
8342
8343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8345 {
8346 PyThreadState* __tstate = wxPyBeginAllowThreads();
8347 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8348
8349 wxPyEndAllowThreads(__tstate);
8350 if (PyErr_Occurred()) SWIG_fail;
8351 }
8352 resultobj = PyInt_FromLong((long)result);
8353 return resultobj;
8354 fail:
8355 return NULL;
8356 }
8357
8358
8359 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8360 PyObject *resultobj;
8361 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8362 wxPoint *arg2 = 0 ;
8363 int result;
8364 wxPoint temp2 ;
8365 PyObject * obj0 = 0 ;
8366 PyObject * obj1 = 0 ;
8367 char *kwnames[] = {
8368 (char *) "self",(char *) "pt", NULL
8369 };
8370
8371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8373 {
8374 arg2 = &temp2;
8375 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8376 }
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8380
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 resultobj = PyInt_FromLong((long)result);
8385 return resultobj;
8386 fail:
8387 return NULL;
8388 }
8389
8390
8391 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8392 PyObject *resultobj;
8393 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8394 PyObject * obj0 = 0 ;
8395 char *kwnames[] = {
8396 (char *) "self", NULL
8397 };
8398
8399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8401 {
8402 PyThreadState* __tstate = wxPyBeginAllowThreads();
8403 (arg1)->RefreshAll();
8404
8405 wxPyEndAllowThreads(__tstate);
8406 if (PyErr_Occurred()) SWIG_fail;
8407 }
8408 Py_INCREF(Py_None); resultobj = Py_None;
8409 return resultobj;
8410 fail:
8411 return NULL;
8412 }
8413
8414
8415 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8416 PyObject *resultobj;
8417 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8418 size_t result;
8419 PyObject * obj0 = 0 ;
8420 char *kwnames[] = {
8421 (char *) "self", NULL
8422 };
8423
8424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8426 {
8427 PyThreadState* __tstate = wxPyBeginAllowThreads();
8428 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8429
8430 wxPyEndAllowThreads(__tstate);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 }
8433 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8434 return resultobj;
8435 fail:
8436 return NULL;
8437 }
8438
8439
8440 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8441 PyObject *resultobj;
8442 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8443 size_t result;
8444 PyObject * obj0 = 0 ;
8445 char *kwnames[] = {
8446 (char *) "self", NULL
8447 };
8448
8449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8451 {
8452 PyThreadState* __tstate = wxPyBeginAllowThreads();
8453 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8454
8455 wxPyEndAllowThreads(__tstate);
8456 if (PyErr_Occurred()) SWIG_fail;
8457 }
8458 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8459 return resultobj;
8460 fail:
8461 return NULL;
8462 }
8463
8464
8465 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8466 PyObject *resultobj;
8467 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8468 size_t result;
8469 PyObject * obj0 = 0 ;
8470 char *kwnames[] = {
8471 (char *) "self", NULL
8472 };
8473
8474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8479
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8484 return resultobj;
8485 fail:
8486 return NULL;
8487 }
8488
8489
8490 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8491 PyObject *resultobj;
8492 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8493 size_t arg2 ;
8494 bool result;
8495 PyObject * obj0 = 0 ;
8496 PyObject * obj1 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "self",(char *) "line", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8503 {
8504 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
8507 {
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8510
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = PyInt_FromLong((long)result);
8515 return resultobj;
8516 fail:
8517 return NULL;
8518 }
8519
8520
8521 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8522 PyObject *obj;
8523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8524 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8525 Py_INCREF(obj);
8526 return Py_BuildValue((char *)"");
8527 }
8528 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
8529 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
8530 return 1;
8531 }
8532
8533
8534 static PyObject *_wrap_VListBoxNameStr_get() {
8535 PyObject *pyobj;
8536
8537 {
8538 #if wxUSE_UNICODE
8539 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8540 #else
8541 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8542 #endif
8543 }
8544 return pyobj;
8545 }
8546
8547
8548 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj;
8550 wxWindow *arg1 = (wxWindow *) 0 ;
8551 int arg2 = (int) wxID_ANY ;
8552 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8553 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8554 wxSize const &arg4_defvalue = wxDefaultSize ;
8555 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8556 long arg5 = (long) 0 ;
8557 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8558 wxString *arg6 = (wxString *) &arg6_defvalue ;
8559 wxPyVListBox *result;
8560 wxPoint temp3 ;
8561 wxSize temp4 ;
8562 bool temp6 = False ;
8563 PyObject * obj0 = 0 ;
8564 PyObject * obj2 = 0 ;
8565 PyObject * obj3 = 0 ;
8566 PyObject * obj5 = 0 ;
8567 char *kwnames[] = {
8568 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8569 };
8570
8571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8573 if (obj2) {
8574 {
8575 arg3 = &temp3;
8576 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8577 }
8578 }
8579 if (obj3) {
8580 {
8581 arg4 = &temp4;
8582 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8583 }
8584 }
8585 if (obj5) {
8586 {
8587 arg6 = wxString_in_helper(obj5);
8588 if (arg6 == NULL) SWIG_fail;
8589 temp6 = True;
8590 }
8591 }
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8595
8596 wxPyEndAllowThreads(__tstate);
8597 if (PyErr_Occurred()) SWIG_fail;
8598 }
8599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8600 {
8601 if (temp6)
8602 delete arg6;
8603 }
8604 return resultobj;
8605 fail:
8606 {
8607 if (temp6)
8608 delete arg6;
8609 }
8610 return NULL;
8611 }
8612
8613
8614 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8615 PyObject *resultobj;
8616 wxPyVListBox *result;
8617 char *kwnames[] = {
8618 NULL
8619 };
8620
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8622 {
8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
8624 result = (wxPyVListBox *)new wxPyVListBox();
8625
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8630 return resultobj;
8631 fail:
8632 return NULL;
8633 }
8634
8635
8636 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8637 PyObject *resultobj;
8638 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8639 PyObject *arg2 = (PyObject *) 0 ;
8640 PyObject *arg3 = (PyObject *) 0 ;
8641 PyObject * obj0 = 0 ;
8642 PyObject * obj1 = 0 ;
8643 PyObject * obj2 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "self",(char *) "self",(char *) "_class", NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8650 arg2 = obj1;
8651 arg3 = obj2;
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 (arg1)->_setCallbackInfo(arg2,arg3);
8655
8656 wxPyEndAllowThreads(__tstate);
8657 if (PyErr_Occurred()) SWIG_fail;
8658 }
8659 Py_INCREF(Py_None); resultobj = Py_None;
8660 return resultobj;
8661 fail:
8662 return NULL;
8663 }
8664
8665
8666 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8667 PyObject *resultobj;
8668 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8669 wxWindow *arg2 = (wxWindow *) 0 ;
8670 int arg3 = (int) wxID_ANY ;
8671 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8672 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8673 wxSize const &arg5_defvalue = wxDefaultSize ;
8674 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8675 long arg6 = (long) 0 ;
8676 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8677 wxString *arg7 = (wxString *) &arg7_defvalue ;
8678 bool result;
8679 wxPoint temp4 ;
8680 wxSize temp5 ;
8681 bool temp7 = False ;
8682 PyObject * obj0 = 0 ;
8683 PyObject * obj1 = 0 ;
8684 PyObject * obj3 = 0 ;
8685 PyObject * obj4 = 0 ;
8686 PyObject * obj6 = 0 ;
8687 char *kwnames[] = {
8688 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8689 };
8690
8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8693 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8694 if (obj3) {
8695 {
8696 arg4 = &temp4;
8697 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8698 }
8699 }
8700 if (obj4) {
8701 {
8702 arg5 = &temp5;
8703 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8704 }
8705 }
8706 if (obj6) {
8707 {
8708 arg7 = wxString_in_helper(obj6);
8709 if (arg7 == NULL) SWIG_fail;
8710 temp7 = True;
8711 }
8712 }
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 resultobj = PyInt_FromLong((long)result);
8721 {
8722 if (temp7)
8723 delete arg7;
8724 }
8725 return resultobj;
8726 fail:
8727 {
8728 if (temp7)
8729 delete arg7;
8730 }
8731 return NULL;
8732 }
8733
8734
8735 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8736 PyObject *resultobj;
8737 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8738 size_t result;
8739 PyObject * obj0 = 0 ;
8740 char *kwnames[] = {
8741 (char *) "self", NULL
8742 };
8743
8744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8754 return resultobj;
8755 fail:
8756 return NULL;
8757 }
8758
8759
8760 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8761 PyObject *resultobj;
8762 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8763 bool result;
8764 PyObject * obj0 = 0 ;
8765 char *kwnames[] = {
8766 (char *) "self", NULL
8767 };
8768
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 resultobj = PyInt_FromLong((long)result);
8779 return resultobj;
8780 fail:
8781 return NULL;
8782 }
8783
8784
8785 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj;
8787 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8788 int result;
8789 PyObject * obj0 = 0 ;
8790 char *kwnames[] = {
8791 (char *) "self", NULL
8792 };
8793
8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 resultobj = PyInt_FromLong((long)result);
8804 return resultobj;
8805 fail:
8806 return NULL;
8807 }
8808
8809
8810 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8813 size_t arg2 ;
8814 bool result;
8815 PyObject * obj0 = 0 ;
8816 PyObject * obj1 = 0 ;
8817 char *kwnames[] = {
8818 (char *) "self",(char *) "item", NULL
8819 };
8820
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8823 {
8824 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 {
8828 PyThreadState* __tstate = wxPyBeginAllowThreads();
8829 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8830
8831 wxPyEndAllowThreads(__tstate);
8832 if (PyErr_Occurred()) SWIG_fail;
8833 }
8834 resultobj = PyInt_FromLong((long)result);
8835 return resultobj;
8836 fail:
8837 return NULL;
8838 }
8839
8840
8841 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8842 PyObject *resultobj;
8843 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8844 size_t arg2 ;
8845 bool result;
8846 PyObject * obj0 = 0 ;
8847 PyObject * obj1 = 0 ;
8848 char *kwnames[] = {
8849 (char *) "self",(char *) "item", NULL
8850 };
8851
8852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8854 {
8855 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 {
8859 PyThreadState* __tstate = wxPyBeginAllowThreads();
8860 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8861
8862 wxPyEndAllowThreads(__tstate);
8863 if (PyErr_Occurred()) SWIG_fail;
8864 }
8865 resultobj = PyInt_FromLong((long)result);
8866 return resultobj;
8867 fail:
8868 return NULL;
8869 }
8870
8871
8872 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8873 PyObject *resultobj;
8874 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8875 size_t result;
8876 PyObject * obj0 = 0 ;
8877 char *kwnames[] = {
8878 (char *) "self", NULL
8879 };
8880
8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8883 {
8884 PyThreadState* __tstate = wxPyBeginAllowThreads();
8885 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8886
8887 wxPyEndAllowThreads(__tstate);
8888 if (PyErr_Occurred()) SWIG_fail;
8889 }
8890 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
8891 return resultobj;
8892 fail:
8893 return NULL;
8894 }
8895
8896
8897 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8898 PyObject *resultobj;
8899 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8900 unsigned long *arg2 = 0 ;
8901 int result;
8902 PyObject * obj0 = 0 ;
8903 PyObject * obj1 = 0 ;
8904 char *kwnames[] = {
8905 (char *) "self",(char *) "cookie", NULL
8906 };
8907
8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8910 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8911 if (arg2 == NULL) {
8912 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8913 }
8914 {
8915 PyThreadState* __tstate = wxPyBeginAllowThreads();
8916 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8917
8918 wxPyEndAllowThreads(__tstate);
8919 if (PyErr_Occurred()) SWIG_fail;
8920 }
8921 resultobj = PyInt_FromLong((long)result);
8922 return resultobj;
8923 fail:
8924 return NULL;
8925 }
8926
8927
8928 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8929 PyObject *resultobj;
8930 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8931 unsigned long *arg2 = 0 ;
8932 int result;
8933 PyObject * obj0 = 0 ;
8934 PyObject * obj1 = 0 ;
8935 char *kwnames[] = {
8936 (char *) "self",(char *) "cookie", NULL
8937 };
8938
8939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8942 if (arg2 == NULL) {
8943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8944 }
8945 {
8946 PyThreadState* __tstate = wxPyBeginAllowThreads();
8947 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8948
8949 wxPyEndAllowThreads(__tstate);
8950 if (PyErr_Occurred()) SWIG_fail;
8951 }
8952 resultobj = PyInt_FromLong((long)result);
8953 return resultobj;
8954 fail:
8955 return NULL;
8956 }
8957
8958
8959 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8960 PyObject *resultobj;
8961 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8962 wxPoint result;
8963 PyObject * obj0 = 0 ;
8964 char *kwnames[] = {
8965 (char *) "self", NULL
8966 };
8967
8968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 result = ((wxPyVListBox const *)arg1)->GetMargins();
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 {
8978 wxPoint * resultptr;
8979 resultptr = new wxPoint((wxPoint &) result);
8980 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8981 }
8982 return resultobj;
8983 fail:
8984 return NULL;
8985 }
8986
8987
8988 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8989 PyObject *resultobj;
8990 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8991 wxColour *result;
8992 PyObject * obj0 = 0 ;
8993 char *kwnames[] = {
8994 (char *) "self", NULL
8995 };
8996
8997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 {
9002 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9003 result = (wxColour *) &_result_ref;
9004 }
9005
9006 wxPyEndAllowThreads(__tstate);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
9010 return resultobj;
9011 fail:
9012 return NULL;
9013 }
9014
9015
9016 static PyObject *_wrap_VListBox_SetItemCount(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 *) "count", NULL
9024 };
9025
9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",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)->SetItemCount(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_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9047 PyObject *resultobj;
9048 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9049 PyObject * obj0 = 0 ;
9050 char *kwnames[] = {
9051 (char *) "self", NULL
9052 };
9053
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 (arg1)->Clear();
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 Py_INCREF(Py_None); resultobj = Py_None;
9064 return resultobj;
9065 fail:
9066 return NULL;
9067 }
9068
9069
9070 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj;
9072 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9073 int arg2 ;
9074 PyObject * obj0 = 0 ;
9075 char *kwnames[] = {
9076 (char *) "self",(char *) "selection", NULL
9077 };
9078
9079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 (arg1)->SetSelection(arg2);
9084
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 Py_INCREF(Py_None); resultobj = Py_None;
9089 return resultobj;
9090 fail:
9091 return NULL;
9092 }
9093
9094
9095 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9096 PyObject *resultobj;
9097 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9098 size_t arg2 ;
9099 bool arg3 = (bool) True ;
9100 bool result;
9101 PyObject * obj0 = 0 ;
9102 PyObject * obj1 = 0 ;
9103 PyObject * obj2 = 0 ;
9104 char *kwnames[] = {
9105 (char *) "self",(char *) "item",(char *) "select", NULL
9106 };
9107
9108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9110 {
9111 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 if (obj2) {
9115 {
9116 arg3 = (bool) SPyObj_AsBool(obj2);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 }
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 result = (bool)(arg1)->Select(arg2,arg3);
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 resultobj = PyInt_FromLong((long)result);
9128 return resultobj;
9129 fail:
9130 return NULL;
9131 }
9132
9133
9134 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9135 PyObject *resultobj;
9136 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9137 size_t arg2 ;
9138 size_t arg3 ;
9139 bool result;
9140 PyObject * obj0 = 0 ;
9141 PyObject * obj1 = 0 ;
9142 PyObject * obj2 = 0 ;
9143 char *kwnames[] = {
9144 (char *) "self",(char *) "from",(char *) "to", NULL
9145 };
9146
9147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9149 {
9150 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
9151 if (PyErr_Occurred()) SWIG_fail;
9152 }
9153 {
9154 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 {
9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
9159 result = (bool)(arg1)->SelectRange(arg2,arg3);
9160
9161 wxPyEndAllowThreads(__tstate);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 }
9164 resultobj = PyInt_FromLong((long)result);
9165 return resultobj;
9166 fail:
9167 return NULL;
9168 }
9169
9170
9171 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj;
9173 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9174 size_t arg2 ;
9175 PyObject * obj0 = 0 ;
9176 PyObject * obj1 = 0 ;
9177 char *kwnames[] = {
9178 (char *) "self",(char *) "item", NULL
9179 };
9180
9181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9183 {
9184 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 {
9188 PyThreadState* __tstate = wxPyBeginAllowThreads();
9189 (arg1)->Toggle(arg2);
9190
9191 wxPyEndAllowThreads(__tstate);
9192 if (PyErr_Occurred()) SWIG_fail;
9193 }
9194 Py_INCREF(Py_None); resultobj = Py_None;
9195 return resultobj;
9196 fail:
9197 return NULL;
9198 }
9199
9200
9201 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9202 PyObject *resultobj;
9203 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9204 bool result;
9205 PyObject * obj0 = 0 ;
9206 char *kwnames[] = {
9207 (char *) "self", NULL
9208 };
9209
9210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 result = (bool)(arg1)->SelectAll();
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 resultobj = PyInt_FromLong((long)result);
9220 return resultobj;
9221 fail:
9222 return NULL;
9223 }
9224
9225
9226 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9227 PyObject *resultobj;
9228 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9229 bool result;
9230 PyObject * obj0 = 0 ;
9231 char *kwnames[] = {
9232 (char *) "self", NULL
9233 };
9234
9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 result = (bool)(arg1)->DeselectAll();
9240
9241 wxPyEndAllowThreads(__tstate);
9242 if (PyErr_Occurred()) SWIG_fail;
9243 }
9244 resultobj = PyInt_FromLong((long)result);
9245 return resultobj;
9246 fail:
9247 return NULL;
9248 }
9249
9250
9251 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9252 PyObject *resultobj;
9253 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9254 wxPoint *arg2 = 0 ;
9255 wxPoint temp2 ;
9256 PyObject * obj0 = 0 ;
9257 PyObject * obj1 = 0 ;
9258 char *kwnames[] = {
9259 (char *) "self",(char *) "pt", NULL
9260 };
9261
9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9264 {
9265 arg2 = &temp2;
9266 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9267 }
9268 {
9269 PyThreadState* __tstate = wxPyBeginAllowThreads();
9270 (arg1)->SetMargins((wxPoint const &)*arg2);
9271
9272 wxPyEndAllowThreads(__tstate);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 }
9275 Py_INCREF(Py_None); resultobj = Py_None;
9276 return resultobj;
9277 fail:
9278 return NULL;
9279 }
9280
9281
9282 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9283 PyObject *resultobj;
9284 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9285 int arg2 ;
9286 int arg3 ;
9287 PyObject * obj0 = 0 ;
9288 char *kwnames[] = {
9289 (char *) "self",(char *) "x",(char *) "y", NULL
9290 };
9291
9292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 (arg1)->SetMargins(arg2,arg3);
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 Py_INCREF(Py_None); resultobj = Py_None;
9302 return resultobj;
9303 fail:
9304 return NULL;
9305 }
9306
9307
9308 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9309 PyObject *resultobj;
9310 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9311 wxColour *arg2 = 0 ;
9312 wxColour temp2 ;
9313 PyObject * obj0 = 0 ;
9314 PyObject * obj1 = 0 ;
9315 char *kwnames[] = {
9316 (char *) "self",(char *) "col", NULL
9317 };
9318
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9321 {
9322 arg2 = &temp2;
9323 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9324 }
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 Py_INCREF(Py_None); resultobj = Py_None;
9333 return resultobj;
9334 fail:
9335 return NULL;
9336 }
9337
9338
9339 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9340 PyObject *obj;
9341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9342 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9343 Py_INCREF(obj);
9344 return Py_BuildValue((char *)"");
9345 }
9346 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9347 PyObject *resultobj;
9348 wxWindow *arg1 = (wxWindow *) 0 ;
9349 int arg2 = (int) wxID_ANY ;
9350 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9351 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9352 wxSize const &arg4_defvalue = wxDefaultSize ;
9353 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9354 long arg5 = (long) 0 ;
9355 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9356 wxString *arg6 = (wxString *) &arg6_defvalue ;
9357 wxPyHtmlListBox *result;
9358 wxPoint temp3 ;
9359 wxSize temp4 ;
9360 bool temp6 = False ;
9361 PyObject * obj0 = 0 ;
9362 PyObject * obj2 = 0 ;
9363 PyObject * obj3 = 0 ;
9364 PyObject * obj5 = 0 ;
9365 char *kwnames[] = {
9366 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9367 };
9368
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9371 if (obj2) {
9372 {
9373 arg3 = &temp3;
9374 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9375 }
9376 }
9377 if (obj3) {
9378 {
9379 arg4 = &temp4;
9380 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9381 }
9382 }
9383 if (obj5) {
9384 {
9385 arg6 = wxString_in_helper(obj5);
9386 if (arg6 == NULL) SWIG_fail;
9387 temp6 = True;
9388 }
9389 }
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9398 {
9399 if (temp6)
9400 delete arg6;
9401 }
9402 return resultobj;
9403 fail:
9404 {
9405 if (temp6)
9406 delete arg6;
9407 }
9408 return NULL;
9409 }
9410
9411
9412 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9413 PyObject *resultobj;
9414 wxPyHtmlListBox *result;
9415 char *kwnames[] = {
9416 NULL
9417 };
9418
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9428 return resultobj;
9429 fail:
9430 return NULL;
9431 }
9432
9433
9434 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj;
9436 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9437 PyObject *arg2 = (PyObject *) 0 ;
9438 PyObject *arg3 = (PyObject *) 0 ;
9439 PyObject * obj0 = 0 ;
9440 PyObject * obj1 = 0 ;
9441 PyObject * obj2 = 0 ;
9442 char *kwnames[] = {
9443 (char *) "self",(char *) "self",(char *) "_class", NULL
9444 };
9445
9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9448 arg2 = obj1;
9449 arg3 = obj2;
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 (arg1)->_setCallbackInfo(arg2,arg3);
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 Py_INCREF(Py_None); resultobj = Py_None;
9458 return resultobj;
9459 fail:
9460 return NULL;
9461 }
9462
9463
9464 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9467 wxWindow *arg2 = (wxWindow *) 0 ;
9468 int arg3 = (int) wxID_ANY ;
9469 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9470 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9471 wxSize const &arg5_defvalue = wxDefaultSize ;
9472 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9473 long arg6 = (long) 0 ;
9474 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9475 wxString *arg7 = (wxString *) &arg7_defvalue ;
9476 bool result;
9477 wxPoint temp4 ;
9478 wxSize temp5 ;
9479 bool temp7 = False ;
9480 PyObject * obj0 = 0 ;
9481 PyObject * obj1 = 0 ;
9482 PyObject * obj3 = 0 ;
9483 PyObject * obj4 = 0 ;
9484 PyObject * obj6 = 0 ;
9485 char *kwnames[] = {
9486 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9487 };
9488
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9491 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9492 if (obj3) {
9493 {
9494 arg4 = &temp4;
9495 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9496 }
9497 }
9498 if (obj4) {
9499 {
9500 arg5 = &temp5;
9501 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9502 }
9503 }
9504 if (obj6) {
9505 {
9506 arg7 = wxString_in_helper(obj6);
9507 if (arg7 == NULL) SWIG_fail;
9508 temp7 = True;
9509 }
9510 }
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9514
9515 wxPyEndAllowThreads(__tstate);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
9518 resultobj = PyInt_FromLong((long)result);
9519 {
9520 if (temp7)
9521 delete arg7;
9522 }
9523 return resultobj;
9524 fail:
9525 {
9526 if (temp7)
9527 delete arg7;
9528 }
9529 return NULL;
9530 }
9531
9532
9533 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj;
9535 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9536 PyObject * obj0 = 0 ;
9537 char *kwnames[] = {
9538 (char *) "self", NULL
9539 };
9540
9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 (arg1)->RefreshAll();
9546
9547 wxPyEndAllowThreads(__tstate);
9548 if (PyErr_Occurred()) SWIG_fail;
9549 }
9550 Py_INCREF(Py_None); resultobj = Py_None;
9551 return resultobj;
9552 fail:
9553 return NULL;
9554 }
9555
9556
9557 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9558 PyObject *resultobj;
9559 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9560 size_t arg2 ;
9561 PyObject * obj0 = 0 ;
9562 PyObject * obj1 = 0 ;
9563 char *kwnames[] = {
9564 (char *) "self",(char *) "count", NULL
9565 };
9566
9567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9569 {
9570 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 (arg1)->SetItemCount(arg2);
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 Py_INCREF(Py_None); resultobj = Py_None;
9581 return resultobj;
9582 fail:
9583 return NULL;
9584 }
9585
9586
9587 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9588 PyObject *obj;
9589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9590 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9591 Py_INCREF(obj);
9592 return Py_BuildValue((char *)"");
9593 }
9594 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj;
9596 wxTaskBarIcon *result;
9597 char *kwnames[] = {
9598 NULL
9599 };
9600
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9602 {
9603 PyThreadState* __tstate = wxPyBeginAllowThreads();
9604 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9605
9606 wxPyEndAllowThreads(__tstate);
9607 if (PyErr_Occurred()) SWIG_fail;
9608 }
9609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9610 return resultobj;
9611 fail:
9612 return NULL;
9613 }
9614
9615
9616 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9617 PyObject *resultobj;
9618 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9619 PyObject * obj0 = 0 ;
9620 char *kwnames[] = {
9621 (char *) "self", NULL
9622 };
9623
9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9626 {
9627 PyThreadState* __tstate = wxPyBeginAllowThreads();
9628 delete arg1;
9629
9630 wxPyEndAllowThreads(__tstate);
9631 if (PyErr_Occurred()) SWIG_fail;
9632 }
9633 Py_INCREF(Py_None); resultobj = Py_None;
9634 return resultobj;
9635 fail:
9636 return NULL;
9637 }
9638
9639
9640 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9641 PyObject *resultobj;
9642 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9643 bool result;
9644 PyObject * obj0 = 0 ;
9645 char *kwnames[] = {
9646 (char *) "self", NULL
9647 };
9648
9649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9654
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 resultobj = PyInt_FromLong((long)result);
9659 return resultobj;
9660 fail:
9661 return NULL;
9662 }
9663
9664
9665 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9666 PyObject *resultobj;
9667 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9668 bool result;
9669 PyObject * obj0 = 0 ;
9670 char *kwnames[] = {
9671 (char *) "self", NULL
9672 };
9673
9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9676 {
9677 PyThreadState* __tstate = wxPyBeginAllowThreads();
9678 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9679
9680 wxPyEndAllowThreads(__tstate);
9681 if (PyErr_Occurred()) SWIG_fail;
9682 }
9683 resultobj = PyInt_FromLong((long)result);
9684 return resultobj;
9685 fail:
9686 return NULL;
9687 }
9688
9689
9690 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9691 PyObject *resultobj;
9692 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9693 wxIcon *arg2 = 0 ;
9694 wxString const &arg3_defvalue = wxPyEmptyString ;
9695 wxString *arg3 = (wxString *) &arg3_defvalue ;
9696 bool result;
9697 bool temp3 = False ;
9698 PyObject * obj0 = 0 ;
9699 PyObject * obj1 = 0 ;
9700 PyObject * obj2 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9708 if (arg2 == NULL) {
9709 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9710 }
9711 if (obj2) {
9712 {
9713 arg3 = wxString_in_helper(obj2);
9714 if (arg3 == NULL) SWIG_fail;
9715 temp3 = True;
9716 }
9717 }
9718 {
9719 PyThreadState* __tstate = wxPyBeginAllowThreads();
9720 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9721
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 resultobj = PyInt_FromLong((long)result);
9726 {
9727 if (temp3)
9728 delete arg3;
9729 }
9730 return resultobj;
9731 fail:
9732 {
9733 if (temp3)
9734 delete arg3;
9735 }
9736 return NULL;
9737 }
9738
9739
9740 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9741 PyObject *resultobj;
9742 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9743 bool result;
9744 PyObject * obj0 = 0 ;
9745 char *kwnames[] = {
9746 (char *) "self", NULL
9747 };
9748
9749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 result = (bool)(arg1)->RemoveIcon();
9754
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 resultobj = PyInt_FromLong((long)result);
9759 return resultobj;
9760 fail:
9761 return NULL;
9762 }
9763
9764
9765 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj;
9767 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9768 wxMenu *arg2 = (wxMenu *) 0 ;
9769 bool result;
9770 PyObject * obj0 = 0 ;
9771 PyObject * obj1 = 0 ;
9772 char *kwnames[] = {
9773 (char *) "self",(char *) "menu", NULL
9774 };
9775
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9779 {
9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
9781 result = (bool)(arg1)->PopupMenu(arg2);
9782
9783 wxPyEndAllowThreads(__tstate);
9784 if (PyErr_Occurred()) SWIG_fail;
9785 }
9786 resultobj = PyInt_FromLong((long)result);
9787 return resultobj;
9788 fail:
9789 return NULL;
9790 }
9791
9792
9793 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9794 PyObject *obj;
9795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9796 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9797 Py_INCREF(obj);
9798 return Py_BuildValue((char *)"");
9799 }
9800 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj;
9802 wxEventType arg1 ;
9803 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9804 wxTaskBarIconEvent *result;
9805 PyObject * obj1 = 0 ;
9806 char *kwnames[] = {
9807 (char *) "evtType",(char *) "tbIcon", NULL
9808 };
9809
9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9811 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
9814 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9815
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
9819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9820 return resultobj;
9821 fail:
9822 return NULL;
9823 }
9824
9825
9826 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9827 PyObject *obj;
9828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9829 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9830 Py_INCREF(obj);
9831 return Py_BuildValue((char *)"");
9832 }
9833 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
9834 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
9835 return 1;
9836 }
9837
9838
9839 static PyObject *_wrap_FileSelectorPromptStr_get() {
9840 PyObject *pyobj;
9841
9842 {
9843 #if wxUSE_UNICODE
9844 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9845 #else
9846 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9847 #endif
9848 }
9849 return pyobj;
9850 }
9851
9852
9853 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
9854 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
9855 return 1;
9856 }
9857
9858
9859 static PyObject *_wrap_DirSelectorPromptStr_get() {
9860 PyObject *pyobj;
9861
9862 {
9863 #if wxUSE_UNICODE
9864 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9865 #else
9866 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9867 #endif
9868 }
9869 return pyobj;
9870 }
9871
9872
9873 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
9874 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
9875 return 1;
9876 }
9877
9878
9879 static PyObject *_wrap_DirDialogNameStr_get() {
9880 PyObject *pyobj;
9881
9882 {
9883 #if wxUSE_UNICODE
9884 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9885 #else
9886 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9887 #endif
9888 }
9889 return pyobj;
9890 }
9891
9892
9893 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
9894 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
9895 return 1;
9896 }
9897
9898
9899 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
9900 PyObject *pyobj;
9901
9902 {
9903 #if wxUSE_UNICODE
9904 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9905 #else
9906 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9907 #endif
9908 }
9909 return pyobj;
9910 }
9911
9912
9913 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
9914 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
9915 return 1;
9916 }
9917
9918
9919 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
9920 PyObject *pyobj;
9921
9922 {
9923 #if wxUSE_UNICODE
9924 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9925 #else
9926 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9927 #endif
9928 }
9929 return pyobj;
9930 }
9931
9932
9933 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
9934 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
9935 return 1;
9936 }
9937
9938
9939 static PyObject *_wrap_MessageBoxCaptionStr_get() {
9940 PyObject *pyobj;
9941
9942 {
9943 #if wxUSE_UNICODE
9944 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9945 #else
9946 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9947 #endif
9948 }
9949 return pyobj;
9950 }
9951
9952
9953 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxColourData *result;
9956 char *kwnames[] = {
9957 NULL
9958 };
9959
9960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 result = (wxColourData *)new wxColourData();
9964
9965 wxPyEndAllowThreads(__tstate);
9966 if (PyErr_Occurred()) SWIG_fail;
9967 }
9968 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9969 return resultobj;
9970 fail:
9971 return NULL;
9972 }
9973
9974
9975 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9976 PyObject *resultobj;
9977 wxColourData *arg1 = (wxColourData *) 0 ;
9978 PyObject * obj0 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "self", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9985 {
9986 PyThreadState* __tstate = wxPyBeginAllowThreads();
9987 delete arg1;
9988
9989 wxPyEndAllowThreads(__tstate);
9990 if (PyErr_Occurred()) SWIG_fail;
9991 }
9992 Py_INCREF(Py_None); resultobj = Py_None;
9993 return resultobj;
9994 fail:
9995 return NULL;
9996 }
9997
9998
9999 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10000 PyObject *resultobj;
10001 wxColourData *arg1 = (wxColourData *) 0 ;
10002 bool result;
10003 PyObject * obj0 = 0 ;
10004 char *kwnames[] = {
10005 (char *) "self", NULL
10006 };
10007
10008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 result = (bool)(arg1)->GetChooseFull();
10013
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 resultobj = PyInt_FromLong((long)result);
10018 return resultobj;
10019 fail:
10020 return NULL;
10021 }
10022
10023
10024 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10025 PyObject *resultobj;
10026 wxColourData *arg1 = (wxColourData *) 0 ;
10027 wxColour result;
10028 PyObject * obj0 = 0 ;
10029 char *kwnames[] = {
10030 (char *) "self", NULL
10031 };
10032
10033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 result = (arg1)->GetColour();
10038
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 {
10043 wxColour * resultptr;
10044 resultptr = new wxColour((wxColour &) result);
10045 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10046 }
10047 return resultobj;
10048 fail:
10049 return NULL;
10050 }
10051
10052
10053 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj;
10055 wxColourData *arg1 = (wxColourData *) 0 ;
10056 int arg2 ;
10057 wxColour result;
10058 PyObject * obj0 = 0 ;
10059 char *kwnames[] = {
10060 (char *) "self",(char *) "i", NULL
10061 };
10062
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
10064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 result = (arg1)->GetCustomColour(arg2);
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 {
10073 wxColour * resultptr;
10074 resultptr = new wxColour((wxColour &) result);
10075 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10076 }
10077 return resultobj;
10078 fail:
10079 return NULL;
10080 }
10081
10082
10083 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxColourData *arg1 = (wxColourData *) 0 ;
10086 int arg2 ;
10087 PyObject * obj0 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self",(char *) "flag", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
10093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 (arg1)->SetChooseFull(arg2);
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 Py_INCREF(Py_None); resultobj = Py_None;
10102 return resultobj;
10103 fail:
10104 return NULL;
10105 }
10106
10107
10108 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10109 PyObject *resultobj;
10110 wxColourData *arg1 = (wxColourData *) 0 ;
10111 wxColour *arg2 = 0 ;
10112 wxColour temp2 ;
10113 PyObject * obj0 = 0 ;
10114 PyObject * obj1 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self",(char *) "colour", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10121 {
10122 arg2 = &temp2;
10123 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10124 }
10125 {
10126 PyThreadState* __tstate = wxPyBeginAllowThreads();
10127 (arg1)->SetColour((wxColour const &)*arg2);
10128
10129 wxPyEndAllowThreads(__tstate);
10130 if (PyErr_Occurred()) SWIG_fail;
10131 }
10132 Py_INCREF(Py_None); resultobj = Py_None;
10133 return resultobj;
10134 fail:
10135 return NULL;
10136 }
10137
10138
10139 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10140 PyObject *resultobj;
10141 wxColourData *arg1 = (wxColourData *) 0 ;
10142 int arg2 ;
10143 wxColour *arg3 = 0 ;
10144 wxColour temp3 ;
10145 PyObject * obj0 = 0 ;
10146 PyObject * obj2 = 0 ;
10147 char *kwnames[] = {
10148 (char *) "self",(char *) "i",(char *) "colour", NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
10152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10153 {
10154 arg3 = &temp3;
10155 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10156 }
10157 {
10158 PyThreadState* __tstate = wxPyBeginAllowThreads();
10159 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10160
10161 wxPyEndAllowThreads(__tstate);
10162 if (PyErr_Occurred()) SWIG_fail;
10163 }
10164 Py_INCREF(Py_None); resultobj = Py_None;
10165 return resultobj;
10166 fail:
10167 return NULL;
10168 }
10169
10170
10171 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10172 PyObject *obj;
10173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10174 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10175 Py_INCREF(obj);
10176 return Py_BuildValue((char *)"");
10177 }
10178 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10179 PyObject *resultobj;
10180 wxWindow *arg1 = (wxWindow *) 0 ;
10181 wxColourData *arg2 = (wxColourData *) NULL ;
10182 wxColourDialog *result;
10183 PyObject * obj0 = 0 ;
10184 PyObject * obj1 = 0 ;
10185 char *kwnames[] = {
10186 (char *) "parent",(char *) "data", NULL
10187 };
10188
10189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10191 if (obj1) {
10192 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10193 }
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10197
10198 wxPyEndAllowThreads(__tstate);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 }
10201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
10202 return resultobj;
10203 fail:
10204 return NULL;
10205 }
10206
10207
10208 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10209 PyObject *resultobj;
10210 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10211 wxColourData *result;
10212 PyObject * obj0 = 0 ;
10213 char *kwnames[] = {
10214 (char *) "self", NULL
10215 };
10216
10217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 {
10222 wxColourData &_result_ref = (arg1)->GetColourData();
10223 result = (wxColourData *) &_result_ref;
10224 }
10225
10226 wxPyEndAllowThreads(__tstate);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
10229 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
10230 return resultobj;
10231 fail:
10232 return NULL;
10233 }
10234
10235
10236 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10237 PyObject *resultobj;
10238 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10239 int result;
10240 PyObject * obj0 = 0 ;
10241 char *kwnames[] = {
10242 (char *) "self", NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
10246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10247 {
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
10249 result = (int)(arg1)->ShowModal();
10250
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
10254 resultobj = PyInt_FromLong((long)result);
10255 return resultobj;
10256 fail:
10257 return NULL;
10258 }
10259
10260
10261 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
10262 PyObject *obj;
10263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10264 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10265 Py_INCREF(obj);
10266 return Py_BuildValue((char *)"");
10267 }
10268 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10269 PyObject *resultobj;
10270 wxWindow *arg1 = (wxWindow *) 0 ;
10271 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10272 wxString *arg2 = (wxString *) &arg2_defvalue ;
10273 wxString const &arg3_defvalue = wxPyEmptyString ;
10274 wxString *arg3 = (wxString *) &arg3_defvalue ;
10275 long arg4 = (long) 0 ;
10276 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10277 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10278 wxSize const &arg6_defvalue = wxDefaultSize ;
10279 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10280 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10281 wxString *arg7 = (wxString *) &arg7_defvalue ;
10282 wxDirDialog *result;
10283 bool temp2 = False ;
10284 bool temp3 = False ;
10285 wxPoint temp5 ;
10286 wxSize temp6 ;
10287 bool temp7 = False ;
10288 PyObject * obj0 = 0 ;
10289 PyObject * obj1 = 0 ;
10290 PyObject * obj2 = 0 ;
10291 PyObject * obj4 = 0 ;
10292 PyObject * obj5 = 0 ;
10293 PyObject * obj6 = 0 ;
10294 char *kwnames[] = {
10295 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10296 };
10297
10298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
10299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10300 if (obj1) {
10301 {
10302 arg2 = wxString_in_helper(obj1);
10303 if (arg2 == NULL) SWIG_fail;
10304 temp2 = True;
10305 }
10306 }
10307 if (obj2) {
10308 {
10309 arg3 = wxString_in_helper(obj2);
10310 if (arg3 == NULL) SWIG_fail;
10311 temp3 = True;
10312 }
10313 }
10314 if (obj4) {
10315 {
10316 arg5 = &temp5;
10317 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10318 }
10319 }
10320 if (obj5) {
10321 {
10322 arg6 = &temp6;
10323 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10324 }
10325 }
10326 if (obj6) {
10327 {
10328 arg7 = wxString_in_helper(obj6);
10329 if (arg7 == NULL) SWIG_fail;
10330 temp7 = True;
10331 }
10332 }
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
10335 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10341 {
10342 if (temp2)
10343 delete arg2;
10344 }
10345 {
10346 if (temp3)
10347 delete arg3;
10348 }
10349 {
10350 if (temp7)
10351 delete arg7;
10352 }
10353 return resultobj;
10354 fail:
10355 {
10356 if (temp2)
10357 delete arg2;
10358 }
10359 {
10360 if (temp3)
10361 delete arg3;
10362 }
10363 {
10364 if (temp7)
10365 delete arg7;
10366 }
10367 return NULL;
10368 }
10369
10370
10371 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj;
10373 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10374 wxString result;
10375 PyObject * obj0 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10382 {
10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
10384 result = (arg1)->GetPath();
10385
10386 wxPyEndAllowThreads(__tstate);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 {
10390 #if wxUSE_UNICODE
10391 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10392 #else
10393 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10394 #endif
10395 }
10396 return resultobj;
10397 fail:
10398 return NULL;
10399 }
10400
10401
10402 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10403 PyObject *resultobj;
10404 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10405 wxString result;
10406 PyObject * obj0 = 0 ;
10407 char *kwnames[] = {
10408 (char *) "self", NULL
10409 };
10410
10411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10413 {
10414 PyThreadState* __tstate = wxPyBeginAllowThreads();
10415 result = (arg1)->GetMessage();
10416
10417 wxPyEndAllowThreads(__tstate);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 }
10420 {
10421 #if wxUSE_UNICODE
10422 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10423 #else
10424 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10425 #endif
10426 }
10427 return resultobj;
10428 fail:
10429 return NULL;
10430 }
10431
10432
10433 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10434 PyObject *resultobj;
10435 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10436 long result;
10437 PyObject * obj0 = 0 ;
10438 char *kwnames[] = {
10439 (char *) "self", NULL
10440 };
10441
10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 result = (long)(arg1)->GetStyle();
10447
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 resultobj = PyInt_FromLong((long)result);
10452 return resultobj;
10453 fail:
10454 return NULL;
10455 }
10456
10457
10458 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10461 wxString *arg2 = 0 ;
10462 bool temp2 = False ;
10463 PyObject * obj0 = 0 ;
10464 PyObject * obj1 = 0 ;
10465 char *kwnames[] = {
10466 (char *) "self",(char *) "message", NULL
10467 };
10468
10469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10471 {
10472 arg2 = wxString_in_helper(obj1);
10473 if (arg2 == NULL) SWIG_fail;
10474 temp2 = True;
10475 }
10476 {
10477 PyThreadState* __tstate = wxPyBeginAllowThreads();
10478 (arg1)->SetMessage((wxString const &)*arg2);
10479
10480 wxPyEndAllowThreads(__tstate);
10481 if (PyErr_Occurred()) SWIG_fail;
10482 }
10483 Py_INCREF(Py_None); resultobj = Py_None;
10484 {
10485 if (temp2)
10486 delete arg2;
10487 }
10488 return resultobj;
10489 fail:
10490 {
10491 if (temp2)
10492 delete arg2;
10493 }
10494 return NULL;
10495 }
10496
10497
10498 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10499 PyObject *resultobj;
10500 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10501 wxString *arg2 = 0 ;
10502 bool temp2 = False ;
10503 PyObject * obj0 = 0 ;
10504 PyObject * obj1 = 0 ;
10505 char *kwnames[] = {
10506 (char *) "self",(char *) "path", NULL
10507 };
10508
10509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10511 {
10512 arg2 = wxString_in_helper(obj1);
10513 if (arg2 == NULL) SWIG_fail;
10514 temp2 = True;
10515 }
10516 {
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 (arg1)->SetPath((wxString const &)*arg2);
10519
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 Py_INCREF(Py_None); resultobj = Py_None;
10524 {
10525 if (temp2)
10526 delete arg2;
10527 }
10528 return resultobj;
10529 fail:
10530 {
10531 if (temp2)
10532 delete arg2;
10533 }
10534 return NULL;
10535 }
10536
10537
10538 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10539 PyObject *resultobj;
10540 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10541 int result;
10542 PyObject * obj0 = 0 ;
10543 char *kwnames[] = {
10544 (char *) "self", NULL
10545 };
10546
10547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10549 {
10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
10551 result = (int)(arg1)->ShowModal();
10552
10553 wxPyEndAllowThreads(__tstate);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 resultobj = PyInt_FromLong((long)result);
10557 return resultobj;
10558 fail:
10559 return NULL;
10560 }
10561
10562
10563 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10564 PyObject *obj;
10565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10566 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10567 Py_INCREF(obj);
10568 return Py_BuildValue((char *)"");
10569 }
10570 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10571 PyObject *resultobj;
10572 wxWindow *arg1 = (wxWindow *) 0 ;
10573 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10574 wxString *arg2 = (wxString *) &arg2_defvalue ;
10575 wxString const &arg3_defvalue = wxPyEmptyString ;
10576 wxString *arg3 = (wxString *) &arg3_defvalue ;
10577 wxString const &arg4_defvalue = wxPyEmptyString ;
10578 wxString *arg4 = (wxString *) &arg4_defvalue ;
10579 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10580 wxString *arg5 = (wxString *) &arg5_defvalue ;
10581 long arg6 = (long) 0 ;
10582 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10583 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10584 wxFileDialog *result;
10585 bool temp2 = False ;
10586 bool temp3 = False ;
10587 bool temp4 = False ;
10588 bool temp5 = False ;
10589 wxPoint temp7 ;
10590 PyObject * obj0 = 0 ;
10591 PyObject * obj1 = 0 ;
10592 PyObject * obj2 = 0 ;
10593 PyObject * obj3 = 0 ;
10594 PyObject * obj4 = 0 ;
10595 PyObject * obj6 = 0 ;
10596 char *kwnames[] = {
10597 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10598 };
10599
10600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10602 if (obj1) {
10603 {
10604 arg2 = wxString_in_helper(obj1);
10605 if (arg2 == NULL) SWIG_fail;
10606 temp2 = True;
10607 }
10608 }
10609 if (obj2) {
10610 {
10611 arg3 = wxString_in_helper(obj2);
10612 if (arg3 == NULL) SWIG_fail;
10613 temp3 = True;
10614 }
10615 }
10616 if (obj3) {
10617 {
10618 arg4 = wxString_in_helper(obj3);
10619 if (arg4 == NULL) SWIG_fail;
10620 temp4 = True;
10621 }
10622 }
10623 if (obj4) {
10624 {
10625 arg5 = wxString_in_helper(obj4);
10626 if (arg5 == NULL) SWIG_fail;
10627 temp5 = True;
10628 }
10629 }
10630 if (obj6) {
10631 {
10632 arg7 = &temp7;
10633 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10634 }
10635 }
10636 {
10637 PyThreadState* __tstate = wxPyBeginAllowThreads();
10638 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10639
10640 wxPyEndAllowThreads(__tstate);
10641 if (PyErr_Occurred()) SWIG_fail;
10642 }
10643 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10644 {
10645 if (temp2)
10646 delete arg2;
10647 }
10648 {
10649 if (temp3)
10650 delete arg3;
10651 }
10652 {
10653 if (temp4)
10654 delete arg4;
10655 }
10656 {
10657 if (temp5)
10658 delete arg5;
10659 }
10660 return resultobj;
10661 fail:
10662 {
10663 if (temp2)
10664 delete arg2;
10665 }
10666 {
10667 if (temp3)
10668 delete arg3;
10669 }
10670 {
10671 if (temp4)
10672 delete arg4;
10673 }
10674 {
10675 if (temp5)
10676 delete arg5;
10677 }
10678 return NULL;
10679 }
10680
10681
10682 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10683 PyObject *resultobj;
10684 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10685 wxString *arg2 = 0 ;
10686 bool temp2 = False ;
10687 PyObject * obj0 = 0 ;
10688 PyObject * obj1 = 0 ;
10689 char *kwnames[] = {
10690 (char *) "self",(char *) "message", NULL
10691 };
10692
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10695 {
10696 arg2 = wxString_in_helper(obj1);
10697 if (arg2 == NULL) SWIG_fail;
10698 temp2 = True;
10699 }
10700 {
10701 PyThreadState* __tstate = wxPyBeginAllowThreads();
10702 (arg1)->SetMessage((wxString const &)*arg2);
10703
10704 wxPyEndAllowThreads(__tstate);
10705 if (PyErr_Occurred()) SWIG_fail;
10706 }
10707 Py_INCREF(Py_None); resultobj = Py_None;
10708 {
10709 if (temp2)
10710 delete arg2;
10711 }
10712 return resultobj;
10713 fail:
10714 {
10715 if (temp2)
10716 delete arg2;
10717 }
10718 return NULL;
10719 }
10720
10721
10722 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10723 PyObject *resultobj;
10724 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10725 wxString *arg2 = 0 ;
10726 bool temp2 = False ;
10727 PyObject * obj0 = 0 ;
10728 PyObject * obj1 = 0 ;
10729 char *kwnames[] = {
10730 (char *) "self",(char *) "path", NULL
10731 };
10732
10733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10735 {
10736 arg2 = wxString_in_helper(obj1);
10737 if (arg2 == NULL) SWIG_fail;
10738 temp2 = True;
10739 }
10740 {
10741 PyThreadState* __tstate = wxPyBeginAllowThreads();
10742 (arg1)->SetPath((wxString const &)*arg2);
10743
10744 wxPyEndAllowThreads(__tstate);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 Py_INCREF(Py_None); resultobj = Py_None;
10748 {
10749 if (temp2)
10750 delete arg2;
10751 }
10752 return resultobj;
10753 fail:
10754 {
10755 if (temp2)
10756 delete arg2;
10757 }
10758 return NULL;
10759 }
10760
10761
10762 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10763 PyObject *resultobj;
10764 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10765 wxString *arg2 = 0 ;
10766 bool temp2 = False ;
10767 PyObject * obj0 = 0 ;
10768 PyObject * obj1 = 0 ;
10769 char *kwnames[] = {
10770 (char *) "self",(char *) "dir", NULL
10771 };
10772
10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10775 {
10776 arg2 = wxString_in_helper(obj1);
10777 if (arg2 == NULL) SWIG_fail;
10778 temp2 = True;
10779 }
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 (arg1)->SetDirectory((wxString const &)*arg2);
10783
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 }
10787 Py_INCREF(Py_None); resultobj = Py_None;
10788 {
10789 if (temp2)
10790 delete arg2;
10791 }
10792 return resultobj;
10793 fail:
10794 {
10795 if (temp2)
10796 delete arg2;
10797 }
10798 return NULL;
10799 }
10800
10801
10802 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10803 PyObject *resultobj;
10804 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10805 wxString *arg2 = 0 ;
10806 bool temp2 = False ;
10807 PyObject * obj0 = 0 ;
10808 PyObject * obj1 = 0 ;
10809 char *kwnames[] = {
10810 (char *) "self",(char *) "name", NULL
10811 };
10812
10813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10815 {
10816 arg2 = wxString_in_helper(obj1);
10817 if (arg2 == NULL) SWIG_fail;
10818 temp2 = True;
10819 }
10820 {
10821 PyThreadState* __tstate = wxPyBeginAllowThreads();
10822 (arg1)->SetFilename((wxString const &)*arg2);
10823
10824 wxPyEndAllowThreads(__tstate);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 }
10827 Py_INCREF(Py_None); resultobj = Py_None;
10828 {
10829 if (temp2)
10830 delete arg2;
10831 }
10832 return resultobj;
10833 fail:
10834 {
10835 if (temp2)
10836 delete arg2;
10837 }
10838 return NULL;
10839 }
10840
10841
10842 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj;
10844 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10845 wxString *arg2 = 0 ;
10846 bool temp2 = False ;
10847 PyObject * obj0 = 0 ;
10848 PyObject * obj1 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "self",(char *) "wildCard", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10855 {
10856 arg2 = wxString_in_helper(obj1);
10857 if (arg2 == NULL) SWIG_fail;
10858 temp2 = True;
10859 }
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
10862 (arg1)->SetWildcard((wxString const &)*arg2);
10863
10864 wxPyEndAllowThreads(__tstate);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 Py_INCREF(Py_None); resultobj = Py_None;
10868 {
10869 if (temp2)
10870 delete arg2;
10871 }
10872 return resultobj;
10873 fail:
10874 {
10875 if (temp2)
10876 delete arg2;
10877 }
10878 return NULL;
10879 }
10880
10881
10882 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10883 PyObject *resultobj;
10884 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10885 long arg2 ;
10886 PyObject * obj0 = 0 ;
10887 char *kwnames[] = {
10888 (char *) "self",(char *) "style", NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10893 {
10894 PyThreadState* __tstate = wxPyBeginAllowThreads();
10895 (arg1)->SetStyle(arg2);
10896
10897 wxPyEndAllowThreads(__tstate);
10898 if (PyErr_Occurred()) SWIG_fail;
10899 }
10900 Py_INCREF(Py_None); resultobj = Py_None;
10901 return resultobj;
10902 fail:
10903 return NULL;
10904 }
10905
10906
10907 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10908 PyObject *resultobj;
10909 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10910 int arg2 ;
10911 PyObject * obj0 = 0 ;
10912 char *kwnames[] = {
10913 (char *) "self",(char *) "filterIndex", NULL
10914 };
10915
10916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10918 {
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
10920 (arg1)->SetFilterIndex(arg2);
10921
10922 wxPyEndAllowThreads(__tstate);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 }
10925 Py_INCREF(Py_None); resultobj = Py_None;
10926 return resultobj;
10927 fail:
10928 return NULL;
10929 }
10930
10931
10932 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10933 PyObject *resultobj;
10934 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10935 wxString result;
10936 PyObject * obj0 = 0 ;
10937 char *kwnames[] = {
10938 (char *) "self", NULL
10939 };
10940
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10943 {
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 result = ((wxFileDialog const *)arg1)->GetMessage();
10946
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 {
10951 #if wxUSE_UNICODE
10952 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10953 #else
10954 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10955 #endif
10956 }
10957 return resultobj;
10958 fail:
10959 return NULL;
10960 }
10961
10962
10963 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10964 PyObject *resultobj;
10965 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10966 wxString result;
10967 PyObject * obj0 = 0 ;
10968 char *kwnames[] = {
10969 (char *) "self", NULL
10970 };
10971
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10974 {
10975 PyThreadState* __tstate = wxPyBeginAllowThreads();
10976 result = ((wxFileDialog const *)arg1)->GetPath();
10977
10978 wxPyEndAllowThreads(__tstate);
10979 if (PyErr_Occurred()) SWIG_fail;
10980 }
10981 {
10982 #if wxUSE_UNICODE
10983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10984 #else
10985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10986 #endif
10987 }
10988 return resultobj;
10989 fail:
10990 return NULL;
10991 }
10992
10993
10994 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10995 PyObject *resultobj;
10996 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10997 wxString result;
10998 PyObject * obj0 = 0 ;
10999 char *kwnames[] = {
11000 (char *) "self", NULL
11001 };
11002
11003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11005 {
11006 PyThreadState* __tstate = wxPyBeginAllowThreads();
11007 result = ((wxFileDialog const *)arg1)->GetDirectory();
11008
11009 wxPyEndAllowThreads(__tstate);
11010 if (PyErr_Occurred()) SWIG_fail;
11011 }
11012 {
11013 #if wxUSE_UNICODE
11014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11015 #else
11016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11017 #endif
11018 }
11019 return resultobj;
11020 fail:
11021 return NULL;
11022 }
11023
11024
11025 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11026 PyObject *resultobj;
11027 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11028 wxString result;
11029 PyObject * obj0 = 0 ;
11030 char *kwnames[] = {
11031 (char *) "self", NULL
11032 };
11033
11034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 result = ((wxFileDialog const *)arg1)->GetFilename();
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 {
11044 #if wxUSE_UNICODE
11045 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11046 #else
11047 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11048 #endif
11049 }
11050 return resultobj;
11051 fail:
11052 return NULL;
11053 }
11054
11055
11056 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11057 PyObject *resultobj;
11058 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11059 wxString result;
11060 PyObject * obj0 = 0 ;
11061 char *kwnames[] = {
11062 (char *) "self", NULL
11063 };
11064
11065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11067 {
11068 PyThreadState* __tstate = wxPyBeginAllowThreads();
11069 result = ((wxFileDialog const *)arg1)->GetWildcard();
11070
11071 wxPyEndAllowThreads(__tstate);
11072 if (PyErr_Occurred()) SWIG_fail;
11073 }
11074 {
11075 #if wxUSE_UNICODE
11076 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11077 #else
11078 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11079 #endif
11080 }
11081 return resultobj;
11082 fail:
11083 return NULL;
11084 }
11085
11086
11087 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11088 PyObject *resultobj;
11089 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11090 long result;
11091 PyObject * obj0 = 0 ;
11092 char *kwnames[] = {
11093 (char *) "self", NULL
11094 };
11095
11096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11101
11102 wxPyEndAllowThreads(__tstate);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 }
11105 resultobj = PyInt_FromLong((long)result);
11106 return resultobj;
11107 fail:
11108 return NULL;
11109 }
11110
11111
11112 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11113 PyObject *resultobj;
11114 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11115 int result;
11116 PyObject * obj0 = 0 ;
11117 char *kwnames[] = {
11118 (char *) "self", NULL
11119 };
11120
11121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11123 {
11124 PyThreadState* __tstate = wxPyBeginAllowThreads();
11125 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11126
11127 wxPyEndAllowThreads(__tstate);
11128 if (PyErr_Occurred()) SWIG_fail;
11129 }
11130 resultobj = PyInt_FromLong((long)result);
11131 return resultobj;
11132 fail:
11133 return NULL;
11134 }
11135
11136
11137 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11138 PyObject *resultobj;
11139 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11140 PyObject *result;
11141 PyObject * obj0 = 0 ;
11142 char *kwnames[] = {
11143 (char *) "self", NULL
11144 };
11145
11146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11151
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 resultobj = result;
11156 return resultobj;
11157 fail:
11158 return NULL;
11159 }
11160
11161
11162 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11163 PyObject *resultobj;
11164 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11165 PyObject *result;
11166 PyObject * obj0 = 0 ;
11167 char *kwnames[] = {
11168 (char *) "self", NULL
11169 };
11170
11171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11176
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 resultobj = result;
11181 return resultobj;
11182 fail:
11183 return NULL;
11184 }
11185
11186
11187 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11188 PyObject *obj;
11189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11190 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11191 Py_INCREF(obj);
11192 return Py_BuildValue((char *)"");
11193 }
11194 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj;
11196 wxWindow *arg1 = (wxWindow *) 0 ;
11197 wxString *arg2 = 0 ;
11198 wxString *arg3 = 0 ;
11199 int arg4 ;
11200 wxString *arg5 = (wxString *) 0 ;
11201 long arg6 = (long) wxCHOICEDLG_STYLE ;
11202 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11203 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11204 wxMultiChoiceDialog *result;
11205 bool temp2 = False ;
11206 bool temp3 = False ;
11207 bool temp5 = False ;
11208 wxPoint temp7 ;
11209 PyObject * obj0 = 0 ;
11210 PyObject * obj1 = 0 ;
11211 PyObject * obj2 = 0 ;
11212 PyObject * obj4 = 0 ;
11213 PyObject * obj6 = 0 ;
11214 char *kwnames[] = {
11215 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
11216 };
11217
11218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
11219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11220 {
11221 arg2 = wxString_in_helper(obj1);
11222 if (arg2 == NULL) SWIG_fail;
11223 temp2 = True;
11224 }
11225 {
11226 arg3 = wxString_in_helper(obj2);
11227 if (arg3 == NULL) SWIG_fail;
11228 temp3 = True;
11229 }
11230 {
11231 arg5 = wxString_in_helper(obj4);
11232 if (arg5 == NULL) SWIG_fail;
11233 temp5 = True;
11234 }
11235 if (obj6) {
11236 {
11237 arg7 = &temp7;
11238 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11239 }
11240 }
11241 {
11242 PyThreadState* __tstate = wxPyBeginAllowThreads();
11243 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11244
11245 wxPyEndAllowThreads(__tstate);
11246 if (PyErr_Occurred()) SWIG_fail;
11247 }
11248 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
11249 {
11250 if (temp2)
11251 delete arg2;
11252 }
11253 {
11254 if (temp3)
11255 delete arg3;
11256 }
11257 {
11258 if (temp5)
11259 delete arg5;
11260 }
11261 return resultobj;
11262 fail:
11263 {
11264 if (temp2)
11265 delete arg2;
11266 }
11267 {
11268 if (temp3)
11269 delete arg3;
11270 }
11271 {
11272 if (temp5)
11273 delete arg5;
11274 }
11275 return NULL;
11276 }
11277
11278
11279 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11280 PyObject *resultobj;
11281 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11282 wxArrayInt *arg2 = 0 ;
11283 PyObject * obj0 = 0 ;
11284 PyObject * obj1 = 0 ;
11285 char *kwnames[] = {
11286 (char *) "self",(char *) "selections", NULL
11287 };
11288
11289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11291 {
11292 if (! PySequence_Check(obj1)) {
11293 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11294 SWIG_fail;
11295 }
11296 arg2 = new wxArrayInt;
11297 int i, len=PySequence_Length(obj1);
11298 for (i=0; i<len; i++) {
11299 PyObject* item = PySequence_GetItem(obj1, i);
11300 PyObject* number = PyNumber_Int(item);
11301 arg2->Add(PyInt_AS_LONG(number));
11302 Py_DECREF(item);
11303 Py_DECREF(number);
11304 }
11305 }
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11309
11310 wxPyEndAllowThreads(__tstate);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 }
11313 Py_INCREF(Py_None); resultobj = Py_None;
11314 {
11315 if (arg2) delete arg2;
11316 }
11317 return resultobj;
11318 fail:
11319 {
11320 if (arg2) delete arg2;
11321 }
11322 return NULL;
11323 }
11324
11325
11326 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj;
11328 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11329 PyObject *result;
11330 PyObject * obj0 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "self", NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
11339 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11340
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 resultobj = result;
11345 return resultobj;
11346 fail:
11347 return NULL;
11348 }
11349
11350
11351 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11352 PyObject *obj;
11353 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11354 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11355 Py_INCREF(obj);
11356 return Py_BuildValue((char *)"");
11357 }
11358 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11359 PyObject *resultobj;
11360 wxWindow *arg1 = (wxWindow *) 0 ;
11361 wxString *arg2 = 0 ;
11362 wxString *arg3 = 0 ;
11363 int arg4 ;
11364 wxString *arg5 = (wxString *) 0 ;
11365 long arg6 = (long) wxCHOICEDLG_STYLE ;
11366 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11367 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11368 wxSingleChoiceDialog *result;
11369 bool temp2 = False ;
11370 bool temp3 = False ;
11371 wxPoint temp6 ;
11372 PyObject * obj0 = 0 ;
11373 PyObject * obj1 = 0 ;
11374 PyObject * obj2 = 0 ;
11375 PyObject * obj3 = 0 ;
11376 PyObject * obj5 = 0 ;
11377 char *kwnames[] = {
11378 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11379 };
11380
11381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
11382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11383 {
11384 arg2 = wxString_in_helper(obj1);
11385 if (arg2 == NULL) SWIG_fail;
11386 temp2 = True;
11387 }
11388 {
11389 arg3 = wxString_in_helper(obj2);
11390 if (arg3 == NULL) SWIG_fail;
11391 temp3 = True;
11392 }
11393 {
11394 arg4 = PyList_Size(obj3);
11395 arg5 = wxString_LIST_helper(obj3);
11396 if (arg5 == NULL) SWIG_fail;
11397 }
11398 if (obj5) {
11399 {
11400 arg7 = &temp6;
11401 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11402 }
11403 }
11404 {
11405 PyThreadState* __tstate = wxPyBeginAllowThreads();
11406 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11407
11408 wxPyEndAllowThreads(__tstate);
11409 if (PyErr_Occurred()) SWIG_fail;
11410 }
11411 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11412 {
11413 if (temp2)
11414 delete arg2;
11415 }
11416 {
11417 if (temp3)
11418 delete arg3;
11419 }
11420 {
11421 if (arg5) delete [] arg5;
11422 }
11423 return resultobj;
11424 fail:
11425 {
11426 if (temp2)
11427 delete arg2;
11428 }
11429 {
11430 if (temp3)
11431 delete arg3;
11432 }
11433 {
11434 if (arg5) delete [] arg5;
11435 }
11436 return NULL;
11437 }
11438
11439
11440 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11441 PyObject *resultobj;
11442 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11443 int result;
11444 PyObject * obj0 = 0 ;
11445 char *kwnames[] = {
11446 (char *) "self", NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 result = (int)(arg1)->GetSelection();
11454
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
11458 resultobj = PyInt_FromLong((long)result);
11459 return resultobj;
11460 fail:
11461 return NULL;
11462 }
11463
11464
11465 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11466 PyObject *resultobj;
11467 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11468 wxString result;
11469 PyObject * obj0 = 0 ;
11470 char *kwnames[] = {
11471 (char *) "self", NULL
11472 };
11473
11474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11476 {
11477 PyThreadState* __tstate = wxPyBeginAllowThreads();
11478 result = (arg1)->GetStringSelection();
11479
11480 wxPyEndAllowThreads(__tstate);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 }
11483 {
11484 #if wxUSE_UNICODE
11485 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11486 #else
11487 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11488 #endif
11489 }
11490 return resultobj;
11491 fail:
11492 return NULL;
11493 }
11494
11495
11496 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11497 PyObject *resultobj;
11498 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11499 int arg2 ;
11500 PyObject * obj0 = 0 ;
11501 char *kwnames[] = {
11502 (char *) "self",(char *) "sel", NULL
11503 };
11504
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11507 {
11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
11509 (arg1)->SetSelection(arg2);
11510
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
11514 Py_INCREF(Py_None); resultobj = Py_None;
11515 return resultobj;
11516 fail:
11517 return NULL;
11518 }
11519
11520
11521 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11522 PyObject *resultobj;
11523 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11524 int result;
11525 PyObject * obj0 = 0 ;
11526 char *kwnames[] = {
11527 (char *) "self", NULL
11528 };
11529
11530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 result = (int)(arg1)->ShowModal();
11535
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 resultobj = PyInt_FromLong((long)result);
11540 return resultobj;
11541 fail:
11542 return NULL;
11543 }
11544
11545
11546 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11547 PyObject *obj;
11548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11549 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11550 Py_INCREF(obj);
11551 return Py_BuildValue((char *)"");
11552 }
11553 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11554 PyObject *resultobj;
11555 wxWindow *arg1 = (wxWindow *) 0 ;
11556 wxString *arg2 = 0 ;
11557 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11558 wxString *arg3 = (wxString *) &arg3_defvalue ;
11559 wxString const &arg4_defvalue = wxPyEmptyString ;
11560 wxString *arg4 = (wxString *) &arg4_defvalue ;
11561 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11562 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11563 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11564 wxTextEntryDialog *result;
11565 bool temp2 = False ;
11566 bool temp3 = False ;
11567 bool temp4 = False ;
11568 wxPoint temp6 ;
11569 PyObject * obj0 = 0 ;
11570 PyObject * obj1 = 0 ;
11571 PyObject * obj2 = 0 ;
11572 PyObject * obj3 = 0 ;
11573 PyObject * obj5 = 0 ;
11574 char *kwnames[] = {
11575 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11576 };
11577
11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11580 {
11581 arg2 = wxString_in_helper(obj1);
11582 if (arg2 == NULL) SWIG_fail;
11583 temp2 = True;
11584 }
11585 if (obj2) {
11586 {
11587 arg3 = wxString_in_helper(obj2);
11588 if (arg3 == NULL) SWIG_fail;
11589 temp3 = True;
11590 }
11591 }
11592 if (obj3) {
11593 {
11594 arg4 = wxString_in_helper(obj3);
11595 if (arg4 == NULL) SWIG_fail;
11596 temp4 = True;
11597 }
11598 }
11599 if (obj5) {
11600 {
11601 arg6 = &temp6;
11602 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11603 }
11604 }
11605 {
11606 PyThreadState* __tstate = wxPyBeginAllowThreads();
11607 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11608
11609 wxPyEndAllowThreads(__tstate);
11610 if (PyErr_Occurred()) SWIG_fail;
11611 }
11612 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11613 {
11614 if (temp2)
11615 delete arg2;
11616 }
11617 {
11618 if (temp3)
11619 delete arg3;
11620 }
11621 {
11622 if (temp4)
11623 delete arg4;
11624 }
11625 return resultobj;
11626 fail:
11627 {
11628 if (temp2)
11629 delete arg2;
11630 }
11631 {
11632 if (temp3)
11633 delete arg3;
11634 }
11635 {
11636 if (temp4)
11637 delete arg4;
11638 }
11639 return NULL;
11640 }
11641
11642
11643 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11644 PyObject *resultobj;
11645 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11646 wxString result;
11647 PyObject * obj0 = 0 ;
11648 char *kwnames[] = {
11649 (char *) "self", NULL
11650 };
11651
11652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11654 {
11655 PyThreadState* __tstate = wxPyBeginAllowThreads();
11656 result = (arg1)->GetValue();
11657
11658 wxPyEndAllowThreads(__tstate);
11659 if (PyErr_Occurred()) SWIG_fail;
11660 }
11661 {
11662 #if wxUSE_UNICODE
11663 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11664 #else
11665 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11666 #endif
11667 }
11668 return resultobj;
11669 fail:
11670 return NULL;
11671 }
11672
11673
11674 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11675 PyObject *resultobj;
11676 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11677 wxString *arg2 = 0 ;
11678 bool temp2 = False ;
11679 PyObject * obj0 = 0 ;
11680 PyObject * obj1 = 0 ;
11681 char *kwnames[] = {
11682 (char *) "self",(char *) "value", NULL
11683 };
11684
11685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11687 {
11688 arg2 = wxString_in_helper(obj1);
11689 if (arg2 == NULL) SWIG_fail;
11690 temp2 = True;
11691 }
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 (arg1)->SetValue((wxString const &)*arg2);
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
11699 Py_INCREF(Py_None); resultobj = Py_None;
11700 {
11701 if (temp2)
11702 delete arg2;
11703 }
11704 return resultobj;
11705 fail:
11706 {
11707 if (temp2)
11708 delete arg2;
11709 }
11710 return NULL;
11711 }
11712
11713
11714 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11715 PyObject *resultobj;
11716 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11717 int result;
11718 PyObject * obj0 = 0 ;
11719 char *kwnames[] = {
11720 (char *) "self", NULL
11721 };
11722
11723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11725 {
11726 PyThreadState* __tstate = wxPyBeginAllowThreads();
11727 result = (int)(arg1)->ShowModal();
11728
11729 wxPyEndAllowThreads(__tstate);
11730 if (PyErr_Occurred()) SWIG_fail;
11731 }
11732 resultobj = PyInt_FromLong((long)result);
11733 return resultobj;
11734 fail:
11735 return NULL;
11736 }
11737
11738
11739 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11740 PyObject *obj;
11741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11742 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11743 Py_INCREF(obj);
11744 return Py_BuildValue((char *)"");
11745 }
11746 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11747 PyObject *resultobj;
11748 wxFontData *result;
11749 char *kwnames[] = {
11750 NULL
11751 };
11752
11753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11754 {
11755 PyThreadState* __tstate = wxPyBeginAllowThreads();
11756 result = (wxFontData *)new wxFontData();
11757
11758 wxPyEndAllowThreads(__tstate);
11759 if (PyErr_Occurred()) SWIG_fail;
11760 }
11761 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11762 return resultobj;
11763 fail:
11764 return NULL;
11765 }
11766
11767
11768 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11769 PyObject *resultobj;
11770 wxFontData *arg1 = (wxFontData *) 0 ;
11771 PyObject * obj0 = 0 ;
11772 char *kwnames[] = {
11773 (char *) "self", NULL
11774 };
11775
11776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11778 {
11779 PyThreadState* __tstate = wxPyBeginAllowThreads();
11780 delete arg1;
11781
11782 wxPyEndAllowThreads(__tstate);
11783 if (PyErr_Occurred()) SWIG_fail;
11784 }
11785 Py_INCREF(Py_None); resultobj = Py_None;
11786 return resultobj;
11787 fail:
11788 return NULL;
11789 }
11790
11791
11792 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11793 PyObject *resultobj;
11794 wxFontData *arg1 = (wxFontData *) 0 ;
11795 bool arg2 ;
11796 PyObject * obj0 = 0 ;
11797 PyObject * obj1 = 0 ;
11798 char *kwnames[] = {
11799 (char *) "self",(char *) "enable", NULL
11800 };
11801
11802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11804 {
11805 arg2 = (bool) SPyObj_AsBool(obj1);
11806 if (PyErr_Occurred()) SWIG_fail;
11807 }
11808 {
11809 PyThreadState* __tstate = wxPyBeginAllowThreads();
11810 (arg1)->EnableEffects(arg2);
11811
11812 wxPyEndAllowThreads(__tstate);
11813 if (PyErr_Occurred()) SWIG_fail;
11814 }
11815 Py_INCREF(Py_None); resultobj = Py_None;
11816 return resultobj;
11817 fail:
11818 return NULL;
11819 }
11820
11821
11822 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11823 PyObject *resultobj;
11824 wxFontData *arg1 = (wxFontData *) 0 ;
11825 bool result;
11826 PyObject * obj0 = 0 ;
11827 char *kwnames[] = {
11828 (char *) "self", NULL
11829 };
11830
11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11833 {
11834 PyThreadState* __tstate = wxPyBeginAllowThreads();
11835 result = (bool)(arg1)->GetAllowSymbols();
11836
11837 wxPyEndAllowThreads(__tstate);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 }
11840 resultobj = PyInt_FromLong((long)result);
11841 return resultobj;
11842 fail:
11843 return NULL;
11844 }
11845
11846
11847 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11848 PyObject *resultobj;
11849 wxFontData *arg1 = (wxFontData *) 0 ;
11850 wxColour result;
11851 PyObject * obj0 = 0 ;
11852 char *kwnames[] = {
11853 (char *) "self", NULL
11854 };
11855
11856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11858 {
11859 PyThreadState* __tstate = wxPyBeginAllowThreads();
11860 result = (arg1)->GetColour();
11861
11862 wxPyEndAllowThreads(__tstate);
11863 if (PyErr_Occurred()) SWIG_fail;
11864 }
11865 {
11866 wxColour * resultptr;
11867 resultptr = new wxColour((wxColour &) result);
11868 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11869 }
11870 return resultobj;
11871 fail:
11872 return NULL;
11873 }
11874
11875
11876 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11877 PyObject *resultobj;
11878 wxFontData *arg1 = (wxFontData *) 0 ;
11879 wxFont result;
11880 PyObject * obj0 = 0 ;
11881 char *kwnames[] = {
11882 (char *) "self", NULL
11883 };
11884
11885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11887 {
11888 PyThreadState* __tstate = wxPyBeginAllowThreads();
11889 result = (arg1)->GetChosenFont();
11890
11891 wxPyEndAllowThreads(__tstate);
11892 if (PyErr_Occurred()) SWIG_fail;
11893 }
11894 {
11895 wxFont * resultptr;
11896 resultptr = new wxFont((wxFont &) result);
11897 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11898 }
11899 return resultobj;
11900 fail:
11901 return NULL;
11902 }
11903
11904
11905 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11906 PyObject *resultobj;
11907 wxFontData *arg1 = (wxFontData *) 0 ;
11908 bool result;
11909 PyObject * obj0 = 0 ;
11910 char *kwnames[] = {
11911 (char *) "self", NULL
11912 };
11913
11914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11916 {
11917 PyThreadState* __tstate = wxPyBeginAllowThreads();
11918 result = (bool)(arg1)->GetEnableEffects();
11919
11920 wxPyEndAllowThreads(__tstate);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 resultobj = PyInt_FromLong((long)result);
11924 return resultobj;
11925 fail:
11926 return NULL;
11927 }
11928
11929
11930 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11931 PyObject *resultobj;
11932 wxFontData *arg1 = (wxFontData *) 0 ;
11933 wxFont result;
11934 PyObject * obj0 = 0 ;
11935 char *kwnames[] = {
11936 (char *) "self", NULL
11937 };
11938
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11941 {
11942 PyThreadState* __tstate = wxPyBeginAllowThreads();
11943 result = (arg1)->GetInitialFont();
11944
11945 wxPyEndAllowThreads(__tstate);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 }
11948 {
11949 wxFont * resultptr;
11950 resultptr = new wxFont((wxFont &) result);
11951 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11952 }
11953 return resultobj;
11954 fail:
11955 return NULL;
11956 }
11957
11958
11959 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11960 PyObject *resultobj;
11961 wxFontData *arg1 = (wxFontData *) 0 ;
11962 bool result;
11963 PyObject * obj0 = 0 ;
11964 char *kwnames[] = {
11965 (char *) "self", NULL
11966 };
11967
11968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11970 {
11971 PyThreadState* __tstate = wxPyBeginAllowThreads();
11972 result = (bool)(arg1)->GetShowHelp();
11973
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 resultobj = PyInt_FromLong((long)result);
11978 return resultobj;
11979 fail:
11980 return NULL;
11981 }
11982
11983
11984 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11985 PyObject *resultobj;
11986 wxFontData *arg1 = (wxFontData *) 0 ;
11987 bool arg2 ;
11988 PyObject * obj0 = 0 ;
11989 PyObject * obj1 = 0 ;
11990 char *kwnames[] = {
11991 (char *) "self",(char *) "allowSymbols", NULL
11992 };
11993
11994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11996 {
11997 arg2 = (bool) SPyObj_AsBool(obj1);
11998 if (PyErr_Occurred()) SWIG_fail;
11999 }
12000 {
12001 PyThreadState* __tstate = wxPyBeginAllowThreads();
12002 (arg1)->SetAllowSymbols(arg2);
12003
12004 wxPyEndAllowThreads(__tstate);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 }
12007 Py_INCREF(Py_None); resultobj = Py_None;
12008 return resultobj;
12009 fail:
12010 return NULL;
12011 }
12012
12013
12014 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12015 PyObject *resultobj;
12016 wxFontData *arg1 = (wxFontData *) 0 ;
12017 wxFont *arg2 = 0 ;
12018 PyObject * obj0 = 0 ;
12019 PyObject * obj1 = 0 ;
12020 char *kwnames[] = {
12021 (char *) "self",(char *) "font", NULL
12022 };
12023
12024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12026 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12027 if (arg2 == NULL) {
12028 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12029 }
12030 {
12031 PyThreadState* __tstate = wxPyBeginAllowThreads();
12032 (arg1)->SetChosenFont((wxFont const &)*arg2);
12033
12034 wxPyEndAllowThreads(__tstate);
12035 if (PyErr_Occurred()) SWIG_fail;
12036 }
12037 Py_INCREF(Py_None); resultobj = Py_None;
12038 return resultobj;
12039 fail:
12040 return NULL;
12041 }
12042
12043
12044 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12045 PyObject *resultobj;
12046 wxFontData *arg1 = (wxFontData *) 0 ;
12047 wxColour *arg2 = 0 ;
12048 wxColour temp2 ;
12049 PyObject * obj0 = 0 ;
12050 PyObject * obj1 = 0 ;
12051 char *kwnames[] = {
12052 (char *) "self",(char *) "colour", NULL
12053 };
12054
12055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12057 {
12058 arg2 = &temp2;
12059 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12060 }
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 (arg1)->SetColour((wxColour const &)*arg2);
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 Py_INCREF(Py_None); resultobj = Py_None;
12069 return resultobj;
12070 fail:
12071 return NULL;
12072 }
12073
12074
12075 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12076 PyObject *resultobj;
12077 wxFontData *arg1 = (wxFontData *) 0 ;
12078 wxFont *arg2 = 0 ;
12079 PyObject * obj0 = 0 ;
12080 PyObject * obj1 = 0 ;
12081 char *kwnames[] = {
12082 (char *) "self",(char *) "font", NULL
12083 };
12084
12085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12088 if (arg2 == NULL) {
12089 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12090 }
12091 {
12092 PyThreadState* __tstate = wxPyBeginAllowThreads();
12093 (arg1)->SetInitialFont((wxFont const &)*arg2);
12094
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 Py_INCREF(Py_None); resultobj = Py_None;
12099 return resultobj;
12100 fail:
12101 return NULL;
12102 }
12103
12104
12105 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12106 PyObject *resultobj;
12107 wxFontData *arg1 = (wxFontData *) 0 ;
12108 int arg2 ;
12109 int arg3 ;
12110 PyObject * obj0 = 0 ;
12111 char *kwnames[] = {
12112 (char *) "self",(char *) "min",(char *) "max", NULL
12113 };
12114
12115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
12116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 (arg1)->SetRange(arg2,arg3);
12120
12121 wxPyEndAllowThreads(__tstate);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 }
12124 Py_INCREF(Py_None); resultobj = Py_None;
12125 return resultobj;
12126 fail:
12127 return NULL;
12128 }
12129
12130
12131 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12132 PyObject *resultobj;
12133 wxFontData *arg1 = (wxFontData *) 0 ;
12134 bool arg2 ;
12135 PyObject * obj0 = 0 ;
12136 PyObject * obj1 = 0 ;
12137 char *kwnames[] = {
12138 (char *) "self",(char *) "showHelp", NULL
12139 };
12140
12141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12143 {
12144 arg2 = (bool) SPyObj_AsBool(obj1);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
12147 {
12148 PyThreadState* __tstate = wxPyBeginAllowThreads();
12149 (arg1)->SetShowHelp(arg2);
12150
12151 wxPyEndAllowThreads(__tstate);
12152 if (PyErr_Occurred()) SWIG_fail;
12153 }
12154 Py_INCREF(Py_None); resultobj = Py_None;
12155 return resultobj;
12156 fail:
12157 return NULL;
12158 }
12159
12160
12161 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
12162 PyObject *obj;
12163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12164 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12165 Py_INCREF(obj);
12166 return Py_BuildValue((char *)"");
12167 }
12168 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12169 PyObject *resultobj;
12170 wxWindow *arg1 = (wxWindow *) 0 ;
12171 wxFontData *arg2 = 0 ;
12172 wxFontDialog *result;
12173 PyObject * obj0 = 0 ;
12174 PyObject * obj1 = 0 ;
12175 char *kwnames[] = {
12176 (char *) "parent",(char *) "data", NULL
12177 };
12178
12179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12181 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12182 if (arg2 == NULL) {
12183 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12184 }
12185 {
12186 PyThreadState* __tstate = wxPyBeginAllowThreads();
12187 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12188
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
12193 return resultobj;
12194 fail:
12195 return NULL;
12196 }
12197
12198
12199 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12200 PyObject *resultobj;
12201 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12202 wxFontData *result;
12203 PyObject * obj0 = 0 ;
12204 char *kwnames[] = {
12205 (char *) "self", NULL
12206 };
12207
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 {
12213 wxFontData &_result_ref = (arg1)->GetFontData();
12214 result = (wxFontData *) &_result_ref;
12215 }
12216
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
12220 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
12221 return resultobj;
12222 fail:
12223 return NULL;
12224 }
12225
12226
12227 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12228 PyObject *resultobj;
12229 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12230 int result;
12231 PyObject * obj0 = 0 ;
12232 char *kwnames[] = {
12233 (char *) "self", NULL
12234 };
12235
12236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
12237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12238 {
12239 PyThreadState* __tstate = wxPyBeginAllowThreads();
12240 result = (int)(arg1)->ShowModal();
12241
12242 wxPyEndAllowThreads(__tstate);
12243 if (PyErr_Occurred()) SWIG_fail;
12244 }
12245 resultobj = PyInt_FromLong((long)result);
12246 return resultobj;
12247 fail:
12248 return NULL;
12249 }
12250
12251
12252 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
12253 PyObject *obj;
12254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12255 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12256 Py_INCREF(obj);
12257 return Py_BuildValue((char *)"");
12258 }
12259 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12260 PyObject *resultobj;
12261 wxWindow *arg1 = (wxWindow *) 0 ;
12262 wxString *arg2 = 0 ;
12263 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12264 wxString *arg3 = (wxString *) &arg3_defvalue ;
12265 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12266 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12267 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12268 wxMessageDialog *result;
12269 bool temp2 = False ;
12270 bool temp3 = False ;
12271 wxPoint temp5 ;
12272 PyObject * obj0 = 0 ;
12273 PyObject * obj1 = 0 ;
12274 PyObject * obj2 = 0 ;
12275 PyObject * obj4 = 0 ;
12276 char *kwnames[] = {
12277 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12278 };
12279
12280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
12281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12282 {
12283 arg2 = wxString_in_helper(obj1);
12284 if (arg2 == NULL) SWIG_fail;
12285 temp2 = True;
12286 }
12287 if (obj2) {
12288 {
12289 arg3 = wxString_in_helper(obj2);
12290 if (arg3 == NULL) SWIG_fail;
12291 temp3 = True;
12292 }
12293 }
12294 if (obj4) {
12295 {
12296 arg5 = &temp5;
12297 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12298 }
12299 }
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12303
12304 wxPyEndAllowThreads(__tstate);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 }
12307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12308 {
12309 if (temp2)
12310 delete arg2;
12311 }
12312 {
12313 if (temp3)
12314 delete arg3;
12315 }
12316 return resultobj;
12317 fail:
12318 {
12319 if (temp2)
12320 delete arg2;
12321 }
12322 {
12323 if (temp3)
12324 delete arg3;
12325 }
12326 return NULL;
12327 }
12328
12329
12330 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12331 PyObject *resultobj;
12332 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12333 int result;
12334 PyObject * obj0 = 0 ;
12335 char *kwnames[] = {
12336 (char *) "self", NULL
12337 };
12338
12339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12341 {
12342 PyThreadState* __tstate = wxPyBeginAllowThreads();
12343 result = (int)(arg1)->ShowModal();
12344
12345 wxPyEndAllowThreads(__tstate);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 }
12348 resultobj = PyInt_FromLong((long)result);
12349 return resultobj;
12350 fail:
12351 return NULL;
12352 }
12353
12354
12355 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12356 PyObject *obj;
12357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12358 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12359 Py_INCREF(obj);
12360 return Py_BuildValue((char *)"");
12361 }
12362 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12363 PyObject *resultobj;
12364 wxString *arg1 = 0 ;
12365 wxString *arg2 = 0 ;
12366 int arg3 = (int) 100 ;
12367 wxWindow *arg4 = (wxWindow *) NULL ;
12368 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12369 wxProgressDialog *result;
12370 bool temp1 = False ;
12371 bool temp2 = False ;
12372 PyObject * obj0 = 0 ;
12373 PyObject * obj1 = 0 ;
12374 PyObject * obj3 = 0 ;
12375 char *kwnames[] = {
12376 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12377 };
12378
12379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
12380 {
12381 arg1 = wxString_in_helper(obj0);
12382 if (arg1 == NULL) SWIG_fail;
12383 temp1 = True;
12384 }
12385 {
12386 arg2 = wxString_in_helper(obj1);
12387 if (arg2 == NULL) SWIG_fail;
12388 temp2 = True;
12389 }
12390 if (obj3) {
12391 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12392 }
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12396
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12401 {
12402 if (temp1)
12403 delete arg1;
12404 }
12405 {
12406 if (temp2)
12407 delete arg2;
12408 }
12409 return resultobj;
12410 fail:
12411 {
12412 if (temp1)
12413 delete arg1;
12414 }
12415 {
12416 if (temp2)
12417 delete arg2;
12418 }
12419 return NULL;
12420 }
12421
12422
12423 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12424 PyObject *resultobj;
12425 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12426 int arg2 ;
12427 wxString const &arg3_defvalue = wxPyEmptyString ;
12428 wxString *arg3 = (wxString *) &arg3_defvalue ;
12429 bool result;
12430 bool temp3 = False ;
12431 PyObject * obj0 = 0 ;
12432 PyObject * obj2 = 0 ;
12433 char *kwnames[] = {
12434 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12435 };
12436
12437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
12438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12439 if (obj2) {
12440 {
12441 arg3 = wxString_in_helper(obj2);
12442 if (arg3 == NULL) SWIG_fail;
12443 temp3 = True;
12444 }
12445 }
12446 {
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
12448 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12449
12450 wxPyEndAllowThreads(__tstate);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 }
12453 resultobj = PyInt_FromLong((long)result);
12454 {
12455 if (temp3)
12456 delete arg3;
12457 }
12458 return resultobj;
12459 fail:
12460 {
12461 if (temp3)
12462 delete arg3;
12463 }
12464 return NULL;
12465 }
12466
12467
12468 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj;
12470 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12471 PyObject * obj0 = 0 ;
12472 char *kwnames[] = {
12473 (char *) "self", NULL
12474 };
12475
12476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12478 {
12479 PyThreadState* __tstate = wxPyBeginAllowThreads();
12480 (arg1)->Resume();
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 * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12493 PyObject *obj;
12494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12495 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12496 Py_INCREF(obj);
12497 return Py_BuildValue((char *)"");
12498 }
12499 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12500 PyObject *resultobj;
12501 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12502 int arg2 = (int) 0 ;
12503 wxFindDialogEvent *result;
12504 char *kwnames[] = {
12505 (char *) "commandType",(char *) "id", NULL
12506 };
12507
12508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12509 {
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12512
12513 wxPyEndAllowThreads(__tstate);
12514 if (PyErr_Occurred()) SWIG_fail;
12515 }
12516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12517 return resultobj;
12518 fail:
12519 return NULL;
12520 }
12521
12522
12523 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12526 int result;
12527 PyObject * obj0 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "self", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 result = (int)(arg1)->GetFlags();
12537
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 resultobj = PyInt_FromLong((long)result);
12542 return resultobj;
12543 fail:
12544 return NULL;
12545 }
12546
12547
12548 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12549 PyObject *resultobj;
12550 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12551 wxString *result;
12552 PyObject * obj0 = 0 ;
12553 char *kwnames[] = {
12554 (char *) "self", NULL
12555 };
12556
12557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12559 {
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 {
12562 wxString const &_result_ref = (arg1)->GetFindString();
12563 result = (wxString *) &_result_ref;
12564 }
12565
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 {
12570 #if wxUSE_UNICODE
12571 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12572 #else
12573 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12574 #endif
12575 }
12576 return resultobj;
12577 fail:
12578 return NULL;
12579 }
12580
12581
12582 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12583 PyObject *resultobj;
12584 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12585 wxString *result;
12586 PyObject * obj0 = 0 ;
12587 char *kwnames[] = {
12588 (char *) "self", NULL
12589 };
12590
12591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12593 {
12594 PyThreadState* __tstate = wxPyBeginAllowThreads();
12595 {
12596 wxString const &_result_ref = (arg1)->GetReplaceString();
12597 result = (wxString *) &_result_ref;
12598 }
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 {
12604 #if wxUSE_UNICODE
12605 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12606 #else
12607 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12608 #endif
12609 }
12610 return resultobj;
12611 fail:
12612 return NULL;
12613 }
12614
12615
12616 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12617 PyObject *resultobj;
12618 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12619 wxFindReplaceDialog *result;
12620 PyObject * obj0 = 0 ;
12621 char *kwnames[] = {
12622 (char *) "self", NULL
12623 };
12624
12625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12627 {
12628 PyThreadState* __tstate = wxPyBeginAllowThreads();
12629 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12630
12631 wxPyEndAllowThreads(__tstate);
12632 if (PyErr_Occurred()) SWIG_fail;
12633 }
12634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12635 return resultobj;
12636 fail:
12637 return NULL;
12638 }
12639
12640
12641 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12642 PyObject *resultobj;
12643 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12644 int arg2 ;
12645 PyObject * obj0 = 0 ;
12646 char *kwnames[] = {
12647 (char *) "self",(char *) "flags", NULL
12648 };
12649
12650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12652 {
12653 PyThreadState* __tstate = wxPyBeginAllowThreads();
12654 (arg1)->SetFlags(arg2);
12655
12656 wxPyEndAllowThreads(__tstate);
12657 if (PyErr_Occurred()) SWIG_fail;
12658 }
12659 Py_INCREF(Py_None); resultobj = Py_None;
12660 return resultobj;
12661 fail:
12662 return NULL;
12663 }
12664
12665
12666 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12667 PyObject *resultobj;
12668 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12669 wxString *arg2 = 0 ;
12670 bool temp2 = False ;
12671 PyObject * obj0 = 0 ;
12672 PyObject * obj1 = 0 ;
12673 char *kwnames[] = {
12674 (char *) "self",(char *) "str", NULL
12675 };
12676
12677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12679 {
12680 arg2 = wxString_in_helper(obj1);
12681 if (arg2 == NULL) SWIG_fail;
12682 temp2 = True;
12683 }
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 (arg1)->SetFindString((wxString const &)*arg2);
12687
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
12691 Py_INCREF(Py_None); resultobj = Py_None;
12692 {
12693 if (temp2)
12694 delete arg2;
12695 }
12696 return resultobj;
12697 fail:
12698 {
12699 if (temp2)
12700 delete arg2;
12701 }
12702 return NULL;
12703 }
12704
12705
12706 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12707 PyObject *resultobj;
12708 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12709 wxString *arg2 = 0 ;
12710 bool temp2 = False ;
12711 PyObject * obj0 = 0 ;
12712 PyObject * obj1 = 0 ;
12713 char *kwnames[] = {
12714 (char *) "self",(char *) "str", NULL
12715 };
12716
12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12719 {
12720 arg2 = wxString_in_helper(obj1);
12721 if (arg2 == NULL) SWIG_fail;
12722 temp2 = True;
12723 }
12724 {
12725 PyThreadState* __tstate = wxPyBeginAllowThreads();
12726 (arg1)->SetReplaceString((wxString const &)*arg2);
12727
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 Py_INCREF(Py_None); resultobj = Py_None;
12732 {
12733 if (temp2)
12734 delete arg2;
12735 }
12736 return resultobj;
12737 fail:
12738 {
12739 if (temp2)
12740 delete arg2;
12741 }
12742 return NULL;
12743 }
12744
12745
12746 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12747 PyObject *obj;
12748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12749 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12750 Py_INCREF(obj);
12751 return Py_BuildValue((char *)"");
12752 }
12753 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12754 PyObject *resultobj;
12755 int arg1 = (int) 0 ;
12756 wxFindReplaceData *result;
12757 char *kwnames[] = {
12758 (char *) "flags", NULL
12759 };
12760
12761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12762 {
12763 PyThreadState* __tstate = wxPyBeginAllowThreads();
12764 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12765
12766 wxPyEndAllowThreads(__tstate);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
12769 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12770 return resultobj;
12771 fail:
12772 return NULL;
12773 }
12774
12775
12776 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12777 PyObject *resultobj;
12778 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12779 PyObject * obj0 = 0 ;
12780 char *kwnames[] = {
12781 (char *) "self", NULL
12782 };
12783
12784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 delete arg1;
12789
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 Py_INCREF(Py_None); resultobj = Py_None;
12794 return resultobj;
12795 fail:
12796 return NULL;
12797 }
12798
12799
12800 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12801 PyObject *resultobj;
12802 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12803 wxString *result;
12804 PyObject * obj0 = 0 ;
12805 char *kwnames[] = {
12806 (char *) "self", NULL
12807 };
12808
12809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12811 {
12812 PyThreadState* __tstate = wxPyBeginAllowThreads();
12813 {
12814 wxString const &_result_ref = (arg1)->GetFindString();
12815 result = (wxString *) &_result_ref;
12816 }
12817
12818 wxPyEndAllowThreads(__tstate);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 {
12822 #if wxUSE_UNICODE
12823 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12824 #else
12825 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12826 #endif
12827 }
12828 return resultobj;
12829 fail:
12830 return NULL;
12831 }
12832
12833
12834 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12835 PyObject *resultobj;
12836 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12837 wxString *result;
12838 PyObject * obj0 = 0 ;
12839 char *kwnames[] = {
12840 (char *) "self", NULL
12841 };
12842
12843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 {
12848 wxString const &_result_ref = (arg1)->GetReplaceString();
12849 result = (wxString *) &_result_ref;
12850 }
12851
12852 wxPyEndAllowThreads(__tstate);
12853 if (PyErr_Occurred()) SWIG_fail;
12854 }
12855 {
12856 #if wxUSE_UNICODE
12857 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12858 #else
12859 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12860 #endif
12861 }
12862 return resultobj;
12863 fail:
12864 return NULL;
12865 }
12866
12867
12868 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj;
12870 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12871 int result;
12872 PyObject * obj0 = 0 ;
12873 char *kwnames[] = {
12874 (char *) "self", NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12879 {
12880 PyThreadState* __tstate = wxPyBeginAllowThreads();
12881 result = (int)(arg1)->GetFlags();
12882
12883 wxPyEndAllowThreads(__tstate);
12884 if (PyErr_Occurred()) SWIG_fail;
12885 }
12886 resultobj = PyInt_FromLong((long)result);
12887 return resultobj;
12888 fail:
12889 return NULL;
12890 }
12891
12892
12893 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12894 PyObject *resultobj;
12895 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12896 int arg2 ;
12897 PyObject * obj0 = 0 ;
12898 char *kwnames[] = {
12899 (char *) "self",(char *) "flags", NULL
12900 };
12901
12902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 (arg1)->SetFlags(arg2);
12907
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 Py_INCREF(Py_None); resultobj = Py_None;
12912 return resultobj;
12913 fail:
12914 return NULL;
12915 }
12916
12917
12918 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12919 PyObject *resultobj;
12920 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12921 wxString *arg2 = 0 ;
12922 bool temp2 = False ;
12923 PyObject * obj0 = 0 ;
12924 PyObject * obj1 = 0 ;
12925 char *kwnames[] = {
12926 (char *) "self",(char *) "str", NULL
12927 };
12928
12929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12931 {
12932 arg2 = wxString_in_helper(obj1);
12933 if (arg2 == NULL) SWIG_fail;
12934 temp2 = True;
12935 }
12936 {
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 (arg1)->SetFindString((wxString const &)*arg2);
12939
12940 wxPyEndAllowThreads(__tstate);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 }
12943 Py_INCREF(Py_None); resultobj = Py_None;
12944 {
12945 if (temp2)
12946 delete arg2;
12947 }
12948 return resultobj;
12949 fail:
12950 {
12951 if (temp2)
12952 delete arg2;
12953 }
12954 return NULL;
12955 }
12956
12957
12958 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj;
12960 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12961 wxString *arg2 = 0 ;
12962 bool temp2 = False ;
12963 PyObject * obj0 = 0 ;
12964 PyObject * obj1 = 0 ;
12965 char *kwnames[] = {
12966 (char *) "self",(char *) "str", NULL
12967 };
12968
12969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12971 {
12972 arg2 = wxString_in_helper(obj1);
12973 if (arg2 == NULL) SWIG_fail;
12974 temp2 = True;
12975 }
12976 {
12977 PyThreadState* __tstate = wxPyBeginAllowThreads();
12978 (arg1)->SetReplaceString((wxString const &)*arg2);
12979
12980 wxPyEndAllowThreads(__tstate);
12981 if (PyErr_Occurred()) SWIG_fail;
12982 }
12983 Py_INCREF(Py_None); resultobj = Py_None;
12984 {
12985 if (temp2)
12986 delete arg2;
12987 }
12988 return resultobj;
12989 fail:
12990 {
12991 if (temp2)
12992 delete arg2;
12993 }
12994 return NULL;
12995 }
12996
12997
12998 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12999 PyObject *obj;
13000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13001 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13002 Py_INCREF(obj);
13003 return Py_BuildValue((char *)"");
13004 }
13005 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13006 PyObject *resultobj;
13007 wxWindow *arg1 = (wxWindow *) 0 ;
13008 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13009 wxString *arg3 = 0 ;
13010 int arg4 = (int) 0 ;
13011 wxFindReplaceDialog *result;
13012 bool temp3 = False ;
13013 PyObject * obj0 = 0 ;
13014 PyObject * obj1 = 0 ;
13015 PyObject * obj2 = 0 ;
13016 char *kwnames[] = {
13017 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13018 };
13019
13020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
13021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13022 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13023 {
13024 arg3 = wxString_in_helper(obj2);
13025 if (arg3 == NULL) SWIG_fail;
13026 temp3 = True;
13027 }
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13036 {
13037 if (temp3)
13038 delete arg3;
13039 }
13040 return resultobj;
13041 fail:
13042 {
13043 if (temp3)
13044 delete arg3;
13045 }
13046 return NULL;
13047 }
13048
13049
13050 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13051 PyObject *resultobj;
13052 wxFindReplaceDialog *result;
13053 char *kwnames[] = {
13054 NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13058 {
13059 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13061
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13066 return resultobj;
13067 fail:
13068 return NULL;
13069 }
13070
13071
13072 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13073 PyObject *resultobj;
13074 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13075 wxWindow *arg2 = (wxWindow *) 0 ;
13076 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13077 wxString *arg4 = 0 ;
13078 int arg5 = (int) 0 ;
13079 bool result;
13080 bool temp4 = False ;
13081 PyObject * obj0 = 0 ;
13082 PyObject * obj1 = 0 ;
13083 PyObject * obj2 = 0 ;
13084 PyObject * obj3 = 0 ;
13085 char *kwnames[] = {
13086 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13087 };
13088
13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
13090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13092 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13093 {
13094 arg4 = wxString_in_helper(obj3);
13095 if (arg4 == NULL) SWIG_fail;
13096 temp4 = True;
13097 }
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13101
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 resultobj = PyInt_FromLong((long)result);
13106 {
13107 if (temp4)
13108 delete arg4;
13109 }
13110 return resultobj;
13111 fail:
13112 {
13113 if (temp4)
13114 delete arg4;
13115 }
13116 return NULL;
13117 }
13118
13119
13120 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13121 PyObject *resultobj;
13122 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13123 wxFindReplaceData *result;
13124 PyObject * obj0 = 0 ;
13125 char *kwnames[] = {
13126 (char *) "self", NULL
13127 };
13128
13129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13131 {
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 result = (wxFindReplaceData *)(arg1)->GetData();
13134
13135 wxPyEndAllowThreads(__tstate);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 }
13138 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
13139 return resultobj;
13140 fail:
13141 return NULL;
13142 }
13143
13144
13145 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13146 PyObject *resultobj;
13147 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13148 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13149 PyObject * obj0 = 0 ;
13150 PyObject * obj1 = 0 ;
13151 char *kwnames[] = {
13152 (char *) "self",(char *) "data", NULL
13153 };
13154
13155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13157 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13158 {
13159 PyThreadState* __tstate = wxPyBeginAllowThreads();
13160 (arg1)->SetData(arg2);
13161
13162 wxPyEndAllowThreads(__tstate);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 }
13165 Py_INCREF(Py_None); resultobj = Py_None;
13166 return resultobj;
13167 fail:
13168 return NULL;
13169 }
13170
13171
13172 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
13173 PyObject *obj;
13174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13175 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
13176 Py_INCREF(obj);
13177 return Py_BuildValue((char *)"");
13178 }
13179 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13180 PyObject *resultobj;
13181 wxWindow *arg1 = (wxWindow *) 0 ;
13182 int arg2 ;
13183 wxString *arg3 = 0 ;
13184 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13185 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13186 wxSize const &arg5_defvalue = wxDefaultSize ;
13187 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13188 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13189 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13190 wxString *arg7 = (wxString *) &arg7_defvalue ;
13191 wxMDIParentFrame *result;
13192 bool temp3 = False ;
13193 wxPoint temp4 ;
13194 wxSize temp5 ;
13195 bool temp7 = False ;
13196 PyObject * obj0 = 0 ;
13197 PyObject * obj2 = 0 ;
13198 PyObject * obj3 = 0 ;
13199 PyObject * obj4 = 0 ;
13200 PyObject * obj6 = 0 ;
13201 char *kwnames[] = {
13202 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13203 };
13204
13205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13207 {
13208 arg3 = wxString_in_helper(obj2);
13209 if (arg3 == NULL) SWIG_fail;
13210 temp3 = True;
13211 }
13212 if (obj3) {
13213 {
13214 arg4 = &temp4;
13215 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13216 }
13217 }
13218 if (obj4) {
13219 {
13220 arg5 = &temp5;
13221 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13222 }
13223 }
13224 if (obj6) {
13225 {
13226 arg7 = wxString_in_helper(obj6);
13227 if (arg7 == NULL) SWIG_fail;
13228 temp7 = True;
13229 }
13230 }
13231 {
13232 PyThreadState* __tstate = wxPyBeginAllowThreads();
13233 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13234
13235 wxPyEndAllowThreads(__tstate);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
13238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13239 {
13240 if (temp3)
13241 delete arg3;
13242 }
13243 {
13244 if (temp7)
13245 delete arg7;
13246 }
13247 return resultobj;
13248 fail:
13249 {
13250 if (temp3)
13251 delete arg3;
13252 }
13253 {
13254 if (temp7)
13255 delete arg7;
13256 }
13257 return NULL;
13258 }
13259
13260
13261 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13262 PyObject *resultobj;
13263 wxMDIParentFrame *result;
13264 char *kwnames[] = {
13265 NULL
13266 };
13267
13268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13284 PyObject *resultobj;
13285 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13286 wxWindow *arg2 = (wxWindow *) 0 ;
13287 int arg3 ;
13288 wxString *arg4 = 0 ;
13289 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13290 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13291 wxSize const &arg6_defvalue = wxDefaultSize ;
13292 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13293 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13294 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13295 wxString *arg8 = (wxString *) &arg8_defvalue ;
13296 bool result;
13297 bool temp4 = False ;
13298 wxPoint temp5 ;
13299 wxSize temp6 ;
13300 bool temp8 = False ;
13301 PyObject * obj0 = 0 ;
13302 PyObject * obj1 = 0 ;
13303 PyObject * obj3 = 0 ;
13304 PyObject * obj4 = 0 ;
13305 PyObject * obj5 = 0 ;
13306 PyObject * obj7 = 0 ;
13307 char *kwnames[] = {
13308 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13309 };
13310
13311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13314 {
13315 arg4 = wxString_in_helper(obj3);
13316 if (arg4 == NULL) SWIG_fail;
13317 temp4 = True;
13318 }
13319 if (obj4) {
13320 {
13321 arg5 = &temp5;
13322 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13323 }
13324 }
13325 if (obj5) {
13326 {
13327 arg6 = &temp6;
13328 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13329 }
13330 }
13331 if (obj7) {
13332 {
13333 arg8 = wxString_in_helper(obj7);
13334 if (arg8 == NULL) SWIG_fail;
13335 temp8 = True;
13336 }
13337 }
13338 {
13339 PyThreadState* __tstate = wxPyBeginAllowThreads();
13340 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13341
13342 wxPyEndAllowThreads(__tstate);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
13345 resultobj = PyInt_FromLong((long)result);
13346 {
13347 if (temp4)
13348 delete arg4;
13349 }
13350 {
13351 if (temp8)
13352 delete arg8;
13353 }
13354 return resultobj;
13355 fail:
13356 {
13357 if (temp4)
13358 delete arg4;
13359 }
13360 {
13361 if (temp8)
13362 delete arg8;
13363 }
13364 return NULL;
13365 }
13366
13367
13368 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
13369 PyObject *resultobj;
13370 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13371 PyObject * obj0 = 0 ;
13372 char *kwnames[] = {
13373 (char *) "self", NULL
13374 };
13375
13376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
13377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13378 {
13379 PyThreadState* __tstate = wxPyBeginAllowThreads();
13380 (arg1)->ActivateNext();
13381
13382 wxPyEndAllowThreads(__tstate);
13383 if (PyErr_Occurred()) SWIG_fail;
13384 }
13385 Py_INCREF(Py_None); resultobj = Py_None;
13386 return resultobj;
13387 fail:
13388 return NULL;
13389 }
13390
13391
13392 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
13393 PyObject *resultobj;
13394 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13395 PyObject * obj0 = 0 ;
13396 char *kwnames[] = {
13397 (char *) "self", NULL
13398 };
13399
13400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
13401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13402 {
13403 PyThreadState* __tstate = wxPyBeginAllowThreads();
13404 (arg1)->ActivatePrevious();
13405
13406 wxPyEndAllowThreads(__tstate);
13407 if (PyErr_Occurred()) SWIG_fail;
13408 }
13409 Py_INCREF(Py_None); resultobj = Py_None;
13410 return resultobj;
13411 fail:
13412 return NULL;
13413 }
13414
13415
13416 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
13417 PyObject *resultobj;
13418 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13419 PyObject * obj0 = 0 ;
13420 char *kwnames[] = {
13421 (char *) "self", NULL
13422 };
13423
13424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
13425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13426 {
13427 PyThreadState* __tstate = wxPyBeginAllowThreads();
13428 (arg1)->ArrangeIcons();
13429
13430 wxPyEndAllowThreads(__tstate);
13431 if (PyErr_Occurred()) SWIG_fail;
13432 }
13433 Py_INCREF(Py_None); resultobj = Py_None;
13434 return resultobj;
13435 fail:
13436 return NULL;
13437 }
13438
13439
13440 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
13441 PyObject *resultobj;
13442 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13443 PyObject * obj0 = 0 ;
13444 char *kwnames[] = {
13445 (char *) "self", NULL
13446 };
13447
13448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
13449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13450 {
13451 PyThreadState* __tstate = wxPyBeginAllowThreads();
13452 (arg1)->Cascade();
13453
13454 wxPyEndAllowThreads(__tstate);
13455 if (PyErr_Occurred()) SWIG_fail;
13456 }
13457 Py_INCREF(Py_None); resultobj = Py_None;
13458 return resultobj;
13459 fail:
13460 return NULL;
13461 }
13462
13463
13464 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13465 PyObject *resultobj;
13466 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13467 wxMDIChildFrame *result;
13468 PyObject * obj0 = 0 ;
13469 char *kwnames[] = {
13470 (char *) "self", NULL
13471 };
13472
13473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 {
13483 resultobj = wxPyMake_wxObject(result);
13484 }
13485 return resultobj;
13486 fail:
13487 return NULL;
13488 }
13489
13490
13491 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13492 PyObject *resultobj;
13493 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13494 wxMDIClientWindow *result;
13495 PyObject * obj0 = 0 ;
13496 char *kwnames[] = {
13497 (char *) "self", NULL
13498 };
13499
13500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13502 {
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13505
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 {
13510 resultobj = wxPyMake_wxObject(result);
13511 }
13512 return resultobj;
13513 fail:
13514 return NULL;
13515 }
13516
13517
13518 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13519 PyObject *resultobj;
13520 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13521 wxWindow *result;
13522 PyObject * obj0 = 0 ;
13523 char *kwnames[] = {
13524 (char *) "self", NULL
13525 };
13526
13527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 result = (wxWindow *)(arg1)->GetToolBar();
13532
13533 wxPyEndAllowThreads(__tstate);
13534 if (PyErr_Occurred()) SWIG_fail;
13535 }
13536 {
13537 resultobj = wxPyMake_wxObject(result);
13538 }
13539 return resultobj;
13540 fail:
13541 return NULL;
13542 }
13543
13544
13545 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13546 PyObject *resultobj;
13547 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13548 wxMenu *result;
13549 PyObject * obj0 = 0 ;
13550 char *kwnames[] = {
13551 (char *) "self", NULL
13552 };
13553
13554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
13555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13556 {
13557 PyThreadState* __tstate = wxPyBeginAllowThreads();
13558 result = (wxMenu *)(arg1)->GetWindowMenu();
13559
13560 wxPyEndAllowThreads(__tstate);
13561 if (PyErr_Occurred()) SWIG_fail;
13562 }
13563 {
13564 resultobj = wxPyMake_wxObject(result);
13565 }
13566 return resultobj;
13567 fail:
13568 return NULL;
13569 }
13570
13571
13572 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13573 PyObject *resultobj;
13574 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13575 wxMenu *arg2 = (wxMenu *) 0 ;
13576 PyObject * obj0 = 0 ;
13577 PyObject * obj1 = 0 ;
13578 char *kwnames[] = {
13579 (char *) "self",(char *) "menu", NULL
13580 };
13581
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
13583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13585 {
13586 PyThreadState* __tstate = wxPyBeginAllowThreads();
13587 (arg1)->SetWindowMenu(arg2);
13588
13589 wxPyEndAllowThreads(__tstate);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
13592 Py_INCREF(Py_None); resultobj = Py_None;
13593 return resultobj;
13594 fail:
13595 return NULL;
13596 }
13597
13598
13599 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13600 PyObject *resultobj;
13601 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13602 wxToolBar *arg2 = (wxToolBar *) 0 ;
13603 PyObject * obj0 = 0 ;
13604 PyObject * obj1 = 0 ;
13605 char *kwnames[] = {
13606 (char *) "self",(char *) "toolbar", NULL
13607 };
13608
13609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
13610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13611 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13612 {
13613 PyThreadState* __tstate = wxPyBeginAllowThreads();
13614 (arg1)->SetToolBar(arg2);
13615
13616 wxPyEndAllowThreads(__tstate);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 }
13619 Py_INCREF(Py_None); resultobj = Py_None;
13620 return resultobj;
13621 fail:
13622 return NULL;
13623 }
13624
13625
13626 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13627 PyObject *resultobj;
13628 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13629 PyObject * obj0 = 0 ;
13630 char *kwnames[] = {
13631 (char *) "self", NULL
13632 };
13633
13634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13636 {
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 (arg1)->Tile();
13639
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 Py_INCREF(Py_None); resultobj = Py_None;
13644 return resultobj;
13645 fail:
13646 return NULL;
13647 }
13648
13649
13650 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13651 PyObject *obj;
13652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13653 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13654 Py_INCREF(obj);
13655 return Py_BuildValue((char *)"");
13656 }
13657 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13660 int arg2 ;
13661 wxString *arg3 = 0 ;
13662 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13663 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13664 wxSize const &arg5_defvalue = wxDefaultSize ;
13665 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13666 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13667 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13668 wxString *arg7 = (wxString *) &arg7_defvalue ;
13669 wxMDIChildFrame *result;
13670 bool temp3 = False ;
13671 wxPoint temp4 ;
13672 wxSize temp5 ;
13673 bool temp7 = False ;
13674 PyObject * obj0 = 0 ;
13675 PyObject * obj2 = 0 ;
13676 PyObject * obj3 = 0 ;
13677 PyObject * obj4 = 0 ;
13678 PyObject * obj6 = 0 ;
13679 char *kwnames[] = {
13680 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13681 };
13682
13683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13685 {
13686 arg3 = wxString_in_helper(obj2);
13687 if (arg3 == NULL) SWIG_fail;
13688 temp3 = True;
13689 }
13690 if (obj3) {
13691 {
13692 arg4 = &temp4;
13693 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13694 }
13695 }
13696 if (obj4) {
13697 {
13698 arg5 = &temp5;
13699 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13700 }
13701 }
13702 if (obj6) {
13703 {
13704 arg7 = wxString_in_helper(obj6);
13705 if (arg7 == NULL) SWIG_fail;
13706 temp7 = True;
13707 }
13708 }
13709 {
13710 PyThreadState* __tstate = wxPyBeginAllowThreads();
13711 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13712
13713 wxPyEndAllowThreads(__tstate);
13714 if (PyErr_Occurred()) SWIG_fail;
13715 }
13716 {
13717 resultobj = wxPyMake_wxObject(result);
13718 }
13719 {
13720 if (temp3)
13721 delete arg3;
13722 }
13723 {
13724 if (temp7)
13725 delete arg7;
13726 }
13727 return resultobj;
13728 fail:
13729 {
13730 if (temp3)
13731 delete arg3;
13732 }
13733 {
13734 if (temp7)
13735 delete arg7;
13736 }
13737 return NULL;
13738 }
13739
13740
13741 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13742 PyObject *resultobj;
13743 wxMDIChildFrame *result;
13744 char *kwnames[] = {
13745 NULL
13746 };
13747
13748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13749 {
13750 PyThreadState* __tstate = wxPyBeginAllowThreads();
13751 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13752
13753 wxPyEndAllowThreads(__tstate);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 }
13756 {
13757 resultobj = wxPyMake_wxObject(result);
13758 }
13759 return resultobj;
13760 fail:
13761 return NULL;
13762 }
13763
13764
13765 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13766 PyObject *resultobj;
13767 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13768 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13769 int arg3 ;
13770 wxString *arg4 = 0 ;
13771 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13772 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13773 wxSize const &arg6_defvalue = wxDefaultSize ;
13774 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13775 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13776 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13777 wxString *arg8 = (wxString *) &arg8_defvalue ;
13778 bool result;
13779 bool temp4 = False ;
13780 wxPoint temp5 ;
13781 wxSize temp6 ;
13782 bool temp8 = False ;
13783 PyObject * obj0 = 0 ;
13784 PyObject * obj1 = 0 ;
13785 PyObject * obj3 = 0 ;
13786 PyObject * obj4 = 0 ;
13787 PyObject * obj5 = 0 ;
13788 PyObject * obj7 = 0 ;
13789 char *kwnames[] = {
13790 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13791 };
13792
13793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13795 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13796 {
13797 arg4 = wxString_in_helper(obj3);
13798 if (arg4 == NULL) SWIG_fail;
13799 temp4 = True;
13800 }
13801 if (obj4) {
13802 {
13803 arg5 = &temp5;
13804 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13805 }
13806 }
13807 if (obj5) {
13808 {
13809 arg6 = &temp6;
13810 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13811 }
13812 }
13813 if (obj7) {
13814 {
13815 arg8 = wxString_in_helper(obj7);
13816 if (arg8 == NULL) SWIG_fail;
13817 temp8 = True;
13818 }
13819 }
13820 {
13821 PyThreadState* __tstate = wxPyBeginAllowThreads();
13822 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13823
13824 wxPyEndAllowThreads(__tstate);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 resultobj = PyInt_FromLong((long)result);
13828 {
13829 if (temp4)
13830 delete arg4;
13831 }
13832 {
13833 if (temp8)
13834 delete arg8;
13835 }
13836 return resultobj;
13837 fail:
13838 {
13839 if (temp4)
13840 delete arg4;
13841 }
13842 {
13843 if (temp8)
13844 delete arg8;
13845 }
13846 return NULL;
13847 }
13848
13849
13850 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13851 PyObject *resultobj;
13852 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13853 PyObject * obj0 = 0 ;
13854 char *kwnames[] = {
13855 (char *) "self", NULL
13856 };
13857
13858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13860 {
13861 PyThreadState* __tstate = wxPyBeginAllowThreads();
13862 (arg1)->Activate();
13863
13864 wxPyEndAllowThreads(__tstate);
13865 if (PyErr_Occurred()) SWIG_fail;
13866 }
13867 Py_INCREF(Py_None); resultobj = Py_None;
13868 return resultobj;
13869 fail:
13870 return NULL;
13871 }
13872
13873
13874 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13875 PyObject *resultobj;
13876 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13877 bool arg2 ;
13878 PyObject * obj0 = 0 ;
13879 PyObject * obj1 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self",(char *) "maximize", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13886 {
13887 arg2 = (bool) SPyObj_AsBool(obj1);
13888 if (PyErr_Occurred()) SWIG_fail;
13889 }
13890 {
13891 PyThreadState* __tstate = wxPyBeginAllowThreads();
13892 (arg1)->Maximize(arg2);
13893
13894 wxPyEndAllowThreads(__tstate);
13895 if (PyErr_Occurred()) SWIG_fail;
13896 }
13897 Py_INCREF(Py_None); resultobj = Py_None;
13898 return resultobj;
13899 fail:
13900 return NULL;
13901 }
13902
13903
13904 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13905 PyObject *resultobj;
13906 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13907 PyObject * obj0 = 0 ;
13908 char *kwnames[] = {
13909 (char *) "self", NULL
13910 };
13911
13912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13914 {
13915 PyThreadState* __tstate = wxPyBeginAllowThreads();
13916 (arg1)->Restore();
13917
13918 wxPyEndAllowThreads(__tstate);
13919 if (PyErr_Occurred()) SWIG_fail;
13920 }
13921 Py_INCREF(Py_None); resultobj = Py_None;
13922 return resultobj;
13923 fail:
13924 return NULL;
13925 }
13926
13927
13928 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13929 PyObject *obj;
13930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13931 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13932 Py_INCREF(obj);
13933 return Py_BuildValue((char *)"");
13934 }
13935 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13936 PyObject *resultobj;
13937 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13938 long arg2 = (long) 0 ;
13939 wxMDIClientWindow *result;
13940 PyObject * obj0 = 0 ;
13941 char *kwnames[] = {
13942 (char *) "parent",(char *) "style", NULL
13943 };
13944
13945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13950
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 {
13955 resultobj = wxPyMake_wxObject(result);
13956 }
13957 return resultobj;
13958 fail:
13959 return NULL;
13960 }
13961
13962
13963 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13964 PyObject *resultobj;
13965 wxMDIClientWindow *result;
13966 char *kwnames[] = {
13967 NULL
13968 };
13969
13970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13974
13975 wxPyEndAllowThreads(__tstate);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 }
13978 {
13979 resultobj = wxPyMake_wxObject(result);
13980 }
13981 return resultobj;
13982 fail:
13983 return NULL;
13984 }
13985
13986
13987 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13988 PyObject *resultobj;
13989 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13990 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13991 long arg3 = (long) 0 ;
13992 bool result;
13993 PyObject * obj0 = 0 ;
13994 PyObject * obj1 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "self",(char *) "parent",(char *) "style", NULL
13997 };
13998
13999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
14000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14002 {
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 result = (bool)(arg1)->Create(arg2,arg3);
14005
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 resultobj = PyInt_FromLong((long)result);
14010 return resultobj;
14011 fail:
14012 return NULL;
14013 }
14014
14015
14016 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
14017 PyObject *obj;
14018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14019 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14020 Py_INCREF(obj);
14021 return Py_BuildValue((char *)"");
14022 }
14023 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14024 PyObject *resultobj;
14025 wxWindow *arg1 = (wxWindow *) 0 ;
14026 int arg2 ;
14027 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14028 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14029 wxSize const &arg4_defvalue = wxDefaultSize ;
14030 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14031 long arg5 = (long) 0 ;
14032 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14033 wxString *arg6 = (wxString *) &arg6_defvalue ;
14034 wxPyWindow *result;
14035 wxPoint temp3 ;
14036 wxSize temp4 ;
14037 bool temp6 = False ;
14038 PyObject * obj0 = 0 ;
14039 PyObject * obj2 = 0 ;
14040 PyObject * obj3 = 0 ;
14041 PyObject * obj5 = 0 ;
14042 char *kwnames[] = {
14043 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14044 };
14045
14046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14048 if (obj2) {
14049 {
14050 arg3 = &temp3;
14051 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14052 }
14053 }
14054 if (obj3) {
14055 {
14056 arg4 = &temp4;
14057 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14058 }
14059 }
14060 if (obj5) {
14061 {
14062 arg6 = wxString_in_helper(obj5);
14063 if (arg6 == NULL) SWIG_fail;
14064 temp6 = True;
14065 }
14066 }
14067 {
14068 PyThreadState* __tstate = wxPyBeginAllowThreads();
14069 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14070
14071 wxPyEndAllowThreads(__tstate);
14072 if (PyErr_Occurred()) SWIG_fail;
14073 }
14074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
14075 {
14076 if (temp6)
14077 delete arg6;
14078 }
14079 return resultobj;
14080 fail:
14081 {
14082 if (temp6)
14083 delete arg6;
14084 }
14085 return NULL;
14086 }
14087
14088
14089 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14090 PyObject *resultobj;
14091 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14092 PyObject *arg2 = (PyObject *) 0 ;
14093 PyObject *arg3 = (PyObject *) 0 ;
14094 PyObject * obj0 = 0 ;
14095 PyObject * obj1 = 0 ;
14096 PyObject * obj2 = 0 ;
14097 char *kwnames[] = {
14098 (char *) "self",(char *) "self",(char *) "_class", NULL
14099 };
14100
14101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14103 arg2 = obj1;
14104 arg3 = obj2;
14105 {
14106 PyThreadState* __tstate = wxPyBeginAllowThreads();
14107 (arg1)->_setCallbackInfo(arg2,arg3);
14108
14109 wxPyEndAllowThreads(__tstate);
14110 if (PyErr_Occurred()) SWIG_fail;
14111 }
14112 Py_INCREF(Py_None); resultobj = Py_None;
14113 return resultobj;
14114 fail:
14115 return NULL;
14116 }
14117
14118
14119 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14120 PyObject *resultobj;
14121 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14122 int arg2 ;
14123 int arg3 ;
14124 int arg4 ;
14125 int arg5 ;
14126 PyObject * obj0 = 0 ;
14127 char *kwnames[] = {
14128 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14129 };
14130
14131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14133 {
14134 PyThreadState* __tstate = wxPyBeginAllowThreads();
14135 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14136
14137 wxPyEndAllowThreads(__tstate);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 Py_INCREF(Py_None); resultobj = Py_None;
14141 return resultobj;
14142 fail:
14143 return NULL;
14144 }
14145
14146
14147 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14148 PyObject *resultobj;
14149 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14150 int arg2 ;
14151 int arg3 ;
14152 int arg4 ;
14153 int arg5 ;
14154 int arg6 = (int) wxSIZE_AUTO ;
14155 PyObject * obj0 = 0 ;
14156 char *kwnames[] = {
14157 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14158 };
14159
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14162 {
14163 PyThreadState* __tstate = wxPyBeginAllowThreads();
14164 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14165
14166 wxPyEndAllowThreads(__tstate);
14167 if (PyErr_Occurred()) SWIG_fail;
14168 }
14169 Py_INCREF(Py_None); resultobj = Py_None;
14170 return resultobj;
14171 fail:
14172 return NULL;
14173 }
14174
14175
14176 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14177 PyObject *resultobj;
14178 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14179 int arg2 ;
14180 int arg3 ;
14181 PyObject * obj0 = 0 ;
14182 char *kwnames[] = {
14183 (char *) "self",(char *) "width",(char *) "height", NULL
14184 };
14185
14186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14188 {
14189 PyThreadState* __tstate = wxPyBeginAllowThreads();
14190 (arg1)->base_DoSetClientSize(arg2,arg3);
14191
14192 wxPyEndAllowThreads(__tstate);
14193 if (PyErr_Occurred()) SWIG_fail;
14194 }
14195 Py_INCREF(Py_None); resultobj = Py_None;
14196 return resultobj;
14197 fail:
14198 return NULL;
14199 }
14200
14201
14202 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14203 PyObject *resultobj;
14204 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14205 int arg2 ;
14206 int arg3 ;
14207 PyObject * obj0 = 0 ;
14208 char *kwnames[] = {
14209 (char *) "self",(char *) "x",(char *) "y", NULL
14210 };
14211
14212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14217
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 Py_INCREF(Py_None); resultobj = Py_None;
14222 return resultobj;
14223 fail:
14224 return NULL;
14225 }
14226
14227
14228 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14229 PyObject *resultobj;
14230 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14231 int *arg2 = (int *) 0 ;
14232 int *arg3 = (int *) 0 ;
14233 int temp2 ;
14234 int temp3 ;
14235 PyObject * obj0 = 0 ;
14236 char *kwnames[] = {
14237 (char *) "self", NULL
14238 };
14239
14240 arg2 = &temp2;
14241 arg3 = &temp3;
14242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
14243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14244 {
14245 PyThreadState* __tstate = wxPyBeginAllowThreads();
14246 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
14247
14248 wxPyEndAllowThreads(__tstate);
14249 if (PyErr_Occurred()) SWIG_fail;
14250 }
14251 Py_INCREF(Py_None); resultobj = Py_None;
14252 {
14253 PyObject *o = PyInt_FromLong((long) (*arg2));
14254 resultobj = t_output_helper(resultobj,o);
14255 }
14256 {
14257 PyObject *o = PyInt_FromLong((long) (*arg3));
14258 resultobj = t_output_helper(resultobj,o);
14259 }
14260 return resultobj;
14261 fail:
14262 return NULL;
14263 }
14264
14265
14266 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14267 PyObject *resultobj;
14268 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14269 int *arg2 = (int *) 0 ;
14270 int *arg3 = (int *) 0 ;
14271 int temp2 ;
14272 int temp3 ;
14273 PyObject * obj0 = 0 ;
14274 char *kwnames[] = {
14275 (char *) "self", NULL
14276 };
14277
14278 arg2 = &temp2;
14279 arg3 = &temp3;
14280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14282 {
14283 PyThreadState* __tstate = wxPyBeginAllowThreads();
14284 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
14285
14286 wxPyEndAllowThreads(__tstate);
14287 if (PyErr_Occurred()) SWIG_fail;
14288 }
14289 Py_INCREF(Py_None); resultobj = Py_None;
14290 {
14291 PyObject *o = PyInt_FromLong((long) (*arg2));
14292 resultobj = t_output_helper(resultobj,o);
14293 }
14294 {
14295 PyObject *o = PyInt_FromLong((long) (*arg3));
14296 resultobj = t_output_helper(resultobj,o);
14297 }
14298 return resultobj;
14299 fail:
14300 return NULL;
14301 }
14302
14303
14304 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14305 PyObject *resultobj;
14306 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14307 int *arg2 = (int *) 0 ;
14308 int *arg3 = (int *) 0 ;
14309 int temp2 ;
14310 int temp3 ;
14311 PyObject * obj0 = 0 ;
14312 char *kwnames[] = {
14313 (char *) "self", NULL
14314 };
14315
14316 arg2 = &temp2;
14317 arg3 = &temp3;
14318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
14319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14320 {
14321 PyThreadState* __tstate = wxPyBeginAllowThreads();
14322 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
14323
14324 wxPyEndAllowThreads(__tstate);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 }
14327 Py_INCREF(Py_None); resultobj = Py_None;
14328 {
14329 PyObject *o = PyInt_FromLong((long) (*arg2));
14330 resultobj = t_output_helper(resultobj,o);
14331 }
14332 {
14333 PyObject *o = PyInt_FromLong((long) (*arg3));
14334 resultobj = t_output_helper(resultobj,o);
14335 }
14336 return resultobj;
14337 fail:
14338 return NULL;
14339 }
14340
14341
14342 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14343 PyObject *resultobj;
14344 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14345 wxSize result;
14346 PyObject * obj0 = 0 ;
14347 char *kwnames[] = {
14348 (char *) "self", NULL
14349 };
14350
14351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14353 {
14354 PyThreadState* __tstate = wxPyBeginAllowThreads();
14355 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
14356
14357 wxPyEndAllowThreads(__tstate);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 {
14361 wxSize * resultptr;
14362 resultptr = new wxSize((wxSize &) result);
14363 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14364 }
14365 return resultobj;
14366 fail:
14367 return NULL;
14368 }
14369
14370
14371 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14372 PyObject *resultobj;
14373 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14374 wxSize result;
14375 PyObject * obj0 = 0 ;
14376 char *kwnames[] = {
14377 (char *) "self", NULL
14378 };
14379
14380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14382 {
14383 PyThreadState* __tstate = wxPyBeginAllowThreads();
14384 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
14385
14386 wxPyEndAllowThreads(__tstate);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 {
14390 wxSize * resultptr;
14391 resultptr = new wxSize((wxSize &) result);
14392 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14393 }
14394 return resultobj;
14395 fail:
14396 return NULL;
14397 }
14398
14399
14400 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14401 PyObject *resultobj;
14402 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14403 PyObject * obj0 = 0 ;
14404 char *kwnames[] = {
14405 (char *) "self", NULL
14406 };
14407
14408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
14409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14410 {
14411 PyThreadState* __tstate = wxPyBeginAllowThreads();
14412 (arg1)->base_InitDialog();
14413
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 Py_INCREF(Py_None); resultobj = Py_None;
14418 return resultobj;
14419 fail:
14420 return NULL;
14421 }
14422
14423
14424 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14425 PyObject *resultobj;
14426 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14427 bool result;
14428 PyObject * obj0 = 0 ;
14429 char *kwnames[] = {
14430 (char *) "self", NULL
14431 };
14432
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14435 {
14436 PyThreadState* __tstate = wxPyBeginAllowThreads();
14437 result = (bool)(arg1)->base_TransferDataToWindow();
14438
14439 wxPyEndAllowThreads(__tstate);
14440 if (PyErr_Occurred()) SWIG_fail;
14441 }
14442 resultobj = PyInt_FromLong((long)result);
14443 return resultobj;
14444 fail:
14445 return NULL;
14446 }
14447
14448
14449 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14450 PyObject *resultobj;
14451 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14452 bool result;
14453 PyObject * obj0 = 0 ;
14454 char *kwnames[] = {
14455 (char *) "self", NULL
14456 };
14457
14458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14460 {
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 result = (bool)(arg1)->base_TransferDataFromWindow();
14463
14464 wxPyEndAllowThreads(__tstate);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 resultobj = PyInt_FromLong((long)result);
14468 return resultobj;
14469 fail:
14470 return NULL;
14471 }
14472
14473
14474 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14475 PyObject *resultobj;
14476 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14477 bool result;
14478 PyObject * obj0 = 0 ;
14479 char *kwnames[] = {
14480 (char *) "self", NULL
14481 };
14482
14483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
14484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14485 {
14486 PyThreadState* __tstate = wxPyBeginAllowThreads();
14487 result = (bool)(arg1)->base_Validate();
14488
14489 wxPyEndAllowThreads(__tstate);
14490 if (PyErr_Occurred()) SWIG_fail;
14491 }
14492 resultobj = PyInt_FromLong((long)result);
14493 return resultobj;
14494 fail:
14495 return NULL;
14496 }
14497
14498
14499 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14500 PyObject *resultobj;
14501 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14502 bool result;
14503 PyObject * obj0 = 0 ;
14504 char *kwnames[] = {
14505 (char *) "self", NULL
14506 };
14507
14508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14510 {
14511 PyThreadState* __tstate = wxPyBeginAllowThreads();
14512 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14513
14514 wxPyEndAllowThreads(__tstate);
14515 if (PyErr_Occurred()) SWIG_fail;
14516 }
14517 resultobj = PyInt_FromLong((long)result);
14518 return resultobj;
14519 fail:
14520 return NULL;
14521 }
14522
14523
14524 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14525 PyObject *resultobj;
14526 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14527 bool result;
14528 PyObject * obj0 = 0 ;
14529 char *kwnames[] = {
14530 (char *) "self", NULL
14531 };
14532
14533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14535 {
14536 PyThreadState* __tstate = wxPyBeginAllowThreads();
14537 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14538
14539 wxPyEndAllowThreads(__tstate);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 }
14542 resultobj = PyInt_FromLong((long)result);
14543 return resultobj;
14544 fail:
14545 return NULL;
14546 }
14547
14548
14549 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14550 PyObject *resultobj;
14551 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14552 wxSize result;
14553 PyObject * obj0 = 0 ;
14554 char *kwnames[] = {
14555 (char *) "self", NULL
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14563
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 {
14568 wxSize * resultptr;
14569 resultptr = new wxSize((wxSize &) result);
14570 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14571 }
14572 return resultobj;
14573 fail:
14574 return NULL;
14575 }
14576
14577
14578 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14579 PyObject *resultobj;
14580 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14581 wxWindow *arg2 = (wxWindow *) 0 ;
14582 PyObject * obj0 = 0 ;
14583 PyObject * obj1 = 0 ;
14584 char *kwnames[] = {
14585 (char *) "self",(char *) "child", NULL
14586 };
14587
14588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14591 {
14592 PyThreadState* __tstate = wxPyBeginAllowThreads();
14593 (arg1)->base_AddChild(arg2);
14594
14595 wxPyEndAllowThreads(__tstate);
14596 if (PyErr_Occurred()) SWIG_fail;
14597 }
14598 Py_INCREF(Py_None); resultobj = Py_None;
14599 return resultobj;
14600 fail:
14601 return NULL;
14602 }
14603
14604
14605 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14606 PyObject *resultobj;
14607 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14608 wxWindow *arg2 = (wxWindow *) 0 ;
14609 PyObject * obj0 = 0 ;
14610 PyObject * obj1 = 0 ;
14611 char *kwnames[] = {
14612 (char *) "self",(char *) "child", NULL
14613 };
14614
14615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14618 {
14619 PyThreadState* __tstate = wxPyBeginAllowThreads();
14620 (arg1)->base_RemoveChild(arg2);
14621
14622 wxPyEndAllowThreads(__tstate);
14623 if (PyErr_Occurred()) SWIG_fail;
14624 }
14625 Py_INCREF(Py_None); resultobj = Py_None;
14626 return resultobj;
14627 fail:
14628 return NULL;
14629 }
14630
14631
14632 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14633 PyObject *obj;
14634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14635 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14636 Py_INCREF(obj);
14637 return Py_BuildValue((char *)"");
14638 }
14639 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14640 PyObject *resultobj;
14641 wxWindow *arg1 = (wxWindow *) 0 ;
14642 int arg2 ;
14643 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14644 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14645 wxSize const &arg4_defvalue = wxDefaultSize ;
14646 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14647 long arg5 = (long) 0 ;
14648 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14649 wxString *arg6 = (wxString *) &arg6_defvalue ;
14650 wxPyPanel *result;
14651 wxPoint temp3 ;
14652 wxSize temp4 ;
14653 bool temp6 = False ;
14654 PyObject * obj0 = 0 ;
14655 PyObject * obj2 = 0 ;
14656 PyObject * obj3 = 0 ;
14657 PyObject * obj5 = 0 ;
14658 char *kwnames[] = {
14659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14660 };
14661
14662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14664 if (obj2) {
14665 {
14666 arg3 = &temp3;
14667 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14668 }
14669 }
14670 if (obj3) {
14671 {
14672 arg4 = &temp4;
14673 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14674 }
14675 }
14676 if (obj5) {
14677 {
14678 arg6 = wxString_in_helper(obj5);
14679 if (arg6 == NULL) SWIG_fail;
14680 temp6 = True;
14681 }
14682 }
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14686
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14691 {
14692 if (temp6)
14693 delete arg6;
14694 }
14695 return resultobj;
14696 fail:
14697 {
14698 if (temp6)
14699 delete arg6;
14700 }
14701 return NULL;
14702 }
14703
14704
14705 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14706 PyObject *resultobj;
14707 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14708 PyObject *arg2 = (PyObject *) 0 ;
14709 PyObject *arg3 = (PyObject *) 0 ;
14710 PyObject * obj0 = 0 ;
14711 PyObject * obj1 = 0 ;
14712 PyObject * obj2 = 0 ;
14713 char *kwnames[] = {
14714 (char *) "self",(char *) "self",(char *) "_class", NULL
14715 };
14716
14717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14719 arg2 = obj1;
14720 arg3 = obj2;
14721 {
14722 PyThreadState* __tstate = wxPyBeginAllowThreads();
14723 (arg1)->_setCallbackInfo(arg2,arg3);
14724
14725 wxPyEndAllowThreads(__tstate);
14726 if (PyErr_Occurred()) SWIG_fail;
14727 }
14728 Py_INCREF(Py_None); resultobj = Py_None;
14729 return resultobj;
14730 fail:
14731 return NULL;
14732 }
14733
14734
14735 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14736 PyObject *resultobj;
14737 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14738 int arg2 ;
14739 int arg3 ;
14740 int arg4 ;
14741 int arg5 ;
14742 PyObject * obj0 = 0 ;
14743 char *kwnames[] = {
14744 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14745 };
14746
14747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14749 {
14750 PyThreadState* __tstate = wxPyBeginAllowThreads();
14751 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14752
14753 wxPyEndAllowThreads(__tstate);
14754 if (PyErr_Occurred()) SWIG_fail;
14755 }
14756 Py_INCREF(Py_None); resultobj = Py_None;
14757 return resultobj;
14758 fail:
14759 return NULL;
14760 }
14761
14762
14763 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14764 PyObject *resultobj;
14765 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14766 int arg2 ;
14767 int arg3 ;
14768 int arg4 ;
14769 int arg5 ;
14770 int arg6 = (int) wxSIZE_AUTO ;
14771 PyObject * obj0 = 0 ;
14772 char *kwnames[] = {
14773 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14774 };
14775
14776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14781
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 Py_INCREF(Py_None); resultobj = Py_None;
14786 return resultobj;
14787 fail:
14788 return NULL;
14789 }
14790
14791
14792 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14795 int arg2 ;
14796 int arg3 ;
14797 PyObject * obj0 = 0 ;
14798 char *kwnames[] = {
14799 (char *) "self",(char *) "width",(char *) "height", NULL
14800 };
14801
14802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14804 {
14805 PyThreadState* __tstate = wxPyBeginAllowThreads();
14806 (arg1)->base_DoSetClientSize(arg2,arg3);
14807
14808 wxPyEndAllowThreads(__tstate);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
14811 Py_INCREF(Py_None); resultobj = Py_None;
14812 return resultobj;
14813 fail:
14814 return NULL;
14815 }
14816
14817
14818 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14819 PyObject *resultobj;
14820 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14821 int arg2 ;
14822 int arg3 ;
14823 PyObject * obj0 = 0 ;
14824 char *kwnames[] = {
14825 (char *) "self",(char *) "x",(char *) "y", NULL
14826 };
14827
14828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14833
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 Py_INCREF(Py_None); resultobj = Py_None;
14838 return resultobj;
14839 fail:
14840 return NULL;
14841 }
14842
14843
14844 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14845 PyObject *resultobj;
14846 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14847 int *arg2 = (int *) 0 ;
14848 int *arg3 = (int *) 0 ;
14849 int temp2 ;
14850 int temp3 ;
14851 PyObject * obj0 = 0 ;
14852 char *kwnames[] = {
14853 (char *) "self", NULL
14854 };
14855
14856 arg2 = &temp2;
14857 arg3 = &temp3;
14858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14860 {
14861 PyThreadState* __tstate = wxPyBeginAllowThreads();
14862 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14863
14864 wxPyEndAllowThreads(__tstate);
14865 if (PyErr_Occurred()) SWIG_fail;
14866 }
14867 Py_INCREF(Py_None); resultobj = Py_None;
14868 {
14869 PyObject *o = PyInt_FromLong((long) (*arg2));
14870 resultobj = t_output_helper(resultobj,o);
14871 }
14872 {
14873 PyObject *o = PyInt_FromLong((long) (*arg3));
14874 resultobj = t_output_helper(resultobj,o);
14875 }
14876 return resultobj;
14877 fail:
14878 return NULL;
14879 }
14880
14881
14882 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14883 PyObject *resultobj;
14884 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14885 int *arg2 = (int *) 0 ;
14886 int *arg3 = (int *) 0 ;
14887 int temp2 ;
14888 int temp3 ;
14889 PyObject * obj0 = 0 ;
14890 char *kwnames[] = {
14891 (char *) "self", NULL
14892 };
14893
14894 arg2 = &temp2;
14895 arg3 = &temp3;
14896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14898 {
14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
14900 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14901
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 Py_INCREF(Py_None); resultobj = Py_None;
14906 {
14907 PyObject *o = PyInt_FromLong((long) (*arg2));
14908 resultobj = t_output_helper(resultobj,o);
14909 }
14910 {
14911 PyObject *o = PyInt_FromLong((long) (*arg3));
14912 resultobj = t_output_helper(resultobj,o);
14913 }
14914 return resultobj;
14915 fail:
14916 return NULL;
14917 }
14918
14919
14920 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14921 PyObject *resultobj;
14922 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14923 int *arg2 = (int *) 0 ;
14924 int *arg3 = (int *) 0 ;
14925 int temp2 ;
14926 int temp3 ;
14927 PyObject * obj0 = 0 ;
14928 char *kwnames[] = {
14929 (char *) "self", NULL
14930 };
14931
14932 arg2 = &temp2;
14933 arg3 = &temp3;
14934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14936 {
14937 PyThreadState* __tstate = wxPyBeginAllowThreads();
14938 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14939
14940 wxPyEndAllowThreads(__tstate);
14941 if (PyErr_Occurred()) SWIG_fail;
14942 }
14943 Py_INCREF(Py_None); resultobj = Py_None;
14944 {
14945 PyObject *o = PyInt_FromLong((long) (*arg2));
14946 resultobj = t_output_helper(resultobj,o);
14947 }
14948 {
14949 PyObject *o = PyInt_FromLong((long) (*arg3));
14950 resultobj = t_output_helper(resultobj,o);
14951 }
14952 return resultobj;
14953 fail:
14954 return NULL;
14955 }
14956
14957
14958 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14959 PyObject *resultobj;
14960 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14961 wxSize result;
14962 PyObject * obj0 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 {
14977 wxSize * resultptr;
14978 resultptr = new wxSize((wxSize &) result);
14979 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14980 }
14981 return resultobj;
14982 fail:
14983 return NULL;
14984 }
14985
14986
14987 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14988 PyObject *resultobj;
14989 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14990 wxSize result;
14991 PyObject * obj0 = 0 ;
14992 char *kwnames[] = {
14993 (char *) "self", NULL
14994 };
14995
14996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
15001
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 {
15006 wxSize * resultptr;
15007 resultptr = new wxSize((wxSize &) result);
15008 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15009 }
15010 return resultobj;
15011 fail:
15012 return NULL;
15013 }
15014
15015
15016 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15017 PyObject *resultobj;
15018 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15019 PyObject * obj0 = 0 ;
15020 char *kwnames[] = {
15021 (char *) "self", NULL
15022 };
15023
15024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
15025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15026 {
15027 PyThreadState* __tstate = wxPyBeginAllowThreads();
15028 (arg1)->base_InitDialog();
15029
15030 wxPyEndAllowThreads(__tstate);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
15033 Py_INCREF(Py_None); resultobj = Py_None;
15034 return resultobj;
15035 fail:
15036 return NULL;
15037 }
15038
15039
15040 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15041 PyObject *resultobj;
15042 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15043 bool result;
15044 PyObject * obj0 = 0 ;
15045 char *kwnames[] = {
15046 (char *) "self", NULL
15047 };
15048
15049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15051 {
15052 PyThreadState* __tstate = wxPyBeginAllowThreads();
15053 result = (bool)(arg1)->base_TransferDataToWindow();
15054
15055 wxPyEndAllowThreads(__tstate);
15056 if (PyErr_Occurred()) SWIG_fail;
15057 }
15058 resultobj = PyInt_FromLong((long)result);
15059 return resultobj;
15060 fail:
15061 return NULL;
15062 }
15063
15064
15065 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15066 PyObject *resultobj;
15067 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15068 bool result;
15069 PyObject * obj0 = 0 ;
15070 char *kwnames[] = {
15071 (char *) "self", NULL
15072 };
15073
15074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
15078 result = (bool)(arg1)->base_TransferDataFromWindow();
15079
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 resultobj = PyInt_FromLong((long)result);
15084 return resultobj;
15085 fail:
15086 return NULL;
15087 }
15088
15089
15090 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15091 PyObject *resultobj;
15092 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15093 bool result;
15094 PyObject * obj0 = 0 ;
15095 char *kwnames[] = {
15096 (char *) "self", NULL
15097 };
15098
15099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
15100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15101 {
15102 PyThreadState* __tstate = wxPyBeginAllowThreads();
15103 result = (bool)(arg1)->base_Validate();
15104
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 resultobj = PyInt_FromLong((long)result);
15109 return resultobj;
15110 fail:
15111 return NULL;
15112 }
15113
15114
15115 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15116 PyObject *resultobj;
15117 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15118 bool result;
15119 PyObject * obj0 = 0 ;
15120 char *kwnames[] = {
15121 (char *) "self", NULL
15122 };
15123
15124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
15129
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 resultobj = PyInt_FromLong((long)result);
15134 return resultobj;
15135 fail:
15136 return NULL;
15137 }
15138
15139
15140 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15141 PyObject *resultobj;
15142 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15143 bool result;
15144 PyObject * obj0 = 0 ;
15145 char *kwnames[] = {
15146 (char *) "self", NULL
15147 };
15148
15149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15151 {
15152 PyThreadState* __tstate = wxPyBeginAllowThreads();
15153 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
15154
15155 wxPyEndAllowThreads(__tstate);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 }
15158 resultobj = PyInt_FromLong((long)result);
15159 return resultobj;
15160 fail:
15161 return NULL;
15162 }
15163
15164
15165 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15166 PyObject *resultobj;
15167 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15168 wxSize result;
15169 PyObject * obj0 = 0 ;
15170 char *kwnames[] = {
15171 (char *) "self", NULL
15172 };
15173
15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
15175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15176 {
15177 PyThreadState* __tstate = wxPyBeginAllowThreads();
15178 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
15179
15180 wxPyEndAllowThreads(__tstate);
15181 if (PyErr_Occurred()) SWIG_fail;
15182 }
15183 {
15184 wxSize * resultptr;
15185 resultptr = new wxSize((wxSize &) result);
15186 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15187 }
15188 return resultobj;
15189 fail:
15190 return NULL;
15191 }
15192
15193
15194 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15195 PyObject *resultobj;
15196 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15197 wxWindow *arg2 = (wxWindow *) 0 ;
15198 PyObject * obj0 = 0 ;
15199 PyObject * obj1 = 0 ;
15200 char *kwnames[] = {
15201 (char *) "self",(char *) "child", NULL
15202 };
15203
15204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15207 {
15208 PyThreadState* __tstate = wxPyBeginAllowThreads();
15209 (arg1)->base_AddChild(arg2);
15210
15211 wxPyEndAllowThreads(__tstate);
15212 if (PyErr_Occurred()) SWIG_fail;
15213 }
15214 Py_INCREF(Py_None); resultobj = Py_None;
15215 return resultobj;
15216 fail:
15217 return NULL;
15218 }
15219
15220
15221 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15222 PyObject *resultobj;
15223 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15224 wxWindow *arg2 = (wxWindow *) 0 ;
15225 PyObject * obj0 = 0 ;
15226 PyObject * obj1 = 0 ;
15227 char *kwnames[] = {
15228 (char *) "self",(char *) "child", NULL
15229 };
15230
15231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15234 {
15235 PyThreadState* __tstate = wxPyBeginAllowThreads();
15236 (arg1)->base_RemoveChild(arg2);
15237
15238 wxPyEndAllowThreads(__tstate);
15239 if (PyErr_Occurred()) SWIG_fail;
15240 }
15241 Py_INCREF(Py_None); resultobj = Py_None;
15242 return resultobj;
15243 fail:
15244 return NULL;
15245 }
15246
15247
15248 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
15249 PyObject *obj;
15250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15251 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
15252 Py_INCREF(obj);
15253 return Py_BuildValue((char *)"");
15254 }
15255 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
15256 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
15257 return 1;
15258 }
15259
15260
15261 static PyObject *_wrap_PrintoutTitleStr_get() {
15262 PyObject *pyobj;
15263
15264 {
15265 #if wxUSE_UNICODE
15266 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
15267 #else
15268 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
15269 #endif
15270 }
15271 return pyobj;
15272 }
15273
15274
15275 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
15276 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
15277 return 1;
15278 }
15279
15280
15281 static PyObject *_wrap_PreviewCanvasNameStr_get() {
15282 PyObject *pyobj;
15283
15284 {
15285 #if wxUSE_UNICODE
15286 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
15287 #else
15288 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
15289 #endif
15290 }
15291 return pyobj;
15292 }
15293
15294
15295 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15296 PyObject *resultobj;
15297 wxPrintData *result;
15298 char *kwnames[] = {
15299 NULL
15300 };
15301
15302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 result = (wxPrintData *)new wxPrintData();
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
15310 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
15311 return resultobj;
15312 fail:
15313 return NULL;
15314 }
15315
15316
15317 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15318 PyObject *resultobj;
15319 wxPrintData *arg1 = (wxPrintData *) 0 ;
15320 PyObject * obj0 = 0 ;
15321 char *kwnames[] = {
15322 (char *) "self", NULL
15323 };
15324
15325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
15326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15327 {
15328 PyThreadState* __tstate = wxPyBeginAllowThreads();
15329 delete arg1;
15330
15331 wxPyEndAllowThreads(__tstate);
15332 if (PyErr_Occurred()) SWIG_fail;
15333 }
15334 Py_INCREF(Py_None); resultobj = Py_None;
15335 return resultobj;
15336 fail:
15337 return NULL;
15338 }
15339
15340
15341 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15342 PyObject *resultobj;
15343 wxPrintData *arg1 = (wxPrintData *) 0 ;
15344 int result;
15345 PyObject * obj0 = 0 ;
15346 char *kwnames[] = {
15347 (char *) "self", NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
15351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15352 {
15353 PyThreadState* __tstate = wxPyBeginAllowThreads();
15354 result = (int)(arg1)->GetNoCopies();
15355
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
15359 resultobj = PyInt_FromLong((long)result);
15360 return resultobj;
15361 fail:
15362 return NULL;
15363 }
15364
15365
15366 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15367 PyObject *resultobj;
15368 wxPrintData *arg1 = (wxPrintData *) 0 ;
15369 bool result;
15370 PyObject * obj0 = 0 ;
15371 char *kwnames[] = {
15372 (char *) "self", NULL
15373 };
15374
15375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15377 {
15378 PyThreadState* __tstate = wxPyBeginAllowThreads();
15379 result = (bool)(arg1)->GetCollate();
15380
15381 wxPyEndAllowThreads(__tstate);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 }
15384 resultobj = PyInt_FromLong((long)result);
15385 return resultobj;
15386 fail:
15387 return NULL;
15388 }
15389
15390
15391 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15392 PyObject *resultobj;
15393 wxPrintData *arg1 = (wxPrintData *) 0 ;
15394 int result;
15395 PyObject * obj0 = 0 ;
15396 char *kwnames[] = {
15397 (char *) "self", NULL
15398 };
15399
15400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15402 {
15403 PyThreadState* __tstate = wxPyBeginAllowThreads();
15404 result = (int)(arg1)->GetOrientation();
15405
15406 wxPyEndAllowThreads(__tstate);
15407 if (PyErr_Occurred()) SWIG_fail;
15408 }
15409 resultobj = PyInt_FromLong((long)result);
15410 return resultobj;
15411 fail:
15412 return NULL;
15413 }
15414
15415
15416 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
15417 PyObject *resultobj;
15418 wxPrintData *arg1 = (wxPrintData *) 0 ;
15419 bool result;
15420 PyObject * obj0 = 0 ;
15421 char *kwnames[] = {
15422 (char *) "self", NULL
15423 };
15424
15425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15427 {
15428 PyThreadState* __tstate = wxPyBeginAllowThreads();
15429 result = (bool)(arg1)->Ok();
15430
15431 wxPyEndAllowThreads(__tstate);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 }
15434 resultobj = PyInt_FromLong((long)result);
15435 return resultobj;
15436 fail:
15437 return NULL;
15438 }
15439
15440
15441 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15442 PyObject *resultobj;
15443 wxPrintData *arg1 = (wxPrintData *) 0 ;
15444 wxString *result;
15445 PyObject * obj0 = 0 ;
15446 char *kwnames[] = {
15447 (char *) "self", NULL
15448 };
15449
15450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15452 {
15453 PyThreadState* __tstate = wxPyBeginAllowThreads();
15454 {
15455 wxString const &_result_ref = (arg1)->GetPrinterName();
15456 result = (wxString *) &_result_ref;
15457 }
15458
15459 wxPyEndAllowThreads(__tstate);
15460 if (PyErr_Occurred()) SWIG_fail;
15461 }
15462 {
15463 #if wxUSE_UNICODE
15464 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15465 #else
15466 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15467 #endif
15468 }
15469 return resultobj;
15470 fail:
15471 return NULL;
15472 }
15473
15474
15475 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15476 PyObject *resultobj;
15477 wxPrintData *arg1 = (wxPrintData *) 0 ;
15478 bool result;
15479 PyObject * obj0 = 0 ;
15480 char *kwnames[] = {
15481 (char *) "self", NULL
15482 };
15483
15484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15486 {
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 result = (bool)(arg1)->GetColour();
15489
15490 wxPyEndAllowThreads(__tstate);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
15493 resultobj = PyInt_FromLong((long)result);
15494 return resultobj;
15495 fail:
15496 return NULL;
15497 }
15498
15499
15500 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15501 PyObject *resultobj;
15502 wxPrintData *arg1 = (wxPrintData *) 0 ;
15503 int result;
15504 PyObject * obj0 = 0 ;
15505 char *kwnames[] = {
15506 (char *) "self", NULL
15507 };
15508
15509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15511 {
15512 PyThreadState* __tstate = wxPyBeginAllowThreads();
15513 result = (int)(arg1)->GetDuplex();
15514
15515 wxPyEndAllowThreads(__tstate);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
15518 resultobj = PyInt_FromLong((long)result);
15519 return resultobj;
15520 fail:
15521 return NULL;
15522 }
15523
15524
15525 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15526 PyObject *resultobj;
15527 wxPrintData *arg1 = (wxPrintData *) 0 ;
15528 int result;
15529 PyObject * obj0 = 0 ;
15530 char *kwnames[] = {
15531 (char *) "self", NULL
15532 };
15533
15534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15536 {
15537 PyThreadState* __tstate = wxPyBeginAllowThreads();
15538 result = (int)(arg1)->GetPaperId();
15539
15540 wxPyEndAllowThreads(__tstate);
15541 if (PyErr_Occurred()) SWIG_fail;
15542 }
15543 resultobj = PyInt_FromLong((long)result);
15544 return resultobj;
15545 fail:
15546 return NULL;
15547 }
15548
15549
15550 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15551 PyObject *resultobj;
15552 wxPrintData *arg1 = (wxPrintData *) 0 ;
15553 wxSize *result;
15554 PyObject * obj0 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15561 {
15562 PyThreadState* __tstate = wxPyBeginAllowThreads();
15563 {
15564 wxSize const &_result_ref = (arg1)->GetPaperSize();
15565 result = (wxSize *) &_result_ref;
15566 }
15567
15568 wxPyEndAllowThreads(__tstate);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15572 return resultobj;
15573 fail:
15574 return NULL;
15575 }
15576
15577
15578 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 wxPrintData *arg1 = (wxPrintData *) 0 ;
15581 int result;
15582 PyObject * obj0 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 result = (int)(arg1)->GetQuality();
15592
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 resultobj = PyInt_FromLong((long)result);
15597 return resultobj;
15598 fail:
15599 return NULL;
15600 }
15601
15602
15603 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15604 PyObject *resultobj;
15605 wxPrintData *arg1 = (wxPrintData *) 0 ;
15606 int arg2 ;
15607 PyObject * obj0 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "self",(char *) "v", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 (arg1)->SetNoCopies(arg2);
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 Py_INCREF(Py_None); resultobj = Py_None;
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxPrintData *arg1 = (wxPrintData *) 0 ;
15631 bool arg2 ;
15632 PyObject * obj0 = 0 ;
15633 PyObject * obj1 = 0 ;
15634 char *kwnames[] = {
15635 (char *) "self",(char *) "flag", NULL
15636 };
15637
15638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15640 {
15641 arg2 = (bool) SPyObj_AsBool(obj1);
15642 if (PyErr_Occurred()) SWIG_fail;
15643 }
15644 {
15645 PyThreadState* __tstate = wxPyBeginAllowThreads();
15646 (arg1)->SetCollate(arg2);
15647
15648 wxPyEndAllowThreads(__tstate);
15649 if (PyErr_Occurred()) SWIG_fail;
15650 }
15651 Py_INCREF(Py_None); resultobj = Py_None;
15652 return resultobj;
15653 fail:
15654 return NULL;
15655 }
15656
15657
15658 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15659 PyObject *resultobj;
15660 wxPrintData *arg1 = (wxPrintData *) 0 ;
15661 int arg2 ;
15662 PyObject * obj0 = 0 ;
15663 char *kwnames[] = {
15664 (char *) "self",(char *) "orient", NULL
15665 };
15666
15667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15669 {
15670 PyThreadState* __tstate = wxPyBeginAllowThreads();
15671 (arg1)->SetOrientation(arg2);
15672
15673 wxPyEndAllowThreads(__tstate);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15676 Py_INCREF(Py_None); resultobj = Py_None;
15677 return resultobj;
15678 fail:
15679 return NULL;
15680 }
15681
15682
15683 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15684 PyObject *resultobj;
15685 wxPrintData *arg1 = (wxPrintData *) 0 ;
15686 wxString *arg2 = 0 ;
15687 bool temp2 = False ;
15688 PyObject * obj0 = 0 ;
15689 PyObject * obj1 = 0 ;
15690 char *kwnames[] = {
15691 (char *) "self",(char *) "name", NULL
15692 };
15693
15694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15696 {
15697 arg2 = wxString_in_helper(obj1);
15698 if (arg2 == NULL) SWIG_fail;
15699 temp2 = True;
15700 }
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 (arg1)->SetPrinterName((wxString const &)*arg2);
15704
15705 wxPyEndAllowThreads(__tstate);
15706 if (PyErr_Occurred()) SWIG_fail;
15707 }
15708 Py_INCREF(Py_None); resultobj = Py_None;
15709 {
15710 if (temp2)
15711 delete arg2;
15712 }
15713 return resultobj;
15714 fail:
15715 {
15716 if (temp2)
15717 delete arg2;
15718 }
15719 return NULL;
15720 }
15721
15722
15723 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15724 PyObject *resultobj;
15725 wxPrintData *arg1 = (wxPrintData *) 0 ;
15726 bool arg2 ;
15727 PyObject * obj0 = 0 ;
15728 PyObject * obj1 = 0 ;
15729 char *kwnames[] = {
15730 (char *) "self",(char *) "colour", NULL
15731 };
15732
15733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15735 {
15736 arg2 = (bool) SPyObj_AsBool(obj1);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 }
15739 {
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 (arg1)->SetColour(arg2);
15742
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 Py_INCREF(Py_None); resultobj = Py_None;
15747 return resultobj;
15748 fail:
15749 return NULL;
15750 }
15751
15752
15753 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15754 PyObject *resultobj;
15755 wxPrintData *arg1 = (wxPrintData *) 0 ;
15756 int arg2 ;
15757 PyObject * obj0 = 0 ;
15758 char *kwnames[] = {
15759 (char *) "self",(char *) "duplex", NULL
15760 };
15761
15762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15764 {
15765 PyThreadState* __tstate = wxPyBeginAllowThreads();
15766 (arg1)->SetDuplex((wxDuplexMode )arg2);
15767
15768 wxPyEndAllowThreads(__tstate);
15769 if (PyErr_Occurred()) SWIG_fail;
15770 }
15771 Py_INCREF(Py_None); resultobj = Py_None;
15772 return resultobj;
15773 fail:
15774 return NULL;
15775 }
15776
15777
15778 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15779 PyObject *resultobj;
15780 wxPrintData *arg1 = (wxPrintData *) 0 ;
15781 int arg2 ;
15782 PyObject * obj0 = 0 ;
15783 char *kwnames[] = {
15784 (char *) "self",(char *) "sizeId", NULL
15785 };
15786
15787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15789 {
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 (arg1)->SetPaperId((wxPaperSize )arg2);
15792
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 Py_INCREF(Py_None); resultobj = Py_None;
15797 return resultobj;
15798 fail:
15799 return NULL;
15800 }
15801
15802
15803 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15804 PyObject *resultobj;
15805 wxPrintData *arg1 = (wxPrintData *) 0 ;
15806 wxSize *arg2 = 0 ;
15807 wxSize temp2 ;
15808 PyObject * obj0 = 0 ;
15809 PyObject * obj1 = 0 ;
15810 char *kwnames[] = {
15811 (char *) "self",(char *) "sz", NULL
15812 };
15813
15814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15816 {
15817 arg2 = &temp2;
15818 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15819 }
15820 {
15821 PyThreadState* __tstate = wxPyBeginAllowThreads();
15822 (arg1)->SetPaperSize((wxSize const &)*arg2);
15823
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 Py_INCREF(Py_None); resultobj = Py_None;
15828 return resultobj;
15829 fail:
15830 return NULL;
15831 }
15832
15833
15834 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15835 PyObject *resultobj;
15836 wxPrintData *arg1 = (wxPrintData *) 0 ;
15837 int arg2 ;
15838 PyObject * obj0 = 0 ;
15839 char *kwnames[] = {
15840 (char *) "self",(char *) "quality", NULL
15841 };
15842
15843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetQuality",kwnames,&obj0,&arg2)) goto fail;
15844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15845 {
15846 PyThreadState* __tstate = wxPyBeginAllowThreads();
15847 (arg1)->SetQuality(arg2);
15848
15849 wxPyEndAllowThreads(__tstate);
15850 if (PyErr_Occurred()) SWIG_fail;
15851 }
15852 Py_INCREF(Py_None); resultobj = Py_None;
15853 return resultobj;
15854 fail:
15855 return NULL;
15856 }
15857
15858
15859 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15860 PyObject *resultobj;
15861 wxPrintData *arg1 = (wxPrintData *) 0 ;
15862 wxString *result;
15863 PyObject * obj0 = 0 ;
15864 char *kwnames[] = {
15865 (char *) "self", NULL
15866 };
15867
15868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15870 {
15871 PyThreadState* __tstate = wxPyBeginAllowThreads();
15872 {
15873 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15874 result = (wxString *) &_result_ref;
15875 }
15876
15877 wxPyEndAllowThreads(__tstate);
15878 if (PyErr_Occurred()) SWIG_fail;
15879 }
15880 {
15881 #if wxUSE_UNICODE
15882 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15883 #else
15884 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15885 #endif
15886 }
15887 return resultobj;
15888 fail:
15889 return NULL;
15890 }
15891
15892
15893 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15894 PyObject *resultobj;
15895 wxPrintData *arg1 = (wxPrintData *) 0 ;
15896 wxString *result;
15897 PyObject * obj0 = 0 ;
15898 char *kwnames[] = {
15899 (char *) "self", NULL
15900 };
15901
15902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15904 {
15905 PyThreadState* __tstate = wxPyBeginAllowThreads();
15906 {
15907 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15908 result = (wxString *) &_result_ref;
15909 }
15910
15911 wxPyEndAllowThreads(__tstate);
15912 if (PyErr_Occurred()) SWIG_fail;
15913 }
15914 {
15915 #if wxUSE_UNICODE
15916 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15917 #else
15918 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15919 #endif
15920 }
15921 return resultobj;
15922 fail:
15923 return NULL;
15924 }
15925
15926
15927 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15928 PyObject *resultobj;
15929 wxPrintData *arg1 = (wxPrintData *) 0 ;
15930 wxString *result;
15931 PyObject * obj0 = 0 ;
15932 char *kwnames[] = {
15933 (char *) "self", NULL
15934 };
15935
15936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 {
15941 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15942 result = (wxString *) &_result_ref;
15943 }
15944
15945 wxPyEndAllowThreads(__tstate);
15946 if (PyErr_Occurred()) SWIG_fail;
15947 }
15948 {
15949 #if wxUSE_UNICODE
15950 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15951 #else
15952 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15953 #endif
15954 }
15955 return resultobj;
15956 fail:
15957 return NULL;
15958 }
15959
15960
15961 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15962 PyObject *resultobj;
15963 wxPrintData *arg1 = (wxPrintData *) 0 ;
15964 wxString *result;
15965 PyObject * obj0 = 0 ;
15966 char *kwnames[] = {
15967 (char *) "self", NULL
15968 };
15969
15970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15972 {
15973 PyThreadState* __tstate = wxPyBeginAllowThreads();
15974 {
15975 wxString const &_result_ref = (arg1)->GetFilename();
15976 result = (wxString *) &_result_ref;
15977 }
15978
15979 wxPyEndAllowThreads(__tstate);
15980 if (PyErr_Occurred()) SWIG_fail;
15981 }
15982 {
15983 #if wxUSE_UNICODE
15984 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15985 #else
15986 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15987 #endif
15988 }
15989 return resultobj;
15990 fail:
15991 return NULL;
15992 }
15993
15994
15995 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15996 PyObject *resultobj;
15997 wxPrintData *arg1 = (wxPrintData *) 0 ;
15998 wxString *result;
15999 PyObject * obj0 = 0 ;
16000 char *kwnames[] = {
16001 (char *) "self", NULL
16002 };
16003
16004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
16005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16006 {
16007 PyThreadState* __tstate = wxPyBeginAllowThreads();
16008 {
16009 wxString const &_result_ref = (arg1)->GetFontMetricPath();
16010 result = (wxString *) &_result_ref;
16011 }
16012
16013 wxPyEndAllowThreads(__tstate);
16014 if (PyErr_Occurred()) SWIG_fail;
16015 }
16016 {
16017 #if wxUSE_UNICODE
16018 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16019 #else
16020 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16021 #endif
16022 }
16023 return resultobj;
16024 fail:
16025 return NULL;
16026 }
16027
16028
16029 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
16030 PyObject *resultobj;
16031 wxPrintData *arg1 = (wxPrintData *) 0 ;
16032 double result;
16033 PyObject * obj0 = 0 ;
16034 char *kwnames[] = {
16035 (char *) "self", NULL
16036 };
16037
16038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
16039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16040 {
16041 PyThreadState* __tstate = wxPyBeginAllowThreads();
16042 result = (double)(arg1)->GetPrinterScaleX();
16043
16044 wxPyEndAllowThreads(__tstate);
16045 if (PyErr_Occurred()) SWIG_fail;
16046 }
16047 resultobj = PyFloat_FromDouble(result);
16048 return resultobj;
16049 fail:
16050 return NULL;
16051 }
16052
16053
16054 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16055 PyObject *resultobj;
16056 wxPrintData *arg1 = (wxPrintData *) 0 ;
16057 double result;
16058 PyObject * obj0 = 0 ;
16059 char *kwnames[] = {
16060 (char *) "self", NULL
16061 };
16062
16063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
16064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16065 {
16066 PyThreadState* __tstate = wxPyBeginAllowThreads();
16067 result = (double)(arg1)->GetPrinterScaleY();
16068
16069 wxPyEndAllowThreads(__tstate);
16070 if (PyErr_Occurred()) SWIG_fail;
16071 }
16072 resultobj = PyFloat_FromDouble(result);
16073 return resultobj;
16074 fail:
16075 return NULL;
16076 }
16077
16078
16079 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16080 PyObject *resultobj;
16081 wxPrintData *arg1 = (wxPrintData *) 0 ;
16082 long result;
16083 PyObject * obj0 = 0 ;
16084 char *kwnames[] = {
16085 (char *) "self", NULL
16086 };
16087
16088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
16089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16090 {
16091 PyThreadState* __tstate = wxPyBeginAllowThreads();
16092 result = (long)(arg1)->GetPrinterTranslateX();
16093
16094 wxPyEndAllowThreads(__tstate);
16095 if (PyErr_Occurred()) SWIG_fail;
16096 }
16097 resultobj = PyInt_FromLong((long)result);
16098 return resultobj;
16099 fail:
16100 return NULL;
16101 }
16102
16103
16104 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16105 PyObject *resultobj;
16106 wxPrintData *arg1 = (wxPrintData *) 0 ;
16107 long result;
16108 PyObject * obj0 = 0 ;
16109 char *kwnames[] = {
16110 (char *) "self", NULL
16111 };
16112
16113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
16114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16115 {
16116 PyThreadState* __tstate = wxPyBeginAllowThreads();
16117 result = (long)(arg1)->GetPrinterTranslateY();
16118
16119 wxPyEndAllowThreads(__tstate);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 }
16122 resultobj = PyInt_FromLong((long)result);
16123 return resultobj;
16124 fail:
16125 return NULL;
16126 }
16127
16128
16129 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16130 PyObject *resultobj;
16131 wxPrintData *arg1 = (wxPrintData *) 0 ;
16132 int result;
16133 PyObject * obj0 = 0 ;
16134 char *kwnames[] = {
16135 (char *) "self", NULL
16136 };
16137
16138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
16139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16140 {
16141 PyThreadState* __tstate = wxPyBeginAllowThreads();
16142 result = (int)(arg1)->GetPrintMode();
16143
16144 wxPyEndAllowThreads(__tstate);
16145 if (PyErr_Occurred()) SWIG_fail;
16146 }
16147 resultobj = PyInt_FromLong((long)result);
16148 return resultobj;
16149 fail:
16150 return NULL;
16151 }
16152
16153
16154 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16155 PyObject *resultobj;
16156 wxPrintData *arg1 = (wxPrintData *) 0 ;
16157 wxString *arg2 = 0 ;
16158 bool temp2 = False ;
16159 PyObject * obj0 = 0 ;
16160 PyObject * obj1 = 0 ;
16161 char *kwnames[] = {
16162 (char *) "self",(char *) "command", NULL
16163 };
16164
16165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
16166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16167 {
16168 arg2 = wxString_in_helper(obj1);
16169 if (arg2 == NULL) SWIG_fail;
16170 temp2 = True;
16171 }
16172 {
16173 PyThreadState* __tstate = wxPyBeginAllowThreads();
16174 (arg1)->SetPrinterCommand((wxString const &)*arg2);
16175
16176 wxPyEndAllowThreads(__tstate);
16177 if (PyErr_Occurred()) SWIG_fail;
16178 }
16179 Py_INCREF(Py_None); resultobj = Py_None;
16180 {
16181 if (temp2)
16182 delete arg2;
16183 }
16184 return resultobj;
16185 fail:
16186 {
16187 if (temp2)
16188 delete arg2;
16189 }
16190 return NULL;
16191 }
16192
16193
16194 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
16195 PyObject *resultobj;
16196 wxPrintData *arg1 = (wxPrintData *) 0 ;
16197 wxString *arg2 = 0 ;
16198 bool temp2 = False ;
16199 PyObject * obj0 = 0 ;
16200 PyObject * obj1 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self",(char *) "options", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
16206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16207 {
16208 arg2 = wxString_in_helper(obj1);
16209 if (arg2 == NULL) SWIG_fail;
16210 temp2 = True;
16211 }
16212 {
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
16214 (arg1)->SetPrinterOptions((wxString const &)*arg2);
16215
16216 wxPyEndAllowThreads(__tstate);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 }
16219 Py_INCREF(Py_None); resultobj = Py_None;
16220 {
16221 if (temp2)
16222 delete arg2;
16223 }
16224 return resultobj;
16225 fail:
16226 {
16227 if (temp2)
16228 delete arg2;
16229 }
16230 return NULL;
16231 }
16232
16233
16234 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16235 PyObject *resultobj;
16236 wxPrintData *arg1 = (wxPrintData *) 0 ;
16237 wxString *arg2 = 0 ;
16238 bool temp2 = False ;
16239 PyObject * obj0 = 0 ;
16240 PyObject * obj1 = 0 ;
16241 char *kwnames[] = {
16242 (char *) "self",(char *) "command", NULL
16243 };
16244
16245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
16246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16247 {
16248 arg2 = wxString_in_helper(obj1);
16249 if (arg2 == NULL) SWIG_fail;
16250 temp2 = True;
16251 }
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
16254 (arg1)->SetPreviewCommand((wxString const &)*arg2);
16255
16256 wxPyEndAllowThreads(__tstate);
16257 if (PyErr_Occurred()) SWIG_fail;
16258 }
16259 Py_INCREF(Py_None); resultobj = Py_None;
16260 {
16261 if (temp2)
16262 delete arg2;
16263 }
16264 return resultobj;
16265 fail:
16266 {
16267 if (temp2)
16268 delete arg2;
16269 }
16270 return NULL;
16271 }
16272
16273
16274 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj;
16276 wxPrintData *arg1 = (wxPrintData *) 0 ;
16277 wxString *arg2 = 0 ;
16278 bool temp2 = False ;
16279 PyObject * obj0 = 0 ;
16280 PyObject * obj1 = 0 ;
16281 char *kwnames[] = {
16282 (char *) "self",(char *) "filename", NULL
16283 };
16284
16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
16286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16287 {
16288 arg2 = wxString_in_helper(obj1);
16289 if (arg2 == NULL) SWIG_fail;
16290 temp2 = True;
16291 }
16292 {
16293 PyThreadState* __tstate = wxPyBeginAllowThreads();
16294 (arg1)->SetFilename((wxString const &)*arg2);
16295
16296 wxPyEndAllowThreads(__tstate);
16297 if (PyErr_Occurred()) SWIG_fail;
16298 }
16299 Py_INCREF(Py_None); resultobj = Py_None;
16300 {
16301 if (temp2)
16302 delete arg2;
16303 }
16304 return resultobj;
16305 fail:
16306 {
16307 if (temp2)
16308 delete arg2;
16309 }
16310 return NULL;
16311 }
16312
16313
16314 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj;
16316 wxPrintData *arg1 = (wxPrintData *) 0 ;
16317 wxString *arg2 = 0 ;
16318 bool temp2 = False ;
16319 PyObject * obj0 = 0 ;
16320 PyObject * obj1 = 0 ;
16321 char *kwnames[] = {
16322 (char *) "self",(char *) "path", NULL
16323 };
16324
16325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
16326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16327 {
16328 arg2 = wxString_in_helper(obj1);
16329 if (arg2 == NULL) SWIG_fail;
16330 temp2 = True;
16331 }
16332 {
16333 PyThreadState* __tstate = wxPyBeginAllowThreads();
16334 (arg1)->SetFontMetricPath((wxString const &)*arg2);
16335
16336 wxPyEndAllowThreads(__tstate);
16337 if (PyErr_Occurred()) SWIG_fail;
16338 }
16339 Py_INCREF(Py_None); resultobj = Py_None;
16340 {
16341 if (temp2)
16342 delete arg2;
16343 }
16344 return resultobj;
16345 fail:
16346 {
16347 if (temp2)
16348 delete arg2;
16349 }
16350 return NULL;
16351 }
16352
16353
16354 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
16355 PyObject *resultobj;
16356 wxPrintData *arg1 = (wxPrintData *) 0 ;
16357 double arg2 ;
16358 PyObject * obj0 = 0 ;
16359 char *kwnames[] = {
16360 (char *) "self",(char *) "x", NULL
16361 };
16362
16363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
16364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16365 {
16366 PyThreadState* __tstate = wxPyBeginAllowThreads();
16367 (arg1)->SetPrinterScaleX(arg2);
16368
16369 wxPyEndAllowThreads(__tstate);
16370 if (PyErr_Occurred()) SWIG_fail;
16371 }
16372 Py_INCREF(Py_None); resultobj = Py_None;
16373 return resultobj;
16374 fail:
16375 return NULL;
16376 }
16377
16378
16379 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16380 PyObject *resultobj;
16381 wxPrintData *arg1 = (wxPrintData *) 0 ;
16382 double arg2 ;
16383 PyObject * obj0 = 0 ;
16384 char *kwnames[] = {
16385 (char *) "self",(char *) "y", NULL
16386 };
16387
16388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
16389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16390 {
16391 PyThreadState* __tstate = wxPyBeginAllowThreads();
16392 (arg1)->SetPrinterScaleY(arg2);
16393
16394 wxPyEndAllowThreads(__tstate);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 }
16397 Py_INCREF(Py_None); resultobj = Py_None;
16398 return resultobj;
16399 fail:
16400 return NULL;
16401 }
16402
16403
16404 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
16405 PyObject *resultobj;
16406 wxPrintData *arg1 = (wxPrintData *) 0 ;
16407 double arg2 ;
16408 double arg3 ;
16409 PyObject * obj0 = 0 ;
16410 char *kwnames[] = {
16411 (char *) "self",(char *) "x",(char *) "y", NULL
16412 };
16413
16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
16415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16416 {
16417 PyThreadState* __tstate = wxPyBeginAllowThreads();
16418 (arg1)->SetPrinterScaling(arg2,arg3);
16419
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 Py_INCREF(Py_None); resultobj = Py_None;
16424 return resultobj;
16425 fail:
16426 return NULL;
16427 }
16428
16429
16430 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16431 PyObject *resultobj;
16432 wxPrintData *arg1 = (wxPrintData *) 0 ;
16433 long arg2 ;
16434 PyObject * obj0 = 0 ;
16435 char *kwnames[] = {
16436 (char *) "self",(char *) "x", NULL
16437 };
16438
16439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
16440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16441 {
16442 PyThreadState* __tstate = wxPyBeginAllowThreads();
16443 (arg1)->SetPrinterTranslateX(arg2);
16444
16445 wxPyEndAllowThreads(__tstate);
16446 if (PyErr_Occurred()) SWIG_fail;
16447 }
16448 Py_INCREF(Py_None); resultobj = Py_None;
16449 return resultobj;
16450 fail:
16451 return NULL;
16452 }
16453
16454
16455 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16456 PyObject *resultobj;
16457 wxPrintData *arg1 = (wxPrintData *) 0 ;
16458 long arg2 ;
16459 PyObject * obj0 = 0 ;
16460 char *kwnames[] = {
16461 (char *) "self",(char *) "y", NULL
16462 };
16463
16464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
16465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16466 {
16467 PyThreadState* __tstate = wxPyBeginAllowThreads();
16468 (arg1)->SetPrinterTranslateY(arg2);
16469
16470 wxPyEndAllowThreads(__tstate);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 }
16473 Py_INCREF(Py_None); resultobj = Py_None;
16474 return resultobj;
16475 fail:
16476 return NULL;
16477 }
16478
16479
16480 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
16481 PyObject *resultobj;
16482 wxPrintData *arg1 = (wxPrintData *) 0 ;
16483 long arg2 ;
16484 long arg3 ;
16485 PyObject * obj0 = 0 ;
16486 char *kwnames[] = {
16487 (char *) "self",(char *) "x",(char *) "y", NULL
16488 };
16489
16490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
16491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 (arg1)->SetPrinterTranslation(arg2,arg3);
16495
16496 wxPyEndAllowThreads(__tstate);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 }
16499 Py_INCREF(Py_None); resultobj = Py_None;
16500 return resultobj;
16501 fail:
16502 return NULL;
16503 }
16504
16505
16506 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16507 PyObject *resultobj;
16508 wxPrintData *arg1 = (wxPrintData *) 0 ;
16509 int arg2 ;
16510 PyObject * obj0 = 0 ;
16511 char *kwnames[] = {
16512 (char *) "self",(char *) "printMode", NULL
16513 };
16514
16515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
16516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16517 {
16518 PyThreadState* __tstate = wxPyBeginAllowThreads();
16519 (arg1)->SetPrintMode((wxPrintMode )arg2);
16520
16521 wxPyEndAllowThreads(__tstate);
16522 if (PyErr_Occurred()) SWIG_fail;
16523 }
16524 Py_INCREF(Py_None); resultobj = Py_None;
16525 return resultobj;
16526 fail:
16527 return NULL;
16528 }
16529
16530
16531 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
16532 PyObject *obj;
16533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16534 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
16535 Py_INCREF(obj);
16536 return Py_BuildValue((char *)"");
16537 }
16538 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16539 PyObject *resultobj;
16540 wxPageSetupDialogData *result;
16541 char *kwnames[] = {
16542 NULL
16543 };
16544
16545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16546 {
16547 PyThreadState* __tstate = wxPyBeginAllowThreads();
16548 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16549
16550 wxPyEndAllowThreads(__tstate);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 }
16553 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16554 return resultobj;
16555 fail:
16556 return NULL;
16557 }
16558
16559
16560 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16561 PyObject *resultobj;
16562 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16563 PyObject * obj0 = 0 ;
16564 char *kwnames[] = {
16565 (char *) "self", NULL
16566 };
16567
16568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16570 {
16571 PyThreadState* __tstate = wxPyBeginAllowThreads();
16572 delete arg1;
16573
16574 wxPyEndAllowThreads(__tstate);
16575 if (PyErr_Occurred()) SWIG_fail;
16576 }
16577 Py_INCREF(Py_None); resultobj = Py_None;
16578 return resultobj;
16579 fail:
16580 return NULL;
16581 }
16582
16583
16584 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16587 bool arg2 ;
16588 PyObject * obj0 = 0 ;
16589 PyObject * obj1 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "self",(char *) "flag", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16596 {
16597 arg2 = (bool) SPyObj_AsBool(obj1);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 (arg1)->EnableHelp(arg2);
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 Py_INCREF(Py_None); resultobj = Py_None;
16608 return resultobj;
16609 fail:
16610 return NULL;
16611 }
16612
16613
16614 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16615 PyObject *resultobj;
16616 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16617 bool arg2 ;
16618 PyObject * obj0 = 0 ;
16619 PyObject * obj1 = 0 ;
16620 char *kwnames[] = {
16621 (char *) "self",(char *) "flag", NULL
16622 };
16623
16624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16626 {
16627 arg2 = (bool) SPyObj_AsBool(obj1);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 {
16631 PyThreadState* __tstate = wxPyBeginAllowThreads();
16632 (arg1)->EnableMargins(arg2);
16633
16634 wxPyEndAllowThreads(__tstate);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 }
16637 Py_INCREF(Py_None); resultobj = Py_None;
16638 return resultobj;
16639 fail:
16640 return NULL;
16641 }
16642
16643
16644 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16645 PyObject *resultobj;
16646 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16647 bool arg2 ;
16648 PyObject * obj0 = 0 ;
16649 PyObject * obj1 = 0 ;
16650 char *kwnames[] = {
16651 (char *) "self",(char *) "flag", NULL
16652 };
16653
16654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16656 {
16657 arg2 = (bool) SPyObj_AsBool(obj1);
16658 if (PyErr_Occurred()) SWIG_fail;
16659 }
16660 {
16661 PyThreadState* __tstate = wxPyBeginAllowThreads();
16662 (arg1)->EnableOrientation(arg2);
16663
16664 wxPyEndAllowThreads(__tstate);
16665 if (PyErr_Occurred()) SWIG_fail;
16666 }
16667 Py_INCREF(Py_None); resultobj = Py_None;
16668 return resultobj;
16669 fail:
16670 return NULL;
16671 }
16672
16673
16674 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16675 PyObject *resultobj;
16676 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16677 bool arg2 ;
16678 PyObject * obj0 = 0 ;
16679 PyObject * obj1 = 0 ;
16680 char *kwnames[] = {
16681 (char *) "self",(char *) "flag", NULL
16682 };
16683
16684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16686 {
16687 arg2 = (bool) SPyObj_AsBool(obj1);
16688 if (PyErr_Occurred()) SWIG_fail;
16689 }
16690 {
16691 PyThreadState* __tstate = wxPyBeginAllowThreads();
16692 (arg1)->EnablePaper(arg2);
16693
16694 wxPyEndAllowThreads(__tstate);
16695 if (PyErr_Occurred()) SWIG_fail;
16696 }
16697 Py_INCREF(Py_None); resultobj = Py_None;
16698 return resultobj;
16699 fail:
16700 return NULL;
16701 }
16702
16703
16704 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16705 PyObject *resultobj;
16706 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16707 bool arg2 ;
16708 PyObject * obj0 = 0 ;
16709 PyObject * obj1 = 0 ;
16710 char *kwnames[] = {
16711 (char *) "self",(char *) "flag", NULL
16712 };
16713
16714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16716 {
16717 arg2 = (bool) SPyObj_AsBool(obj1);
16718 if (PyErr_Occurred()) SWIG_fail;
16719 }
16720 {
16721 PyThreadState* __tstate = wxPyBeginAllowThreads();
16722 (arg1)->EnablePrinter(arg2);
16723
16724 wxPyEndAllowThreads(__tstate);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 }
16727 Py_INCREF(Py_None); resultobj = Py_None;
16728 return resultobj;
16729 fail:
16730 return NULL;
16731 }
16732
16733
16734 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16735 PyObject *resultobj;
16736 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16737 bool result;
16738 PyObject * obj0 = 0 ;
16739 char *kwnames[] = {
16740 (char *) "self", NULL
16741 };
16742
16743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 result = (bool)(arg1)->GetDefaultMinMargins();
16748
16749 wxPyEndAllowThreads(__tstate);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 }
16752 resultobj = PyInt_FromLong((long)result);
16753 return resultobj;
16754 fail:
16755 return NULL;
16756 }
16757
16758
16759 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16760 PyObject *resultobj;
16761 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16762 bool result;
16763 PyObject * obj0 = 0 ;
16764 char *kwnames[] = {
16765 (char *) "self", NULL
16766 };
16767
16768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 result = (bool)(arg1)->GetEnableMargins();
16773
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 resultobj = PyInt_FromLong((long)result);
16778 return resultobj;
16779 fail:
16780 return NULL;
16781 }
16782
16783
16784 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj;
16786 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16787 bool result;
16788 PyObject * obj0 = 0 ;
16789 char *kwnames[] = {
16790 (char *) "self", NULL
16791 };
16792
16793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16795 {
16796 PyThreadState* __tstate = wxPyBeginAllowThreads();
16797 result = (bool)(arg1)->GetEnableOrientation();
16798
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 resultobj = PyInt_FromLong((long)result);
16803 return resultobj;
16804 fail:
16805 return NULL;
16806 }
16807
16808
16809 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16810 PyObject *resultobj;
16811 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16812 bool result;
16813 PyObject * obj0 = 0 ;
16814 char *kwnames[] = {
16815 (char *) "self", NULL
16816 };
16817
16818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 result = (bool)(arg1)->GetEnablePaper();
16823
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 resultobj = PyInt_FromLong((long)result);
16828 return resultobj;
16829 fail:
16830 return NULL;
16831 }
16832
16833
16834 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16835 PyObject *resultobj;
16836 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16837 bool result;
16838 PyObject * obj0 = 0 ;
16839 char *kwnames[] = {
16840 (char *) "self", NULL
16841 };
16842
16843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16845 {
16846 PyThreadState* __tstate = wxPyBeginAllowThreads();
16847 result = (bool)(arg1)->GetEnablePrinter();
16848
16849 wxPyEndAllowThreads(__tstate);
16850 if (PyErr_Occurred()) SWIG_fail;
16851 }
16852 resultobj = PyInt_FromLong((long)result);
16853 return resultobj;
16854 fail:
16855 return NULL;
16856 }
16857
16858
16859 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16860 PyObject *resultobj;
16861 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16862 bool result;
16863 PyObject * obj0 = 0 ;
16864 char *kwnames[] = {
16865 (char *) "self", NULL
16866 };
16867
16868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16870 {
16871 PyThreadState* __tstate = wxPyBeginAllowThreads();
16872 result = (bool)(arg1)->GetEnableHelp();
16873
16874 wxPyEndAllowThreads(__tstate);
16875 if (PyErr_Occurred()) SWIG_fail;
16876 }
16877 resultobj = PyInt_FromLong((long)result);
16878 return resultobj;
16879 fail:
16880 return NULL;
16881 }
16882
16883
16884 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16885 PyObject *resultobj;
16886 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16887 bool result;
16888 PyObject * obj0 = 0 ;
16889 char *kwnames[] = {
16890 (char *) "self", NULL
16891 };
16892
16893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 result = (bool)(arg1)->GetDefaultInfo();
16898
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 resultobj = PyInt_FromLong((long)result);
16903 return resultobj;
16904 fail:
16905 return NULL;
16906 }
16907
16908
16909 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16910 PyObject *resultobj;
16911 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16912 wxPoint result;
16913 PyObject * obj0 = 0 ;
16914 char *kwnames[] = {
16915 (char *) "self", NULL
16916 };
16917
16918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16920 {
16921 PyThreadState* __tstate = wxPyBeginAllowThreads();
16922 result = (arg1)->GetMarginTopLeft();
16923
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 {
16928 wxPoint * resultptr;
16929 resultptr = new wxPoint((wxPoint &) result);
16930 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16931 }
16932 return resultobj;
16933 fail:
16934 return NULL;
16935 }
16936
16937
16938 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj;
16940 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16941 wxPoint result;
16942 PyObject * obj0 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16949 {
16950 PyThreadState* __tstate = wxPyBeginAllowThreads();
16951 result = (arg1)->GetMarginBottomRight();
16952
16953 wxPyEndAllowThreads(__tstate);
16954 if (PyErr_Occurred()) SWIG_fail;
16955 }
16956 {
16957 wxPoint * resultptr;
16958 resultptr = new wxPoint((wxPoint &) result);
16959 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16960 }
16961 return resultobj;
16962 fail:
16963 return NULL;
16964 }
16965
16966
16967 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj;
16969 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16970 wxPoint result;
16971 PyObject * obj0 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "self", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16978 {
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 result = (arg1)->GetMinMarginTopLeft();
16981
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 {
16986 wxPoint * resultptr;
16987 resultptr = new wxPoint((wxPoint &) result);
16988 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16989 }
16990 return resultobj;
16991 fail:
16992 return NULL;
16993 }
16994
16995
16996 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16997 PyObject *resultobj;
16998 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16999 wxPoint result;
17000 PyObject * obj0 = 0 ;
17001 char *kwnames[] = {
17002 (char *) "self", NULL
17003 };
17004
17005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
17006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 result = (arg1)->GetMinMarginBottomRight();
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 {
17015 wxPoint * resultptr;
17016 resultptr = new wxPoint((wxPoint &) result);
17017 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17018 }
17019 return resultobj;
17020 fail:
17021 return NULL;
17022 }
17023
17024
17025 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17026 PyObject *resultobj;
17027 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17028 int result;
17029 PyObject * obj0 = 0 ;
17030 char *kwnames[] = {
17031 (char *) "self", NULL
17032 };
17033
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
17035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17036 {
17037 PyThreadState* __tstate = wxPyBeginAllowThreads();
17038 result = (int)(arg1)->GetPaperId();
17039
17040 wxPyEndAllowThreads(__tstate);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 }
17043 resultobj = PyInt_FromLong((long)result);
17044 return resultobj;
17045 fail:
17046 return NULL;
17047 }
17048
17049
17050 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17051 PyObject *resultobj;
17052 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17053 wxSize result;
17054 PyObject * obj0 = 0 ;
17055 char *kwnames[] = {
17056 (char *) "self", NULL
17057 };
17058
17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
17060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17061 {
17062 PyThreadState* __tstate = wxPyBeginAllowThreads();
17063 result = (arg1)->GetPaperSize();
17064
17065 wxPyEndAllowThreads(__tstate);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
17068 {
17069 wxSize * resultptr;
17070 resultptr = new wxSize((wxSize &) result);
17071 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17072 }
17073 return resultobj;
17074 fail:
17075 return NULL;
17076 }
17077
17078
17079 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17080 PyObject *resultobj;
17081 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17082 wxPrintData *result;
17083 PyObject * obj0 = 0 ;
17084 char *kwnames[] = {
17085 (char *) "self", NULL
17086 };
17087
17088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17090 {
17091 PyThreadState* __tstate = wxPyBeginAllowThreads();
17092 {
17093 wxPrintData &_result_ref = (arg1)->GetPrintData();
17094 result = (wxPrintData *) &_result_ref;
17095 }
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17101 return resultobj;
17102 fail:
17103 return NULL;
17104 }
17105
17106
17107 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17108 PyObject *resultobj;
17109 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17110 bool result;
17111 PyObject * obj0 = 0 ;
17112 char *kwnames[] = {
17113 (char *) "self", NULL
17114 };
17115
17116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
17117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 result = (bool)(arg1)->Ok();
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 resultobj = PyInt_FromLong((long)result);
17126 return resultobj;
17127 fail:
17128 return NULL;
17129 }
17130
17131
17132 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj;
17134 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17135 bool arg2 ;
17136 PyObject * obj0 = 0 ;
17137 PyObject * obj1 = 0 ;
17138 char *kwnames[] = {
17139 (char *) "self",(char *) "flag", NULL
17140 };
17141
17142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
17143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17144 {
17145 arg2 = (bool) SPyObj_AsBool(obj1);
17146 if (PyErr_Occurred()) SWIG_fail;
17147 }
17148 {
17149 PyThreadState* __tstate = wxPyBeginAllowThreads();
17150 (arg1)->SetDefaultInfo(arg2);
17151
17152 wxPyEndAllowThreads(__tstate);
17153 if (PyErr_Occurred()) SWIG_fail;
17154 }
17155 Py_INCREF(Py_None); resultobj = Py_None;
17156 return resultobj;
17157 fail:
17158 return NULL;
17159 }
17160
17161
17162 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17163 PyObject *resultobj;
17164 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17165 bool arg2 ;
17166 PyObject * obj0 = 0 ;
17167 PyObject * obj1 = 0 ;
17168 char *kwnames[] = {
17169 (char *) "self",(char *) "flag", NULL
17170 };
17171
17172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
17173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17174 {
17175 arg2 = (bool) SPyObj_AsBool(obj1);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 {
17179 PyThreadState* __tstate = wxPyBeginAllowThreads();
17180 (arg1)->SetDefaultMinMargins(arg2);
17181
17182 wxPyEndAllowThreads(__tstate);
17183 if (PyErr_Occurred()) SWIG_fail;
17184 }
17185 Py_INCREF(Py_None); resultobj = Py_None;
17186 return resultobj;
17187 fail:
17188 return NULL;
17189 }
17190
17191
17192 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17193 PyObject *resultobj;
17194 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17195 wxPoint *arg2 = 0 ;
17196 wxPoint temp2 ;
17197 PyObject * obj0 = 0 ;
17198 PyObject * obj1 = 0 ;
17199 char *kwnames[] = {
17200 (char *) "self",(char *) "pt", NULL
17201 };
17202
17203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
17204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17205 {
17206 arg2 = &temp2;
17207 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17208 }
17209 {
17210 PyThreadState* __tstate = wxPyBeginAllowThreads();
17211 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
17212
17213 wxPyEndAllowThreads(__tstate);
17214 if (PyErr_Occurred()) SWIG_fail;
17215 }
17216 Py_INCREF(Py_None); resultobj = Py_None;
17217 return resultobj;
17218 fail:
17219 return NULL;
17220 }
17221
17222
17223 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17224 PyObject *resultobj;
17225 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17226 wxPoint *arg2 = 0 ;
17227 wxPoint temp2 ;
17228 PyObject * obj0 = 0 ;
17229 PyObject * obj1 = 0 ;
17230 char *kwnames[] = {
17231 (char *) "self",(char *) "pt", NULL
17232 };
17233
17234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
17235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17236 {
17237 arg2 = &temp2;
17238 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17239 }
17240 {
17241 PyThreadState* __tstate = wxPyBeginAllowThreads();
17242 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
17243
17244 wxPyEndAllowThreads(__tstate);
17245 if (PyErr_Occurred()) SWIG_fail;
17246 }
17247 Py_INCREF(Py_None); resultobj = Py_None;
17248 return resultobj;
17249 fail:
17250 return NULL;
17251 }
17252
17253
17254 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17255 PyObject *resultobj;
17256 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17257 wxPoint *arg2 = 0 ;
17258 wxPoint temp2 ;
17259 PyObject * obj0 = 0 ;
17260 PyObject * obj1 = 0 ;
17261 char *kwnames[] = {
17262 (char *) "self",(char *) "pt", NULL
17263 };
17264
17265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
17266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17267 {
17268 arg2 = &temp2;
17269 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17270 }
17271 {
17272 PyThreadState* __tstate = wxPyBeginAllowThreads();
17273 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
17274
17275 wxPyEndAllowThreads(__tstate);
17276 if (PyErr_Occurred()) SWIG_fail;
17277 }
17278 Py_INCREF(Py_None); resultobj = Py_None;
17279 return resultobj;
17280 fail:
17281 return NULL;
17282 }
17283
17284
17285 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj;
17287 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17288 wxPoint *arg2 = 0 ;
17289 wxPoint temp2 ;
17290 PyObject * obj0 = 0 ;
17291 PyObject * obj1 = 0 ;
17292 char *kwnames[] = {
17293 (char *) "self",(char *) "pt", NULL
17294 };
17295
17296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
17297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17298 {
17299 arg2 = &temp2;
17300 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17301 }
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
17305
17306 wxPyEndAllowThreads(__tstate);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 Py_INCREF(Py_None); resultobj = Py_None;
17310 return resultobj;
17311 fail:
17312 return NULL;
17313 }
17314
17315
17316 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17317 PyObject *resultobj;
17318 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17319 int arg2 ;
17320 PyObject * obj0 = 0 ;
17321 char *kwnames[] = {
17322 (char *) "self",(char *) "id", NULL
17323 };
17324
17325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
17326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 (arg1)->SetPaperId((wxPaperSize )arg2);
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 Py_INCREF(Py_None); resultobj = Py_None;
17335 return resultobj;
17336 fail:
17337 return NULL;
17338 }
17339
17340
17341 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj;
17343 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17344 wxSize *arg2 = 0 ;
17345 wxSize temp2 ;
17346 PyObject * obj0 = 0 ;
17347 PyObject * obj1 = 0 ;
17348 char *kwnames[] = {
17349 (char *) "self",(char *) "size", NULL
17350 };
17351
17352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17354 {
17355 arg2 = &temp2;
17356 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17357 }
17358 {
17359 PyThreadState* __tstate = wxPyBeginAllowThreads();
17360 (arg1)->SetPaperSize((wxSize const &)*arg2);
17361
17362 wxPyEndAllowThreads(__tstate);
17363 if (PyErr_Occurred()) SWIG_fail;
17364 }
17365 Py_INCREF(Py_None); resultobj = Py_None;
17366 return resultobj;
17367 fail:
17368 return NULL;
17369 }
17370
17371
17372 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17373 PyObject *resultobj;
17374 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17375 wxPrintData *arg2 = 0 ;
17376 PyObject * obj0 = 0 ;
17377 PyObject * obj1 = 0 ;
17378 char *kwnames[] = {
17379 (char *) "self",(char *) "printData", NULL
17380 };
17381
17382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17385 if (arg2 == NULL) {
17386 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17387 }
17388 {
17389 PyThreadState* __tstate = wxPyBeginAllowThreads();
17390 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17391
17392 wxPyEndAllowThreads(__tstate);
17393 if (PyErr_Occurred()) SWIG_fail;
17394 }
17395 Py_INCREF(Py_None); resultobj = Py_None;
17396 return resultobj;
17397 fail:
17398 return NULL;
17399 }
17400
17401
17402 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
17403 PyObject *obj;
17404 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17405 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
17406 Py_INCREF(obj);
17407 return Py_BuildValue((char *)"");
17408 }
17409 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17410 PyObject *resultobj;
17411 wxWindow *arg1 = (wxWindow *) 0 ;
17412 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
17413 wxPageSetupDialog *result;
17414 PyObject * obj0 = 0 ;
17415 PyObject * obj1 = 0 ;
17416 char *kwnames[] = {
17417 (char *) "parent",(char *) "data", NULL
17418 };
17419
17420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17422 if (obj1) {
17423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17424 }
17425 {
17426 PyThreadState* __tstate = wxPyBeginAllowThreads();
17427 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
17428
17429 wxPyEndAllowThreads(__tstate);
17430 if (PyErr_Occurred()) SWIG_fail;
17431 }
17432 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
17433 return resultobj;
17434 fail:
17435 return NULL;
17436 }
17437
17438
17439 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
17440 PyObject *resultobj;
17441 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17442 wxPageSetupDialogData *result;
17443 PyObject * obj0 = 0 ;
17444 char *kwnames[] = {
17445 (char *) "self", NULL
17446 };
17447
17448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
17449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17450 {
17451 PyThreadState* __tstate = wxPyBeginAllowThreads();
17452 {
17453 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
17454 result = (wxPageSetupDialogData *) &_result_ref;
17455 }
17456
17457 wxPyEndAllowThreads(__tstate);
17458 if (PyErr_Occurred()) SWIG_fail;
17459 }
17460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
17461 return resultobj;
17462 fail:
17463 return NULL;
17464 }
17465
17466
17467 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17468 PyObject *resultobj;
17469 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17470 int result;
17471 PyObject * obj0 = 0 ;
17472 char *kwnames[] = {
17473 (char *) "self", NULL
17474 };
17475
17476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
17477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17478 {
17479 PyThreadState* __tstate = wxPyBeginAllowThreads();
17480 result = (int)(arg1)->ShowModal();
17481
17482 wxPyEndAllowThreads(__tstate);
17483 if (PyErr_Occurred()) SWIG_fail;
17484 }
17485 resultobj = PyInt_FromLong((long)result);
17486 return resultobj;
17487 fail:
17488 return NULL;
17489 }
17490
17491
17492 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
17493 PyObject *obj;
17494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17495 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
17496 Py_INCREF(obj);
17497 return Py_BuildValue((char *)"");
17498 }
17499 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj;
17501 wxPrintDialogData *result;
17502 char *kwnames[] = {
17503 NULL
17504 };
17505
17506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
17507 {
17508 PyThreadState* __tstate = wxPyBeginAllowThreads();
17509 result = (wxPrintDialogData *)new wxPrintDialogData();
17510
17511 wxPyEndAllowThreads(__tstate);
17512 if (PyErr_Occurred()) SWIG_fail;
17513 }
17514 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
17515 return resultobj;
17516 fail:
17517 return NULL;
17518 }
17519
17520
17521 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17522 PyObject *resultobj;
17523 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17524 PyObject * obj0 = 0 ;
17525 char *kwnames[] = {
17526 (char *) "self", NULL
17527 };
17528
17529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
17530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17531 {
17532 PyThreadState* __tstate = wxPyBeginAllowThreads();
17533 delete arg1;
17534
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 Py_INCREF(Py_None); resultobj = Py_None;
17539 return resultobj;
17540 fail:
17541 return NULL;
17542 }
17543
17544
17545 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17546 PyObject *resultobj;
17547 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17548 int result;
17549 PyObject * obj0 = 0 ;
17550 char *kwnames[] = {
17551 (char *) "self", NULL
17552 };
17553
17554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17556 {
17557 PyThreadState* __tstate = wxPyBeginAllowThreads();
17558 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17559
17560 wxPyEndAllowThreads(__tstate);
17561 if (PyErr_Occurred()) SWIG_fail;
17562 }
17563 resultobj = PyInt_FromLong((long)result);
17564 return resultobj;
17565 fail:
17566 return NULL;
17567 }
17568
17569
17570 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17571 PyObject *resultobj;
17572 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17573 int result;
17574 PyObject * obj0 = 0 ;
17575 char *kwnames[] = {
17576 (char *) "self", NULL
17577 };
17578
17579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17581 {
17582 PyThreadState* __tstate = wxPyBeginAllowThreads();
17583 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17584
17585 wxPyEndAllowThreads(__tstate);
17586 if (PyErr_Occurred()) SWIG_fail;
17587 }
17588 resultobj = PyInt_FromLong((long)result);
17589 return resultobj;
17590 fail:
17591 return NULL;
17592 }
17593
17594
17595 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17596 PyObject *resultobj;
17597 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17598 int result;
17599 PyObject * obj0 = 0 ;
17600 char *kwnames[] = {
17601 (char *) "self", NULL
17602 };
17603
17604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17606 {
17607 PyThreadState* __tstate = wxPyBeginAllowThreads();
17608 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17609
17610 wxPyEndAllowThreads(__tstate);
17611 if (PyErr_Occurred()) SWIG_fail;
17612 }
17613 resultobj = PyInt_FromLong((long)result);
17614 return resultobj;
17615 fail:
17616 return NULL;
17617 }
17618
17619
17620 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17621 PyObject *resultobj;
17622 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17623 int result;
17624 PyObject * obj0 = 0 ;
17625 char *kwnames[] = {
17626 (char *) "self", NULL
17627 };
17628
17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 resultobj = PyInt_FromLong((long)result);
17639 return resultobj;
17640 fail:
17641 return NULL;
17642 }
17643
17644
17645 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj;
17647 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17648 int result;
17649 PyObject * obj0 = 0 ;
17650 char *kwnames[] = {
17651 (char *) "self", NULL
17652 };
17653
17654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 resultobj = PyInt_FromLong((long)result);
17664 return resultobj;
17665 fail:
17666 return NULL;
17667 }
17668
17669
17670 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj;
17672 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17673 bool result;
17674 PyObject * obj0 = 0 ;
17675 char *kwnames[] = {
17676 (char *) "self", NULL
17677 };
17678
17679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17681 {
17682 PyThreadState* __tstate = wxPyBeginAllowThreads();
17683 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17684
17685 wxPyEndAllowThreads(__tstate);
17686 if (PyErr_Occurred()) SWIG_fail;
17687 }
17688 resultobj = PyInt_FromLong((long)result);
17689 return resultobj;
17690 fail:
17691 return NULL;
17692 }
17693
17694
17695 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17696 PyObject *resultobj;
17697 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17698 bool result;
17699 PyObject * obj0 = 0 ;
17700 char *kwnames[] = {
17701 (char *) "self", NULL
17702 };
17703
17704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17706 {
17707 PyThreadState* __tstate = wxPyBeginAllowThreads();
17708 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17709
17710 wxPyEndAllowThreads(__tstate);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 }
17713 resultobj = PyInt_FromLong((long)result);
17714 return resultobj;
17715 fail:
17716 return NULL;
17717 }
17718
17719
17720 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17721 PyObject *resultobj;
17722 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17723 bool result;
17724 PyObject * obj0 = 0 ;
17725 char *kwnames[] = {
17726 (char *) "self", NULL
17727 };
17728
17729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17731 {
17732 PyThreadState* __tstate = wxPyBeginAllowThreads();
17733 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17734
17735 wxPyEndAllowThreads(__tstate);
17736 if (PyErr_Occurred()) SWIG_fail;
17737 }
17738 resultobj = PyInt_FromLong((long)result);
17739 return resultobj;
17740 fail:
17741 return NULL;
17742 }
17743
17744
17745 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17746 PyObject *resultobj;
17747 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17748 bool result;
17749 PyObject * obj0 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "self", NULL
17752 };
17753
17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17756 {
17757 PyThreadState* __tstate = wxPyBeginAllowThreads();
17758 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17759
17760 wxPyEndAllowThreads(__tstate);
17761 if (PyErr_Occurred()) SWIG_fail;
17762 }
17763 resultobj = PyInt_FromLong((long)result);
17764 return resultobj;
17765 fail:
17766 return NULL;
17767 }
17768
17769
17770 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17771 PyObject *resultobj;
17772 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17773 bool result;
17774 PyObject * obj0 = 0 ;
17775 char *kwnames[] = {
17776 (char *) "self", NULL
17777 };
17778
17779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17781 {
17782 PyThreadState* __tstate = wxPyBeginAllowThreads();
17783 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17784
17785 wxPyEndAllowThreads(__tstate);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 resultobj = PyInt_FromLong((long)result);
17789 return resultobj;
17790 fail:
17791 return NULL;
17792 }
17793
17794
17795 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17796 PyObject *resultobj;
17797 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17798 int arg2 ;
17799 PyObject * obj0 = 0 ;
17800 char *kwnames[] = {
17801 (char *) "self",(char *) "v", NULL
17802 };
17803
17804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17806 {
17807 PyThreadState* __tstate = wxPyBeginAllowThreads();
17808 (arg1)->SetFromPage(arg2);
17809
17810 wxPyEndAllowThreads(__tstate);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 Py_INCREF(Py_None); resultobj = Py_None;
17814 return resultobj;
17815 fail:
17816 return NULL;
17817 }
17818
17819
17820 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17821 PyObject *resultobj;
17822 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17823 int arg2 ;
17824 PyObject * obj0 = 0 ;
17825 char *kwnames[] = {
17826 (char *) "self",(char *) "v", NULL
17827 };
17828
17829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17831 {
17832 PyThreadState* __tstate = wxPyBeginAllowThreads();
17833 (arg1)->SetToPage(arg2);
17834
17835 wxPyEndAllowThreads(__tstate);
17836 if (PyErr_Occurred()) SWIG_fail;
17837 }
17838 Py_INCREF(Py_None); resultobj = Py_None;
17839 return resultobj;
17840 fail:
17841 return NULL;
17842 }
17843
17844
17845 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17846 PyObject *resultobj;
17847 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17848 int arg2 ;
17849 PyObject * obj0 = 0 ;
17850 char *kwnames[] = {
17851 (char *) "self",(char *) "v", NULL
17852 };
17853
17854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17856 {
17857 PyThreadState* __tstate = wxPyBeginAllowThreads();
17858 (arg1)->SetMinPage(arg2);
17859
17860 wxPyEndAllowThreads(__tstate);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 Py_INCREF(Py_None); resultobj = Py_None;
17864 return resultobj;
17865 fail:
17866 return NULL;
17867 }
17868
17869
17870 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17871 PyObject *resultobj;
17872 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17873 int arg2 ;
17874 PyObject * obj0 = 0 ;
17875 char *kwnames[] = {
17876 (char *) "self",(char *) "v", NULL
17877 };
17878
17879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17881 {
17882 PyThreadState* __tstate = wxPyBeginAllowThreads();
17883 (arg1)->SetMaxPage(arg2);
17884
17885 wxPyEndAllowThreads(__tstate);
17886 if (PyErr_Occurred()) SWIG_fail;
17887 }
17888 Py_INCREF(Py_None); resultobj = Py_None;
17889 return resultobj;
17890 fail:
17891 return NULL;
17892 }
17893
17894
17895 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17896 PyObject *resultobj;
17897 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17898 int arg2 ;
17899 PyObject * obj0 = 0 ;
17900 char *kwnames[] = {
17901 (char *) "self",(char *) "v", NULL
17902 };
17903
17904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17906 {
17907 PyThreadState* __tstate = wxPyBeginAllowThreads();
17908 (arg1)->SetNoCopies(arg2);
17909
17910 wxPyEndAllowThreads(__tstate);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 Py_INCREF(Py_None); resultobj = Py_None;
17914 return resultobj;
17915 fail:
17916 return NULL;
17917 }
17918
17919
17920 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17921 PyObject *resultobj;
17922 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17923 bool arg2 ;
17924 PyObject * obj0 = 0 ;
17925 PyObject * obj1 = 0 ;
17926 char *kwnames[] = {
17927 (char *) "self",(char *) "flag", NULL
17928 };
17929
17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17932 {
17933 arg2 = (bool) SPyObj_AsBool(obj1);
17934 if (PyErr_Occurred()) SWIG_fail;
17935 }
17936 {
17937 PyThreadState* __tstate = wxPyBeginAllowThreads();
17938 (arg1)->SetAllPages(arg2);
17939
17940 wxPyEndAllowThreads(__tstate);
17941 if (PyErr_Occurred()) SWIG_fail;
17942 }
17943 Py_INCREF(Py_None); resultobj = Py_None;
17944 return resultobj;
17945 fail:
17946 return NULL;
17947 }
17948
17949
17950 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17951 PyObject *resultobj;
17952 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17953 bool arg2 ;
17954 PyObject * obj0 = 0 ;
17955 PyObject * obj1 = 0 ;
17956 char *kwnames[] = {
17957 (char *) "self",(char *) "flag", NULL
17958 };
17959
17960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17962 {
17963 arg2 = (bool) SPyObj_AsBool(obj1);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 {
17967 PyThreadState* __tstate = wxPyBeginAllowThreads();
17968 (arg1)->SetSelection(arg2);
17969
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 Py_INCREF(Py_None); resultobj = Py_None;
17974 return resultobj;
17975 fail:
17976 return NULL;
17977 }
17978
17979
17980 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17981 PyObject *resultobj;
17982 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17983 bool arg2 ;
17984 PyObject * obj0 = 0 ;
17985 PyObject * obj1 = 0 ;
17986 char *kwnames[] = {
17987 (char *) "self",(char *) "flag", NULL
17988 };
17989
17990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17992 {
17993 arg2 = (bool) SPyObj_AsBool(obj1);
17994 if (PyErr_Occurred()) SWIG_fail;
17995 }
17996 {
17997 PyThreadState* __tstate = wxPyBeginAllowThreads();
17998 (arg1)->SetCollate(arg2);
17999
18000 wxPyEndAllowThreads(__tstate);
18001 if (PyErr_Occurred()) SWIG_fail;
18002 }
18003 Py_INCREF(Py_None); resultobj = Py_None;
18004 return resultobj;
18005 fail:
18006 return NULL;
18007 }
18008
18009
18010 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18011 PyObject *resultobj;
18012 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18013 bool arg2 ;
18014 PyObject * obj0 = 0 ;
18015 PyObject * obj1 = 0 ;
18016 char *kwnames[] = {
18017 (char *) "self",(char *) "flag", NULL
18018 };
18019
18020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
18021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18022 {
18023 arg2 = (bool) SPyObj_AsBool(obj1);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 {
18027 PyThreadState* __tstate = wxPyBeginAllowThreads();
18028 (arg1)->SetPrintToFile(arg2);
18029
18030 wxPyEndAllowThreads(__tstate);
18031 if (PyErr_Occurred()) SWIG_fail;
18032 }
18033 Py_INCREF(Py_None); resultobj = Py_None;
18034 return resultobj;
18035 fail:
18036 return NULL;
18037 }
18038
18039
18040 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18041 PyObject *resultobj;
18042 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18043 bool arg2 ;
18044 PyObject * obj0 = 0 ;
18045 PyObject * obj1 = 0 ;
18046 char *kwnames[] = {
18047 (char *) "self",(char *) "flag", NULL
18048 };
18049
18050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18052 {
18053 arg2 = (bool) SPyObj_AsBool(obj1);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 {
18057 PyThreadState* __tstate = wxPyBeginAllowThreads();
18058 (arg1)->SetSetupDialog(arg2);
18059
18060 wxPyEndAllowThreads(__tstate);
18061 if (PyErr_Occurred()) SWIG_fail;
18062 }
18063 Py_INCREF(Py_None); resultobj = Py_None;
18064 return resultobj;
18065 fail:
18066 return NULL;
18067 }
18068
18069
18070 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18071 PyObject *resultobj;
18072 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18073 bool arg2 ;
18074 PyObject * obj0 = 0 ;
18075 PyObject * obj1 = 0 ;
18076 char *kwnames[] = {
18077 (char *) "self",(char *) "flag", NULL
18078 };
18079
18080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
18081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18082 {
18083 arg2 = (bool) SPyObj_AsBool(obj1);
18084 if (PyErr_Occurred()) SWIG_fail;
18085 }
18086 {
18087 PyThreadState* __tstate = wxPyBeginAllowThreads();
18088 (arg1)->EnablePrintToFile(arg2);
18089
18090 wxPyEndAllowThreads(__tstate);
18091 if (PyErr_Occurred()) SWIG_fail;
18092 }
18093 Py_INCREF(Py_None); resultobj = Py_None;
18094 return resultobj;
18095 fail:
18096 return NULL;
18097 }
18098
18099
18100 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18101 PyObject *resultobj;
18102 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18103 bool arg2 ;
18104 PyObject * obj0 = 0 ;
18105 PyObject * obj1 = 0 ;
18106 char *kwnames[] = {
18107 (char *) "self",(char *) "flag", NULL
18108 };
18109
18110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
18111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18112 {
18113 arg2 = (bool) SPyObj_AsBool(obj1);
18114 if (PyErr_Occurred()) SWIG_fail;
18115 }
18116 {
18117 PyThreadState* __tstate = wxPyBeginAllowThreads();
18118 (arg1)->EnableSelection(arg2);
18119
18120 wxPyEndAllowThreads(__tstate);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 }
18123 Py_INCREF(Py_None); resultobj = Py_None;
18124 return resultobj;
18125 fail:
18126 return NULL;
18127 }
18128
18129
18130 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
18131 PyObject *resultobj;
18132 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18133 bool arg2 ;
18134 PyObject * obj0 = 0 ;
18135 PyObject * obj1 = 0 ;
18136 char *kwnames[] = {
18137 (char *) "self",(char *) "flag", NULL
18138 };
18139
18140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
18141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18142 {
18143 arg2 = (bool) SPyObj_AsBool(obj1);
18144 if (PyErr_Occurred()) SWIG_fail;
18145 }
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 (arg1)->EnablePageNumbers(arg2);
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 Py_INCREF(Py_None); resultobj = Py_None;
18154 return resultobj;
18155 fail:
18156 return NULL;
18157 }
18158
18159
18160 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18161 PyObject *resultobj;
18162 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18163 bool arg2 ;
18164 PyObject * obj0 = 0 ;
18165 PyObject * obj1 = 0 ;
18166 char *kwnames[] = {
18167 (char *) "self",(char *) "flag", NULL
18168 };
18169
18170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18172 {
18173 arg2 = (bool) SPyObj_AsBool(obj1);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
18176 {
18177 PyThreadState* __tstate = wxPyBeginAllowThreads();
18178 (arg1)->EnableHelp(arg2);
18179
18180 wxPyEndAllowThreads(__tstate);
18181 if (PyErr_Occurred()) SWIG_fail;
18182 }
18183 Py_INCREF(Py_None); resultobj = Py_None;
18184 return resultobj;
18185 fail:
18186 return NULL;
18187 }
18188
18189
18190 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18191 PyObject *resultobj;
18192 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18193 bool result;
18194 PyObject * obj0 = 0 ;
18195 char *kwnames[] = {
18196 (char *) "self", NULL
18197 };
18198
18199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
18200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 resultobj = PyInt_FromLong((long)result);
18209 return resultobj;
18210 fail:
18211 return NULL;
18212 }
18213
18214
18215 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18216 PyObject *resultobj;
18217 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18218 bool result;
18219 PyObject * obj0 = 0 ;
18220 char *kwnames[] = {
18221 (char *) "self", NULL
18222 };
18223
18224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
18225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18226 {
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
18229
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 resultobj = PyInt_FromLong((long)result);
18234 return resultobj;
18235 fail:
18236 return NULL;
18237 }
18238
18239
18240 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
18241 PyObject *resultobj;
18242 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18243 bool result;
18244 PyObject * obj0 = 0 ;
18245 char *kwnames[] = {
18246 (char *) "self", NULL
18247 };
18248
18249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
18250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 resultobj = PyInt_FromLong((long)result);
18259 return resultobj;
18260 fail:
18261 return NULL;
18262 }
18263
18264
18265 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18266 PyObject *resultobj;
18267 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18268 bool result;
18269 PyObject * obj0 = 0 ;
18270 char *kwnames[] = {
18271 (char *) "self", NULL
18272 };
18273
18274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18276 {
18277 PyThreadState* __tstate = wxPyBeginAllowThreads();
18278 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
18279
18280 wxPyEndAllowThreads(__tstate);
18281 if (PyErr_Occurred()) SWIG_fail;
18282 }
18283 resultobj = PyInt_FromLong((long)result);
18284 return resultobj;
18285 fail:
18286 return NULL;
18287 }
18288
18289
18290 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18291 PyObject *resultobj;
18292 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18293 bool result;
18294 PyObject * obj0 = 0 ;
18295 char *kwnames[] = {
18296 (char *) "self", NULL
18297 };
18298
18299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
18300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18301 {
18302 PyThreadState* __tstate = wxPyBeginAllowThreads();
18303 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
18304
18305 wxPyEndAllowThreads(__tstate);
18306 if (PyErr_Occurred()) SWIG_fail;
18307 }
18308 resultobj = PyInt_FromLong((long)result);
18309 return resultobj;
18310 fail:
18311 return NULL;
18312 }
18313
18314
18315 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18316 PyObject *resultobj;
18317 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18318 wxPrintData *result;
18319 PyObject * obj0 = 0 ;
18320 char *kwnames[] = {
18321 (char *) "self", NULL
18322 };
18323
18324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 {
18329 wxPrintData &_result_ref = (arg1)->GetPrintData();
18330 result = (wxPrintData *) &_result_ref;
18331 }
18332
18333 wxPyEndAllowThreads(__tstate);
18334 if (PyErr_Occurred()) SWIG_fail;
18335 }
18336 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
18337 return resultobj;
18338 fail:
18339 return NULL;
18340 }
18341
18342
18343 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18344 PyObject *resultobj;
18345 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18346 wxPrintData *arg2 = 0 ;
18347 PyObject * obj0 = 0 ;
18348 PyObject * obj1 = 0 ;
18349 char *kwnames[] = {
18350 (char *) "self",(char *) "printData", NULL
18351 };
18352
18353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18355 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18356 if (arg2 == NULL) {
18357 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18358 }
18359 {
18360 PyThreadState* __tstate = wxPyBeginAllowThreads();
18361 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18362
18363 wxPyEndAllowThreads(__tstate);
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
18366 Py_INCREF(Py_None); resultobj = Py_None;
18367 return resultobj;
18368 fail:
18369 return NULL;
18370 }
18371
18372
18373 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
18374 PyObject *obj;
18375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18376 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
18377 Py_INCREF(obj);
18378 return Py_BuildValue((char *)"");
18379 }
18380 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18381 PyObject *resultobj;
18382 wxWindow *arg1 = (wxWindow *) 0 ;
18383 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
18384 wxPrintDialog *result;
18385 PyObject * obj0 = 0 ;
18386 PyObject * obj1 = 0 ;
18387 char *kwnames[] = {
18388 (char *) "parent",(char *) "data", NULL
18389 };
18390
18391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18393 if (obj1) {
18394 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18395 }
18396 {
18397 PyThreadState* __tstate = wxPyBeginAllowThreads();
18398 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
18399
18400 wxPyEndAllowThreads(__tstate);
18401 if (PyErr_Occurred()) SWIG_fail;
18402 }
18403 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
18404 return resultobj;
18405 fail:
18406 return NULL;
18407 }
18408
18409
18410 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18411 PyObject *resultobj;
18412 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18413 wxPrintDialogData *result;
18414 PyObject * obj0 = 0 ;
18415 char *kwnames[] = {
18416 (char *) "self", NULL
18417 };
18418
18419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
18420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18421 {
18422 PyThreadState* __tstate = wxPyBeginAllowThreads();
18423 {
18424 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18425 result = (wxPrintDialogData *) &_result_ref;
18426 }
18427
18428 wxPyEndAllowThreads(__tstate);
18429 if (PyErr_Occurred()) SWIG_fail;
18430 }
18431 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18432 return resultobj;
18433 fail:
18434 return NULL;
18435 }
18436
18437
18438 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18439 PyObject *resultobj;
18440 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18441 wxDC *result;
18442 PyObject * obj0 = 0 ;
18443 char *kwnames[] = {
18444 (char *) "self", NULL
18445 };
18446
18447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
18448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18449 {
18450 PyThreadState* __tstate = wxPyBeginAllowThreads();
18451 result = (wxDC *)(arg1)->GetPrintDC();
18452
18453 wxPyEndAllowThreads(__tstate);
18454 if (PyErr_Occurred()) SWIG_fail;
18455 }
18456 {
18457 resultobj = wxPyMake_wxObject(result);
18458 }
18459 return resultobj;
18460 fail:
18461 return NULL;
18462 }
18463
18464
18465 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18466 PyObject *resultobj;
18467 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18468 int result;
18469 PyObject * obj0 = 0 ;
18470 char *kwnames[] = {
18471 (char *) "self", NULL
18472 };
18473
18474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
18475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = (int)(arg1)->ShowModal();
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 resultobj = PyInt_FromLong((long)result);
18484 return resultobj;
18485 fail:
18486 return NULL;
18487 }
18488
18489
18490 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
18491 PyObject *obj;
18492 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18493 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
18494 Py_INCREF(obj);
18495 return Py_BuildValue((char *)"");
18496 }
18497 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18498 PyObject *resultobj;
18499 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
18500 wxPrinter *result;
18501 PyObject * obj0 = 0 ;
18502 char *kwnames[] = {
18503 (char *) "data", NULL
18504 };
18505
18506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
18507 if (obj0) {
18508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18509 }
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 result = (wxPrinter *)new wxPrinter(arg1);
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
18518 return resultobj;
18519 fail:
18520 return NULL;
18521 }
18522
18523
18524 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18525 PyObject *resultobj;
18526 wxPrinter *arg1 = (wxPrinter *) 0 ;
18527 PyObject * obj0 = 0 ;
18528 char *kwnames[] = {
18529 (char *) "self", NULL
18530 };
18531
18532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
18533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18534 {
18535 PyThreadState* __tstate = wxPyBeginAllowThreads();
18536 delete arg1;
18537
18538 wxPyEndAllowThreads(__tstate);
18539 if (PyErr_Occurred()) SWIG_fail;
18540 }
18541 Py_INCREF(Py_None); resultobj = Py_None;
18542 return resultobj;
18543 fail:
18544 return NULL;
18545 }
18546
18547
18548 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18549 PyObject *resultobj;
18550 wxPrinter *arg1 = (wxPrinter *) 0 ;
18551 wxWindow *arg2 = (wxWindow *) 0 ;
18552 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18553 PyObject * obj0 = 0 ;
18554 PyObject * obj1 = 0 ;
18555 PyObject * obj2 = 0 ;
18556 char *kwnames[] = {
18557 (char *) "self",(char *) "parent",(char *) "printout", NULL
18558 };
18559
18560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
18561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18563 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18564 {
18565 PyThreadState* __tstate = wxPyBeginAllowThreads();
18566 (arg1)->CreateAbortWindow(arg2,arg3);
18567
18568 wxPyEndAllowThreads(__tstate);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
18571 Py_INCREF(Py_None); resultobj = Py_None;
18572 return resultobj;
18573 fail:
18574 return NULL;
18575 }
18576
18577
18578 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18579 PyObject *resultobj;
18580 wxPrinter *arg1 = (wxPrinter *) 0 ;
18581 wxPrintDialogData *result;
18582 PyObject * obj0 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 {
18592 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18593 result = (wxPrintDialogData *) &_result_ref;
18594 }
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18600 return resultobj;
18601 fail:
18602 return NULL;
18603 }
18604
18605
18606 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18607 PyObject *resultobj;
18608 wxPrinter *arg1 = (wxPrinter *) 0 ;
18609 wxWindow *arg2 = (wxWindow *) 0 ;
18610 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18611 int arg4 = (int) True ;
18612 bool result;
18613 PyObject * obj0 = 0 ;
18614 PyObject * obj1 = 0 ;
18615 PyObject * obj2 = 0 ;
18616 char *kwnames[] = {
18617 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18618 };
18619
18620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18623 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18624 {
18625 PyThreadState* __tstate = wxPyBeginAllowThreads();
18626 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18627
18628 wxPyEndAllowThreads(__tstate);
18629 if (PyErr_Occurred()) SWIG_fail;
18630 }
18631 resultobj = PyInt_FromLong((long)result);
18632 return resultobj;
18633 fail:
18634 return NULL;
18635 }
18636
18637
18638 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18639 PyObject *resultobj;
18640 wxPrinter *arg1 = (wxPrinter *) 0 ;
18641 wxWindow *arg2 = (wxWindow *) 0 ;
18642 wxDC *result;
18643 PyObject * obj0 = 0 ;
18644 PyObject * obj1 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self",(char *) "parent", NULL
18647 };
18648
18649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18652 {
18653 PyThreadState* __tstate = wxPyBeginAllowThreads();
18654 result = (wxDC *)(arg1)->PrintDialog(arg2);
18655
18656 wxPyEndAllowThreads(__tstate);
18657 if (PyErr_Occurred()) SWIG_fail;
18658 }
18659 {
18660 resultobj = wxPyMake_wxObject(result);
18661 }
18662 return resultobj;
18663 fail:
18664 return NULL;
18665 }
18666
18667
18668 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18669 PyObject *resultobj;
18670 wxPrinter *arg1 = (wxPrinter *) 0 ;
18671 wxWindow *arg2 = (wxWindow *) 0 ;
18672 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18673 wxString *arg4 = 0 ;
18674 bool temp4 = False ;
18675 PyObject * obj0 = 0 ;
18676 PyObject * obj1 = 0 ;
18677 PyObject * obj2 = 0 ;
18678 PyObject * obj3 = 0 ;
18679 char *kwnames[] = {
18680 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18681 };
18682
18683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18686 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18687 {
18688 arg4 = wxString_in_helper(obj3);
18689 if (arg4 == NULL) SWIG_fail;
18690 temp4 = True;
18691 }
18692 {
18693 PyThreadState* __tstate = wxPyBeginAllowThreads();
18694 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18695
18696 wxPyEndAllowThreads(__tstate);
18697 if (PyErr_Occurred()) SWIG_fail;
18698 }
18699 Py_INCREF(Py_None); resultobj = Py_None;
18700 {
18701 if (temp4)
18702 delete arg4;
18703 }
18704 return resultobj;
18705 fail:
18706 {
18707 if (temp4)
18708 delete arg4;
18709 }
18710 return NULL;
18711 }
18712
18713
18714 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18715 PyObject *resultobj;
18716 wxPrinter *arg1 = (wxPrinter *) 0 ;
18717 wxWindow *arg2 = (wxWindow *) 0 ;
18718 bool result;
18719 PyObject * obj0 = 0 ;
18720 PyObject * obj1 = 0 ;
18721 char *kwnames[] = {
18722 (char *) "self",(char *) "parent", NULL
18723 };
18724
18725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18728 {
18729 PyThreadState* __tstate = wxPyBeginAllowThreads();
18730 result = (bool)(arg1)->Setup(arg2);
18731
18732 wxPyEndAllowThreads(__tstate);
18733 if (PyErr_Occurred()) SWIG_fail;
18734 }
18735 resultobj = PyInt_FromLong((long)result);
18736 return resultobj;
18737 fail:
18738 return NULL;
18739 }
18740
18741
18742 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18743 PyObject *resultobj;
18744 wxPrinter *arg1 = (wxPrinter *) 0 ;
18745 bool result;
18746 PyObject * obj0 = 0 ;
18747 char *kwnames[] = {
18748 (char *) "self", NULL
18749 };
18750
18751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 result = (bool)(arg1)->GetAbort();
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 resultobj = PyInt_FromLong((long)result);
18761 return resultobj;
18762 fail:
18763 return NULL;
18764 }
18765
18766
18767 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18768 PyObject *resultobj;
18769 int result;
18770 char *kwnames[] = {
18771 NULL
18772 };
18773
18774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18775 {
18776 PyThreadState* __tstate = wxPyBeginAllowThreads();
18777 result = (int)wxPrinter::GetLastError();
18778
18779 wxPyEndAllowThreads(__tstate);
18780 if (PyErr_Occurred()) SWIG_fail;
18781 }
18782 resultobj = PyInt_FromLong((long)result);
18783 return resultobj;
18784 fail:
18785 return NULL;
18786 }
18787
18788
18789 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18790 PyObject *obj;
18791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18792 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18793 Py_INCREF(obj);
18794 return Py_BuildValue((char *)"");
18795 }
18796 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18797 PyObject *resultobj;
18798 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18799 wxString *arg1 = (wxString *) &arg1_defvalue ;
18800 wxPyPrintout *result;
18801 bool temp1 = False ;
18802 PyObject * obj0 = 0 ;
18803 char *kwnames[] = {
18804 (char *) "title", NULL
18805 };
18806
18807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18808 if (obj0) {
18809 {
18810 arg1 = wxString_in_helper(obj0);
18811 if (arg1 == NULL) SWIG_fail;
18812 temp1 = True;
18813 }
18814 }
18815 {
18816 PyThreadState* __tstate = wxPyBeginAllowThreads();
18817 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18818
18819 wxPyEndAllowThreads(__tstate);
18820 if (PyErr_Occurred()) SWIG_fail;
18821 }
18822 {
18823 resultobj = wxPyMake_wxObject(result);
18824 }
18825 {
18826 if (temp1)
18827 delete arg1;
18828 }
18829 return resultobj;
18830 fail:
18831 {
18832 if (temp1)
18833 delete arg1;
18834 }
18835 return NULL;
18836 }
18837
18838
18839 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18840 PyObject *resultobj;
18841 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18842 PyObject *arg2 = (PyObject *) 0 ;
18843 PyObject *arg3 = (PyObject *) 0 ;
18844 PyObject * obj0 = 0 ;
18845 PyObject * obj1 = 0 ;
18846 PyObject * obj2 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "self",(char *) "self",(char *) "_class", NULL
18849 };
18850
18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18853 arg2 = obj1;
18854 arg3 = obj2;
18855 {
18856 PyThreadState* __tstate = wxPyBeginAllowThreads();
18857 (arg1)->_setCallbackInfo(arg2,arg3);
18858
18859 wxPyEndAllowThreads(__tstate);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 Py_INCREF(Py_None); resultobj = Py_None;
18863 return resultobj;
18864 fail:
18865 return NULL;
18866 }
18867
18868
18869 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18870 PyObject *resultobj;
18871 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18872 wxString result;
18873 PyObject * obj0 = 0 ;
18874 char *kwnames[] = {
18875 (char *) "self", NULL
18876 };
18877
18878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
18882 result = ((wxPyPrintout const *)arg1)->GetTitle();
18883
18884 wxPyEndAllowThreads(__tstate);
18885 if (PyErr_Occurred()) SWIG_fail;
18886 }
18887 {
18888 #if wxUSE_UNICODE
18889 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18890 #else
18891 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18892 #endif
18893 }
18894 return resultobj;
18895 fail:
18896 return NULL;
18897 }
18898
18899
18900 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18901 PyObject *resultobj;
18902 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18903 wxDC *result;
18904 PyObject * obj0 = 0 ;
18905 char *kwnames[] = {
18906 (char *) "self", NULL
18907 };
18908
18909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 result = (wxDC *)(arg1)->GetDC();
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 {
18919 resultobj = wxPyMake_wxObject(result);
18920 }
18921 return resultobj;
18922 fail:
18923 return NULL;
18924 }
18925
18926
18927 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18928 PyObject *resultobj;
18929 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18930 wxDC *arg2 = (wxDC *) 0 ;
18931 PyObject * obj0 = 0 ;
18932 PyObject * obj1 = 0 ;
18933 char *kwnames[] = {
18934 (char *) "self",(char *) "dc", NULL
18935 };
18936
18937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18939 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18940 {
18941 PyThreadState* __tstate = wxPyBeginAllowThreads();
18942 (arg1)->SetDC(arg2);
18943
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
18947 Py_INCREF(Py_None); resultobj = Py_None;
18948 return resultobj;
18949 fail:
18950 return NULL;
18951 }
18952
18953
18954 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18957 int arg2 ;
18958 int arg3 ;
18959 PyObject * obj0 = 0 ;
18960 char *kwnames[] = {
18961 (char *) "self",(char *) "w",(char *) "h", NULL
18962 };
18963
18964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18966 {
18967 PyThreadState* __tstate = wxPyBeginAllowThreads();
18968 (arg1)->SetPageSizePixels(arg2,arg3);
18969
18970 wxPyEndAllowThreads(__tstate);
18971 if (PyErr_Occurred()) SWIG_fail;
18972 }
18973 Py_INCREF(Py_None); resultobj = Py_None;
18974 return resultobj;
18975 fail:
18976 return NULL;
18977 }
18978
18979
18980 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18981 PyObject *resultobj;
18982 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18983 int *arg2 = (int *) 0 ;
18984 int *arg3 = (int *) 0 ;
18985 int temp2 ;
18986 int temp3 ;
18987 PyObject * obj0 = 0 ;
18988 char *kwnames[] = {
18989 (char *) "self", NULL
18990 };
18991
18992 arg2 = &temp2;
18993 arg3 = &temp3;
18994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18996 {
18997 PyThreadState* __tstate = wxPyBeginAllowThreads();
18998 (arg1)->GetPageSizePixels(arg2,arg3);
18999
19000 wxPyEndAllowThreads(__tstate);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 }
19003 Py_INCREF(Py_None); resultobj = Py_None;
19004 {
19005 PyObject *o = PyInt_FromLong((long) (*arg2));
19006 resultobj = t_output_helper(resultobj,o);
19007 }
19008 {
19009 PyObject *o = PyInt_FromLong((long) (*arg3));
19010 resultobj = t_output_helper(resultobj,o);
19011 }
19012 return resultobj;
19013 fail:
19014 return NULL;
19015 }
19016
19017
19018 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj;
19020 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19021 int arg2 ;
19022 int arg3 ;
19023 PyObject * obj0 = 0 ;
19024 char *kwnames[] = {
19025 (char *) "self",(char *) "w",(char *) "h", NULL
19026 };
19027
19028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
19029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19030 {
19031 PyThreadState* __tstate = wxPyBeginAllowThreads();
19032 (arg1)->SetPageSizeMM(arg2,arg3);
19033
19034 wxPyEndAllowThreads(__tstate);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 }
19037 Py_INCREF(Py_None); resultobj = Py_None;
19038 return resultobj;
19039 fail:
19040 return NULL;
19041 }
19042
19043
19044 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
19045 PyObject *resultobj;
19046 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19047 int *arg2 = (int *) 0 ;
19048 int *arg3 = (int *) 0 ;
19049 int temp2 ;
19050 int temp3 ;
19051 PyObject * obj0 = 0 ;
19052 char *kwnames[] = {
19053 (char *) "self", NULL
19054 };
19055
19056 arg2 = &temp2;
19057 arg3 = &temp3;
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
19059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 (arg1)->GetPageSizeMM(arg2,arg3);
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 Py_INCREF(Py_None); resultobj = Py_None;
19068 {
19069 PyObject *o = PyInt_FromLong((long) (*arg2));
19070 resultobj = t_output_helper(resultobj,o);
19071 }
19072 {
19073 PyObject *o = PyInt_FromLong((long) (*arg3));
19074 resultobj = t_output_helper(resultobj,o);
19075 }
19076 return resultobj;
19077 fail:
19078 return NULL;
19079 }
19080
19081
19082 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
19083 PyObject *resultobj;
19084 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19085 int arg2 ;
19086 int arg3 ;
19087 PyObject * obj0 = 0 ;
19088 char *kwnames[] = {
19089 (char *) "self",(char *) "x",(char *) "y", NULL
19090 };
19091
19092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
19093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 (arg1)->SetPPIScreen(arg2,arg3);
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 Py_INCREF(Py_None); resultobj = Py_None;
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19111 int *arg2 = (int *) 0 ;
19112 int *arg3 = (int *) 0 ;
19113 int temp2 ;
19114 int temp3 ;
19115 PyObject * obj0 = 0 ;
19116 char *kwnames[] = {
19117 (char *) "self", NULL
19118 };
19119
19120 arg2 = &temp2;
19121 arg3 = &temp3;
19122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
19123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19124 {
19125 PyThreadState* __tstate = wxPyBeginAllowThreads();
19126 (arg1)->GetPPIScreen(arg2,arg3);
19127
19128 wxPyEndAllowThreads(__tstate);
19129 if (PyErr_Occurred()) SWIG_fail;
19130 }
19131 Py_INCREF(Py_None); resultobj = Py_None;
19132 {
19133 PyObject *o = PyInt_FromLong((long) (*arg2));
19134 resultobj = t_output_helper(resultobj,o);
19135 }
19136 {
19137 PyObject *o = PyInt_FromLong((long) (*arg3));
19138 resultobj = t_output_helper(resultobj,o);
19139 }
19140 return resultobj;
19141 fail:
19142 return NULL;
19143 }
19144
19145
19146 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19147 PyObject *resultobj;
19148 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19149 int arg2 ;
19150 int arg3 ;
19151 PyObject * obj0 = 0 ;
19152 char *kwnames[] = {
19153 (char *) "self",(char *) "x",(char *) "y", NULL
19154 };
19155
19156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
19157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 (arg1)->SetPPIPrinter(arg2,arg3);
19161
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 Py_INCREF(Py_None); resultobj = Py_None;
19166 return resultobj;
19167 fail:
19168 return NULL;
19169 }
19170
19171
19172 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19173 PyObject *resultobj;
19174 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19175 int *arg2 = (int *) 0 ;
19176 int *arg3 = (int *) 0 ;
19177 int temp2 ;
19178 int temp3 ;
19179 PyObject * obj0 = 0 ;
19180 char *kwnames[] = {
19181 (char *) "self", NULL
19182 };
19183
19184 arg2 = &temp2;
19185 arg3 = &temp3;
19186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
19187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19188 {
19189 PyThreadState* __tstate = wxPyBeginAllowThreads();
19190 (arg1)->GetPPIPrinter(arg2,arg3);
19191
19192 wxPyEndAllowThreads(__tstate);
19193 if (PyErr_Occurred()) SWIG_fail;
19194 }
19195 Py_INCREF(Py_None); resultobj = Py_None;
19196 {
19197 PyObject *o = PyInt_FromLong((long) (*arg2));
19198 resultobj = t_output_helper(resultobj,o);
19199 }
19200 {
19201 PyObject *o = PyInt_FromLong((long) (*arg3));
19202 resultobj = t_output_helper(resultobj,o);
19203 }
19204 return resultobj;
19205 fail:
19206 return NULL;
19207 }
19208
19209
19210 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19211 PyObject *resultobj;
19212 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19213 bool result;
19214 PyObject * obj0 = 0 ;
19215 char *kwnames[] = {
19216 (char *) "self", NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
19220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19221 {
19222 PyThreadState* __tstate = wxPyBeginAllowThreads();
19223 result = (bool)(arg1)->IsPreview();
19224
19225 wxPyEndAllowThreads(__tstate);
19226 if (PyErr_Occurred()) SWIG_fail;
19227 }
19228 resultobj = PyInt_FromLong((long)result);
19229 return resultobj;
19230 fail:
19231 return NULL;
19232 }
19233
19234
19235 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19236 PyObject *resultobj;
19237 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19238 bool arg2 ;
19239 PyObject * obj0 = 0 ;
19240 PyObject * obj1 = 0 ;
19241 char *kwnames[] = {
19242 (char *) "self",(char *) "p", NULL
19243 };
19244
19245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
19246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19247 {
19248 arg2 = (bool) SPyObj_AsBool(obj1);
19249 if (PyErr_Occurred()) SWIG_fail;
19250 }
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 (arg1)->SetIsPreview(arg2);
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 Py_INCREF(Py_None); resultobj = Py_None;
19259 return resultobj;
19260 fail:
19261 return NULL;
19262 }
19263
19264
19265 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
19266 PyObject *resultobj;
19267 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19268 int arg2 ;
19269 int arg3 ;
19270 bool result;
19271 PyObject * obj0 = 0 ;
19272 char *kwnames[] = {
19273 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
19274 };
19275
19276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
19277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19278 {
19279 PyThreadState* __tstate = wxPyBeginAllowThreads();
19280 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
19281
19282 wxPyEndAllowThreads(__tstate);
19283 if (PyErr_Occurred()) SWIG_fail;
19284 }
19285 resultobj = PyInt_FromLong((long)result);
19286 return resultobj;
19287 fail:
19288 return NULL;
19289 }
19290
19291
19292 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj;
19294 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19295 PyObject * obj0 = 0 ;
19296 char *kwnames[] = {
19297 (char *) "self", NULL
19298 };
19299
19300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
19301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19302 {
19303 PyThreadState* __tstate = wxPyBeginAllowThreads();
19304 (arg1)->base_OnEndDocument();
19305
19306 wxPyEndAllowThreads(__tstate);
19307 if (PyErr_Occurred()) SWIG_fail;
19308 }
19309 Py_INCREF(Py_None); resultobj = Py_None;
19310 return resultobj;
19311 fail:
19312 return NULL;
19313 }
19314
19315
19316 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19317 PyObject *resultobj;
19318 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19319 PyObject * obj0 = 0 ;
19320 char *kwnames[] = {
19321 (char *) "self", NULL
19322 };
19323
19324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
19325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 (arg1)->base_OnBeginPrinting();
19329
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 Py_INCREF(Py_None); resultobj = Py_None;
19334 return resultobj;
19335 fail:
19336 return NULL;
19337 }
19338
19339
19340 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19341 PyObject *resultobj;
19342 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19343 PyObject * obj0 = 0 ;
19344 char *kwnames[] = {
19345 (char *) "self", NULL
19346 };
19347
19348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
19349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19350 {
19351 PyThreadState* __tstate = wxPyBeginAllowThreads();
19352 (arg1)->base_OnEndPrinting();
19353
19354 wxPyEndAllowThreads(__tstate);
19355 if (PyErr_Occurred()) SWIG_fail;
19356 }
19357 Py_INCREF(Py_None); resultobj = Py_None;
19358 return resultobj;
19359 fail:
19360 return NULL;
19361 }
19362
19363
19364 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19365 PyObject *resultobj;
19366 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19367 PyObject * obj0 = 0 ;
19368 char *kwnames[] = {
19369 (char *) "self", NULL
19370 };
19371
19372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
19373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19374 {
19375 PyThreadState* __tstate = wxPyBeginAllowThreads();
19376 (arg1)->base_OnPreparePrinting();
19377
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 Py_INCREF(Py_None); resultobj = Py_None;
19382 return resultobj;
19383 fail:
19384 return NULL;
19385 }
19386
19387
19388 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19389 PyObject *resultobj;
19390 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19391 int arg2 ;
19392 bool result;
19393 PyObject * obj0 = 0 ;
19394 char *kwnames[] = {
19395 (char *) "self",(char *) "page", NULL
19396 };
19397
19398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
19399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19400 {
19401 PyThreadState* __tstate = wxPyBeginAllowThreads();
19402 result = (bool)(arg1)->base_HasPage(arg2);
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
19407 resultobj = PyInt_FromLong((long)result);
19408 return resultobj;
19409 fail:
19410 return NULL;
19411 }
19412
19413
19414 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19415 PyObject *resultobj;
19416 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19417 int *arg2 = (int *) 0 ;
19418 int *arg3 = (int *) 0 ;
19419 int *arg4 = (int *) 0 ;
19420 int *arg5 = (int *) 0 ;
19421 int temp2 ;
19422 int temp3 ;
19423 int temp4 ;
19424 int temp5 ;
19425 PyObject * obj0 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self", NULL
19428 };
19429
19430 arg2 = &temp2;
19431 arg3 = &temp3;
19432 arg4 = &temp4;
19433 arg5 = &temp5;
19434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
19435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19436 {
19437 PyThreadState* __tstate = wxPyBeginAllowThreads();
19438 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
19439
19440 wxPyEndAllowThreads(__tstate);
19441 if (PyErr_Occurred()) SWIG_fail;
19442 }
19443 Py_INCREF(Py_None); resultobj = Py_None;
19444 {
19445 PyObject *o = PyInt_FromLong((long) (*arg2));
19446 resultobj = t_output_helper(resultobj,o);
19447 }
19448 {
19449 PyObject *o = PyInt_FromLong((long) (*arg3));
19450 resultobj = t_output_helper(resultobj,o);
19451 }
19452 {
19453 PyObject *o = PyInt_FromLong((long) (*arg4));
19454 resultobj = t_output_helper(resultobj,o);
19455 }
19456 {
19457 PyObject *o = PyInt_FromLong((long) (*arg5));
19458 resultobj = t_output_helper(resultobj,o);
19459 }
19460 return resultobj;
19461 fail:
19462 return NULL;
19463 }
19464
19465
19466 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
19467 PyObject *obj;
19468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19469 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
19470 Py_INCREF(obj);
19471 return Py_BuildValue((char *)"");
19472 }
19473 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19474 PyObject *resultobj;
19475 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19476 wxWindow *arg2 = (wxWindow *) 0 ;
19477 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19478 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19479 wxSize const &arg4_defvalue = wxDefaultSize ;
19480 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19481 long arg5 = (long) 0 ;
19482 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
19483 wxString *arg6 = (wxString *) &arg6_defvalue ;
19484 wxPreviewCanvas *result;
19485 wxPoint temp3 ;
19486 wxSize temp4 ;
19487 bool temp6 = False ;
19488 PyObject * obj0 = 0 ;
19489 PyObject * obj1 = 0 ;
19490 PyObject * obj2 = 0 ;
19491 PyObject * obj3 = 0 ;
19492 PyObject * obj5 = 0 ;
19493 char *kwnames[] = {
19494 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19495 };
19496
19497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
19498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19499 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19500 if (obj2) {
19501 {
19502 arg3 = &temp3;
19503 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19504 }
19505 }
19506 if (obj3) {
19507 {
19508 arg4 = &temp4;
19509 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19510 }
19511 }
19512 if (obj5) {
19513 {
19514 arg6 = wxString_in_helper(obj5);
19515 if (arg6 == NULL) SWIG_fail;
19516 temp6 = True;
19517 }
19518 }
19519 {
19520 PyThreadState* __tstate = wxPyBeginAllowThreads();
19521 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19522
19523 wxPyEndAllowThreads(__tstate);
19524 if (PyErr_Occurred()) SWIG_fail;
19525 }
19526 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
19527 {
19528 if (temp6)
19529 delete arg6;
19530 }
19531 return resultobj;
19532 fail:
19533 {
19534 if (temp6)
19535 delete arg6;
19536 }
19537 return NULL;
19538 }
19539
19540
19541 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
19542 PyObject *obj;
19543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19544 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
19545 Py_INCREF(obj);
19546 return Py_BuildValue((char *)"");
19547 }
19548 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19549 PyObject *resultobj;
19550 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19551 wxFrame *arg2 = (wxFrame *) 0 ;
19552 wxString *arg3 = 0 ;
19553 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19554 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19555 wxSize const &arg5_defvalue = wxDefaultSize ;
19556 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19557 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19558 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19559 wxString *arg7 = (wxString *) &arg7_defvalue ;
19560 wxPreviewFrame *result;
19561 bool temp3 = False ;
19562 wxPoint temp4 ;
19563 wxSize temp5 ;
19564 bool temp7 = False ;
19565 PyObject * obj0 = 0 ;
19566 PyObject * obj1 = 0 ;
19567 PyObject * obj2 = 0 ;
19568 PyObject * obj3 = 0 ;
19569 PyObject * obj4 = 0 ;
19570 PyObject * obj6 = 0 ;
19571 char *kwnames[] = {
19572 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19573 };
19574
19575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19577 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19578 {
19579 arg3 = wxString_in_helper(obj2);
19580 if (arg3 == NULL) SWIG_fail;
19581 temp3 = True;
19582 }
19583 if (obj3) {
19584 {
19585 arg4 = &temp4;
19586 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19587 }
19588 }
19589 if (obj4) {
19590 {
19591 arg5 = &temp5;
19592 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19593 }
19594 }
19595 if (obj6) {
19596 {
19597 arg7 = wxString_in_helper(obj6);
19598 if (arg7 == NULL) SWIG_fail;
19599 temp7 = True;
19600 }
19601 }
19602 {
19603 PyThreadState* __tstate = wxPyBeginAllowThreads();
19604 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19605
19606 wxPyEndAllowThreads(__tstate);
19607 if (PyErr_Occurred()) SWIG_fail;
19608 }
19609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19610 {
19611 if (temp3)
19612 delete arg3;
19613 }
19614 {
19615 if (temp7)
19616 delete arg7;
19617 }
19618 return resultobj;
19619 fail:
19620 {
19621 if (temp3)
19622 delete arg3;
19623 }
19624 {
19625 if (temp7)
19626 delete arg7;
19627 }
19628 return NULL;
19629 }
19630
19631
19632 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19633 PyObject *resultobj;
19634 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19635 PyObject * obj0 = 0 ;
19636 char *kwnames[] = {
19637 (char *) "self", NULL
19638 };
19639
19640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 (arg1)->Initialize();
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 Py_INCREF(Py_None); resultobj = Py_None;
19650 return resultobj;
19651 fail:
19652 return NULL;
19653 }
19654
19655
19656 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19657 PyObject *resultobj;
19658 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19659 PyObject * obj0 = 0 ;
19660 char *kwnames[] = {
19661 (char *) "self", NULL
19662 };
19663
19664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19666 {
19667 PyThreadState* __tstate = wxPyBeginAllowThreads();
19668 (arg1)->CreateControlBar();
19669
19670 wxPyEndAllowThreads(__tstate);
19671 if (PyErr_Occurred()) SWIG_fail;
19672 }
19673 Py_INCREF(Py_None); resultobj = Py_None;
19674 return resultobj;
19675 fail:
19676 return NULL;
19677 }
19678
19679
19680 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19681 PyObject *resultobj;
19682 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19683 PyObject * obj0 = 0 ;
19684 char *kwnames[] = {
19685 (char *) "self", NULL
19686 };
19687
19688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19690 {
19691 PyThreadState* __tstate = wxPyBeginAllowThreads();
19692 (arg1)->CreateCanvas();
19693
19694 wxPyEndAllowThreads(__tstate);
19695 if (PyErr_Occurred()) SWIG_fail;
19696 }
19697 Py_INCREF(Py_None); resultobj = Py_None;
19698 return resultobj;
19699 fail:
19700 return NULL;
19701 }
19702
19703
19704 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19705 PyObject *resultobj;
19706 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19707 wxPreviewControlBar *result;
19708 PyObject * obj0 = 0 ;
19709 char *kwnames[] = {
19710 (char *) "self", NULL
19711 };
19712
19713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19723 return resultobj;
19724 fail:
19725 return NULL;
19726 }
19727
19728
19729 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19730 PyObject *obj;
19731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19732 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19733 Py_INCREF(obj);
19734 return Py_BuildValue((char *)"");
19735 }
19736 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19737 PyObject *resultobj;
19738 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19739 long arg2 ;
19740 wxWindow *arg3 = (wxWindow *) 0 ;
19741 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19742 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19743 wxSize const &arg5_defvalue = wxDefaultSize ;
19744 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19745 long arg6 = (long) wxTAB_TRAVERSAL ;
19746 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19747 wxString *arg7 = (wxString *) &arg7_defvalue ;
19748 wxPreviewControlBar *result;
19749 wxPoint temp4 ;
19750 wxSize temp5 ;
19751 bool temp7 = False ;
19752 PyObject * obj0 = 0 ;
19753 PyObject * obj2 = 0 ;
19754 PyObject * obj3 = 0 ;
19755 PyObject * obj4 = 0 ;
19756 PyObject * obj6 = 0 ;
19757 char *kwnames[] = {
19758 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19759 };
19760
19761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19763 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19764 if (obj3) {
19765 {
19766 arg4 = &temp4;
19767 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19768 }
19769 }
19770 if (obj4) {
19771 {
19772 arg5 = &temp5;
19773 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19774 }
19775 }
19776 if (obj6) {
19777 {
19778 arg7 = wxString_in_helper(obj6);
19779 if (arg7 == NULL) SWIG_fail;
19780 temp7 = True;
19781 }
19782 }
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19791 {
19792 if (temp7)
19793 delete arg7;
19794 }
19795 return resultobj;
19796 fail:
19797 {
19798 if (temp7)
19799 delete arg7;
19800 }
19801 return NULL;
19802 }
19803
19804
19805 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19806 PyObject *resultobj;
19807 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19808 int result;
19809 PyObject * obj0 = 0 ;
19810 char *kwnames[] = {
19811 (char *) "self", NULL
19812 };
19813
19814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19816 {
19817 PyThreadState* __tstate = wxPyBeginAllowThreads();
19818 result = (int)(arg1)->GetZoomControl();
19819
19820 wxPyEndAllowThreads(__tstate);
19821 if (PyErr_Occurred()) SWIG_fail;
19822 }
19823 resultobj = PyInt_FromLong((long)result);
19824 return resultobj;
19825 fail:
19826 return NULL;
19827 }
19828
19829
19830 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19831 PyObject *resultobj;
19832 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19833 int arg2 ;
19834 PyObject * obj0 = 0 ;
19835 char *kwnames[] = {
19836 (char *) "self",(char *) "zoom", NULL
19837 };
19838
19839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19841 {
19842 PyThreadState* __tstate = wxPyBeginAllowThreads();
19843 (arg1)->SetZoomControl(arg2);
19844
19845 wxPyEndAllowThreads(__tstate);
19846 if (PyErr_Occurred()) SWIG_fail;
19847 }
19848 Py_INCREF(Py_None); resultobj = Py_None;
19849 return resultobj;
19850 fail:
19851 return NULL;
19852 }
19853
19854
19855 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19856 PyObject *resultobj;
19857 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19858 wxPrintPreview *result;
19859 PyObject * obj0 = 0 ;
19860 char *kwnames[] = {
19861 (char *) "self", NULL
19862 };
19863
19864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19866 {
19867 PyThreadState* __tstate = wxPyBeginAllowThreads();
19868 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19869
19870 wxPyEndAllowThreads(__tstate);
19871 if (PyErr_Occurred()) SWIG_fail;
19872 }
19873 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19874 return resultobj;
19875 fail:
19876 return NULL;
19877 }
19878
19879
19880 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19881 PyObject *resultobj;
19882 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19883 PyObject * obj0 = 0 ;
19884 char *kwnames[] = {
19885 (char *) "self", NULL
19886 };
19887
19888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19890 {
19891 PyThreadState* __tstate = wxPyBeginAllowThreads();
19892 (arg1)->OnNext();
19893
19894 wxPyEndAllowThreads(__tstate);
19895 if (PyErr_Occurred()) SWIG_fail;
19896 }
19897 Py_INCREF(Py_None); resultobj = Py_None;
19898 return resultobj;
19899 fail:
19900 return NULL;
19901 }
19902
19903
19904 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19905 PyObject *resultobj;
19906 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19907 PyObject * obj0 = 0 ;
19908 char *kwnames[] = {
19909 (char *) "self", NULL
19910 };
19911
19912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19914 {
19915 PyThreadState* __tstate = wxPyBeginAllowThreads();
19916 (arg1)->OnPrevious();
19917
19918 wxPyEndAllowThreads(__tstate);
19919 if (PyErr_Occurred()) SWIG_fail;
19920 }
19921 Py_INCREF(Py_None); resultobj = Py_None;
19922 return resultobj;
19923 fail:
19924 return NULL;
19925 }
19926
19927
19928 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19929 PyObject *resultobj;
19930 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19931 PyObject * obj0 = 0 ;
19932 char *kwnames[] = {
19933 (char *) "self", NULL
19934 };
19935
19936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19938 {
19939 PyThreadState* __tstate = wxPyBeginAllowThreads();
19940 (arg1)->OnFirst();
19941
19942 wxPyEndAllowThreads(__tstate);
19943 if (PyErr_Occurred()) SWIG_fail;
19944 }
19945 Py_INCREF(Py_None); resultobj = Py_None;
19946 return resultobj;
19947 fail:
19948 return NULL;
19949 }
19950
19951
19952 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19953 PyObject *resultobj;
19954 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19955 PyObject * obj0 = 0 ;
19956 char *kwnames[] = {
19957 (char *) "self", NULL
19958 };
19959
19960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19962 {
19963 PyThreadState* __tstate = wxPyBeginAllowThreads();
19964 (arg1)->OnLast();
19965
19966 wxPyEndAllowThreads(__tstate);
19967 if (PyErr_Occurred()) SWIG_fail;
19968 }
19969 Py_INCREF(Py_None); resultobj = Py_None;
19970 return resultobj;
19971 fail:
19972 return NULL;
19973 }
19974
19975
19976 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19977 PyObject *resultobj;
19978 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19979 PyObject * obj0 = 0 ;
19980 char *kwnames[] = {
19981 (char *) "self", NULL
19982 };
19983
19984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19986 {
19987 PyThreadState* __tstate = wxPyBeginAllowThreads();
19988 (arg1)->OnGoto();
19989
19990 wxPyEndAllowThreads(__tstate);
19991 if (PyErr_Occurred()) SWIG_fail;
19992 }
19993 Py_INCREF(Py_None); resultobj = Py_None;
19994 return resultobj;
19995 fail:
19996 return NULL;
19997 }
19998
19999
20000 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20001 PyObject *obj;
20002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20003 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
20004 Py_INCREF(obj);
20005 return Py_BuildValue((char *)"");
20006 }
20007 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20008 PyObject *resultobj;
20009 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20010 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20011 wxPrintData *arg3 = (wxPrintData *) NULL ;
20012 wxPrintPreview *result;
20013 PyObject * obj0 = 0 ;
20014 PyObject * obj1 = 0 ;
20015 PyObject * obj2 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20022 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20023 if (obj2) {
20024 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20025 }
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
20034 return resultobj;
20035 fail:
20036 return NULL;
20037 }
20038
20039
20040 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20041 PyObject *resultobj;
20042 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20043 int arg2 ;
20044 bool result;
20045 PyObject * obj0 = 0 ;
20046 char *kwnames[] = {
20047 (char *) "self",(char *) "pageNum", NULL
20048 };
20049
20050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20052 {
20053 PyThreadState* __tstate = wxPyBeginAllowThreads();
20054 result = (bool)(arg1)->SetCurrentPage(arg2);
20055
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 resultobj = PyInt_FromLong((long)result);
20060 return resultobj;
20061 fail:
20062 return NULL;
20063 }
20064
20065
20066 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20067 PyObject *resultobj;
20068 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20069 int result;
20070 PyObject * obj0 = 0 ;
20071 char *kwnames[] = {
20072 (char *) "self", NULL
20073 };
20074
20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
20076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20077 {
20078 PyThreadState* __tstate = wxPyBeginAllowThreads();
20079 result = (int)(arg1)->GetCurrentPage();
20080
20081 wxPyEndAllowThreads(__tstate);
20082 if (PyErr_Occurred()) SWIG_fail;
20083 }
20084 resultobj = PyInt_FromLong((long)result);
20085 return resultobj;
20086 fail:
20087 return NULL;
20088 }
20089
20090
20091 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
20092 PyObject *resultobj;
20093 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20094 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20095 PyObject * obj0 = 0 ;
20096 PyObject * obj1 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self",(char *) "printout", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20104 {
20105 PyThreadState* __tstate = wxPyBeginAllowThreads();
20106 (arg1)->SetPrintout(arg2);
20107
20108 wxPyEndAllowThreads(__tstate);
20109 if (PyErr_Occurred()) SWIG_fail;
20110 }
20111 Py_INCREF(Py_None); resultobj = Py_None;
20112 return resultobj;
20113 fail:
20114 return NULL;
20115 }
20116
20117
20118 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
20119 PyObject *resultobj;
20120 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20121 wxPyPrintout *result;
20122 PyObject * obj0 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
20128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20129 {
20130 PyThreadState* __tstate = wxPyBeginAllowThreads();
20131 result = (wxPyPrintout *)(arg1)->GetPrintout();
20132
20133 wxPyEndAllowThreads(__tstate);
20134 if (PyErr_Occurred()) SWIG_fail;
20135 }
20136 {
20137 resultobj = wxPyMake_wxObject(result);
20138 }
20139 return resultobj;
20140 fail:
20141 return NULL;
20142 }
20143
20144
20145 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20146 PyObject *resultobj;
20147 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20148 wxPyPrintout *result;
20149 PyObject * obj0 = 0 ;
20150 char *kwnames[] = {
20151 (char *) "self", NULL
20152 };
20153
20154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
20155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20156 {
20157 PyThreadState* __tstate = wxPyBeginAllowThreads();
20158 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
20159
20160 wxPyEndAllowThreads(__tstate);
20161 if (PyErr_Occurred()) SWIG_fail;
20162 }
20163 {
20164 resultobj = wxPyMake_wxObject(result);
20165 }
20166 return resultobj;
20167 fail:
20168 return NULL;
20169 }
20170
20171
20172 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20173 PyObject *resultobj;
20174 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20175 wxFrame *arg2 = (wxFrame *) 0 ;
20176 PyObject * obj0 = 0 ;
20177 PyObject * obj1 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self",(char *) "frame", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
20183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20184 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20185 {
20186 PyThreadState* __tstate = wxPyBeginAllowThreads();
20187 (arg1)->SetFrame(arg2);
20188
20189 wxPyEndAllowThreads(__tstate);
20190 if (PyErr_Occurred()) SWIG_fail;
20191 }
20192 Py_INCREF(Py_None); resultobj = Py_None;
20193 return resultobj;
20194 fail:
20195 return NULL;
20196 }
20197
20198
20199 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20200 PyObject *resultobj;
20201 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20202 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20203 PyObject * obj0 = 0 ;
20204 PyObject * obj1 = 0 ;
20205 char *kwnames[] = {
20206 (char *) "self",(char *) "canvas", NULL
20207 };
20208
20209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
20210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20211 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20212 {
20213 PyThreadState* __tstate = wxPyBeginAllowThreads();
20214 (arg1)->SetCanvas(arg2);
20215
20216 wxPyEndAllowThreads(__tstate);
20217 if (PyErr_Occurred()) SWIG_fail;
20218 }
20219 Py_INCREF(Py_None); resultobj = Py_None;
20220 return resultobj;
20221 fail:
20222 return NULL;
20223 }
20224
20225
20226 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20227 PyObject *resultobj;
20228 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20229 wxFrame *result;
20230 PyObject * obj0 = 0 ;
20231 char *kwnames[] = {
20232 (char *) "self", NULL
20233 };
20234
20235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
20236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20237 {
20238 PyThreadState* __tstate = wxPyBeginAllowThreads();
20239 result = (wxFrame *)(arg1)->GetFrame();
20240
20241 wxPyEndAllowThreads(__tstate);
20242 if (PyErr_Occurred()) SWIG_fail;
20243 }
20244 {
20245 resultobj = wxPyMake_wxObject(result);
20246 }
20247 return resultobj;
20248 fail:
20249 return NULL;
20250 }
20251
20252
20253 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20254 PyObject *resultobj;
20255 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20256 wxPreviewCanvas *result;
20257 PyObject * obj0 = 0 ;
20258 char *kwnames[] = {
20259 (char *) "self", NULL
20260 };
20261
20262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
20263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
20272 return resultobj;
20273 fail:
20274 return NULL;
20275 }
20276
20277
20278 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20279 PyObject *resultobj;
20280 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20281 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20282 wxDC *arg3 = 0 ;
20283 bool result;
20284 PyObject * obj0 = 0 ;
20285 PyObject * obj1 = 0 ;
20286 PyObject * obj2 = 0 ;
20287 char *kwnames[] = {
20288 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20289 };
20290
20291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20293 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20294 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20295 if (arg3 == NULL) {
20296 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20297 }
20298 {
20299 PyThreadState* __tstate = wxPyBeginAllowThreads();
20300 result = (bool)(arg1)->PaintPage(arg2,*arg3);
20301
20302 wxPyEndAllowThreads(__tstate);
20303 if (PyErr_Occurred()) SWIG_fail;
20304 }
20305 resultobj = PyInt_FromLong((long)result);
20306 return resultobj;
20307 fail:
20308 return NULL;
20309 }
20310
20311
20312 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20313 PyObject *resultobj;
20314 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20315 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20316 wxDC *arg3 = 0 ;
20317 bool result;
20318 PyObject * obj0 = 0 ;
20319 PyObject * obj1 = 0 ;
20320 PyObject * obj2 = 0 ;
20321 char *kwnames[] = {
20322 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20323 };
20324
20325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20327 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20328 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20329 if (arg3 == NULL) {
20330 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20331 }
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
20335
20336 wxPyEndAllowThreads(__tstate);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 }
20339 resultobj = PyInt_FromLong((long)result);
20340 return resultobj;
20341 fail:
20342 return NULL;
20343 }
20344
20345
20346 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20347 PyObject *resultobj;
20348 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20349 int arg2 ;
20350 bool result;
20351 PyObject * obj0 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self",(char *) "pageNum", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20358 {
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 result = (bool)(arg1)->RenderPage(arg2);
20361
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 resultobj = PyInt_FromLong((long)result);
20366 return resultobj;
20367 fail:
20368 return NULL;
20369 }
20370
20371
20372 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20375 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20376 PyObject * obj0 = 0 ;
20377 PyObject * obj1 = 0 ;
20378 char *kwnames[] = {
20379 (char *) "self",(char *) "canvas", NULL
20380 };
20381
20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
20383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20385 {
20386 PyThreadState* __tstate = wxPyBeginAllowThreads();
20387 (arg1)->AdjustScrollbars(arg2);
20388
20389 wxPyEndAllowThreads(__tstate);
20390 if (PyErr_Occurred()) SWIG_fail;
20391 }
20392 Py_INCREF(Py_None); resultobj = Py_None;
20393 return resultobj;
20394 fail:
20395 return NULL;
20396 }
20397
20398
20399 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20400 PyObject *resultobj;
20401 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20402 wxPrintDialogData *result;
20403 PyObject * obj0 = 0 ;
20404 char *kwnames[] = {
20405 (char *) "self", NULL
20406 };
20407
20408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
20409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20410 {
20411 PyThreadState* __tstate = wxPyBeginAllowThreads();
20412 {
20413 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20414 result = (wxPrintDialogData *) &_result_ref;
20415 }
20416
20417 wxPyEndAllowThreads(__tstate);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 }
20420 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
20421 return resultobj;
20422 fail:
20423 return NULL;
20424 }
20425
20426
20427 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20428 PyObject *resultobj;
20429 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20430 int arg2 ;
20431 PyObject * obj0 = 0 ;
20432 char *kwnames[] = {
20433 (char *) "self",(char *) "percent", NULL
20434 };
20435
20436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20438 {
20439 PyThreadState* __tstate = wxPyBeginAllowThreads();
20440 (arg1)->SetZoom(arg2);
20441
20442 wxPyEndAllowThreads(__tstate);
20443 if (PyErr_Occurred()) SWIG_fail;
20444 }
20445 Py_INCREF(Py_None); resultobj = Py_None;
20446 return resultobj;
20447 fail:
20448 return NULL;
20449 }
20450
20451
20452 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20453 PyObject *resultobj;
20454 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20455 int result;
20456 PyObject * obj0 = 0 ;
20457 char *kwnames[] = {
20458 (char *) "self", NULL
20459 };
20460
20461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
20462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20463 {
20464 PyThreadState* __tstate = wxPyBeginAllowThreads();
20465 result = (int)(arg1)->GetZoom();
20466
20467 wxPyEndAllowThreads(__tstate);
20468 if (PyErr_Occurred()) SWIG_fail;
20469 }
20470 resultobj = PyInt_FromLong((long)result);
20471 return resultobj;
20472 fail:
20473 return NULL;
20474 }
20475
20476
20477 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20478 PyObject *resultobj;
20479 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20480 int result;
20481 PyObject * obj0 = 0 ;
20482 char *kwnames[] = {
20483 (char *) "self", NULL
20484 };
20485
20486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
20487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20488 {
20489 PyThreadState* __tstate = wxPyBeginAllowThreads();
20490 result = (int)(arg1)->GetMaxPage();
20491
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 resultobj = PyInt_FromLong((long)result);
20496 return resultobj;
20497 fail:
20498 return NULL;
20499 }
20500
20501
20502 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20503 PyObject *resultobj;
20504 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20505 int result;
20506 PyObject * obj0 = 0 ;
20507 char *kwnames[] = {
20508 (char *) "self", NULL
20509 };
20510
20511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
20512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20513 {
20514 PyThreadState* __tstate = wxPyBeginAllowThreads();
20515 result = (int)(arg1)->GetMinPage();
20516
20517 wxPyEndAllowThreads(__tstate);
20518 if (PyErr_Occurred()) SWIG_fail;
20519 }
20520 resultobj = PyInt_FromLong((long)result);
20521 return resultobj;
20522 fail:
20523 return NULL;
20524 }
20525
20526
20527 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20528 PyObject *resultobj;
20529 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20530 bool result;
20531 PyObject * obj0 = 0 ;
20532 char *kwnames[] = {
20533 (char *) "self", NULL
20534 };
20535
20536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
20537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20538 {
20539 PyThreadState* __tstate = wxPyBeginAllowThreads();
20540 result = (bool)(arg1)->Ok();
20541
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 resultobj = PyInt_FromLong((long)result);
20546 return resultobj;
20547 fail:
20548 return NULL;
20549 }
20550
20551
20552 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20553 PyObject *resultobj;
20554 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20555 bool arg2 ;
20556 PyObject * obj0 = 0 ;
20557 PyObject * obj1 = 0 ;
20558 char *kwnames[] = {
20559 (char *) "self",(char *) "ok", NULL
20560 };
20561
20562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
20563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20564 {
20565 arg2 = (bool) SPyObj_AsBool(obj1);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
20568 {
20569 PyThreadState* __tstate = wxPyBeginAllowThreads();
20570 (arg1)->SetOk(arg2);
20571
20572 wxPyEndAllowThreads(__tstate);
20573 if (PyErr_Occurred()) SWIG_fail;
20574 }
20575 Py_INCREF(Py_None); resultobj = Py_None;
20576 return resultobj;
20577 fail:
20578 return NULL;
20579 }
20580
20581
20582 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20583 PyObject *resultobj;
20584 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20585 bool arg2 ;
20586 bool result;
20587 PyObject * obj0 = 0 ;
20588 PyObject * obj1 = 0 ;
20589 char *kwnames[] = {
20590 (char *) "self",(char *) "interactive", NULL
20591 };
20592
20593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20595 {
20596 arg2 = (bool) SPyObj_AsBool(obj1);
20597 if (PyErr_Occurred()) SWIG_fail;
20598 }
20599 {
20600 PyThreadState* __tstate = wxPyBeginAllowThreads();
20601 result = (bool)(arg1)->Print(arg2);
20602
20603 wxPyEndAllowThreads(__tstate);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
20606 resultobj = PyInt_FromLong((long)result);
20607 return resultobj;
20608 fail:
20609 return NULL;
20610 }
20611
20612
20613 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20614 PyObject *resultobj;
20615 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20616 PyObject * obj0 = 0 ;
20617 char *kwnames[] = {
20618 (char *) "self", NULL
20619 };
20620
20621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 (arg1)->DetermineScaling();
20626
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
20630 Py_INCREF(Py_None); resultobj = Py_None;
20631 return resultobj;
20632 fail:
20633 return NULL;
20634 }
20635
20636
20637 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20638 PyObject *obj;
20639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20640 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20641 Py_INCREF(obj);
20642 return Py_BuildValue((char *)"");
20643 }
20644 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20645 PyObject *resultobj;
20646 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20647 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20648 wxPrintData *arg3 = (wxPrintData *) NULL ;
20649 wxPyPrintPreview *result;
20650 PyObject * obj0 = 0 ;
20651 PyObject * obj1 = 0 ;
20652 PyObject * obj2 = 0 ;
20653 char *kwnames[] = {
20654 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20655 };
20656
20657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20660 if (obj2) {
20661 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20662 }
20663 {
20664 PyThreadState* __tstate = wxPyBeginAllowThreads();
20665 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20666
20667 wxPyEndAllowThreads(__tstate);
20668 if (PyErr_Occurred()) SWIG_fail;
20669 }
20670 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20671 return resultobj;
20672 fail:
20673 return NULL;
20674 }
20675
20676
20677 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20678 PyObject *resultobj;
20679 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20680 PyObject *arg2 = (PyObject *) 0 ;
20681 PyObject *arg3 = (PyObject *) 0 ;
20682 PyObject * obj0 = 0 ;
20683 PyObject * obj1 = 0 ;
20684 PyObject * obj2 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "self",(char *) "self",(char *) "_class", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20691 arg2 = obj1;
20692 arg3 = obj2;
20693 {
20694 PyThreadState* __tstate = wxPyBeginAllowThreads();
20695 (arg1)->_setCallbackInfo(arg2,arg3);
20696
20697 wxPyEndAllowThreads(__tstate);
20698 if (PyErr_Occurred()) SWIG_fail;
20699 }
20700 Py_INCREF(Py_None); resultobj = Py_None;
20701 return resultobj;
20702 fail:
20703 return NULL;
20704 }
20705
20706
20707 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20708 PyObject *resultobj;
20709 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20710 int arg2 ;
20711 bool result;
20712 PyObject * obj0 = 0 ;
20713 char *kwnames[] = {
20714 (char *) "self",(char *) "pageNum", NULL
20715 };
20716
20717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20719 {
20720 PyThreadState* __tstate = wxPyBeginAllowThreads();
20721 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20722
20723 wxPyEndAllowThreads(__tstate);
20724 if (PyErr_Occurred()) SWIG_fail;
20725 }
20726 resultobj = PyInt_FromLong((long)result);
20727 return resultobj;
20728 fail:
20729 return NULL;
20730 }
20731
20732
20733 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20734 PyObject *resultobj;
20735 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20736 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20737 wxDC *arg3 = 0 ;
20738 bool result;
20739 PyObject * obj0 = 0 ;
20740 PyObject * obj1 = 0 ;
20741 PyObject * obj2 = 0 ;
20742 char *kwnames[] = {
20743 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20744 };
20745
20746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20749 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20750 if (arg3 == NULL) {
20751 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20752 }
20753 {
20754 PyThreadState* __tstate = wxPyBeginAllowThreads();
20755 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20756
20757 wxPyEndAllowThreads(__tstate);
20758 if (PyErr_Occurred()) SWIG_fail;
20759 }
20760 resultobj = PyInt_FromLong((long)result);
20761 return resultobj;
20762 fail:
20763 return NULL;
20764 }
20765
20766
20767 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20768 PyObject *resultobj;
20769 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20770 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20771 wxDC *arg3 = 0 ;
20772 bool result;
20773 PyObject * obj0 = 0 ;
20774 PyObject * obj1 = 0 ;
20775 PyObject * obj2 = 0 ;
20776 char *kwnames[] = {
20777 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20778 };
20779
20780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20783 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20784 if (arg3 == NULL) {
20785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20786 }
20787 {
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20790
20791 wxPyEndAllowThreads(__tstate);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 }
20794 resultobj = PyInt_FromLong((long)result);
20795 return resultobj;
20796 fail:
20797 return NULL;
20798 }
20799
20800
20801 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20802 PyObject *resultobj;
20803 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20804 int arg2 ;
20805 bool result;
20806 PyObject * obj0 = 0 ;
20807 char *kwnames[] = {
20808 (char *) "self",(char *) "pageNum", NULL
20809 };
20810
20811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20813 {
20814 PyThreadState* __tstate = wxPyBeginAllowThreads();
20815 result = (bool)(arg1)->base_RenderPage(arg2);
20816
20817 wxPyEndAllowThreads(__tstate);
20818 if (PyErr_Occurred()) SWIG_fail;
20819 }
20820 resultobj = PyInt_FromLong((long)result);
20821 return resultobj;
20822 fail:
20823 return NULL;
20824 }
20825
20826
20827 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20828 PyObject *resultobj;
20829 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20830 int arg2 ;
20831 PyObject * obj0 = 0 ;
20832 char *kwnames[] = {
20833 (char *) "self",(char *) "percent", NULL
20834 };
20835
20836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20838 {
20839 PyThreadState* __tstate = wxPyBeginAllowThreads();
20840 (arg1)->base_SetZoom(arg2);
20841
20842 wxPyEndAllowThreads(__tstate);
20843 if (PyErr_Occurred()) SWIG_fail;
20844 }
20845 Py_INCREF(Py_None); resultobj = Py_None;
20846 return resultobj;
20847 fail:
20848 return NULL;
20849 }
20850
20851
20852 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20853 PyObject *resultobj;
20854 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20855 bool arg2 ;
20856 bool result;
20857 PyObject * obj0 = 0 ;
20858 PyObject * obj1 = 0 ;
20859 char *kwnames[] = {
20860 (char *) "self",(char *) "interactive", NULL
20861 };
20862
20863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20865 {
20866 arg2 = (bool) SPyObj_AsBool(obj1);
20867 if (PyErr_Occurred()) SWIG_fail;
20868 }
20869 {
20870 PyThreadState* __tstate = wxPyBeginAllowThreads();
20871 result = (bool)(arg1)->base_Print(arg2);
20872
20873 wxPyEndAllowThreads(__tstate);
20874 if (PyErr_Occurred()) SWIG_fail;
20875 }
20876 resultobj = PyInt_FromLong((long)result);
20877 return resultobj;
20878 fail:
20879 return NULL;
20880 }
20881
20882
20883 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20884 PyObject *resultobj;
20885 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20886 PyObject * obj0 = 0 ;
20887 char *kwnames[] = {
20888 (char *) "self", NULL
20889 };
20890
20891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 (arg1)->base_DetermineScaling();
20896
20897 wxPyEndAllowThreads(__tstate);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 }
20900 Py_INCREF(Py_None); resultobj = Py_None;
20901 return resultobj;
20902 fail:
20903 return NULL;
20904 }
20905
20906
20907 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20908 PyObject *obj;
20909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20910 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20911 Py_INCREF(obj);
20912 return Py_BuildValue((char *)"");
20913 }
20914 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20915 PyObject *resultobj;
20916 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20917 wxFrame *arg2 = (wxFrame *) 0 ;
20918 wxString *arg3 = 0 ;
20919 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20920 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20921 wxSize const &arg5_defvalue = wxDefaultSize ;
20922 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20923 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20924 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20925 wxString *arg7 = (wxString *) &arg7_defvalue ;
20926 wxPyPreviewFrame *result;
20927 bool temp3 = False ;
20928 wxPoint temp4 ;
20929 wxSize temp5 ;
20930 bool temp7 = False ;
20931 PyObject * obj0 = 0 ;
20932 PyObject * obj1 = 0 ;
20933 PyObject * obj2 = 0 ;
20934 PyObject * obj3 = 0 ;
20935 PyObject * obj4 = 0 ;
20936 PyObject * obj6 = 0 ;
20937 char *kwnames[] = {
20938 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20939 };
20940
20941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20943 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20944 {
20945 arg3 = wxString_in_helper(obj2);
20946 if (arg3 == NULL) SWIG_fail;
20947 temp3 = True;
20948 }
20949 if (obj3) {
20950 {
20951 arg4 = &temp4;
20952 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20953 }
20954 }
20955 if (obj4) {
20956 {
20957 arg5 = &temp5;
20958 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20959 }
20960 }
20961 if (obj6) {
20962 {
20963 arg7 = wxString_in_helper(obj6);
20964 if (arg7 == NULL) SWIG_fail;
20965 temp7 = True;
20966 }
20967 }
20968 {
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20971
20972 wxPyEndAllowThreads(__tstate);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 }
20975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20976 {
20977 if (temp3)
20978 delete arg3;
20979 }
20980 {
20981 if (temp7)
20982 delete arg7;
20983 }
20984 return resultobj;
20985 fail:
20986 {
20987 if (temp3)
20988 delete arg3;
20989 }
20990 {
20991 if (temp7)
20992 delete arg7;
20993 }
20994 return NULL;
20995 }
20996
20997
20998 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20999 PyObject *resultobj;
21000 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
21001 PyObject *arg2 = (PyObject *) 0 ;
21002 PyObject *arg3 = (PyObject *) 0 ;
21003 PyObject * obj0 = 0 ;
21004 PyObject * obj1 = 0 ;
21005 PyObject * obj2 = 0 ;
21006 char *kwnames[] = {
21007 (char *) "self",(char *) "self",(char *) "_class", NULL
21008 };
21009
21010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21012 arg2 = obj1;
21013 arg3 = obj2;
21014 {
21015 PyThreadState* __tstate = wxPyBeginAllowThreads();
21016 (arg1)->_setCallbackInfo(arg2,arg3);
21017
21018 wxPyEndAllowThreads(__tstate);
21019 if (PyErr_Occurred()) SWIG_fail;
21020 }
21021 Py_INCREF(Py_None); resultobj = Py_None;
21022 return resultobj;
21023 fail:
21024 return NULL;
21025 }
21026
21027
21028 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21029 PyObject *resultobj;
21030 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
21031 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21032 PyObject * obj0 = 0 ;
21033 PyObject * obj1 = 0 ;
21034 char *kwnames[] = {
21035 (char *) "self",(char *) "canvas", NULL
21036 };
21037
21038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
21039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 (arg1)->SetPreviewCanvas(arg2);
21044
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 Py_INCREF(Py_None); resultobj = Py_None;
21049 return resultobj;
21050 fail:
21051 return NULL;
21052 }
21053
21054
21055 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21056 PyObject *resultobj;
21057 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
21058 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
21059 PyObject * obj0 = 0 ;
21060 PyObject * obj1 = 0 ;
21061 char *kwnames[] = {
21062 (char *) "self",(char *) "bar", NULL
21063 };
21064
21065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
21066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21067 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 (arg1)->SetControlBar(arg2);
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 Py_INCREF(Py_None); resultobj = Py_None;
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
21085 PyObject * obj0 = 0 ;
21086 char *kwnames[] = {
21087 (char *) "self", NULL
21088 };
21089
21090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
21091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21092 {
21093 PyThreadState* __tstate = wxPyBeginAllowThreads();
21094 (arg1)->base_Initialize();
21095
21096 wxPyEndAllowThreads(__tstate);
21097 if (PyErr_Occurred()) SWIG_fail;
21098 }
21099 Py_INCREF(Py_None); resultobj = Py_None;
21100 return resultobj;
21101 fail:
21102 return NULL;
21103 }
21104
21105
21106 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21107 PyObject *resultobj;
21108 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
21109 PyObject * obj0 = 0 ;
21110 char *kwnames[] = {
21111 (char *) "self", NULL
21112 };
21113
21114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
21115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21116 {
21117 PyThreadState* __tstate = wxPyBeginAllowThreads();
21118 (arg1)->base_CreateCanvas();
21119
21120 wxPyEndAllowThreads(__tstate);
21121 if (PyErr_Occurred()) SWIG_fail;
21122 }
21123 Py_INCREF(Py_None); resultobj = Py_None;
21124 return resultobj;
21125 fail:
21126 return NULL;
21127 }
21128
21129
21130 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21131 PyObject *resultobj;
21132 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
21133 PyObject * obj0 = 0 ;
21134 char *kwnames[] = {
21135 (char *) "self", NULL
21136 };
21137
21138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
21139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21140 {
21141 PyThreadState* __tstate = wxPyBeginAllowThreads();
21142 (arg1)->base_CreateControlBar();
21143
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 Py_INCREF(Py_None); resultobj = Py_None;
21148 return resultobj;
21149 fail:
21150 return NULL;
21151 }
21152
21153
21154 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
21155 PyObject *obj;
21156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21157 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
21158 Py_INCREF(obj);
21159 return Py_BuildValue((char *)"");
21160 }
21161 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21162 PyObject *resultobj;
21163 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21164 long arg2 ;
21165 wxWindow *arg3 = (wxWindow *) 0 ;
21166 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21167 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21168 wxSize const &arg5_defvalue = wxDefaultSize ;
21169 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21170 long arg6 = (long) 0 ;
21171 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21172 wxString *arg7 = (wxString *) &arg7_defvalue ;
21173 wxPyPreviewControlBar *result;
21174 wxPoint temp4 ;
21175 wxSize temp5 ;
21176 bool temp7 = False ;
21177 PyObject * obj0 = 0 ;
21178 PyObject * obj2 = 0 ;
21179 PyObject * obj3 = 0 ;
21180 PyObject * obj4 = 0 ;
21181 PyObject * obj6 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
21187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21188 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21189 if (obj3) {
21190 {
21191 arg4 = &temp4;
21192 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21193 }
21194 }
21195 if (obj4) {
21196 {
21197 arg5 = &temp5;
21198 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21199 }
21200 }
21201 if (obj6) {
21202 {
21203 arg7 = wxString_in_helper(obj6);
21204 if (arg7 == NULL) SWIG_fail;
21205 temp7 = True;
21206 }
21207 }
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21211
21212 wxPyEndAllowThreads(__tstate);
21213 if (PyErr_Occurred()) SWIG_fail;
21214 }
21215 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
21216 {
21217 if (temp7)
21218 delete arg7;
21219 }
21220 return resultobj;
21221 fail:
21222 {
21223 if (temp7)
21224 delete arg7;
21225 }
21226 return NULL;
21227 }
21228
21229
21230 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21231 PyObject *resultobj;
21232 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21233 PyObject *arg2 = (PyObject *) 0 ;
21234 PyObject *arg3 = (PyObject *) 0 ;
21235 PyObject * obj0 = 0 ;
21236 PyObject * obj1 = 0 ;
21237 PyObject * obj2 = 0 ;
21238 char *kwnames[] = {
21239 (char *) "self",(char *) "self",(char *) "_class", NULL
21240 };
21241
21242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21244 arg2 = obj1;
21245 arg3 = obj2;
21246 {
21247 PyThreadState* __tstate = wxPyBeginAllowThreads();
21248 (arg1)->_setCallbackInfo(arg2,arg3);
21249
21250 wxPyEndAllowThreads(__tstate);
21251 if (PyErr_Occurred()) SWIG_fail;
21252 }
21253 Py_INCREF(Py_None); resultobj = Py_None;
21254 return resultobj;
21255 fail:
21256 return NULL;
21257 }
21258
21259
21260 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21261 PyObject *resultobj;
21262 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21263 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
21264 PyObject * obj0 = 0 ;
21265 PyObject * obj1 = 0 ;
21266 char *kwnames[] = {
21267 (char *) "self",(char *) "preview", NULL
21268 };
21269
21270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
21271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21273 {
21274 PyThreadState* __tstate = wxPyBeginAllowThreads();
21275 (arg1)->SetPrintPreview(arg2);
21276
21277 wxPyEndAllowThreads(__tstate);
21278 if (PyErr_Occurred()) SWIG_fail;
21279 }
21280 Py_INCREF(Py_None); resultobj = Py_None;
21281 return resultobj;
21282 fail:
21283 return NULL;
21284 }
21285
21286
21287 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
21288 PyObject *resultobj;
21289 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21290 PyObject * obj0 = 0 ;
21291 char *kwnames[] = {
21292 (char *) "self", NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
21296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21297 {
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 (arg1)->base_CreateButtons();
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 Py_INCREF(Py_None); resultobj = Py_None;
21305 return resultobj;
21306 fail:
21307 return NULL;
21308 }
21309
21310
21311 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21314 int arg2 ;
21315 PyObject * obj0 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self",(char *) "zoom", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
21321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21322 {
21323 PyThreadState* __tstate = wxPyBeginAllowThreads();
21324 (arg1)->base_SetZoomControl(arg2);
21325
21326 wxPyEndAllowThreads(__tstate);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 Py_INCREF(Py_None); resultobj = Py_None;
21330 return resultobj;
21331 fail:
21332 return NULL;
21333 }
21334
21335
21336 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21337 PyObject *obj;
21338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21339 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
21340 Py_INCREF(obj);
21341 return Py_BuildValue((char *)"");
21342 }
21343 static PyMethodDef SwigMethods[] = {
21344 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
21349 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
21361 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
21362 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
21364 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
21365 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
21367 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21369 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
21370 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
21371 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
21372 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
21376 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
21378 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
21382 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
21386 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
21387 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
21388 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
21389 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
21390 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
21392 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
21393 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
21394 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
21396 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
21397 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21399 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21400 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21402 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21403 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
21404 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21405 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21406 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
21408 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
21409 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
21412 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
21413 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
21414 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
21415 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
21417 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21418 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
21419 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
21421 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
21422 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
21423 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
21425 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
21427 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
21428 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
21429 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
21430 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
21431 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
21432 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
21433 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
21434 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
21436 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
21437 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21438 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21439 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21440 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
21441 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21442 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21443 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21444 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
21445 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
21446 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
21447 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
21448 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
21449 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
21450 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
21451 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
21452 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
21453 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
21454 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
21455 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
21456 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
21457 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
21458 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
21459 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
21460 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
21461 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
21462 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
21463 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
21464 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
21465 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
21466 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21467 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21468 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21469 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21470 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21471 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21472 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21473 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21474 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
21475 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
21476 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21477 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21478 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
21479 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
21480 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
21481 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
21482 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
21483 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
21484 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
21485 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
21486 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
21487 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
21488 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
21489 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
21490 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21491 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21492 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21493 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21494 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21495 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21496 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21497 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21498 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21499 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21500 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21501 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21502 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21503 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21504 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
21505 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
21506 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
21507 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
21508 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
21509 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
21510 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
21511 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
21512 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
21513 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
21514 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21515 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21516 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21517 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21518 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
21519 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
21520 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21521 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21522 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21523 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21524 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
21525 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
21526 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21527 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21528 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
21529 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
21530 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
21531 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21532 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21533 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
21534 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21535 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21536 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21537 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
21538 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21539 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
21540 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21541 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21542 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
21543 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
21544 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
21545 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
21546 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
21547 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
21548 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
21549 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
21550 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
21551 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21552 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21553 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21554 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
21555 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
21556 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
21557 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
21558 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
21559 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
21560 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
21561 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21562 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21563 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21564 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21565 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
21566 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
21567 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
21568 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
21569 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
21570 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
21571 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
21572 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
21573 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21574 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
21575 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
21576 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
21577 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21578 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21579 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21580 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21581 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21582 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21583 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21584 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21585 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21586 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21587 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21588 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21589 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21590 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21591 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21592 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21593 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21594 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21595 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21596 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21597 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21598 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21599 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21600 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21601 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21602 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21603 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21604 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21605 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21606 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21607 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21608 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21609 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21610 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21611 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21612 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21613 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21614 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
21615 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
21616 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
21617 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
21618 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
21619 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21620 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21621 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21622 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21623 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21624 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21625 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21626 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21627 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21628 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21629 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21630 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21631 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21632 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21633 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21634 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21635 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21636 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21637 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21638 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21639 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21640 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21641 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21642 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21643 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21644 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21645 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21646 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21647 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21648 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21649 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21650 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21651 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21652 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21653 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21654 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21655 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21656 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21657 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21658 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21659 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21660 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21661 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21662 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21663 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21664 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21665 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21666 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21667 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21668 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21669 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21670 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21671 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21672 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21673 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21674 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21675 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21676 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21677 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21678 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21679 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21680 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21681 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21682 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21683 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21684 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21685 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21686 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21687 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21688 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21689 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21690 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21691 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21692 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21693 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21694 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21695 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21696 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21697 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21698 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21699 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21700 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21701 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21702 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21703 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21704 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21705 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21706 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21707 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21708 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21709 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21710 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21711 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21712 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21713 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21714 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21715 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21716 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21717 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21718 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21719 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21720 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21721 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21722 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21723 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21724 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21725 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21726 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21727 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21728 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21729 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21730 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21731 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21732 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21733 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21734 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21735 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21736 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21737 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21738 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21739 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21740 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21741 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21742 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21743 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21744 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21745 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21746 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21747 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21748 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21749 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21750 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21751 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21752 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21753 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21754 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21755 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21756 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21757 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21758 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21759 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21760 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21761 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21762 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21763 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21764 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21765 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21766 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21767 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21768 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21769 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21770 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21771 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21772 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21773 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21774 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21775 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21776 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21777 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21778 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21779 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21780 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21781 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21782 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21783 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21784 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21785 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21786 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21787 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21788 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21789 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21790 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21791 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21792 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21793 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21794 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21795 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21796 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21797 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21798 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21799 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21800 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21801 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21802 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21803 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21804 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21805 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21806 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21807 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21808 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21809 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21810 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21811 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21812 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21813 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21814 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21815 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21816 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21817 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21818 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21819 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21820 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21821 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21822 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21823 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21824 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21825 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21826 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21827 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21828 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21829 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21830 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21831 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21832 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21833 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21834 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21835 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21836 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21837 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21838 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21839 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21840 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21841 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21842 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21843 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21844 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21845 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21846 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21847 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21848 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21849 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21850 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21851 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21852 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21853 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21854 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21855 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21856 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21857 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21858 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21859 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21860 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21861 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21862 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21863 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21864 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21865 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21866 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21867 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21868 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21869 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21870 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21871 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21872 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21873 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21874 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21875 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21876 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21877 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21878 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21879 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21880 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21881 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21882 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21883 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21884 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21885 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21886 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21887 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21888 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21889 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21890 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21891 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21892 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21893 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21894 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21895 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21896 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21897 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21898 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21899 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21900 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21901 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21902 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21903 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21904 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21905 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21906 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21907 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21908 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21909 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21910 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21911 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21912 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21913 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21914 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21915 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21916 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21917 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21918 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21919 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21920 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21921 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21922 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21923 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21924 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21925 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21926 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21927 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21928 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21929 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21930 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21931 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21932 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21933 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21934 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21935 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21936 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21937 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21938 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21939 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21940 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21941 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21942 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21943 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21944 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21945 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21946 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21947 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21948 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21949 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21950 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21951 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21952 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21953 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21954 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21955 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21956 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21957 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21958 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21959 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21960 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21961 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21962 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21963 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21964 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21965 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21966 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21967 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21968 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21969 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21970 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21971 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21972 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21973 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21974 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21975 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21976 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21977 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21978 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21979 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21980 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21981 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21982 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21983 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21984 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21985 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21986 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21987 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21988 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21989 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21990 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21991 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21992 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21993 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21994 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21995 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21996 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21997 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21998 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21999 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
22000 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
22001 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22002 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
22003 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
22004 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
22005 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
22006 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
22007 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
22008 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
22009 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22010 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
22011 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
22012 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
22013 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
22014 { NULL, NULL }
22015 };
22016
22017
22018 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
22019
22020 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
22021 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22022 }
22023 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
22024 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
22025 }
22026 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
22027 return (void *)((wxEvent *) ((wxMenuEvent *) x));
22028 }
22029 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
22030 return (void *)((wxEvent *) ((wxCloseEvent *) x));
22031 }
22032 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
22033 return (void *)((wxEvent *) ((wxMouseEvent *) x));
22034 }
22035 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
22036 return (void *)((wxEvent *) ((wxEraseEvent *) x));
22037 }
22038 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
22039 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
22040 }
22041 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
22042 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
22043 }
22044 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
22045 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
22046 }
22047 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
22048 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
22049 }
22050 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
22051 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
22052 }
22053 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
22054 return (void *)((wxEvent *) ((wxPyEvent *) x));
22055 }
22056 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
22057 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
22058 }
22059 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
22060 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
22061 }
22062 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
22063 return (void *)((wxEvent *) ((wxIdleEvent *) x));
22064 }
22065 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
22066 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
22067 }
22068 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
22069 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
22070 }
22071 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
22072 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
22073 }
22074 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
22075 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
22076 }
22077 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
22078 return (void *)((wxEvent *) ((wxActivateEvent *) x));
22079 }
22080 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
22081 return (void *)((wxEvent *) ((wxSizeEvent *) x));
22082 }
22083 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
22084 return (void *)((wxEvent *) ((wxMoveEvent *) x));
22085 }
22086 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
22087 return (void *)((wxEvent *) ((wxPaintEvent *) x));
22088 }
22089 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
22090 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
22091 }
22092 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
22093 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
22094 }
22095 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
22096 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
22097 }
22098 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
22099 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
22100 }
22101 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
22102 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22103 }
22104 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
22105 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
22106 }
22107 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
22108 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
22109 }
22110 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
22111 return (void *)((wxEvent *) ((wxFocusEvent *) x));
22112 }
22113 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
22114 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
22115 }
22116 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
22117 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
22118 }
22119 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
22120 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
22121 }
22122 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
22123 return (void *)((wxEvent *) ((wxShowEvent *) x));
22124 }
22125 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
22126 return (void *)((wxEvent *) ((wxCommandEvent *) x));
22127 }
22128 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
22129 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
22130 }
22131 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
22132 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22133 }
22134 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
22135 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
22136 }
22137 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
22138 return (void *)((wxEvent *) ((wxKeyEvent *) x));
22139 }
22140 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
22141 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
22142 }
22143 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
22144 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
22145 }
22146 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
22147 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
22148 }
22149 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
22150 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22151 }
22152 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
22153 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22154 }
22155 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
22156 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
22157 }
22158 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
22159 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
22160 }
22161 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
22162 return (void *)((wxEvtHandler *) ((wxValidator *) x));
22163 }
22164 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
22165 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
22166 }
22167 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
22168 return (void *)((wxEvtHandler *) ((wxMenu *) x));
22169 }
22170 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
22171 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22172 }
22173 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
22174 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22175 }
22176 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
22177 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22178 }
22179 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
22180 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22181 }
22182 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
22183 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22184 }
22185 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
22186 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22187 }
22188 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
22189 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22190 }
22191 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
22192 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
22193 }
22194 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
22195 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
22196 }
22197 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
22198 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22199 }
22200 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
22201 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22202 }
22203 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
22204 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22205 }
22206 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
22207 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
22208 }
22209 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
22210 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22211 }
22212 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
22213 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
22214 }
22215 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
22216 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
22217 }
22218 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
22219 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
22220 }
22221 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
22222 return (void *)((wxEvtHandler *) ((wxWindow *) x));
22223 }
22224 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
22225 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22226 }
22227 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
22228 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
22229 }
22230 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
22231 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
22232 }
22233 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
22234 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
22235 }
22236 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
22237 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22238 }
22239 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
22240 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22241 }
22242 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
22243 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22244 }
22245 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
22246 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
22247 }
22248 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
22249 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22250 }
22251 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
22252 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
22253 }
22254 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
22255 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22256 }
22257 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
22258 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22259 }
22260 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
22261 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22262 }
22263 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
22264 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22265 }
22266 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
22267 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22268 }
22269 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
22270 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
22271 }
22272 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
22273 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22274 }
22275 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
22276 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22277 }
22278 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
22279 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22280 }
22281 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
22282 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22283 }
22284 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
22285 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22286 }
22287 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
22288 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22289 }
22290 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
22291 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22292 }
22293 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
22294 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22295 }
22296 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
22297 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
22298 }
22299 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
22300 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
22301 }
22302 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
22303 return (void *)((wxFrame *) ((wxProgressDialog *) x));
22304 }
22305 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
22306 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
22307 }
22308 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
22309 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22310 }
22311 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
22312 return (void *)((wxFrame *) ((wxMiniFrame *) x));
22313 }
22314 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
22315 return (void *)((wxFrame *) ((wxSplashScreen *) x));
22316 }
22317 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
22318 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
22319 }
22320 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
22321 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
22322 }
22323 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
22324 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
22325 }
22326 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
22327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22328 }
22329 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
22330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22331 }
22332 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
22333 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
22334 }
22335 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
22336 return (void *)((wxObject *) ((wxSizerItem *) x));
22337 }
22338 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
22339 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
22340 }
22341 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
22342 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
22343 }
22344 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
22345 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
22346 }
22347 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
22348 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
22349 }
22350 static void *_p_wxSizerTo_p_wxObject(void *x) {
22351 return (void *)((wxObject *) ((wxSizer *) x));
22352 }
22353 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
22354 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
22355 }
22356 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
22357 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
22358 }
22359 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
22360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
22361 }
22362 static void *_p_wxEventTo_p_wxObject(void *x) {
22363 return (void *)((wxObject *) ((wxEvent *) x));
22364 }
22365 static void *_p_wxFontDataTo_p_wxObject(void *x) {
22366 return (void *)((wxObject *) ((wxFontData *) x));
22367 }
22368 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
22369 return (void *)((wxObject *) ((wxPrintData *) x));
22370 }
22371 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
22372 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
22373 }
22374 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
22375 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
22376 }
22377 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
22378 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
22379 }
22380 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
22381 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
22382 }
22383 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
22384 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
22385 }
22386 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
22387 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
22388 }
22389 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
22390 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
22391 }
22392 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
22393 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
22394 }
22395 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
22396 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
22397 }
22398 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
22399 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
22400 }
22401 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
22402 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22403 }
22404 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
22405 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
22406 }
22407 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
22408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22409 }
22410 static void *_p_wxControlTo_p_wxObject(void *x) {
22411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
22412 }
22413 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
22414 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
22415 }
22416 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
22417 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
22418 }
22419 static void *_p_wxFSFileTo_p_wxObject(void *x) {
22420 return (void *)((wxObject *) ((wxFSFile *) x));
22421 }
22422 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
22423 return (void *)((wxObject *) ((wxFindReplaceData *) x));
22424 }
22425 static void *_p_wxPySizerTo_p_wxObject(void *x) {
22426 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
22427 }
22428 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
22429 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22430 }
22431 static void *_p_wxColourDataTo_p_wxObject(void *x) {
22432 return (void *)((wxObject *) ((wxColourData *) x));
22433 }
22434 static void *_p_wxPyEventTo_p_wxObject(void *x) {
22435 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
22436 }
22437 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
22438 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
22439 }
22440 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
22441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
22442 }
22443 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
22444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22445 }
22446 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
22447 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22448 }
22449 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
22450 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22451 }
22452 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
22453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22454 }
22455 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
22456 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22457 }
22458 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
22459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22460 }
22461 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
22462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22463 }
22464 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
22465 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22466 }
22467 static void *_p_wxShowEventTo_p_wxObject(void *x) {
22468 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
22469 }
22470 static void *_p_wxPrinterTo_p_wxObject(void *x) {
22471 return (void *)((wxObject *) ((wxPrinter *) x));
22472 }
22473 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
22474 return (void *)((wxObject *) ((wxMenuItem *) x));
22475 }
22476 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
22477 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
22478 }
22479 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
22480 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
22481 }
22482 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
22483 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
22484 }
22485 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
22486 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
22487 }
22488 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
22489 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
22490 }
22491 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
22492 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
22493 }
22494 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
22495 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
22496 }
22497 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
22498 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
22499 }
22500 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
22501 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
22502 }
22503 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
22504 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
22505 }
22506 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
22507 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
22508 }
22509 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
22510 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
22511 }
22512 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
22513 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
22514 }
22515 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
22516 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
22517 }
22518 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
22519 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
22520 }
22521 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
22522 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
22523 }
22524 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
22525 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
22526 }
22527 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
22528 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
22529 }
22530 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
22531 return (void *)((wxObject *) ((wxImageHandler *) x));
22532 }
22533 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
22534 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
22535 }
22536 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
22537 return (void *)((wxObject *) ((wxEvtHandler *) x));
22538 }
22539 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
22540 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
22541 }
22542 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
22543 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22544 }
22545 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
22546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22547 }
22548 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
22549 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
22550 }
22551 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
22552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22553 }
22554 static void *_p_wxImageTo_p_wxObject(void *x) {
22555 return (void *)((wxObject *) ((wxImage *) x));
22556 }
22557 static void *_p_wxFrameTo_p_wxObject(void *x) {
22558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22559 }
22560 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
22561 return (void *)((wxObject *) ((wxPyPrintout *) x));
22562 }
22563 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
22564 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
22565 }
22566 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
22567 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
22568 }
22569 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
22570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
22571 }
22572 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
22573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22574 }
22575 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
22576 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22577 }
22578 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22579 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22580 }
22581 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22582 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22583 }
22584 static void *_p_wxWindowTo_p_wxObject(void *x) {
22585 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22586 }
22587 static void *_p_wxMenuTo_p_wxObject(void *x) {
22588 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22589 }
22590 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22592 }
22593 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22595 }
22596 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22598 }
22599 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22601 }
22602 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22604 }
22605 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22607 }
22608 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22610 }
22611 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22613 }
22614 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22616 }
22617 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22619 }
22620 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22622 }
22623 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22625 }
22626 static void *_p_wxSashEventTo_p_wxObject(void *x) {
22627 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22628 }
22629 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22630 return (void *)((wxObject *) ((wxPrintPreview *) x));
22631 }
22632 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22633 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22634 }
22635 static void *_p_wxPanelTo_p_wxObject(void *x) {
22636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22637 }
22638 static void *_p_wxDialogTo_p_wxObject(void *x) {
22639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22640 }
22641 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22643 }
22644 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22646 }
22647 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22649 }
22650 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22652 }
22653 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22655 }
22656 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22657 return (void *)((wxObject *) ((wxFileSystem *) x));
22658 }
22659 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22660 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22661 }
22662 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22663 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22664 }
22665 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22666 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22667 }
22668 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22669 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22670 }
22671 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22672 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22673 }
22674 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22675 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22676 }
22677 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22678 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22679 }
22680 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22681 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22682 }
22683 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22685 }
22686 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22688 }
22689 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22690 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22691 }
22692 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22693 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22694 }
22695 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22696 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22697 }
22698 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22700 }
22701 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22702 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22703 }
22704 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22705 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22706 }
22707 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22708 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22709 }
22710 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22711 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22712 }
22713 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22714 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22715 }
22716 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22717 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22718 }
22719 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22720 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22721 }
22722 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22723 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22724 }
22725 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22726 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22727 }
22728 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22729 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22730 }
22731 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22732 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22733 }
22734 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22735 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22736 }
22737 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22738 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22739 }
22740 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22741 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22742 }
22743 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22744 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22745 }
22746 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22747 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22748 }
22749 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22750 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22751 }
22752 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22753 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22754 }
22755 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22756 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22757 }
22758 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22759 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22760 }
22761 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22762 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22763 }
22764 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22765 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22766 }
22767 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22768 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22769 }
22770 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22771 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22772 }
22773 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22774 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22775 }
22776 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22777 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22778 }
22779 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22780 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22781 }
22782 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22783 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22784 }
22785 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22786 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22787 }
22788 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22789 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22790 }
22791 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22792 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22793 }
22794 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22795 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22796 }
22797 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22798 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22799 }
22800 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22801 return (void *)((wxWindow *) ((wxMenuBar *) x));
22802 }
22803 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22804 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22805 }
22806 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22807 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22808 }
22809 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22810 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22811 }
22812 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22813 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22814 }
22815 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22816 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22817 }
22818 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22819 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22820 }
22821 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22822 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22823 }
22824 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22825 return (void *)((wxWindow *) ((wxPanel *) x));
22826 }
22827 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22828 return (void *)((wxWindow *) ((wxStatusBar *) x));
22829 }
22830 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22831 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22832 }
22833 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22834 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22835 }
22836 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22837 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22838 }
22839 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22840 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22841 }
22842 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22843 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22844 }
22845 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22846 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22847 }
22848 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22849 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22850 }
22851 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22852 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22853 }
22854 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22855 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22856 }
22857 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22858 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22859 }
22860 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22861 return (void *)((wxWindow *) ((wxSashWindow *) x));
22862 }
22863 static void *_p_wxControlTo_p_wxWindow(void *x) {
22864 return (void *)((wxWindow *) ((wxControl *) x));
22865 }
22866 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22867 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22868 }
22869 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22870 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22871 }
22872 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22873 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22874 }
22875 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22876 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22877 }
22878 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22879 return (void *)((wxWindow *) ((wxPyWindow *) x));
22880 }
22881 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22882 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22883 }
22884 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22885 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22886 }
22887 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22888 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22889 }
22890 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22891 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22892 }
22893 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22894 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22895 }
22896 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22897 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22898 }
22899 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22900 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22901 }
22902 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22903 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22904 }
22905 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22906 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22907 }
22908 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22909 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22910 }
22911 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22912 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22913 }
22914 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22915 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22916 }
22917 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22918 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22919 }
22920 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22921 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22922 }
22923 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22924 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22925 }
22926 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22927 return (void *)((wxDialog *) ((wxColourDialog *) x));
22928 }
22929 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22930 return (void *)((wxDialog *) ((wxDirDialog *) x));
22931 }
22932 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22933 return (void *)((wxDialog *) ((wxFontDialog *) x));
22934 }
22935 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22936 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22937 }
22938 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22939 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22940 }
22941 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22942 return (void *)((wxDialog *) ((wxFileDialog *) x));
22943 }
22944 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22945 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22946 }
22947 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22948 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22949 }
22950 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22951 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22952 }
22953 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22954 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22955 }
22956 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22957 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22958 }
22959 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22960 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22961 }
22962 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22963 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22964 }
22965 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22966 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22967 }
22968 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22969 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22970 }
22971 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22972 return (void *)((wxPanel *) ((wxPyPanel *) x));
22973 }
22974 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22975 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22976 }
22977 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22978 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22979 }
22980 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22981 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22982 }
22983 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22984 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22985 }
22986 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22987 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22988 }
22989 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22990 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22991 }
22992 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22993 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22994 }
22995 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22996 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22997 }
22998 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22999 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23000 }
23001 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
23002 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
23003 }
23004 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
23005 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
23006 }
23007 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
23008 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
23009 }
23010 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
23011 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
23012 }
23013 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
23014 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
23015 }
23016 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
23017 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23018 }
23019 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
23020 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
23021 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
23022 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
23023 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
23024 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
23025 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
23026 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}};
23027 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
23028 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
23029 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
23030 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
23031 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
23032 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
23033 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
23034 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
23035 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
23036 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
23037 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
23038 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
23039 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
23040 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
23041 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
23042 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
23043 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
23044 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
23045 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
23046 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
23047 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
23048 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
23049 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
23050 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
23051 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
23052 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
23053 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
23054 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
23055 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
23056 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
23057 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
23058 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
23059 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
23060 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}};
23061 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
23062 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
23063 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
23064 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
23065 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
23066 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
23067 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
23068 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
23069 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
23070 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
23071 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
23072 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
23073 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}};
23074 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
23075 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow},{0}};
23076 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
23077 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}};
23078 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
23079 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
23080 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
23081 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
23082 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
23083 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
23084 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
23085 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
23086 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
23087 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
23088 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
23089 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
23090 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}};
23091 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}};
23092 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
23093 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
23094 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}};
23095 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
23096 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
23097 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
23098 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
23099 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
23100 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
23101
23102 static swig_type_info *swig_types_initial[] = {
23103 _swigt__p_wxQueryLayoutInfoEvent,
23104 _swigt__p_wxPreviewFrame,
23105 _swigt__p_wxPyPreviewFrame,
23106 _swigt__p_wxPyPanel,
23107 _swigt__p_wxMenu,
23108 _swigt__p_wxPrintData,
23109 _swigt__p_wxFontData,
23110 _swigt__p_wxEvent,
23111 _swigt__p_wxTaskBarIcon,
23112 _swigt__p_wxIconBundle,
23113 _swigt__p_wxLayoutAlgorithm,
23114 _swigt__p_wxFindDialogEvent,
23115 _swigt__p_wxPreviewCanvas,
23116 _swigt__p_wxFont,
23117 _swigt__p_wxSplitterEvent,
23118 _swigt__p_wxRegion,
23119 _swigt__p_wxFindReplaceData,
23120 _swigt__p_int,
23121 _swigt__p_wxSize,
23122 _swigt__p_wxDC,
23123 _swigt__p_wxIcon,
23124 _swigt__p_wxMDIChildFrame,
23125 _swigt__p_wxColourData,
23126 _swigt__p_wxNotifyEvent,
23127 _swigt__p_wxPyWindow,
23128 _swigt__p_wxSplashScreen,
23129 _swigt__p_wxFindReplaceDialog,
23130 _swigt__p_wxProgressDialog,
23131 _swigt__p_wxMessageDialog,
23132 _swigt__p_wxTextEntryDialog,
23133 _swigt__p_wxSingleChoiceDialog,
23134 _swigt__p_wxMultiChoiceDialog,
23135 _swigt__p_wxFileDialog,
23136 _swigt__p_wxPrinter,
23137 _swigt__p_wxArrayInt,
23138 _swigt__p_wxEvtHandler,
23139 _swigt__p_wxCalculateLayoutEvent,
23140 _swigt__p_wxPyHtmlListBox,
23141 _swigt__p_wxPyVListBox,
23142 _swigt__p_wxRect,
23143 _swigt__p_wxMiniFrame,
23144 _swigt__p_wxFrame,
23145 _swigt__p_wxPyPrintout,
23146 _swigt__p_wxTaskBarIconEvent,
23147 _swigt__p_wxScrollWinEvent,
23148 _swigt__p_wxStatusBar,
23149 _swigt__p_wxMDIParentFrame,
23150 _swigt__p_wxPoint,
23151 _swigt__p_wxObject,
23152 _swigt__p_unsigned_long,
23153 _swigt__p_wxMDIClientWindow,
23154 _swigt__p_wxTipWindow,
23155 _swigt__p_wxSashLayoutWindow,
23156 _swigt__p_wxSplitterWindow,
23157 _swigt__p_wxPyVScrolledWindow,
23158 _swigt__p_wxPyPopupTransientWindow,
23159 _swigt__p_wxPopupWindow,
23160 _swigt__p_wxSashWindow,
23161 _swigt__p_wxTopLevelWindow,
23162 _swigt__p_wxWindow,
23163 _swigt__p_wxScrolledWindow,
23164 _swigt__p_wxSplashScreenWindow,
23165 _swigt__p_wxMenuBar,
23166 _swigt__p_wxPrintPreview,
23167 _swigt__p_wxSashEvent,
23168 _swigt__p_wxString,
23169 _swigt__p_wxPyPrintPreview,
23170 _swigt__p_wxPageSetupDialog,
23171 _swigt__p_wxFontDialog,
23172 _swigt__p_wxDirDialog,
23173 _swigt__p_wxColourDialog,
23174 _swigt__p_wxDialog,
23175 _swigt__p_wxPanel,
23176 _swigt__p_wxPrintDialog,
23177 _swigt__p_wxBitmap,
23178 _swigt__p_wxCommandEvent,
23179 _swigt__p_wxPreviewControlBar,
23180 _swigt__p_wxPyPreviewControlBar,
23181 _swigt__p_wxColour,
23182 _swigt__p_wxToolBar,
23183 _swigt__p_wxPrintDialogData,
23184 _swigt__p_wxPageSetupDialogData,
23185 0
23186 };
23187
23188
23189 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
23190
23191 static swig_const_info swig_const_table[] = {
23192 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
23193 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
23194 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
23195 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
23196 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
23197 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
23198 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
23199 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
23200 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
23201 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
23202 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
23203 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
23204 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
23205 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
23206 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
23207 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
23208 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
23209 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
23210 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
23211 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
23212 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
23213 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
23214 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
23215 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
23216 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
23217 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
23218 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
23219 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
23220 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
23221 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
23222 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
23223 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
23224 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
23225 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
23226 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
23227 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
23228 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
23229 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
23230 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
23231 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
23232 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
23233 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
23234 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
23235 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
23236 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
23237 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
23238 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
23239 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
23240 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
23241 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
23242 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
23243 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
23244 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
23245 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
23246 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
23247 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
23248 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
23249 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
23250 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
23251 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
23252 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
23253 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
23254 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
23255 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
23256 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
23257 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
23258 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
23259 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
23260 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
23261 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
23262 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
23263 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
23264 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
23265 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
23266 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
23267 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
23268 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
23269 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
23270 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
23271 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
23272 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
23273 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
23274 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
23275 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
23276 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
23277 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
23278 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
23279 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
23280 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
23281 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
23282 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
23283 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
23284 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
23285 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
23286 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
23287 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
23288 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
23289 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
23290 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
23291 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
23292 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
23293 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
23294 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
23295 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
23296 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
23297 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
23298 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
23299 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
23300 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
23301 {0}};
23302
23303 #ifdef __cplusplus
23304 }
23305 #endif
23306
23307 #ifdef __cplusplus
23308 extern "C"
23309 #endif
23310 SWIGEXPORT(void) SWIG_init(void) {
23311 static PyObject *SWIG_globals = 0;
23312 static int typeinit = 0;
23313 PyObject *m, *d;
23314 int i;
23315 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
23316 m = Py_InitModule((char *) SWIG_name, SwigMethods);
23317 d = PyModule_GetDict(m);
23318
23319 if (!typeinit) {
23320 for (i = 0; swig_types_initial[i]; i++) {
23321 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
23322 }
23323 typeinit = 1;
23324 }
23325 SWIG_InstallConstants(d,swig_const_table);
23326
23327 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
23328 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
23329 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
23330 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
23331 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
23332 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
23333 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
23334 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
23335 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
23336 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
23337 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
23338 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
23339 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
23340 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
23341 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
23342 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
23343
23344 // Map renamed classes back to their common name for OOR
23345 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
23346 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
23347 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
23348
23349 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
23350 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
23351 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
23352 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
23353 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
23354 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
23355 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
23356 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
23357 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
23358 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
23359 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
23360 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
23361 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
23362 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
23363 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
23364 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
23365 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
23366 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
23367 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
23368 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
23369
23370 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
23371
23372 }
23373