]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows_wrap.cpp
Fixed the readme
[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 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxMDIClientWindow swig_types[52]
262 #define SWIGTYPE_p_wxTipWindow swig_types[53]
263 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[54]
264 #define SWIGTYPE_p_wxSplitterWindow swig_types[55]
265 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[57]
267 #define SWIGTYPE_p_wxPopupWindow swig_types[58]
268 #define SWIGTYPE_p_wxSashWindow swig_types[59]
269 #define SWIGTYPE_p_wxTopLevelWindow swig_types[60]
270 #define SWIGTYPE_p_wxWindow swig_types[61]
271 #define SWIGTYPE_p_wxScrolledWindow swig_types[62]
272 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
273 #define SWIGTYPE_p_wxMenuBar swig_types[64]
274 #define SWIGTYPE_p_wxPrintPreview swig_types[65]
275 #define SWIGTYPE_p_wxSashEvent swig_types[66]
276 #define SWIGTYPE_p_wxString swig_types[67]
277 #define SWIGTYPE_p_wxPyPrintPreview swig_types[68]
278 #define SWIGTYPE_p_wxFontDialog swig_types[69]
279 #define SWIGTYPE_p_wxDirDialog swig_types[70]
280 #define SWIGTYPE_p_wxColourDialog swig_types[71]
281 #define SWIGTYPE_p_wxDialog swig_types[72]
282 #define SWIGTYPE_p_wxPanel swig_types[73]
283 #define SWIGTYPE_p_wxPageSetupDialog swig_types[74]
284 #define SWIGTYPE_p_wxPrintDialog swig_types[75]
285 #define SWIGTYPE_p_wxBitmap swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxPreviewControlBar swig_types[78]
288 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[82]
292 #define SWIGTYPE_p_wxPrintDialogData swig_types[83]
293 static swig_type_info *swig_types[85];
294
295 /* -------- TYPES TABLE (END) -------- */
296
297
298 /*-----------------------------------------------
299 @(target):= _windows.so
300 ------------------------------------------------*/
301 #define SWIG_init init_windows
302
303 #define SWIG_name "_windows"
304
305 /* Auxiliar swig macros */
306
307 #ifdef __cplusplus
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
315
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
318 #else
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
320 #endif
321
322 #else /* C case */
323
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
332
333 #endif /* __cplusplus */
334
335
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346
347
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
350
351
352 static const wxString wxPyEmptyString(wxEmptyString);
353 static const wxString wxPyPanelNameStr(wxPanelNameStr);
354
355
356
357 #include <limits.h>
358
359
360 SWIGSTATICINLINE(long)
361 SWIG_CheckLongInRange(long value, const char* type,
362 long min_value, long max_value)
363 {
364 if (!PyErr_Occurred()) {
365 if (value < min_value) {
366 PyObject *err =
367 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
368 value, type, min_value);
369
370 PyErr_SetObject(PyExc_OverflowError, err);
371 Py_DECREF(err);
372 } else if (value > max_value) {
373 PyObject *err =
374 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
375 value, type, max_value);
376 PyErr_SetObject(PyExc_OverflowError, err);
377 Py_DECREF(err);
378 }
379 }
380 return value;
381 }
382
383
384 SWIGSTATICINLINE(long)
385 SWIG_AsLong(PyObject * obj)
386 {
387 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
388 }
389
390
391 #if INT_MAX != LONG_MAX
392 SWIGSTATICINLINE(int)
393 SWIG_AsInt(PyObject *obj)
394 {
395 return swig_numeric_cast(int,
396 SWIG_CheckLongInRange(SWIG_AsLong(obj),
397 "int", INT_MIN, INT_MAX));
398 }
399 #else
400 #define SWIG_AsInt SWIG_AsLong
401 #endif
402
403
404 SWIGSTATICINLINE(int)
405 SWIG_CheckInt(PyObject* obj)
406 {
407 SWIG_AsInt(obj);
408 if (PyErr_Occurred()) {
409 PyErr_Clear();
410 return 0;
411 } else {
412 return 1;
413 }
414 }
415
416
417 SWIGSTATICINLINE(int)
418 SWIG_CheckLong(PyObject* obj)
419 {
420 SWIG_AsLong(obj);
421 if (PyErr_Occurred()) {
422 PyErr_Clear();
423 return 0;
424 } else {
425 return 1;
426 }
427 }
428
429
430 SWIGSTATICINLINE(bool)
431 SWIG_AsBool(PyObject *obj)
432 {
433 return PyObject_IsTrue(obj) ? true : false;
434 }
435
436
437 SWIGSTATICINLINE(int)
438 SWIG_CheckBool(PyObject* obj)
439 {
440 SWIG_AsBool(obj);
441 if (PyErr_Occurred()) {
442 PyErr_Clear();
443 return 0;
444 } else {
445 return 1;
446 }
447 }
448
449
450 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
451 PyObject* o2;
452 PyObject* o3;
453
454 if (!target) {
455 target = o;
456 } else if (target == Py_None) {
457 Py_DECREF(Py_None);
458 target = o;
459 } else {
460 if (!PyTuple_Check(target)) {
461 o2 = target;
462 target = PyTuple_New(1);
463 PyTuple_SetItem(target, 0, o2);
464 }
465 o3 = PyTuple_New(1);
466 PyTuple_SetItem(o3, 0, o);
467
468 o2 = target;
469 target = PySequence_Concat(o2, o3);
470 Py_DECREF(o2);
471 Py_DECREF(o3);
472 }
473 return target;
474 }
475
476
477 SWIGSTATICINLINE(double)
478 SWIG_AsDouble(PyObject *obj)
479 {
480 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
481 #if HAVE_LONG_LONG
482 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
483 #else
484 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
485 #endif
486 if (PyErr_Occurred()) {
487 PyErr_Clear();
488 PyErr_SetString(PyExc_TypeError, "a double is expected");
489 }
490 return val;
491 }
492
493
494 SWIGSTATICINLINE(int)
495 SWIG_CheckDouble(PyObject* obj)
496 {
497 SWIG_AsDouble(obj);
498 if (PyErr_Occurred()) {
499 PyErr_Clear();
500 return 0;
501 } else {
502 return 1;
503 }
504 }
505
506 static const wxString wxPyFrameNameStr(wxFrameNameStr);
507 static const wxString wxPyDialogNameStr(wxDialogNameStr);
508 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
509 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
510 bool wxDialog_IsModalShowing(wxDialog *self){
511
512
513
514 return self->IsModalShowing();
515
516 }
517
518
519 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
520 wxRect r;
521 self->GetFieldRect(i, r);
522 return r;
523 }
524 static const wxString wxPySplitterNameStr(wxT("splitter"));
525 static const wxString wxPySashNameStr(wxT("sashWindow"));
526 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
527
528 #include <wx/popupwin.h>
529
530
531 class wxPyPopupTransientWindow : public wxPopupTransientWindow
532 {
533 public:
534 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
535 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
536 : wxPopupTransientWindow(parent, style) {}
537
538 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
539 DEC_PYCALLBACK__(OnDismiss);
540 DEC_PYCALLBACK_BOOL_(CanDismiss);
541 PYPRIVATE;
542 };
543
544
545 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
546 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
547 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
548
549
550 #include <wx/tipwin.h>
551
552 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
553 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
554 }
555
556 #include <wx/tipwin.h>
557
558
559 #include <wx/vscroll.h>
560
561
562 class wxPyVScrolledWindow : public wxVScrolledWindow
563 {
564 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
565 public:
566 wxPyVScrolledWindow() : wxVScrolledWindow() {}
567
568 wxPyVScrolledWindow(wxWindow *parent,
569 wxWindowID id = wxID_ANY,
570 const wxPoint& pos = wxDefaultPosition,
571 const wxSize& size = wxDefaultSize,
572 long style = 0,
573 const wxString& name = wxPyPanelNameStr)
574 : wxVScrolledWindow(parent, id, pos, size, style, name)
575 {}
576
577 // Overridable virtuals
578
579 // this function must be overridden in the derived class and it should
580 // return the height of the given line in pixels
581 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
582
583
584 // this function doesn't have to be overridden but it may be useful to do
585 // it if calculating the lines heights is a relatively expensive operation
586 // as it gives the user code a possibility to calculate several of them at
587 // once
588 //
589 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
590 // shouldn't rely on the latter being called for all lines in the interval
591 // specified here. It is also possible that OnGetLineHeight() will be
592 // called for the lines outside of this interval, so this is really just a
593 // hint, not a promise.
594 //
595 // finally note that lineMin is inclusive, while lineMax is exclusive, as
596 // usual
597 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
598
599
600 // when the number of lines changes, we try to estimate the total height
601 // of all lines which is a rather expensive operation in terms of lines
602 // access, so if the user code may estimate the average height
603 // better/faster than we do, it should override this function to implement
604 // its own logic
605 //
606 // this function should return the best guess for the total height it may
607 // make
608 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
609
610
611 // Also expose some other interesting protected methods
612
613
614 // find the index of the line we need to show at the top of the window such
615 // that the last (fully or partially) visible line is the given one
616 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
617 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
618
619 // get the total height of the lines between lineMin (inclusive) and
620 // lineMax (exclusive)
621 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
622 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
623
624
625 PYPRIVATE;
626 };
627
628 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
629
630 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
631 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
632 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
633
634
635 SWIGSTATICINLINE(unsigned long)
636 SWIG_AsUnsignedLong(PyObject * obj)
637 {
638 if (PyLong_Check(obj)) {
639 return PyLong_AsUnsignedLong(obj);
640 } else {
641 long i = PyInt_AsLong(obj);
642 if ( !PyErr_Occurred() && (i < 0)) {
643 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
644 }
645 return i;
646 }
647 }
648
649
650 SWIGSTATICINLINE(int)
651 SWIG_CheckUnsignedLong(PyObject* obj)
652 {
653 SWIG_AsUnsignedLong(obj);
654 if (PyErr_Occurred()) {
655 PyErr_Clear();
656 return 0;
657 } else {
658 return 1;
659 }
660 }
661
662
663 SWIGSTATICINLINE(PyObject* )
664 SWIG_FromUnsignedLong(unsigned long value)
665 {
666 return (value > LONG_MAX) ?
667 PyLong_FromUnsignedLong(value)
668 : PyInt_FromLong(swig_numeric_cast(long,value));
669 }
670
671
672 #include <wx/vlbox.h>
673
674 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
675
676 class wxPyVListBox : public wxVListBox
677 {
678 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
679 public:
680 wxPyVListBox() : wxVListBox() {}
681
682 wxPyVListBox(wxWindow *parent,
683 wxWindowID id = wxID_ANY,
684 const wxPoint& pos = wxDefaultPosition,
685 const wxSize& size = wxDefaultSize,
686 long style = 0,
687 const wxString& name = wxPyVListBoxNameStr)
688 : wxVListBox(parent, id, pos, size, style, name)
689 {}
690
691 // Overridable virtuals
692
693 // the derived class must implement this function to actually draw the item
694 // with the given index on the provided DC
695 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
696 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
697
698
699 // the derived class must implement this method to return the height of the
700 // specified item
701 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
702 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
703
704
705 // this method may be used to draw separators between the lines; note that
706 // the rectangle may be modified, typically to deflate it a bit before
707 // passing to OnDrawItem()
708 //
709 // the base class version doesn't do anything
710 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
711 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
712
713
714 // this method is used to draw the items background and, maybe, a border
715 // around it
716 //
717 // the base class version implements a reasonable default behaviour which
718 // consists in drawing the selected item with the standard background
719 // colour and drawing a border around the item if it is either selected or
720 // current
721 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
722 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
723
724
725 PYPRIVATE;
726 };
727
728 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
729
730 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
731 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
733 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
734
735
736
737 #include <wx/htmllbox.h>
738
739
740 class wxPyHtmlListBox : public wxHtmlListBox
741 {
742 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
743 public:
744 wxPyHtmlListBox() : wxHtmlListBox() {}
745
746 wxPyHtmlListBox(wxWindow *parent,
747 wxWindowID id = wxID_ANY,
748 const wxPoint& pos = wxDefaultPosition,
749 const wxSize& size = wxDefaultSize,
750 long style = 0,
751 const wxString& name = wxPyVListBoxNameStr)
752 : wxHtmlListBox(parent, id, pos, size, style, name)
753 {}
754
755 // Overridable virtuals
756
757 // this method must be implemented in the derived class and should return
758 // the body (i.e. without <html>) of the HTML for the given item
759 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
760
761 // this function may be overridden to decorate HTML returned by OnGetItem()
762 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
763
764 // TODO:
765 // // this method allows to customize the selection appearance: it may be used
766 // // to specify the colour of the text which normally has the given colour
767 // // colFg when it is inside the selection
768 // //
769 // // by default, the original colour is not used at all and all text has the
770 // // same (default for this system) colour inside selection
771 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
772
773 // // this is the same as GetSelectedTextColour() but allows to customize the
774 // // background colour -- this is even more rarely used as you can change it
775 // // globally using SetSelectionBackground()
776 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
777
778
779 PYPRIVATE;
780 };
781
782
783 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
784
785 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
786 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
787
788
789
790
791
792 #ifdef __WXMAC__
793 // implement dummy classes and such for wxMac
794
795 class wxTaskBarIcon : public wxEvtHandler
796 {
797 public:
798 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
799 };
800
801
802 class wxTaskBarIconEvent : public wxEvent
803 {
804 public:
805 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
806 { wxPyRaiseNotImplemented(); }
807 virtual wxEvent* Clone() const { return NULL; }
808 };
809
810 enum {
811 wxEVT_TASKBAR_MOVE = 0,
812 wxEVT_TASKBAR_LEFT_DOWN = 0,
813 wxEVT_TASKBAR_LEFT_UP = 0,
814 wxEVT_TASKBAR_RIGHT_DOWN = 0,
815 wxEVT_TASKBAR_RIGHT_UP = 0,
816 wxEVT_TASKBAR_LEFT_DCLICK = 0,
817 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
818 };
819 #endif
820
821 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
822 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
823 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
824 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
825 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
826 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
827 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
828 wxArrayString arr;
829 self->GetFilenames(arr);
830 return wxArrayString2PyList_helper(arr);
831 }
832 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
833 wxArrayString arr;
834 self->GetPaths(arr);
835 return wxArrayString2PyList_helper(arr);
836 }
837 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
838 return wxArrayInt2PyList_helper(self->GetSelections());
839 }
840 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
841 return new wxSingleChoiceDialog(parent, message, caption,
842 choices, choices_array, NULL, style, pos);
843 }
844
845 #include <wx/mdi.h>
846
847 // C++ version of Python aware wxWindow
848 class wxPyWindow : public wxWindow
849 {
850 DECLARE_DYNAMIC_CLASS(wxPyWindow)
851 public:
852 wxPyWindow() : wxWindow() {}
853 wxPyWindow(wxWindow* parent, const wxWindowID id,
854 const wxPoint& pos = wxDefaultPosition,
855 const wxSize& size = wxDefaultSize,
856 long style = 0,
857 const wxString& name = wxPyPanelNameStr)
858 : wxWindow(parent, id, pos, size, style, name) {}
859
860
861 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
862 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
863 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
864 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
865
866 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
867 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
869
870 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
871 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
872
873 DEC_PYCALLBACK__(InitDialog);
874 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
875 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
876 DEC_PYCALLBACK_BOOL_(Validate);
877
878 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
879 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
880 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
881
882 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
883 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
884
885 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
886
887 PYPRIVATE;
888 };
889
890 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
891
892 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
893 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
894 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
895 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
896
897 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
898 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
899 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
900
901 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
902 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
903
904 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
905 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
906 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
907 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
908
909 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
910 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
911 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
912
913 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
914 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
915
916 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
917
918 // C++ version of Python aware wxPanel
919 class wxPyPanel : public wxPanel
920 {
921 DECLARE_DYNAMIC_CLASS(wxPyPanel)
922 public:
923 wxPyPanel() : wxPanel() {}
924 wxPyPanel(wxWindow* parent, const wxWindowID id,
925 const wxPoint& pos = wxDefaultPosition,
926 const wxSize& size = wxDefaultSize,
927 long style = 0,
928 const wxString& name = wxPyPanelNameStr)
929 : wxPanel(parent, id, pos, size, style, name) {}
930
931
932 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
933 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
934 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
935 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
936
937 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
938 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
939 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
940
941 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
942 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
943
944 DEC_PYCALLBACK__(InitDialog);
945 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
946 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
947 DEC_PYCALLBACK_BOOL_(Validate);
948
949 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
950 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
951 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
952
953 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
954 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
955
956 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
957
958 PYPRIVATE;
959 };
960
961 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
962
963 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
964 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
965 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
966 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
967
968 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
969 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
970 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
971
972 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
973 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
974
975 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
976 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
977 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
978 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
979
980 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
981 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
982 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
983
984 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
985 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
986
987 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
988
989
990 #include "wx/wxPython/printfw.h"
991
992
993 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
994 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
995
996
997
998 // Since this one would be tough and ugly to do with the Macros...
999 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1000 bool hadErr = False;
1001 bool found;
1002
1003 bool blocked = wxPyBeginBlockThreads();
1004 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1005 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1006 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1007 PyObject* val;
1008
1009 val = PyTuple_GetItem(result, 0);
1010 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1011 else hadErr = True;
1012
1013 val = PyTuple_GetItem(result, 1);
1014 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1015 else hadErr = True;
1016
1017 val = PyTuple_GetItem(result, 2);
1018 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1019 else hadErr = True;
1020
1021 val = PyTuple_GetItem(result, 3);
1022 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1023 else hadErr = True;
1024 }
1025 else
1026 hadErr = True;
1027
1028 if (hadErr) {
1029 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1030 PyErr_Print();
1031 }
1032 Py_DECREF(result);
1033 }
1034 wxPyEndBlockThreads(blocked);
1035 if (! found)
1036 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1037 }
1038
1039 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1040 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1041 }
1042
1043
1044 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1045 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1046 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1047 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1048 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1049 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1050 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1051
1052
1053
1054
1055
1056 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1057 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1058 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1059
1060
1061 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1062 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1063 bool rval=False; \
1064 bool found; \
1065 bool blocked = wxPyBeginBlockThreads(); \
1066 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1067 PyObject* win = wxPyMake_wxObject(a); \
1068 PyObject* dc = wxPyMake_wxObject(&b); \
1069 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1070 Py_DECREF(win); \
1071 Py_DECREF(dc); \
1072 } \
1073 wxPyEndBlockThreads(blocked); \
1074 if (! found) \
1075 rval = PCLASS::CBNAME(a, b); \
1076 return rval; \
1077 } \
1078 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1079 return PCLASS::CBNAME(a, b); \
1080 }
1081
1082
1083
1084
1085 class wxPyPrintPreview : public wxPrintPreview
1086 {
1087 DECLARE_CLASS(wxPyPrintPreview)
1088 public:
1089 wxPyPrintPreview(wxPyPrintout* printout,
1090 wxPyPrintout* printoutForPrinting,
1091 wxPrintDialogData* data=NULL)
1092 : wxPrintPreview(printout, printoutForPrinting, data)
1093 {}
1094 wxPyPrintPreview(wxPyPrintout* printout,
1095 wxPyPrintout* printoutForPrinting,
1096 wxPrintData* data=NULL)
1097 : wxPrintPreview(printout, printoutForPrinting, data)
1098 {}
1099
1100 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1101 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1102 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1103 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1104 DEC_PYCALLBACK_VOID_INT(SetZoom);
1105 DEC_PYCALLBACK_BOOL_BOOL(Print);
1106 DEC_PYCALLBACK_VOID_(DetermineScaling);
1107
1108 PYPRIVATE;
1109 };
1110
1111 // Stupid renamed classes... Fix this in 2.5...
1112 #if defined(__WXMSW__)
1113 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1114 #elif defined(__WXMAC__)
1115 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1116 #else
1117 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1118 #endif
1119
1120 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1121 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1122 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1123 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1124 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1125 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1126 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1127
1128
1129 class wxPyPreviewFrame : public wxPreviewFrame
1130 {
1131 DECLARE_CLASS(wxPyPreviewFrame);
1132 public:
1133 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1134 const wxString& title,
1135 const wxPoint& pos = wxDefaultPosition,
1136 const wxSize& size = wxDefaultSize,
1137 long style = wxDEFAULT_FRAME_STYLE,
1138 const wxString& name = wxPyFrameNameStr)
1139 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1140 {}
1141
1142 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1143 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1144
1145 DEC_PYCALLBACK_VOID_(Initialize);
1146 DEC_PYCALLBACK_VOID_(CreateCanvas);
1147 DEC_PYCALLBACK_VOID_(CreateControlBar);
1148
1149 PYPRIVATE;
1150 };
1151
1152 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1153
1154 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1155 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1156 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1157
1158
1159 class wxPyPreviewControlBar : public wxPreviewControlBar
1160 {
1161 DECLARE_CLASS(wxPyPreviewControlBar);
1162 public:
1163 wxPyPreviewControlBar(wxPrintPreview *preview,
1164 long buttons,
1165 wxWindow *parent,
1166 const wxPoint& pos = wxDefaultPosition,
1167 const wxSize& size = wxDefaultSize,
1168 long style = 0,
1169 const wxString& name = wxPyPanelNameStr)
1170 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1171 {}
1172
1173 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1174
1175 DEC_PYCALLBACK_VOID_(CreateButtons);
1176 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1177
1178 PYPRIVATE;
1179 };
1180
1181 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1182 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1183 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1184
1185 #ifdef __cplusplus
1186 extern "C" {
1187 #endif
1188 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1189 PyObject *resultobj;
1190 wxWindow *arg1 = (wxWindow *) 0 ;
1191 int arg2 = (int) (int)-1 ;
1192 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1193 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1194 wxSize const &arg4_defvalue = wxDefaultSize ;
1195 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1196 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1197 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1198 wxString *arg6 = (wxString *) &arg6_defvalue ;
1199 wxPanel *result;
1200 wxPoint temp3 ;
1201 wxSize temp4 ;
1202 bool temp6 = False ;
1203 PyObject * obj0 = 0 ;
1204 PyObject * obj1 = 0 ;
1205 PyObject * obj2 = 0 ;
1206 PyObject * obj3 = 0 ;
1207 PyObject * obj4 = 0 ;
1208 PyObject * obj5 = 0 ;
1209 char *kwnames[] = {
1210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1211 };
1212
1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1216 if (obj1) {
1217 arg2 = (int const) SWIG_AsInt(obj1);
1218 if (PyErr_Occurred()) SWIG_fail;
1219 }
1220 if (obj2) {
1221 {
1222 arg3 = &temp3;
1223 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1224 }
1225 }
1226 if (obj3) {
1227 {
1228 arg4 = &temp4;
1229 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1230 }
1231 }
1232 if (obj4) {
1233 arg5 = (long) SWIG_AsLong(obj4);
1234 if (PyErr_Occurred()) SWIG_fail;
1235 }
1236 if (obj5) {
1237 {
1238 arg6 = wxString_in_helper(obj5);
1239 if (arg6 == NULL) SWIG_fail;
1240 temp6 = True;
1241 }
1242 }
1243 {
1244 PyThreadState* __tstate = wxPyBeginAllowThreads();
1245 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1246
1247 wxPyEndAllowThreads(__tstate);
1248 if (PyErr_Occurred()) SWIG_fail;
1249 }
1250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1251 {
1252 if (temp6)
1253 delete arg6;
1254 }
1255 return resultobj;
1256 fail:
1257 {
1258 if (temp6)
1259 delete arg6;
1260 }
1261 return NULL;
1262 }
1263
1264
1265 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1266 PyObject *resultobj;
1267 wxPanel *result;
1268 char *kwnames[] = {
1269 NULL
1270 };
1271
1272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1273 {
1274 PyThreadState* __tstate = wxPyBeginAllowThreads();
1275 result = (wxPanel *)new wxPanel();
1276
1277 wxPyEndAllowThreads(__tstate);
1278 if (PyErr_Occurred()) SWIG_fail;
1279 }
1280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1281 return resultobj;
1282 fail:
1283 return NULL;
1284 }
1285
1286
1287 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1288 PyObject *resultobj;
1289 wxPanel *arg1 = (wxPanel *) 0 ;
1290 wxWindow *arg2 = (wxWindow *) 0 ;
1291 int arg3 ;
1292 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1293 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1294 wxSize const &arg5_defvalue = wxDefaultSize ;
1295 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1296 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1297 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1298 wxString *arg7 = (wxString *) &arg7_defvalue ;
1299 bool result;
1300 wxPoint temp4 ;
1301 wxSize temp5 ;
1302 bool temp7 = False ;
1303 PyObject * obj0 = 0 ;
1304 PyObject * obj1 = 0 ;
1305 PyObject * obj2 = 0 ;
1306 PyObject * obj3 = 0 ;
1307 PyObject * obj4 = 0 ;
1308 PyObject * obj5 = 0 ;
1309 PyObject * obj6 = 0 ;
1310 char *kwnames[] = {
1311 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1312 };
1313
1314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1319 arg3 = (int const) SWIG_AsInt(obj2);
1320 if (PyErr_Occurred()) SWIG_fail;
1321 if (obj3) {
1322 {
1323 arg4 = &temp4;
1324 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1325 }
1326 }
1327 if (obj4) {
1328 {
1329 arg5 = &temp5;
1330 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1331 }
1332 }
1333 if (obj5) {
1334 arg6 = (long) SWIG_AsLong(obj5);
1335 if (PyErr_Occurred()) SWIG_fail;
1336 }
1337 if (obj6) {
1338 {
1339 arg7 = wxString_in_helper(obj6);
1340 if (arg7 == NULL) SWIG_fail;
1341 temp7 = True;
1342 }
1343 }
1344 {
1345 PyThreadState* __tstate = wxPyBeginAllowThreads();
1346 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1347
1348 wxPyEndAllowThreads(__tstate);
1349 if (PyErr_Occurred()) SWIG_fail;
1350 }
1351 {
1352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1353 }
1354 {
1355 if (temp7)
1356 delete arg7;
1357 }
1358 return resultobj;
1359 fail:
1360 {
1361 if (temp7)
1362 delete arg7;
1363 }
1364 return NULL;
1365 }
1366
1367
1368 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1369 PyObject *resultobj;
1370 wxPanel *arg1 = (wxPanel *) 0 ;
1371 PyObject * obj0 = 0 ;
1372 char *kwnames[] = {
1373 (char *) "self", NULL
1374 };
1375
1376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1379 {
1380 PyThreadState* __tstate = wxPyBeginAllowThreads();
1381 (arg1)->InitDialog();
1382
1383 wxPyEndAllowThreads(__tstate);
1384 if (PyErr_Occurred()) SWIG_fail;
1385 }
1386 Py_INCREF(Py_None); resultobj = Py_None;
1387 return resultobj;
1388 fail:
1389 return NULL;
1390 }
1391
1392
1393 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1394 PyObject *obj;
1395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1396 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1397 Py_INCREF(obj);
1398 return Py_BuildValue((char *)"");
1399 }
1400 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1401 PyObject *resultobj;
1402 wxWindow *arg1 = (wxWindow *) 0 ;
1403 int arg2 = (int) (int)-1 ;
1404 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1405 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1406 wxSize const &arg4_defvalue = wxDefaultSize ;
1407 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1408 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1409 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1410 wxString *arg6 = (wxString *) &arg6_defvalue ;
1411 wxScrolledWindow *result;
1412 wxPoint temp3 ;
1413 wxSize temp4 ;
1414 bool temp6 = False ;
1415 PyObject * obj0 = 0 ;
1416 PyObject * obj1 = 0 ;
1417 PyObject * obj2 = 0 ;
1418 PyObject * obj3 = 0 ;
1419 PyObject * obj4 = 0 ;
1420 PyObject * obj5 = 0 ;
1421 char *kwnames[] = {
1422 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1423 };
1424
1425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1428 if (obj1) {
1429 arg2 = (int const) SWIG_AsInt(obj1);
1430 if (PyErr_Occurred()) SWIG_fail;
1431 }
1432 if (obj2) {
1433 {
1434 arg3 = &temp3;
1435 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1436 }
1437 }
1438 if (obj3) {
1439 {
1440 arg4 = &temp4;
1441 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1442 }
1443 }
1444 if (obj4) {
1445 arg5 = (long) SWIG_AsLong(obj4);
1446 if (PyErr_Occurred()) SWIG_fail;
1447 }
1448 if (obj5) {
1449 {
1450 arg6 = wxString_in_helper(obj5);
1451 if (arg6 == NULL) SWIG_fail;
1452 temp6 = True;
1453 }
1454 }
1455 {
1456 PyThreadState* __tstate = wxPyBeginAllowThreads();
1457 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1458
1459 wxPyEndAllowThreads(__tstate);
1460 if (PyErr_Occurred()) SWIG_fail;
1461 }
1462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1463 {
1464 if (temp6)
1465 delete arg6;
1466 }
1467 return resultobj;
1468 fail:
1469 {
1470 if (temp6)
1471 delete arg6;
1472 }
1473 return NULL;
1474 }
1475
1476
1477 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1478 PyObject *resultobj;
1479 wxScrolledWindow *result;
1480 char *kwnames[] = {
1481 NULL
1482 };
1483
1484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1485 {
1486 PyThreadState* __tstate = wxPyBeginAllowThreads();
1487 result = (wxScrolledWindow *)new wxScrolledWindow();
1488
1489 wxPyEndAllowThreads(__tstate);
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1493 return resultobj;
1494 fail:
1495 return NULL;
1496 }
1497
1498
1499 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1500 PyObject *resultobj;
1501 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1502 wxWindow *arg2 = (wxWindow *) 0 ;
1503 int arg3 = (int) (int)-1 ;
1504 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1505 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1506 wxSize const &arg5_defvalue = wxDefaultSize ;
1507 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1508 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1509 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1510 wxString *arg7 = (wxString *) &arg7_defvalue ;
1511 bool result;
1512 wxPoint temp4 ;
1513 wxSize temp5 ;
1514 bool temp7 = False ;
1515 PyObject * obj0 = 0 ;
1516 PyObject * obj1 = 0 ;
1517 PyObject * obj2 = 0 ;
1518 PyObject * obj3 = 0 ;
1519 PyObject * obj4 = 0 ;
1520 PyObject * obj5 = 0 ;
1521 PyObject * obj6 = 0 ;
1522 char *kwnames[] = {
1523 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1524 };
1525
1526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1531 if (obj2) {
1532 arg3 = (int const) SWIG_AsInt(obj2);
1533 if (PyErr_Occurred()) SWIG_fail;
1534 }
1535 if (obj3) {
1536 {
1537 arg4 = &temp4;
1538 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1539 }
1540 }
1541 if (obj4) {
1542 {
1543 arg5 = &temp5;
1544 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1545 }
1546 }
1547 if (obj5) {
1548 arg6 = (long) SWIG_AsLong(obj5);
1549 if (PyErr_Occurred()) SWIG_fail;
1550 }
1551 if (obj6) {
1552 {
1553 arg7 = wxString_in_helper(obj6);
1554 if (arg7 == NULL) SWIG_fail;
1555 temp7 = True;
1556 }
1557 }
1558 {
1559 PyThreadState* __tstate = wxPyBeginAllowThreads();
1560 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1561
1562 wxPyEndAllowThreads(__tstate);
1563 if (PyErr_Occurred()) SWIG_fail;
1564 }
1565 {
1566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1567 }
1568 {
1569 if (temp7)
1570 delete arg7;
1571 }
1572 return resultobj;
1573 fail:
1574 {
1575 if (temp7)
1576 delete arg7;
1577 }
1578 return NULL;
1579 }
1580
1581
1582 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1583 PyObject *resultobj;
1584 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1585 int arg2 ;
1586 int arg3 ;
1587 int arg4 ;
1588 int arg5 ;
1589 int arg6 = (int) 0 ;
1590 int arg7 = (int) 0 ;
1591 bool arg8 = (bool) False ;
1592 PyObject * obj0 = 0 ;
1593 PyObject * obj1 = 0 ;
1594 PyObject * obj2 = 0 ;
1595 PyObject * obj3 = 0 ;
1596 PyObject * obj4 = 0 ;
1597 PyObject * obj5 = 0 ;
1598 PyObject * obj6 = 0 ;
1599 PyObject * obj7 = 0 ;
1600 char *kwnames[] = {
1601 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1602 };
1603
1604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1607 arg2 = (int) SWIG_AsInt(obj1);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 arg3 = (int) SWIG_AsInt(obj2);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 arg4 = (int) SWIG_AsInt(obj3);
1612 if (PyErr_Occurred()) SWIG_fail;
1613 arg5 = (int) SWIG_AsInt(obj4);
1614 if (PyErr_Occurred()) SWIG_fail;
1615 if (obj5) {
1616 arg6 = (int) SWIG_AsInt(obj5);
1617 if (PyErr_Occurred()) SWIG_fail;
1618 }
1619 if (obj6) {
1620 arg7 = (int) SWIG_AsInt(obj6);
1621 if (PyErr_Occurred()) SWIG_fail;
1622 }
1623 if (obj7) {
1624 arg8 = (bool) SWIG_AsBool(obj7);
1625 if (PyErr_Occurred()) SWIG_fail;
1626 }
1627 {
1628 PyThreadState* __tstate = wxPyBeginAllowThreads();
1629 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1630
1631 wxPyEndAllowThreads(__tstate);
1632 if (PyErr_Occurred()) SWIG_fail;
1633 }
1634 Py_INCREF(Py_None); resultobj = Py_None;
1635 return resultobj;
1636 fail:
1637 return NULL;
1638 }
1639
1640
1641 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1644 int arg2 ;
1645 int arg3 ;
1646 PyObject * obj0 = 0 ;
1647 PyObject * obj1 = 0 ;
1648 PyObject * obj2 = 0 ;
1649 char *kwnames[] = {
1650 (char *) "self",(char *) "x",(char *) "y", NULL
1651 };
1652
1653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1656 arg2 = (int) SWIG_AsInt(obj1);
1657 if (PyErr_Occurred()) SWIG_fail;
1658 arg3 = (int) SWIG_AsInt(obj2);
1659 if (PyErr_Occurred()) SWIG_fail;
1660 {
1661 PyThreadState* __tstate = wxPyBeginAllowThreads();
1662 (arg1)->Scroll(arg2,arg3);
1663
1664 wxPyEndAllowThreads(__tstate);
1665 if (PyErr_Occurred()) SWIG_fail;
1666 }
1667 Py_INCREF(Py_None); resultobj = Py_None;
1668 return resultobj;
1669 fail:
1670 return NULL;
1671 }
1672
1673
1674 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1675 PyObject *resultobj;
1676 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1677 int arg2 ;
1678 int result;
1679 PyObject * obj0 = 0 ;
1680 PyObject * obj1 = 0 ;
1681 char *kwnames[] = {
1682 (char *) "self",(char *) "orient", NULL
1683 };
1684
1685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1688 arg2 = (int) SWIG_AsInt(obj1);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 {
1691 PyThreadState* __tstate = wxPyBeginAllowThreads();
1692 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1693
1694 wxPyEndAllowThreads(__tstate);
1695 if (PyErr_Occurred()) SWIG_fail;
1696 }
1697 resultobj = SWIG_FromInt((int)result);
1698 return resultobj;
1699 fail:
1700 return NULL;
1701 }
1702
1703
1704 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1705 PyObject *resultobj;
1706 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1707 int arg2 ;
1708 int arg3 ;
1709 PyObject * obj0 = 0 ;
1710 PyObject * obj1 = 0 ;
1711 PyObject * obj2 = 0 ;
1712 char *kwnames[] = {
1713 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1714 };
1715
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1719 arg2 = (int) SWIG_AsInt(obj1);
1720 if (PyErr_Occurred()) SWIG_fail;
1721 arg3 = (int) SWIG_AsInt(obj2);
1722 if (PyErr_Occurred()) SWIG_fail;
1723 {
1724 PyThreadState* __tstate = wxPyBeginAllowThreads();
1725 (arg1)->SetScrollPageSize(arg2,arg3);
1726
1727 wxPyEndAllowThreads(__tstate);
1728 if (PyErr_Occurred()) SWIG_fail;
1729 }
1730 Py_INCREF(Py_None); resultobj = Py_None;
1731 return resultobj;
1732 fail:
1733 return NULL;
1734 }
1735
1736
1737 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject *resultobj;
1739 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1740 int arg2 ;
1741 int arg3 ;
1742 PyObject * obj0 = 0 ;
1743 PyObject * obj1 = 0 ;
1744 PyObject * obj2 = 0 ;
1745 char *kwnames[] = {
1746 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1747 };
1748
1749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1752 arg2 = (int) SWIG_AsInt(obj1);
1753 if (PyErr_Occurred()) SWIG_fail;
1754 arg3 = (int) SWIG_AsInt(obj2);
1755 if (PyErr_Occurred()) SWIG_fail;
1756 {
1757 PyThreadState* __tstate = wxPyBeginAllowThreads();
1758 (arg1)->SetScrollRate(arg2,arg3);
1759
1760 wxPyEndAllowThreads(__tstate);
1761 if (PyErr_Occurred()) SWIG_fail;
1762 }
1763 Py_INCREF(Py_None); resultobj = Py_None;
1764 return resultobj;
1765 fail:
1766 return NULL;
1767 }
1768
1769
1770 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1771 PyObject *resultobj;
1772 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1773 int *arg2 = (int *) 0 ;
1774 int *arg3 = (int *) 0 ;
1775 int temp2 ;
1776 int temp3 ;
1777 PyObject * obj0 = 0 ;
1778 char *kwnames[] = {
1779 (char *) "self", NULL
1780 };
1781
1782 arg2 = &temp2;
1783 arg3 = &temp3;
1784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1787 {
1788 PyThreadState* __tstate = wxPyBeginAllowThreads();
1789 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1790
1791 wxPyEndAllowThreads(__tstate);
1792 if (PyErr_Occurred()) SWIG_fail;
1793 }
1794 Py_INCREF(Py_None); resultobj = Py_None;
1795 {
1796 PyObject *o = PyInt_FromLong((long) (*arg2));
1797 resultobj = t_output_helper(resultobj,o);
1798 }
1799 {
1800 PyObject *o = PyInt_FromLong((long) (*arg3));
1801 resultobj = t_output_helper(resultobj,o);
1802 }
1803 return resultobj;
1804 fail:
1805 return NULL;
1806 }
1807
1808
1809 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1810 PyObject *resultobj;
1811 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1812 bool arg2 ;
1813 bool arg3 ;
1814 PyObject * obj0 = 0 ;
1815 PyObject * obj1 = 0 ;
1816 PyObject * obj2 = 0 ;
1817 char *kwnames[] = {
1818 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1819 };
1820
1821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1824 arg2 = (bool) SWIG_AsBool(obj1);
1825 if (PyErr_Occurred()) SWIG_fail;
1826 arg3 = (bool) SWIG_AsBool(obj2);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 (arg1)->EnableScrolling(arg2,arg3);
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 Py_INCREF(Py_None); resultobj = Py_None;
1836 return resultobj;
1837 fail:
1838 return NULL;
1839 }
1840
1841
1842 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject *resultobj;
1844 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1845 int *arg2 = (int *) 0 ;
1846 int *arg3 = (int *) 0 ;
1847 int temp2 ;
1848 int temp3 ;
1849 PyObject * obj0 = 0 ;
1850 char *kwnames[] = {
1851 (char *) "self", NULL
1852 };
1853
1854 arg2 = &temp2;
1855 arg3 = &temp3;
1856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
1861 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) SWIG_fail;
1865 }
1866 Py_INCREF(Py_None); resultobj = Py_None;
1867 {
1868 PyObject *o = PyInt_FromLong((long) (*arg2));
1869 resultobj = t_output_helper(resultobj,o);
1870 }
1871 {
1872 PyObject *o = PyInt_FromLong((long) (*arg3));
1873 resultobj = t_output_helper(resultobj,o);
1874 }
1875 return resultobj;
1876 fail:
1877 return NULL;
1878 }
1879
1880
1881 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1882 PyObject *resultobj;
1883 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1884 double arg2 ;
1885 double arg3 ;
1886 PyObject * obj0 = 0 ;
1887 PyObject * obj1 = 0 ;
1888 PyObject * obj2 = 0 ;
1889 char *kwnames[] = {
1890 (char *) "self",(char *) "xs",(char *) "ys", NULL
1891 };
1892
1893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1896 arg2 = (double) SWIG_AsDouble(obj1);
1897 if (PyErr_Occurred()) SWIG_fail;
1898 arg3 = (double) SWIG_AsDouble(obj2);
1899 if (PyErr_Occurred()) SWIG_fail;
1900 {
1901 PyThreadState* __tstate = wxPyBeginAllowThreads();
1902 (arg1)->SetScale(arg2,arg3);
1903
1904 wxPyEndAllowThreads(__tstate);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 }
1907 Py_INCREF(Py_None); resultobj = Py_None;
1908 return resultobj;
1909 fail:
1910 return NULL;
1911 }
1912
1913
1914 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1915 PyObject *resultobj;
1916 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1917 double result;
1918 PyObject * obj0 = 0 ;
1919 char *kwnames[] = {
1920 (char *) "self", NULL
1921 };
1922
1923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1926 {
1927 PyThreadState* __tstate = wxPyBeginAllowThreads();
1928 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1929
1930 wxPyEndAllowThreads(__tstate);
1931 if (PyErr_Occurred()) SWIG_fail;
1932 }
1933 resultobj = SWIG_FromDouble((double)result);
1934 return resultobj;
1935 fail:
1936 return NULL;
1937 }
1938
1939
1940 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1941 PyObject *resultobj;
1942 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1943 double result;
1944 PyObject * obj0 = 0 ;
1945 char *kwnames[] = {
1946 (char *) "self", NULL
1947 };
1948
1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1952 {
1953 PyThreadState* __tstate = wxPyBeginAllowThreads();
1954 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1955
1956 wxPyEndAllowThreads(__tstate);
1957 if (PyErr_Occurred()) SWIG_fail;
1958 }
1959 resultobj = SWIG_FromDouble((double)result);
1960 return resultobj;
1961 fail:
1962 return NULL;
1963 }
1964
1965
1966 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1967 PyObject *resultobj;
1968 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1969 wxPoint *arg2 = 0 ;
1970 wxPoint result;
1971 wxPoint temp2 ;
1972 PyObject * obj0 = 0 ;
1973 PyObject * obj1 = 0 ;
1974
1975 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1978 {
1979 arg2 = &temp2;
1980 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1981 }
1982 {
1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
1984 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1985
1986 wxPyEndAllowThreads(__tstate);
1987 if (PyErr_Occurred()) SWIG_fail;
1988 }
1989 {
1990 wxPoint * resultptr;
1991 resultptr = new wxPoint((wxPoint &) result);
1992 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
1993 }
1994 return resultobj;
1995 fail:
1996 return NULL;
1997 }
1998
1999
2000 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2001 PyObject *resultobj;
2002 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2003 int arg2 ;
2004 int arg3 ;
2005 int *arg4 = (int *) 0 ;
2006 int *arg5 = (int *) 0 ;
2007 int temp4 ;
2008 int temp5 ;
2009 PyObject * obj0 = 0 ;
2010 PyObject * obj1 = 0 ;
2011 PyObject * obj2 = 0 ;
2012
2013 arg4 = &temp4;
2014 arg5 = &temp5;
2015 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2018 arg2 = (int) SWIG_AsInt(obj1);
2019 if (PyErr_Occurred()) SWIG_fail;
2020 arg3 = (int) SWIG_AsInt(obj2);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 {
2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2024 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2025
2026 wxPyEndAllowThreads(__tstate);
2027 if (PyErr_Occurred()) SWIG_fail;
2028 }
2029 Py_INCREF(Py_None); resultobj = Py_None;
2030 {
2031 PyObject *o = PyInt_FromLong((long) (*arg4));
2032 resultobj = t_output_helper(resultobj,o);
2033 }
2034 {
2035 PyObject *o = PyInt_FromLong((long) (*arg5));
2036 resultobj = t_output_helper(resultobj,o);
2037 }
2038 return resultobj;
2039 fail:
2040 return NULL;
2041 }
2042
2043
2044 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2045 int argc;
2046 PyObject *argv[4];
2047 int ii;
2048
2049 argc = PyObject_Length(args);
2050 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2051 argv[ii] = PyTuple_GetItem(args,ii);
2052 }
2053 if (argc == 2) {
2054 int _v;
2055 {
2056 void *ptr;
2057 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2058 _v = 0;
2059 PyErr_Clear();
2060 } else {
2061 _v = 1;
2062 }
2063 }
2064 if (_v) {
2065 {
2066 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2067 }
2068 if (_v) {
2069 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2070 }
2071 }
2072 }
2073 if (argc == 3) {
2074 int _v;
2075 {
2076 void *ptr;
2077 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2078 _v = 0;
2079 PyErr_Clear();
2080 } else {
2081 _v = 1;
2082 }
2083 }
2084 if (_v) {
2085 _v = SWIG_CheckInt(argv[1]);
2086 if (_v) {
2087 _v = SWIG_CheckInt(argv[2]);
2088 if (_v) {
2089 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2090 }
2091 }
2092 }
2093 }
2094
2095 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2096 return NULL;
2097 }
2098
2099
2100 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2101 PyObject *resultobj;
2102 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2103 wxPoint *arg2 = 0 ;
2104 wxPoint result;
2105 wxPoint temp2 ;
2106 PyObject * obj0 = 0 ;
2107 PyObject * obj1 = 0 ;
2108
2109 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2112 {
2113 arg2 = &temp2;
2114 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2115 }
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 {
2124 wxPoint * resultptr;
2125 resultptr = new wxPoint((wxPoint &) result);
2126 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2127 }
2128 return resultobj;
2129 fail:
2130 return NULL;
2131 }
2132
2133
2134 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2135 PyObject *resultobj;
2136 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2137 int arg2 ;
2138 int arg3 ;
2139 int *arg4 = (int *) 0 ;
2140 int *arg5 = (int *) 0 ;
2141 int temp4 ;
2142 int temp5 ;
2143 PyObject * obj0 = 0 ;
2144 PyObject * obj1 = 0 ;
2145 PyObject * obj2 = 0 ;
2146
2147 arg4 = &temp4;
2148 arg5 = &temp5;
2149 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2152 arg2 = (int) SWIG_AsInt(obj1);
2153 if (PyErr_Occurred()) SWIG_fail;
2154 arg3 = (int) SWIG_AsInt(obj2);
2155 if (PyErr_Occurred()) SWIG_fail;
2156 {
2157 PyThreadState* __tstate = wxPyBeginAllowThreads();
2158 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2159
2160 wxPyEndAllowThreads(__tstate);
2161 if (PyErr_Occurred()) SWIG_fail;
2162 }
2163 Py_INCREF(Py_None); resultobj = Py_None;
2164 {
2165 PyObject *o = PyInt_FromLong((long) (*arg4));
2166 resultobj = t_output_helper(resultobj,o);
2167 }
2168 {
2169 PyObject *o = PyInt_FromLong((long) (*arg5));
2170 resultobj = t_output_helper(resultobj,o);
2171 }
2172 return resultobj;
2173 fail:
2174 return NULL;
2175 }
2176
2177
2178 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2179 int argc;
2180 PyObject *argv[4];
2181 int ii;
2182
2183 argc = PyObject_Length(args);
2184 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2185 argv[ii] = PyTuple_GetItem(args,ii);
2186 }
2187 if (argc == 2) {
2188 int _v;
2189 {
2190 void *ptr;
2191 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2192 _v = 0;
2193 PyErr_Clear();
2194 } else {
2195 _v = 1;
2196 }
2197 }
2198 if (_v) {
2199 {
2200 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2201 }
2202 if (_v) {
2203 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2204 }
2205 }
2206 }
2207 if (argc == 3) {
2208 int _v;
2209 {
2210 void *ptr;
2211 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2212 _v = 0;
2213 PyErr_Clear();
2214 } else {
2215 _v = 1;
2216 }
2217 }
2218 if (_v) {
2219 _v = SWIG_CheckInt(argv[1]);
2220 if (_v) {
2221 _v = SWIG_CheckInt(argv[2]);
2222 if (_v) {
2223 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2224 }
2225 }
2226 }
2227 }
2228
2229 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2230 return NULL;
2231 }
2232
2233
2234 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2237 PyObject * obj0 = 0 ;
2238 char *kwnames[] = {
2239 (char *) "self", NULL
2240 };
2241
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 (arg1)->AdjustScrollbars();
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 Py_INCREF(Py_None); resultobj = Py_None;
2253 return resultobj;
2254 fail:
2255 return NULL;
2256 }
2257
2258
2259 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2262 wxScrollWinEvent *arg2 = 0 ;
2263 int result;
2264 PyObject * obj0 = 0 ;
2265 PyObject * obj1 = 0 ;
2266 char *kwnames[] = {
2267 (char *) "self",(char *) "event", NULL
2268 };
2269
2270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2274 SWIG_POINTER_EXCEPTION | 0)) == -1)
2275 SWIG_fail;
2276 if (arg2 == NULL) {
2277 PyErr_SetString(PyExc_TypeError,"null reference");
2278 SWIG_fail;
2279 }
2280 {
2281 PyThreadState* __tstate = wxPyBeginAllowThreads();
2282 result = (int)(arg1)->CalcScrollInc(*arg2);
2283
2284 wxPyEndAllowThreads(__tstate);
2285 if (PyErr_Occurred()) SWIG_fail;
2286 }
2287 resultobj = SWIG_FromInt((int)result);
2288 return resultobj;
2289 fail:
2290 return NULL;
2291 }
2292
2293
2294 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2295 PyObject *resultobj;
2296 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2297 wxWindow *arg2 = (wxWindow *) 0 ;
2298 PyObject * obj0 = 0 ;
2299 PyObject * obj1 = 0 ;
2300 char *kwnames[] = {
2301 (char *) "self",(char *) "target", NULL
2302 };
2303
2304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 (arg1)->SetTargetWindow(arg2);
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 Py_INCREF(Py_None); resultobj = Py_None;
2317 return resultobj;
2318 fail:
2319 return NULL;
2320 }
2321
2322
2323 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2324 PyObject *resultobj;
2325 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2326 wxWindow *result;
2327 PyObject * obj0 = 0 ;
2328 char *kwnames[] = {
2329 (char *) "self", NULL
2330 };
2331
2332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 }
2342 {
2343 resultobj = wxPyMake_wxObject(result);
2344 }
2345 return resultobj;
2346 fail:
2347 return NULL;
2348 }
2349
2350
2351 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2352 PyObject *resultobj;
2353 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2354 wxRect *arg2 = 0 ;
2355 wxRect temp2 ;
2356 PyObject * obj0 = 0 ;
2357 PyObject * obj1 = 0 ;
2358 char *kwnames[] = {
2359 (char *) "self",(char *) "rect", NULL
2360 };
2361
2362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2365 {
2366 arg2 = &temp2;
2367 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2368 }
2369 {
2370 PyThreadState* __tstate = wxPyBeginAllowThreads();
2371 (arg1)->SetTargetRect((wxRect const &)*arg2);
2372
2373 wxPyEndAllowThreads(__tstate);
2374 if (PyErr_Occurred()) SWIG_fail;
2375 }
2376 Py_INCREF(Py_None); resultobj = Py_None;
2377 return resultobj;
2378 fail:
2379 return NULL;
2380 }
2381
2382
2383 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2384 PyObject *resultobj;
2385 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2386 wxRect result;
2387 PyObject * obj0 = 0 ;
2388 char *kwnames[] = {
2389 (char *) "self", NULL
2390 };
2391
2392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2395 {
2396 PyThreadState* __tstate = wxPyBeginAllowThreads();
2397 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2398
2399 wxPyEndAllowThreads(__tstate);
2400 if (PyErr_Occurred()) SWIG_fail;
2401 }
2402 {
2403 wxRect * resultptr;
2404 resultptr = new wxRect((wxRect &) result);
2405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2406 }
2407 return resultobj;
2408 fail:
2409 return NULL;
2410 }
2411
2412
2413 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2414 PyObject *obj;
2415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2416 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2417 Py_INCREF(obj);
2418 return Py_BuildValue((char *)"");
2419 }
2420 static int _wrap_FrameNameStr_set(PyObject *_val) {
2421 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2422 return 1;
2423 }
2424
2425
2426 static PyObject *_wrap_FrameNameStr_get() {
2427 PyObject *pyobj;
2428
2429 {
2430 #if wxUSE_UNICODE
2431 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2432 #else
2433 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2434 #endif
2435 }
2436 return pyobj;
2437 }
2438
2439
2440 static int _wrap_DialogNameStr_set(PyObject *_val) {
2441 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2442 return 1;
2443 }
2444
2445
2446 static PyObject *_wrap_DialogNameStr_get() {
2447 PyObject *pyobj;
2448
2449 {
2450 #if wxUSE_UNICODE
2451 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2452 #else
2453 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2454 #endif
2455 }
2456 return pyobj;
2457 }
2458
2459
2460 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2461 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2462 return 1;
2463 }
2464
2465
2466 static PyObject *_wrap_StatusLineNameStr_get() {
2467 PyObject *pyobj;
2468
2469 {
2470 #if wxUSE_UNICODE
2471 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2472 #else
2473 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2474 #endif
2475 }
2476 return pyobj;
2477 }
2478
2479
2480 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2481 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2482 return 1;
2483 }
2484
2485
2486 static PyObject *_wrap_ToolBarNameStr_get() {
2487 PyObject *pyobj;
2488
2489 {
2490 #if wxUSE_UNICODE
2491 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2492 #else
2493 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2494 #endif
2495 }
2496 return pyobj;
2497 }
2498
2499
2500 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2501 PyObject *resultobj;
2502 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2503 bool arg2 = (bool) True ;
2504 PyObject * obj0 = 0 ;
2505 PyObject * obj1 = 0 ;
2506 char *kwnames[] = {
2507 (char *) "self",(char *) "maximize", NULL
2508 };
2509
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2513 if (obj1) {
2514 arg2 = (bool) SWIG_AsBool(obj1);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 {
2518 PyThreadState* __tstate = wxPyBeginAllowThreads();
2519 (arg1)->Maximize(arg2);
2520
2521 wxPyEndAllowThreads(__tstate);
2522 if (PyErr_Occurred()) SWIG_fail;
2523 }
2524 Py_INCREF(Py_None); resultobj = Py_None;
2525 return resultobj;
2526 fail:
2527 return NULL;
2528 }
2529
2530
2531 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2532 PyObject *resultobj;
2533 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2534 PyObject * obj0 = 0 ;
2535 char *kwnames[] = {
2536 (char *) "self", NULL
2537 };
2538
2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2542 {
2543 PyThreadState* __tstate = wxPyBeginAllowThreads();
2544 (arg1)->Restore();
2545
2546 wxPyEndAllowThreads(__tstate);
2547 if (PyErr_Occurred()) SWIG_fail;
2548 }
2549 Py_INCREF(Py_None); resultobj = Py_None;
2550 return resultobj;
2551 fail:
2552 return NULL;
2553 }
2554
2555
2556 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2559 bool arg2 = (bool) True ;
2560 PyObject * obj0 = 0 ;
2561 PyObject * obj1 = 0 ;
2562 char *kwnames[] = {
2563 (char *) "self",(char *) "iconize", NULL
2564 };
2565
2566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2569 if (obj1) {
2570 arg2 = (bool) SWIG_AsBool(obj1);
2571 if (PyErr_Occurred()) SWIG_fail;
2572 }
2573 {
2574 PyThreadState* __tstate = wxPyBeginAllowThreads();
2575 (arg1)->Iconize(arg2);
2576
2577 wxPyEndAllowThreads(__tstate);
2578 if (PyErr_Occurred()) SWIG_fail;
2579 }
2580 Py_INCREF(Py_None); resultobj = Py_None;
2581 return resultobj;
2582 fail:
2583 return NULL;
2584 }
2585
2586
2587 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2588 PyObject *resultobj;
2589 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2590 bool result;
2591 PyObject * obj0 = 0 ;
2592 char *kwnames[] = {
2593 (char *) "self", NULL
2594 };
2595
2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2599 {
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 {
2607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2608 }
2609 return resultobj;
2610 fail:
2611 return NULL;
2612 }
2613
2614
2615 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2616 PyObject *resultobj;
2617 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2618 bool result;
2619 PyObject * obj0 = 0 ;
2620 char *kwnames[] = {
2621 (char *) "self", NULL
2622 };
2623
2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2627 {
2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
2629 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2630
2631 wxPyEndAllowThreads(__tstate);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 }
2634 {
2635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2636 }
2637 return resultobj;
2638 fail:
2639 return NULL;
2640 }
2641
2642
2643 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2644 PyObject *resultobj;
2645 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2646 wxIcon result;
2647 PyObject * obj0 = 0 ;
2648 char *kwnames[] = {
2649 (char *) "self", NULL
2650 };
2651
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2655 {
2656 PyThreadState* __tstate = wxPyBeginAllowThreads();
2657 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2658
2659 wxPyEndAllowThreads(__tstate);
2660 if (PyErr_Occurred()) SWIG_fail;
2661 }
2662 {
2663 wxIcon * resultptr;
2664 resultptr = new wxIcon((wxIcon &) result);
2665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2666 }
2667 return resultobj;
2668 fail:
2669 return NULL;
2670 }
2671
2672
2673 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2674 PyObject *resultobj;
2675 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2676 wxIcon *arg2 = 0 ;
2677 PyObject * obj0 = 0 ;
2678 PyObject * obj1 = 0 ;
2679 char *kwnames[] = {
2680 (char *) "self",(char *) "icon", NULL
2681 };
2682
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2687 SWIG_POINTER_EXCEPTION | 0)) == -1)
2688 SWIG_fail;
2689 if (arg2 == NULL) {
2690 PyErr_SetString(PyExc_TypeError,"null reference");
2691 SWIG_fail;
2692 }
2693 {
2694 PyThreadState* __tstate = wxPyBeginAllowThreads();
2695 (arg1)->SetIcon((wxIcon const &)*arg2);
2696
2697 wxPyEndAllowThreads(__tstate);
2698 if (PyErr_Occurred()) SWIG_fail;
2699 }
2700 Py_INCREF(Py_None); resultobj = Py_None;
2701 return resultobj;
2702 fail:
2703 return NULL;
2704 }
2705
2706
2707 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2708 PyObject *resultobj;
2709 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2710 wxIconBundle *arg2 = 0 ;
2711 PyObject * obj0 = 0 ;
2712 PyObject * obj1 = 0 ;
2713 char *kwnames[] = {
2714 (char *) "self",(char *) "icons", NULL
2715 };
2716
2717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2721 SWIG_POINTER_EXCEPTION | 0)) == -1)
2722 SWIG_fail;
2723 if (arg2 == NULL) {
2724 PyErr_SetString(PyExc_TypeError,"null reference");
2725 SWIG_fail;
2726 }
2727 {
2728 PyThreadState* __tstate = wxPyBeginAllowThreads();
2729 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2730
2731 wxPyEndAllowThreads(__tstate);
2732 if (PyErr_Occurred()) SWIG_fail;
2733 }
2734 Py_INCREF(Py_None); resultobj = Py_None;
2735 return resultobj;
2736 fail:
2737 return NULL;
2738 }
2739
2740
2741 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2742 PyObject *resultobj;
2743 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2744 bool arg2 ;
2745 long arg3 = (long) wxFULLSCREEN_ALL ;
2746 bool result;
2747 PyObject * obj0 = 0 ;
2748 PyObject * obj1 = 0 ;
2749 PyObject * obj2 = 0 ;
2750 char *kwnames[] = {
2751 (char *) "self",(char *) "show",(char *) "style", NULL
2752 };
2753
2754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2757 arg2 = (bool) SWIG_AsBool(obj1);
2758 if (PyErr_Occurred()) SWIG_fail;
2759 if (obj2) {
2760 arg3 = (long) SWIG_AsLong(obj2);
2761 if (PyErr_Occurred()) SWIG_fail;
2762 }
2763 {
2764 PyThreadState* __tstate = wxPyBeginAllowThreads();
2765 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2766
2767 wxPyEndAllowThreads(__tstate);
2768 if (PyErr_Occurred()) SWIG_fail;
2769 }
2770 {
2771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2772 }
2773 return resultobj;
2774 fail:
2775 return NULL;
2776 }
2777
2778
2779 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2780 PyObject *resultobj;
2781 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2782 bool result;
2783 PyObject * obj0 = 0 ;
2784 char *kwnames[] = {
2785 (char *) "self", NULL
2786 };
2787
2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2791 {
2792 PyThreadState* __tstate = wxPyBeginAllowThreads();
2793 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2794
2795 wxPyEndAllowThreads(__tstate);
2796 if (PyErr_Occurred()) SWIG_fail;
2797 }
2798 {
2799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2800 }
2801 return resultobj;
2802 fail:
2803 return NULL;
2804 }
2805
2806
2807 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject *resultobj;
2809 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2810 wxString *arg2 = 0 ;
2811 bool temp2 = False ;
2812 PyObject * obj0 = 0 ;
2813 PyObject * obj1 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "self",(char *) "title", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2821 {
2822 arg2 = wxString_in_helper(obj1);
2823 if (arg2 == NULL) SWIG_fail;
2824 temp2 = True;
2825 }
2826 {
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 (arg1)->SetTitle((wxString const &)*arg2);
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 Py_INCREF(Py_None); resultobj = Py_None;
2834 {
2835 if (temp2)
2836 delete arg2;
2837 }
2838 return resultobj;
2839 fail:
2840 {
2841 if (temp2)
2842 delete arg2;
2843 }
2844 return NULL;
2845 }
2846
2847
2848 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2849 PyObject *resultobj;
2850 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2851 wxString result;
2852 PyObject * obj0 = 0 ;
2853 char *kwnames[] = {
2854 (char *) "self", NULL
2855 };
2856
2857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2860 {
2861 PyThreadState* __tstate = wxPyBeginAllowThreads();
2862 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2863
2864 wxPyEndAllowThreads(__tstate);
2865 if (PyErr_Occurred()) SWIG_fail;
2866 }
2867 {
2868 #if wxUSE_UNICODE
2869 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2870 #else
2871 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2872 #endif
2873 }
2874 return resultobj;
2875 fail:
2876 return NULL;
2877 }
2878
2879
2880 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2881 PyObject *resultobj;
2882 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2883 wxRegion *arg2 = 0 ;
2884 bool result;
2885 PyObject * obj0 = 0 ;
2886 PyObject * obj1 = 0 ;
2887 char *kwnames[] = {
2888 (char *) "self",(char *) "region", NULL
2889 };
2890
2891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2895 SWIG_POINTER_EXCEPTION | 0)) == -1)
2896 SWIG_fail;
2897 if (arg2 == NULL) {
2898 PyErr_SetString(PyExc_TypeError,"null reference");
2899 SWIG_fail;
2900 }
2901 {
2902 PyThreadState* __tstate = wxPyBeginAllowThreads();
2903 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2904
2905 wxPyEndAllowThreads(__tstate);
2906 if (PyErr_Occurred()) SWIG_fail;
2907 }
2908 {
2909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2910 }
2911 return resultobj;
2912 fail:
2913 return NULL;
2914 }
2915
2916
2917 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2918 PyObject *obj;
2919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2920 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2921 Py_INCREF(obj);
2922 return Py_BuildValue((char *)"");
2923 }
2924 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2925 PyObject *resultobj;
2926 wxWindow *arg1 = (wxWindow *) 0 ;
2927 int arg2 ;
2928 wxString *arg3 = 0 ;
2929 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2930 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2931 wxSize const &arg5_defvalue = wxDefaultSize ;
2932 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2933 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2934 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2935 wxString *arg7 = (wxString *) &arg7_defvalue ;
2936 wxFrame *result;
2937 bool temp3 = False ;
2938 wxPoint temp4 ;
2939 wxSize temp5 ;
2940 bool temp7 = False ;
2941 PyObject * obj0 = 0 ;
2942 PyObject * obj1 = 0 ;
2943 PyObject * obj2 = 0 ;
2944 PyObject * obj3 = 0 ;
2945 PyObject * obj4 = 0 ;
2946 PyObject * obj5 = 0 ;
2947 PyObject * obj6 = 0 ;
2948 char *kwnames[] = {
2949 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2950 };
2951
2952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2955 arg2 = (int const) SWIG_AsInt(obj1);
2956 if (PyErr_Occurred()) SWIG_fail;
2957 {
2958 arg3 = wxString_in_helper(obj2);
2959 if (arg3 == NULL) SWIG_fail;
2960 temp3 = True;
2961 }
2962 if (obj3) {
2963 {
2964 arg4 = &temp4;
2965 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2966 }
2967 }
2968 if (obj4) {
2969 {
2970 arg5 = &temp5;
2971 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2972 }
2973 }
2974 if (obj5) {
2975 arg6 = (long) SWIG_AsLong(obj5);
2976 if (PyErr_Occurred()) SWIG_fail;
2977 }
2978 if (obj6) {
2979 {
2980 arg7 = wxString_in_helper(obj6);
2981 if (arg7 == NULL) SWIG_fail;
2982 temp7 = True;
2983 }
2984 }
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 {
2993 resultobj = wxPyMake_wxObject(result);
2994 }
2995 {
2996 if (temp3)
2997 delete arg3;
2998 }
2999 {
3000 if (temp7)
3001 delete arg7;
3002 }
3003 return resultobj;
3004 fail:
3005 {
3006 if (temp3)
3007 delete arg3;
3008 }
3009 {
3010 if (temp7)
3011 delete arg7;
3012 }
3013 return NULL;
3014 }
3015
3016
3017 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj;
3019 wxFrame *result;
3020 char *kwnames[] = {
3021 NULL
3022 };
3023
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3025 {
3026 PyThreadState* __tstate = wxPyBeginAllowThreads();
3027 result = (wxFrame *)new wxFrame();
3028
3029 wxPyEndAllowThreads(__tstate);
3030 if (PyErr_Occurred()) SWIG_fail;
3031 }
3032 {
3033 resultobj = wxPyMake_wxObject(result);
3034 }
3035 return resultobj;
3036 fail:
3037 return NULL;
3038 }
3039
3040
3041 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3042 PyObject *resultobj;
3043 wxFrame *arg1 = (wxFrame *) 0 ;
3044 wxWindow *arg2 = (wxWindow *) 0 ;
3045 int arg3 ;
3046 wxString *arg4 = 0 ;
3047 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3048 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3049 wxSize const &arg6_defvalue = wxDefaultSize ;
3050 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3051 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3052 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3053 wxString *arg8 = (wxString *) &arg8_defvalue ;
3054 bool result;
3055 bool temp4 = False ;
3056 wxPoint temp5 ;
3057 wxSize temp6 ;
3058 bool temp8 = False ;
3059 PyObject * obj0 = 0 ;
3060 PyObject * obj1 = 0 ;
3061 PyObject * obj2 = 0 ;
3062 PyObject * obj3 = 0 ;
3063 PyObject * obj4 = 0 ;
3064 PyObject * obj5 = 0 ;
3065 PyObject * obj6 = 0 ;
3066 PyObject * obj7 = 0 ;
3067 char *kwnames[] = {
3068 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3069 };
3070
3071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3074 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3076 arg3 = (int const) SWIG_AsInt(obj2);
3077 if (PyErr_Occurred()) SWIG_fail;
3078 {
3079 arg4 = wxString_in_helper(obj3);
3080 if (arg4 == NULL) SWIG_fail;
3081 temp4 = True;
3082 }
3083 if (obj4) {
3084 {
3085 arg5 = &temp5;
3086 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3087 }
3088 }
3089 if (obj5) {
3090 {
3091 arg6 = &temp6;
3092 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3093 }
3094 }
3095 if (obj6) {
3096 arg7 = (long) SWIG_AsLong(obj6);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 if (obj7) {
3100 {
3101 arg8 = wxString_in_helper(obj7);
3102 if (arg8 == NULL) SWIG_fail;
3103 temp8 = True;
3104 }
3105 }
3106 {
3107 PyThreadState* __tstate = wxPyBeginAllowThreads();
3108 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3109
3110 wxPyEndAllowThreads(__tstate);
3111 if (PyErr_Occurred()) SWIG_fail;
3112 }
3113 {
3114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3115 }
3116 {
3117 if (temp4)
3118 delete arg4;
3119 }
3120 {
3121 if (temp8)
3122 delete arg8;
3123 }
3124 return resultobj;
3125 fail:
3126 {
3127 if (temp4)
3128 delete arg4;
3129 }
3130 {
3131 if (temp8)
3132 delete arg8;
3133 }
3134 return NULL;
3135 }
3136
3137
3138 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3139 PyObject *resultobj;
3140 wxFrame *arg1 = (wxFrame *) 0 ;
3141 wxPoint result;
3142 PyObject * obj0 = 0 ;
3143 char *kwnames[] = {
3144 (char *) "self", NULL
3145 };
3146
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3150 {
3151 PyThreadState* __tstate = wxPyBeginAllowThreads();
3152 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3153
3154 wxPyEndAllowThreads(__tstate);
3155 if (PyErr_Occurred()) SWIG_fail;
3156 }
3157 {
3158 wxPoint * resultptr;
3159 resultptr = new wxPoint((wxPoint &) result);
3160 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3161 }
3162 return resultobj;
3163 fail:
3164 return NULL;
3165 }
3166
3167
3168 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3169 PyObject *resultobj;
3170 wxFrame *arg1 = (wxFrame *) 0 ;
3171 PyObject * obj0 = 0 ;
3172 char *kwnames[] = {
3173 (char *) "self", NULL
3174 };
3175
3176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3179 {
3180 PyThreadState* __tstate = wxPyBeginAllowThreads();
3181 (arg1)->SendSizeEvent();
3182
3183 wxPyEndAllowThreads(__tstate);
3184 if (PyErr_Occurred()) SWIG_fail;
3185 }
3186 Py_INCREF(Py_None); resultobj = Py_None;
3187 return resultobj;
3188 fail:
3189 return NULL;
3190 }
3191
3192
3193 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3194 PyObject *resultobj;
3195 wxFrame *arg1 = (wxFrame *) 0 ;
3196 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3197 PyObject * obj0 = 0 ;
3198 PyObject * obj1 = 0 ;
3199 char *kwnames[] = {
3200 (char *) "self",(char *) "menubar", NULL
3201 };
3202
3203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3208 {
3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
3210 (arg1)->SetMenuBar(arg2);
3211
3212 wxPyEndAllowThreads(__tstate);
3213 if (PyErr_Occurred()) SWIG_fail;
3214 }
3215 Py_INCREF(Py_None); resultobj = Py_None;
3216 return resultobj;
3217 fail:
3218 return NULL;
3219 }
3220
3221
3222 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3223 PyObject *resultobj;
3224 wxFrame *arg1 = (wxFrame *) 0 ;
3225 wxMenuBar *result;
3226 PyObject * obj0 = 0 ;
3227 char *kwnames[] = {
3228 (char *) "self", NULL
3229 };
3230
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3234 {
3235 PyThreadState* __tstate = wxPyBeginAllowThreads();
3236 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3237
3238 wxPyEndAllowThreads(__tstate);
3239 if (PyErr_Occurred()) SWIG_fail;
3240 }
3241 {
3242 resultobj = wxPyMake_wxObject(result);
3243 }
3244 return resultobj;
3245 fail:
3246 return NULL;
3247 }
3248
3249
3250 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject *resultobj;
3252 wxFrame *arg1 = (wxFrame *) 0 ;
3253 int arg2 ;
3254 bool result;
3255 PyObject * obj0 = 0 ;
3256 PyObject * obj1 = 0 ;
3257 char *kwnames[] = {
3258 (char *) "self",(char *) "winid", NULL
3259 };
3260
3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3264 arg2 = (int) SWIG_AsInt(obj1);
3265 if (PyErr_Occurred()) SWIG_fail;
3266 {
3267 PyThreadState* __tstate = wxPyBeginAllowThreads();
3268 result = (bool)(arg1)->ProcessCommand(arg2);
3269
3270 wxPyEndAllowThreads(__tstate);
3271 if (PyErr_Occurred()) SWIG_fail;
3272 }
3273 {
3274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3275 }
3276 return resultobj;
3277 fail:
3278 return NULL;
3279 }
3280
3281
3282 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3283 PyObject *resultobj;
3284 wxFrame *arg1 = (wxFrame *) 0 ;
3285 int arg2 = (int) 1 ;
3286 long arg3 = (long) wxST_SIZEGRIP ;
3287 int arg4 = (int) 0 ;
3288 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3289 wxString *arg5 = (wxString *) &arg5_defvalue ;
3290 wxStatusBar *result;
3291 bool temp5 = False ;
3292 PyObject * obj0 = 0 ;
3293 PyObject * obj1 = 0 ;
3294 PyObject * obj2 = 0 ;
3295 PyObject * obj3 = 0 ;
3296 PyObject * obj4 = 0 ;
3297 char *kwnames[] = {
3298 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3299 };
3300
3301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3304 if (obj1) {
3305 arg2 = (int) SWIG_AsInt(obj1);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 if (obj2) {
3309 arg3 = (long) SWIG_AsLong(obj2);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 }
3312 if (obj3) {
3313 arg4 = (int) SWIG_AsInt(obj3);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 if (obj4) {
3317 {
3318 arg5 = wxString_in_helper(obj4);
3319 if (arg5 == NULL) SWIG_fail;
3320 temp5 = True;
3321 }
3322 }
3323 {
3324 PyThreadState* __tstate = wxPyBeginAllowThreads();
3325 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3326
3327 wxPyEndAllowThreads(__tstate);
3328 if (PyErr_Occurred()) SWIG_fail;
3329 }
3330 {
3331 resultobj = wxPyMake_wxObject(result);
3332 }
3333 {
3334 if (temp5)
3335 delete arg5;
3336 }
3337 return resultobj;
3338 fail:
3339 {
3340 if (temp5)
3341 delete arg5;
3342 }
3343 return NULL;
3344 }
3345
3346
3347 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3348 PyObject *resultobj;
3349 wxFrame *arg1 = (wxFrame *) 0 ;
3350 wxStatusBar *result;
3351 PyObject * obj0 = 0 ;
3352 char *kwnames[] = {
3353 (char *) "self", NULL
3354 };
3355
3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3359 {
3360 PyThreadState* __tstate = wxPyBeginAllowThreads();
3361 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3362
3363 wxPyEndAllowThreads(__tstate);
3364 if (PyErr_Occurred()) SWIG_fail;
3365 }
3366 {
3367 resultobj = wxPyMake_wxObject(result);
3368 }
3369 return resultobj;
3370 fail:
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxFrame *arg1 = (wxFrame *) 0 ;
3378 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3379 PyObject * obj0 = 0 ;
3380 PyObject * obj1 = 0 ;
3381 char *kwnames[] = {
3382 (char *) "self",(char *) "statBar", NULL
3383 };
3384
3385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3390 {
3391 PyThreadState* __tstate = wxPyBeginAllowThreads();
3392 (arg1)->SetStatusBar(arg2);
3393
3394 wxPyEndAllowThreads(__tstate);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 }
3397 Py_INCREF(Py_None); resultobj = Py_None;
3398 return resultobj;
3399 fail:
3400 return NULL;
3401 }
3402
3403
3404 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3405 PyObject *resultobj;
3406 wxFrame *arg1 = (wxFrame *) 0 ;
3407 wxString *arg2 = 0 ;
3408 int arg3 = (int) 0 ;
3409 bool temp2 = False ;
3410 PyObject * obj0 = 0 ;
3411 PyObject * obj1 = 0 ;
3412 PyObject * obj2 = 0 ;
3413 char *kwnames[] = {
3414 (char *) "self",(char *) "text",(char *) "number", NULL
3415 };
3416
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3420 {
3421 arg2 = wxString_in_helper(obj1);
3422 if (arg2 == NULL) SWIG_fail;
3423 temp2 = True;
3424 }
3425 if (obj2) {
3426 arg3 = (int) SWIG_AsInt(obj2);
3427 if (PyErr_Occurred()) SWIG_fail;
3428 }
3429 {
3430 PyThreadState* __tstate = wxPyBeginAllowThreads();
3431 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3432
3433 wxPyEndAllowThreads(__tstate);
3434 if (PyErr_Occurred()) SWIG_fail;
3435 }
3436 Py_INCREF(Py_None); resultobj = Py_None;
3437 {
3438 if (temp2)
3439 delete arg2;
3440 }
3441 return resultobj;
3442 fail:
3443 {
3444 if (temp2)
3445 delete arg2;
3446 }
3447 return NULL;
3448 }
3449
3450
3451 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3452 PyObject *resultobj;
3453 wxFrame *arg1 = (wxFrame *) 0 ;
3454 int arg2 ;
3455 int *arg3 = (int *) 0 ;
3456 PyObject * obj0 = 0 ;
3457 PyObject * obj1 = 0 ;
3458 char *kwnames[] = {
3459 (char *) "self",(char *) "widths", NULL
3460 };
3461
3462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3465 {
3466 arg2 = PyList_Size(obj1);
3467 arg3 = int_LIST_helper(obj1);
3468 if (arg3 == NULL) SWIG_fail;
3469 }
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3473
3474 wxPyEndAllowThreads(__tstate);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 }
3477 Py_INCREF(Py_None); resultobj = Py_None;
3478 {
3479 if (arg3) delete [] arg3;
3480 }
3481 return resultobj;
3482 fail:
3483 {
3484 if (arg3) delete [] arg3;
3485 }
3486 return NULL;
3487 }
3488
3489
3490 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3491 PyObject *resultobj;
3492 wxFrame *arg1 = (wxFrame *) 0 ;
3493 wxString *arg2 = 0 ;
3494 int arg3 = (int) 0 ;
3495 bool temp2 = False ;
3496 PyObject * obj0 = 0 ;
3497 PyObject * obj1 = 0 ;
3498 PyObject * obj2 = 0 ;
3499 char *kwnames[] = {
3500 (char *) "self",(char *) "text",(char *) "number", NULL
3501 };
3502
3503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3506 {
3507 arg2 = wxString_in_helper(obj1);
3508 if (arg2 == NULL) SWIG_fail;
3509 temp2 = True;
3510 }
3511 if (obj2) {
3512 arg3 = (int) SWIG_AsInt(obj2);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
3515 {
3516 PyThreadState* __tstate = wxPyBeginAllowThreads();
3517 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3518
3519 wxPyEndAllowThreads(__tstate);
3520 if (PyErr_Occurred()) SWIG_fail;
3521 }
3522 Py_INCREF(Py_None); resultobj = Py_None;
3523 {
3524 if (temp2)
3525 delete arg2;
3526 }
3527 return resultobj;
3528 fail:
3529 {
3530 if (temp2)
3531 delete arg2;
3532 }
3533 return NULL;
3534 }
3535
3536
3537 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3538 PyObject *resultobj;
3539 wxFrame *arg1 = (wxFrame *) 0 ;
3540 int arg2 = (int) 0 ;
3541 PyObject * obj0 = 0 ;
3542 PyObject * obj1 = 0 ;
3543 char *kwnames[] = {
3544 (char *) "self",(char *) "number", NULL
3545 };
3546
3547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3550 if (obj1) {
3551 arg2 = (int) SWIG_AsInt(obj1);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 {
3555 PyThreadState* __tstate = wxPyBeginAllowThreads();
3556 (arg1)->PopStatusText(arg2);
3557
3558 wxPyEndAllowThreads(__tstate);
3559 if (PyErr_Occurred()) SWIG_fail;
3560 }
3561 Py_INCREF(Py_None); resultobj = Py_None;
3562 return resultobj;
3563 fail:
3564 return NULL;
3565 }
3566
3567
3568 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3569 PyObject *resultobj;
3570 wxFrame *arg1 = (wxFrame *) 0 ;
3571 int arg2 ;
3572 PyObject * obj0 = 0 ;
3573 PyObject * obj1 = 0 ;
3574 char *kwnames[] = {
3575 (char *) "self",(char *) "n", NULL
3576 };
3577
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3581 arg2 = (int) SWIG_AsInt(obj1);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 {
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 (arg1)->SetStatusBarPane(arg2);
3586
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 Py_INCREF(Py_None); resultobj = Py_None;
3591 return resultobj;
3592 fail:
3593 return NULL;
3594 }
3595
3596
3597 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj;
3599 wxFrame *arg1 = (wxFrame *) 0 ;
3600 int result;
3601 PyObject * obj0 = 0 ;
3602 char *kwnames[] = {
3603 (char *) "self", NULL
3604 };
3605
3606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3609 {
3610 PyThreadState* __tstate = wxPyBeginAllowThreads();
3611 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3612
3613 wxPyEndAllowThreads(__tstate);
3614 if (PyErr_Occurred()) SWIG_fail;
3615 }
3616 resultobj = SWIG_FromInt((int)result);
3617 return resultobj;
3618 fail:
3619 return NULL;
3620 }
3621
3622
3623 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3624 PyObject *resultobj;
3625 wxFrame *arg1 = (wxFrame *) 0 ;
3626 long arg2 = (long) -1 ;
3627 int arg3 = (int) -1 ;
3628 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3629 wxString *arg4 = (wxString *) &arg4_defvalue ;
3630 wxToolBar *result;
3631 bool temp4 = False ;
3632 PyObject * obj0 = 0 ;
3633 PyObject * obj1 = 0 ;
3634 PyObject * obj2 = 0 ;
3635 PyObject * obj3 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3643 if (obj1) {
3644 arg2 = (long) SWIG_AsLong(obj1);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 if (obj2) {
3648 arg3 = (int) SWIG_AsInt(obj2);
3649 if (PyErr_Occurred()) SWIG_fail;
3650 }
3651 if (obj3) {
3652 {
3653 arg4 = wxString_in_helper(obj3);
3654 if (arg4 == NULL) SWIG_fail;
3655 temp4 = True;
3656 }
3657 }
3658 {
3659 PyThreadState* __tstate = wxPyBeginAllowThreads();
3660 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3661
3662 wxPyEndAllowThreads(__tstate);
3663 if (PyErr_Occurred()) SWIG_fail;
3664 }
3665 {
3666 resultobj = wxPyMake_wxObject(result);
3667 }
3668 {
3669 if (temp4)
3670 delete arg4;
3671 }
3672 return resultobj;
3673 fail:
3674 {
3675 if (temp4)
3676 delete arg4;
3677 }
3678 return NULL;
3679 }
3680
3681
3682 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3683 PyObject *resultobj;
3684 wxFrame *arg1 = (wxFrame *) 0 ;
3685 wxToolBar *result;
3686 PyObject * obj0 = 0 ;
3687 char *kwnames[] = {
3688 (char *) "self", NULL
3689 };
3690
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3694 {
3695 PyThreadState* __tstate = wxPyBeginAllowThreads();
3696 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3697
3698 wxPyEndAllowThreads(__tstate);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 {
3702 resultobj = wxPyMake_wxObject(result);
3703 }
3704 return resultobj;
3705 fail:
3706 return NULL;
3707 }
3708
3709
3710 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3711 PyObject *resultobj;
3712 wxFrame *arg1 = (wxFrame *) 0 ;
3713 wxToolBar *arg2 = (wxToolBar *) 0 ;
3714 PyObject * obj0 = 0 ;
3715 PyObject * obj1 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "self",(char *) "toolbar", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3725 {
3726 PyThreadState* __tstate = wxPyBeginAllowThreads();
3727 (arg1)->SetToolBar(arg2);
3728
3729 wxPyEndAllowThreads(__tstate);
3730 if (PyErr_Occurred()) SWIG_fail;
3731 }
3732 Py_INCREF(Py_None); resultobj = Py_None;
3733 return resultobj;
3734 fail:
3735 return NULL;
3736 }
3737
3738
3739 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3740 PyObject *resultobj;
3741 wxFrame *arg1 = (wxFrame *) 0 ;
3742 wxString *arg2 = 0 ;
3743 bool arg3 ;
3744 bool temp2 = False ;
3745 PyObject * obj0 = 0 ;
3746 PyObject * obj1 = 0 ;
3747 PyObject * obj2 = 0 ;
3748 char *kwnames[] = {
3749 (char *) "self",(char *) "text",(char *) "show", NULL
3750 };
3751
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3755 {
3756 arg2 = wxString_in_helper(obj1);
3757 if (arg2 == NULL) SWIG_fail;
3758 temp2 = True;
3759 }
3760 arg3 = (bool) SWIG_AsBool(obj2);
3761 if (PyErr_Occurred()) SWIG_fail;
3762 {
3763 PyThreadState* __tstate = wxPyBeginAllowThreads();
3764 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3765
3766 wxPyEndAllowThreads(__tstate);
3767 if (PyErr_Occurred()) SWIG_fail;
3768 }
3769 Py_INCREF(Py_None); resultobj = Py_None;
3770 {
3771 if (temp2)
3772 delete arg2;
3773 }
3774 return resultobj;
3775 fail:
3776 {
3777 if (temp2)
3778 delete arg2;
3779 }
3780 return NULL;
3781 }
3782
3783
3784 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3785 PyObject *resultobj;
3786 wxFrame *arg1 = (wxFrame *) 0 ;
3787 wxMenu *arg2 = (wxMenu *) NULL ;
3788 PyObject * obj0 = 0 ;
3789 PyObject * obj1 = 0 ;
3790 char *kwnames[] = {
3791 (char *) "self",(char *) "menu", NULL
3792 };
3793
3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3797 if (obj1) {
3798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3800 }
3801 {
3802 PyThreadState* __tstate = wxPyBeginAllowThreads();
3803 (arg1)->DoMenuUpdates(arg2);
3804
3805 wxPyEndAllowThreads(__tstate);
3806 if (PyErr_Occurred()) SWIG_fail;
3807 }
3808 Py_INCREF(Py_None); resultobj = Py_None;
3809 return resultobj;
3810 fail:
3811 return NULL;
3812 }
3813
3814
3815 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3816 PyObject *obj;
3817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3818 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3819 Py_INCREF(obj);
3820 return Py_BuildValue((char *)"");
3821 }
3822 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject *resultobj;
3824 wxWindow *arg1 = (wxWindow *) 0 ;
3825 int arg2 ;
3826 wxString *arg3 = 0 ;
3827 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3828 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3829 wxSize const &arg5_defvalue = wxDefaultSize ;
3830 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3831 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3832 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3833 wxString *arg7 = (wxString *) &arg7_defvalue ;
3834 wxDialog *result;
3835 bool temp3 = False ;
3836 wxPoint temp4 ;
3837 wxSize temp5 ;
3838 bool temp7 = False ;
3839 PyObject * obj0 = 0 ;
3840 PyObject * obj1 = 0 ;
3841 PyObject * obj2 = 0 ;
3842 PyObject * obj3 = 0 ;
3843 PyObject * obj4 = 0 ;
3844 PyObject * obj5 = 0 ;
3845 PyObject * obj6 = 0 ;
3846 char *kwnames[] = {
3847 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3848 };
3849
3850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3853 arg2 = (int const) SWIG_AsInt(obj1);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 {
3856 arg3 = wxString_in_helper(obj2);
3857 if (arg3 == NULL) SWIG_fail;
3858 temp3 = True;
3859 }
3860 if (obj3) {
3861 {
3862 arg4 = &temp4;
3863 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3864 }
3865 }
3866 if (obj4) {
3867 {
3868 arg5 = &temp5;
3869 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3870 }
3871 }
3872 if (obj5) {
3873 arg6 = (long) SWIG_AsLong(obj5);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 if (obj6) {
3877 {
3878 arg7 = wxString_in_helper(obj6);
3879 if (arg7 == NULL) SWIG_fail;
3880 temp7 = True;
3881 }
3882 }
3883 {
3884 PyThreadState* __tstate = wxPyBeginAllowThreads();
3885 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3886
3887 wxPyEndAllowThreads(__tstate);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
3890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3891 {
3892 if (temp3)
3893 delete arg3;
3894 }
3895 {
3896 if (temp7)
3897 delete arg7;
3898 }
3899 return resultobj;
3900 fail:
3901 {
3902 if (temp3)
3903 delete arg3;
3904 }
3905 {
3906 if (temp7)
3907 delete arg7;
3908 }
3909 return NULL;
3910 }
3911
3912
3913 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3914 PyObject *resultobj;
3915 wxDialog *result;
3916 char *kwnames[] = {
3917 NULL
3918 };
3919
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3921 {
3922 PyThreadState* __tstate = wxPyBeginAllowThreads();
3923 result = (wxDialog *)new wxDialog();
3924
3925 wxPyEndAllowThreads(__tstate);
3926 if (PyErr_Occurred()) SWIG_fail;
3927 }
3928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3929 return resultobj;
3930 fail:
3931 return NULL;
3932 }
3933
3934
3935 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3936 PyObject *resultobj;
3937 wxDialog *arg1 = (wxDialog *) 0 ;
3938 wxWindow *arg2 = (wxWindow *) 0 ;
3939 int arg3 ;
3940 wxString *arg4 = 0 ;
3941 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3942 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3943 wxSize const &arg6_defvalue = wxDefaultSize ;
3944 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3945 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3946 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3947 wxString *arg8 = (wxString *) &arg8_defvalue ;
3948 bool result;
3949 bool temp4 = False ;
3950 wxPoint temp5 ;
3951 wxSize temp6 ;
3952 bool temp8 = False ;
3953 PyObject * obj0 = 0 ;
3954 PyObject * obj1 = 0 ;
3955 PyObject * obj2 = 0 ;
3956 PyObject * obj3 = 0 ;
3957 PyObject * obj4 = 0 ;
3958 PyObject * obj5 = 0 ;
3959 PyObject * obj6 = 0 ;
3960 PyObject * obj7 = 0 ;
3961 char *kwnames[] = {
3962 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3963 };
3964
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3968 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3970 arg3 = (int const) SWIG_AsInt(obj2);
3971 if (PyErr_Occurred()) SWIG_fail;
3972 {
3973 arg4 = wxString_in_helper(obj3);
3974 if (arg4 == NULL) SWIG_fail;
3975 temp4 = True;
3976 }
3977 if (obj4) {
3978 {
3979 arg5 = &temp5;
3980 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3981 }
3982 }
3983 if (obj5) {
3984 {
3985 arg6 = &temp6;
3986 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3987 }
3988 }
3989 if (obj6) {
3990 arg7 = (long) SWIG_AsLong(obj6);
3991 if (PyErr_Occurred()) SWIG_fail;
3992 }
3993 if (obj7) {
3994 {
3995 arg8 = wxString_in_helper(obj7);
3996 if (arg8 == NULL) SWIG_fail;
3997 temp8 = True;
3998 }
3999 }
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 {
4008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4009 }
4010 {
4011 if (temp4)
4012 delete arg4;
4013 }
4014 {
4015 if (temp8)
4016 delete arg8;
4017 }
4018 return resultobj;
4019 fail:
4020 {
4021 if (temp4)
4022 delete arg4;
4023 }
4024 {
4025 if (temp8)
4026 delete arg8;
4027 }
4028 return NULL;
4029 }
4030
4031
4032 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4033 PyObject *resultobj;
4034 wxDialog *arg1 = (wxDialog *) 0 ;
4035 int arg2 ;
4036 PyObject * obj0 = 0 ;
4037 PyObject * obj1 = 0 ;
4038 char *kwnames[] = {
4039 (char *) "self",(char *) "returnCode", NULL
4040 };
4041
4042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4045 arg2 = (int) SWIG_AsInt(obj1);
4046 if (PyErr_Occurred()) SWIG_fail;
4047 {
4048 PyThreadState* __tstate = wxPyBeginAllowThreads();
4049 (arg1)->SetReturnCode(arg2);
4050
4051 wxPyEndAllowThreads(__tstate);
4052 if (PyErr_Occurred()) SWIG_fail;
4053 }
4054 Py_INCREF(Py_None); resultobj = Py_None;
4055 return resultobj;
4056 fail:
4057 return NULL;
4058 }
4059
4060
4061 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4062 PyObject *resultobj;
4063 wxDialog *arg1 = (wxDialog *) 0 ;
4064 int result;
4065 PyObject * obj0 = 0 ;
4066 char *kwnames[] = {
4067 (char *) "self", NULL
4068 };
4069
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4073 {
4074 PyThreadState* __tstate = wxPyBeginAllowThreads();
4075 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4076
4077 wxPyEndAllowThreads(__tstate);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 }
4080 resultobj = SWIG_FromInt((int)result);
4081 return resultobj;
4082 fail:
4083 return NULL;
4084 }
4085
4086
4087 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4088 PyObject *resultobj;
4089 wxDialog *arg1 = (wxDialog *) 0 ;
4090 wxString *arg2 = 0 ;
4091 wxSizer *result;
4092 bool temp2 = False ;
4093 PyObject * obj0 = 0 ;
4094 PyObject * obj1 = 0 ;
4095 char *kwnames[] = {
4096 (char *) "self",(char *) "message", NULL
4097 };
4098
4099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4102 {
4103 arg2 = wxString_in_helper(obj1);
4104 if (arg2 == NULL) SWIG_fail;
4105 temp2 = True;
4106 }
4107 {
4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
4109 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4110
4111 wxPyEndAllowThreads(__tstate);
4112 if (PyErr_Occurred()) SWIG_fail;
4113 }
4114 {
4115 resultobj = wxPyMake_wxSizer(result);
4116 }
4117 {
4118 if (temp2)
4119 delete arg2;
4120 }
4121 return resultobj;
4122 fail:
4123 {
4124 if (temp2)
4125 delete arg2;
4126 }
4127 return NULL;
4128 }
4129
4130
4131 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4132 PyObject *resultobj;
4133 wxDialog *arg1 = (wxDialog *) 0 ;
4134 long arg2 ;
4135 wxSizer *result;
4136 PyObject * obj0 = 0 ;
4137 PyObject * obj1 = 0 ;
4138 char *kwnames[] = {
4139 (char *) "self",(char *) "flags", NULL
4140 };
4141
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4145 arg2 = (long) SWIG_AsLong(obj1);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 {
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4150
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 {
4155 resultobj = wxPyMake_wxSizer(result);
4156 }
4157 return resultobj;
4158 fail:
4159 return NULL;
4160 }
4161
4162
4163 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4164 PyObject *resultobj;
4165 wxDialog *arg1 = (wxDialog *) 0 ;
4166 bool result;
4167 PyObject * obj0 = 0 ;
4168 char *kwnames[] = {
4169 (char *) "self", NULL
4170 };
4171
4172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4175 {
4176 PyThreadState* __tstate = wxPyBeginAllowThreads();
4177 result = (bool)((wxDialog const *)arg1)->IsModal();
4178
4179 wxPyEndAllowThreads(__tstate);
4180 if (PyErr_Occurred()) SWIG_fail;
4181 }
4182 {
4183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4184 }
4185 return resultobj;
4186 fail:
4187 return NULL;
4188 }
4189
4190
4191 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4192 PyObject *resultobj;
4193 wxDialog *arg1 = (wxDialog *) 0 ;
4194 int result;
4195 PyObject * obj0 = 0 ;
4196 char *kwnames[] = {
4197 (char *) "self", NULL
4198 };
4199
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 result = (int)(arg1)->ShowModal();
4206
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) SWIG_fail;
4209 }
4210 resultobj = SWIG_FromInt((int)result);
4211 return resultobj;
4212 fail:
4213 return NULL;
4214 }
4215
4216
4217 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4218 PyObject *resultobj;
4219 wxDialog *arg1 = (wxDialog *) 0 ;
4220 int arg2 ;
4221 PyObject * obj0 = 0 ;
4222 PyObject * obj1 = 0 ;
4223 char *kwnames[] = {
4224 (char *) "self",(char *) "retCode", NULL
4225 };
4226
4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4230 arg2 = (int) SWIG_AsInt(obj1);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 (arg1)->EndModal(arg2);
4235
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
4239 Py_INCREF(Py_None); resultobj = Py_None;
4240 return resultobj;
4241 fail:
4242 return NULL;
4243 }
4244
4245
4246 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4247 PyObject *resultobj;
4248 wxDialog *arg1 = (wxDialog *) 0 ;
4249 bool result;
4250 PyObject * obj0 = 0 ;
4251 char *kwnames[] = {
4252 (char *) "self", NULL
4253 };
4254
4255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 result = (bool)wxDialog_IsModalShowing(arg1);
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 {
4266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4267 }
4268 return resultobj;
4269 fail:
4270 return NULL;
4271 }
4272
4273
4274 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4275 PyObject *obj;
4276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4277 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4278 Py_INCREF(obj);
4279 return Py_BuildValue((char *)"");
4280 }
4281 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4282 PyObject *resultobj;
4283 wxWindow *arg1 = (wxWindow *) 0 ;
4284 int arg2 ;
4285 wxString *arg3 = 0 ;
4286 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4287 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4288 wxSize const &arg5_defvalue = wxDefaultSize ;
4289 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4290 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4291 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4292 wxString *arg7 = (wxString *) &arg7_defvalue ;
4293 wxMiniFrame *result;
4294 bool temp3 = False ;
4295 wxPoint temp4 ;
4296 wxSize temp5 ;
4297 bool temp7 = False ;
4298 PyObject * obj0 = 0 ;
4299 PyObject * obj1 = 0 ;
4300 PyObject * obj2 = 0 ;
4301 PyObject * obj3 = 0 ;
4302 PyObject * obj4 = 0 ;
4303 PyObject * obj5 = 0 ;
4304 PyObject * obj6 = 0 ;
4305 char *kwnames[] = {
4306 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4307 };
4308
4309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4312 arg2 = (int const) SWIG_AsInt(obj1);
4313 if (PyErr_Occurred()) SWIG_fail;
4314 {
4315 arg3 = wxString_in_helper(obj2);
4316 if (arg3 == NULL) SWIG_fail;
4317 temp3 = True;
4318 }
4319 if (obj3) {
4320 {
4321 arg4 = &temp4;
4322 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4323 }
4324 }
4325 if (obj4) {
4326 {
4327 arg5 = &temp5;
4328 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4329 }
4330 }
4331 if (obj5) {
4332 arg6 = (long) SWIG_AsLong(obj5);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 if (obj6) {
4336 {
4337 arg7 = wxString_in_helper(obj6);
4338 if (arg7 == NULL) SWIG_fail;
4339 temp7 = True;
4340 }
4341 }
4342 {
4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
4344 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4345
4346 wxPyEndAllowThreads(__tstate);
4347 if (PyErr_Occurred()) SWIG_fail;
4348 }
4349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4350 {
4351 if (temp3)
4352 delete arg3;
4353 }
4354 {
4355 if (temp7)
4356 delete arg7;
4357 }
4358 return resultobj;
4359 fail:
4360 {
4361 if (temp3)
4362 delete arg3;
4363 }
4364 {
4365 if (temp7)
4366 delete arg7;
4367 }
4368 return NULL;
4369 }
4370
4371
4372 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4373 PyObject *resultobj;
4374 wxMiniFrame *result;
4375 char *kwnames[] = {
4376 NULL
4377 };
4378
4379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 result = (wxMiniFrame *)new wxMiniFrame();
4383
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4388 return resultobj;
4389 fail:
4390 return NULL;
4391 }
4392
4393
4394 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj;
4396 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4397 wxWindow *arg2 = (wxWindow *) 0 ;
4398 int arg3 ;
4399 wxString *arg4 = 0 ;
4400 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4401 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4402 wxSize const &arg6_defvalue = wxDefaultSize ;
4403 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4404 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4405 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4406 wxString *arg8 = (wxString *) &arg8_defvalue ;
4407 bool result;
4408 bool temp4 = False ;
4409 wxPoint temp5 ;
4410 wxSize temp6 ;
4411 bool temp8 = False ;
4412 PyObject * obj0 = 0 ;
4413 PyObject * obj1 = 0 ;
4414 PyObject * obj2 = 0 ;
4415 PyObject * obj3 = 0 ;
4416 PyObject * obj4 = 0 ;
4417 PyObject * obj5 = 0 ;
4418 PyObject * obj6 = 0 ;
4419 PyObject * obj7 = 0 ;
4420 char *kwnames[] = {
4421 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4422 };
4423
4424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4429 arg3 = (int const) SWIG_AsInt(obj2);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 {
4432 arg4 = wxString_in_helper(obj3);
4433 if (arg4 == NULL) SWIG_fail;
4434 temp4 = True;
4435 }
4436 if (obj4) {
4437 {
4438 arg5 = &temp5;
4439 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4440 }
4441 }
4442 if (obj5) {
4443 {
4444 arg6 = &temp6;
4445 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4446 }
4447 }
4448 if (obj6) {
4449 arg7 = (long) SWIG_AsLong(obj6);
4450 if (PyErr_Occurred()) SWIG_fail;
4451 }
4452 if (obj7) {
4453 {
4454 arg8 = wxString_in_helper(obj7);
4455 if (arg8 == NULL) SWIG_fail;
4456 temp8 = True;
4457 }
4458 }
4459 {
4460 PyThreadState* __tstate = wxPyBeginAllowThreads();
4461 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4462
4463 wxPyEndAllowThreads(__tstate);
4464 if (PyErr_Occurred()) SWIG_fail;
4465 }
4466 {
4467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4468 }
4469 {
4470 if (temp4)
4471 delete arg4;
4472 }
4473 {
4474 if (temp8)
4475 delete arg8;
4476 }
4477 return resultobj;
4478 fail:
4479 {
4480 if (temp4)
4481 delete arg4;
4482 }
4483 {
4484 if (temp8)
4485 delete arg8;
4486 }
4487 return NULL;
4488 }
4489
4490
4491 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4492 PyObject *obj;
4493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4494 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4495 Py_INCREF(obj);
4496 return Py_BuildValue((char *)"");
4497 }
4498 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj;
4500 wxBitmap *arg1 = 0 ;
4501 wxWindow *arg2 = (wxWindow *) 0 ;
4502 int arg3 ;
4503 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4504 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4505 wxSize const &arg5_defvalue = wxDefaultSize ;
4506 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4507 long arg6 = (long) wxNO_BORDER ;
4508 wxSplashScreenWindow *result;
4509 wxPoint temp4 ;
4510 wxSize temp5 ;
4511 PyObject * obj0 = 0 ;
4512 PyObject * obj1 = 0 ;
4513 PyObject * obj2 = 0 ;
4514 PyObject * obj3 = 0 ;
4515 PyObject * obj4 = 0 ;
4516 PyObject * obj5 = 0 ;
4517 char *kwnames[] = {
4518 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4519 };
4520
4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4523 SWIG_POINTER_EXCEPTION | 0)) == -1)
4524 SWIG_fail;
4525 if (arg1 == NULL) {
4526 PyErr_SetString(PyExc_TypeError,"null reference");
4527 SWIG_fail;
4528 }
4529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4531 arg3 = (int) SWIG_AsInt(obj2);
4532 if (PyErr_Occurred()) SWIG_fail;
4533 if (obj3) {
4534 {
4535 arg4 = &temp4;
4536 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4537 }
4538 }
4539 if (obj4) {
4540 {
4541 arg5 = &temp5;
4542 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4543 }
4544 }
4545 if (obj5) {
4546 arg6 = (long) SWIG_AsLong(obj5);
4547 if (PyErr_Occurred()) SWIG_fail;
4548 }
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4557 return resultobj;
4558 fail:
4559 return NULL;
4560 }
4561
4562
4563 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4564 PyObject *resultobj;
4565 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4566 wxBitmap *arg2 = 0 ;
4567 PyObject * obj0 = 0 ;
4568 PyObject * obj1 = 0 ;
4569 char *kwnames[] = {
4570 (char *) "self",(char *) "bitmap", NULL
4571 };
4572
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4577 SWIG_POINTER_EXCEPTION | 0)) == -1)
4578 SWIG_fail;
4579 if (arg2 == NULL) {
4580 PyErr_SetString(PyExc_TypeError,"null reference");
4581 SWIG_fail;
4582 }
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4586
4587 wxPyEndAllowThreads(__tstate);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 Py_INCREF(Py_None); resultobj = Py_None;
4591 return resultobj;
4592 fail:
4593 return NULL;
4594 }
4595
4596
4597 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4598 PyObject *resultobj;
4599 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4600 wxBitmap *result;
4601 PyObject * obj0 = 0 ;
4602 char *kwnames[] = {
4603 (char *) "self", NULL
4604 };
4605
4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4609 {
4610 PyThreadState* __tstate = wxPyBeginAllowThreads();
4611 {
4612 wxBitmap &_result_ref = (arg1)->GetBitmap();
4613 result = (wxBitmap *) &_result_ref;
4614 }
4615
4616 wxPyEndAllowThreads(__tstate);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 }
4619 {
4620 wxBitmap* resultptr = new wxBitmap(*result);
4621 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4622 }
4623 return resultobj;
4624 fail:
4625 return NULL;
4626 }
4627
4628
4629 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4630 PyObject *obj;
4631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4632 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4633 Py_INCREF(obj);
4634 return Py_BuildValue((char *)"");
4635 }
4636 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4637 PyObject *resultobj;
4638 wxBitmap *arg1 = 0 ;
4639 long arg2 ;
4640 int arg3 ;
4641 wxWindow *arg4 = (wxWindow *) 0 ;
4642 int arg5 ;
4643 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4644 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4645 wxSize const &arg7_defvalue = wxDefaultSize ;
4646 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4647 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4648 wxSplashScreen *result;
4649 wxPoint temp6 ;
4650 wxSize temp7 ;
4651 PyObject * obj0 = 0 ;
4652 PyObject * obj1 = 0 ;
4653 PyObject * obj2 = 0 ;
4654 PyObject * obj3 = 0 ;
4655 PyObject * obj4 = 0 ;
4656 PyObject * obj5 = 0 ;
4657 PyObject * obj6 = 0 ;
4658 PyObject * obj7 = 0 ;
4659 char *kwnames[] = {
4660 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4661 };
4662
4663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4665 SWIG_POINTER_EXCEPTION | 0)) == -1)
4666 SWIG_fail;
4667 if (arg1 == NULL) {
4668 PyErr_SetString(PyExc_TypeError,"null reference");
4669 SWIG_fail;
4670 }
4671 arg2 = (long) SWIG_AsLong(obj1);
4672 if (PyErr_Occurred()) SWIG_fail;
4673 arg3 = (int) SWIG_AsInt(obj2);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4677 arg5 = (int) SWIG_AsInt(obj4);
4678 if (PyErr_Occurred()) SWIG_fail;
4679 if (obj5) {
4680 {
4681 arg6 = &temp6;
4682 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4683 }
4684 }
4685 if (obj6) {
4686 {
4687 arg7 = &temp7;
4688 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4689 }
4690 }
4691 if (obj7) {
4692 arg8 = (long) SWIG_AsLong(obj7);
4693 if (PyErr_Occurred()) SWIG_fail;
4694 }
4695 {
4696 PyThreadState* __tstate = wxPyBeginAllowThreads();
4697 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4698
4699 wxPyEndAllowThreads(__tstate);
4700 if (PyErr_Occurred()) SWIG_fail;
4701 }
4702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4703 return resultobj;
4704 fail:
4705 return NULL;
4706 }
4707
4708
4709 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4710 PyObject *resultobj;
4711 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4712 long result;
4713 PyObject * obj0 = 0 ;
4714 char *kwnames[] = {
4715 (char *) "self", NULL
4716 };
4717
4718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4721 {
4722 PyThreadState* __tstate = wxPyBeginAllowThreads();
4723 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4724
4725 wxPyEndAllowThreads(__tstate);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 }
4728 resultobj = SWIG_FromLong((long)result);
4729 return resultobj;
4730 fail:
4731 return NULL;
4732 }
4733
4734
4735 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4736 PyObject *resultobj;
4737 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4738 wxSplashScreenWindow *result;
4739 PyObject * obj0 = 0 ;
4740 char *kwnames[] = {
4741 (char *) "self", NULL
4742 };
4743
4744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4747 {
4748 PyThreadState* __tstate = wxPyBeginAllowThreads();
4749 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4750
4751 wxPyEndAllowThreads(__tstate);
4752 if (PyErr_Occurred()) SWIG_fail;
4753 }
4754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4755 return resultobj;
4756 fail:
4757 return NULL;
4758 }
4759
4760
4761 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4762 PyObject *resultobj;
4763 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4764 int result;
4765 PyObject * obj0 = 0 ;
4766 char *kwnames[] = {
4767 (char *) "self", NULL
4768 };
4769
4770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4773 {
4774 PyThreadState* __tstate = wxPyBeginAllowThreads();
4775 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4776
4777 wxPyEndAllowThreads(__tstate);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 resultobj = SWIG_FromInt((int)result);
4781 return resultobj;
4782 fail:
4783 return NULL;
4784 }
4785
4786
4787 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4788 PyObject *obj;
4789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4790 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4791 Py_INCREF(obj);
4792 return Py_BuildValue((char *)"");
4793 }
4794 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4795 PyObject *resultobj;
4796 wxWindow *arg1 = (wxWindow *) 0 ;
4797 int arg2 = (int) -1 ;
4798 long arg3 = (long) wxST_SIZEGRIP ;
4799 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4800 wxString *arg4 = (wxString *) &arg4_defvalue ;
4801 wxStatusBar *result;
4802 bool temp4 = False ;
4803 PyObject * obj0 = 0 ;
4804 PyObject * obj1 = 0 ;
4805 PyObject * obj2 = 0 ;
4806 PyObject * obj3 = 0 ;
4807 char *kwnames[] = {
4808 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4809 };
4810
4811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4814 if (obj1) {
4815 arg2 = (int) SWIG_AsInt(obj1);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 if (obj2) {
4819 arg3 = (long) SWIG_AsLong(obj2);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 if (obj3) {
4823 {
4824 arg4 = wxString_in_helper(obj3);
4825 if (arg4 == NULL) SWIG_fail;
4826 temp4 = True;
4827 }
4828 }
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4832
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
4836 {
4837 resultobj = wxPyMake_wxObject(result);
4838 }
4839 {
4840 if (temp4)
4841 delete arg4;
4842 }
4843 return resultobj;
4844 fail:
4845 {
4846 if (temp4)
4847 delete arg4;
4848 }
4849 return NULL;
4850 }
4851
4852
4853 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxStatusBar *result;
4856 char *kwnames[] = {
4857 NULL
4858 };
4859
4860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4861 {
4862 PyThreadState* __tstate = wxPyBeginAllowThreads();
4863 result = (wxStatusBar *)new wxStatusBar();
4864
4865 wxPyEndAllowThreads(__tstate);
4866 if (PyErr_Occurred()) SWIG_fail;
4867 }
4868 {
4869 resultobj = wxPyMake_wxObject(result);
4870 }
4871 return resultobj;
4872 fail:
4873 return NULL;
4874 }
4875
4876
4877 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4878 PyObject *resultobj;
4879 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4880 wxWindow *arg2 = (wxWindow *) 0 ;
4881 int arg3 ;
4882 long arg4 = (long) wxST_SIZEGRIP ;
4883 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4884 wxString *arg5 = (wxString *) &arg5_defvalue ;
4885 bool result;
4886 bool temp5 = False ;
4887 PyObject * obj0 = 0 ;
4888 PyObject * obj1 = 0 ;
4889 PyObject * obj2 = 0 ;
4890 PyObject * obj3 = 0 ;
4891 PyObject * obj4 = 0 ;
4892 char *kwnames[] = {
4893 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4894 };
4895
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4899 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4901 arg3 = (int) SWIG_AsInt(obj2);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 if (obj3) {
4904 arg4 = (long) SWIG_AsLong(obj3);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 if (obj4) {
4908 {
4909 arg5 = wxString_in_helper(obj4);
4910 if (arg5 == NULL) SWIG_fail;
4911 temp5 = True;
4912 }
4913 }
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4917
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 {
4922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4923 }
4924 {
4925 if (temp5)
4926 delete arg5;
4927 }
4928 return resultobj;
4929 fail:
4930 {
4931 if (temp5)
4932 delete arg5;
4933 }
4934 return NULL;
4935 }
4936
4937
4938 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4939 PyObject *resultobj;
4940 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4941 int arg2 = (int) 1 ;
4942 PyObject * obj0 = 0 ;
4943 PyObject * obj1 = 0 ;
4944 char *kwnames[] = {
4945 (char *) "self",(char *) "number", NULL
4946 };
4947
4948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4951 if (obj1) {
4952 arg2 = (int) SWIG_AsInt(obj1);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 {
4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
4957 (arg1)->SetFieldsCount(arg2);
4958
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 Py_INCREF(Py_None); resultobj = Py_None;
4963 return resultobj;
4964 fail:
4965 return NULL;
4966 }
4967
4968
4969 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4970 PyObject *resultobj;
4971 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4972 int result;
4973 PyObject * obj0 = 0 ;
4974 char *kwnames[] = {
4975 (char *) "self", NULL
4976 };
4977
4978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4981 {
4982 PyThreadState* __tstate = wxPyBeginAllowThreads();
4983 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4984
4985 wxPyEndAllowThreads(__tstate);
4986 if (PyErr_Occurred()) SWIG_fail;
4987 }
4988 resultobj = SWIG_FromInt((int)result);
4989 return resultobj;
4990 fail:
4991 return NULL;
4992 }
4993
4994
4995 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4996 PyObject *resultobj;
4997 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4998 wxString *arg2 = 0 ;
4999 int arg3 = (int) 0 ;
5000 bool temp2 = False ;
5001 PyObject * obj0 = 0 ;
5002 PyObject * obj1 = 0 ;
5003 PyObject * obj2 = 0 ;
5004 char *kwnames[] = {
5005 (char *) "self",(char *) "text",(char *) "number", NULL
5006 };
5007
5008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5011 {
5012 arg2 = wxString_in_helper(obj1);
5013 if (arg2 == NULL) SWIG_fail;
5014 temp2 = True;
5015 }
5016 if (obj2) {
5017 arg3 = (int) SWIG_AsInt(obj2);
5018 if (PyErr_Occurred()) SWIG_fail;
5019 }
5020 {
5021 PyThreadState* __tstate = wxPyBeginAllowThreads();
5022 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5023
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) SWIG_fail;
5026 }
5027 Py_INCREF(Py_None); resultobj = Py_None;
5028 {
5029 if (temp2)
5030 delete arg2;
5031 }
5032 return resultobj;
5033 fail:
5034 {
5035 if (temp2)
5036 delete arg2;
5037 }
5038 return NULL;
5039 }
5040
5041
5042 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5043 PyObject *resultobj;
5044 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5045 int arg2 = (int) 0 ;
5046 wxString result;
5047 PyObject * obj0 = 0 ;
5048 PyObject * obj1 = 0 ;
5049 char *kwnames[] = {
5050 (char *) "self",(char *) "number", NULL
5051 };
5052
5053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5056 if (obj1) {
5057 arg2 = (int) SWIG_AsInt(obj1);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 {
5061 PyThreadState* __tstate = wxPyBeginAllowThreads();
5062 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5063
5064 wxPyEndAllowThreads(__tstate);
5065 if (PyErr_Occurred()) SWIG_fail;
5066 }
5067 {
5068 #if wxUSE_UNICODE
5069 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5070 #else
5071 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5072 #endif
5073 }
5074 return resultobj;
5075 fail:
5076 return NULL;
5077 }
5078
5079
5080 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj;
5082 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5083 wxString *arg2 = 0 ;
5084 int arg3 = (int) 0 ;
5085 bool temp2 = False ;
5086 PyObject * obj0 = 0 ;
5087 PyObject * obj1 = 0 ;
5088 PyObject * obj2 = 0 ;
5089 char *kwnames[] = {
5090 (char *) "self",(char *) "text",(char *) "number", NULL
5091 };
5092
5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5096 {
5097 arg2 = wxString_in_helper(obj1);
5098 if (arg2 == NULL) SWIG_fail;
5099 temp2 = True;
5100 }
5101 if (obj2) {
5102 arg3 = (int) SWIG_AsInt(obj2);
5103 if (PyErr_Occurred()) SWIG_fail;
5104 }
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 Py_INCREF(Py_None); resultobj = Py_None;
5113 {
5114 if (temp2)
5115 delete arg2;
5116 }
5117 return resultobj;
5118 fail:
5119 {
5120 if (temp2)
5121 delete arg2;
5122 }
5123 return NULL;
5124 }
5125
5126
5127 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5128 PyObject *resultobj;
5129 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5130 int arg2 = (int) 0 ;
5131 PyObject * obj0 = 0 ;
5132 PyObject * obj1 = 0 ;
5133 char *kwnames[] = {
5134 (char *) "self",(char *) "number", NULL
5135 };
5136
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5140 if (obj1) {
5141 arg2 = (int) SWIG_AsInt(obj1);
5142 if (PyErr_Occurred()) SWIG_fail;
5143 }
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 (arg1)->PopStatusText(arg2);
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
5151 Py_INCREF(Py_None); resultobj = Py_None;
5152 return resultobj;
5153 fail:
5154 return NULL;
5155 }
5156
5157
5158 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5159 PyObject *resultobj;
5160 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5161 int arg2 ;
5162 int *arg3 = (int *) 0 ;
5163 PyObject * obj0 = 0 ;
5164 PyObject * obj1 = 0 ;
5165 char *kwnames[] = {
5166 (char *) "self",(char *) "widths", NULL
5167 };
5168
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5172 {
5173 arg2 = PyList_Size(obj1);
5174 arg3 = int_LIST_helper(obj1);
5175 if (arg3 == NULL) SWIG_fail;
5176 }
5177 {
5178 PyThreadState* __tstate = wxPyBeginAllowThreads();
5179 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5180
5181 wxPyEndAllowThreads(__tstate);
5182 if (PyErr_Occurred()) SWIG_fail;
5183 }
5184 Py_INCREF(Py_None); resultobj = Py_None;
5185 {
5186 if (arg3) delete [] arg3;
5187 }
5188 return resultobj;
5189 fail:
5190 {
5191 if (arg3) delete [] arg3;
5192 }
5193 return NULL;
5194 }
5195
5196
5197 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5198 PyObject *resultobj;
5199 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5200 int arg2 ;
5201 wxRect result;
5202 PyObject * obj0 = 0 ;
5203 PyObject * obj1 = 0 ;
5204 char *kwnames[] = {
5205 (char *) "self",(char *) "i", NULL
5206 };
5207
5208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5211 arg2 = (int) SWIG_AsInt(obj1);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 result = wxStatusBar_GetFieldRect(arg1,arg2);
5216
5217 wxPyEndAllowThreads(__tstate);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 {
5221 wxRect * resultptr;
5222 resultptr = new wxRect((wxRect &) result);
5223 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5224 }
5225 return resultobj;
5226 fail:
5227 return NULL;
5228 }
5229
5230
5231 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5232 PyObject *resultobj;
5233 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5234 int arg2 ;
5235 PyObject * obj0 = 0 ;
5236 PyObject * obj1 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self",(char *) "height", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5244 arg2 = (int) SWIG_AsInt(obj1);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 (arg1)->SetMinHeight(arg2);
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 Py_INCREF(Py_None); resultobj = Py_None;
5254 return resultobj;
5255 fail:
5256 return NULL;
5257 }
5258
5259
5260 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5261 PyObject *resultobj;
5262 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5263 int result;
5264 PyObject * obj0 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5272 {
5273 PyThreadState* __tstate = wxPyBeginAllowThreads();
5274 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5275
5276 wxPyEndAllowThreads(__tstate);
5277 if (PyErr_Occurred()) SWIG_fail;
5278 }
5279 resultobj = SWIG_FromInt((int)result);
5280 return resultobj;
5281 fail:
5282 return NULL;
5283 }
5284
5285
5286 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5287 PyObject *resultobj;
5288 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5289 int result;
5290 PyObject * obj0 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "self", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5301
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
5305 resultobj = SWIG_FromInt((int)result);
5306 return resultobj;
5307 fail:
5308 return NULL;
5309 }
5310
5311
5312 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5313 PyObject *obj;
5314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5315 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5316 Py_INCREF(obj);
5317 return Py_BuildValue((char *)"");
5318 }
5319 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5320 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5321 return 1;
5322 }
5323
5324
5325 static PyObject *_wrap_SplitterNameStr_get() {
5326 PyObject *pyobj;
5327
5328 {
5329 #if wxUSE_UNICODE
5330 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5331 #else
5332 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5333 #endif
5334 }
5335 return pyobj;
5336 }
5337
5338
5339 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5340 PyObject *resultobj;
5341 wxWindow *arg1 = (wxWindow *) 0 ;
5342 int arg2 ;
5343 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5344 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5345 wxSize const &arg4_defvalue = wxDefaultSize ;
5346 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5347 long arg5 = (long) wxSP_3D ;
5348 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5349 wxString *arg6 = (wxString *) &arg6_defvalue ;
5350 wxSplitterWindow *result;
5351 wxPoint temp3 ;
5352 wxSize temp4 ;
5353 bool temp6 = False ;
5354 PyObject * obj0 = 0 ;
5355 PyObject * obj1 = 0 ;
5356 PyObject * obj2 = 0 ;
5357 PyObject * obj3 = 0 ;
5358 PyObject * obj4 = 0 ;
5359 PyObject * obj5 = 0 ;
5360 char *kwnames[] = {
5361 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5362 };
5363
5364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5367 arg2 = (int) SWIG_AsInt(obj1);
5368 if (PyErr_Occurred()) SWIG_fail;
5369 if (obj2) {
5370 {
5371 arg3 = &temp3;
5372 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5373 }
5374 }
5375 if (obj3) {
5376 {
5377 arg4 = &temp4;
5378 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5379 }
5380 }
5381 if (obj4) {
5382 arg5 = (long) SWIG_AsLong(obj4);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 }
5385 if (obj5) {
5386 {
5387 arg6 = wxString_in_helper(obj5);
5388 if (arg6 == NULL) SWIG_fail;
5389 temp6 = True;
5390 }
5391 }
5392 {
5393 PyThreadState* __tstate = wxPyBeginAllowThreads();
5394 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5395
5396 wxPyEndAllowThreads(__tstate);
5397 if (PyErr_Occurred()) SWIG_fail;
5398 }
5399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5400 {
5401 if (temp6)
5402 delete arg6;
5403 }
5404 return resultobj;
5405 fail:
5406 {
5407 if (temp6)
5408 delete arg6;
5409 }
5410 return NULL;
5411 }
5412
5413
5414 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5415 PyObject *resultobj;
5416 wxSplitterWindow *result;
5417 char *kwnames[] = {
5418 NULL
5419 };
5420
5421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5422 {
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 result = (wxSplitterWindow *)new wxSplitterWindow();
5425
5426 wxPyEndAllowThreads(__tstate);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5430 return resultobj;
5431 fail:
5432 return NULL;
5433 }
5434
5435
5436 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5437 PyObject *resultobj;
5438 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5439 wxWindow *arg2 = (wxWindow *) 0 ;
5440 int arg3 ;
5441 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5442 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5443 wxSize const &arg5_defvalue = wxDefaultSize ;
5444 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5445 long arg6 = (long) wxSP_3D ;
5446 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5447 wxString *arg7 = (wxString *) &arg7_defvalue ;
5448 bool result;
5449 wxPoint temp4 ;
5450 wxSize temp5 ;
5451 bool temp7 = False ;
5452 PyObject * obj0 = 0 ;
5453 PyObject * obj1 = 0 ;
5454 PyObject * obj2 = 0 ;
5455 PyObject * obj3 = 0 ;
5456 PyObject * obj4 = 0 ;
5457 PyObject * obj5 = 0 ;
5458 PyObject * obj6 = 0 ;
5459 char *kwnames[] = {
5460 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5461 };
5462
5463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5468 arg3 = (int) SWIG_AsInt(obj2);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 if (obj3) {
5471 {
5472 arg4 = &temp4;
5473 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5474 }
5475 }
5476 if (obj4) {
5477 {
5478 arg5 = &temp5;
5479 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5480 }
5481 }
5482 if (obj5) {
5483 arg6 = (long) SWIG_AsLong(obj5);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 if (obj6) {
5487 {
5488 arg7 = wxString_in_helper(obj6);
5489 if (arg7 == NULL) SWIG_fail;
5490 temp7 = True;
5491 }
5492 }
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 {
5501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5502 }
5503 {
5504 if (temp7)
5505 delete arg7;
5506 }
5507 return resultobj;
5508 fail:
5509 {
5510 if (temp7)
5511 delete arg7;
5512 }
5513 return NULL;
5514 }
5515
5516
5517 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5518 PyObject *resultobj;
5519 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5520 wxWindow *result;
5521 PyObject * obj0 = 0 ;
5522 char *kwnames[] = {
5523 (char *) "self", NULL
5524 };
5525
5526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
5536 {
5537 resultobj = wxPyMake_wxObject(result);
5538 }
5539 return resultobj;
5540 fail:
5541 return NULL;
5542 }
5543
5544
5545 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5546 PyObject *resultobj;
5547 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5548 wxWindow *result;
5549 PyObject * obj0 = 0 ;
5550 char *kwnames[] = {
5551 (char *) "self", NULL
5552 };
5553
5554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5560
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 {
5565 resultobj = wxPyMake_wxObject(result);
5566 }
5567 return resultobj;
5568 fail:
5569 return NULL;
5570 }
5571
5572
5573 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5574 PyObject *resultobj;
5575 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5576 int arg2 ;
5577 PyObject * obj0 = 0 ;
5578 PyObject * obj1 = 0 ;
5579 char *kwnames[] = {
5580 (char *) "self",(char *) "mode", NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5586 arg2 = (int) SWIG_AsInt(obj1);
5587 if (PyErr_Occurred()) SWIG_fail;
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 (arg1)->SetSplitMode(arg2);
5591
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
5595 Py_INCREF(Py_None); resultobj = Py_None;
5596 return resultobj;
5597 fail:
5598 return NULL;
5599 }
5600
5601
5602 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj;
5604 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5605 int result;
5606 PyObject * obj0 = 0 ;
5607 char *kwnames[] = {
5608 (char *) "self", NULL
5609 };
5610
5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5617
5618 wxPyEndAllowThreads(__tstate);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 resultobj = SWIG_FromInt((int)result);
5622 return resultobj;
5623 fail:
5624 return NULL;
5625 }
5626
5627
5628 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5629 PyObject *resultobj;
5630 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5631 wxWindow *arg2 = (wxWindow *) 0 ;
5632 PyObject * obj0 = 0 ;
5633 PyObject * obj1 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self",(char *) "window", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5643 {
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 (arg1)->Initialize(arg2);
5646
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 Py_INCREF(Py_None); resultobj = Py_None;
5651 return resultobj;
5652 fail:
5653 return NULL;
5654 }
5655
5656
5657 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5658 PyObject *resultobj;
5659 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5660 wxWindow *arg2 = (wxWindow *) 0 ;
5661 wxWindow *arg3 = (wxWindow *) 0 ;
5662 int arg4 = (int) 0 ;
5663 bool result;
5664 PyObject * obj0 = 0 ;
5665 PyObject * obj1 = 0 ;
5666 PyObject * obj2 = 0 ;
5667 PyObject * obj3 = 0 ;
5668 char *kwnames[] = {
5669 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5677 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5679 if (obj3) {
5680 arg4 = (int) SWIG_AsInt(obj3);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 }
5683 {
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) SWIG_fail;
5689 }
5690 {
5691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5692 }
5693 return resultobj;
5694 fail:
5695 return NULL;
5696 }
5697
5698
5699 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5700 PyObject *resultobj;
5701 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5702 wxWindow *arg2 = (wxWindow *) 0 ;
5703 wxWindow *arg3 = (wxWindow *) 0 ;
5704 int arg4 = (int) 0 ;
5705 bool result;
5706 PyObject * obj0 = 0 ;
5707 PyObject * obj1 = 0 ;
5708 PyObject * obj2 = 0 ;
5709 PyObject * obj3 = 0 ;
5710 char *kwnames[] = {
5711 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5712 };
5713
5714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5719 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5721 if (obj3) {
5722 arg4 = (int) SWIG_AsInt(obj3);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 }
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
5727 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5728
5729 wxPyEndAllowThreads(__tstate);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 }
5732 {
5733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5734 }
5735 return resultobj;
5736 fail:
5737 return NULL;
5738 }
5739
5740
5741 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5742 PyObject *resultobj;
5743 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5744 wxWindow *arg2 = (wxWindow *) NULL ;
5745 bool result;
5746 PyObject * obj0 = 0 ;
5747 PyObject * obj1 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self",(char *) "toRemove", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5755 if (obj1) {
5756 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5758 }
5759 {
5760 PyThreadState* __tstate = wxPyBeginAllowThreads();
5761 result = (bool)(arg1)->Unsplit(arg2);
5762
5763 wxPyEndAllowThreads(__tstate);
5764 if (PyErr_Occurred()) SWIG_fail;
5765 }
5766 {
5767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5768 }
5769 return resultobj;
5770 fail:
5771 return NULL;
5772 }
5773
5774
5775 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject *resultobj;
5777 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5778 wxWindow *arg2 = (wxWindow *) 0 ;
5779 wxWindow *arg3 = (wxWindow *) 0 ;
5780 bool result;
5781 PyObject * obj0 = 0 ;
5782 PyObject * obj1 = 0 ;
5783 PyObject * obj2 = 0 ;
5784 char *kwnames[] = {
5785 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5786 };
5787
5788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5793 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
5802 {
5803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5804 }
5805 return resultobj;
5806 fail:
5807 return NULL;
5808 }
5809
5810
5811 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5812 PyObject *resultobj;
5813 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5814 PyObject * obj0 = 0 ;
5815 char *kwnames[] = {
5816 (char *) "self", NULL
5817 };
5818
5819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 (arg1)->UpdateSize();
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 Py_INCREF(Py_None); resultobj = Py_None;
5830 return resultobj;
5831 fail:
5832 return NULL;
5833 }
5834
5835
5836 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5837 PyObject *resultobj;
5838 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5839 bool result;
5840 PyObject * obj0 = 0 ;
5841 char *kwnames[] = {
5842 (char *) "self", NULL
5843 };
5844
5845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5848 {
5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
5850 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5851
5852 wxPyEndAllowThreads(__tstate);
5853 if (PyErr_Occurred()) SWIG_fail;
5854 }
5855 {
5856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5857 }
5858 return resultobj;
5859 fail:
5860 return NULL;
5861 }
5862
5863
5864 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5865 PyObject *resultobj;
5866 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5867 int arg2 ;
5868 PyObject * obj0 = 0 ;
5869 PyObject * obj1 = 0 ;
5870 char *kwnames[] = {
5871 (char *) "self",(char *) "width", NULL
5872 };
5873
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5877 arg2 = (int) SWIG_AsInt(obj1);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->SetSashSize(arg2);
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
5886 Py_INCREF(Py_None); resultobj = Py_None;
5887 return resultobj;
5888 fail:
5889 return NULL;
5890 }
5891
5892
5893 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5894 PyObject *resultobj;
5895 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5896 int arg2 ;
5897 PyObject * obj0 = 0 ;
5898 PyObject * obj1 = 0 ;
5899 char *kwnames[] = {
5900 (char *) "self",(char *) "width", NULL
5901 };
5902
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5906 arg2 = (int) SWIG_AsInt(obj1);
5907 if (PyErr_Occurred()) SWIG_fail;
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 (arg1)->SetBorderSize(arg2);
5911
5912 wxPyEndAllowThreads(__tstate);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 }
5915 Py_INCREF(Py_None); resultobj = Py_None;
5916 return resultobj;
5917 fail:
5918 return NULL;
5919 }
5920
5921
5922 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj;
5924 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5925 int result;
5926 PyObject * obj0 = 0 ;
5927 char *kwnames[] = {
5928 (char *) "self", NULL
5929 };
5930
5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5934 {
5935 PyThreadState* __tstate = wxPyBeginAllowThreads();
5936 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5937
5938 wxPyEndAllowThreads(__tstate);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 }
5941 resultobj = SWIG_FromInt((int)result);
5942 return resultobj;
5943 fail:
5944 return NULL;
5945 }
5946
5947
5948 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5949 PyObject *resultobj;
5950 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5951 int result;
5952 PyObject * obj0 = 0 ;
5953 char *kwnames[] = {
5954 (char *) "self", NULL
5955 };
5956
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5960 {
5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
5962 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5963
5964 wxPyEndAllowThreads(__tstate);
5965 if (PyErr_Occurred()) SWIG_fail;
5966 }
5967 resultobj = SWIG_FromInt((int)result);
5968 return resultobj;
5969 fail:
5970 return NULL;
5971 }
5972
5973
5974 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5975 PyObject *resultobj;
5976 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5977 int arg2 ;
5978 bool arg3 = (bool) True ;
5979 PyObject * obj0 = 0 ;
5980 PyObject * obj1 = 0 ;
5981 PyObject * obj2 = 0 ;
5982 char *kwnames[] = {
5983 (char *) "self",(char *) "position",(char *) "redraw", NULL
5984 };
5985
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
5987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5989 arg2 = (int) SWIG_AsInt(obj1);
5990 if (PyErr_Occurred()) SWIG_fail;
5991 if (obj2) {
5992 arg3 = (bool) SWIG_AsBool(obj2);
5993 if (PyErr_Occurred()) SWIG_fail;
5994 }
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 (arg1)->SetSashPosition(arg2,arg3);
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 Py_INCREF(Py_None); resultobj = Py_None;
6003 return resultobj;
6004 fail:
6005 return NULL;
6006 }
6007
6008
6009 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj;
6011 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6012 int result;
6013 PyObject * obj0 = 0 ;
6014 char *kwnames[] = {
6015 (char *) "self", NULL
6016 };
6017
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 resultobj = SWIG_FromInt((int)result);
6029 return resultobj;
6030 fail:
6031 return NULL;
6032 }
6033
6034
6035 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject *resultobj;
6037 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6038 int arg2 ;
6039 PyObject * obj0 = 0 ;
6040 PyObject * obj1 = 0 ;
6041 char *kwnames[] = {
6042 (char *) "self",(char *) "min", NULL
6043 };
6044
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6048 arg2 = (int) SWIG_AsInt(obj1);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 {
6051 PyThreadState* __tstate = wxPyBeginAllowThreads();
6052 (arg1)->SetMinimumPaneSize(arg2);
6053
6054 wxPyEndAllowThreads(__tstate);
6055 if (PyErr_Occurred()) SWIG_fail;
6056 }
6057 Py_INCREF(Py_None); resultobj = Py_None;
6058 return resultobj;
6059 fail:
6060 return NULL;
6061 }
6062
6063
6064 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6065 PyObject *resultobj;
6066 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6067 int result;
6068 PyObject * obj0 = 0 ;
6069 char *kwnames[] = {
6070 (char *) "self", NULL
6071 };
6072
6073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 resultobj = SWIG_FromInt((int)result);
6084 return resultobj;
6085 fail:
6086 return NULL;
6087 }
6088
6089
6090 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6091 PyObject *resultobj;
6092 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6093 int arg2 ;
6094 int arg3 ;
6095 int arg4 = (int) 5 ;
6096 bool result;
6097 PyObject * obj0 = 0 ;
6098 PyObject * obj1 = 0 ;
6099 PyObject * obj2 = 0 ;
6100 PyObject * obj3 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6108 arg2 = (int) SWIG_AsInt(obj1);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 arg3 = (int) SWIG_AsInt(obj2);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 if (obj3) {
6113 arg4 = (int) SWIG_AsInt(obj3);
6114 if (PyErr_Occurred()) SWIG_fail;
6115 }
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6119
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 {
6124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6125 }
6126 return resultobj;
6127 fail:
6128 return NULL;
6129 }
6130
6131
6132 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj;
6134 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6135 PyObject * obj0 = 0 ;
6136 char *kwnames[] = {
6137 (char *) "self", NULL
6138 };
6139
6140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 (arg1)->SizeWindows();
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 Py_INCREF(Py_None); resultobj = Py_None;
6151 return resultobj;
6152 fail:
6153 return NULL;
6154 }
6155
6156
6157 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj;
6159 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6160 bool arg2 ;
6161 PyObject * obj0 = 0 ;
6162 PyObject * obj1 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self",(char *) "needUpdating", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6170 arg2 = (bool) SWIG_AsBool(obj1);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->SetNeedUpdating(arg2);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 Py_INCREF(Py_None); resultobj = Py_None;
6180 return resultobj;
6181 fail:
6182 return NULL;
6183 }
6184
6185
6186 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj;
6188 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6189 bool result;
6190 PyObject * obj0 = 0 ;
6191 char *kwnames[] = {
6192 (char *) "self", NULL
6193 };
6194
6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6198 {
6199 PyThreadState* __tstate = wxPyBeginAllowThreads();
6200 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6201
6202 wxPyEndAllowThreads(__tstate);
6203 if (PyErr_Occurred()) SWIG_fail;
6204 }
6205 {
6206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6207 }
6208 return resultobj;
6209 fail:
6210 return NULL;
6211 }
6212
6213
6214 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6215 PyObject *obj;
6216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6217 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6218 Py_INCREF(obj);
6219 return Py_BuildValue((char *)"");
6220 }
6221 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6222 PyObject *resultobj;
6223 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6224 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6225 wxSplitterEvent *result;
6226 PyObject * obj0 = 0 ;
6227 PyObject * obj1 = 0 ;
6228 char *kwnames[] = {
6229 (char *) "type",(char *) "splitter", NULL
6230 };
6231
6232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6233 if (obj0) {
6234 arg1 = (wxEventType) SWIG_AsInt(obj0);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 if (obj1) {
6238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6240 }
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6258 int arg2 ;
6259 PyObject * obj0 = 0 ;
6260 PyObject * obj1 = 0 ;
6261 char *kwnames[] = {
6262 (char *) "self",(char *) "pos", NULL
6263 };
6264
6265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6268 arg2 = (int) SWIG_AsInt(obj1);
6269 if (PyErr_Occurred()) SWIG_fail;
6270 {
6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
6272 (arg1)->SetSashPosition(arg2);
6273
6274 wxPyEndAllowThreads(__tstate);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 }
6277 Py_INCREF(Py_None); resultobj = Py_None;
6278 return resultobj;
6279 fail:
6280 return NULL;
6281 }
6282
6283
6284 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6285 PyObject *resultobj;
6286 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6287 int result;
6288 PyObject * obj0 = 0 ;
6289 char *kwnames[] = {
6290 (char *) "self", NULL
6291 };
6292
6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6296 {
6297 PyThreadState* __tstate = wxPyBeginAllowThreads();
6298 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6299
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 resultobj = SWIG_FromInt((int)result);
6304 return resultobj;
6305 fail:
6306 return NULL;
6307 }
6308
6309
6310 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6311 PyObject *resultobj;
6312 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6313 wxWindow *result;
6314 PyObject * obj0 = 0 ;
6315 char *kwnames[] = {
6316 (char *) "self", NULL
6317 };
6318
6319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6322 {
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6324 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6325
6326 wxPyEndAllowThreads(__tstate);
6327 if (PyErr_Occurred()) SWIG_fail;
6328 }
6329 {
6330 resultobj = wxPyMake_wxObject(result);
6331 }
6332 return resultobj;
6333 fail:
6334 return NULL;
6335 }
6336
6337
6338 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6339 PyObject *resultobj;
6340 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6341 int result;
6342 PyObject * obj0 = 0 ;
6343 char *kwnames[] = {
6344 (char *) "self", NULL
6345 };
6346
6347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6350 {
6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6352 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6353
6354 wxPyEndAllowThreads(__tstate);
6355 if (PyErr_Occurred()) SWIG_fail;
6356 }
6357 resultobj = SWIG_FromInt((int)result);
6358 return resultobj;
6359 fail:
6360 return NULL;
6361 }
6362
6363
6364 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6365 PyObject *resultobj;
6366 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6367 int result;
6368 PyObject * obj0 = 0 ;
6369 char *kwnames[] = {
6370 (char *) "self", NULL
6371 };
6372
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6376 {
6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
6378 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6379
6380 wxPyEndAllowThreads(__tstate);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
6383 resultobj = SWIG_FromInt((int)result);
6384 return resultobj;
6385 fail:
6386 return NULL;
6387 }
6388
6389
6390 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6391 PyObject *obj;
6392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6393 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6394 Py_INCREF(obj);
6395 return Py_BuildValue((char *)"");
6396 }
6397 static int _wrap_SashNameStr_set(PyObject *_val) {
6398 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6399 return 1;
6400 }
6401
6402
6403 static PyObject *_wrap_SashNameStr_get() {
6404 PyObject *pyobj;
6405
6406 {
6407 #if wxUSE_UNICODE
6408 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6409 #else
6410 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6411 #endif
6412 }
6413 return pyobj;
6414 }
6415
6416
6417 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6418 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6419 return 1;
6420 }
6421
6422
6423 static PyObject *_wrap_SashLayoutNameStr_get() {
6424 PyObject *pyobj;
6425
6426 {
6427 #if wxUSE_UNICODE
6428 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6429 #else
6430 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6431 #endif
6432 }
6433 return pyobj;
6434 }
6435
6436
6437 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxWindow *arg1 = (wxWindow *) 0 ;
6440 int arg2 ;
6441 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6442 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6443 wxSize const &arg4_defvalue = wxDefaultSize ;
6444 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6445 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6446 wxString const &arg6_defvalue = wxPySashNameStr ;
6447 wxString *arg6 = (wxString *) &arg6_defvalue ;
6448 wxSashWindow *result;
6449 wxPoint temp3 ;
6450 wxSize temp4 ;
6451 bool temp6 = False ;
6452 PyObject * obj0 = 0 ;
6453 PyObject * obj1 = 0 ;
6454 PyObject * obj2 = 0 ;
6455 PyObject * obj3 = 0 ;
6456 PyObject * obj4 = 0 ;
6457 PyObject * obj5 = 0 ;
6458 char *kwnames[] = {
6459 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6460 };
6461
6462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6465 arg2 = (int) SWIG_AsInt(obj1);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 if (obj2) {
6468 {
6469 arg3 = &temp3;
6470 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6471 }
6472 }
6473 if (obj3) {
6474 {
6475 arg4 = &temp4;
6476 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6477 }
6478 }
6479 if (obj4) {
6480 arg5 = (long) SWIG_AsLong(obj4);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 if (obj5) {
6484 {
6485 arg6 = wxString_in_helper(obj5);
6486 if (arg6 == NULL) SWIG_fail;
6487 temp6 = True;
6488 }
6489 }
6490 {
6491 PyThreadState* __tstate = wxPyBeginAllowThreads();
6492 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6493
6494 wxPyEndAllowThreads(__tstate);
6495 if (PyErr_Occurred()) SWIG_fail;
6496 }
6497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6498 {
6499 if (temp6)
6500 delete arg6;
6501 }
6502 return resultobj;
6503 fail:
6504 {
6505 if (temp6)
6506 delete arg6;
6507 }
6508 return NULL;
6509 }
6510
6511
6512 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6513 PyObject *resultobj;
6514 wxSashWindow *result;
6515 char *kwnames[] = {
6516 NULL
6517 };
6518
6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6520 {
6521 PyThreadState* __tstate = wxPyBeginAllowThreads();
6522 result = (wxSashWindow *)new wxSashWindow();
6523
6524 wxPyEndAllowThreads(__tstate);
6525 if (PyErr_Occurred()) SWIG_fail;
6526 }
6527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6528 return resultobj;
6529 fail:
6530 return NULL;
6531 }
6532
6533
6534 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6535 PyObject *resultobj;
6536 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6537 wxWindow *arg2 = (wxWindow *) 0 ;
6538 int arg3 ;
6539 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6540 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6541 wxSize const &arg5_defvalue = wxDefaultSize ;
6542 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6543 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6544 wxString const &arg7_defvalue = wxPySashNameStr ;
6545 wxString *arg7 = (wxString *) &arg7_defvalue ;
6546 bool result;
6547 wxPoint temp4 ;
6548 wxSize temp5 ;
6549 bool temp7 = False ;
6550 PyObject * obj0 = 0 ;
6551 PyObject * obj1 = 0 ;
6552 PyObject * obj2 = 0 ;
6553 PyObject * obj3 = 0 ;
6554 PyObject * obj4 = 0 ;
6555 PyObject * obj5 = 0 ;
6556 PyObject * obj6 = 0 ;
6557 char *kwnames[] = {
6558 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6559 };
6560
6561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6566 arg3 = (int) SWIG_AsInt(obj2);
6567 if (PyErr_Occurred()) SWIG_fail;
6568 if (obj3) {
6569 {
6570 arg4 = &temp4;
6571 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6572 }
6573 }
6574 if (obj4) {
6575 {
6576 arg5 = &temp5;
6577 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6578 }
6579 }
6580 if (obj5) {
6581 arg6 = (long) SWIG_AsLong(obj5);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 if (obj6) {
6585 {
6586 arg7 = wxString_in_helper(obj6);
6587 if (arg7 == NULL) SWIG_fail;
6588 temp7 = True;
6589 }
6590 }
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6594
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 {
6599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6600 }
6601 {
6602 if (temp7)
6603 delete arg7;
6604 }
6605 return resultobj;
6606 fail:
6607 {
6608 if (temp7)
6609 delete arg7;
6610 }
6611 return NULL;
6612 }
6613
6614
6615 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6616 PyObject *resultobj;
6617 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6618 int arg2 ;
6619 bool arg3 ;
6620 PyObject * obj0 = 0 ;
6621 PyObject * obj1 = 0 ;
6622 PyObject * obj2 = 0 ;
6623 char *kwnames[] = {
6624 (char *) "self",(char *) "edge",(char *) "sash", NULL
6625 };
6626
6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6630 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 arg3 = (bool) SWIG_AsBool(obj2);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 {
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6637
6638 wxPyEndAllowThreads(__tstate);
6639 if (PyErr_Occurred()) SWIG_fail;
6640 }
6641 Py_INCREF(Py_None); resultobj = Py_None;
6642 return resultobj;
6643 fail:
6644 return NULL;
6645 }
6646
6647
6648 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6649 PyObject *resultobj;
6650 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6651 int arg2 ;
6652 bool result;
6653 PyObject * obj0 = 0 ;
6654 PyObject * obj1 = 0 ;
6655 char *kwnames[] = {
6656 (char *) "self",(char *) "edge", NULL
6657 };
6658
6659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6662 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6667
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 {
6672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6673 }
6674 return resultobj;
6675 fail:
6676 return NULL;
6677 }
6678
6679
6680 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj;
6682 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6683 int arg2 ;
6684 bool arg3 ;
6685 PyObject * obj0 = 0 ;
6686 PyObject * obj1 = 0 ;
6687 PyObject * obj2 = 0 ;
6688 char *kwnames[] = {
6689 (char *) "self",(char *) "edge",(char *) "border", NULL
6690 };
6691
6692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6695 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 arg3 = (bool) SWIG_AsBool(obj2);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6702
6703 wxPyEndAllowThreads(__tstate);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 Py_INCREF(Py_None); resultobj = Py_None;
6707 return resultobj;
6708 fail:
6709 return NULL;
6710 }
6711
6712
6713 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6714 PyObject *resultobj;
6715 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6716 int arg2 ;
6717 bool result;
6718 PyObject * obj0 = 0 ;
6719 PyObject * obj1 = 0 ;
6720 char *kwnames[] = {
6721 (char *) "self",(char *) "edge", NULL
6722 };
6723
6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6727 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6728 if (PyErr_Occurred()) SWIG_fail;
6729 {
6730 PyThreadState* __tstate = wxPyBeginAllowThreads();
6731 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6732
6733 wxPyEndAllowThreads(__tstate);
6734 if (PyErr_Occurred()) SWIG_fail;
6735 }
6736 {
6737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6738 }
6739 return resultobj;
6740 fail:
6741 return NULL;
6742 }
6743
6744
6745 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6746 PyObject *resultobj;
6747 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6748 int arg2 ;
6749 int result;
6750 PyObject * obj0 = 0 ;
6751 PyObject * obj1 = 0 ;
6752 char *kwnames[] = {
6753 (char *) "self",(char *) "edge", NULL
6754 };
6755
6756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6759 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6760 if (PyErr_Occurred()) SWIG_fail;
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 resultobj = SWIG_FromInt((int)result);
6769 return resultobj;
6770 fail:
6771 return NULL;
6772 }
6773
6774
6775 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj;
6777 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6778 int arg2 ;
6779 PyObject * obj0 = 0 ;
6780 PyObject * obj1 = 0 ;
6781 char *kwnames[] = {
6782 (char *) "self",(char *) "width", NULL
6783 };
6784
6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6788 arg2 = (int) SWIG_AsInt(obj1);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 (arg1)->SetDefaultBorderSize(arg2);
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 Py_INCREF(Py_None); resultobj = Py_None;
6798 return resultobj;
6799 fail:
6800 return NULL;
6801 }
6802
6803
6804 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6805 PyObject *resultobj;
6806 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6807 int result;
6808 PyObject * obj0 = 0 ;
6809 char *kwnames[] = {
6810 (char *) "self", NULL
6811 };
6812
6813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6816 {
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6819
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 resultobj = SWIG_FromInt((int)result);
6824 return resultobj;
6825 fail:
6826 return NULL;
6827 }
6828
6829
6830 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6831 PyObject *resultobj;
6832 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6833 int arg2 ;
6834 PyObject * obj0 = 0 ;
6835 PyObject * obj1 = 0 ;
6836 char *kwnames[] = {
6837 (char *) "self",(char *) "width", NULL
6838 };
6839
6840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6843 arg2 = (int) SWIG_AsInt(obj1);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 {
6846 PyThreadState* __tstate = wxPyBeginAllowThreads();
6847 (arg1)->SetExtraBorderSize(arg2);
6848
6849 wxPyEndAllowThreads(__tstate);
6850 if (PyErr_Occurred()) SWIG_fail;
6851 }
6852 Py_INCREF(Py_None); resultobj = Py_None;
6853 return resultobj;
6854 fail:
6855 return NULL;
6856 }
6857
6858
6859 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6860 PyObject *resultobj;
6861 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6862 int result;
6863 PyObject * obj0 = 0 ;
6864 char *kwnames[] = {
6865 (char *) "self", NULL
6866 };
6867
6868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6871 {
6872 PyThreadState* __tstate = wxPyBeginAllowThreads();
6873 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6874
6875 wxPyEndAllowThreads(__tstate);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 resultobj = SWIG_FromInt((int)result);
6879 return resultobj;
6880 fail:
6881 return NULL;
6882 }
6883
6884
6885 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6886 PyObject *resultobj;
6887 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6888 int arg2 ;
6889 PyObject * obj0 = 0 ;
6890 PyObject * obj1 = 0 ;
6891 char *kwnames[] = {
6892 (char *) "self",(char *) "min", NULL
6893 };
6894
6895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6898 arg2 = (int) SWIG_AsInt(obj1);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 (arg1)->SetMinimumSizeX(arg2);
6903
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 Py_INCREF(Py_None); resultobj = Py_None;
6908 return resultobj;
6909 fail:
6910 return NULL;
6911 }
6912
6913
6914 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj;
6916 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6917 int arg2 ;
6918 PyObject * obj0 = 0 ;
6919 PyObject * obj1 = 0 ;
6920 char *kwnames[] = {
6921 (char *) "self",(char *) "min", NULL
6922 };
6923
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6927 arg2 = (int) SWIG_AsInt(obj1);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 (arg1)->SetMinimumSizeY(arg2);
6932
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 Py_INCREF(Py_None); resultobj = Py_None;
6937 return resultobj;
6938 fail:
6939 return NULL;
6940 }
6941
6942
6943 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6944 PyObject *resultobj;
6945 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6946 int result;
6947 PyObject * obj0 = 0 ;
6948 char *kwnames[] = {
6949 (char *) "self", NULL
6950 };
6951
6952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6958
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 resultobj = SWIG_FromInt((int)result);
6963 return resultobj;
6964 fail:
6965 return NULL;
6966 }
6967
6968
6969 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6970 PyObject *resultobj;
6971 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6972 int result;
6973 PyObject * obj0 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "self", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 resultobj = SWIG_FromInt((int)result);
6989 return resultobj;
6990 fail:
6991 return NULL;
6992 }
6993
6994
6995 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6998 int arg2 ;
6999 PyObject * obj0 = 0 ;
7000 PyObject * obj1 = 0 ;
7001 char *kwnames[] = {
7002 (char *) "self",(char *) "max", NULL
7003 };
7004
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7008 arg2 = (int) SWIG_AsInt(obj1);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 {
7011 PyThreadState* __tstate = wxPyBeginAllowThreads();
7012 (arg1)->SetMaximumSizeX(arg2);
7013
7014 wxPyEndAllowThreads(__tstate);
7015 if (PyErr_Occurred()) SWIG_fail;
7016 }
7017 Py_INCREF(Py_None); resultobj = Py_None;
7018 return resultobj;
7019 fail:
7020 return NULL;
7021 }
7022
7023
7024 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7025 PyObject *resultobj;
7026 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7027 int arg2 ;
7028 PyObject * obj0 = 0 ;
7029 PyObject * obj1 = 0 ;
7030 char *kwnames[] = {
7031 (char *) "self",(char *) "max", NULL
7032 };
7033
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7037 arg2 = (int) SWIG_AsInt(obj1);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 {
7040 PyThreadState* __tstate = wxPyBeginAllowThreads();
7041 (arg1)->SetMaximumSizeY(arg2);
7042
7043 wxPyEndAllowThreads(__tstate);
7044 if (PyErr_Occurred()) SWIG_fail;
7045 }
7046 Py_INCREF(Py_None); resultobj = Py_None;
7047 return resultobj;
7048 fail:
7049 return NULL;
7050 }
7051
7052
7053 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7054 PyObject *resultobj;
7055 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7056 int result;
7057 PyObject * obj0 = 0 ;
7058 char *kwnames[] = {
7059 (char *) "self", NULL
7060 };
7061
7062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 resultobj = SWIG_FromInt((int)result);
7073 return resultobj;
7074 fail:
7075 return NULL;
7076 }
7077
7078
7079 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7080 PyObject *resultobj;
7081 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7082 int result;
7083 PyObject * obj0 = 0 ;
7084 char *kwnames[] = {
7085 (char *) "self", NULL
7086 };
7087
7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7091 {
7092 PyThreadState* __tstate = wxPyBeginAllowThreads();
7093 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7094
7095 wxPyEndAllowThreads(__tstate);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 }
7098 resultobj = SWIG_FromInt((int)result);
7099 return resultobj;
7100 fail:
7101 return NULL;
7102 }
7103
7104
7105 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7106 PyObject *resultobj;
7107 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7108 int arg2 ;
7109 int arg3 ;
7110 int arg4 = (int) 2 ;
7111 int result;
7112 PyObject * obj0 = 0 ;
7113 PyObject * obj1 = 0 ;
7114 PyObject * obj2 = 0 ;
7115 PyObject * obj3 = 0 ;
7116 char *kwnames[] = {
7117 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7118 };
7119
7120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7123 arg2 = (int) SWIG_AsInt(obj1);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 arg3 = (int) SWIG_AsInt(obj2);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 if (obj3) {
7128 arg4 = (int) SWIG_AsInt(obj3);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 }
7131 {
7132 PyThreadState* __tstate = wxPyBeginAllowThreads();
7133 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7134
7135 wxPyEndAllowThreads(__tstate);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 }
7138 resultobj = SWIG_FromInt((int)result);
7139 return resultobj;
7140 fail:
7141 return NULL;
7142 }
7143
7144
7145 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7146 PyObject *resultobj;
7147 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7148 PyObject * obj0 = 0 ;
7149 char *kwnames[] = {
7150 (char *) "self", NULL
7151 };
7152
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7156 {
7157 PyThreadState* __tstate = wxPyBeginAllowThreads();
7158 (arg1)->SizeWindows();
7159
7160 wxPyEndAllowThreads(__tstate);
7161 if (PyErr_Occurred()) SWIG_fail;
7162 }
7163 Py_INCREF(Py_None); resultobj = Py_None;
7164 return resultobj;
7165 fail:
7166 return NULL;
7167 }
7168
7169
7170 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7171 PyObject *obj;
7172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7173 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7174 Py_INCREF(obj);
7175 return Py_BuildValue((char *)"");
7176 }
7177 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj;
7179 int arg1 = (int) 0 ;
7180 int arg2 = (int) wxSASH_NONE ;
7181 wxSashEvent *result;
7182 PyObject * obj0 = 0 ;
7183 PyObject * obj1 = 0 ;
7184 char *kwnames[] = {
7185 (char *) "id",(char *) "edge", NULL
7186 };
7187
7188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7189 if (obj0) {
7190 arg1 = (int) SWIG_AsInt(obj0);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
7193 if (obj1) {
7194 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 {
7198 PyThreadState* __tstate = wxPyBeginAllowThreads();
7199 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7200
7201 wxPyEndAllowThreads(__tstate);
7202 if (PyErr_Occurred()) SWIG_fail;
7203 }
7204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7205 return resultobj;
7206 fail:
7207 return NULL;
7208 }
7209
7210
7211 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7212 PyObject *resultobj;
7213 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7214 int arg2 ;
7215 PyObject * obj0 = 0 ;
7216 PyObject * obj1 = 0 ;
7217 char *kwnames[] = {
7218 (char *) "self",(char *) "edge", NULL
7219 };
7220
7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7224 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7225 if (PyErr_Occurred()) SWIG_fail;
7226 {
7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7228 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7229
7230 wxPyEndAllowThreads(__tstate);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 Py_INCREF(Py_None); resultobj = Py_None;
7234 return resultobj;
7235 fail:
7236 return NULL;
7237 }
7238
7239
7240 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj;
7242 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7243 int result;
7244 PyObject * obj0 = 0 ;
7245 char *kwnames[] = {
7246 (char *) "self", NULL
7247 };
7248
7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 resultobj = SWIG_FromInt((int)result);
7260 return resultobj;
7261 fail:
7262 return NULL;
7263 }
7264
7265
7266 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj;
7268 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7269 wxRect *arg2 = 0 ;
7270 wxRect temp2 ;
7271 PyObject * obj0 = 0 ;
7272 PyObject * obj1 = 0 ;
7273 char *kwnames[] = {
7274 (char *) "self",(char *) "rect", NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7280 {
7281 arg2 = &temp2;
7282 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7283 }
7284 {
7285 PyThreadState* __tstate = wxPyBeginAllowThreads();
7286 (arg1)->SetDragRect((wxRect const &)*arg2);
7287
7288 wxPyEndAllowThreads(__tstate);
7289 if (PyErr_Occurred()) SWIG_fail;
7290 }
7291 Py_INCREF(Py_None); resultobj = Py_None;
7292 return resultobj;
7293 fail:
7294 return NULL;
7295 }
7296
7297
7298 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7299 PyObject *resultobj;
7300 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7301 wxRect result;
7302 PyObject * obj0 = 0 ;
7303 char *kwnames[] = {
7304 (char *) "self", NULL
7305 };
7306
7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 result = ((wxSashEvent const *)arg1)->GetDragRect();
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 {
7318 wxRect * resultptr;
7319 resultptr = new wxRect((wxRect &) result);
7320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7321 }
7322 return resultobj;
7323 fail:
7324 return NULL;
7325 }
7326
7327
7328 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj;
7330 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7331 int arg2 ;
7332 PyObject * obj0 = 0 ;
7333 PyObject * obj1 = 0 ;
7334 char *kwnames[] = {
7335 (char *) "self",(char *) "status", NULL
7336 };
7337
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7341 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7346
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 Py_INCREF(Py_None); resultobj = Py_None;
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj;
7359 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7360 int result;
7361 PyObject * obj0 = 0 ;
7362 char *kwnames[] = {
7363 (char *) "self", NULL
7364 };
7365
7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7369 {
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7372
7373 wxPyEndAllowThreads(__tstate);
7374 if (PyErr_Occurred()) SWIG_fail;
7375 }
7376 resultobj = SWIG_FromInt((int)result);
7377 return resultobj;
7378 fail:
7379 return NULL;
7380 }
7381
7382
7383 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7384 PyObject *obj;
7385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7386 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7387 Py_INCREF(obj);
7388 return Py_BuildValue((char *)"");
7389 }
7390 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj;
7392 int arg1 = (int) 0 ;
7393 wxQueryLayoutInfoEvent *result;
7394 PyObject * obj0 = 0 ;
7395 char *kwnames[] = {
7396 (char *) "id", NULL
7397 };
7398
7399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7400 if (obj0) {
7401 arg1 = (int) SWIG_AsInt(obj0);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 {
7405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7406 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7407
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7412 return resultobj;
7413 fail:
7414 return NULL;
7415 }
7416
7417
7418 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7419 PyObject *resultobj;
7420 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7421 int arg2 ;
7422 PyObject * obj0 = 0 ;
7423 PyObject * obj1 = 0 ;
7424 char *kwnames[] = {
7425 (char *) "self",(char *) "length", NULL
7426 };
7427
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7431 arg2 = (int) SWIG_AsInt(obj1);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 (arg1)->SetRequestedLength(arg2);
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 Py_INCREF(Py_None); resultobj = Py_None;
7441 return resultobj;
7442 fail:
7443 return NULL;
7444 }
7445
7446
7447 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj;
7449 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7450 int result;
7451 PyObject * obj0 = 0 ;
7452 char *kwnames[] = {
7453 (char *) "self", NULL
7454 };
7455
7456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7459 {
7460 PyThreadState* __tstate = wxPyBeginAllowThreads();
7461 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7462
7463 wxPyEndAllowThreads(__tstate);
7464 if (PyErr_Occurred()) SWIG_fail;
7465 }
7466 resultobj = SWIG_FromInt((int)result);
7467 return resultobj;
7468 fail:
7469 return NULL;
7470 }
7471
7472
7473 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7474 PyObject *resultobj;
7475 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7476 int arg2 ;
7477 PyObject * obj0 = 0 ;
7478 PyObject * obj1 = 0 ;
7479 char *kwnames[] = {
7480 (char *) "self",(char *) "flags", NULL
7481 };
7482
7483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7486 arg2 = (int) SWIG_AsInt(obj1);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 {
7489 PyThreadState* __tstate = wxPyBeginAllowThreads();
7490 (arg1)->SetFlags(arg2);
7491
7492 wxPyEndAllowThreads(__tstate);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
7495 Py_INCREF(Py_None); resultobj = Py_None;
7496 return resultobj;
7497 fail:
7498 return NULL;
7499 }
7500
7501
7502 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7503 PyObject *resultobj;
7504 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7505 int result;
7506 PyObject * obj0 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7514 {
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7516 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7517
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
7521 resultobj = SWIG_FromInt((int)result);
7522 return resultobj;
7523 fail:
7524 return NULL;
7525 }
7526
7527
7528 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj;
7530 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7531 wxSize *arg2 = 0 ;
7532 wxSize temp2 ;
7533 PyObject * obj0 = 0 ;
7534 PyObject * obj1 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self",(char *) "size", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7542 {
7543 arg2 = &temp2;
7544 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7545 }
7546 {
7547 PyThreadState* __tstate = wxPyBeginAllowThreads();
7548 (arg1)->SetSize((wxSize const &)*arg2);
7549
7550 wxPyEndAllowThreads(__tstate);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 }
7553 Py_INCREF(Py_None); resultobj = Py_None;
7554 return resultobj;
7555 fail:
7556 return NULL;
7557 }
7558
7559
7560 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7561 PyObject *resultobj;
7562 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7563 wxSize result;
7564 PyObject * obj0 = 0 ;
7565 char *kwnames[] = {
7566 (char *) "self", NULL
7567 };
7568
7569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 {
7580 wxSize * resultptr;
7581 resultptr = new wxSize((wxSize &) result);
7582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7583 }
7584 return resultobj;
7585 fail:
7586 return NULL;
7587 }
7588
7589
7590 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7591 PyObject *resultobj;
7592 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7593 int arg2 ;
7594 PyObject * obj0 = 0 ;
7595 PyObject * obj1 = 0 ;
7596 char *kwnames[] = {
7597 (char *) "self",(char *) "orient", NULL
7598 };
7599
7600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7603 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7608
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 Py_INCREF(Py_None); resultobj = Py_None;
7613 return resultobj;
7614 fail:
7615 return NULL;
7616 }
7617
7618
7619 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj;
7621 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7622 int result;
7623 PyObject * obj0 = 0 ;
7624 char *kwnames[] = {
7625 (char *) "self", NULL
7626 };
7627
7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7631 {
7632 PyThreadState* __tstate = wxPyBeginAllowThreads();
7633 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7634
7635 wxPyEndAllowThreads(__tstate);
7636 if (PyErr_Occurred()) SWIG_fail;
7637 }
7638 resultobj = SWIG_FromInt((int)result);
7639 return resultobj;
7640 fail:
7641 return NULL;
7642 }
7643
7644
7645 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7646 PyObject *resultobj;
7647 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7648 int arg2 ;
7649 PyObject * obj0 = 0 ;
7650 PyObject * obj1 = 0 ;
7651 char *kwnames[] = {
7652 (char *) "self",(char *) "align", NULL
7653 };
7654
7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7658 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
7662 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7663
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 Py_INCREF(Py_None); resultobj = Py_None;
7668 return resultobj;
7669 fail:
7670 return NULL;
7671 }
7672
7673
7674 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7675 PyObject *resultobj;
7676 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7677 int result;
7678 PyObject * obj0 = 0 ;
7679 char *kwnames[] = {
7680 (char *) "self", NULL
7681 };
7682
7683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7686 {
7687 PyThreadState* __tstate = wxPyBeginAllowThreads();
7688 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7689
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) SWIG_fail;
7692 }
7693 resultobj = SWIG_FromInt((int)result);
7694 return resultobj;
7695 fail:
7696 return NULL;
7697 }
7698
7699
7700 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7701 PyObject *obj;
7702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7703 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7704 Py_INCREF(obj);
7705 return Py_BuildValue((char *)"");
7706 }
7707 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7708 PyObject *resultobj;
7709 int arg1 = (int) 0 ;
7710 wxCalculateLayoutEvent *result;
7711 PyObject * obj0 = 0 ;
7712 char *kwnames[] = {
7713 (char *) "id", NULL
7714 };
7715
7716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7717 if (obj0) {
7718 arg1 = (int) SWIG_AsInt(obj0);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7724
7725 wxPyEndAllowThreads(__tstate);
7726 if (PyErr_Occurred()) SWIG_fail;
7727 }
7728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7729 return resultobj;
7730 fail:
7731 return NULL;
7732 }
7733
7734
7735 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7736 PyObject *resultobj;
7737 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7738 int arg2 ;
7739 PyObject * obj0 = 0 ;
7740 PyObject * obj1 = 0 ;
7741 char *kwnames[] = {
7742 (char *) "self",(char *) "flags", NULL
7743 };
7744
7745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7748 arg2 = (int) SWIG_AsInt(obj1);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 {
7751 PyThreadState* __tstate = wxPyBeginAllowThreads();
7752 (arg1)->SetFlags(arg2);
7753
7754 wxPyEndAllowThreads(__tstate);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 }
7757 Py_INCREF(Py_None); resultobj = Py_None;
7758 return resultobj;
7759 fail:
7760 return NULL;
7761 }
7762
7763
7764 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj;
7766 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7767 int result;
7768 PyObject * obj0 = 0 ;
7769 char *kwnames[] = {
7770 (char *) "self", NULL
7771 };
7772
7773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7776 {
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7779
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 resultobj = SWIG_FromInt((int)result);
7784 return resultobj;
7785 fail:
7786 return NULL;
7787 }
7788
7789
7790 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7791 PyObject *resultobj;
7792 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7793 wxRect *arg2 = 0 ;
7794 wxRect temp2 ;
7795 PyObject * obj0 = 0 ;
7796 PyObject * obj1 = 0 ;
7797 char *kwnames[] = {
7798 (char *) "self",(char *) "rect", NULL
7799 };
7800
7801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7804 {
7805 arg2 = &temp2;
7806 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7807 }
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 (arg1)->SetRect((wxRect const &)*arg2);
7811
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 Py_INCREF(Py_None); resultobj = Py_None;
7816 return resultobj;
7817 fail:
7818 return NULL;
7819 }
7820
7821
7822 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7823 PyObject *resultobj;
7824 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7825 wxRect result;
7826 PyObject * obj0 = 0 ;
7827 char *kwnames[] = {
7828 (char *) "self", NULL
7829 };
7830
7831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 {
7842 wxRect * resultptr;
7843 resultptr = new wxRect((wxRect &) result);
7844 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7845 }
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7853 PyObject *obj;
7854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7855 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7856 Py_INCREF(obj);
7857 return Py_BuildValue((char *)"");
7858 }
7859 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7860 PyObject *resultobj;
7861 wxWindow *arg1 = (wxWindow *) 0 ;
7862 int arg2 ;
7863 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7864 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7865 wxSize const &arg4_defvalue = wxDefaultSize ;
7866 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7867 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7868 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7869 wxString *arg6 = (wxString *) &arg6_defvalue ;
7870 wxSashLayoutWindow *result;
7871 wxPoint temp3 ;
7872 wxSize temp4 ;
7873 bool temp6 = False ;
7874 PyObject * obj0 = 0 ;
7875 PyObject * obj1 = 0 ;
7876 PyObject * obj2 = 0 ;
7877 PyObject * obj3 = 0 ;
7878 PyObject * obj4 = 0 ;
7879 PyObject * obj5 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7887 arg2 = (int) SWIG_AsInt(obj1);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 if (obj2) {
7890 {
7891 arg3 = &temp3;
7892 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7893 }
7894 }
7895 if (obj3) {
7896 {
7897 arg4 = &temp4;
7898 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7899 }
7900 }
7901 if (obj4) {
7902 arg5 = (long) SWIG_AsLong(obj4);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 if (obj5) {
7906 {
7907 arg6 = wxString_in_helper(obj5);
7908 if (arg6 == NULL) SWIG_fail;
7909 temp6 = True;
7910 }
7911 }
7912 {
7913 PyThreadState* __tstate = wxPyBeginAllowThreads();
7914 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7915
7916 wxPyEndAllowThreads(__tstate);
7917 if (PyErr_Occurred()) SWIG_fail;
7918 }
7919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7920 {
7921 if (temp6)
7922 delete arg6;
7923 }
7924 return resultobj;
7925 fail:
7926 {
7927 if (temp6)
7928 delete arg6;
7929 }
7930 return NULL;
7931 }
7932
7933
7934 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxSashLayoutWindow *result;
7937 char *kwnames[] = {
7938 NULL
7939 };
7940
7941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7942 {
7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
7944 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7945
7946 wxPyEndAllowThreads(__tstate);
7947 if (PyErr_Occurred()) SWIG_fail;
7948 }
7949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7950 return resultobj;
7951 fail:
7952 return NULL;
7953 }
7954
7955
7956 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7957 PyObject *resultobj;
7958 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7959 wxWindow *arg2 = (wxWindow *) 0 ;
7960 int arg3 ;
7961 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7962 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7963 wxSize const &arg5_defvalue = wxDefaultSize ;
7964 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7965 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7966 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7967 wxString *arg7 = (wxString *) &arg7_defvalue ;
7968 bool result;
7969 wxPoint temp4 ;
7970 wxSize temp5 ;
7971 bool temp7 = False ;
7972 PyObject * obj0 = 0 ;
7973 PyObject * obj1 = 0 ;
7974 PyObject * obj2 = 0 ;
7975 PyObject * obj3 = 0 ;
7976 PyObject * obj4 = 0 ;
7977 PyObject * obj5 = 0 ;
7978 PyObject * obj6 = 0 ;
7979 char *kwnames[] = {
7980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7981 };
7982
7983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7986 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7988 arg3 = (int) SWIG_AsInt(obj2);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 if (obj3) {
7991 {
7992 arg4 = &temp4;
7993 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7994 }
7995 }
7996 if (obj4) {
7997 {
7998 arg5 = &temp5;
7999 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8000 }
8001 }
8002 if (obj5) {
8003 arg6 = (long) SWIG_AsLong(obj5);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 if (obj6) {
8007 {
8008 arg7 = wxString_in_helper(obj6);
8009 if (arg7 == NULL) SWIG_fail;
8010 temp7 = True;
8011 }
8012 }
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 {
8021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8022 }
8023 {
8024 if (temp7)
8025 delete arg7;
8026 }
8027 return resultobj;
8028 fail:
8029 {
8030 if (temp7)
8031 delete arg7;
8032 }
8033 return NULL;
8034 }
8035
8036
8037 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj;
8039 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8040 int result;
8041 PyObject * obj0 = 0 ;
8042 char *kwnames[] = {
8043 (char *) "self", NULL
8044 };
8045
8046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 result = (int)(arg1)->GetAlignment();
8052
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 resultobj = SWIG_FromInt((int)result);
8057 return resultobj;
8058 fail:
8059 return NULL;
8060 }
8061
8062
8063 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8064 PyObject *resultobj;
8065 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8066 int result;
8067 PyObject * obj0 = 0 ;
8068 char *kwnames[] = {
8069 (char *) "self", NULL
8070 };
8071
8072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8075 {
8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
8077 result = (int)(arg1)->GetOrientation();
8078
8079 wxPyEndAllowThreads(__tstate);
8080 if (PyErr_Occurred()) SWIG_fail;
8081 }
8082 resultobj = SWIG_FromInt((int)result);
8083 return resultobj;
8084 fail:
8085 return NULL;
8086 }
8087
8088
8089 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8090 PyObject *resultobj;
8091 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8092 int arg2 ;
8093 PyObject * obj0 = 0 ;
8094 PyObject * obj1 = 0 ;
8095 char *kwnames[] = {
8096 (char *) "self",(char *) "alignment", NULL
8097 };
8098
8099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8102 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 Py_INCREF(Py_None); resultobj = Py_None;
8112 return resultobj;
8113 fail:
8114 return NULL;
8115 }
8116
8117
8118 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8119 PyObject *resultobj;
8120 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8121 wxSize *arg2 = 0 ;
8122 wxSize temp2 ;
8123 PyObject * obj0 = 0 ;
8124 PyObject * obj1 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "self",(char *) "size", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8132 {
8133 arg2 = &temp2;
8134 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8135 }
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 Py_INCREF(Py_None); resultobj = Py_None;
8144 return resultobj;
8145 fail:
8146 return NULL;
8147 }
8148
8149
8150 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj;
8152 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8153 int arg2 ;
8154 PyObject * obj0 = 0 ;
8155 PyObject * obj1 = 0 ;
8156 char *kwnames[] = {
8157 (char *) "self",(char *) "orientation", NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8163 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 {
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8168
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
8172 Py_INCREF(Py_None); resultobj = Py_None;
8173 return resultobj;
8174 fail:
8175 return NULL;
8176 }
8177
8178
8179 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8180 PyObject *obj;
8181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8182 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8183 Py_INCREF(obj);
8184 return Py_BuildValue((char *)"");
8185 }
8186 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8187 PyObject *resultobj;
8188 wxLayoutAlgorithm *result;
8189 char *kwnames[] = {
8190 NULL
8191 };
8192
8193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8194 {
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
8196 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8197
8198 wxPyEndAllowThreads(__tstate);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8202 return resultobj;
8203 fail:
8204 return NULL;
8205 }
8206
8207
8208 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj;
8210 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8211 PyObject * obj0 = 0 ;
8212 char *kwnames[] = {
8213 (char *) "self", NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 delete arg1;
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
8226 Py_INCREF(Py_None); resultobj = Py_None;
8227 return resultobj;
8228 fail:
8229 return NULL;
8230 }
8231
8232
8233 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8234 PyObject *resultobj;
8235 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8236 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8237 wxRect *arg3 = (wxRect *) NULL ;
8238 bool result;
8239 PyObject * obj0 = 0 ;
8240 PyObject * obj1 = 0 ;
8241 PyObject * obj2 = 0 ;
8242 char *kwnames[] = {
8243 (char *) "self",(char *) "frame",(char *) "rect", NULL
8244 };
8245
8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8251 if (obj2) {
8252 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8254 }
8255 {
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8258
8259 wxPyEndAllowThreads(__tstate);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
8262 {
8263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8264 }
8265 return resultobj;
8266 fail:
8267 return NULL;
8268 }
8269
8270
8271 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8272 PyObject *resultobj;
8273 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8274 wxFrame *arg2 = (wxFrame *) 0 ;
8275 wxWindow *arg3 = (wxWindow *) NULL ;
8276 bool result;
8277 PyObject * obj0 = 0 ;
8278 PyObject * obj1 = 0 ;
8279 PyObject * obj2 = 0 ;
8280 char *kwnames[] = {
8281 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8282 };
8283
8284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8289 if (obj2) {
8290 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8292 }
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8296
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 {
8301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8302 }
8303 return resultobj;
8304 fail:
8305 return NULL;
8306 }
8307
8308
8309 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8310 PyObject *resultobj;
8311 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8312 wxWindow *arg2 = (wxWindow *) 0 ;
8313 wxWindow *arg3 = (wxWindow *) NULL ;
8314 bool result;
8315 PyObject * obj0 = 0 ;
8316 PyObject * obj1 = 0 ;
8317 PyObject * obj2 = 0 ;
8318 char *kwnames[] = {
8319 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8320 };
8321
8322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8327 if (obj2) {
8328 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8330 }
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 {
8339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8340 }
8341 return resultobj;
8342 fail:
8343 return NULL;
8344 }
8345
8346
8347 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8348 PyObject *obj;
8349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8350 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8351 Py_INCREF(obj);
8352 return Py_BuildValue((char *)"");
8353 }
8354 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8355 PyObject *resultobj;
8356 wxWindow *arg1 = (wxWindow *) 0 ;
8357 int arg2 = (int) wxBORDER_NONE ;
8358 wxPopupWindow *result;
8359 PyObject * obj0 = 0 ;
8360 PyObject * obj1 = 0 ;
8361 char *kwnames[] = {
8362 (char *) "parent",(char *) "flags", NULL
8363 };
8364
8365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8368 if (obj1) {
8369 arg2 = (int) SWIG_AsInt(obj1);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8375
8376 wxPyEndAllowThreads(__tstate);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 }
8379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8380 return resultobj;
8381 fail:
8382 return NULL;
8383 }
8384
8385
8386 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8387 PyObject *resultobj;
8388 wxPopupWindow *result;
8389 char *kwnames[] = {
8390 NULL
8391 };
8392
8393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8394 {
8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
8396 result = (wxPopupWindow *)new wxPopupWindow();
8397
8398 wxPyEndAllowThreads(__tstate);
8399 if (PyErr_Occurred()) SWIG_fail;
8400 }
8401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8402 return resultobj;
8403 fail:
8404 return NULL;
8405 }
8406
8407
8408 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8409 PyObject *resultobj;
8410 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8411 wxWindow *arg2 = (wxWindow *) 0 ;
8412 int arg3 = (int) wxBORDER_NONE ;
8413 bool result;
8414 PyObject * obj0 = 0 ;
8415 PyObject * obj1 = 0 ;
8416 PyObject * obj2 = 0 ;
8417 char *kwnames[] = {
8418 (char *) "self",(char *) "parent",(char *) "flags", NULL
8419 };
8420
8421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8426 if (obj2) {
8427 arg3 = (int) SWIG_AsInt(obj2);
8428 if (PyErr_Occurred()) SWIG_fail;
8429 }
8430 {
8431 PyThreadState* __tstate = wxPyBeginAllowThreads();
8432 result = (bool)(arg1)->Create(arg2,arg3);
8433
8434 wxPyEndAllowThreads(__tstate);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
8437 {
8438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8439 }
8440 return resultobj;
8441 fail:
8442 return NULL;
8443 }
8444
8445
8446 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8447 PyObject *resultobj;
8448 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8449 wxPoint *arg2 = 0 ;
8450 wxSize *arg3 = 0 ;
8451 wxPoint temp2 ;
8452 wxSize temp3 ;
8453 PyObject * obj0 = 0 ;
8454 PyObject * obj1 = 0 ;
8455 PyObject * obj2 = 0 ;
8456 char *kwnames[] = {
8457 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8458 };
8459
8460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8463 {
8464 arg2 = &temp2;
8465 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8466 }
8467 {
8468 arg3 = &temp3;
8469 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8470 }
8471 {
8472 PyThreadState* __tstate = wxPyBeginAllowThreads();
8473 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8474
8475 wxPyEndAllowThreads(__tstate);
8476 if (PyErr_Occurred()) SWIG_fail;
8477 }
8478 Py_INCREF(Py_None); resultobj = Py_None;
8479 return resultobj;
8480 fail:
8481 return NULL;
8482 }
8483
8484
8485 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8486 PyObject *obj;
8487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8488 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8489 Py_INCREF(obj);
8490 return Py_BuildValue((char *)"");
8491 }
8492 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8493 PyObject *resultobj;
8494 wxWindow *arg1 = (wxWindow *) 0 ;
8495 int arg2 = (int) wxBORDER_NONE ;
8496 wxPyPopupTransientWindow *result;
8497 PyObject * obj0 = 0 ;
8498 PyObject * obj1 = 0 ;
8499 char *kwnames[] = {
8500 (char *) "parent",(char *) "style", NULL
8501 };
8502
8503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8506 if (obj1) {
8507 arg2 = (int) SWIG_AsInt(obj1);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
8510 {
8511 PyThreadState* __tstate = wxPyBeginAllowThreads();
8512 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8513
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8518 return resultobj;
8519 fail:
8520 return NULL;
8521 }
8522
8523
8524 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8525 PyObject *resultobj;
8526 wxPyPopupTransientWindow *result;
8527 char *kwnames[] = {
8528 NULL
8529 };
8530
8531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8540 return resultobj;
8541 fail:
8542 return NULL;
8543 }
8544
8545
8546 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8547 PyObject *resultobj;
8548 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8549 PyObject *arg2 = (PyObject *) 0 ;
8550 PyObject *arg3 = (PyObject *) 0 ;
8551 PyObject * obj0 = 0 ;
8552 PyObject * obj1 = 0 ;
8553 PyObject * obj2 = 0 ;
8554 char *kwnames[] = {
8555 (char *) "self",(char *) "self",(char *) "_class", NULL
8556 };
8557
8558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8561 arg2 = obj1;
8562 arg3 = obj2;
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 (arg1)->_setCallbackInfo(arg2,arg3);
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 Py_INCREF(Py_None); resultobj = Py_None;
8571 return resultobj;
8572 fail:
8573 return NULL;
8574 }
8575
8576
8577 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8578 PyObject *resultobj;
8579 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8580 wxWindow *arg2 = (wxWindow *) NULL ;
8581 PyObject * obj0 = 0 ;
8582 PyObject * obj1 = 0 ;
8583 char *kwnames[] = {
8584 (char *) "self",(char *) "focus", NULL
8585 };
8586
8587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8590 if (obj1) {
8591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8593 }
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 (arg1)->Popup(arg2);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 Py_INCREF(Py_None); resultobj = Py_None;
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj;
8610 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8611 PyObject * obj0 = 0 ;
8612 char *kwnames[] = {
8613 (char *) "self", NULL
8614 };
8615
8616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8619 {
8620 PyThreadState* __tstate = wxPyBeginAllowThreads();
8621 (arg1)->Dismiss();
8622
8623 wxPyEndAllowThreads(__tstate);
8624 if (PyErr_Occurred()) SWIG_fail;
8625 }
8626 Py_INCREF(Py_None); resultobj = Py_None;
8627 return resultobj;
8628 fail:
8629 return NULL;
8630 }
8631
8632
8633 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8634 PyObject *obj;
8635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8636 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8637 Py_INCREF(obj);
8638 return Py_BuildValue((char *)"");
8639 }
8640 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxWindow *arg1 = (wxWindow *) 0 ;
8643 wxString *arg2 = 0 ;
8644 int arg3 = (int) 100 ;
8645 wxRect *arg4 = (wxRect *) NULL ;
8646 wxTipWindow *result;
8647 bool temp2 = False ;
8648 PyObject * obj0 = 0 ;
8649 PyObject * obj1 = 0 ;
8650 PyObject * obj2 = 0 ;
8651 PyObject * obj3 = 0 ;
8652 char *kwnames[] = {
8653 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8654 };
8655
8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8659 {
8660 arg2 = wxString_in_helper(obj1);
8661 if (arg2 == NULL) SWIG_fail;
8662 temp2 = True;
8663 }
8664 if (obj2) {
8665 arg3 = (int) SWIG_AsInt(obj2);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 if (obj3) {
8669 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8671 }
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8680 {
8681 if (temp2)
8682 delete arg2;
8683 }
8684 return resultobj;
8685 fail:
8686 {
8687 if (temp2)
8688 delete arg2;
8689 }
8690 return NULL;
8691 }
8692
8693
8694 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8695 PyObject *resultobj;
8696 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8697 wxRect *arg2 = 0 ;
8698 wxRect temp2 ;
8699 PyObject * obj0 = 0 ;
8700 PyObject * obj1 = 0 ;
8701 char *kwnames[] = {
8702 (char *) "self",(char *) "rectBound", NULL
8703 };
8704
8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8708 {
8709 arg2 = &temp2;
8710 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8711 }
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8715
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 Py_INCREF(Py_None); resultobj = Py_None;
8720 return resultobj;
8721 fail:
8722 return NULL;
8723 }
8724
8725
8726 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj;
8728 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8729 PyObject * obj0 = 0 ;
8730 char *kwnames[] = {
8731 (char *) "self", NULL
8732 };
8733
8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 (arg1)->Close();
8740
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 Py_INCREF(Py_None); resultobj = Py_None;
8745 return resultobj;
8746 fail:
8747 return NULL;
8748 }
8749
8750
8751 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8752 PyObject *obj;
8753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8754 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8755 Py_INCREF(obj);
8756 return Py_BuildValue((char *)"");
8757 }
8758 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8759 PyObject *resultobj;
8760 wxWindow *arg1 = (wxWindow *) 0 ;
8761 int arg2 = (int) wxID_ANY ;
8762 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8763 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8764 wxSize const &arg4_defvalue = wxDefaultSize ;
8765 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8766 long arg5 = (long) 0 ;
8767 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8768 wxString *arg6 = (wxString *) &arg6_defvalue ;
8769 wxPyVScrolledWindow *result;
8770 wxPoint temp3 ;
8771 wxSize temp4 ;
8772 bool temp6 = False ;
8773 PyObject * obj0 = 0 ;
8774 PyObject * obj1 = 0 ;
8775 PyObject * obj2 = 0 ;
8776 PyObject * obj3 = 0 ;
8777 PyObject * obj4 = 0 ;
8778 PyObject * obj5 = 0 ;
8779 char *kwnames[] = {
8780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8781 };
8782
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8786 if (obj1) {
8787 arg2 = (int) SWIG_AsInt(obj1);
8788 if (PyErr_Occurred()) SWIG_fail;
8789 }
8790 if (obj2) {
8791 {
8792 arg3 = &temp3;
8793 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8794 }
8795 }
8796 if (obj3) {
8797 {
8798 arg4 = &temp4;
8799 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8800 }
8801 }
8802 if (obj4) {
8803 arg5 = (long) SWIG_AsLong(obj4);
8804 if (PyErr_Occurred()) SWIG_fail;
8805 }
8806 if (obj5) {
8807 {
8808 arg6 = wxString_in_helper(obj5);
8809 if (arg6 == NULL) SWIG_fail;
8810 temp6 = True;
8811 }
8812 }
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8816
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) SWIG_fail;
8819 }
8820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8821 {
8822 if (temp6)
8823 delete arg6;
8824 }
8825 return resultobj;
8826 fail:
8827 {
8828 if (temp6)
8829 delete arg6;
8830 }
8831 return NULL;
8832 }
8833
8834
8835 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxPyVScrolledWindow *result;
8838 char *kwnames[] = {
8839 NULL
8840 };
8841
8842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8851 return resultobj;
8852 fail:
8853 return NULL;
8854 }
8855
8856
8857 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj;
8859 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8860 PyObject *arg2 = (PyObject *) 0 ;
8861 PyObject *arg3 = (PyObject *) 0 ;
8862 PyObject * obj0 = 0 ;
8863 PyObject * obj1 = 0 ;
8864 PyObject * obj2 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "self",(char *) "self",(char *) "_class", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8872 arg2 = obj1;
8873 arg3 = obj2;
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 (arg1)->_setCallbackInfo(arg2,arg3);
8877
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 Py_INCREF(Py_None); resultobj = Py_None;
8882 return resultobj;
8883 fail:
8884 return NULL;
8885 }
8886
8887
8888 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8889 PyObject *resultobj;
8890 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8891 wxWindow *arg2 = (wxWindow *) 0 ;
8892 int arg3 = (int) wxID_ANY ;
8893 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8894 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8895 wxSize const &arg5_defvalue = wxDefaultSize ;
8896 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8897 long arg6 = (long) 0 ;
8898 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8899 wxString *arg7 = (wxString *) &arg7_defvalue ;
8900 bool result;
8901 wxPoint temp4 ;
8902 wxSize temp5 ;
8903 bool temp7 = False ;
8904 PyObject * obj0 = 0 ;
8905 PyObject * obj1 = 0 ;
8906 PyObject * obj2 = 0 ;
8907 PyObject * obj3 = 0 ;
8908 PyObject * obj4 = 0 ;
8909 PyObject * obj5 = 0 ;
8910 PyObject * obj6 = 0 ;
8911 char *kwnames[] = {
8912 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8913 };
8914
8915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8920 if (obj2) {
8921 arg3 = (int) SWIG_AsInt(obj2);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 }
8924 if (obj3) {
8925 {
8926 arg4 = &temp4;
8927 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8928 }
8929 }
8930 if (obj4) {
8931 {
8932 arg5 = &temp5;
8933 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8934 }
8935 }
8936 if (obj5) {
8937 arg6 = (long) SWIG_AsLong(obj5);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 if (obj6) {
8941 {
8942 arg7 = wxString_in_helper(obj6);
8943 if (arg7 == NULL) SWIG_fail;
8944 temp7 = True;
8945 }
8946 }
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 {
8955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8956 }
8957 {
8958 if (temp7)
8959 delete arg7;
8960 }
8961 return resultobj;
8962 fail:
8963 {
8964 if (temp7)
8965 delete arg7;
8966 }
8967 return NULL;
8968 }
8969
8970
8971 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8972 PyObject *resultobj;
8973 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8974 size_t arg2 ;
8975 PyObject * obj0 = 0 ;
8976 PyObject * obj1 = 0 ;
8977 char *kwnames[] = {
8978 (char *) "self",(char *) "count", NULL
8979 };
8980
8981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8984 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
8988 (arg1)->SetLineCount(arg2);
8989
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 Py_INCREF(Py_None); resultobj = Py_None;
8994 return resultobj;
8995 fail:
8996 return NULL;
8997 }
8998
8999
9000 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj;
9002 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9003 size_t arg2 ;
9004 bool result;
9005 PyObject * obj0 = 0 ;
9006 PyObject * obj1 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self",(char *) "line", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9014 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9015 if (PyErr_Occurred()) SWIG_fail;
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 result = (bool)(arg1)->ScrollToLine(arg2);
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 {
9024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9025 }
9026 return resultobj;
9027 fail:
9028 return NULL;
9029 }
9030
9031
9032 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9033 PyObject *resultobj;
9034 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9035 int arg2 ;
9036 bool result;
9037 PyObject * obj0 = 0 ;
9038 PyObject * obj1 = 0 ;
9039 char *kwnames[] = {
9040 (char *) "self",(char *) "lines", NULL
9041 };
9042
9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9046 arg2 = (int) SWIG_AsInt(obj1);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 result = (bool)(arg1)->ScrollLines(arg2);
9051
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 {
9056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9057 }
9058 return resultobj;
9059 fail:
9060 return NULL;
9061 }
9062
9063
9064 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9067 int arg2 ;
9068 bool result;
9069 PyObject * obj0 = 0 ;
9070 PyObject * obj1 = 0 ;
9071 char *kwnames[] = {
9072 (char *) "self",(char *) "pages", NULL
9073 };
9074
9075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9078 arg2 = (int) SWIG_AsInt(obj1);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 result = (bool)(arg1)->ScrollPages(arg2);
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 {
9088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9089 }
9090 return resultobj;
9091 fail:
9092 return NULL;
9093 }
9094
9095
9096 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9099 size_t arg2 ;
9100 PyObject * obj0 = 0 ;
9101 PyObject * obj1 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "self",(char *) "line", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9109 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 (arg1)->RefreshLine(arg2);
9114
9115 wxPyEndAllowThreads(__tstate);
9116 if (PyErr_Occurred()) SWIG_fail;
9117 }
9118 Py_INCREF(Py_None); resultobj = Py_None;
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9126 PyObject *resultobj;
9127 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9128 size_t arg2 ;
9129 size_t arg3 ;
9130 PyObject * obj0 = 0 ;
9131 PyObject * obj1 = 0 ;
9132 PyObject * obj2 = 0 ;
9133 char *kwnames[] = {
9134 (char *) "self",(char *) "from",(char *) "to", NULL
9135 };
9136
9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9140 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 {
9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
9146 (arg1)->RefreshLines(arg2,arg3);
9147
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 Py_INCREF(Py_None); resultobj = Py_None;
9152 return resultobj;
9153 fail:
9154 return NULL;
9155 }
9156
9157
9158 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9159 PyObject *resultobj;
9160 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9161 int arg2 ;
9162 int arg3 ;
9163 int result;
9164 PyObject * obj0 = 0 ;
9165 PyObject * obj1 = 0 ;
9166 PyObject * obj2 = 0 ;
9167 char *kwnames[] = {
9168 (char *) "self",(char *) "x",(char *) "y", NULL
9169 };
9170
9171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9174 arg2 = (int) SWIG_AsInt(obj1);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 arg3 = (int) SWIG_AsInt(obj2);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 {
9179 PyThreadState* __tstate = wxPyBeginAllowThreads();
9180 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9181
9182 wxPyEndAllowThreads(__tstate);
9183 if (PyErr_Occurred()) SWIG_fail;
9184 }
9185 resultobj = SWIG_FromInt((int)result);
9186 return resultobj;
9187 fail:
9188 return NULL;
9189 }
9190
9191
9192 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9193 PyObject *resultobj;
9194 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9195 wxPoint *arg2 = 0 ;
9196 int result;
9197 wxPoint temp2 ;
9198 PyObject * obj0 = 0 ;
9199 PyObject * obj1 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "self",(char *) "pt", NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9207 {
9208 arg2 = &temp2;
9209 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9210 }
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 resultobj = SWIG_FromInt((int)result);
9219 return resultobj;
9220 fail:
9221 return NULL;
9222 }
9223
9224
9225 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9226 PyObject *resultobj;
9227 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9228 PyObject * obj0 = 0 ;
9229 char *kwnames[] = {
9230 (char *) "self", NULL
9231 };
9232
9233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
9238 (arg1)->RefreshAll();
9239
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
9243 Py_INCREF(Py_None); resultobj = Py_None;
9244 return resultobj;
9245 fail:
9246 return NULL;
9247 }
9248
9249
9250 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9251 PyObject *resultobj;
9252 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9253 size_t result;
9254 PyObject * obj0 = 0 ;
9255 char *kwnames[] = {
9256 (char *) "self", NULL
9257 };
9258
9259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9262 {
9263 PyThreadState* __tstate = wxPyBeginAllowThreads();
9264 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9265
9266 wxPyEndAllowThreads(__tstate);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 }
9269 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9270 return resultobj;
9271 fail:
9272 return NULL;
9273 }
9274
9275
9276 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9277 PyObject *resultobj;
9278 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9279 size_t result;
9280 PyObject * obj0 = 0 ;
9281 char *kwnames[] = {
9282 (char *) "self", NULL
9283 };
9284
9285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9296 return resultobj;
9297 fail:
9298 return NULL;
9299 }
9300
9301
9302 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9303 PyObject *resultobj;
9304 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9305 size_t result;
9306 PyObject * obj0 = 0 ;
9307 char *kwnames[] = {
9308 (char *) "self", NULL
9309 };
9310
9311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9322 return resultobj;
9323 fail:
9324 return NULL;
9325 }
9326
9327
9328 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9329 PyObject *resultobj;
9330 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9331 size_t arg2 ;
9332 bool result;
9333 PyObject * obj0 = 0 ;
9334 PyObject * obj1 = 0 ;
9335 char *kwnames[] = {
9336 (char *) "self",(char *) "line", NULL
9337 };
9338
9339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9342 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9343 if (PyErr_Occurred()) SWIG_fail;
9344 {
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
9346 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9347
9348 wxPyEndAllowThreads(__tstate);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 }
9351 {
9352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9353 }
9354 return resultobj;
9355 fail:
9356 return NULL;
9357 }
9358
9359
9360 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9361 PyObject *obj;
9362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9363 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9364 Py_INCREF(obj);
9365 return Py_BuildValue((char *)"");
9366 }
9367 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9368 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9369 return 1;
9370 }
9371
9372
9373 static PyObject *_wrap_VListBoxNameStr_get() {
9374 PyObject *pyobj;
9375
9376 {
9377 #if wxUSE_UNICODE
9378 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9379 #else
9380 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9381 #endif
9382 }
9383 return pyobj;
9384 }
9385
9386
9387 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj;
9389 wxWindow *arg1 = (wxWindow *) 0 ;
9390 int arg2 = (int) wxID_ANY ;
9391 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9392 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9393 wxSize const &arg4_defvalue = wxDefaultSize ;
9394 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9395 long arg5 = (long) 0 ;
9396 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9397 wxString *arg6 = (wxString *) &arg6_defvalue ;
9398 wxPyVListBox *result;
9399 wxPoint temp3 ;
9400 wxSize temp4 ;
9401 bool temp6 = False ;
9402 PyObject * obj0 = 0 ;
9403 PyObject * obj1 = 0 ;
9404 PyObject * obj2 = 0 ;
9405 PyObject * obj3 = 0 ;
9406 PyObject * obj4 = 0 ;
9407 PyObject * obj5 = 0 ;
9408 char *kwnames[] = {
9409 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9410 };
9411
9412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9415 if (obj1) {
9416 arg2 = (int) SWIG_AsInt(obj1);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 if (obj2) {
9420 {
9421 arg3 = &temp3;
9422 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9423 }
9424 }
9425 if (obj3) {
9426 {
9427 arg4 = &temp4;
9428 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9429 }
9430 }
9431 if (obj4) {
9432 arg5 = (long) SWIG_AsLong(obj4);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 if (obj5) {
9436 {
9437 arg6 = wxString_in_helper(obj5);
9438 if (arg6 == NULL) SWIG_fail;
9439 temp6 = True;
9440 }
9441 }
9442 {
9443 PyThreadState* __tstate = wxPyBeginAllowThreads();
9444 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9445
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
9449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9450 {
9451 if (temp6)
9452 delete arg6;
9453 }
9454 return resultobj;
9455 fail:
9456 {
9457 if (temp6)
9458 delete arg6;
9459 }
9460 return NULL;
9461 }
9462
9463
9464 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxPyVListBox *result;
9467 char *kwnames[] = {
9468 NULL
9469 };
9470
9471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 result = (wxPyVListBox *)new wxPyVListBox();
9475
9476 wxPyEndAllowThreads(__tstate);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9480 return resultobj;
9481 fail:
9482 return NULL;
9483 }
9484
9485
9486 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9487 PyObject *resultobj;
9488 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9489 PyObject *arg2 = (PyObject *) 0 ;
9490 PyObject *arg3 = (PyObject *) 0 ;
9491 PyObject * obj0 = 0 ;
9492 PyObject * obj1 = 0 ;
9493 PyObject * obj2 = 0 ;
9494 char *kwnames[] = {
9495 (char *) "self",(char *) "self",(char *) "_class", NULL
9496 };
9497
9498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9501 arg2 = obj1;
9502 arg3 = obj2;
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 (arg1)->_setCallbackInfo(arg2,arg3);
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 Py_INCREF(Py_None); resultobj = Py_None;
9511 return resultobj;
9512 fail:
9513 return NULL;
9514 }
9515
9516
9517 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9520 wxWindow *arg2 = (wxWindow *) 0 ;
9521 int arg3 = (int) wxID_ANY ;
9522 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9523 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9524 wxSize const &arg5_defvalue = wxDefaultSize ;
9525 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9526 long arg6 = (long) 0 ;
9527 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9528 wxString *arg7 = (wxString *) &arg7_defvalue ;
9529 bool result;
9530 wxPoint temp4 ;
9531 wxSize temp5 ;
9532 bool temp7 = False ;
9533 PyObject * obj0 = 0 ;
9534 PyObject * obj1 = 0 ;
9535 PyObject * obj2 = 0 ;
9536 PyObject * obj3 = 0 ;
9537 PyObject * obj4 = 0 ;
9538 PyObject * obj5 = 0 ;
9539 PyObject * obj6 = 0 ;
9540 char *kwnames[] = {
9541 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9542 };
9543
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9547 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9549 if (obj2) {
9550 arg3 = (int) SWIG_AsInt(obj2);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 if (obj3) {
9554 {
9555 arg4 = &temp4;
9556 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9557 }
9558 }
9559 if (obj4) {
9560 {
9561 arg5 = &temp5;
9562 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9563 }
9564 }
9565 if (obj5) {
9566 arg6 = (long) SWIG_AsLong(obj5);
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
9569 if (obj6) {
9570 {
9571 arg7 = wxString_in_helper(obj6);
9572 if (arg7 == NULL) SWIG_fail;
9573 temp7 = True;
9574 }
9575 }
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 {
9584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9585 }
9586 {
9587 if (temp7)
9588 delete arg7;
9589 }
9590 return resultobj;
9591 fail:
9592 {
9593 if (temp7)
9594 delete arg7;
9595 }
9596 return NULL;
9597 }
9598
9599
9600 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9601 PyObject *resultobj;
9602 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9603 size_t result;
9604 PyObject * obj0 = 0 ;
9605 char *kwnames[] = {
9606 (char *) "self", NULL
9607 };
9608
9609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9615
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9620 return resultobj;
9621 fail:
9622 return NULL;
9623 }
9624
9625
9626 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9627 PyObject *resultobj;
9628 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9629 bool result;
9630 PyObject * obj0 = 0 ;
9631 char *kwnames[] = {
9632 (char *) "self", NULL
9633 };
9634
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9641
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 {
9646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9647 }
9648 return resultobj;
9649 fail:
9650 return NULL;
9651 }
9652
9653
9654 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9655 PyObject *resultobj;
9656 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9657 int result;
9658 PyObject * obj0 = 0 ;
9659 char *kwnames[] = {
9660 (char *) "self", NULL
9661 };
9662
9663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 resultobj = SWIG_FromInt((int)result);
9674 return resultobj;
9675 fail:
9676 return NULL;
9677 }
9678
9679
9680 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj;
9682 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9683 size_t arg2 ;
9684 bool result;
9685 PyObject * obj0 = 0 ;
9686 PyObject * obj1 = 0 ;
9687 char *kwnames[] = {
9688 (char *) "self",(char *) "item", NULL
9689 };
9690
9691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9694 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 {
9697 PyThreadState* __tstate = wxPyBeginAllowThreads();
9698 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9699
9700 wxPyEndAllowThreads(__tstate);
9701 if (PyErr_Occurred()) SWIG_fail;
9702 }
9703 {
9704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9705 }
9706 return resultobj;
9707 fail:
9708 return NULL;
9709 }
9710
9711
9712 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9713 PyObject *resultobj;
9714 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9715 size_t arg2 ;
9716 bool result;
9717 PyObject * obj0 = 0 ;
9718 PyObject * obj1 = 0 ;
9719 char *kwnames[] = {
9720 (char *) "self",(char *) "item", NULL
9721 };
9722
9723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9726 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 {
9736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9737 }
9738 return resultobj;
9739 fail:
9740 return NULL;
9741 }
9742
9743
9744 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj;
9746 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9747 size_t result;
9748 PyObject * obj0 = 0 ;
9749 char *kwnames[] = {
9750 (char *) "self", NULL
9751 };
9752
9753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9759
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9764 return resultobj;
9765 fail:
9766 return NULL;
9767 }
9768
9769
9770 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9771 PyObject *resultobj;
9772 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9773 unsigned long *arg2 = 0 ;
9774 int result;
9775 PyObject * obj0 = 0 ;
9776 PyObject * obj1 = 0 ;
9777 char *kwnames[] = {
9778 (char *) "self",(char *) "cookie", NULL
9779 };
9780
9781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9785 SWIG_POINTER_EXCEPTION | 0)) == -1)
9786 SWIG_fail;
9787 if (arg2 == NULL) {
9788 PyErr_SetString(PyExc_TypeError,"null reference");
9789 SWIG_fail;
9790 }
9791 {
9792 PyThreadState* __tstate = wxPyBeginAllowThreads();
9793 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9794
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 resultobj = SWIG_FromInt((int)result);
9799 return resultobj;
9800 fail:
9801 return NULL;
9802 }
9803
9804
9805 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9806 PyObject *resultobj;
9807 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9808 unsigned long *arg2 = 0 ;
9809 int result;
9810 PyObject * obj0 = 0 ;
9811 PyObject * obj1 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self",(char *) "cookie", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9820 SWIG_POINTER_EXCEPTION | 0)) == -1)
9821 SWIG_fail;
9822 if (arg2 == NULL) {
9823 PyErr_SetString(PyExc_TypeError,"null reference");
9824 SWIG_fail;
9825 }
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
9833 resultobj = SWIG_FromInt((int)result);
9834 return resultobj;
9835 fail:
9836 return NULL;
9837 }
9838
9839
9840 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9841 PyObject *resultobj;
9842 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9843 wxPoint result;
9844 PyObject * obj0 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = ((wxPyVListBox const *)arg1)->GetMargins();
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 {
9860 wxPoint * resultptr;
9861 resultptr = new wxPoint((wxPoint &) result);
9862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9863 }
9864 return resultobj;
9865 fail:
9866 return NULL;
9867 }
9868
9869
9870 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj;
9872 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9873 wxColour *result;
9874 PyObject * obj0 = 0 ;
9875 char *kwnames[] = {
9876 (char *) "self", NULL
9877 };
9878
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9882 {
9883 PyThreadState* __tstate = wxPyBeginAllowThreads();
9884 {
9885 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9886 result = (wxColour *) &_result_ref;
9887 }
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9893 return resultobj;
9894 fail:
9895 return NULL;
9896 }
9897
9898
9899 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9900 PyObject *resultobj;
9901 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9902 size_t arg2 ;
9903 PyObject * obj0 = 0 ;
9904 PyObject * obj1 = 0 ;
9905 char *kwnames[] = {
9906 (char *) "self",(char *) "count", NULL
9907 };
9908
9909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9912 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9913 if (PyErr_Occurred()) SWIG_fail;
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 (arg1)->SetItemCount(arg2);
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 Py_INCREF(Py_None); resultobj = Py_None;
9922 return resultobj;
9923 fail:
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9931 PyObject * obj0 = 0 ;
9932 char *kwnames[] = {
9933 (char *) "self", NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 (arg1)->Clear();
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 Py_INCREF(Py_None); resultobj = Py_None;
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9956 int arg2 ;
9957 PyObject * obj0 = 0 ;
9958 PyObject * obj1 = 0 ;
9959 char *kwnames[] = {
9960 (char *) "self",(char *) "selection", NULL
9961 };
9962
9963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9966 arg2 = (int) SWIG_AsInt(obj1);
9967 if (PyErr_Occurred()) SWIG_fail;
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 (arg1)->SetSelection(arg2);
9971
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 Py_INCREF(Py_None); resultobj = Py_None;
9976 return resultobj;
9977 fail:
9978 return NULL;
9979 }
9980
9981
9982 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9983 PyObject *resultobj;
9984 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9985 size_t arg2 ;
9986 bool arg3 = (bool) True ;
9987 bool result;
9988 PyObject * obj0 = 0 ;
9989 PyObject * obj1 = 0 ;
9990 PyObject * obj2 = 0 ;
9991 char *kwnames[] = {
9992 (char *) "self",(char *) "item",(char *) "select", NULL
9993 };
9994
9995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9998 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 if (obj2) {
10001 arg3 = (bool) SWIG_AsBool(obj2);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = (bool)(arg1)->Select(arg2,arg3);
10007
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 {
10012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10013 }
10014 return resultobj;
10015 fail:
10016 return NULL;
10017 }
10018
10019
10020 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10021 PyObject *resultobj;
10022 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10023 size_t arg2 ;
10024 size_t arg3 ;
10025 bool result;
10026 PyObject * obj0 = 0 ;
10027 PyObject * obj1 = 0 ;
10028 PyObject * obj2 = 0 ;
10029 char *kwnames[] = {
10030 (char *) "self",(char *) "from",(char *) "to", NULL
10031 };
10032
10033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10036 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10039 if (PyErr_Occurred()) SWIG_fail;
10040 {
10041 PyThreadState* __tstate = wxPyBeginAllowThreads();
10042 result = (bool)(arg1)->SelectRange(arg2,arg3);
10043
10044 wxPyEndAllowThreads(__tstate);
10045 if (PyErr_Occurred()) SWIG_fail;
10046 }
10047 {
10048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10049 }
10050 return resultobj;
10051 fail:
10052 return NULL;
10053 }
10054
10055
10056 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10057 PyObject *resultobj;
10058 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10059 size_t arg2 ;
10060 PyObject * obj0 = 0 ;
10061 PyObject * obj1 = 0 ;
10062 char *kwnames[] = {
10063 (char *) "self",(char *) "item", NULL
10064 };
10065
10066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10069 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 {
10072 PyThreadState* __tstate = wxPyBeginAllowThreads();
10073 (arg1)->Toggle(arg2);
10074
10075 wxPyEndAllowThreads(__tstate);
10076 if (PyErr_Occurred()) SWIG_fail;
10077 }
10078 Py_INCREF(Py_None); resultobj = Py_None;
10079 return resultobj;
10080 fail:
10081 return NULL;
10082 }
10083
10084
10085 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10086 PyObject *resultobj;
10087 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10088 bool result;
10089 PyObject * obj0 = 0 ;
10090 char *kwnames[] = {
10091 (char *) "self", NULL
10092 };
10093
10094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 result = (bool)(arg1)->SelectAll();
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 {
10105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10106 }
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10114 PyObject *resultobj;
10115 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10116 bool result;
10117 PyObject * obj0 = 0 ;
10118 char *kwnames[] = {
10119 (char *) "self", NULL
10120 };
10121
10122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10125 {
10126 PyThreadState* __tstate = wxPyBeginAllowThreads();
10127 result = (bool)(arg1)->DeselectAll();
10128
10129 wxPyEndAllowThreads(__tstate);
10130 if (PyErr_Occurred()) SWIG_fail;
10131 }
10132 {
10133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10134 }
10135 return resultobj;
10136 fail:
10137 return NULL;
10138 }
10139
10140
10141 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10142 PyObject *resultobj;
10143 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10144 wxPoint *arg2 = 0 ;
10145 wxPoint temp2 ;
10146 PyObject * obj0 = 0 ;
10147 PyObject * obj1 = 0 ;
10148 char *kwnames[] = {
10149 (char *) "self",(char *) "pt", NULL
10150 };
10151
10152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10155 {
10156 arg2 = &temp2;
10157 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10158 }
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 (arg1)->SetMargins((wxPoint const &)*arg2);
10162
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 }
10166 Py_INCREF(Py_None); resultobj = Py_None;
10167 return resultobj;
10168 fail:
10169 return NULL;
10170 }
10171
10172
10173 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10174 PyObject *resultobj;
10175 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10176 int arg2 ;
10177 int arg3 ;
10178 PyObject * obj0 = 0 ;
10179 PyObject * obj1 = 0 ;
10180 PyObject * obj2 = 0 ;
10181 char *kwnames[] = {
10182 (char *) "self",(char *) "x",(char *) "y", NULL
10183 };
10184
10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10188 arg2 = (int) SWIG_AsInt(obj1);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 arg3 = (int) SWIG_AsInt(obj2);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 {
10193 PyThreadState* __tstate = wxPyBeginAllowThreads();
10194 (arg1)->SetMargins(arg2,arg3);
10195
10196 wxPyEndAllowThreads(__tstate);
10197 if (PyErr_Occurred()) SWIG_fail;
10198 }
10199 Py_INCREF(Py_None); resultobj = Py_None;
10200 return resultobj;
10201 fail:
10202 return NULL;
10203 }
10204
10205
10206 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10207 PyObject *resultobj;
10208 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10209 wxColour *arg2 = 0 ;
10210 wxColour temp2 ;
10211 PyObject * obj0 = 0 ;
10212 PyObject * obj1 = 0 ;
10213 char *kwnames[] = {
10214 (char *) "self",(char *) "col", NULL
10215 };
10216
10217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10220 {
10221 arg2 = &temp2;
10222 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10223 }
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 Py_INCREF(Py_None); resultobj = Py_None;
10232 return resultobj;
10233 fail:
10234 return NULL;
10235 }
10236
10237
10238 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10239 PyObject *obj;
10240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10241 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10242 Py_INCREF(obj);
10243 return Py_BuildValue((char *)"");
10244 }
10245 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxWindow *arg1 = (wxWindow *) 0 ;
10248 int arg2 = (int) wxID_ANY ;
10249 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10250 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10251 wxSize const &arg4_defvalue = wxDefaultSize ;
10252 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10253 long arg5 = (long) 0 ;
10254 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10255 wxString *arg6 = (wxString *) &arg6_defvalue ;
10256 wxPyHtmlListBox *result;
10257 wxPoint temp3 ;
10258 wxSize temp4 ;
10259 bool temp6 = False ;
10260 PyObject * obj0 = 0 ;
10261 PyObject * obj1 = 0 ;
10262 PyObject * obj2 = 0 ;
10263 PyObject * obj3 = 0 ;
10264 PyObject * obj4 = 0 ;
10265 PyObject * obj5 = 0 ;
10266 char *kwnames[] = {
10267 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10273 if (obj1) {
10274 arg2 = (int) SWIG_AsInt(obj1);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 if (obj2) {
10278 {
10279 arg3 = &temp3;
10280 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10281 }
10282 }
10283 if (obj3) {
10284 {
10285 arg4 = &temp4;
10286 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10287 }
10288 }
10289 if (obj4) {
10290 arg5 = (long) SWIG_AsLong(obj4);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 if (obj5) {
10294 {
10295 arg6 = wxString_in_helper(obj5);
10296 if (arg6 == NULL) SWIG_fail;
10297 temp6 = True;
10298 }
10299 }
10300 {
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10303
10304 wxPyEndAllowThreads(__tstate);
10305 if (PyErr_Occurred()) SWIG_fail;
10306 }
10307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10308 {
10309 if (temp6)
10310 delete arg6;
10311 }
10312 return resultobj;
10313 fail:
10314 {
10315 if (temp6)
10316 delete arg6;
10317 }
10318 return NULL;
10319 }
10320
10321
10322 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj;
10324 wxPyHtmlListBox *result;
10325 char *kwnames[] = {
10326 NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10338 return resultobj;
10339 fail:
10340 return NULL;
10341 }
10342
10343
10344 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10345 PyObject *resultobj;
10346 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10347 PyObject *arg2 = (PyObject *) 0 ;
10348 PyObject *arg3 = (PyObject *) 0 ;
10349 PyObject * obj0 = 0 ;
10350 PyObject * obj1 = 0 ;
10351 PyObject * obj2 = 0 ;
10352 char *kwnames[] = {
10353 (char *) "self",(char *) "self",(char *) "_class", NULL
10354 };
10355
10356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10359 arg2 = obj1;
10360 arg3 = obj2;
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 (arg1)->_setCallbackInfo(arg2,arg3);
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 Py_INCREF(Py_None); resultobj = Py_None;
10369 return resultobj;
10370 fail:
10371 return NULL;
10372 }
10373
10374
10375 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10376 PyObject *resultobj;
10377 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10378 wxWindow *arg2 = (wxWindow *) 0 ;
10379 int arg3 = (int) wxID_ANY ;
10380 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10381 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10382 wxSize const &arg5_defvalue = wxDefaultSize ;
10383 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10384 long arg6 = (long) 0 ;
10385 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10386 wxString *arg7 = (wxString *) &arg7_defvalue ;
10387 bool result;
10388 wxPoint temp4 ;
10389 wxSize temp5 ;
10390 bool temp7 = False ;
10391 PyObject * obj0 = 0 ;
10392 PyObject * obj1 = 0 ;
10393 PyObject * obj2 = 0 ;
10394 PyObject * obj3 = 0 ;
10395 PyObject * obj4 = 0 ;
10396 PyObject * obj5 = 0 ;
10397 PyObject * obj6 = 0 ;
10398 char *kwnames[] = {
10399 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10407 if (obj2) {
10408 arg3 = (int) SWIG_AsInt(obj2);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 if (obj3) {
10412 {
10413 arg4 = &temp4;
10414 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10415 }
10416 }
10417 if (obj4) {
10418 {
10419 arg5 = &temp5;
10420 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10421 }
10422 }
10423 if (obj5) {
10424 arg6 = (long) SWIG_AsLong(obj5);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 }
10427 if (obj6) {
10428 {
10429 arg7 = wxString_in_helper(obj6);
10430 if (arg7 == NULL) SWIG_fail;
10431 temp7 = True;
10432 }
10433 }
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10437
10438 wxPyEndAllowThreads(__tstate);
10439 if (PyErr_Occurred()) SWIG_fail;
10440 }
10441 {
10442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10443 }
10444 {
10445 if (temp7)
10446 delete arg7;
10447 }
10448 return resultobj;
10449 fail:
10450 {
10451 if (temp7)
10452 delete arg7;
10453 }
10454 return NULL;
10455 }
10456
10457
10458 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10461 PyObject * obj0 = 0 ;
10462 char *kwnames[] = {
10463 (char *) "self", NULL
10464 };
10465
10466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 (arg1)->RefreshAll();
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 Py_INCREF(Py_None); resultobj = Py_None;
10477 return resultobj;
10478 fail:
10479 return NULL;
10480 }
10481
10482
10483 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10486 size_t arg2 ;
10487 PyObject * obj0 = 0 ;
10488 PyObject * obj1 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self",(char *) "count", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10496 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 {
10499 PyThreadState* __tstate = wxPyBeginAllowThreads();
10500 (arg1)->SetItemCount(arg2);
10501
10502 wxPyEndAllowThreads(__tstate);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 Py_INCREF(Py_None); resultobj = Py_None;
10506 return resultobj;
10507 fail:
10508 return NULL;
10509 }
10510
10511
10512 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10513 PyObject *obj;
10514 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10515 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10516 Py_INCREF(obj);
10517 return Py_BuildValue((char *)"");
10518 }
10519 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10520 PyObject *resultobj;
10521 wxTaskBarIcon *result;
10522 char *kwnames[] = {
10523 NULL
10524 };
10525
10526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10527 {
10528 PyThreadState* __tstate = wxPyBeginAllowThreads();
10529 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10530
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
10534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10535 return resultobj;
10536 fail:
10537 return NULL;
10538 }
10539
10540
10541 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10542 PyObject *resultobj;
10543 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10544 PyObject * obj0 = 0 ;
10545 char *kwnames[] = {
10546 (char *) "self", NULL
10547 };
10548
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 delete arg1;
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 Py_INCREF(Py_None); resultobj = Py_None;
10560 return resultobj;
10561 fail:
10562 return NULL;
10563 }
10564
10565
10566 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10567 PyObject *resultobj;
10568 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10569 bool result;
10570 PyObject * obj0 = 0 ;
10571 char *kwnames[] = {
10572 (char *) "self", NULL
10573 };
10574
10575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 {
10586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10587 }
10588 return resultobj;
10589 fail:
10590 return NULL;
10591 }
10592
10593
10594 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10595 PyObject *resultobj;
10596 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10597 bool result;
10598 PyObject * obj0 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10609
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 {
10614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10615 }
10616 return resultobj;
10617 fail:
10618 return NULL;
10619 }
10620
10621
10622 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10623 PyObject *resultobj;
10624 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10625 wxIcon *arg2 = 0 ;
10626 wxString const &arg3_defvalue = wxPyEmptyString ;
10627 wxString *arg3 = (wxString *) &arg3_defvalue ;
10628 bool result;
10629 bool temp3 = False ;
10630 PyObject * obj0 = 0 ;
10631 PyObject * obj1 = 0 ;
10632 PyObject * obj2 = 0 ;
10633 char *kwnames[] = {
10634 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10635 };
10636
10637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10641 SWIG_POINTER_EXCEPTION | 0)) == -1)
10642 SWIG_fail;
10643 if (arg2 == NULL) {
10644 PyErr_SetString(PyExc_TypeError,"null reference");
10645 SWIG_fail;
10646 }
10647 if (obj2) {
10648 {
10649 arg3 = wxString_in_helper(obj2);
10650 if (arg3 == NULL) SWIG_fail;
10651 temp3 = True;
10652 }
10653 }
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10657
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
10661 {
10662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10663 }
10664 {
10665 if (temp3)
10666 delete arg3;
10667 }
10668 return resultobj;
10669 fail:
10670 {
10671 if (temp3)
10672 delete arg3;
10673 }
10674 return NULL;
10675 }
10676
10677
10678 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10679 PyObject *resultobj;
10680 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10681 bool result;
10682 PyObject * obj0 = 0 ;
10683 char *kwnames[] = {
10684 (char *) "self", NULL
10685 };
10686
10687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10690 {
10691 PyThreadState* __tstate = wxPyBeginAllowThreads();
10692 result = (bool)(arg1)->RemoveIcon();
10693
10694 wxPyEndAllowThreads(__tstate);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 }
10697 {
10698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10699 }
10700 return resultobj;
10701 fail:
10702 return NULL;
10703 }
10704
10705
10706 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10707 PyObject *resultobj;
10708 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10709 wxMenu *arg2 = (wxMenu *) 0 ;
10710 bool result;
10711 PyObject * obj0 = 0 ;
10712 PyObject * obj1 = 0 ;
10713 char *kwnames[] = {
10714 (char *) "self",(char *) "menu", NULL
10715 };
10716
10717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10722 {
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
10724 result = (bool)(arg1)->PopupMenu(arg2);
10725
10726 wxPyEndAllowThreads(__tstate);
10727 if (PyErr_Occurred()) SWIG_fail;
10728 }
10729 {
10730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10731 }
10732 return resultobj;
10733 fail:
10734 return NULL;
10735 }
10736
10737
10738 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10739 PyObject *obj;
10740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10741 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10742 Py_INCREF(obj);
10743 return Py_BuildValue((char *)"");
10744 }
10745 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10746 PyObject *resultobj;
10747 wxEventType arg1 ;
10748 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10749 wxTaskBarIconEvent *result;
10750 PyObject * obj0 = 0 ;
10751 PyObject * obj1 = 0 ;
10752 char *kwnames[] = {
10753 (char *) "evtType",(char *) "tbIcon", NULL
10754 };
10755
10756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10757 arg1 = (wxEventType) SWIG_AsInt(obj0);
10758 if (PyErr_Occurred()) SWIG_fail;
10759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10764
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
10768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10769 return resultobj;
10770 fail:
10771 return NULL;
10772 }
10773
10774
10775 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10776 PyObject *obj;
10777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10778 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10779 Py_INCREF(obj);
10780 return Py_BuildValue((char *)"");
10781 }
10782 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10783 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10784 return 1;
10785 }
10786
10787
10788 static PyObject *_wrap_FileSelectorPromptStr_get() {
10789 PyObject *pyobj;
10790
10791 {
10792 #if wxUSE_UNICODE
10793 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10794 #else
10795 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10796 #endif
10797 }
10798 return pyobj;
10799 }
10800
10801
10802 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10803 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10804 return 1;
10805 }
10806
10807
10808 static PyObject *_wrap_DirSelectorPromptStr_get() {
10809 PyObject *pyobj;
10810
10811 {
10812 #if wxUSE_UNICODE
10813 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10814 #else
10815 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10816 #endif
10817 }
10818 return pyobj;
10819 }
10820
10821
10822 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10823 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10824 return 1;
10825 }
10826
10827
10828 static PyObject *_wrap_DirDialogNameStr_get() {
10829 PyObject *pyobj;
10830
10831 {
10832 #if wxUSE_UNICODE
10833 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10834 #else
10835 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10836 #endif
10837 }
10838 return pyobj;
10839 }
10840
10841
10842 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10843 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10844 return 1;
10845 }
10846
10847
10848 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10849 PyObject *pyobj;
10850
10851 {
10852 #if wxUSE_UNICODE
10853 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10854 #else
10855 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10856 #endif
10857 }
10858 return pyobj;
10859 }
10860
10861
10862 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10863 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10864 return 1;
10865 }
10866
10867
10868 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10869 PyObject *pyobj;
10870
10871 {
10872 #if wxUSE_UNICODE
10873 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10874 #else
10875 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10876 #endif
10877 }
10878 return pyobj;
10879 }
10880
10881
10882 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10883 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10884 return 1;
10885 }
10886
10887
10888 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10889 PyObject *pyobj;
10890
10891 {
10892 #if wxUSE_UNICODE
10893 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10894 #else
10895 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10896 #endif
10897 }
10898 return pyobj;
10899 }
10900
10901
10902 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10903 PyObject *resultobj;
10904 wxColourData *result;
10905 char *kwnames[] = {
10906 NULL
10907 };
10908
10909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
10912 result = (wxColourData *)new wxColourData();
10913
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10918 return resultobj;
10919 fail:
10920 return NULL;
10921 }
10922
10923
10924 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10925 PyObject *resultobj;
10926 wxColourData *arg1 = (wxColourData *) 0 ;
10927 PyObject * obj0 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self", NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 delete arg1;
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 Py_INCREF(Py_None); resultobj = Py_None;
10943 return resultobj;
10944 fail:
10945 return NULL;
10946 }
10947
10948
10949 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10950 PyObject *resultobj;
10951 wxColourData *arg1 = (wxColourData *) 0 ;
10952 bool result;
10953 PyObject * obj0 = 0 ;
10954 char *kwnames[] = {
10955 (char *) "self", NULL
10956 };
10957
10958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10961 {
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 result = (bool)(arg1)->GetChooseFull();
10964
10965 wxPyEndAllowThreads(__tstate);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 {
10969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10970 }
10971 return resultobj;
10972 fail:
10973 return NULL;
10974 }
10975
10976
10977 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10978 PyObject *resultobj;
10979 wxColourData *arg1 = (wxColourData *) 0 ;
10980 wxColour result;
10981 PyObject * obj0 = 0 ;
10982 char *kwnames[] = {
10983 (char *) "self", NULL
10984 };
10985
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10989 {
10990 PyThreadState* __tstate = wxPyBeginAllowThreads();
10991 result = (arg1)->GetColour();
10992
10993 wxPyEndAllowThreads(__tstate);
10994 if (PyErr_Occurred()) SWIG_fail;
10995 }
10996 {
10997 wxColour * resultptr;
10998 resultptr = new wxColour((wxColour &) result);
10999 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11000 }
11001 return resultobj;
11002 fail:
11003 return NULL;
11004 }
11005
11006
11007 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11008 PyObject *resultobj;
11009 wxColourData *arg1 = (wxColourData *) 0 ;
11010 int arg2 ;
11011 wxColour result;
11012 PyObject * obj0 = 0 ;
11013 PyObject * obj1 = 0 ;
11014 char *kwnames[] = {
11015 (char *) "self",(char *) "i", NULL
11016 };
11017
11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11021 arg2 = (int) SWIG_AsInt(obj1);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 {
11024 PyThreadState* __tstate = wxPyBeginAllowThreads();
11025 result = (arg1)->GetCustomColour(arg2);
11026
11027 wxPyEndAllowThreads(__tstate);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 }
11030 {
11031 wxColour * resultptr;
11032 resultptr = new wxColour((wxColour &) result);
11033 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11034 }
11035 return resultobj;
11036 fail:
11037 return NULL;
11038 }
11039
11040
11041 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11042 PyObject *resultobj;
11043 wxColourData *arg1 = (wxColourData *) 0 ;
11044 int arg2 ;
11045 PyObject * obj0 = 0 ;
11046 PyObject * obj1 = 0 ;
11047 char *kwnames[] = {
11048 (char *) "self",(char *) "flag", NULL
11049 };
11050
11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11054 arg2 = (int) SWIG_AsInt(obj1);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 (arg1)->SetChooseFull(arg2);
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 Py_INCREF(Py_None); resultobj = Py_None;
11064 return resultobj;
11065 fail:
11066 return NULL;
11067 }
11068
11069
11070 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11071 PyObject *resultobj;
11072 wxColourData *arg1 = (wxColourData *) 0 ;
11073 wxColour *arg2 = 0 ;
11074 wxColour temp2 ;
11075 PyObject * obj0 = 0 ;
11076 PyObject * obj1 = 0 ;
11077 char *kwnames[] = {
11078 (char *) "self",(char *) "colour", NULL
11079 };
11080
11081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11084 {
11085 arg2 = &temp2;
11086 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11087 }
11088 {
11089 PyThreadState* __tstate = wxPyBeginAllowThreads();
11090 (arg1)->SetColour((wxColour const &)*arg2);
11091
11092 wxPyEndAllowThreads(__tstate);
11093 if (PyErr_Occurred()) SWIG_fail;
11094 }
11095 Py_INCREF(Py_None); resultobj = Py_None;
11096 return resultobj;
11097 fail:
11098 return NULL;
11099 }
11100
11101
11102 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11103 PyObject *resultobj;
11104 wxColourData *arg1 = (wxColourData *) 0 ;
11105 int arg2 ;
11106 wxColour *arg3 = 0 ;
11107 wxColour temp3 ;
11108 PyObject * obj0 = 0 ;
11109 PyObject * obj1 = 0 ;
11110 PyObject * obj2 = 0 ;
11111 char *kwnames[] = {
11112 (char *) "self",(char *) "i",(char *) "colour", NULL
11113 };
11114
11115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11118 arg2 = (int) SWIG_AsInt(obj1);
11119 if (PyErr_Occurred()) SWIG_fail;
11120 {
11121 arg3 = &temp3;
11122 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11123 }
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 Py_INCREF(Py_None); resultobj = Py_None;
11132 return resultobj;
11133 fail:
11134 return NULL;
11135 }
11136
11137
11138 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11139 PyObject *obj;
11140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11141 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11142 Py_INCREF(obj);
11143 return Py_BuildValue((char *)"");
11144 }
11145 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11146 PyObject *resultobj;
11147 wxWindow *arg1 = (wxWindow *) 0 ;
11148 wxColourData *arg2 = (wxColourData *) NULL ;
11149 wxColourDialog *result;
11150 PyObject * obj0 = 0 ;
11151 PyObject * obj1 = 0 ;
11152 char *kwnames[] = {
11153 (char *) "parent",(char *) "data", NULL
11154 };
11155
11156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11159 if (obj1) {
11160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11162 }
11163 {
11164 PyThreadState* __tstate = wxPyBeginAllowThreads();
11165 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11166
11167 wxPyEndAllowThreads(__tstate);
11168 if (PyErr_Occurred()) SWIG_fail;
11169 }
11170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11171 return resultobj;
11172 fail:
11173 return NULL;
11174 }
11175
11176
11177 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11178 PyObject *resultobj;
11179 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11180 wxColourData *result;
11181 PyObject * obj0 = 0 ;
11182 char *kwnames[] = {
11183 (char *) "self", NULL
11184 };
11185
11186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11189 {
11190 PyThreadState* __tstate = wxPyBeginAllowThreads();
11191 {
11192 wxColourData &_result_ref = (arg1)->GetColourData();
11193 result = (wxColourData *) &_result_ref;
11194 }
11195
11196 wxPyEndAllowThreads(__tstate);
11197 if (PyErr_Occurred()) SWIG_fail;
11198 }
11199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11200 return resultobj;
11201 fail:
11202 return NULL;
11203 }
11204
11205
11206 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11207 PyObject *obj;
11208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11209 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11210 Py_INCREF(obj);
11211 return Py_BuildValue((char *)"");
11212 }
11213 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxWindow *arg1 = (wxWindow *) 0 ;
11216 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11217 wxString *arg2 = (wxString *) &arg2_defvalue ;
11218 wxString const &arg3_defvalue = wxPyEmptyString ;
11219 wxString *arg3 = (wxString *) &arg3_defvalue ;
11220 long arg4 = (long) 0 ;
11221 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11222 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11223 wxSize const &arg6_defvalue = wxDefaultSize ;
11224 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11225 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11226 wxString *arg7 = (wxString *) &arg7_defvalue ;
11227 wxDirDialog *result;
11228 bool temp2 = False ;
11229 bool temp3 = False ;
11230 wxPoint temp5 ;
11231 wxSize temp6 ;
11232 bool temp7 = False ;
11233 PyObject * obj0 = 0 ;
11234 PyObject * obj1 = 0 ;
11235 PyObject * obj2 = 0 ;
11236 PyObject * obj3 = 0 ;
11237 PyObject * obj4 = 0 ;
11238 PyObject * obj5 = 0 ;
11239 PyObject * obj6 = 0 ;
11240 char *kwnames[] = {
11241 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11247 if (obj1) {
11248 {
11249 arg2 = wxString_in_helper(obj1);
11250 if (arg2 == NULL) SWIG_fail;
11251 temp2 = True;
11252 }
11253 }
11254 if (obj2) {
11255 {
11256 arg3 = wxString_in_helper(obj2);
11257 if (arg3 == NULL) SWIG_fail;
11258 temp3 = True;
11259 }
11260 }
11261 if (obj3) {
11262 arg4 = (long) SWIG_AsLong(obj3);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 }
11265 if (obj4) {
11266 {
11267 arg5 = &temp5;
11268 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11269 }
11270 }
11271 if (obj5) {
11272 {
11273 arg6 = &temp6;
11274 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11275 }
11276 }
11277 if (obj6) {
11278 {
11279 arg7 = wxString_in_helper(obj6);
11280 if (arg7 == NULL) SWIG_fail;
11281 temp7 = True;
11282 }
11283 }
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11287
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11292 {
11293 if (temp2)
11294 delete arg2;
11295 }
11296 {
11297 if (temp3)
11298 delete arg3;
11299 }
11300 {
11301 if (temp7)
11302 delete arg7;
11303 }
11304 return resultobj;
11305 fail:
11306 {
11307 if (temp2)
11308 delete arg2;
11309 }
11310 {
11311 if (temp3)
11312 delete arg3;
11313 }
11314 {
11315 if (temp7)
11316 delete arg7;
11317 }
11318 return NULL;
11319 }
11320
11321
11322 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11323 PyObject *resultobj;
11324 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11325 wxString result;
11326 PyObject * obj0 = 0 ;
11327 char *kwnames[] = {
11328 (char *) "self", NULL
11329 };
11330
11331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 result = (arg1)->GetPath();
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 {
11342 #if wxUSE_UNICODE
11343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11344 #else
11345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11346 #endif
11347 }
11348 return resultobj;
11349 fail:
11350 return NULL;
11351 }
11352
11353
11354 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11355 PyObject *resultobj;
11356 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11357 wxString result;
11358 PyObject * obj0 = 0 ;
11359 char *kwnames[] = {
11360 (char *) "self", NULL
11361 };
11362
11363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11366 {
11367 PyThreadState* __tstate = wxPyBeginAllowThreads();
11368 result = (arg1)->GetMessage();
11369
11370 wxPyEndAllowThreads(__tstate);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 {
11374 #if wxUSE_UNICODE
11375 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11376 #else
11377 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11378 #endif
11379 }
11380 return resultobj;
11381 fail:
11382 return NULL;
11383 }
11384
11385
11386 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11387 PyObject *resultobj;
11388 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11389 long result;
11390 PyObject * obj0 = 0 ;
11391 char *kwnames[] = {
11392 (char *) "self", NULL
11393 };
11394
11395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11398 {
11399 PyThreadState* __tstate = wxPyBeginAllowThreads();
11400 result = (long)(arg1)->GetStyle();
11401
11402 wxPyEndAllowThreads(__tstate);
11403 if (PyErr_Occurred()) SWIG_fail;
11404 }
11405 resultobj = SWIG_FromLong((long)result);
11406 return resultobj;
11407 fail:
11408 return NULL;
11409 }
11410
11411
11412 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11413 PyObject *resultobj;
11414 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11415 wxString *arg2 = 0 ;
11416 bool temp2 = False ;
11417 PyObject * obj0 = 0 ;
11418 PyObject * obj1 = 0 ;
11419 char *kwnames[] = {
11420 (char *) "self",(char *) "message", NULL
11421 };
11422
11423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11426 {
11427 arg2 = wxString_in_helper(obj1);
11428 if (arg2 == NULL) SWIG_fail;
11429 temp2 = True;
11430 }
11431 {
11432 PyThreadState* __tstate = wxPyBeginAllowThreads();
11433 (arg1)->SetMessage((wxString const &)*arg2);
11434
11435 wxPyEndAllowThreads(__tstate);
11436 if (PyErr_Occurred()) SWIG_fail;
11437 }
11438 Py_INCREF(Py_None); resultobj = Py_None;
11439 {
11440 if (temp2)
11441 delete arg2;
11442 }
11443 return resultobj;
11444 fail:
11445 {
11446 if (temp2)
11447 delete arg2;
11448 }
11449 return NULL;
11450 }
11451
11452
11453 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11454 PyObject *resultobj;
11455 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11456 wxString *arg2 = 0 ;
11457 bool temp2 = False ;
11458 PyObject * obj0 = 0 ;
11459 PyObject * obj1 = 0 ;
11460 char *kwnames[] = {
11461 (char *) "self",(char *) "path", NULL
11462 };
11463
11464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11467 {
11468 arg2 = wxString_in_helper(obj1);
11469 if (arg2 == NULL) SWIG_fail;
11470 temp2 = True;
11471 }
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
11474 (arg1)->SetPath((wxString const &)*arg2);
11475
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 Py_INCREF(Py_None); resultobj = Py_None;
11480 {
11481 if (temp2)
11482 delete arg2;
11483 }
11484 return resultobj;
11485 fail:
11486 {
11487 if (temp2)
11488 delete arg2;
11489 }
11490 return NULL;
11491 }
11492
11493
11494 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11495 PyObject *obj;
11496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11497 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11498 Py_INCREF(obj);
11499 return Py_BuildValue((char *)"");
11500 }
11501 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11502 PyObject *resultobj;
11503 wxWindow *arg1 = (wxWindow *) 0 ;
11504 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11505 wxString *arg2 = (wxString *) &arg2_defvalue ;
11506 wxString const &arg3_defvalue = wxPyEmptyString ;
11507 wxString *arg3 = (wxString *) &arg3_defvalue ;
11508 wxString const &arg4_defvalue = wxPyEmptyString ;
11509 wxString *arg4 = (wxString *) &arg4_defvalue ;
11510 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11511 wxString *arg5 = (wxString *) &arg5_defvalue ;
11512 long arg6 = (long) 0 ;
11513 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11514 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11515 wxFileDialog *result;
11516 bool temp2 = False ;
11517 bool temp3 = False ;
11518 bool temp4 = False ;
11519 bool temp5 = False ;
11520 wxPoint temp7 ;
11521 PyObject * obj0 = 0 ;
11522 PyObject * obj1 = 0 ;
11523 PyObject * obj2 = 0 ;
11524 PyObject * obj3 = 0 ;
11525 PyObject * obj4 = 0 ;
11526 PyObject * obj5 = 0 ;
11527 PyObject * obj6 = 0 ;
11528 char *kwnames[] = {
11529 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11530 };
11531
11532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11535 if (obj1) {
11536 {
11537 arg2 = wxString_in_helper(obj1);
11538 if (arg2 == NULL) SWIG_fail;
11539 temp2 = True;
11540 }
11541 }
11542 if (obj2) {
11543 {
11544 arg3 = wxString_in_helper(obj2);
11545 if (arg3 == NULL) SWIG_fail;
11546 temp3 = True;
11547 }
11548 }
11549 if (obj3) {
11550 {
11551 arg4 = wxString_in_helper(obj3);
11552 if (arg4 == NULL) SWIG_fail;
11553 temp4 = True;
11554 }
11555 }
11556 if (obj4) {
11557 {
11558 arg5 = wxString_in_helper(obj4);
11559 if (arg5 == NULL) SWIG_fail;
11560 temp5 = True;
11561 }
11562 }
11563 if (obj5) {
11564 arg6 = (long) SWIG_AsLong(obj5);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 if (obj6) {
11568 {
11569 arg7 = &temp7;
11570 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11571 }
11572 }
11573 {
11574 PyThreadState* __tstate = wxPyBeginAllowThreads();
11575 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11576
11577 wxPyEndAllowThreads(__tstate);
11578 if (PyErr_Occurred()) SWIG_fail;
11579 }
11580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11581 {
11582 if (temp2)
11583 delete arg2;
11584 }
11585 {
11586 if (temp3)
11587 delete arg3;
11588 }
11589 {
11590 if (temp4)
11591 delete arg4;
11592 }
11593 {
11594 if (temp5)
11595 delete arg5;
11596 }
11597 return resultobj;
11598 fail:
11599 {
11600 if (temp2)
11601 delete arg2;
11602 }
11603 {
11604 if (temp3)
11605 delete arg3;
11606 }
11607 {
11608 if (temp4)
11609 delete arg4;
11610 }
11611 {
11612 if (temp5)
11613 delete arg5;
11614 }
11615 return NULL;
11616 }
11617
11618
11619 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11620 PyObject *resultobj;
11621 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11622 wxString *arg2 = 0 ;
11623 bool temp2 = False ;
11624 PyObject * obj0 = 0 ;
11625 PyObject * obj1 = 0 ;
11626 char *kwnames[] = {
11627 (char *) "self",(char *) "message", NULL
11628 };
11629
11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11633 {
11634 arg2 = wxString_in_helper(obj1);
11635 if (arg2 == NULL) SWIG_fail;
11636 temp2 = True;
11637 }
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 (arg1)->SetMessage((wxString const &)*arg2);
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
11645 Py_INCREF(Py_None); resultobj = Py_None;
11646 {
11647 if (temp2)
11648 delete arg2;
11649 }
11650 return resultobj;
11651 fail:
11652 {
11653 if (temp2)
11654 delete arg2;
11655 }
11656 return NULL;
11657 }
11658
11659
11660 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11661 PyObject *resultobj;
11662 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11663 wxString *arg2 = 0 ;
11664 bool temp2 = False ;
11665 PyObject * obj0 = 0 ;
11666 PyObject * obj1 = 0 ;
11667 char *kwnames[] = {
11668 (char *) "self",(char *) "path", NULL
11669 };
11670
11671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11674 {
11675 arg2 = wxString_in_helper(obj1);
11676 if (arg2 == NULL) SWIG_fail;
11677 temp2 = True;
11678 }
11679 {
11680 PyThreadState* __tstate = wxPyBeginAllowThreads();
11681 (arg1)->SetPath((wxString const &)*arg2);
11682
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 Py_INCREF(Py_None); resultobj = Py_None;
11687 {
11688 if (temp2)
11689 delete arg2;
11690 }
11691 return resultobj;
11692 fail:
11693 {
11694 if (temp2)
11695 delete arg2;
11696 }
11697 return NULL;
11698 }
11699
11700
11701 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11702 PyObject *resultobj;
11703 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11704 wxString *arg2 = 0 ;
11705 bool temp2 = False ;
11706 PyObject * obj0 = 0 ;
11707 PyObject * obj1 = 0 ;
11708 char *kwnames[] = {
11709 (char *) "self",(char *) "dir", NULL
11710 };
11711
11712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11715 {
11716 arg2 = wxString_in_helper(obj1);
11717 if (arg2 == NULL) SWIG_fail;
11718 temp2 = True;
11719 }
11720 {
11721 PyThreadState* __tstate = wxPyBeginAllowThreads();
11722 (arg1)->SetDirectory((wxString const &)*arg2);
11723
11724 wxPyEndAllowThreads(__tstate);
11725 if (PyErr_Occurred()) SWIG_fail;
11726 }
11727 Py_INCREF(Py_None); resultobj = Py_None;
11728 {
11729 if (temp2)
11730 delete arg2;
11731 }
11732 return resultobj;
11733 fail:
11734 {
11735 if (temp2)
11736 delete arg2;
11737 }
11738 return NULL;
11739 }
11740
11741
11742 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11743 PyObject *resultobj;
11744 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11745 wxString *arg2 = 0 ;
11746 bool temp2 = False ;
11747 PyObject * obj0 = 0 ;
11748 PyObject * obj1 = 0 ;
11749 char *kwnames[] = {
11750 (char *) "self",(char *) "name", NULL
11751 };
11752
11753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11756 {
11757 arg2 = wxString_in_helper(obj1);
11758 if (arg2 == NULL) SWIG_fail;
11759 temp2 = True;
11760 }
11761 {
11762 PyThreadState* __tstate = wxPyBeginAllowThreads();
11763 (arg1)->SetFilename((wxString const &)*arg2);
11764
11765 wxPyEndAllowThreads(__tstate);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 }
11768 Py_INCREF(Py_None); resultobj = Py_None;
11769 {
11770 if (temp2)
11771 delete arg2;
11772 }
11773 return resultobj;
11774 fail:
11775 {
11776 if (temp2)
11777 delete arg2;
11778 }
11779 return NULL;
11780 }
11781
11782
11783 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj;
11785 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11786 wxString *arg2 = 0 ;
11787 bool temp2 = False ;
11788 PyObject * obj0 = 0 ;
11789 PyObject * obj1 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "self",(char *) "wildCard", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11797 {
11798 arg2 = wxString_in_helper(obj1);
11799 if (arg2 == NULL) SWIG_fail;
11800 temp2 = True;
11801 }
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 (arg1)->SetWildcard((wxString const &)*arg2);
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 Py_INCREF(Py_None); resultobj = Py_None;
11810 {
11811 if (temp2)
11812 delete arg2;
11813 }
11814 return resultobj;
11815 fail:
11816 {
11817 if (temp2)
11818 delete arg2;
11819 }
11820 return NULL;
11821 }
11822
11823
11824 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj;
11826 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11827 long arg2 ;
11828 PyObject * obj0 = 0 ;
11829 PyObject * obj1 = 0 ;
11830 char *kwnames[] = {
11831 (char *) "self",(char *) "style", NULL
11832 };
11833
11834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11837 arg2 = (long) SWIG_AsLong(obj1);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 {
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 (arg1)->SetStyle(arg2);
11842
11843 wxPyEndAllowThreads(__tstate);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
11846 Py_INCREF(Py_None); resultobj = Py_None;
11847 return resultobj;
11848 fail:
11849 return NULL;
11850 }
11851
11852
11853 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11854 PyObject *resultobj;
11855 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11856 int arg2 ;
11857 PyObject * obj0 = 0 ;
11858 PyObject * obj1 = 0 ;
11859 char *kwnames[] = {
11860 (char *) "self",(char *) "filterIndex", NULL
11861 };
11862
11863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11866 arg2 = (int) SWIG_AsInt(obj1);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 {
11869 PyThreadState* __tstate = wxPyBeginAllowThreads();
11870 (arg1)->SetFilterIndex(arg2);
11871
11872 wxPyEndAllowThreads(__tstate);
11873 if (PyErr_Occurred()) SWIG_fail;
11874 }
11875 Py_INCREF(Py_None); resultobj = Py_None;
11876 return resultobj;
11877 fail:
11878 return NULL;
11879 }
11880
11881
11882 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11883 PyObject *resultobj;
11884 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11885 wxString result;
11886 PyObject * obj0 = 0 ;
11887 char *kwnames[] = {
11888 (char *) "self", NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11894 {
11895 PyThreadState* __tstate = wxPyBeginAllowThreads();
11896 result = ((wxFileDialog const *)arg1)->GetMessage();
11897
11898 wxPyEndAllowThreads(__tstate);
11899 if (PyErr_Occurred()) SWIG_fail;
11900 }
11901 {
11902 #if wxUSE_UNICODE
11903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11904 #else
11905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11906 #endif
11907 }
11908 return resultobj;
11909 fail:
11910 return NULL;
11911 }
11912
11913
11914 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11915 PyObject *resultobj;
11916 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11917 wxString result;
11918 PyObject * obj0 = 0 ;
11919 char *kwnames[] = {
11920 (char *) "self", NULL
11921 };
11922
11923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11926 {
11927 PyThreadState* __tstate = wxPyBeginAllowThreads();
11928 result = ((wxFileDialog const *)arg1)->GetPath();
11929
11930 wxPyEndAllowThreads(__tstate);
11931 if (PyErr_Occurred()) SWIG_fail;
11932 }
11933 {
11934 #if wxUSE_UNICODE
11935 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11936 #else
11937 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11938 #endif
11939 }
11940 return resultobj;
11941 fail:
11942 return NULL;
11943 }
11944
11945
11946 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11947 PyObject *resultobj;
11948 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11949 wxString result;
11950 PyObject * obj0 = 0 ;
11951 char *kwnames[] = {
11952 (char *) "self", NULL
11953 };
11954
11955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11958 {
11959 PyThreadState* __tstate = wxPyBeginAllowThreads();
11960 result = ((wxFileDialog const *)arg1)->GetDirectory();
11961
11962 wxPyEndAllowThreads(__tstate);
11963 if (PyErr_Occurred()) SWIG_fail;
11964 }
11965 {
11966 #if wxUSE_UNICODE
11967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11968 #else
11969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11970 #endif
11971 }
11972 return resultobj;
11973 fail:
11974 return NULL;
11975 }
11976
11977
11978 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11979 PyObject *resultobj;
11980 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11981 wxString result;
11982 PyObject * obj0 = 0 ;
11983 char *kwnames[] = {
11984 (char *) "self", NULL
11985 };
11986
11987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11990 {
11991 PyThreadState* __tstate = wxPyBeginAllowThreads();
11992 result = ((wxFileDialog const *)arg1)->GetFilename();
11993
11994 wxPyEndAllowThreads(__tstate);
11995 if (PyErr_Occurred()) SWIG_fail;
11996 }
11997 {
11998 #if wxUSE_UNICODE
11999 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12000 #else
12001 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12002 #endif
12003 }
12004 return resultobj;
12005 fail:
12006 return NULL;
12007 }
12008
12009
12010 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12011 PyObject *resultobj;
12012 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12013 wxString result;
12014 PyObject * obj0 = 0 ;
12015 char *kwnames[] = {
12016 (char *) "self", NULL
12017 };
12018
12019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12022 {
12023 PyThreadState* __tstate = wxPyBeginAllowThreads();
12024 result = ((wxFileDialog const *)arg1)->GetWildcard();
12025
12026 wxPyEndAllowThreads(__tstate);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
12029 {
12030 #if wxUSE_UNICODE
12031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12032 #else
12033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12034 #endif
12035 }
12036 return resultobj;
12037 fail:
12038 return NULL;
12039 }
12040
12041
12042 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12043 PyObject *resultobj;
12044 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12045 long result;
12046 PyObject * obj0 = 0 ;
12047 char *kwnames[] = {
12048 (char *) "self", NULL
12049 };
12050
12051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12054 {
12055 PyThreadState* __tstate = wxPyBeginAllowThreads();
12056 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12057
12058 wxPyEndAllowThreads(__tstate);
12059 if (PyErr_Occurred()) SWIG_fail;
12060 }
12061 resultobj = SWIG_FromLong((long)result);
12062 return resultobj;
12063 fail:
12064 return NULL;
12065 }
12066
12067
12068 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12069 PyObject *resultobj;
12070 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12071 int result;
12072 PyObject * obj0 = 0 ;
12073 char *kwnames[] = {
12074 (char *) "self", NULL
12075 };
12076
12077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12080 {
12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
12082 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12083
12084 wxPyEndAllowThreads(__tstate);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 resultobj = SWIG_FromInt((int)result);
12088 return resultobj;
12089 fail:
12090 return NULL;
12091 }
12092
12093
12094 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12095 PyObject *resultobj;
12096 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12097 PyObject *result;
12098 PyObject * obj0 = 0 ;
12099 char *kwnames[] = {
12100 (char *) "self", NULL
12101 };
12102
12103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12106 {
12107 PyThreadState* __tstate = wxPyBeginAllowThreads();
12108 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12109
12110 wxPyEndAllowThreads(__tstate);
12111 if (PyErr_Occurred()) SWIG_fail;
12112 }
12113 resultobj = result;
12114 return resultobj;
12115 fail:
12116 return NULL;
12117 }
12118
12119
12120 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12121 PyObject *resultobj;
12122 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12123 PyObject *result;
12124 PyObject * obj0 = 0 ;
12125 char *kwnames[] = {
12126 (char *) "self", NULL
12127 };
12128
12129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12132 {
12133 PyThreadState* __tstate = wxPyBeginAllowThreads();
12134 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12135
12136 wxPyEndAllowThreads(__tstate);
12137 if (PyErr_Occurred()) SWIG_fail;
12138 }
12139 resultobj = result;
12140 return resultobj;
12141 fail:
12142 return NULL;
12143 }
12144
12145
12146 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12147 PyObject *obj;
12148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12149 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12150 Py_INCREF(obj);
12151 return Py_BuildValue((char *)"");
12152 }
12153 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj;
12155 wxWindow *arg1 = (wxWindow *) 0 ;
12156 wxString *arg2 = 0 ;
12157 wxString *arg3 = 0 ;
12158 int arg4 = (int) 0 ;
12159 wxString *arg5 = (wxString *) 0 ;
12160 long arg6 = (long) wxCHOICEDLG_STYLE ;
12161 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12162 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12163 wxMultiChoiceDialog *result;
12164 bool temp2 = False ;
12165 bool temp3 = False ;
12166 wxPoint temp6 ;
12167 PyObject * obj0 = 0 ;
12168 PyObject * obj1 = 0 ;
12169 PyObject * obj2 = 0 ;
12170 PyObject * obj3 = 0 ;
12171 PyObject * obj4 = 0 ;
12172 PyObject * obj5 = 0 ;
12173 char *kwnames[] = {
12174 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12175 };
12176
12177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12180 {
12181 arg2 = wxString_in_helper(obj1);
12182 if (arg2 == NULL) SWIG_fail;
12183 temp2 = True;
12184 }
12185 {
12186 arg3 = wxString_in_helper(obj2);
12187 if (arg3 == NULL) SWIG_fail;
12188 temp3 = True;
12189 }
12190 if (obj3) {
12191 {
12192 arg4 = PyList_Size(obj3);
12193 arg5 = wxString_LIST_helper(obj3);
12194 if (arg5 == NULL) SWIG_fail;
12195 }
12196 }
12197 if (obj4) {
12198 arg6 = (long) SWIG_AsLong(obj4);
12199 if (PyErr_Occurred()) SWIG_fail;
12200 }
12201 if (obj5) {
12202 {
12203 arg7 = &temp6;
12204 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12205 }
12206 }
12207 {
12208 PyThreadState* __tstate = wxPyBeginAllowThreads();
12209 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12210
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12215 {
12216 if (temp2)
12217 delete arg2;
12218 }
12219 {
12220 if (temp3)
12221 delete arg3;
12222 }
12223 {
12224 if (arg5) delete [] arg5;
12225 }
12226 return resultobj;
12227 fail:
12228 {
12229 if (temp2)
12230 delete arg2;
12231 }
12232 {
12233 if (temp3)
12234 delete arg3;
12235 }
12236 {
12237 if (arg5) delete [] arg5;
12238 }
12239 return NULL;
12240 }
12241
12242
12243 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12244 PyObject *resultobj;
12245 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12246 wxArrayInt *arg2 = 0 ;
12247 bool temp2 = False ;
12248 PyObject * obj0 = 0 ;
12249 PyObject * obj1 = 0 ;
12250 char *kwnames[] = {
12251 (char *) "self",(char *) "selections", NULL
12252 };
12253
12254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12257 {
12258 if (! PySequence_Check(obj1)) {
12259 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12260 SWIG_fail;
12261 }
12262 arg2 = new wxArrayInt;
12263 temp2 = True;
12264 int i, len=PySequence_Length(obj1);
12265 for (i=0; i<len; i++) {
12266 PyObject* item = PySequence_GetItem(obj1, i);
12267 PyObject* number = PyNumber_Int(item);
12268 arg2->Add(PyInt_AS_LONG(number));
12269 Py_DECREF(item);
12270 Py_DECREF(number);
12271 }
12272 }
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12276
12277 wxPyEndAllowThreads(__tstate);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
12280 Py_INCREF(Py_None); resultobj = Py_None;
12281 {
12282 if (temp2) delete arg2;
12283 }
12284 return resultobj;
12285 fail:
12286 {
12287 if (temp2) delete arg2;
12288 }
12289 return NULL;
12290 }
12291
12292
12293 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12294 PyObject *resultobj;
12295 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12296 PyObject *result;
12297 PyObject * obj0 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12305 {
12306 PyThreadState* __tstate = wxPyBeginAllowThreads();
12307 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12308
12309 wxPyEndAllowThreads(__tstate);
12310 if (PyErr_Occurred()) SWIG_fail;
12311 }
12312 resultobj = result;
12313 return resultobj;
12314 fail:
12315 return NULL;
12316 }
12317
12318
12319 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12320 PyObject *obj;
12321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12322 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12323 Py_INCREF(obj);
12324 return Py_BuildValue((char *)"");
12325 }
12326 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12327 PyObject *resultobj;
12328 wxWindow *arg1 = (wxWindow *) 0 ;
12329 wxString *arg2 = 0 ;
12330 wxString *arg3 = 0 ;
12331 int arg4 ;
12332 wxString *arg5 = (wxString *) 0 ;
12333 long arg6 = (long) wxCHOICEDLG_STYLE ;
12334 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12335 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12336 wxSingleChoiceDialog *result;
12337 bool temp2 = False ;
12338 bool temp3 = False ;
12339 wxPoint temp6 ;
12340 PyObject * obj0 = 0 ;
12341 PyObject * obj1 = 0 ;
12342 PyObject * obj2 = 0 ;
12343 PyObject * obj3 = 0 ;
12344 PyObject * obj4 = 0 ;
12345 PyObject * obj5 = 0 ;
12346 char *kwnames[] = {
12347 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12348 };
12349
12350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12353 {
12354 arg2 = wxString_in_helper(obj1);
12355 if (arg2 == NULL) SWIG_fail;
12356 temp2 = True;
12357 }
12358 {
12359 arg3 = wxString_in_helper(obj2);
12360 if (arg3 == NULL) SWIG_fail;
12361 temp3 = True;
12362 }
12363 {
12364 arg4 = PyList_Size(obj3);
12365 arg5 = wxString_LIST_helper(obj3);
12366 if (arg5 == NULL) SWIG_fail;
12367 }
12368 if (obj4) {
12369 arg6 = (long) SWIG_AsLong(obj4);
12370 if (PyErr_Occurred()) SWIG_fail;
12371 }
12372 if (obj5) {
12373 {
12374 arg7 = &temp6;
12375 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12376 }
12377 }
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12386 {
12387 if (temp2)
12388 delete arg2;
12389 }
12390 {
12391 if (temp3)
12392 delete arg3;
12393 }
12394 {
12395 if (arg5) delete [] arg5;
12396 }
12397 return resultobj;
12398 fail:
12399 {
12400 if (temp2)
12401 delete arg2;
12402 }
12403 {
12404 if (temp3)
12405 delete arg3;
12406 }
12407 {
12408 if (arg5) delete [] arg5;
12409 }
12410 return NULL;
12411 }
12412
12413
12414 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12415 PyObject *resultobj;
12416 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12417 int result;
12418 PyObject * obj0 = 0 ;
12419 char *kwnames[] = {
12420 (char *) "self", NULL
12421 };
12422
12423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 result = (int)(arg1)->GetSelection();
12429
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
12433 resultobj = SWIG_FromInt((int)result);
12434 return resultobj;
12435 fail:
12436 return NULL;
12437 }
12438
12439
12440 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12441 PyObject *resultobj;
12442 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12443 wxString result;
12444 PyObject * obj0 = 0 ;
12445 char *kwnames[] = {
12446 (char *) "self", NULL
12447 };
12448
12449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12452 {
12453 PyThreadState* __tstate = wxPyBeginAllowThreads();
12454 result = (arg1)->GetStringSelection();
12455
12456 wxPyEndAllowThreads(__tstate);
12457 if (PyErr_Occurred()) SWIG_fail;
12458 }
12459 {
12460 #if wxUSE_UNICODE
12461 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12462 #else
12463 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12464 #endif
12465 }
12466 return resultobj;
12467 fail:
12468 return NULL;
12469 }
12470
12471
12472 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12473 PyObject *resultobj;
12474 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12475 int arg2 ;
12476 PyObject * obj0 = 0 ;
12477 PyObject * obj1 = 0 ;
12478 char *kwnames[] = {
12479 (char *) "self",(char *) "sel", NULL
12480 };
12481
12482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12485 arg2 = (int) SWIG_AsInt(obj1);
12486 if (PyErr_Occurred()) SWIG_fail;
12487 {
12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
12489 (arg1)->SetSelection(arg2);
12490
12491 wxPyEndAllowThreads(__tstate);
12492 if (PyErr_Occurred()) SWIG_fail;
12493 }
12494 Py_INCREF(Py_None); resultobj = Py_None;
12495 return resultobj;
12496 fail:
12497 return NULL;
12498 }
12499
12500
12501 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12502 PyObject *obj;
12503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12504 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12505 Py_INCREF(obj);
12506 return Py_BuildValue((char *)"");
12507 }
12508 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj;
12510 wxWindow *arg1 = (wxWindow *) 0 ;
12511 wxString *arg2 = 0 ;
12512 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12513 wxString *arg3 = (wxString *) &arg3_defvalue ;
12514 wxString const &arg4_defvalue = wxPyEmptyString ;
12515 wxString *arg4 = (wxString *) &arg4_defvalue ;
12516 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12517 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12518 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12519 wxTextEntryDialog *result;
12520 bool temp2 = False ;
12521 bool temp3 = False ;
12522 bool temp4 = False ;
12523 wxPoint temp6 ;
12524 PyObject * obj0 = 0 ;
12525 PyObject * obj1 = 0 ;
12526 PyObject * obj2 = 0 ;
12527 PyObject * obj3 = 0 ;
12528 PyObject * obj4 = 0 ;
12529 PyObject * obj5 = 0 ;
12530 char *kwnames[] = {
12531 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12532 };
12533
12534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12537 {
12538 arg2 = wxString_in_helper(obj1);
12539 if (arg2 == NULL) SWIG_fail;
12540 temp2 = True;
12541 }
12542 if (obj2) {
12543 {
12544 arg3 = wxString_in_helper(obj2);
12545 if (arg3 == NULL) SWIG_fail;
12546 temp3 = True;
12547 }
12548 }
12549 if (obj3) {
12550 {
12551 arg4 = wxString_in_helper(obj3);
12552 if (arg4 == NULL) SWIG_fail;
12553 temp4 = True;
12554 }
12555 }
12556 if (obj4) {
12557 arg5 = (long) SWIG_AsLong(obj4);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
12560 if (obj5) {
12561 {
12562 arg6 = &temp6;
12563 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12564 }
12565 }
12566 {
12567 PyThreadState* __tstate = wxPyBeginAllowThreads();
12568 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12569
12570 wxPyEndAllowThreads(__tstate);
12571 if (PyErr_Occurred()) SWIG_fail;
12572 }
12573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12574 {
12575 if (temp2)
12576 delete arg2;
12577 }
12578 {
12579 if (temp3)
12580 delete arg3;
12581 }
12582 {
12583 if (temp4)
12584 delete arg4;
12585 }
12586 return resultobj;
12587 fail:
12588 {
12589 if (temp2)
12590 delete arg2;
12591 }
12592 {
12593 if (temp3)
12594 delete arg3;
12595 }
12596 {
12597 if (temp4)
12598 delete arg4;
12599 }
12600 return NULL;
12601 }
12602
12603
12604 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12605 PyObject *resultobj;
12606 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12607 wxString result;
12608 PyObject * obj0 = 0 ;
12609 char *kwnames[] = {
12610 (char *) "self", NULL
12611 };
12612
12613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12616 {
12617 PyThreadState* __tstate = wxPyBeginAllowThreads();
12618 result = (arg1)->GetValue();
12619
12620 wxPyEndAllowThreads(__tstate);
12621 if (PyErr_Occurred()) SWIG_fail;
12622 }
12623 {
12624 #if wxUSE_UNICODE
12625 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12626 #else
12627 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12628 #endif
12629 }
12630 return resultobj;
12631 fail:
12632 return NULL;
12633 }
12634
12635
12636 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12637 PyObject *resultobj;
12638 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12639 wxString *arg2 = 0 ;
12640 bool temp2 = False ;
12641 PyObject * obj0 = 0 ;
12642 PyObject * obj1 = 0 ;
12643 char *kwnames[] = {
12644 (char *) "self",(char *) "value", NULL
12645 };
12646
12647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12650 {
12651 arg2 = wxString_in_helper(obj1);
12652 if (arg2 == NULL) SWIG_fail;
12653 temp2 = True;
12654 }
12655 {
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 (arg1)->SetValue((wxString const &)*arg2);
12658
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 Py_INCREF(Py_None); resultobj = Py_None;
12663 {
12664 if (temp2)
12665 delete arg2;
12666 }
12667 return resultobj;
12668 fail:
12669 {
12670 if (temp2)
12671 delete arg2;
12672 }
12673 return NULL;
12674 }
12675
12676
12677 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12678 PyObject *obj;
12679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12680 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12681 Py_INCREF(obj);
12682 return Py_BuildValue((char *)"");
12683 }
12684 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12685 PyObject *resultobj;
12686 wxFontData *result;
12687 char *kwnames[] = {
12688 NULL
12689 };
12690
12691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 result = (wxFontData *)new wxFontData();
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12700 return resultobj;
12701 fail:
12702 return NULL;
12703 }
12704
12705
12706 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12707 PyObject *resultobj;
12708 wxFontData *arg1 = (wxFontData *) 0 ;
12709 PyObject * obj0 = 0 ;
12710 char *kwnames[] = {
12711 (char *) "self", NULL
12712 };
12713
12714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12717 {
12718 PyThreadState* __tstate = wxPyBeginAllowThreads();
12719 delete arg1;
12720
12721 wxPyEndAllowThreads(__tstate);
12722 if (PyErr_Occurred()) SWIG_fail;
12723 }
12724 Py_INCREF(Py_None); resultobj = Py_None;
12725 return resultobj;
12726 fail:
12727 return NULL;
12728 }
12729
12730
12731 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12732 PyObject *resultobj;
12733 wxFontData *arg1 = (wxFontData *) 0 ;
12734 bool arg2 ;
12735 PyObject * obj0 = 0 ;
12736 PyObject * obj1 = 0 ;
12737 char *kwnames[] = {
12738 (char *) "self",(char *) "enable", NULL
12739 };
12740
12741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12744 arg2 = (bool) SWIG_AsBool(obj1);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 (arg1)->EnableEffects(arg2);
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 Py_INCREF(Py_None); resultobj = Py_None;
12754 return resultobj;
12755 fail:
12756 return NULL;
12757 }
12758
12759
12760 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12761 PyObject *resultobj;
12762 wxFontData *arg1 = (wxFontData *) 0 ;
12763 bool result;
12764 PyObject * obj0 = 0 ;
12765 char *kwnames[] = {
12766 (char *) "self", NULL
12767 };
12768
12769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12772 {
12773 PyThreadState* __tstate = wxPyBeginAllowThreads();
12774 result = (bool)(arg1)->GetAllowSymbols();
12775
12776 wxPyEndAllowThreads(__tstate);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
12779 {
12780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12781 }
12782 return resultobj;
12783 fail:
12784 return NULL;
12785 }
12786
12787
12788 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12789 PyObject *resultobj;
12790 wxFontData *arg1 = (wxFontData *) 0 ;
12791 wxColour result;
12792 PyObject * obj0 = 0 ;
12793 char *kwnames[] = {
12794 (char *) "self", NULL
12795 };
12796
12797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12800 {
12801 PyThreadState* __tstate = wxPyBeginAllowThreads();
12802 result = (arg1)->GetColour();
12803
12804 wxPyEndAllowThreads(__tstate);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
12807 {
12808 wxColour * resultptr;
12809 resultptr = new wxColour((wxColour &) result);
12810 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12811 }
12812 return resultobj;
12813 fail:
12814 return NULL;
12815 }
12816
12817
12818 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12819 PyObject *resultobj;
12820 wxFontData *arg1 = (wxFontData *) 0 ;
12821 wxFont result;
12822 PyObject * obj0 = 0 ;
12823 char *kwnames[] = {
12824 (char *) "self", NULL
12825 };
12826
12827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12830 {
12831 PyThreadState* __tstate = wxPyBeginAllowThreads();
12832 result = (arg1)->GetChosenFont();
12833
12834 wxPyEndAllowThreads(__tstate);
12835 if (PyErr_Occurred()) SWIG_fail;
12836 }
12837 {
12838 wxFont * resultptr;
12839 resultptr = new wxFont((wxFont &) result);
12840 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12841 }
12842 return resultobj;
12843 fail:
12844 return NULL;
12845 }
12846
12847
12848 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12849 PyObject *resultobj;
12850 wxFontData *arg1 = (wxFontData *) 0 ;
12851 bool result;
12852 PyObject * obj0 = 0 ;
12853 char *kwnames[] = {
12854 (char *) "self", NULL
12855 };
12856
12857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12860 {
12861 PyThreadState* __tstate = wxPyBeginAllowThreads();
12862 result = (bool)(arg1)->GetEnableEffects();
12863
12864 wxPyEndAllowThreads(__tstate);
12865 if (PyErr_Occurred()) SWIG_fail;
12866 }
12867 {
12868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12869 }
12870 return resultobj;
12871 fail:
12872 return NULL;
12873 }
12874
12875
12876 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12877 PyObject *resultobj;
12878 wxFontData *arg1 = (wxFontData *) 0 ;
12879 wxFont result;
12880 PyObject * obj0 = 0 ;
12881 char *kwnames[] = {
12882 (char *) "self", NULL
12883 };
12884
12885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12888 {
12889 PyThreadState* __tstate = wxPyBeginAllowThreads();
12890 result = (arg1)->GetInitialFont();
12891
12892 wxPyEndAllowThreads(__tstate);
12893 if (PyErr_Occurred()) SWIG_fail;
12894 }
12895 {
12896 wxFont * resultptr;
12897 resultptr = new wxFont((wxFont &) result);
12898 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12899 }
12900 return resultobj;
12901 fail:
12902 return NULL;
12903 }
12904
12905
12906 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12907 PyObject *resultobj;
12908 wxFontData *arg1 = (wxFontData *) 0 ;
12909 bool result;
12910 PyObject * obj0 = 0 ;
12911 char *kwnames[] = {
12912 (char *) "self", NULL
12913 };
12914
12915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12918 {
12919 PyThreadState* __tstate = wxPyBeginAllowThreads();
12920 result = (bool)(arg1)->GetShowHelp();
12921
12922 wxPyEndAllowThreads(__tstate);
12923 if (PyErr_Occurred()) SWIG_fail;
12924 }
12925 {
12926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12927 }
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj;
12936 wxFontData *arg1 = (wxFontData *) 0 ;
12937 bool arg2 ;
12938 PyObject * obj0 = 0 ;
12939 PyObject * obj1 = 0 ;
12940 char *kwnames[] = {
12941 (char *) "self",(char *) "allowSymbols", NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12947 arg2 = (bool) SWIG_AsBool(obj1);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 {
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 (arg1)->SetAllowSymbols(arg2);
12952
12953 wxPyEndAllowThreads(__tstate);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 Py_INCREF(Py_None); resultobj = Py_None;
12957 return resultobj;
12958 fail:
12959 return NULL;
12960 }
12961
12962
12963 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12964 PyObject *resultobj;
12965 wxFontData *arg1 = (wxFontData *) 0 ;
12966 wxFont *arg2 = 0 ;
12967 PyObject * obj0 = 0 ;
12968 PyObject * obj1 = 0 ;
12969 char *kwnames[] = {
12970 (char *) "self",(char *) "font", NULL
12971 };
12972
12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12976 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12977 SWIG_POINTER_EXCEPTION | 0)) == -1)
12978 SWIG_fail;
12979 if (arg2 == NULL) {
12980 PyErr_SetString(PyExc_TypeError,"null reference");
12981 SWIG_fail;
12982 }
12983 {
12984 PyThreadState* __tstate = wxPyBeginAllowThreads();
12985 (arg1)->SetChosenFont((wxFont const &)*arg2);
12986
12987 wxPyEndAllowThreads(__tstate);
12988 if (PyErr_Occurred()) SWIG_fail;
12989 }
12990 Py_INCREF(Py_None); resultobj = Py_None;
12991 return resultobj;
12992 fail:
12993 return NULL;
12994 }
12995
12996
12997 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12998 PyObject *resultobj;
12999 wxFontData *arg1 = (wxFontData *) 0 ;
13000 wxColour *arg2 = 0 ;
13001 wxColour temp2 ;
13002 PyObject * obj0 = 0 ;
13003 PyObject * obj1 = 0 ;
13004 char *kwnames[] = {
13005 (char *) "self",(char *) "colour", NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13011 {
13012 arg2 = &temp2;
13013 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13014 }
13015 {
13016 PyThreadState* __tstate = wxPyBeginAllowThreads();
13017 (arg1)->SetColour((wxColour const &)*arg2);
13018
13019 wxPyEndAllowThreads(__tstate);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 Py_INCREF(Py_None); resultobj = Py_None;
13023 return resultobj;
13024 fail:
13025 return NULL;
13026 }
13027
13028
13029 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13030 PyObject *resultobj;
13031 wxFontData *arg1 = (wxFontData *) 0 ;
13032 wxFont *arg2 = 0 ;
13033 PyObject * obj0 = 0 ;
13034 PyObject * obj1 = 0 ;
13035 char *kwnames[] = {
13036 (char *) "self",(char *) "font", NULL
13037 };
13038
13039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13042 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13043 SWIG_POINTER_EXCEPTION | 0)) == -1)
13044 SWIG_fail;
13045 if (arg2 == NULL) {
13046 PyErr_SetString(PyExc_TypeError,"null reference");
13047 SWIG_fail;
13048 }
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
13051 (arg1)->SetInitialFont((wxFont const &)*arg2);
13052
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 Py_INCREF(Py_None); resultobj = Py_None;
13057 return resultobj;
13058 fail:
13059 return NULL;
13060 }
13061
13062
13063 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13064 PyObject *resultobj;
13065 wxFontData *arg1 = (wxFontData *) 0 ;
13066 int arg2 ;
13067 int arg3 ;
13068 PyObject * obj0 = 0 ;
13069 PyObject * obj1 = 0 ;
13070 PyObject * obj2 = 0 ;
13071 char *kwnames[] = {
13072 (char *) "self",(char *) "min",(char *) "max", NULL
13073 };
13074
13075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13078 arg2 = (int) SWIG_AsInt(obj1);
13079 if (PyErr_Occurred()) SWIG_fail;
13080 arg3 = (int) SWIG_AsInt(obj2);
13081 if (PyErr_Occurred()) SWIG_fail;
13082 {
13083 PyThreadState* __tstate = wxPyBeginAllowThreads();
13084 (arg1)->SetRange(arg2,arg3);
13085
13086 wxPyEndAllowThreads(__tstate);
13087 if (PyErr_Occurred()) SWIG_fail;
13088 }
13089 Py_INCREF(Py_None); resultobj = Py_None;
13090 return resultobj;
13091 fail:
13092 return NULL;
13093 }
13094
13095
13096 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13097 PyObject *resultobj;
13098 wxFontData *arg1 = (wxFontData *) 0 ;
13099 bool arg2 ;
13100 PyObject * obj0 = 0 ;
13101 PyObject * obj1 = 0 ;
13102 char *kwnames[] = {
13103 (char *) "self",(char *) "showHelp", NULL
13104 };
13105
13106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13109 arg2 = (bool) SWIG_AsBool(obj1);
13110 if (PyErr_Occurred()) SWIG_fail;
13111 {
13112 PyThreadState* __tstate = wxPyBeginAllowThreads();
13113 (arg1)->SetShowHelp(arg2);
13114
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 Py_INCREF(Py_None); resultobj = Py_None;
13119 return resultobj;
13120 fail:
13121 return NULL;
13122 }
13123
13124
13125 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13126 PyObject *obj;
13127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13128 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13129 Py_INCREF(obj);
13130 return Py_BuildValue((char *)"");
13131 }
13132 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13133 PyObject *resultobj;
13134 wxWindow *arg1 = (wxWindow *) 0 ;
13135 wxFontData *arg2 = 0 ;
13136 wxFontDialog *result;
13137 PyObject * obj0 = 0 ;
13138 PyObject * obj1 = 0 ;
13139 char *kwnames[] = {
13140 (char *) "parent",(char *) "data", NULL
13141 };
13142
13143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13146 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13147 SWIG_POINTER_EXCEPTION | 0)) == -1)
13148 SWIG_fail;
13149 if (arg2 == NULL) {
13150 PyErr_SetString(PyExc_TypeError,"null reference");
13151 SWIG_fail;
13152 }
13153 {
13154 PyThreadState* __tstate = wxPyBeginAllowThreads();
13155 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13156
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13161 return resultobj;
13162 fail:
13163 return NULL;
13164 }
13165
13166
13167 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13168 PyObject *resultobj;
13169 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13170 wxFontData *result;
13171 PyObject * obj0 = 0 ;
13172 char *kwnames[] = {
13173 (char *) "self", NULL
13174 };
13175
13176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13179 {
13180 PyThreadState* __tstate = wxPyBeginAllowThreads();
13181 {
13182 wxFontData &_result_ref = (arg1)->GetFontData();
13183 result = (wxFontData *) &_result_ref;
13184 }
13185
13186 wxPyEndAllowThreads(__tstate);
13187 if (PyErr_Occurred()) SWIG_fail;
13188 }
13189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13190 return resultobj;
13191 fail:
13192 return NULL;
13193 }
13194
13195
13196 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13197 PyObject *obj;
13198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13199 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13200 Py_INCREF(obj);
13201 return Py_BuildValue((char *)"");
13202 }
13203 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13204 PyObject *resultobj;
13205 wxWindow *arg1 = (wxWindow *) 0 ;
13206 wxString *arg2 = 0 ;
13207 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13208 wxString *arg3 = (wxString *) &arg3_defvalue ;
13209 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13210 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13211 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13212 wxMessageDialog *result;
13213 bool temp2 = False ;
13214 bool temp3 = False ;
13215 wxPoint temp5 ;
13216 PyObject * obj0 = 0 ;
13217 PyObject * obj1 = 0 ;
13218 PyObject * obj2 = 0 ;
13219 PyObject * obj3 = 0 ;
13220 PyObject * obj4 = 0 ;
13221 char *kwnames[] = {
13222 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13223 };
13224
13225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13228 {
13229 arg2 = wxString_in_helper(obj1);
13230 if (arg2 == NULL) SWIG_fail;
13231 temp2 = True;
13232 }
13233 if (obj2) {
13234 {
13235 arg3 = wxString_in_helper(obj2);
13236 if (arg3 == NULL) SWIG_fail;
13237 temp3 = True;
13238 }
13239 }
13240 if (obj3) {
13241 arg4 = (long) SWIG_AsLong(obj3);
13242 if (PyErr_Occurred()) SWIG_fail;
13243 }
13244 if (obj4) {
13245 {
13246 arg5 = &temp5;
13247 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13248 }
13249 }
13250 {
13251 PyThreadState* __tstate = wxPyBeginAllowThreads();
13252 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13253
13254 wxPyEndAllowThreads(__tstate);
13255 if (PyErr_Occurred()) SWIG_fail;
13256 }
13257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13258 {
13259 if (temp2)
13260 delete arg2;
13261 }
13262 {
13263 if (temp3)
13264 delete arg3;
13265 }
13266 return resultobj;
13267 fail:
13268 {
13269 if (temp2)
13270 delete arg2;
13271 }
13272 {
13273 if (temp3)
13274 delete arg3;
13275 }
13276 return NULL;
13277 }
13278
13279
13280 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13281 PyObject *obj;
13282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13283 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13284 Py_INCREF(obj);
13285 return Py_BuildValue((char *)"");
13286 }
13287 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13288 PyObject *resultobj;
13289 wxString *arg1 = 0 ;
13290 wxString *arg2 = 0 ;
13291 int arg3 = (int) 100 ;
13292 wxWindow *arg4 = (wxWindow *) NULL ;
13293 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13294 wxProgressDialog *result;
13295 bool temp1 = False ;
13296 bool temp2 = False ;
13297 PyObject * obj0 = 0 ;
13298 PyObject * obj1 = 0 ;
13299 PyObject * obj2 = 0 ;
13300 PyObject * obj3 = 0 ;
13301 PyObject * obj4 = 0 ;
13302 char *kwnames[] = {
13303 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13304 };
13305
13306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13307 {
13308 arg1 = wxString_in_helper(obj0);
13309 if (arg1 == NULL) SWIG_fail;
13310 temp1 = True;
13311 }
13312 {
13313 arg2 = wxString_in_helper(obj1);
13314 if (arg2 == NULL) SWIG_fail;
13315 temp2 = True;
13316 }
13317 if (obj2) {
13318 arg3 = (int) SWIG_AsInt(obj2);
13319 if (PyErr_Occurred()) SWIG_fail;
13320 }
13321 if (obj3) {
13322 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13324 }
13325 if (obj4) {
13326 arg5 = (int) SWIG_AsInt(obj4);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 {
13330 PyThreadState* __tstate = wxPyBeginAllowThreads();
13331 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13332
13333 wxPyEndAllowThreads(__tstate);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 }
13336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13337 {
13338 if (temp1)
13339 delete arg1;
13340 }
13341 {
13342 if (temp2)
13343 delete arg2;
13344 }
13345 return resultobj;
13346 fail:
13347 {
13348 if (temp1)
13349 delete arg1;
13350 }
13351 {
13352 if (temp2)
13353 delete arg2;
13354 }
13355 return NULL;
13356 }
13357
13358
13359 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13360 PyObject *resultobj;
13361 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13362 int arg2 ;
13363 wxString const &arg3_defvalue = wxPyEmptyString ;
13364 wxString *arg3 = (wxString *) &arg3_defvalue ;
13365 bool result;
13366 bool temp3 = False ;
13367 PyObject * obj0 = 0 ;
13368 PyObject * obj1 = 0 ;
13369 PyObject * obj2 = 0 ;
13370 char *kwnames[] = {
13371 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13372 };
13373
13374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13377 arg2 = (int) SWIG_AsInt(obj1);
13378 if (PyErr_Occurred()) SWIG_fail;
13379 if (obj2) {
13380 {
13381 arg3 = wxString_in_helper(obj2);
13382 if (arg3 == NULL) SWIG_fail;
13383 temp3 = True;
13384 }
13385 }
13386 {
13387 PyThreadState* __tstate = wxPyBeginAllowThreads();
13388 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13389
13390 wxPyEndAllowThreads(__tstate);
13391 if (PyErr_Occurred()) SWIG_fail;
13392 }
13393 {
13394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13395 }
13396 {
13397 if (temp3)
13398 delete arg3;
13399 }
13400 return resultobj;
13401 fail:
13402 {
13403 if (temp3)
13404 delete arg3;
13405 }
13406 return NULL;
13407 }
13408
13409
13410 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13411 PyObject *resultobj;
13412 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13413 PyObject * obj0 = 0 ;
13414 char *kwnames[] = {
13415 (char *) "self", NULL
13416 };
13417
13418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13421 {
13422 PyThreadState* __tstate = wxPyBeginAllowThreads();
13423 (arg1)->Resume();
13424
13425 wxPyEndAllowThreads(__tstate);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 }
13428 Py_INCREF(Py_None); resultobj = Py_None;
13429 return resultobj;
13430 fail:
13431 return NULL;
13432 }
13433
13434
13435 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13436 PyObject *obj;
13437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13438 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13439 Py_INCREF(obj);
13440 return Py_BuildValue((char *)"");
13441 }
13442 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13443 PyObject *resultobj;
13444 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13445 int arg2 = (int) 0 ;
13446 wxFindDialogEvent *result;
13447 PyObject * obj0 = 0 ;
13448 PyObject * obj1 = 0 ;
13449 char *kwnames[] = {
13450 (char *) "commandType",(char *) "id", NULL
13451 };
13452
13453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13454 if (obj0) {
13455 arg1 = (wxEventType) SWIG_AsInt(obj0);
13456 if (PyErr_Occurred()) SWIG_fail;
13457 }
13458 if (obj1) {
13459 arg2 = (int) SWIG_AsInt(obj1);
13460 if (PyErr_Occurred()) SWIG_fail;
13461 }
13462 {
13463 PyThreadState* __tstate = wxPyBeginAllowThreads();
13464 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13465
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13470 return resultobj;
13471 fail:
13472 return NULL;
13473 }
13474
13475
13476 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13477 PyObject *resultobj;
13478 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13479 int result;
13480 PyObject * obj0 = 0 ;
13481 char *kwnames[] = {
13482 (char *) "self", NULL
13483 };
13484
13485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13488 {
13489 PyThreadState* __tstate = wxPyBeginAllowThreads();
13490 result = (int)(arg1)->GetFlags();
13491
13492 wxPyEndAllowThreads(__tstate);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
13495 resultobj = SWIG_FromInt((int)result);
13496 return resultobj;
13497 fail:
13498 return NULL;
13499 }
13500
13501
13502 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13503 PyObject *resultobj;
13504 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13505 wxString *result;
13506 PyObject * obj0 = 0 ;
13507 char *kwnames[] = {
13508 (char *) "self", NULL
13509 };
13510
13511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13514 {
13515 PyThreadState* __tstate = wxPyBeginAllowThreads();
13516 {
13517 wxString const &_result_ref = (arg1)->GetFindString();
13518 result = (wxString *) &_result_ref;
13519 }
13520
13521 wxPyEndAllowThreads(__tstate);
13522 if (PyErr_Occurred()) SWIG_fail;
13523 }
13524 {
13525 #if wxUSE_UNICODE
13526 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13527 #else
13528 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13529 #endif
13530 }
13531 return resultobj;
13532 fail:
13533 return NULL;
13534 }
13535
13536
13537 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13538 PyObject *resultobj;
13539 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13540 wxString *result;
13541 PyObject * obj0 = 0 ;
13542 char *kwnames[] = {
13543 (char *) "self", NULL
13544 };
13545
13546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13549 {
13550 PyThreadState* __tstate = wxPyBeginAllowThreads();
13551 {
13552 wxString const &_result_ref = (arg1)->GetReplaceString();
13553 result = (wxString *) &_result_ref;
13554 }
13555
13556 wxPyEndAllowThreads(__tstate);
13557 if (PyErr_Occurred()) SWIG_fail;
13558 }
13559 {
13560 #if wxUSE_UNICODE
13561 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13562 #else
13563 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13564 #endif
13565 }
13566 return resultobj;
13567 fail:
13568 return NULL;
13569 }
13570
13571
13572 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13573 PyObject *resultobj;
13574 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13575 wxFindReplaceDialog *result;
13576 PyObject * obj0 = 0 ;
13577 char *kwnames[] = {
13578 (char *) "self", NULL
13579 };
13580
13581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13592 return resultobj;
13593 fail:
13594 return NULL;
13595 }
13596
13597
13598 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13601 int arg2 ;
13602 PyObject * obj0 = 0 ;
13603 PyObject * obj1 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self",(char *) "flags", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13611 arg2 = (int) SWIG_AsInt(obj1);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 {
13614 PyThreadState* __tstate = wxPyBeginAllowThreads();
13615 (arg1)->SetFlags(arg2);
13616
13617 wxPyEndAllowThreads(__tstate);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 }
13620 Py_INCREF(Py_None); resultobj = Py_None;
13621 return resultobj;
13622 fail:
13623 return NULL;
13624 }
13625
13626
13627 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13628 PyObject *resultobj;
13629 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13630 wxString *arg2 = 0 ;
13631 bool temp2 = False ;
13632 PyObject * obj0 = 0 ;
13633 PyObject * obj1 = 0 ;
13634 char *kwnames[] = {
13635 (char *) "self",(char *) "str", NULL
13636 };
13637
13638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13641 {
13642 arg2 = wxString_in_helper(obj1);
13643 if (arg2 == NULL) SWIG_fail;
13644 temp2 = True;
13645 }
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 (arg1)->SetFindString((wxString const &)*arg2);
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 Py_INCREF(Py_None); resultobj = Py_None;
13654 {
13655 if (temp2)
13656 delete arg2;
13657 }
13658 return resultobj;
13659 fail:
13660 {
13661 if (temp2)
13662 delete arg2;
13663 }
13664 return NULL;
13665 }
13666
13667
13668 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13669 PyObject *resultobj;
13670 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13671 wxString *arg2 = 0 ;
13672 bool temp2 = False ;
13673 PyObject * obj0 = 0 ;
13674 PyObject * obj1 = 0 ;
13675 char *kwnames[] = {
13676 (char *) "self",(char *) "str", NULL
13677 };
13678
13679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13682 {
13683 arg2 = wxString_in_helper(obj1);
13684 if (arg2 == NULL) SWIG_fail;
13685 temp2 = True;
13686 }
13687 {
13688 PyThreadState* __tstate = wxPyBeginAllowThreads();
13689 (arg1)->SetReplaceString((wxString const &)*arg2);
13690
13691 wxPyEndAllowThreads(__tstate);
13692 if (PyErr_Occurred()) SWIG_fail;
13693 }
13694 Py_INCREF(Py_None); resultobj = Py_None;
13695 {
13696 if (temp2)
13697 delete arg2;
13698 }
13699 return resultobj;
13700 fail:
13701 {
13702 if (temp2)
13703 delete arg2;
13704 }
13705 return NULL;
13706 }
13707
13708
13709 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13710 PyObject *obj;
13711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13712 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13713 Py_INCREF(obj);
13714 return Py_BuildValue((char *)"");
13715 }
13716 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13717 PyObject *resultobj;
13718 int arg1 = (int) 0 ;
13719 wxFindReplaceData *result;
13720 PyObject * obj0 = 0 ;
13721 char *kwnames[] = {
13722 (char *) "flags", NULL
13723 };
13724
13725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13726 if (obj0) {
13727 arg1 = (int) SWIG_AsInt(obj0);
13728 if (PyErr_Occurred()) SWIG_fail;
13729 }
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13733
13734 wxPyEndAllowThreads(__tstate);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 }
13737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13738 return resultobj;
13739 fail:
13740 return NULL;
13741 }
13742
13743
13744 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13745 PyObject *resultobj;
13746 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13747 PyObject * obj0 = 0 ;
13748 char *kwnames[] = {
13749 (char *) "self", NULL
13750 };
13751
13752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13755 {
13756 PyThreadState* __tstate = wxPyBeginAllowThreads();
13757 delete arg1;
13758
13759 wxPyEndAllowThreads(__tstate);
13760 if (PyErr_Occurred()) SWIG_fail;
13761 }
13762 Py_INCREF(Py_None); resultobj = Py_None;
13763 return resultobj;
13764 fail:
13765 return NULL;
13766 }
13767
13768
13769 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13770 PyObject *resultobj;
13771 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13772 wxString *result;
13773 PyObject * obj0 = 0 ;
13774 char *kwnames[] = {
13775 (char *) "self", NULL
13776 };
13777
13778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13781 {
13782 PyThreadState* __tstate = wxPyBeginAllowThreads();
13783 {
13784 wxString const &_result_ref = (arg1)->GetFindString();
13785 result = (wxString *) &_result_ref;
13786 }
13787
13788 wxPyEndAllowThreads(__tstate);
13789 if (PyErr_Occurred()) SWIG_fail;
13790 }
13791 {
13792 #if wxUSE_UNICODE
13793 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13794 #else
13795 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13796 #endif
13797 }
13798 return resultobj;
13799 fail:
13800 return NULL;
13801 }
13802
13803
13804 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13805 PyObject *resultobj;
13806 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13807 wxString *result;
13808 PyObject * obj0 = 0 ;
13809 char *kwnames[] = {
13810 (char *) "self", NULL
13811 };
13812
13813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 {
13819 wxString const &_result_ref = (arg1)->GetReplaceString();
13820 result = (wxString *) &_result_ref;
13821 }
13822
13823 wxPyEndAllowThreads(__tstate);
13824 if (PyErr_Occurred()) SWIG_fail;
13825 }
13826 {
13827 #if wxUSE_UNICODE
13828 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13829 #else
13830 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13831 #endif
13832 }
13833 return resultobj;
13834 fail:
13835 return NULL;
13836 }
13837
13838
13839 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13840 PyObject *resultobj;
13841 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13842 int result;
13843 PyObject * obj0 = 0 ;
13844 char *kwnames[] = {
13845 (char *) "self", NULL
13846 };
13847
13848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13851 {
13852 PyThreadState* __tstate = wxPyBeginAllowThreads();
13853 result = (int)(arg1)->GetFlags();
13854
13855 wxPyEndAllowThreads(__tstate);
13856 if (PyErr_Occurred()) SWIG_fail;
13857 }
13858 resultobj = SWIG_FromInt((int)result);
13859 return resultobj;
13860 fail:
13861 return NULL;
13862 }
13863
13864
13865 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13866 PyObject *resultobj;
13867 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13868 int arg2 ;
13869 PyObject * obj0 = 0 ;
13870 PyObject * obj1 = 0 ;
13871 char *kwnames[] = {
13872 (char *) "self",(char *) "flags", NULL
13873 };
13874
13875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13878 arg2 = (int) SWIG_AsInt(obj1);
13879 if (PyErr_Occurred()) SWIG_fail;
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 (arg1)->SetFlags(arg2);
13883
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
13887 Py_INCREF(Py_None); resultobj = Py_None;
13888 return resultobj;
13889 fail:
13890 return NULL;
13891 }
13892
13893
13894 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13895 PyObject *resultobj;
13896 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13897 wxString *arg2 = 0 ;
13898 bool temp2 = False ;
13899 PyObject * obj0 = 0 ;
13900 PyObject * obj1 = 0 ;
13901 char *kwnames[] = {
13902 (char *) "self",(char *) "str", NULL
13903 };
13904
13905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13908 {
13909 arg2 = wxString_in_helper(obj1);
13910 if (arg2 == NULL) SWIG_fail;
13911 temp2 = True;
13912 }
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 (arg1)->SetFindString((wxString const &)*arg2);
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 Py_INCREF(Py_None); resultobj = Py_None;
13921 {
13922 if (temp2)
13923 delete arg2;
13924 }
13925 return resultobj;
13926 fail:
13927 {
13928 if (temp2)
13929 delete arg2;
13930 }
13931 return NULL;
13932 }
13933
13934
13935 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13936 PyObject *resultobj;
13937 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13938 wxString *arg2 = 0 ;
13939 bool temp2 = False ;
13940 PyObject * obj0 = 0 ;
13941 PyObject * obj1 = 0 ;
13942 char *kwnames[] = {
13943 (char *) "self",(char *) "str", NULL
13944 };
13945
13946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13949 {
13950 arg2 = wxString_in_helper(obj1);
13951 if (arg2 == NULL) SWIG_fail;
13952 temp2 = True;
13953 }
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 (arg1)->SetReplaceString((wxString const &)*arg2);
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
13961 Py_INCREF(Py_None); resultobj = Py_None;
13962 {
13963 if (temp2)
13964 delete arg2;
13965 }
13966 return resultobj;
13967 fail:
13968 {
13969 if (temp2)
13970 delete arg2;
13971 }
13972 return NULL;
13973 }
13974
13975
13976 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
13977 PyObject *obj;
13978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13979 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13980 Py_INCREF(obj);
13981 return Py_BuildValue((char *)"");
13982 }
13983 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13984 PyObject *resultobj;
13985 wxWindow *arg1 = (wxWindow *) 0 ;
13986 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13987 wxString *arg3 = 0 ;
13988 int arg4 = (int) 0 ;
13989 wxFindReplaceDialog *result;
13990 bool temp3 = False ;
13991 PyObject * obj0 = 0 ;
13992 PyObject * obj1 = 0 ;
13993 PyObject * obj2 = 0 ;
13994 PyObject * obj3 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13997 };
13998
13999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14002 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14004 {
14005 arg3 = wxString_in_helper(obj2);
14006 if (arg3 == NULL) SWIG_fail;
14007 temp3 = True;
14008 }
14009 if (obj3) {
14010 arg4 = (int) SWIG_AsInt(obj3);
14011 if (PyErr_Occurred()) SWIG_fail;
14012 }
14013 {
14014 PyThreadState* __tstate = wxPyBeginAllowThreads();
14015 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14016
14017 wxPyEndAllowThreads(__tstate);
14018 if (PyErr_Occurred()) SWIG_fail;
14019 }
14020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14021 {
14022 if (temp3)
14023 delete arg3;
14024 }
14025 return resultobj;
14026 fail:
14027 {
14028 if (temp3)
14029 delete arg3;
14030 }
14031 return NULL;
14032 }
14033
14034
14035 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14036 PyObject *resultobj;
14037 wxFindReplaceDialog *result;
14038 char *kwnames[] = {
14039 NULL
14040 };
14041
14042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14043 {
14044 PyThreadState* __tstate = wxPyBeginAllowThreads();
14045 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14046
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14051 return resultobj;
14052 fail:
14053 return NULL;
14054 }
14055
14056
14057 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14058 PyObject *resultobj;
14059 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14060 wxWindow *arg2 = (wxWindow *) 0 ;
14061 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14062 wxString *arg4 = 0 ;
14063 int arg5 = (int) 0 ;
14064 bool result;
14065 bool temp4 = False ;
14066 PyObject * obj0 = 0 ;
14067 PyObject * obj1 = 0 ;
14068 PyObject * obj2 = 0 ;
14069 PyObject * obj3 = 0 ;
14070 PyObject * obj4 = 0 ;
14071 char *kwnames[] = {
14072 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14073 };
14074
14075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14080 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14082 {
14083 arg4 = wxString_in_helper(obj3);
14084 if (arg4 == NULL) SWIG_fail;
14085 temp4 = True;
14086 }
14087 if (obj4) {
14088 arg5 = (int) SWIG_AsInt(obj4);
14089 if (PyErr_Occurred()) SWIG_fail;
14090 }
14091 {
14092 PyThreadState* __tstate = wxPyBeginAllowThreads();
14093 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14094
14095 wxPyEndAllowThreads(__tstate);
14096 if (PyErr_Occurred()) SWIG_fail;
14097 }
14098 {
14099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14100 }
14101 {
14102 if (temp4)
14103 delete arg4;
14104 }
14105 return resultobj;
14106 fail:
14107 {
14108 if (temp4)
14109 delete arg4;
14110 }
14111 return NULL;
14112 }
14113
14114
14115 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14116 PyObject *resultobj;
14117 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14118 wxFindReplaceData *result;
14119 PyObject * obj0 = 0 ;
14120 char *kwnames[] = {
14121 (char *) "self", NULL
14122 };
14123
14124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14127 {
14128 PyThreadState* __tstate = wxPyBeginAllowThreads();
14129 result = (wxFindReplaceData *)(arg1)->GetData();
14130
14131 wxPyEndAllowThreads(__tstate);
14132 if (PyErr_Occurred()) SWIG_fail;
14133 }
14134 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14135 return resultobj;
14136 fail:
14137 return NULL;
14138 }
14139
14140
14141 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14142 PyObject *resultobj;
14143 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14144 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14145 PyObject * obj0 = 0 ;
14146 PyObject * obj1 = 0 ;
14147 char *kwnames[] = {
14148 (char *) "self",(char *) "data", NULL
14149 };
14150
14151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 (arg1)->SetData(arg2);
14159
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 Py_INCREF(Py_None); resultobj = Py_None;
14164 return resultobj;
14165 fail:
14166 return NULL;
14167 }
14168
14169
14170 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14171 PyObject *obj;
14172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14173 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14174 Py_INCREF(obj);
14175 return Py_BuildValue((char *)"");
14176 }
14177 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14178 PyObject *resultobj;
14179 wxWindow *arg1 = (wxWindow *) 0 ;
14180 int arg2 ;
14181 wxString *arg3 = 0 ;
14182 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14183 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14184 wxSize const &arg5_defvalue = wxDefaultSize ;
14185 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14186 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14187 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14188 wxString *arg7 = (wxString *) &arg7_defvalue ;
14189 wxMDIParentFrame *result;
14190 bool temp3 = False ;
14191 wxPoint temp4 ;
14192 wxSize temp5 ;
14193 bool temp7 = False ;
14194 PyObject * obj0 = 0 ;
14195 PyObject * obj1 = 0 ;
14196 PyObject * obj2 = 0 ;
14197 PyObject * obj3 = 0 ;
14198 PyObject * obj4 = 0 ;
14199 PyObject * obj5 = 0 ;
14200 PyObject * obj6 = 0 ;
14201 char *kwnames[] = {
14202 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14203 };
14204
14205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14208 arg2 = (int const) SWIG_AsInt(obj1);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 {
14211 arg3 = wxString_in_helper(obj2);
14212 if (arg3 == NULL) SWIG_fail;
14213 temp3 = True;
14214 }
14215 if (obj3) {
14216 {
14217 arg4 = &temp4;
14218 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14219 }
14220 }
14221 if (obj4) {
14222 {
14223 arg5 = &temp5;
14224 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14225 }
14226 }
14227 if (obj5) {
14228 arg6 = (long) SWIG_AsLong(obj5);
14229 if (PyErr_Occurred()) SWIG_fail;
14230 }
14231 if (obj6) {
14232 {
14233 arg7 = wxString_in_helper(obj6);
14234 if (arg7 == NULL) SWIG_fail;
14235 temp7 = True;
14236 }
14237 }
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14241
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14246 {
14247 if (temp3)
14248 delete arg3;
14249 }
14250 {
14251 if (temp7)
14252 delete arg7;
14253 }
14254 return resultobj;
14255 fail:
14256 {
14257 if (temp3)
14258 delete arg3;
14259 }
14260 {
14261 if (temp7)
14262 delete arg7;
14263 }
14264 return NULL;
14265 }
14266
14267
14268 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14269 PyObject *resultobj;
14270 wxMDIParentFrame *result;
14271 char *kwnames[] = {
14272 NULL
14273 };
14274
14275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14276 {
14277 PyThreadState* __tstate = wxPyBeginAllowThreads();
14278 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14279
14280 wxPyEndAllowThreads(__tstate);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 }
14283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14284 return resultobj;
14285 fail:
14286 return NULL;
14287 }
14288
14289
14290 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj;
14292 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14293 wxWindow *arg2 = (wxWindow *) 0 ;
14294 int arg3 ;
14295 wxString *arg4 = 0 ;
14296 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14297 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14298 wxSize const &arg6_defvalue = wxDefaultSize ;
14299 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14300 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14301 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14302 wxString *arg8 = (wxString *) &arg8_defvalue ;
14303 bool result;
14304 bool temp4 = False ;
14305 wxPoint temp5 ;
14306 wxSize temp6 ;
14307 bool temp8 = False ;
14308 PyObject * obj0 = 0 ;
14309 PyObject * obj1 = 0 ;
14310 PyObject * obj2 = 0 ;
14311 PyObject * obj3 = 0 ;
14312 PyObject * obj4 = 0 ;
14313 PyObject * obj5 = 0 ;
14314 PyObject * obj6 = 0 ;
14315 PyObject * obj7 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14323 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14325 arg3 = (int const) SWIG_AsInt(obj2);
14326 if (PyErr_Occurred()) SWIG_fail;
14327 {
14328 arg4 = wxString_in_helper(obj3);
14329 if (arg4 == NULL) SWIG_fail;
14330 temp4 = True;
14331 }
14332 if (obj4) {
14333 {
14334 arg5 = &temp5;
14335 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14336 }
14337 }
14338 if (obj5) {
14339 {
14340 arg6 = &temp6;
14341 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14342 }
14343 }
14344 if (obj6) {
14345 arg7 = (long) SWIG_AsLong(obj6);
14346 if (PyErr_Occurred()) SWIG_fail;
14347 }
14348 if (obj7) {
14349 {
14350 arg8 = wxString_in_helper(obj7);
14351 if (arg8 == NULL) SWIG_fail;
14352 temp8 = True;
14353 }
14354 }
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14358
14359 wxPyEndAllowThreads(__tstate);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 }
14362 {
14363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14364 }
14365 {
14366 if (temp4)
14367 delete arg4;
14368 }
14369 {
14370 if (temp8)
14371 delete arg8;
14372 }
14373 return resultobj;
14374 fail:
14375 {
14376 if (temp4)
14377 delete arg4;
14378 }
14379 {
14380 if (temp8)
14381 delete arg8;
14382 }
14383 return NULL;
14384 }
14385
14386
14387 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14388 PyObject *resultobj;
14389 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14390 PyObject * obj0 = 0 ;
14391 char *kwnames[] = {
14392 (char *) "self", NULL
14393 };
14394
14395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14398 {
14399 PyThreadState* __tstate = wxPyBeginAllowThreads();
14400 (arg1)->ActivateNext();
14401
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
14405 Py_INCREF(Py_None); resultobj = Py_None;
14406 return resultobj;
14407 fail:
14408 return NULL;
14409 }
14410
14411
14412 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14413 PyObject *resultobj;
14414 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14415 PyObject * obj0 = 0 ;
14416 char *kwnames[] = {
14417 (char *) "self", NULL
14418 };
14419
14420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14423 {
14424 PyThreadState* __tstate = wxPyBeginAllowThreads();
14425 (arg1)->ActivatePrevious();
14426
14427 wxPyEndAllowThreads(__tstate);
14428 if (PyErr_Occurred()) SWIG_fail;
14429 }
14430 Py_INCREF(Py_None); resultobj = Py_None;
14431 return resultobj;
14432 fail:
14433 return NULL;
14434 }
14435
14436
14437 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14438 PyObject *resultobj;
14439 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14440 PyObject * obj0 = 0 ;
14441 char *kwnames[] = {
14442 (char *) "self", NULL
14443 };
14444
14445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14448 {
14449 PyThreadState* __tstate = wxPyBeginAllowThreads();
14450 (arg1)->ArrangeIcons();
14451
14452 wxPyEndAllowThreads(__tstate);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
14455 Py_INCREF(Py_None); resultobj = Py_None;
14456 return resultobj;
14457 fail:
14458 return NULL;
14459 }
14460
14461
14462 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14463 PyObject *resultobj;
14464 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14465 PyObject * obj0 = 0 ;
14466 char *kwnames[] = {
14467 (char *) "self", NULL
14468 };
14469
14470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14473 {
14474 PyThreadState* __tstate = wxPyBeginAllowThreads();
14475 (arg1)->Cascade();
14476
14477 wxPyEndAllowThreads(__tstate);
14478 if (PyErr_Occurred()) SWIG_fail;
14479 }
14480 Py_INCREF(Py_None); resultobj = Py_None;
14481 return resultobj;
14482 fail:
14483 return NULL;
14484 }
14485
14486
14487 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14488 PyObject *resultobj;
14489 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14490 wxMDIChildFrame *result;
14491 PyObject * obj0 = 0 ;
14492 char *kwnames[] = {
14493 (char *) "self", NULL
14494 };
14495
14496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14499 {
14500 PyThreadState* __tstate = wxPyBeginAllowThreads();
14501 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14502
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 {
14507 resultobj = wxPyMake_wxObject(result);
14508 }
14509 return resultobj;
14510 fail:
14511 return NULL;
14512 }
14513
14514
14515 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14516 PyObject *resultobj;
14517 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14518 wxMDIClientWindow *result;
14519 PyObject * obj0 = 0 ;
14520 char *kwnames[] = {
14521 (char *) "self", NULL
14522 };
14523
14524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14527 {
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
14529 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 {
14535 resultobj = wxPyMake_wxObject(result);
14536 }
14537 return resultobj;
14538 fail:
14539 return NULL;
14540 }
14541
14542
14543 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14544 PyObject *resultobj;
14545 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14546 wxWindow *result;
14547 PyObject * obj0 = 0 ;
14548 char *kwnames[] = {
14549 (char *) "self", NULL
14550 };
14551
14552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14555 {
14556 PyThreadState* __tstate = wxPyBeginAllowThreads();
14557 result = (wxWindow *)(arg1)->GetToolBar();
14558
14559 wxPyEndAllowThreads(__tstate);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 {
14563 resultobj = wxPyMake_wxObject(result);
14564 }
14565 return resultobj;
14566 fail:
14567 return NULL;
14568 }
14569
14570
14571 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14572 PyObject *resultobj;
14573 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14574 wxMenu *result;
14575 PyObject * obj0 = 0 ;
14576 char *kwnames[] = {
14577 (char *) "self", NULL
14578 };
14579
14580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
14581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14583 {
14584 PyThreadState* __tstate = wxPyBeginAllowThreads();
14585 result = (wxMenu *)(arg1)->GetWindowMenu();
14586
14587 wxPyEndAllowThreads(__tstate);
14588 if (PyErr_Occurred()) SWIG_fail;
14589 }
14590 {
14591 resultobj = wxPyMake_wxObject(result);
14592 }
14593 return resultobj;
14594 fail:
14595 return NULL;
14596 }
14597
14598
14599 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14600 PyObject *resultobj;
14601 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14602 wxMenu *arg2 = (wxMenu *) 0 ;
14603 PyObject * obj0 = 0 ;
14604 PyObject * obj1 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self",(char *) "menu", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
14610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
14613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 (arg1)->SetWindowMenu(arg2);
14617
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
14621 Py_INCREF(Py_None); resultobj = Py_None;
14622 return resultobj;
14623 fail:
14624 return NULL;
14625 }
14626
14627
14628 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14629 PyObject *resultobj;
14630 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14631 wxToolBar *arg2 = (wxToolBar *) 0 ;
14632 PyObject * obj0 = 0 ;
14633 PyObject * obj1 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self",(char *) "toolbar", NULL
14636 };
14637
14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
14639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
14642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14643 {
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 (arg1)->SetToolBar(arg2);
14646
14647 wxPyEndAllowThreads(__tstate);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 }
14650 Py_INCREF(Py_None); resultobj = Py_None;
14651 return resultobj;
14652 fail:
14653 return NULL;
14654 }
14655
14656
14657 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14658 PyObject *resultobj;
14659 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14660 PyObject * obj0 = 0 ;
14661 char *kwnames[] = {
14662 (char *) "self", NULL
14663 };
14664
14665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14668 {
14669 PyThreadState* __tstate = wxPyBeginAllowThreads();
14670 (arg1)->Tile();
14671
14672 wxPyEndAllowThreads(__tstate);
14673 if (PyErr_Occurred()) SWIG_fail;
14674 }
14675 Py_INCREF(Py_None); resultobj = Py_None;
14676 return resultobj;
14677 fail:
14678 return NULL;
14679 }
14680
14681
14682 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14683 PyObject *obj;
14684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14685 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14686 Py_INCREF(obj);
14687 return Py_BuildValue((char *)"");
14688 }
14689 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14690 PyObject *resultobj;
14691 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14692 int arg2 ;
14693 wxString *arg3 = 0 ;
14694 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14695 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14696 wxSize const &arg5_defvalue = wxDefaultSize ;
14697 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14698 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14699 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14700 wxString *arg7 = (wxString *) &arg7_defvalue ;
14701 wxMDIChildFrame *result;
14702 bool temp3 = False ;
14703 wxPoint temp4 ;
14704 wxSize temp5 ;
14705 bool temp7 = False ;
14706 PyObject * obj0 = 0 ;
14707 PyObject * obj1 = 0 ;
14708 PyObject * obj2 = 0 ;
14709 PyObject * obj3 = 0 ;
14710 PyObject * obj4 = 0 ;
14711 PyObject * obj5 = 0 ;
14712 PyObject * obj6 = 0 ;
14713 char *kwnames[] = {
14714 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14715 };
14716
14717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14720 arg2 = (int const) SWIG_AsInt(obj1);
14721 if (PyErr_Occurred()) SWIG_fail;
14722 {
14723 arg3 = wxString_in_helper(obj2);
14724 if (arg3 == NULL) SWIG_fail;
14725 temp3 = True;
14726 }
14727 if (obj3) {
14728 {
14729 arg4 = &temp4;
14730 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14731 }
14732 }
14733 if (obj4) {
14734 {
14735 arg5 = &temp5;
14736 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14737 }
14738 }
14739 if (obj5) {
14740 arg6 = (long) SWIG_AsLong(obj5);
14741 if (PyErr_Occurred()) SWIG_fail;
14742 }
14743 if (obj6) {
14744 {
14745 arg7 = wxString_in_helper(obj6);
14746 if (arg7 == NULL) SWIG_fail;
14747 temp7 = True;
14748 }
14749 }
14750 {
14751 PyThreadState* __tstate = wxPyBeginAllowThreads();
14752 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14753
14754 wxPyEndAllowThreads(__tstate);
14755 if (PyErr_Occurred()) SWIG_fail;
14756 }
14757 {
14758 resultobj = wxPyMake_wxObject(result);
14759 }
14760 {
14761 if (temp3)
14762 delete arg3;
14763 }
14764 {
14765 if (temp7)
14766 delete arg7;
14767 }
14768 return resultobj;
14769 fail:
14770 {
14771 if (temp3)
14772 delete arg3;
14773 }
14774 {
14775 if (temp7)
14776 delete arg7;
14777 }
14778 return NULL;
14779 }
14780
14781
14782 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14783 PyObject *resultobj;
14784 wxMDIChildFrame *result;
14785 char *kwnames[] = {
14786 NULL
14787 };
14788
14789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14790 {
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14793
14794 wxPyEndAllowThreads(__tstate);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 {
14798 resultobj = wxPyMake_wxObject(result);
14799 }
14800 return resultobj;
14801 fail:
14802 return NULL;
14803 }
14804
14805
14806 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14807 PyObject *resultobj;
14808 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14809 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14810 int arg3 ;
14811 wxString *arg4 = 0 ;
14812 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14813 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14814 wxSize const &arg6_defvalue = wxDefaultSize ;
14815 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14816 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14817 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14818 wxString *arg8 = (wxString *) &arg8_defvalue ;
14819 bool result;
14820 bool temp4 = False ;
14821 wxPoint temp5 ;
14822 wxSize temp6 ;
14823 bool temp8 = False ;
14824 PyObject * obj0 = 0 ;
14825 PyObject * obj1 = 0 ;
14826 PyObject * obj2 = 0 ;
14827 PyObject * obj3 = 0 ;
14828 PyObject * obj4 = 0 ;
14829 PyObject * obj5 = 0 ;
14830 PyObject * obj6 = 0 ;
14831 PyObject * obj7 = 0 ;
14832 char *kwnames[] = {
14833 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14834 };
14835
14836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14841 arg3 = (int const) SWIG_AsInt(obj2);
14842 if (PyErr_Occurred()) SWIG_fail;
14843 {
14844 arg4 = wxString_in_helper(obj3);
14845 if (arg4 == NULL) SWIG_fail;
14846 temp4 = True;
14847 }
14848 if (obj4) {
14849 {
14850 arg5 = &temp5;
14851 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14852 }
14853 }
14854 if (obj5) {
14855 {
14856 arg6 = &temp6;
14857 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14858 }
14859 }
14860 if (obj6) {
14861 arg7 = (long) SWIG_AsLong(obj6);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 if (obj7) {
14865 {
14866 arg8 = wxString_in_helper(obj7);
14867 if (arg8 == NULL) SWIG_fail;
14868 temp8 = True;
14869 }
14870 }
14871 {
14872 PyThreadState* __tstate = wxPyBeginAllowThreads();
14873 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14874
14875 wxPyEndAllowThreads(__tstate);
14876 if (PyErr_Occurred()) SWIG_fail;
14877 }
14878 {
14879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14880 }
14881 {
14882 if (temp4)
14883 delete arg4;
14884 }
14885 {
14886 if (temp8)
14887 delete arg8;
14888 }
14889 return resultobj;
14890 fail:
14891 {
14892 if (temp4)
14893 delete arg4;
14894 }
14895 {
14896 if (temp8)
14897 delete arg8;
14898 }
14899 return NULL;
14900 }
14901
14902
14903 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj;
14905 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14906 PyObject * obj0 = 0 ;
14907 char *kwnames[] = {
14908 (char *) "self", NULL
14909 };
14910
14911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14914 {
14915 PyThreadState* __tstate = wxPyBeginAllowThreads();
14916 (arg1)->Activate();
14917
14918 wxPyEndAllowThreads(__tstate);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
14921 Py_INCREF(Py_None); resultobj = Py_None;
14922 return resultobj;
14923 fail:
14924 return NULL;
14925 }
14926
14927
14928 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14929 PyObject *resultobj;
14930 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14931 bool arg2 ;
14932 PyObject * obj0 = 0 ;
14933 PyObject * obj1 = 0 ;
14934 char *kwnames[] = {
14935 (char *) "self",(char *) "maximize", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14941 arg2 = (bool) SWIG_AsBool(obj1);
14942 if (PyErr_Occurred()) SWIG_fail;
14943 {
14944 PyThreadState* __tstate = wxPyBeginAllowThreads();
14945 (arg1)->Maximize(arg2);
14946
14947 wxPyEndAllowThreads(__tstate);
14948 if (PyErr_Occurred()) SWIG_fail;
14949 }
14950 Py_INCREF(Py_None); resultobj = Py_None;
14951 return resultobj;
14952 fail:
14953 return NULL;
14954 }
14955
14956
14957 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14958 PyObject *resultobj;
14959 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14960 PyObject * obj0 = 0 ;
14961 char *kwnames[] = {
14962 (char *) "self", NULL
14963 };
14964
14965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14968 {
14969 PyThreadState* __tstate = wxPyBeginAllowThreads();
14970 (arg1)->Restore();
14971
14972 wxPyEndAllowThreads(__tstate);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 }
14975 Py_INCREF(Py_None); resultobj = Py_None;
14976 return resultobj;
14977 fail:
14978 return NULL;
14979 }
14980
14981
14982 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14983 PyObject *obj;
14984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14985 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14986 Py_INCREF(obj);
14987 return Py_BuildValue((char *)"");
14988 }
14989 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14990 PyObject *resultobj;
14991 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14992 long arg2 = (long) 0 ;
14993 wxMDIClientWindow *result;
14994 PyObject * obj0 = 0 ;
14995 PyObject * obj1 = 0 ;
14996 char *kwnames[] = {
14997 (char *) "parent",(char *) "style", NULL
14998 };
14999
15000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15003 if (obj1) {
15004 arg2 = (long) SWIG_AsLong(obj1);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15010
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
15014 {
15015 resultobj = wxPyMake_wxObject(result);
15016 }
15017 return resultobj;
15018 fail:
15019 return NULL;
15020 }
15021
15022
15023 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15024 PyObject *resultobj;
15025 wxMDIClientWindow *result;
15026 char *kwnames[] = {
15027 NULL
15028 };
15029
15030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15031 {
15032 PyThreadState* __tstate = wxPyBeginAllowThreads();
15033 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15034
15035 wxPyEndAllowThreads(__tstate);
15036 if (PyErr_Occurred()) SWIG_fail;
15037 }
15038 {
15039 resultobj = wxPyMake_wxObject(result);
15040 }
15041 return resultobj;
15042 fail:
15043 return NULL;
15044 }
15045
15046
15047 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15048 PyObject *resultobj;
15049 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15050 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15051 long arg3 = (long) 0 ;
15052 bool result;
15053 PyObject * obj0 = 0 ;
15054 PyObject * obj1 = 0 ;
15055 PyObject * obj2 = 0 ;
15056 char *kwnames[] = {
15057 (char *) "self",(char *) "parent",(char *) "style", NULL
15058 };
15059
15060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15065 if (obj2) {
15066 arg3 = (long) SWIG_AsLong(obj2);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
15069 {
15070 PyThreadState* __tstate = wxPyBeginAllowThreads();
15071 result = (bool)(arg1)->Create(arg2,arg3);
15072
15073 wxPyEndAllowThreads(__tstate);
15074 if (PyErr_Occurred()) SWIG_fail;
15075 }
15076 {
15077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15078 }
15079 return resultobj;
15080 fail:
15081 return NULL;
15082 }
15083
15084
15085 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15086 PyObject *obj;
15087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15088 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15089 Py_INCREF(obj);
15090 return Py_BuildValue((char *)"");
15091 }
15092 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj;
15094 wxWindow *arg1 = (wxWindow *) 0 ;
15095 int arg2 ;
15096 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15097 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15098 wxSize const &arg4_defvalue = wxDefaultSize ;
15099 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15100 long arg5 = (long) 0 ;
15101 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15102 wxString *arg6 = (wxString *) &arg6_defvalue ;
15103 wxPyWindow *result;
15104 wxPoint temp3 ;
15105 wxSize temp4 ;
15106 bool temp6 = False ;
15107 PyObject * obj0 = 0 ;
15108 PyObject * obj1 = 0 ;
15109 PyObject * obj2 = 0 ;
15110 PyObject * obj3 = 0 ;
15111 PyObject * obj4 = 0 ;
15112 PyObject * obj5 = 0 ;
15113 char *kwnames[] = {
15114 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15115 };
15116
15117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15120 arg2 = (int const) SWIG_AsInt(obj1);
15121 if (PyErr_Occurred()) SWIG_fail;
15122 if (obj2) {
15123 {
15124 arg3 = &temp3;
15125 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15126 }
15127 }
15128 if (obj3) {
15129 {
15130 arg4 = &temp4;
15131 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15132 }
15133 }
15134 if (obj4) {
15135 arg5 = (long) SWIG_AsLong(obj4);
15136 if (PyErr_Occurred()) SWIG_fail;
15137 }
15138 if (obj5) {
15139 {
15140 arg6 = wxString_in_helper(obj5);
15141 if (arg6 == NULL) SWIG_fail;
15142 temp6 = True;
15143 }
15144 }
15145 {
15146 PyThreadState* __tstate = wxPyBeginAllowThreads();
15147 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15148
15149 wxPyEndAllowThreads(__tstate);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 }
15152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15153 {
15154 if (temp6)
15155 delete arg6;
15156 }
15157 return resultobj;
15158 fail:
15159 {
15160 if (temp6)
15161 delete arg6;
15162 }
15163 return NULL;
15164 }
15165
15166
15167 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15168 PyObject *resultobj;
15169 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15170 PyObject *arg2 = (PyObject *) 0 ;
15171 PyObject *arg3 = (PyObject *) 0 ;
15172 PyObject * obj0 = 0 ;
15173 PyObject * obj1 = 0 ;
15174 PyObject * obj2 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "self",(char *) "self",(char *) "_class", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15182 arg2 = obj1;
15183 arg3 = obj2;
15184 {
15185 PyThreadState* __tstate = wxPyBeginAllowThreads();
15186 (arg1)->_setCallbackInfo(arg2,arg3);
15187
15188 wxPyEndAllowThreads(__tstate);
15189 if (PyErr_Occurred()) SWIG_fail;
15190 }
15191 Py_INCREF(Py_None); resultobj = Py_None;
15192 return resultobj;
15193 fail:
15194 return NULL;
15195 }
15196
15197
15198 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15199 PyObject *resultobj;
15200 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15201 int arg2 ;
15202 int arg3 ;
15203 int arg4 ;
15204 int arg5 ;
15205 PyObject * obj0 = 0 ;
15206 PyObject * obj1 = 0 ;
15207 PyObject * obj2 = 0 ;
15208 PyObject * obj3 = 0 ;
15209 PyObject * obj4 = 0 ;
15210 char *kwnames[] = {
15211 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15212 };
15213
15214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15217 arg2 = (int) SWIG_AsInt(obj1);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 arg3 = (int) SWIG_AsInt(obj2);
15220 if (PyErr_Occurred()) SWIG_fail;
15221 arg4 = (int) SWIG_AsInt(obj3);
15222 if (PyErr_Occurred()) SWIG_fail;
15223 arg5 = (int) SWIG_AsInt(obj4);
15224 if (PyErr_Occurred()) SWIG_fail;
15225 {
15226 PyThreadState* __tstate = wxPyBeginAllowThreads();
15227 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15228
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 Py_INCREF(Py_None); resultobj = Py_None;
15233 return resultobj;
15234 fail:
15235 return NULL;
15236 }
15237
15238
15239 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15240 PyObject *resultobj;
15241 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15242 int arg2 ;
15243 int arg3 ;
15244 int arg4 ;
15245 int arg5 ;
15246 int arg6 = (int) wxSIZE_AUTO ;
15247 PyObject * obj0 = 0 ;
15248 PyObject * obj1 = 0 ;
15249 PyObject * obj2 = 0 ;
15250 PyObject * obj3 = 0 ;
15251 PyObject * obj4 = 0 ;
15252 PyObject * obj5 = 0 ;
15253 char *kwnames[] = {
15254 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15255 };
15256
15257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15260 arg2 = (int) SWIG_AsInt(obj1);
15261 if (PyErr_Occurred()) SWIG_fail;
15262 arg3 = (int) SWIG_AsInt(obj2);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 arg4 = (int) SWIG_AsInt(obj3);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 arg5 = (int) SWIG_AsInt(obj4);
15267 if (PyErr_Occurred()) SWIG_fail;
15268 if (obj5) {
15269 arg6 = (int) SWIG_AsInt(obj5);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15272 {
15273 PyThreadState* __tstate = wxPyBeginAllowThreads();
15274 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15275
15276 wxPyEndAllowThreads(__tstate);
15277 if (PyErr_Occurred()) SWIG_fail;
15278 }
15279 Py_INCREF(Py_None); resultobj = Py_None;
15280 return resultobj;
15281 fail:
15282 return NULL;
15283 }
15284
15285
15286 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15287 PyObject *resultobj;
15288 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15289 int arg2 ;
15290 int arg3 ;
15291 PyObject * obj0 = 0 ;
15292 PyObject * obj1 = 0 ;
15293 PyObject * obj2 = 0 ;
15294 char *kwnames[] = {
15295 (char *) "self",(char *) "width",(char *) "height", NULL
15296 };
15297
15298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15301 arg2 = (int) SWIG_AsInt(obj1);
15302 if (PyErr_Occurred()) SWIG_fail;
15303 arg3 = (int) SWIG_AsInt(obj2);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 {
15306 PyThreadState* __tstate = wxPyBeginAllowThreads();
15307 (arg1)->base_DoSetClientSize(arg2,arg3);
15308
15309 wxPyEndAllowThreads(__tstate);
15310 if (PyErr_Occurred()) SWIG_fail;
15311 }
15312 Py_INCREF(Py_None); resultobj = Py_None;
15313 return resultobj;
15314 fail:
15315 return NULL;
15316 }
15317
15318
15319 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15320 PyObject *resultobj;
15321 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15322 int arg2 ;
15323 int arg3 ;
15324 PyObject * obj0 = 0 ;
15325 PyObject * obj1 = 0 ;
15326 PyObject * obj2 = 0 ;
15327 char *kwnames[] = {
15328 (char *) "self",(char *) "x",(char *) "y", NULL
15329 };
15330
15331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15334 arg2 = (int) SWIG_AsInt(obj1);
15335 if (PyErr_Occurred()) SWIG_fail;
15336 arg3 = (int) SWIG_AsInt(obj2);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 {
15339 PyThreadState* __tstate = wxPyBeginAllowThreads();
15340 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15341
15342 wxPyEndAllowThreads(__tstate);
15343 if (PyErr_Occurred()) SWIG_fail;
15344 }
15345 Py_INCREF(Py_None); resultobj = Py_None;
15346 return resultobj;
15347 fail:
15348 return NULL;
15349 }
15350
15351
15352 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15353 PyObject *resultobj;
15354 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15355 int *arg2 = (int *) 0 ;
15356 int *arg3 = (int *) 0 ;
15357 int temp2 ;
15358 int temp3 ;
15359 PyObject * obj0 = 0 ;
15360 char *kwnames[] = {
15361 (char *) "self", NULL
15362 };
15363
15364 arg2 = &temp2;
15365 arg3 = &temp3;
15366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 Py_INCREF(Py_None); resultobj = Py_None;
15377 {
15378 PyObject *o = PyInt_FromLong((long) (*arg2));
15379 resultobj = t_output_helper(resultobj,o);
15380 }
15381 {
15382 PyObject *o = PyInt_FromLong((long) (*arg3));
15383 resultobj = t_output_helper(resultobj,o);
15384 }
15385 return resultobj;
15386 fail:
15387 return NULL;
15388 }
15389
15390
15391 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15392 PyObject *resultobj;
15393 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15394 int *arg2 = (int *) 0 ;
15395 int *arg3 = (int *) 0 ;
15396 int temp2 ;
15397 int temp3 ;
15398 PyObject * obj0 = 0 ;
15399 char *kwnames[] = {
15400 (char *) "self", NULL
15401 };
15402
15403 arg2 = &temp2;
15404 arg3 = &temp3;
15405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15408 {
15409 PyThreadState* __tstate = wxPyBeginAllowThreads();
15410 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15411
15412 wxPyEndAllowThreads(__tstate);
15413 if (PyErr_Occurred()) SWIG_fail;
15414 }
15415 Py_INCREF(Py_None); resultobj = Py_None;
15416 {
15417 PyObject *o = PyInt_FromLong((long) (*arg2));
15418 resultobj = t_output_helper(resultobj,o);
15419 }
15420 {
15421 PyObject *o = PyInt_FromLong((long) (*arg3));
15422 resultobj = t_output_helper(resultobj,o);
15423 }
15424 return resultobj;
15425 fail:
15426 return NULL;
15427 }
15428
15429
15430 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15431 PyObject *resultobj;
15432 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15433 int *arg2 = (int *) 0 ;
15434 int *arg3 = (int *) 0 ;
15435 int temp2 ;
15436 int temp3 ;
15437 PyObject * obj0 = 0 ;
15438 char *kwnames[] = {
15439 (char *) "self", NULL
15440 };
15441
15442 arg2 = &temp2;
15443 arg3 = &temp3;
15444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15447 {
15448 PyThreadState* __tstate = wxPyBeginAllowThreads();
15449 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15450
15451 wxPyEndAllowThreads(__tstate);
15452 if (PyErr_Occurred()) SWIG_fail;
15453 }
15454 Py_INCREF(Py_None); resultobj = Py_None;
15455 {
15456 PyObject *o = PyInt_FromLong((long) (*arg2));
15457 resultobj = t_output_helper(resultobj,o);
15458 }
15459 {
15460 PyObject *o = PyInt_FromLong((long) (*arg3));
15461 resultobj = t_output_helper(resultobj,o);
15462 }
15463 return resultobj;
15464 fail:
15465 return NULL;
15466 }
15467
15468
15469 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15470 PyObject *resultobj;
15471 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15472 wxSize result;
15473 PyObject * obj0 = 0 ;
15474 char *kwnames[] = {
15475 (char *) "self", NULL
15476 };
15477
15478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15481 {
15482 PyThreadState* __tstate = wxPyBeginAllowThreads();
15483 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15484
15485 wxPyEndAllowThreads(__tstate);
15486 if (PyErr_Occurred()) SWIG_fail;
15487 }
15488 {
15489 wxSize * resultptr;
15490 resultptr = new wxSize((wxSize &) result);
15491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15492 }
15493 return resultobj;
15494 fail:
15495 return NULL;
15496 }
15497
15498
15499 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15500 PyObject *resultobj;
15501 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15502 wxSize result;
15503 PyObject * obj0 = 0 ;
15504 char *kwnames[] = {
15505 (char *) "self", NULL
15506 };
15507
15508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15511 {
15512 PyThreadState* __tstate = wxPyBeginAllowThreads();
15513 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15514
15515 wxPyEndAllowThreads(__tstate);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
15518 {
15519 wxSize * resultptr;
15520 resultptr = new wxSize((wxSize &) result);
15521 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15522 }
15523 return resultobj;
15524 fail:
15525 return NULL;
15526 }
15527
15528
15529 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15530 PyObject *resultobj;
15531 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15532 PyObject * obj0 = 0 ;
15533 char *kwnames[] = {
15534 (char *) "self", NULL
15535 };
15536
15537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15540 {
15541 PyThreadState* __tstate = wxPyBeginAllowThreads();
15542 (arg1)->base_InitDialog();
15543
15544 wxPyEndAllowThreads(__tstate);
15545 if (PyErr_Occurred()) SWIG_fail;
15546 }
15547 Py_INCREF(Py_None); resultobj = Py_None;
15548 return resultobj;
15549 fail:
15550 return NULL;
15551 }
15552
15553
15554 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15555 PyObject *resultobj;
15556 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15557 bool result;
15558 PyObject * obj0 = 0 ;
15559 char *kwnames[] = {
15560 (char *) "self", NULL
15561 };
15562
15563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15566 {
15567 PyThreadState* __tstate = wxPyBeginAllowThreads();
15568 result = (bool)(arg1)->base_TransferDataToWindow();
15569
15570 wxPyEndAllowThreads(__tstate);
15571 if (PyErr_Occurred()) SWIG_fail;
15572 }
15573 {
15574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15575 }
15576 return resultobj;
15577 fail:
15578 return NULL;
15579 }
15580
15581
15582 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15583 PyObject *resultobj;
15584 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15585 bool result;
15586 PyObject * obj0 = 0 ;
15587 char *kwnames[] = {
15588 (char *) "self", NULL
15589 };
15590
15591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15594 {
15595 PyThreadState* __tstate = wxPyBeginAllowThreads();
15596 result = (bool)(arg1)->base_TransferDataFromWindow();
15597
15598 wxPyEndAllowThreads(__tstate);
15599 if (PyErr_Occurred()) SWIG_fail;
15600 }
15601 {
15602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15603 }
15604 return resultobj;
15605 fail:
15606 return NULL;
15607 }
15608
15609
15610 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15611 PyObject *resultobj;
15612 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15613 bool result;
15614 PyObject * obj0 = 0 ;
15615 char *kwnames[] = {
15616 (char *) "self", NULL
15617 };
15618
15619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15622 {
15623 PyThreadState* __tstate = wxPyBeginAllowThreads();
15624 result = (bool)(arg1)->base_Validate();
15625
15626 wxPyEndAllowThreads(__tstate);
15627 if (PyErr_Occurred()) SWIG_fail;
15628 }
15629 {
15630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15631 }
15632 return resultobj;
15633 fail:
15634 return NULL;
15635 }
15636
15637
15638 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15639 PyObject *resultobj;
15640 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15641 bool result;
15642 PyObject * obj0 = 0 ;
15643 char *kwnames[] = {
15644 (char *) "self", NULL
15645 };
15646
15647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15650 {
15651 PyThreadState* __tstate = wxPyBeginAllowThreads();
15652 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15653
15654 wxPyEndAllowThreads(__tstate);
15655 if (PyErr_Occurred()) SWIG_fail;
15656 }
15657 {
15658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15659 }
15660 return resultobj;
15661 fail:
15662 return NULL;
15663 }
15664
15665
15666 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15667 PyObject *resultobj;
15668 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15669 bool result;
15670 PyObject * obj0 = 0 ;
15671 char *kwnames[] = {
15672 (char *) "self", NULL
15673 };
15674
15675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15678 {
15679 PyThreadState* __tstate = wxPyBeginAllowThreads();
15680 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15681
15682 wxPyEndAllowThreads(__tstate);
15683 if (PyErr_Occurred()) SWIG_fail;
15684 }
15685 {
15686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15687 }
15688 return resultobj;
15689 fail:
15690 return NULL;
15691 }
15692
15693
15694 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15695 PyObject *resultobj;
15696 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15697 wxSize result;
15698 PyObject * obj0 = 0 ;
15699 char *kwnames[] = {
15700 (char *) "self", NULL
15701 };
15702
15703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15706 {
15707 PyThreadState* __tstate = wxPyBeginAllowThreads();
15708 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15709
15710 wxPyEndAllowThreads(__tstate);
15711 if (PyErr_Occurred()) SWIG_fail;
15712 }
15713 {
15714 wxSize * resultptr;
15715 resultptr = new wxSize((wxSize &) result);
15716 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15717 }
15718 return resultobj;
15719 fail:
15720 return NULL;
15721 }
15722
15723
15724 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj;
15726 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15727 wxWindow *arg2 = (wxWindow *) 0 ;
15728 PyObject * obj0 = 0 ;
15729 PyObject * obj1 = 0 ;
15730 char *kwnames[] = {
15731 (char *) "self",(char *) "child", NULL
15732 };
15733
15734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15739 {
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 (arg1)->base_AddChild(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_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15754 PyObject *resultobj;
15755 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15756 wxWindow *arg2 = (wxWindow *) 0 ;
15757 PyObject * obj0 = 0 ;
15758 PyObject * obj1 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "self",(char *) "child", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 (arg1)->base_RemoveChild(arg2);
15771
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
15775 Py_INCREF(Py_None); resultobj = Py_None;
15776 return resultobj;
15777 fail:
15778 return NULL;
15779 }
15780
15781
15782 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15783 PyObject *obj;
15784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15785 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15786 Py_INCREF(obj);
15787 return Py_BuildValue((char *)"");
15788 }
15789 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15790 PyObject *resultobj;
15791 wxWindow *arg1 = (wxWindow *) 0 ;
15792 int arg2 ;
15793 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15794 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15795 wxSize const &arg4_defvalue = wxDefaultSize ;
15796 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15797 long arg5 = (long) 0 ;
15798 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15799 wxString *arg6 = (wxString *) &arg6_defvalue ;
15800 wxPyPanel *result;
15801 wxPoint temp3 ;
15802 wxSize temp4 ;
15803 bool temp6 = False ;
15804 PyObject * obj0 = 0 ;
15805 PyObject * obj1 = 0 ;
15806 PyObject * obj2 = 0 ;
15807 PyObject * obj3 = 0 ;
15808 PyObject * obj4 = 0 ;
15809 PyObject * obj5 = 0 ;
15810 char *kwnames[] = {
15811 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15812 };
15813
15814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15817 arg2 = (int const) SWIG_AsInt(obj1);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 if (obj2) {
15820 {
15821 arg3 = &temp3;
15822 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15823 }
15824 }
15825 if (obj3) {
15826 {
15827 arg4 = &temp4;
15828 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15829 }
15830 }
15831 if (obj4) {
15832 arg5 = (long) SWIG_AsLong(obj4);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 if (obj5) {
15836 {
15837 arg6 = wxString_in_helper(obj5);
15838 if (arg6 == NULL) SWIG_fail;
15839 temp6 = True;
15840 }
15841 }
15842 {
15843 PyThreadState* __tstate = wxPyBeginAllowThreads();
15844 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15845
15846 wxPyEndAllowThreads(__tstate);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15850 {
15851 if (temp6)
15852 delete arg6;
15853 }
15854 return resultobj;
15855 fail:
15856 {
15857 if (temp6)
15858 delete arg6;
15859 }
15860 return NULL;
15861 }
15862
15863
15864 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15865 PyObject *resultobj;
15866 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15867 PyObject *arg2 = (PyObject *) 0 ;
15868 PyObject *arg3 = (PyObject *) 0 ;
15869 PyObject * obj0 = 0 ;
15870 PyObject * obj1 = 0 ;
15871 PyObject * obj2 = 0 ;
15872 char *kwnames[] = {
15873 (char *) "self",(char *) "self",(char *) "_class", NULL
15874 };
15875
15876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15879 arg2 = obj1;
15880 arg3 = obj2;
15881 {
15882 PyThreadState* __tstate = wxPyBeginAllowThreads();
15883 (arg1)->_setCallbackInfo(arg2,arg3);
15884
15885 wxPyEndAllowThreads(__tstate);
15886 if (PyErr_Occurred()) SWIG_fail;
15887 }
15888 Py_INCREF(Py_None); resultobj = Py_None;
15889 return resultobj;
15890 fail:
15891 return NULL;
15892 }
15893
15894
15895 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15896 PyObject *resultobj;
15897 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15898 int arg2 ;
15899 int arg3 ;
15900 int arg4 ;
15901 int arg5 ;
15902 PyObject * obj0 = 0 ;
15903 PyObject * obj1 = 0 ;
15904 PyObject * obj2 = 0 ;
15905 PyObject * obj3 = 0 ;
15906 PyObject * obj4 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15914 arg2 = (int) SWIG_AsInt(obj1);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 arg3 = (int) SWIG_AsInt(obj2);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 arg4 = (int) SWIG_AsInt(obj3);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 arg5 = (int) SWIG_AsInt(obj4);
15921 if (PyErr_Occurred()) SWIG_fail;
15922 {
15923 PyThreadState* __tstate = wxPyBeginAllowThreads();
15924 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15925
15926 wxPyEndAllowThreads(__tstate);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
15929 Py_INCREF(Py_None); resultobj = Py_None;
15930 return resultobj;
15931 fail:
15932 return NULL;
15933 }
15934
15935
15936 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15937 PyObject *resultobj;
15938 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15939 int arg2 ;
15940 int arg3 ;
15941 int arg4 ;
15942 int arg5 ;
15943 int arg6 = (int) wxSIZE_AUTO ;
15944 PyObject * obj0 = 0 ;
15945 PyObject * obj1 = 0 ;
15946 PyObject * obj2 = 0 ;
15947 PyObject * obj3 = 0 ;
15948 PyObject * obj4 = 0 ;
15949 PyObject * obj5 = 0 ;
15950 char *kwnames[] = {
15951 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15952 };
15953
15954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15957 arg2 = (int) SWIG_AsInt(obj1);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 arg3 = (int) SWIG_AsInt(obj2);
15960 if (PyErr_Occurred()) SWIG_fail;
15961 arg4 = (int) SWIG_AsInt(obj3);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 arg5 = (int) SWIG_AsInt(obj4);
15964 if (PyErr_Occurred()) SWIG_fail;
15965 if (obj5) {
15966 arg6 = (int) SWIG_AsInt(obj5);
15967 if (PyErr_Occurred()) SWIG_fail;
15968 }
15969 {
15970 PyThreadState* __tstate = wxPyBeginAllowThreads();
15971 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15972
15973 wxPyEndAllowThreads(__tstate);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 Py_INCREF(Py_None); resultobj = Py_None;
15977 return resultobj;
15978 fail:
15979 return NULL;
15980 }
15981
15982
15983 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj;
15985 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15986 int arg2 ;
15987 int arg3 ;
15988 PyObject * obj0 = 0 ;
15989 PyObject * obj1 = 0 ;
15990 PyObject * obj2 = 0 ;
15991 char *kwnames[] = {
15992 (char *) "self",(char *) "width",(char *) "height", NULL
15993 };
15994
15995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15998 arg2 = (int) SWIG_AsInt(obj1);
15999 if (PyErr_Occurred()) SWIG_fail;
16000 arg3 = (int) SWIG_AsInt(obj2);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 {
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 (arg1)->base_DoSetClientSize(arg2,arg3);
16005
16006 wxPyEndAllowThreads(__tstate);
16007 if (PyErr_Occurred()) SWIG_fail;
16008 }
16009 Py_INCREF(Py_None); resultobj = Py_None;
16010 return resultobj;
16011 fail:
16012 return NULL;
16013 }
16014
16015
16016 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16017 PyObject *resultobj;
16018 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16019 int arg2 ;
16020 int arg3 ;
16021 PyObject * obj0 = 0 ;
16022 PyObject * obj1 = 0 ;
16023 PyObject * obj2 = 0 ;
16024 char *kwnames[] = {
16025 (char *) "self",(char *) "x",(char *) "y", NULL
16026 };
16027
16028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16031 arg2 = (int) SWIG_AsInt(obj1);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 arg3 = (int) SWIG_AsInt(obj2);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 {
16036 PyThreadState* __tstate = wxPyBeginAllowThreads();
16037 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16038
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 Py_INCREF(Py_None); resultobj = Py_None;
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj;
16051 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16052 int *arg2 = (int *) 0 ;
16053 int *arg3 = (int *) 0 ;
16054 int temp2 ;
16055 int temp3 ;
16056 PyObject * obj0 = 0 ;
16057 char *kwnames[] = {
16058 (char *) "self", NULL
16059 };
16060
16061 arg2 = &temp2;
16062 arg3 = &temp3;
16063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16066 {
16067 PyThreadState* __tstate = wxPyBeginAllowThreads();
16068 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16069
16070 wxPyEndAllowThreads(__tstate);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 }
16073 Py_INCREF(Py_None); resultobj = Py_None;
16074 {
16075 PyObject *o = PyInt_FromLong((long) (*arg2));
16076 resultobj = t_output_helper(resultobj,o);
16077 }
16078 {
16079 PyObject *o = PyInt_FromLong((long) (*arg3));
16080 resultobj = t_output_helper(resultobj,o);
16081 }
16082 return resultobj;
16083 fail:
16084 return NULL;
16085 }
16086
16087
16088 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16089 PyObject *resultobj;
16090 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16091 int *arg2 = (int *) 0 ;
16092 int *arg3 = (int *) 0 ;
16093 int temp2 ;
16094 int temp3 ;
16095 PyObject * obj0 = 0 ;
16096 char *kwnames[] = {
16097 (char *) "self", NULL
16098 };
16099
16100 arg2 = &temp2;
16101 arg3 = &temp3;
16102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16105 {
16106 PyThreadState* __tstate = wxPyBeginAllowThreads();
16107 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16108
16109 wxPyEndAllowThreads(__tstate);
16110 if (PyErr_Occurred()) SWIG_fail;
16111 }
16112 Py_INCREF(Py_None); resultobj = Py_None;
16113 {
16114 PyObject *o = PyInt_FromLong((long) (*arg2));
16115 resultobj = t_output_helper(resultobj,o);
16116 }
16117 {
16118 PyObject *o = PyInt_FromLong((long) (*arg3));
16119 resultobj = t_output_helper(resultobj,o);
16120 }
16121 return resultobj;
16122 fail:
16123 return NULL;
16124 }
16125
16126
16127 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16128 PyObject *resultobj;
16129 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16130 int *arg2 = (int *) 0 ;
16131 int *arg3 = (int *) 0 ;
16132 int temp2 ;
16133 int temp3 ;
16134 PyObject * obj0 = 0 ;
16135 char *kwnames[] = {
16136 (char *) "self", NULL
16137 };
16138
16139 arg2 = &temp2;
16140 arg3 = &temp3;
16141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16144 {
16145 PyThreadState* __tstate = wxPyBeginAllowThreads();
16146 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16147
16148 wxPyEndAllowThreads(__tstate);
16149 if (PyErr_Occurred()) SWIG_fail;
16150 }
16151 Py_INCREF(Py_None); resultobj = Py_None;
16152 {
16153 PyObject *o = PyInt_FromLong((long) (*arg2));
16154 resultobj = t_output_helper(resultobj,o);
16155 }
16156 {
16157 PyObject *o = PyInt_FromLong((long) (*arg3));
16158 resultobj = t_output_helper(resultobj,o);
16159 }
16160 return resultobj;
16161 fail:
16162 return NULL;
16163 }
16164
16165
16166 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16167 PyObject *resultobj;
16168 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16169 wxSize result;
16170 PyObject * obj0 = 0 ;
16171 char *kwnames[] = {
16172 (char *) "self", NULL
16173 };
16174
16175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16178 {
16179 PyThreadState* __tstate = wxPyBeginAllowThreads();
16180 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16181
16182 wxPyEndAllowThreads(__tstate);
16183 if (PyErr_Occurred()) SWIG_fail;
16184 }
16185 {
16186 wxSize * resultptr;
16187 resultptr = new wxSize((wxSize &) result);
16188 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16189 }
16190 return resultobj;
16191 fail:
16192 return NULL;
16193 }
16194
16195
16196 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16197 PyObject *resultobj;
16198 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16199 wxSize result;
16200 PyObject * obj0 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16208 {
16209 PyThreadState* __tstate = wxPyBeginAllowThreads();
16210 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16211
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 {
16216 wxSize * resultptr;
16217 resultptr = new wxSize((wxSize &) result);
16218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16219 }
16220 return resultobj;
16221 fail:
16222 return NULL;
16223 }
16224
16225
16226 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16227 PyObject *resultobj;
16228 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16229 PyObject * obj0 = 0 ;
16230 char *kwnames[] = {
16231 (char *) "self", NULL
16232 };
16233
16234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16237 {
16238 PyThreadState* __tstate = wxPyBeginAllowThreads();
16239 (arg1)->base_InitDialog();
16240
16241 wxPyEndAllowThreads(__tstate);
16242 if (PyErr_Occurred()) SWIG_fail;
16243 }
16244 Py_INCREF(Py_None); resultobj = Py_None;
16245 return resultobj;
16246 fail:
16247 return NULL;
16248 }
16249
16250
16251 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16252 PyObject *resultobj;
16253 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16254 bool result;
16255 PyObject * obj0 = 0 ;
16256 char *kwnames[] = {
16257 (char *) "self", NULL
16258 };
16259
16260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16263 {
16264 PyThreadState* __tstate = wxPyBeginAllowThreads();
16265 result = (bool)(arg1)->base_TransferDataToWindow();
16266
16267 wxPyEndAllowThreads(__tstate);
16268 if (PyErr_Occurred()) SWIG_fail;
16269 }
16270 {
16271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16272 }
16273 return resultobj;
16274 fail:
16275 return NULL;
16276 }
16277
16278
16279 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16280 PyObject *resultobj;
16281 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16282 bool result;
16283 PyObject * obj0 = 0 ;
16284 char *kwnames[] = {
16285 (char *) "self", NULL
16286 };
16287
16288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 result = (bool)(arg1)->base_TransferDataFromWindow();
16294
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 {
16299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16300 }
16301 return resultobj;
16302 fail:
16303 return NULL;
16304 }
16305
16306
16307 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16308 PyObject *resultobj;
16309 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16310 bool result;
16311 PyObject * obj0 = 0 ;
16312 char *kwnames[] = {
16313 (char *) "self", NULL
16314 };
16315
16316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16319 {
16320 PyThreadState* __tstate = wxPyBeginAllowThreads();
16321 result = (bool)(arg1)->base_Validate();
16322
16323 wxPyEndAllowThreads(__tstate);
16324 if (PyErr_Occurred()) SWIG_fail;
16325 }
16326 {
16327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16328 }
16329 return resultobj;
16330 fail:
16331 return NULL;
16332 }
16333
16334
16335 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16336 PyObject *resultobj;
16337 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16338 bool result;
16339 PyObject * obj0 = 0 ;
16340 char *kwnames[] = {
16341 (char *) "self", NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16347 {
16348 PyThreadState* __tstate = wxPyBeginAllowThreads();
16349 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16350
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 {
16355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16356 }
16357 return resultobj;
16358 fail:
16359 return NULL;
16360 }
16361
16362
16363 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16364 PyObject *resultobj;
16365 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16366 bool result;
16367 PyObject * obj0 = 0 ;
16368 char *kwnames[] = {
16369 (char *) "self", NULL
16370 };
16371
16372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16375 {
16376 PyThreadState* __tstate = wxPyBeginAllowThreads();
16377 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16378
16379 wxPyEndAllowThreads(__tstate);
16380 if (PyErr_Occurred()) SWIG_fail;
16381 }
16382 {
16383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16384 }
16385 return resultobj;
16386 fail:
16387 return NULL;
16388 }
16389
16390
16391 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16392 PyObject *resultobj;
16393 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16394 wxSize result;
16395 PyObject * obj0 = 0 ;
16396 char *kwnames[] = {
16397 (char *) "self", NULL
16398 };
16399
16400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16403 {
16404 PyThreadState* __tstate = wxPyBeginAllowThreads();
16405 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16406
16407 wxPyEndAllowThreads(__tstate);
16408 if (PyErr_Occurred()) SWIG_fail;
16409 }
16410 {
16411 wxSize * resultptr;
16412 resultptr = new wxSize((wxSize &) result);
16413 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16414 }
16415 return resultobj;
16416 fail:
16417 return NULL;
16418 }
16419
16420
16421 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16422 PyObject *resultobj;
16423 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16424 wxWindow *arg2 = (wxWindow *) 0 ;
16425 PyObject * obj0 = 0 ;
16426 PyObject * obj1 = 0 ;
16427 char *kwnames[] = {
16428 (char *) "self",(char *) "child", NULL
16429 };
16430
16431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16434 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16436 {
16437 PyThreadState* __tstate = wxPyBeginAllowThreads();
16438 (arg1)->base_AddChild(arg2);
16439
16440 wxPyEndAllowThreads(__tstate);
16441 if (PyErr_Occurred()) SWIG_fail;
16442 }
16443 Py_INCREF(Py_None); resultobj = Py_None;
16444 return resultobj;
16445 fail:
16446 return NULL;
16447 }
16448
16449
16450 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16451 PyObject *resultobj;
16452 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16453 wxWindow *arg2 = (wxWindow *) 0 ;
16454 PyObject * obj0 = 0 ;
16455 PyObject * obj1 = 0 ;
16456 char *kwnames[] = {
16457 (char *) "self",(char *) "child", NULL
16458 };
16459
16460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16465 {
16466 PyThreadState* __tstate = wxPyBeginAllowThreads();
16467 (arg1)->base_RemoveChild(arg2);
16468
16469 wxPyEndAllowThreads(__tstate);
16470 if (PyErr_Occurred()) SWIG_fail;
16471 }
16472 Py_INCREF(Py_None); resultobj = Py_None;
16473 return resultobj;
16474 fail:
16475 return NULL;
16476 }
16477
16478
16479 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16480 PyObject *obj;
16481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16482 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16483 Py_INCREF(obj);
16484 return Py_BuildValue((char *)"");
16485 }
16486 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
16487 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
16488 return 1;
16489 }
16490
16491
16492 static PyObject *_wrap_PrintoutTitleStr_get() {
16493 PyObject *pyobj;
16494
16495 {
16496 #if wxUSE_UNICODE
16497 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16498 #else
16499 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16500 #endif
16501 }
16502 return pyobj;
16503 }
16504
16505
16506 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
16507 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
16508 return 1;
16509 }
16510
16511
16512 static PyObject *_wrap_PreviewCanvasNameStr_get() {
16513 PyObject *pyobj;
16514
16515 {
16516 #if wxUSE_UNICODE
16517 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16518 #else
16519 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16520 #endif
16521 }
16522 return pyobj;
16523 }
16524
16525
16526 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16527 PyObject *resultobj;
16528 wxPrintData *result;
16529 char *kwnames[] = {
16530 NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 result = (wxPrintData *)new wxPrintData();
16537
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
16542 return resultobj;
16543 fail:
16544 return NULL;
16545 }
16546
16547
16548 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16549 PyObject *resultobj;
16550 wxPrintData *arg1 = (wxPrintData *) 0 ;
16551 PyObject * obj0 = 0 ;
16552 char *kwnames[] = {
16553 (char *) "self", NULL
16554 };
16555
16556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
16557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16559 {
16560 PyThreadState* __tstate = wxPyBeginAllowThreads();
16561 delete arg1;
16562
16563 wxPyEndAllowThreads(__tstate);
16564 if (PyErr_Occurred()) SWIG_fail;
16565 }
16566 Py_INCREF(Py_None); resultobj = Py_None;
16567 return resultobj;
16568 fail:
16569 return NULL;
16570 }
16571
16572
16573 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16574 PyObject *resultobj;
16575 wxPrintData *arg1 = (wxPrintData *) 0 ;
16576 int result;
16577 PyObject * obj0 = 0 ;
16578 char *kwnames[] = {
16579 (char *) "self", NULL
16580 };
16581
16582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
16583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16585 {
16586 PyThreadState* __tstate = wxPyBeginAllowThreads();
16587 result = (int)(arg1)->GetNoCopies();
16588
16589 wxPyEndAllowThreads(__tstate);
16590 if (PyErr_Occurred()) SWIG_fail;
16591 }
16592 resultobj = SWIG_FromInt((int)result);
16593 return resultobj;
16594 fail:
16595 return NULL;
16596 }
16597
16598
16599 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16600 PyObject *resultobj;
16601 wxPrintData *arg1 = (wxPrintData *) 0 ;
16602 bool result;
16603 PyObject * obj0 = 0 ;
16604 char *kwnames[] = {
16605 (char *) "self", NULL
16606 };
16607
16608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
16609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16611 {
16612 PyThreadState* __tstate = wxPyBeginAllowThreads();
16613 result = (bool)(arg1)->GetCollate();
16614
16615 wxPyEndAllowThreads(__tstate);
16616 if (PyErr_Occurred()) SWIG_fail;
16617 }
16618 {
16619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16620 }
16621 return resultobj;
16622 fail:
16623 return NULL;
16624 }
16625
16626
16627 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16628 PyObject *resultobj;
16629 wxPrintData *arg1 = (wxPrintData *) 0 ;
16630 int result;
16631 PyObject * obj0 = 0 ;
16632 char *kwnames[] = {
16633 (char *) "self", NULL
16634 };
16635
16636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
16637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 result = (int)(arg1)->GetOrientation();
16642
16643 wxPyEndAllowThreads(__tstate);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 resultobj = SWIG_FromInt((int)result);
16647 return resultobj;
16648 fail:
16649 return NULL;
16650 }
16651
16652
16653 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16654 PyObject *resultobj;
16655 wxPrintData *arg1 = (wxPrintData *) 0 ;
16656 bool result;
16657 PyObject * obj0 = 0 ;
16658 char *kwnames[] = {
16659 (char *) "self", NULL
16660 };
16661
16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
16663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 result = (bool)(arg1)->Ok();
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 {
16673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16674 }
16675 return resultobj;
16676 fail:
16677 return NULL;
16678 }
16679
16680
16681 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16682 PyObject *resultobj;
16683 wxPrintData *arg1 = (wxPrintData *) 0 ;
16684 wxString *result;
16685 PyObject * obj0 = 0 ;
16686 char *kwnames[] = {
16687 (char *) "self", NULL
16688 };
16689
16690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
16691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16693 {
16694 PyThreadState* __tstate = wxPyBeginAllowThreads();
16695 {
16696 wxString const &_result_ref = (arg1)->GetPrinterName();
16697 result = (wxString *) &_result_ref;
16698 }
16699
16700 wxPyEndAllowThreads(__tstate);
16701 if (PyErr_Occurred()) SWIG_fail;
16702 }
16703 {
16704 #if wxUSE_UNICODE
16705 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16706 #else
16707 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16708 #endif
16709 }
16710 return resultobj;
16711 fail:
16712 return NULL;
16713 }
16714
16715
16716 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16717 PyObject *resultobj;
16718 wxPrintData *arg1 = (wxPrintData *) 0 ;
16719 bool result;
16720 PyObject * obj0 = 0 ;
16721 char *kwnames[] = {
16722 (char *) "self", NULL
16723 };
16724
16725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
16726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16728 {
16729 PyThreadState* __tstate = wxPyBeginAllowThreads();
16730 result = (bool)(arg1)->GetColour();
16731
16732 wxPyEndAllowThreads(__tstate);
16733 if (PyErr_Occurred()) SWIG_fail;
16734 }
16735 {
16736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16737 }
16738 return resultobj;
16739 fail:
16740 return NULL;
16741 }
16742
16743
16744 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxPrintData *arg1 = (wxPrintData *) 0 ;
16747 int result;
16748 PyObject * obj0 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self", NULL
16751 };
16752
16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
16754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16756 {
16757 PyThreadState* __tstate = wxPyBeginAllowThreads();
16758 result = (int)(arg1)->GetDuplex();
16759
16760 wxPyEndAllowThreads(__tstate);
16761 if (PyErr_Occurred()) SWIG_fail;
16762 }
16763 resultobj = SWIG_FromInt((int)result);
16764 return resultobj;
16765 fail:
16766 return NULL;
16767 }
16768
16769
16770 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16771 PyObject *resultobj;
16772 wxPrintData *arg1 = (wxPrintData *) 0 ;
16773 int result;
16774 PyObject * obj0 = 0 ;
16775 char *kwnames[] = {
16776 (char *) "self", NULL
16777 };
16778
16779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
16780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16782 {
16783 PyThreadState* __tstate = wxPyBeginAllowThreads();
16784 result = (int)(arg1)->GetPaperId();
16785
16786 wxPyEndAllowThreads(__tstate);
16787 if (PyErr_Occurred()) SWIG_fail;
16788 }
16789 resultobj = SWIG_FromInt((int)result);
16790 return resultobj;
16791 fail:
16792 return NULL;
16793 }
16794
16795
16796 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16797 PyObject *resultobj;
16798 wxPrintData *arg1 = (wxPrintData *) 0 ;
16799 wxSize *result;
16800 PyObject * obj0 = 0 ;
16801 char *kwnames[] = {
16802 (char *) "self", NULL
16803 };
16804
16805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
16806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16808 {
16809 PyThreadState* __tstate = wxPyBeginAllowThreads();
16810 {
16811 wxSize const &_result_ref = (arg1)->GetPaperSize();
16812 result = (wxSize *) &_result_ref;
16813 }
16814
16815 wxPyEndAllowThreads(__tstate);
16816 if (PyErr_Occurred()) SWIG_fail;
16817 }
16818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
16819 return resultobj;
16820 fail:
16821 return NULL;
16822 }
16823
16824
16825 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16826 PyObject *resultobj;
16827 wxPrintData *arg1 = (wxPrintData *) 0 ;
16828 int result;
16829 PyObject * obj0 = 0 ;
16830 char *kwnames[] = {
16831 (char *) "self", NULL
16832 };
16833
16834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
16835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16837 {
16838 PyThreadState* __tstate = wxPyBeginAllowThreads();
16839 result = (int)(arg1)->GetQuality();
16840
16841 wxPyEndAllowThreads(__tstate);
16842 if (PyErr_Occurred()) SWIG_fail;
16843 }
16844 resultobj = SWIG_FromInt((int)result);
16845 return resultobj;
16846 fail:
16847 return NULL;
16848 }
16849
16850
16851 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16852 PyObject *resultobj;
16853 wxPrintData *arg1 = (wxPrintData *) 0 ;
16854 int arg2 ;
16855 PyObject * obj0 = 0 ;
16856 PyObject * obj1 = 0 ;
16857 char *kwnames[] = {
16858 (char *) "self",(char *) "v", NULL
16859 };
16860
16861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
16862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16864 arg2 = (int) SWIG_AsInt(obj1);
16865 if (PyErr_Occurred()) SWIG_fail;
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 (arg1)->SetNoCopies(arg2);
16869
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 Py_INCREF(Py_None); resultobj = Py_None;
16874 return resultobj;
16875 fail:
16876 return NULL;
16877 }
16878
16879
16880 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16881 PyObject *resultobj;
16882 wxPrintData *arg1 = (wxPrintData *) 0 ;
16883 bool arg2 ;
16884 PyObject * obj0 = 0 ;
16885 PyObject * obj1 = 0 ;
16886 char *kwnames[] = {
16887 (char *) "self",(char *) "flag", NULL
16888 };
16889
16890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
16891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16893 arg2 = (bool) SWIG_AsBool(obj1);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 (arg1)->SetCollate(arg2);
16898
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 Py_INCREF(Py_None); resultobj = Py_None;
16903 return resultobj;
16904 fail:
16905 return NULL;
16906 }
16907
16908
16909 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16910 PyObject *resultobj;
16911 wxPrintData *arg1 = (wxPrintData *) 0 ;
16912 int arg2 ;
16913 PyObject * obj0 = 0 ;
16914 PyObject * obj1 = 0 ;
16915 char *kwnames[] = {
16916 (char *) "self",(char *) "orient", NULL
16917 };
16918
16919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
16920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16922 arg2 = (int) SWIG_AsInt(obj1);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 {
16925 PyThreadState* __tstate = wxPyBeginAllowThreads();
16926 (arg1)->SetOrientation(arg2);
16927
16928 wxPyEndAllowThreads(__tstate);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 }
16931 Py_INCREF(Py_None); resultobj = Py_None;
16932 return resultobj;
16933 fail:
16934 return NULL;
16935 }
16936
16937
16938 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj;
16940 wxPrintData *arg1 = (wxPrintData *) 0 ;
16941 wxString *arg2 = 0 ;
16942 bool temp2 = False ;
16943 PyObject * obj0 = 0 ;
16944 PyObject * obj1 = 0 ;
16945 char *kwnames[] = {
16946 (char *) "self",(char *) "name", NULL
16947 };
16948
16949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
16950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16952 {
16953 arg2 = wxString_in_helper(obj1);
16954 if (arg2 == NULL) SWIG_fail;
16955 temp2 = True;
16956 }
16957 {
16958 PyThreadState* __tstate = wxPyBeginAllowThreads();
16959 (arg1)->SetPrinterName((wxString const &)*arg2);
16960
16961 wxPyEndAllowThreads(__tstate);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 }
16964 Py_INCREF(Py_None); resultobj = Py_None;
16965 {
16966 if (temp2)
16967 delete arg2;
16968 }
16969 return resultobj;
16970 fail:
16971 {
16972 if (temp2)
16973 delete arg2;
16974 }
16975 return NULL;
16976 }
16977
16978
16979 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16980 PyObject *resultobj;
16981 wxPrintData *arg1 = (wxPrintData *) 0 ;
16982 bool arg2 ;
16983 PyObject * obj0 = 0 ;
16984 PyObject * obj1 = 0 ;
16985 char *kwnames[] = {
16986 (char *) "self",(char *) "colour", NULL
16987 };
16988
16989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
16990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16992 arg2 = (bool) SWIG_AsBool(obj1);
16993 if (PyErr_Occurred()) SWIG_fail;
16994 {
16995 PyThreadState* __tstate = wxPyBeginAllowThreads();
16996 (arg1)->SetColour(arg2);
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 Py_INCREF(Py_None); resultobj = Py_None;
17002 return resultobj;
17003 fail:
17004 return NULL;
17005 }
17006
17007
17008 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17009 PyObject *resultobj;
17010 wxPrintData *arg1 = (wxPrintData *) 0 ;
17011 int arg2 ;
17012 PyObject * obj0 = 0 ;
17013 PyObject * obj1 = 0 ;
17014 char *kwnames[] = {
17015 (char *) "self",(char *) "duplex", NULL
17016 };
17017
17018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
17019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17021 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
17022 if (PyErr_Occurred()) SWIG_fail;
17023 {
17024 PyThreadState* __tstate = wxPyBeginAllowThreads();
17025 (arg1)->SetDuplex((wxDuplexMode )arg2);
17026
17027 wxPyEndAllowThreads(__tstate);
17028 if (PyErr_Occurred()) SWIG_fail;
17029 }
17030 Py_INCREF(Py_None); resultobj = Py_None;
17031 return resultobj;
17032 fail:
17033 return NULL;
17034 }
17035
17036
17037 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17038 PyObject *resultobj;
17039 wxPrintData *arg1 = (wxPrintData *) 0 ;
17040 int arg2 ;
17041 PyObject * obj0 = 0 ;
17042 PyObject * obj1 = 0 ;
17043 char *kwnames[] = {
17044 (char *) "self",(char *) "sizeId", NULL
17045 };
17046
17047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
17048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17050 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 (arg1)->SetPaperId((wxPaperSize )arg2);
17055
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 Py_INCREF(Py_None); resultobj = Py_None;
17060 return resultobj;
17061 fail:
17062 return NULL;
17063 }
17064
17065
17066 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17067 PyObject *resultobj;
17068 wxPrintData *arg1 = (wxPrintData *) 0 ;
17069 wxSize *arg2 = 0 ;
17070 wxSize temp2 ;
17071 PyObject * obj0 = 0 ;
17072 PyObject * obj1 = 0 ;
17073 char *kwnames[] = {
17074 (char *) "self",(char *) "sz", NULL
17075 };
17076
17077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17080 {
17081 arg2 = &temp2;
17082 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17083 }
17084 {
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 (arg1)->SetPaperSize((wxSize const &)*arg2);
17087
17088 wxPyEndAllowThreads(__tstate);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
17091 Py_INCREF(Py_None); resultobj = Py_None;
17092 return resultobj;
17093 fail:
17094 return NULL;
17095 }
17096
17097
17098 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17099 PyObject *resultobj;
17100 wxPrintData *arg1 = (wxPrintData *) 0 ;
17101 int arg2 ;
17102 PyObject * obj0 = 0 ;
17103 PyObject * obj1 = 0 ;
17104 char *kwnames[] = {
17105 (char *) "self",(char *) "quality", NULL
17106 };
17107
17108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
17109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17111 arg2 = (int) SWIG_AsInt(obj1);
17112 if (PyErr_Occurred()) SWIG_fail;
17113 {
17114 PyThreadState* __tstate = wxPyBeginAllowThreads();
17115 (arg1)->SetQuality(arg2);
17116
17117 wxPyEndAllowThreads(__tstate);
17118 if (PyErr_Occurred()) SWIG_fail;
17119 }
17120 Py_INCREF(Py_None); resultobj = Py_None;
17121 return resultobj;
17122 fail:
17123 return NULL;
17124 }
17125
17126
17127 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17128 PyObject *resultobj;
17129 wxPrintData *arg1 = (wxPrintData *) 0 ;
17130 wxString *result;
17131 PyObject * obj0 = 0 ;
17132 char *kwnames[] = {
17133 (char *) "self", NULL
17134 };
17135
17136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
17137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17139 {
17140 PyThreadState* __tstate = wxPyBeginAllowThreads();
17141 {
17142 wxString const &_result_ref = (arg1)->GetPrinterCommand();
17143 result = (wxString *) &_result_ref;
17144 }
17145
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 {
17150 #if wxUSE_UNICODE
17151 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17152 #else
17153 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17154 #endif
17155 }
17156 return resultobj;
17157 fail:
17158 return NULL;
17159 }
17160
17161
17162 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
17163 PyObject *resultobj;
17164 wxPrintData *arg1 = (wxPrintData *) 0 ;
17165 wxString *result;
17166 PyObject * obj0 = 0 ;
17167 char *kwnames[] = {
17168 (char *) "self", NULL
17169 };
17170
17171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
17172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17174 {
17175 PyThreadState* __tstate = wxPyBeginAllowThreads();
17176 {
17177 wxString const &_result_ref = (arg1)->GetPrinterOptions();
17178 result = (wxString *) &_result_ref;
17179 }
17180
17181 wxPyEndAllowThreads(__tstate);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 {
17185 #if wxUSE_UNICODE
17186 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17187 #else
17188 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17189 #endif
17190 }
17191 return resultobj;
17192 fail:
17193 return NULL;
17194 }
17195
17196
17197 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17198 PyObject *resultobj;
17199 wxPrintData *arg1 = (wxPrintData *) 0 ;
17200 wxString *result;
17201 PyObject * obj0 = 0 ;
17202 char *kwnames[] = {
17203 (char *) "self", NULL
17204 };
17205
17206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
17207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17209 {
17210 PyThreadState* __tstate = wxPyBeginAllowThreads();
17211 {
17212 wxString const &_result_ref = (arg1)->GetPreviewCommand();
17213 result = (wxString *) &_result_ref;
17214 }
17215
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 {
17220 #if wxUSE_UNICODE
17221 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17222 #else
17223 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17224 #endif
17225 }
17226 return resultobj;
17227 fail:
17228 return NULL;
17229 }
17230
17231
17232 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17233 PyObject *resultobj;
17234 wxPrintData *arg1 = (wxPrintData *) 0 ;
17235 wxString *result;
17236 PyObject * obj0 = 0 ;
17237 char *kwnames[] = {
17238 (char *) "self", NULL
17239 };
17240
17241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
17242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17244 {
17245 PyThreadState* __tstate = wxPyBeginAllowThreads();
17246 {
17247 wxString const &_result_ref = (arg1)->GetFilename();
17248 result = (wxString *) &_result_ref;
17249 }
17250
17251 wxPyEndAllowThreads(__tstate);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 {
17255 #if wxUSE_UNICODE
17256 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17257 #else
17258 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17259 #endif
17260 }
17261 return resultobj;
17262 fail:
17263 return NULL;
17264 }
17265
17266
17267 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17268 PyObject *resultobj;
17269 wxPrintData *arg1 = (wxPrintData *) 0 ;
17270 wxString *result;
17271 PyObject * obj0 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "self", NULL
17274 };
17275
17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
17277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 {
17282 wxString const &_result_ref = (arg1)->GetFontMetricPath();
17283 result = (wxString *) &_result_ref;
17284 }
17285
17286 wxPyEndAllowThreads(__tstate);
17287 if (PyErr_Occurred()) SWIG_fail;
17288 }
17289 {
17290 #if wxUSE_UNICODE
17291 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17292 #else
17293 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17294 #endif
17295 }
17296 return resultobj;
17297 fail:
17298 return NULL;
17299 }
17300
17301
17302 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17303 PyObject *resultobj;
17304 wxPrintData *arg1 = (wxPrintData *) 0 ;
17305 double result;
17306 PyObject * obj0 = 0 ;
17307 char *kwnames[] = {
17308 (char *) "self", NULL
17309 };
17310
17311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
17312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17314 {
17315 PyThreadState* __tstate = wxPyBeginAllowThreads();
17316 result = (double)(arg1)->GetPrinterScaleX();
17317
17318 wxPyEndAllowThreads(__tstate);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 }
17321 resultobj = SWIG_FromDouble((double)result);
17322 return resultobj;
17323 fail:
17324 return NULL;
17325 }
17326
17327
17328 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj;
17330 wxPrintData *arg1 = (wxPrintData *) 0 ;
17331 double result;
17332 PyObject * obj0 = 0 ;
17333 char *kwnames[] = {
17334 (char *) "self", NULL
17335 };
17336
17337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
17338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17340 {
17341 PyThreadState* __tstate = wxPyBeginAllowThreads();
17342 result = (double)(arg1)->GetPrinterScaleY();
17343
17344 wxPyEndAllowThreads(__tstate);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
17347 resultobj = SWIG_FromDouble((double)result);
17348 return resultobj;
17349 fail:
17350 return NULL;
17351 }
17352
17353
17354 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17355 PyObject *resultobj;
17356 wxPrintData *arg1 = (wxPrintData *) 0 ;
17357 long result;
17358 PyObject * obj0 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
17364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 result = (long)(arg1)->GetPrinterTranslateX();
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 resultobj = SWIG_FromLong((long)result);
17374 return resultobj;
17375 fail:
17376 return NULL;
17377 }
17378
17379
17380 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17381 PyObject *resultobj;
17382 wxPrintData *arg1 = (wxPrintData *) 0 ;
17383 long result;
17384 PyObject * obj0 = 0 ;
17385 char *kwnames[] = {
17386 (char *) "self", NULL
17387 };
17388
17389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
17390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17392 {
17393 PyThreadState* __tstate = wxPyBeginAllowThreads();
17394 result = (long)(arg1)->GetPrinterTranslateY();
17395
17396 wxPyEndAllowThreads(__tstate);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
17399 resultobj = SWIG_FromLong((long)result);
17400 return resultobj;
17401 fail:
17402 return NULL;
17403 }
17404
17405
17406 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17407 PyObject *resultobj;
17408 wxPrintData *arg1 = (wxPrintData *) 0 ;
17409 int result;
17410 PyObject * obj0 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
17416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17418 {
17419 PyThreadState* __tstate = wxPyBeginAllowThreads();
17420 result = (int)(arg1)->GetPrintMode();
17421
17422 wxPyEndAllowThreads(__tstate);
17423 if (PyErr_Occurred()) SWIG_fail;
17424 }
17425 resultobj = SWIG_FromInt((int)result);
17426 return resultobj;
17427 fail:
17428 return NULL;
17429 }
17430
17431
17432 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17433 PyObject *resultobj;
17434 wxPrintData *arg1 = (wxPrintData *) 0 ;
17435 wxString *arg2 = 0 ;
17436 bool temp2 = False ;
17437 PyObject * obj0 = 0 ;
17438 PyObject * obj1 = 0 ;
17439 char *kwnames[] = {
17440 (char *) "self",(char *) "command", NULL
17441 };
17442
17443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
17444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17446 {
17447 arg2 = wxString_in_helper(obj1);
17448 if (arg2 == NULL) SWIG_fail;
17449 temp2 = True;
17450 }
17451 {
17452 PyThreadState* __tstate = wxPyBeginAllowThreads();
17453 (arg1)->SetPrinterCommand((wxString const &)*arg2);
17454
17455 wxPyEndAllowThreads(__tstate);
17456 if (PyErr_Occurred()) SWIG_fail;
17457 }
17458 Py_INCREF(Py_None); resultobj = Py_None;
17459 {
17460 if (temp2)
17461 delete arg2;
17462 }
17463 return resultobj;
17464 fail:
17465 {
17466 if (temp2)
17467 delete arg2;
17468 }
17469 return NULL;
17470 }
17471
17472
17473 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
17474 PyObject *resultobj;
17475 wxPrintData *arg1 = (wxPrintData *) 0 ;
17476 wxString *arg2 = 0 ;
17477 bool temp2 = False ;
17478 PyObject * obj0 = 0 ;
17479 PyObject * obj1 = 0 ;
17480 char *kwnames[] = {
17481 (char *) "self",(char *) "options", NULL
17482 };
17483
17484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
17485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17487 {
17488 arg2 = wxString_in_helper(obj1);
17489 if (arg2 == NULL) SWIG_fail;
17490 temp2 = True;
17491 }
17492 {
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 (arg1)->SetPrinterOptions((wxString const &)*arg2);
17495
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
17499 Py_INCREF(Py_None); resultobj = Py_None;
17500 {
17501 if (temp2)
17502 delete arg2;
17503 }
17504 return resultobj;
17505 fail:
17506 {
17507 if (temp2)
17508 delete arg2;
17509 }
17510 return NULL;
17511 }
17512
17513
17514 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17515 PyObject *resultobj;
17516 wxPrintData *arg1 = (wxPrintData *) 0 ;
17517 wxString *arg2 = 0 ;
17518 bool temp2 = False ;
17519 PyObject * obj0 = 0 ;
17520 PyObject * obj1 = 0 ;
17521 char *kwnames[] = {
17522 (char *) "self",(char *) "command", NULL
17523 };
17524
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
17526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17528 {
17529 arg2 = wxString_in_helper(obj1);
17530 if (arg2 == NULL) SWIG_fail;
17531 temp2 = True;
17532 }
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 (arg1)->SetPreviewCommand((wxString const &)*arg2);
17536
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 Py_INCREF(Py_None); resultobj = Py_None;
17541 {
17542 if (temp2)
17543 delete arg2;
17544 }
17545 return resultobj;
17546 fail:
17547 {
17548 if (temp2)
17549 delete arg2;
17550 }
17551 return NULL;
17552 }
17553
17554
17555 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17556 PyObject *resultobj;
17557 wxPrintData *arg1 = (wxPrintData *) 0 ;
17558 wxString *arg2 = 0 ;
17559 bool temp2 = False ;
17560 PyObject * obj0 = 0 ;
17561 PyObject * obj1 = 0 ;
17562 char *kwnames[] = {
17563 (char *) "self",(char *) "filename", NULL
17564 };
17565
17566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
17567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17569 {
17570 arg2 = wxString_in_helper(obj1);
17571 if (arg2 == NULL) SWIG_fail;
17572 temp2 = True;
17573 }
17574 {
17575 PyThreadState* __tstate = wxPyBeginAllowThreads();
17576 (arg1)->SetFilename((wxString const &)*arg2);
17577
17578 wxPyEndAllowThreads(__tstate);
17579 if (PyErr_Occurred()) SWIG_fail;
17580 }
17581 Py_INCREF(Py_None); resultobj = Py_None;
17582 {
17583 if (temp2)
17584 delete arg2;
17585 }
17586 return resultobj;
17587 fail:
17588 {
17589 if (temp2)
17590 delete arg2;
17591 }
17592 return NULL;
17593 }
17594
17595
17596 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17597 PyObject *resultobj;
17598 wxPrintData *arg1 = (wxPrintData *) 0 ;
17599 wxString *arg2 = 0 ;
17600 bool temp2 = False ;
17601 PyObject * obj0 = 0 ;
17602 PyObject * obj1 = 0 ;
17603 char *kwnames[] = {
17604 (char *) "self",(char *) "path", NULL
17605 };
17606
17607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
17608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17610 {
17611 arg2 = wxString_in_helper(obj1);
17612 if (arg2 == NULL) SWIG_fail;
17613 temp2 = True;
17614 }
17615 {
17616 PyThreadState* __tstate = wxPyBeginAllowThreads();
17617 (arg1)->SetFontMetricPath((wxString const &)*arg2);
17618
17619 wxPyEndAllowThreads(__tstate);
17620 if (PyErr_Occurred()) SWIG_fail;
17621 }
17622 Py_INCREF(Py_None); resultobj = Py_None;
17623 {
17624 if (temp2)
17625 delete arg2;
17626 }
17627 return resultobj;
17628 fail:
17629 {
17630 if (temp2)
17631 delete arg2;
17632 }
17633 return NULL;
17634 }
17635
17636
17637 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17638 PyObject *resultobj;
17639 wxPrintData *arg1 = (wxPrintData *) 0 ;
17640 double arg2 ;
17641 PyObject * obj0 = 0 ;
17642 PyObject * obj1 = 0 ;
17643 char *kwnames[] = {
17644 (char *) "self",(char *) "x", NULL
17645 };
17646
17647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
17648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17650 arg2 = (double) SWIG_AsDouble(obj1);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 {
17653 PyThreadState* __tstate = wxPyBeginAllowThreads();
17654 (arg1)->SetPrinterScaleX(arg2);
17655
17656 wxPyEndAllowThreads(__tstate);
17657 if (PyErr_Occurred()) SWIG_fail;
17658 }
17659 Py_INCREF(Py_None); resultobj = Py_None;
17660 return resultobj;
17661 fail:
17662 return NULL;
17663 }
17664
17665
17666 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17667 PyObject *resultobj;
17668 wxPrintData *arg1 = (wxPrintData *) 0 ;
17669 double arg2 ;
17670 PyObject * obj0 = 0 ;
17671 PyObject * obj1 = 0 ;
17672 char *kwnames[] = {
17673 (char *) "self",(char *) "y", NULL
17674 };
17675
17676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
17677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17679 arg2 = (double) SWIG_AsDouble(obj1);
17680 if (PyErr_Occurred()) SWIG_fail;
17681 {
17682 PyThreadState* __tstate = wxPyBeginAllowThreads();
17683 (arg1)->SetPrinterScaleY(arg2);
17684
17685 wxPyEndAllowThreads(__tstate);
17686 if (PyErr_Occurred()) SWIG_fail;
17687 }
17688 Py_INCREF(Py_None); resultobj = Py_None;
17689 return resultobj;
17690 fail:
17691 return NULL;
17692 }
17693
17694
17695 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
17696 PyObject *resultobj;
17697 wxPrintData *arg1 = (wxPrintData *) 0 ;
17698 double arg2 ;
17699 double arg3 ;
17700 PyObject * obj0 = 0 ;
17701 PyObject * obj1 = 0 ;
17702 PyObject * obj2 = 0 ;
17703 char *kwnames[] = {
17704 (char *) "self",(char *) "x",(char *) "y", NULL
17705 };
17706
17707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
17708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17710 arg2 = (double) SWIG_AsDouble(obj1);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 arg3 = (double) SWIG_AsDouble(obj2);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 {
17715 PyThreadState* __tstate = wxPyBeginAllowThreads();
17716 (arg1)->SetPrinterScaling(arg2,arg3);
17717
17718 wxPyEndAllowThreads(__tstate);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 }
17721 Py_INCREF(Py_None); resultobj = Py_None;
17722 return resultobj;
17723 fail:
17724 return NULL;
17725 }
17726
17727
17728 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17729 PyObject *resultobj;
17730 wxPrintData *arg1 = (wxPrintData *) 0 ;
17731 long arg2 ;
17732 PyObject * obj0 = 0 ;
17733 PyObject * obj1 = 0 ;
17734 char *kwnames[] = {
17735 (char *) "self",(char *) "x", NULL
17736 };
17737
17738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
17739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17741 arg2 = (long) SWIG_AsLong(obj1);
17742 if (PyErr_Occurred()) SWIG_fail;
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 (arg1)->SetPrinterTranslateX(arg2);
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 Py_INCREF(Py_None); resultobj = Py_None;
17751 return resultobj;
17752 fail:
17753 return NULL;
17754 }
17755
17756
17757 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17758 PyObject *resultobj;
17759 wxPrintData *arg1 = (wxPrintData *) 0 ;
17760 long arg2 ;
17761 PyObject * obj0 = 0 ;
17762 PyObject * obj1 = 0 ;
17763 char *kwnames[] = {
17764 (char *) "self",(char *) "y", NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
17768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17770 arg2 = (long) SWIG_AsLong(obj1);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 (arg1)->SetPrinterTranslateY(arg2);
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 Py_INCREF(Py_None); resultobj = Py_None;
17780 return resultobj;
17781 fail:
17782 return NULL;
17783 }
17784
17785
17786 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxPrintData *arg1 = (wxPrintData *) 0 ;
17789 long arg2 ;
17790 long arg3 ;
17791 PyObject * obj0 = 0 ;
17792 PyObject * obj1 = 0 ;
17793 PyObject * obj2 = 0 ;
17794 char *kwnames[] = {
17795 (char *) "self",(char *) "x",(char *) "y", NULL
17796 };
17797
17798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
17799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17801 arg2 = (long) SWIG_AsLong(obj1);
17802 if (PyErr_Occurred()) SWIG_fail;
17803 arg3 = (long) SWIG_AsLong(obj2);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 {
17806 PyThreadState* __tstate = wxPyBeginAllowThreads();
17807 (arg1)->SetPrinterTranslation(arg2,arg3);
17808
17809 wxPyEndAllowThreads(__tstate);
17810 if (PyErr_Occurred()) SWIG_fail;
17811 }
17812 Py_INCREF(Py_None); resultobj = Py_None;
17813 return resultobj;
17814 fail:
17815 return NULL;
17816 }
17817
17818
17819 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj;
17821 wxPrintData *arg1 = (wxPrintData *) 0 ;
17822 int arg2 ;
17823 PyObject * obj0 = 0 ;
17824 PyObject * obj1 = 0 ;
17825 char *kwnames[] = {
17826 (char *) "self",(char *) "printMode", NULL
17827 };
17828
17829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
17830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17832 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 {
17835 PyThreadState* __tstate = wxPyBeginAllowThreads();
17836 (arg1)->SetPrintMode((wxPrintMode )arg2);
17837
17838 wxPyEndAllowThreads(__tstate);
17839 if (PyErr_Occurred()) SWIG_fail;
17840 }
17841 Py_INCREF(Py_None); resultobj = Py_None;
17842 return resultobj;
17843 fail:
17844 return NULL;
17845 }
17846
17847
17848 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
17849 PyObject *resultobj;
17850 wxPrintData *arg1 = (wxPrintData *) 0 ;
17851 wxOutputStream *result;
17852 PyObject * obj0 = 0 ;
17853 char *kwnames[] = {
17854 (char *) "self", NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
17858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17860 {
17861 PyThreadState* __tstate = wxPyBeginAllowThreads();
17862 result = (wxOutputStream *)(arg1)->GetOutputStream();
17863
17864 wxPyEndAllowThreads(__tstate);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
17868 return resultobj;
17869 fail:
17870 return NULL;
17871 }
17872
17873
17874 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
17875 PyObject *resultobj;
17876 wxPrintData *arg1 = (wxPrintData *) 0 ;
17877 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
17878 PyObject * obj0 = 0 ;
17879 PyObject * obj1 = 0 ;
17880 char *kwnames[] = {
17881 (char *) "self",(char *) "outputstream", NULL
17882 };
17883
17884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
17885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17887 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
17888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 (arg1)->SetOutputStream(arg2);
17892
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
17896 Py_INCREF(Py_None); resultobj = Py_None;
17897 return resultobj;
17898 fail:
17899 return NULL;
17900 }
17901
17902
17903 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
17904 PyObject *obj;
17905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17906 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
17907 Py_INCREF(obj);
17908 return Py_BuildValue((char *)"");
17909 }
17910 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17911 PyObject *resultobj;
17912 wxPageSetupDialogData *result;
17913 char *kwnames[] = {
17914 NULL
17915 };
17916
17917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
17918 {
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
17921
17922 wxPyEndAllowThreads(__tstate);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 }
17925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
17926 return resultobj;
17927 fail:
17928 return NULL;
17929 }
17930
17931
17932 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17933 PyObject *resultobj;
17934 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17935 PyObject * obj0 = 0 ;
17936 char *kwnames[] = {
17937 (char *) "self", NULL
17938 };
17939
17940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
17941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17943 {
17944 PyThreadState* __tstate = wxPyBeginAllowThreads();
17945 delete arg1;
17946
17947 wxPyEndAllowThreads(__tstate);
17948 if (PyErr_Occurred()) SWIG_fail;
17949 }
17950 Py_INCREF(Py_None); resultobj = Py_None;
17951 return resultobj;
17952 fail:
17953 return NULL;
17954 }
17955
17956
17957 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17958 PyObject *resultobj;
17959 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17960 bool arg2 ;
17961 PyObject * obj0 = 0 ;
17962 PyObject * obj1 = 0 ;
17963 char *kwnames[] = {
17964 (char *) "self",(char *) "flag", NULL
17965 };
17966
17967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17970 arg2 = (bool) SWIG_AsBool(obj1);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 {
17973 PyThreadState* __tstate = wxPyBeginAllowThreads();
17974 (arg1)->EnableHelp(arg2);
17975
17976 wxPyEndAllowThreads(__tstate);
17977 if (PyErr_Occurred()) SWIG_fail;
17978 }
17979 Py_INCREF(Py_None); resultobj = Py_None;
17980 return resultobj;
17981 fail:
17982 return NULL;
17983 }
17984
17985
17986 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17987 PyObject *resultobj;
17988 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17989 bool arg2 ;
17990 PyObject * obj0 = 0 ;
17991 PyObject * obj1 = 0 ;
17992 char *kwnames[] = {
17993 (char *) "self",(char *) "flag", NULL
17994 };
17995
17996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
17997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17999 arg2 = (bool) SWIG_AsBool(obj1);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 {
18002 PyThreadState* __tstate = wxPyBeginAllowThreads();
18003 (arg1)->EnableMargins(arg2);
18004
18005 wxPyEndAllowThreads(__tstate);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
18008 Py_INCREF(Py_None); resultobj = Py_None;
18009 return resultobj;
18010 fail:
18011 return NULL;
18012 }
18013
18014
18015 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18016 PyObject *resultobj;
18017 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18018 bool arg2 ;
18019 PyObject * obj0 = 0 ;
18020 PyObject * obj1 = 0 ;
18021 char *kwnames[] = {
18022 (char *) "self",(char *) "flag", NULL
18023 };
18024
18025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
18026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18028 arg2 = (bool) SWIG_AsBool(obj1);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 {
18031 PyThreadState* __tstate = wxPyBeginAllowThreads();
18032 (arg1)->EnableOrientation(arg2);
18033
18034 wxPyEndAllowThreads(__tstate);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 }
18037 Py_INCREF(Py_None); resultobj = Py_None;
18038 return resultobj;
18039 fail:
18040 return NULL;
18041 }
18042
18043
18044 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18045 PyObject *resultobj;
18046 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18047 bool arg2 ;
18048 PyObject * obj0 = 0 ;
18049 PyObject * obj1 = 0 ;
18050 char *kwnames[] = {
18051 (char *) "self",(char *) "flag", NULL
18052 };
18053
18054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
18055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18057 arg2 = (bool) SWIG_AsBool(obj1);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 {
18060 PyThreadState* __tstate = wxPyBeginAllowThreads();
18061 (arg1)->EnablePaper(arg2);
18062
18063 wxPyEndAllowThreads(__tstate);
18064 if (PyErr_Occurred()) SWIG_fail;
18065 }
18066 Py_INCREF(Py_None); resultobj = Py_None;
18067 return resultobj;
18068 fail:
18069 return NULL;
18070 }
18071
18072
18073 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18074 PyObject *resultobj;
18075 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18076 bool arg2 ;
18077 PyObject * obj0 = 0 ;
18078 PyObject * obj1 = 0 ;
18079 char *kwnames[] = {
18080 (char *) "self",(char *) "flag", NULL
18081 };
18082
18083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
18084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18086 arg2 = (bool) SWIG_AsBool(obj1);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 (arg1)->EnablePrinter(arg2);
18091
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 Py_INCREF(Py_None); resultobj = Py_None;
18096 return resultobj;
18097 fail:
18098 return NULL;
18099 }
18100
18101
18102 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18103 PyObject *resultobj;
18104 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18105 bool result;
18106 PyObject * obj0 = 0 ;
18107 char *kwnames[] = {
18108 (char *) "self", NULL
18109 };
18110
18111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
18112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18114 {
18115 PyThreadState* __tstate = wxPyBeginAllowThreads();
18116 result = (bool)(arg1)->GetDefaultMinMargins();
18117
18118 wxPyEndAllowThreads(__tstate);
18119 if (PyErr_Occurred()) SWIG_fail;
18120 }
18121 {
18122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18123 }
18124 return resultobj;
18125 fail:
18126 return NULL;
18127 }
18128
18129
18130 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18131 PyObject *resultobj;
18132 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18133 bool result;
18134 PyObject * obj0 = 0 ;
18135 char *kwnames[] = {
18136 (char *) "self", NULL
18137 };
18138
18139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
18140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18142 {
18143 PyThreadState* __tstate = wxPyBeginAllowThreads();
18144 result = (bool)(arg1)->GetEnableMargins();
18145
18146 wxPyEndAllowThreads(__tstate);
18147 if (PyErr_Occurred()) SWIG_fail;
18148 }
18149 {
18150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18151 }
18152 return resultobj;
18153 fail:
18154 return NULL;
18155 }
18156
18157
18158 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18159 PyObject *resultobj;
18160 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18161 bool result;
18162 PyObject * obj0 = 0 ;
18163 char *kwnames[] = {
18164 (char *) "self", NULL
18165 };
18166
18167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
18168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18170 {
18171 PyThreadState* __tstate = wxPyBeginAllowThreads();
18172 result = (bool)(arg1)->GetEnableOrientation();
18173
18174 wxPyEndAllowThreads(__tstate);
18175 if (PyErr_Occurred()) SWIG_fail;
18176 }
18177 {
18178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18179 }
18180 return resultobj;
18181 fail:
18182 return NULL;
18183 }
18184
18185
18186 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18187 PyObject *resultobj;
18188 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18189 bool result;
18190 PyObject * obj0 = 0 ;
18191 char *kwnames[] = {
18192 (char *) "self", NULL
18193 };
18194
18195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
18196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18198 {
18199 PyThreadState* __tstate = wxPyBeginAllowThreads();
18200 result = (bool)(arg1)->GetEnablePaper();
18201
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 {
18206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18207 }
18208 return resultobj;
18209 fail:
18210 return NULL;
18211 }
18212
18213
18214 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18215 PyObject *resultobj;
18216 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18217 bool result;
18218 PyObject * obj0 = 0 ;
18219 char *kwnames[] = {
18220 (char *) "self", NULL
18221 };
18222
18223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
18224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18226 {
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 result = (bool)(arg1)->GetEnablePrinter();
18229
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 {
18234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18235 }
18236 return resultobj;
18237 fail:
18238 return NULL;
18239 }
18240
18241
18242 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18243 PyObject *resultobj;
18244 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18245 bool result;
18246 PyObject * obj0 = 0 ;
18247 char *kwnames[] = {
18248 (char *) "self", NULL
18249 };
18250
18251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18254 {
18255 PyThreadState* __tstate = wxPyBeginAllowThreads();
18256 result = (bool)(arg1)->GetEnableHelp();
18257
18258 wxPyEndAllowThreads(__tstate);
18259 if (PyErr_Occurred()) SWIG_fail;
18260 }
18261 {
18262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18263 }
18264 return resultobj;
18265 fail:
18266 return NULL;
18267 }
18268
18269
18270 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18271 PyObject *resultobj;
18272 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18273 bool result;
18274 PyObject * obj0 = 0 ;
18275 char *kwnames[] = {
18276 (char *) "self", NULL
18277 };
18278
18279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
18280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 result = (bool)(arg1)->GetDefaultInfo();
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 {
18290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18291 }
18292 return resultobj;
18293 fail:
18294 return NULL;
18295 }
18296
18297
18298 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18299 PyObject *resultobj;
18300 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18301 wxPoint result;
18302 PyObject * obj0 = 0 ;
18303 char *kwnames[] = {
18304 (char *) "self", NULL
18305 };
18306
18307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
18308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18310 {
18311 PyThreadState* __tstate = wxPyBeginAllowThreads();
18312 result = (arg1)->GetMarginTopLeft();
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 {
18318 wxPoint * resultptr;
18319 resultptr = new wxPoint((wxPoint &) result);
18320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18321 }
18322 return resultobj;
18323 fail:
18324 return NULL;
18325 }
18326
18327
18328 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18329 PyObject *resultobj;
18330 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18331 wxPoint result;
18332 PyObject * obj0 = 0 ;
18333 char *kwnames[] = {
18334 (char *) "self", NULL
18335 };
18336
18337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
18338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18340 {
18341 PyThreadState* __tstate = wxPyBeginAllowThreads();
18342 result = (arg1)->GetMarginBottomRight();
18343
18344 wxPyEndAllowThreads(__tstate);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 }
18347 {
18348 wxPoint * resultptr;
18349 resultptr = new wxPoint((wxPoint &) result);
18350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18351 }
18352 return resultobj;
18353 fail:
18354 return NULL;
18355 }
18356
18357
18358 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18359 PyObject *resultobj;
18360 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18361 wxPoint result;
18362 PyObject * obj0 = 0 ;
18363 char *kwnames[] = {
18364 (char *) "self", NULL
18365 };
18366
18367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
18368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 result = (arg1)->GetMinMarginTopLeft();
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 {
18378 wxPoint * resultptr;
18379 resultptr = new wxPoint((wxPoint &) result);
18380 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18381 }
18382 return resultobj;
18383 fail:
18384 return NULL;
18385 }
18386
18387
18388 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18389 PyObject *resultobj;
18390 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18391 wxPoint result;
18392 PyObject * obj0 = 0 ;
18393 char *kwnames[] = {
18394 (char *) "self", NULL
18395 };
18396
18397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
18398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18400 {
18401 PyThreadState* __tstate = wxPyBeginAllowThreads();
18402 result = (arg1)->GetMinMarginBottomRight();
18403
18404 wxPyEndAllowThreads(__tstate);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 }
18407 {
18408 wxPoint * resultptr;
18409 resultptr = new wxPoint((wxPoint &) result);
18410 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18411 }
18412 return resultobj;
18413 fail:
18414 return NULL;
18415 }
18416
18417
18418 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18419 PyObject *resultobj;
18420 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18421 int result;
18422 PyObject * obj0 = 0 ;
18423 char *kwnames[] = {
18424 (char *) "self", NULL
18425 };
18426
18427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
18428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18430 {
18431 PyThreadState* __tstate = wxPyBeginAllowThreads();
18432 result = (int)(arg1)->GetPaperId();
18433
18434 wxPyEndAllowThreads(__tstate);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 resultobj = SWIG_FromInt((int)result);
18438 return resultobj;
18439 fail:
18440 return NULL;
18441 }
18442
18443
18444 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18445 PyObject *resultobj;
18446 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18447 wxSize result;
18448 PyObject * obj0 = 0 ;
18449 char *kwnames[] = {
18450 (char *) "self", NULL
18451 };
18452
18453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
18454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18456 {
18457 PyThreadState* __tstate = wxPyBeginAllowThreads();
18458 result = (arg1)->GetPaperSize();
18459
18460 wxPyEndAllowThreads(__tstate);
18461 if (PyErr_Occurred()) SWIG_fail;
18462 }
18463 {
18464 wxSize * resultptr;
18465 resultptr = new wxSize((wxSize &) result);
18466 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18467 }
18468 return resultobj;
18469 fail:
18470 return NULL;
18471 }
18472
18473
18474 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18475 PyObject *resultobj;
18476 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18477 wxPrintData *result;
18478 PyObject * obj0 = 0 ;
18479 char *kwnames[] = {
18480 (char *) "self", NULL
18481 };
18482
18483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18486 {
18487 PyThreadState* __tstate = wxPyBeginAllowThreads();
18488 {
18489 wxPrintData &_result_ref = (arg1)->GetPrintData();
18490 result = (wxPrintData *) &_result_ref;
18491 }
18492
18493 wxPyEndAllowThreads(__tstate);
18494 if (PyErr_Occurred()) SWIG_fail;
18495 }
18496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
18497 return resultobj;
18498 fail:
18499 return NULL;
18500 }
18501
18502
18503 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18504 PyObject *resultobj;
18505 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18506 bool result;
18507 PyObject * obj0 = 0 ;
18508 char *kwnames[] = {
18509 (char *) "self", NULL
18510 };
18511
18512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
18513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18515 {
18516 PyThreadState* __tstate = wxPyBeginAllowThreads();
18517 result = (bool)(arg1)->Ok();
18518
18519 wxPyEndAllowThreads(__tstate);
18520 if (PyErr_Occurred()) SWIG_fail;
18521 }
18522 {
18523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18524 }
18525 return resultobj;
18526 fail:
18527 return NULL;
18528 }
18529
18530
18531 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18532 PyObject *resultobj;
18533 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18534 bool arg2 ;
18535 PyObject * obj0 = 0 ;
18536 PyObject * obj1 = 0 ;
18537 char *kwnames[] = {
18538 (char *) "self",(char *) "flag", NULL
18539 };
18540
18541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
18542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18544 arg2 = (bool) SWIG_AsBool(obj1);
18545 if (PyErr_Occurred()) SWIG_fail;
18546 {
18547 PyThreadState* __tstate = wxPyBeginAllowThreads();
18548 (arg1)->SetDefaultInfo(arg2);
18549
18550 wxPyEndAllowThreads(__tstate);
18551 if (PyErr_Occurred()) SWIG_fail;
18552 }
18553 Py_INCREF(Py_None); resultobj = Py_None;
18554 return resultobj;
18555 fail:
18556 return NULL;
18557 }
18558
18559
18560 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18561 PyObject *resultobj;
18562 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18563 bool arg2 ;
18564 PyObject * obj0 = 0 ;
18565 PyObject * obj1 = 0 ;
18566 char *kwnames[] = {
18567 (char *) "self",(char *) "flag", NULL
18568 };
18569
18570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
18571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18573 arg2 = (bool) SWIG_AsBool(obj1);
18574 if (PyErr_Occurred()) SWIG_fail;
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 (arg1)->SetDefaultMinMargins(arg2);
18578
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
18582 Py_INCREF(Py_None); resultobj = Py_None;
18583 return resultobj;
18584 fail:
18585 return NULL;
18586 }
18587
18588
18589 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18590 PyObject *resultobj;
18591 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18592 wxPoint *arg2 = 0 ;
18593 wxPoint temp2 ;
18594 PyObject * obj0 = 0 ;
18595 PyObject * obj1 = 0 ;
18596 char *kwnames[] = {
18597 (char *) "self",(char *) "pt", NULL
18598 };
18599
18600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18603 {
18604 arg2 = &temp2;
18605 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18606 }
18607 {
18608 PyThreadState* __tstate = wxPyBeginAllowThreads();
18609 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
18610
18611 wxPyEndAllowThreads(__tstate);
18612 if (PyErr_Occurred()) SWIG_fail;
18613 }
18614 Py_INCREF(Py_None); resultobj = Py_None;
18615 return resultobj;
18616 fail:
18617 return NULL;
18618 }
18619
18620
18621 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18622 PyObject *resultobj;
18623 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18624 wxPoint *arg2 = 0 ;
18625 wxPoint temp2 ;
18626 PyObject * obj0 = 0 ;
18627 PyObject * obj1 = 0 ;
18628 char *kwnames[] = {
18629 (char *) "self",(char *) "pt", NULL
18630 };
18631
18632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18635 {
18636 arg2 = &temp2;
18637 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18638 }
18639 {
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
18641 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
18642
18643 wxPyEndAllowThreads(__tstate);
18644 if (PyErr_Occurred()) SWIG_fail;
18645 }
18646 Py_INCREF(Py_None); resultobj = Py_None;
18647 return resultobj;
18648 fail:
18649 return NULL;
18650 }
18651
18652
18653 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18654 PyObject *resultobj;
18655 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18656 wxPoint *arg2 = 0 ;
18657 wxPoint temp2 ;
18658 PyObject * obj0 = 0 ;
18659 PyObject * obj1 = 0 ;
18660 char *kwnames[] = {
18661 (char *) "self",(char *) "pt", NULL
18662 };
18663
18664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18667 {
18668 arg2 = &temp2;
18669 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18670 }
18671 {
18672 PyThreadState* __tstate = wxPyBeginAllowThreads();
18673 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
18674
18675 wxPyEndAllowThreads(__tstate);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 }
18678 Py_INCREF(Py_None); resultobj = Py_None;
18679 return resultobj;
18680 fail:
18681 return NULL;
18682 }
18683
18684
18685 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18686 PyObject *resultobj;
18687 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18688 wxPoint *arg2 = 0 ;
18689 wxPoint temp2 ;
18690 PyObject * obj0 = 0 ;
18691 PyObject * obj1 = 0 ;
18692 char *kwnames[] = {
18693 (char *) "self",(char *) "pt", NULL
18694 };
18695
18696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18699 {
18700 arg2 = &temp2;
18701 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18702 }
18703 {
18704 PyThreadState* __tstate = wxPyBeginAllowThreads();
18705 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
18706
18707 wxPyEndAllowThreads(__tstate);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 }
18710 Py_INCREF(Py_None); resultobj = Py_None;
18711 return resultobj;
18712 fail:
18713 return NULL;
18714 }
18715
18716
18717 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18718 PyObject *resultobj;
18719 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18720 int arg2 ;
18721 PyObject * obj0 = 0 ;
18722 PyObject * obj1 = 0 ;
18723 char *kwnames[] = {
18724 (char *) "self",(char *) "id", NULL
18725 };
18726
18727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18730 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18731 if (PyErr_Occurred()) SWIG_fail;
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 (arg1)->SetPaperId((wxPaperSize )arg2);
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
18739 Py_INCREF(Py_None); resultobj = Py_None;
18740 return resultobj;
18741 fail:
18742 return NULL;
18743 }
18744
18745
18746 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18747 PyObject *resultobj;
18748 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18749 wxSize *arg2 = 0 ;
18750 wxSize temp2 ;
18751 PyObject * obj0 = 0 ;
18752 PyObject * obj1 = 0 ;
18753 char *kwnames[] = {
18754 (char *) "self",(char *) "size", NULL
18755 };
18756
18757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18760 {
18761 arg2 = &temp2;
18762 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18763 }
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 (arg1)->SetPaperSize((wxSize const &)*arg2);
18767
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 Py_INCREF(Py_None); resultobj = Py_None;
18772 return resultobj;
18773 fail:
18774 return NULL;
18775 }
18776
18777
18778 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18779 PyObject *resultobj;
18780 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18781 wxPrintData *arg2 = 0 ;
18782 PyObject * obj0 = 0 ;
18783 PyObject * obj1 = 0 ;
18784 char *kwnames[] = {
18785 (char *) "self",(char *) "printData", NULL
18786 };
18787
18788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
18792 SWIG_POINTER_EXCEPTION | 0)) == -1)
18793 SWIG_fail;
18794 if (arg2 == NULL) {
18795 PyErr_SetString(PyExc_TypeError,"null reference");
18796 SWIG_fail;
18797 }
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18801
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 Py_INCREF(Py_None); resultobj = Py_None;
18806 return resultobj;
18807 fail:
18808 return NULL;
18809 }
18810
18811
18812 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
18813 PyObject *obj;
18814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18815 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
18816 Py_INCREF(obj);
18817 return Py_BuildValue((char *)"");
18818 }
18819 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18820 PyObject *resultobj;
18821 wxWindow *arg1 = (wxWindow *) 0 ;
18822 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
18823 wxPageSetupDialog *result;
18824 PyObject * obj0 = 0 ;
18825 PyObject * obj1 = 0 ;
18826 char *kwnames[] = {
18827 (char *) "parent",(char *) "data", NULL
18828 };
18829
18830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18833 if (obj1) {
18834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
18835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18836 }
18837 {
18838 PyThreadState* __tstate = wxPyBeginAllowThreads();
18839 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
18840
18841 wxPyEndAllowThreads(__tstate);
18842 if (PyErr_Occurred()) SWIG_fail;
18843 }
18844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
18845 return resultobj;
18846 fail:
18847 return NULL;
18848 }
18849
18850
18851 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
18852 PyObject *resultobj;
18853 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18854 wxPageSetupDialogData *result;
18855 PyObject * obj0 = 0 ;
18856 char *kwnames[] = {
18857 (char *) "self", NULL
18858 };
18859
18860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
18861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
18862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18863 {
18864 PyThreadState* __tstate = wxPyBeginAllowThreads();
18865 {
18866 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
18867 result = (wxPageSetupDialogData *) &_result_ref;
18868 }
18869
18870 wxPyEndAllowThreads(__tstate);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
18874 return resultobj;
18875 fail:
18876 return NULL;
18877 }
18878
18879
18880 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18881 PyObject *resultobj;
18882 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18883 int result;
18884 PyObject * obj0 = 0 ;
18885 char *kwnames[] = {
18886 (char *) "self", NULL
18887 };
18888
18889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
18890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
18891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18892 {
18893 PyThreadState* __tstate = wxPyBeginAllowThreads();
18894 result = (int)(arg1)->ShowModal();
18895
18896 wxPyEndAllowThreads(__tstate);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 }
18899 resultobj = SWIG_FromInt((int)result);
18900 return resultobj;
18901 fail:
18902 return NULL;
18903 }
18904
18905
18906 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
18907 PyObject *obj;
18908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18909 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
18910 Py_INCREF(obj);
18911 return Py_BuildValue((char *)"");
18912 }
18913 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
18914 PyObject *resultobj;
18915 wxPrintDialogData *result;
18916
18917 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
18918 {
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
18920 result = (wxPrintDialogData *)new wxPrintDialogData();
18921
18922 wxPyEndAllowThreads(__tstate);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 }
18925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
18926 return resultobj;
18927 fail:
18928 return NULL;
18929 }
18930
18931
18932 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
18933 PyObject *resultobj;
18934 wxPrintData *arg1 = 0 ;
18935 wxPrintDialogData *result;
18936 PyObject * obj0 = 0 ;
18937
18938 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
18939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18940 SWIG_POINTER_EXCEPTION | 0)) == -1)
18941 SWIG_fail;
18942 if (arg1 == NULL) {
18943 PyErr_SetString(PyExc_TypeError,"null reference");
18944 SWIG_fail;
18945 }
18946 {
18947 PyThreadState* __tstate = wxPyBeginAllowThreads();
18948 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
18949
18950 wxPyEndAllowThreads(__tstate);
18951 if (PyErr_Occurred()) SWIG_fail;
18952 }
18953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
18954 return resultobj;
18955 fail:
18956 return NULL;
18957 }
18958
18959
18960 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
18961 int argc;
18962 PyObject *argv[2];
18963 int ii;
18964
18965 argc = PyObject_Length(args);
18966 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18967 argv[ii] = PyTuple_GetItem(args,ii);
18968 }
18969 if (argc == 0) {
18970 return _wrap_new_PrintDialogData__SWIG_0(self,args);
18971 }
18972 if (argc == 1) {
18973 int _v;
18974 {
18975 void *ptr;
18976 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18977 _v = 0;
18978 PyErr_Clear();
18979 } else {
18980 _v = 1;
18981 }
18982 }
18983 if (_v) {
18984 return _wrap_new_PrintDialogData__SWIG_1(self,args);
18985 }
18986 }
18987
18988 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
18989 return NULL;
18990 }
18991
18992
18993 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18994 PyObject *resultobj;
18995 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18996 PyObject * obj0 = 0 ;
18997 char *kwnames[] = {
18998 (char *) "self", NULL
18999 };
19000
19001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
19002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19004 {
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 delete arg1;
19007
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 Py_INCREF(Py_None); resultobj = Py_None;
19012 return resultobj;
19013 fail:
19014 return NULL;
19015 }
19016
19017
19018 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj;
19020 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19021 int result;
19022 PyObject * obj0 = 0 ;
19023 char *kwnames[] = {
19024 (char *) "self", NULL
19025 };
19026
19027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
19028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19030 {
19031 PyThreadState* __tstate = wxPyBeginAllowThreads();
19032 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
19033
19034 wxPyEndAllowThreads(__tstate);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 }
19037 resultobj = SWIG_FromInt((int)result);
19038 return resultobj;
19039 fail:
19040 return NULL;
19041 }
19042
19043
19044 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19045 PyObject *resultobj;
19046 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19047 int result;
19048 PyObject * obj0 = 0 ;
19049 char *kwnames[] = {
19050 (char *) "self", NULL
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
19054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 resultobj = SWIG_FromInt((int)result);
19064 return resultobj;
19065 fail:
19066 return NULL;
19067 }
19068
19069
19070 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj;
19072 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19073 int result;
19074 PyObject * obj0 = 0 ;
19075 char *kwnames[] = {
19076 (char *) "self", NULL
19077 };
19078
19079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
19080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19082 {
19083 PyThreadState* __tstate = wxPyBeginAllowThreads();
19084 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
19085
19086 wxPyEndAllowThreads(__tstate);
19087 if (PyErr_Occurred()) SWIG_fail;
19088 }
19089 resultobj = SWIG_FromInt((int)result);
19090 return resultobj;
19091 fail:
19092 return NULL;
19093 }
19094
19095
19096 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19097 PyObject *resultobj;
19098 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19099 int result;
19100 PyObject * obj0 = 0 ;
19101 char *kwnames[] = {
19102 (char *) "self", NULL
19103 };
19104
19105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
19106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19108 {
19109 PyThreadState* __tstate = wxPyBeginAllowThreads();
19110 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
19111
19112 wxPyEndAllowThreads(__tstate);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 }
19115 resultobj = SWIG_FromInt((int)result);
19116 return resultobj;
19117 fail:
19118 return NULL;
19119 }
19120
19121
19122 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
19123 PyObject *resultobj;
19124 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19125 int result;
19126 PyObject * obj0 = 0 ;
19127 char *kwnames[] = {
19128 (char *) "self", NULL
19129 };
19130
19131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
19132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19134 {
19135 PyThreadState* __tstate = wxPyBeginAllowThreads();
19136 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
19137
19138 wxPyEndAllowThreads(__tstate);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 }
19141 resultobj = SWIG_FromInt((int)result);
19142 return resultobj;
19143 fail:
19144 return NULL;
19145 }
19146
19147
19148 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
19149 PyObject *resultobj;
19150 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19151 bool result;
19152 PyObject * obj0 = 0 ;
19153 char *kwnames[] = {
19154 (char *) "self", NULL
19155 };
19156
19157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
19158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19160 {
19161 PyThreadState* __tstate = wxPyBeginAllowThreads();
19162 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
19163
19164 wxPyEndAllowThreads(__tstate);
19165 if (PyErr_Occurred()) SWIG_fail;
19166 }
19167 {
19168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19169 }
19170 return resultobj;
19171 fail:
19172 return NULL;
19173 }
19174
19175
19176 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19177 PyObject *resultobj;
19178 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19179 bool result;
19180 PyObject * obj0 = 0 ;
19181 char *kwnames[] = {
19182 (char *) "self", NULL
19183 };
19184
19185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
19186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19188 {
19189 PyThreadState* __tstate = wxPyBeginAllowThreads();
19190 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
19191
19192 wxPyEndAllowThreads(__tstate);
19193 if (PyErr_Occurred()) SWIG_fail;
19194 }
19195 {
19196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19197 }
19198 return resultobj;
19199 fail:
19200 return NULL;
19201 }
19202
19203
19204 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
19205 PyObject *resultobj;
19206 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19207 bool result;
19208 PyObject * obj0 = 0 ;
19209 char *kwnames[] = {
19210 (char *) "self", NULL
19211 };
19212
19213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
19214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19216 {
19217 PyThreadState* __tstate = wxPyBeginAllowThreads();
19218 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
19219
19220 wxPyEndAllowThreads(__tstate);
19221 if (PyErr_Occurred()) SWIG_fail;
19222 }
19223 {
19224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19225 }
19226 return resultobj;
19227 fail:
19228 return NULL;
19229 }
19230
19231
19232 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19233 PyObject *resultobj;
19234 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19235 bool result;
19236 PyObject * obj0 = 0 ;
19237 char *kwnames[] = {
19238 (char *) "self", NULL
19239 };
19240
19241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
19242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19244 {
19245 PyThreadState* __tstate = wxPyBeginAllowThreads();
19246 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
19247
19248 wxPyEndAllowThreads(__tstate);
19249 if (PyErr_Occurred()) SWIG_fail;
19250 }
19251 {
19252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19253 }
19254 return resultobj;
19255 fail:
19256 return NULL;
19257 }
19258
19259
19260 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19261 PyObject *resultobj;
19262 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19263 bool result;
19264 PyObject * obj0 = 0 ;
19265 char *kwnames[] = {
19266 (char *) "self", NULL
19267 };
19268
19269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
19270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19272 {
19273 PyThreadState* __tstate = wxPyBeginAllowThreads();
19274 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
19275
19276 wxPyEndAllowThreads(__tstate);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 }
19279 {
19280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19281 }
19282 return resultobj;
19283 fail:
19284 return NULL;
19285 }
19286
19287
19288 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19289 PyObject *resultobj;
19290 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19291 int arg2 ;
19292 PyObject * obj0 = 0 ;
19293 PyObject * obj1 = 0 ;
19294 char *kwnames[] = {
19295 (char *) "self",(char *) "v", NULL
19296 };
19297
19298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
19299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19301 arg2 = (int) SWIG_AsInt(obj1);
19302 if (PyErr_Occurred()) SWIG_fail;
19303 {
19304 PyThreadState* __tstate = wxPyBeginAllowThreads();
19305 (arg1)->SetFromPage(arg2);
19306
19307 wxPyEndAllowThreads(__tstate);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 }
19310 Py_INCREF(Py_None); resultobj = Py_None;
19311 return resultobj;
19312 fail:
19313 return NULL;
19314 }
19315
19316
19317 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19318 PyObject *resultobj;
19319 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19320 int arg2 ;
19321 PyObject * obj0 = 0 ;
19322 PyObject * obj1 = 0 ;
19323 char *kwnames[] = {
19324 (char *) "self",(char *) "v", NULL
19325 };
19326
19327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
19328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19330 arg2 = (int) SWIG_AsInt(obj1);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 {
19333 PyThreadState* __tstate = wxPyBeginAllowThreads();
19334 (arg1)->SetToPage(arg2);
19335
19336 wxPyEndAllowThreads(__tstate);
19337 if (PyErr_Occurred()) SWIG_fail;
19338 }
19339 Py_INCREF(Py_None); resultobj = Py_None;
19340 return resultobj;
19341 fail:
19342 return NULL;
19343 }
19344
19345
19346 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19347 PyObject *resultobj;
19348 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19349 int arg2 ;
19350 PyObject * obj0 = 0 ;
19351 PyObject * obj1 = 0 ;
19352 char *kwnames[] = {
19353 (char *) "self",(char *) "v", NULL
19354 };
19355
19356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
19357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19359 arg2 = (int) SWIG_AsInt(obj1);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 {
19362 PyThreadState* __tstate = wxPyBeginAllowThreads();
19363 (arg1)->SetMinPage(arg2);
19364
19365 wxPyEndAllowThreads(__tstate);
19366 if (PyErr_Occurred()) SWIG_fail;
19367 }
19368 Py_INCREF(Py_None); resultobj = Py_None;
19369 return resultobj;
19370 fail:
19371 return NULL;
19372 }
19373
19374
19375 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19376 PyObject *resultobj;
19377 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19378 int arg2 ;
19379 PyObject * obj0 = 0 ;
19380 PyObject * obj1 = 0 ;
19381 char *kwnames[] = {
19382 (char *) "self",(char *) "v", NULL
19383 };
19384
19385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
19386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19388 arg2 = (int) SWIG_AsInt(obj1);
19389 if (PyErr_Occurred()) SWIG_fail;
19390 {
19391 PyThreadState* __tstate = wxPyBeginAllowThreads();
19392 (arg1)->SetMaxPage(arg2);
19393
19394 wxPyEndAllowThreads(__tstate);
19395 if (PyErr_Occurred()) SWIG_fail;
19396 }
19397 Py_INCREF(Py_None); resultobj = Py_None;
19398 return resultobj;
19399 fail:
19400 return NULL;
19401 }
19402
19403
19404 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
19405 PyObject *resultobj;
19406 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19407 int arg2 ;
19408 PyObject * obj0 = 0 ;
19409 PyObject * obj1 = 0 ;
19410 char *kwnames[] = {
19411 (char *) "self",(char *) "v", NULL
19412 };
19413
19414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
19415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19417 arg2 = (int) SWIG_AsInt(obj1);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 {
19420 PyThreadState* __tstate = wxPyBeginAllowThreads();
19421 (arg1)->SetNoCopies(arg2);
19422
19423 wxPyEndAllowThreads(__tstate);
19424 if (PyErr_Occurred()) SWIG_fail;
19425 }
19426 Py_INCREF(Py_None); resultobj = Py_None;
19427 return resultobj;
19428 fail:
19429 return NULL;
19430 }
19431
19432
19433 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
19434 PyObject *resultobj;
19435 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19436 bool arg2 ;
19437 PyObject * obj0 = 0 ;
19438 PyObject * obj1 = 0 ;
19439 char *kwnames[] = {
19440 (char *) "self",(char *) "flag", NULL
19441 };
19442
19443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
19444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19446 arg2 = (bool) SWIG_AsBool(obj1);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 {
19449 PyThreadState* __tstate = wxPyBeginAllowThreads();
19450 (arg1)->SetAllPages(arg2);
19451
19452 wxPyEndAllowThreads(__tstate);
19453 if (PyErr_Occurred()) SWIG_fail;
19454 }
19455 Py_INCREF(Py_None); resultobj = Py_None;
19456 return resultobj;
19457 fail:
19458 return NULL;
19459 }
19460
19461
19462 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19463 PyObject *resultobj;
19464 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19465 bool arg2 ;
19466 PyObject * obj0 = 0 ;
19467 PyObject * obj1 = 0 ;
19468 char *kwnames[] = {
19469 (char *) "self",(char *) "flag", NULL
19470 };
19471
19472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
19473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19475 arg2 = (bool) SWIG_AsBool(obj1);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 {
19478 PyThreadState* __tstate = wxPyBeginAllowThreads();
19479 (arg1)->SetSelection(arg2);
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 Py_INCREF(Py_None); resultobj = Py_None;
19485 return resultobj;
19486 fail:
19487 return NULL;
19488 }
19489
19490
19491 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19494 bool arg2 ;
19495 PyObject * obj0 = 0 ;
19496 PyObject * obj1 = 0 ;
19497 char *kwnames[] = {
19498 (char *) "self",(char *) "flag", NULL
19499 };
19500
19501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
19502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19504 arg2 = (bool) SWIG_AsBool(obj1);
19505 if (PyErr_Occurred()) SWIG_fail;
19506 {
19507 PyThreadState* __tstate = wxPyBeginAllowThreads();
19508 (arg1)->SetCollate(arg2);
19509
19510 wxPyEndAllowThreads(__tstate);
19511 if (PyErr_Occurred()) SWIG_fail;
19512 }
19513 Py_INCREF(Py_None); resultobj = Py_None;
19514 return resultobj;
19515 fail:
19516 return NULL;
19517 }
19518
19519
19520 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19521 PyObject *resultobj;
19522 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19523 bool arg2 ;
19524 PyObject * obj0 = 0 ;
19525 PyObject * obj1 = 0 ;
19526 char *kwnames[] = {
19527 (char *) "self",(char *) "flag", NULL
19528 };
19529
19530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
19531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19533 arg2 = (bool) SWIG_AsBool(obj1);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 {
19536 PyThreadState* __tstate = wxPyBeginAllowThreads();
19537 (arg1)->SetPrintToFile(arg2);
19538
19539 wxPyEndAllowThreads(__tstate);
19540 if (PyErr_Occurred()) SWIG_fail;
19541 }
19542 Py_INCREF(Py_None); resultobj = Py_None;
19543 return resultobj;
19544 fail:
19545 return NULL;
19546 }
19547
19548
19549 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19550 PyObject *resultobj;
19551 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19552 bool arg2 ;
19553 PyObject * obj0 = 0 ;
19554 PyObject * obj1 = 0 ;
19555 char *kwnames[] = {
19556 (char *) "self",(char *) "flag", NULL
19557 };
19558
19559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19562 arg2 = (bool) SWIG_AsBool(obj1);
19563 if (PyErr_Occurred()) SWIG_fail;
19564 {
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 (arg1)->SetSetupDialog(arg2);
19567
19568 wxPyEndAllowThreads(__tstate);
19569 if (PyErr_Occurred()) SWIG_fail;
19570 }
19571 Py_INCREF(Py_None); resultobj = Py_None;
19572 return resultobj;
19573 fail:
19574 return NULL;
19575 }
19576
19577
19578 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19579 PyObject *resultobj;
19580 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19581 bool arg2 ;
19582 PyObject * obj0 = 0 ;
19583 PyObject * obj1 = 0 ;
19584 char *kwnames[] = {
19585 (char *) "self",(char *) "flag", NULL
19586 };
19587
19588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
19589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19591 arg2 = (bool) SWIG_AsBool(obj1);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 (arg1)->EnablePrintToFile(arg2);
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 Py_INCREF(Py_None); resultobj = Py_None;
19601 return resultobj;
19602 fail:
19603 return NULL;
19604 }
19605
19606
19607 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19608 PyObject *resultobj;
19609 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19610 bool arg2 ;
19611 PyObject * obj0 = 0 ;
19612 PyObject * obj1 = 0 ;
19613 char *kwnames[] = {
19614 (char *) "self",(char *) "flag", NULL
19615 };
19616
19617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
19618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19620 arg2 = (bool) SWIG_AsBool(obj1);
19621 if (PyErr_Occurred()) SWIG_fail;
19622 {
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
19624 (arg1)->EnableSelection(arg2);
19625
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 Py_INCREF(Py_None); resultobj = Py_None;
19630 return resultobj;
19631 fail:
19632 return NULL;
19633 }
19634
19635
19636 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19637 PyObject *resultobj;
19638 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19639 bool arg2 ;
19640 PyObject * obj0 = 0 ;
19641 PyObject * obj1 = 0 ;
19642 char *kwnames[] = {
19643 (char *) "self",(char *) "flag", NULL
19644 };
19645
19646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
19647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19649 arg2 = (bool) SWIG_AsBool(obj1);
19650 if (PyErr_Occurred()) SWIG_fail;
19651 {
19652 PyThreadState* __tstate = wxPyBeginAllowThreads();
19653 (arg1)->EnablePageNumbers(arg2);
19654
19655 wxPyEndAllowThreads(__tstate);
19656 if (PyErr_Occurred()) SWIG_fail;
19657 }
19658 Py_INCREF(Py_None); resultobj = Py_None;
19659 return resultobj;
19660 fail:
19661 return NULL;
19662 }
19663
19664
19665 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19666 PyObject *resultobj;
19667 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19668 bool arg2 ;
19669 PyObject * obj0 = 0 ;
19670 PyObject * obj1 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self",(char *) "flag", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19678 arg2 = (bool) SWIG_AsBool(obj1);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 {
19681 PyThreadState* __tstate = wxPyBeginAllowThreads();
19682 (arg1)->EnableHelp(arg2);
19683
19684 wxPyEndAllowThreads(__tstate);
19685 if (PyErr_Occurred()) SWIG_fail;
19686 }
19687 Py_INCREF(Py_None); resultobj = Py_None;
19688 return resultobj;
19689 fail:
19690 return NULL;
19691 }
19692
19693
19694 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19695 PyObject *resultobj;
19696 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19697 bool result;
19698 PyObject * obj0 = 0 ;
19699 char *kwnames[] = {
19700 (char *) "self", NULL
19701 };
19702
19703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
19704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19706 {
19707 PyThreadState* __tstate = wxPyBeginAllowThreads();
19708 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
19709
19710 wxPyEndAllowThreads(__tstate);
19711 if (PyErr_Occurred()) SWIG_fail;
19712 }
19713 {
19714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19715 }
19716 return resultobj;
19717 fail:
19718 return NULL;
19719 }
19720
19721
19722 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19723 PyObject *resultobj;
19724 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19725 bool result;
19726 PyObject * obj0 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
19732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19734 {
19735 PyThreadState* __tstate = wxPyBeginAllowThreads();
19736 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
19737
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
19741 {
19742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19743 }
19744 return resultobj;
19745 fail:
19746 return NULL;
19747 }
19748
19749
19750 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19751 PyObject *resultobj;
19752 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19753 bool result;
19754 PyObject * obj0 = 0 ;
19755 char *kwnames[] = {
19756 (char *) "self", NULL
19757 };
19758
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
19760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19762 {
19763 PyThreadState* __tstate = wxPyBeginAllowThreads();
19764 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
19765
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 {
19770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19771 }
19772 return resultobj;
19773 fail:
19774 return NULL;
19775 }
19776
19777
19778 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj;
19780 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19781 bool result;
19782 PyObject * obj0 = 0 ;
19783 char *kwnames[] = {
19784 (char *) "self", NULL
19785 };
19786
19787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19790 {
19791 PyThreadState* __tstate = wxPyBeginAllowThreads();
19792 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
19793
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 {
19798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19799 }
19800 return resultobj;
19801 fail:
19802 return NULL;
19803 }
19804
19805
19806 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19807 PyObject *resultobj;
19808 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19809 bool result;
19810 PyObject * obj0 = 0 ;
19811 char *kwnames[] = {
19812 (char *) "self", NULL
19813 };
19814
19815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
19816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19818 {
19819 PyThreadState* __tstate = wxPyBeginAllowThreads();
19820 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
19821
19822 wxPyEndAllowThreads(__tstate);
19823 if (PyErr_Occurred()) SWIG_fail;
19824 }
19825 {
19826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19827 }
19828 return resultobj;
19829 fail:
19830 return NULL;
19831 }
19832
19833
19834 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19835 PyObject *resultobj;
19836 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19837 wxPrintData *result;
19838 PyObject * obj0 = 0 ;
19839 char *kwnames[] = {
19840 (char *) "self", NULL
19841 };
19842
19843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19846 {
19847 PyThreadState* __tstate = wxPyBeginAllowThreads();
19848 {
19849 wxPrintData &_result_ref = (arg1)->GetPrintData();
19850 result = (wxPrintData *) &_result_ref;
19851 }
19852
19853 wxPyEndAllowThreads(__tstate);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19857 return resultobj;
19858 fail:
19859 return NULL;
19860 }
19861
19862
19863 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19864 PyObject *resultobj;
19865 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19866 wxPrintData *arg2 = 0 ;
19867 PyObject * obj0 = 0 ;
19868 PyObject * obj1 = 0 ;
19869 char *kwnames[] = {
19870 (char *) "self",(char *) "printData", NULL
19871 };
19872
19873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19877 SWIG_POINTER_EXCEPTION | 0)) == -1)
19878 SWIG_fail;
19879 if (arg2 == NULL) {
19880 PyErr_SetString(PyExc_TypeError,"null reference");
19881 SWIG_fail;
19882 }
19883 {
19884 PyThreadState* __tstate = wxPyBeginAllowThreads();
19885 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19886
19887 wxPyEndAllowThreads(__tstate);
19888 if (PyErr_Occurred()) SWIG_fail;
19889 }
19890 Py_INCREF(Py_None); resultobj = Py_None;
19891 return resultobj;
19892 fail:
19893 return NULL;
19894 }
19895
19896
19897 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
19898 PyObject *obj;
19899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19900 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
19901 Py_INCREF(obj);
19902 return Py_BuildValue((char *)"");
19903 }
19904 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19905 PyObject *resultobj;
19906 wxWindow *arg1 = (wxWindow *) 0 ;
19907 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
19908 wxPrintDialog *result;
19909 PyObject * obj0 = 0 ;
19910 PyObject * obj1 = 0 ;
19911 char *kwnames[] = {
19912 (char *) "parent",(char *) "data", NULL
19913 };
19914
19915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19918 if (obj1) {
19919 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
19920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19921 }
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
19925
19926 wxPyEndAllowThreads(__tstate);
19927 if (PyErr_Occurred()) SWIG_fail;
19928 }
19929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
19930 return resultobj;
19931 fail:
19932 return NULL;
19933 }
19934
19935
19936 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19937 PyObject *resultobj;
19938 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19939 wxPrintDialogData *result;
19940 PyObject * obj0 = 0 ;
19941 char *kwnames[] = {
19942 (char *) "self", NULL
19943 };
19944
19945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
19946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19948 {
19949 PyThreadState* __tstate = wxPyBeginAllowThreads();
19950 {
19951 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19952 result = (wxPrintDialogData *) &_result_ref;
19953 }
19954
19955 wxPyEndAllowThreads(__tstate);
19956 if (PyErr_Occurred()) SWIG_fail;
19957 }
19958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
19959 return resultobj;
19960 fail:
19961 return NULL;
19962 }
19963
19964
19965 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19966 PyObject *resultobj;
19967 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19968 wxDC *result;
19969 PyObject * obj0 = 0 ;
19970 char *kwnames[] = {
19971 (char *) "self", NULL
19972 };
19973
19974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
19975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 result = (wxDC *)(arg1)->GetPrintDC();
19980
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 {
19985 resultobj = wxPyMake_wxObject(result);
19986 }
19987 return resultobj;
19988 fail:
19989 return NULL;
19990 }
19991
19992
19993 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19994 PyObject *resultobj;
19995 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19996 int result;
19997 PyObject * obj0 = 0 ;
19998 char *kwnames[] = {
19999 (char *) "self", NULL
20000 };
20001
20002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
20003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20005 {
20006 PyThreadState* __tstate = wxPyBeginAllowThreads();
20007 result = (int)(arg1)->ShowModal();
20008
20009 wxPyEndAllowThreads(__tstate);
20010 if (PyErr_Occurred()) SWIG_fail;
20011 }
20012 resultobj = SWIG_FromInt((int)result);
20013 return resultobj;
20014 fail:
20015 return NULL;
20016 }
20017
20018
20019 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
20020 PyObject *obj;
20021 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20022 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
20023 Py_INCREF(obj);
20024 return Py_BuildValue((char *)"");
20025 }
20026 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20027 PyObject *resultobj;
20028 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
20029 wxPrinter *result;
20030 PyObject * obj0 = 0 ;
20031 char *kwnames[] = {
20032 (char *) "data", NULL
20033 };
20034
20035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
20036 if (obj0) {
20037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20039 }
20040 {
20041 PyThreadState* __tstate = wxPyBeginAllowThreads();
20042 result = (wxPrinter *)new wxPrinter(arg1);
20043
20044 wxPyEndAllowThreads(__tstate);
20045 if (PyErr_Occurred()) SWIG_fail;
20046 }
20047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
20048 return resultobj;
20049 fail:
20050 return NULL;
20051 }
20052
20053
20054 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20055 PyObject *resultobj;
20056 wxPrinter *arg1 = (wxPrinter *) 0 ;
20057 PyObject * obj0 = 0 ;
20058 char *kwnames[] = {
20059 (char *) "self", NULL
20060 };
20061
20062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
20063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20065 {
20066 PyThreadState* __tstate = wxPyBeginAllowThreads();
20067 delete arg1;
20068
20069 wxPyEndAllowThreads(__tstate);
20070 if (PyErr_Occurred()) SWIG_fail;
20071 }
20072 Py_INCREF(Py_None); resultobj = Py_None;
20073 return resultobj;
20074 fail:
20075 return NULL;
20076 }
20077
20078
20079 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20080 PyObject *resultobj;
20081 wxPrinter *arg1 = (wxPrinter *) 0 ;
20082 wxWindow *arg2 = (wxWindow *) 0 ;
20083 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20084 PyObject * obj0 = 0 ;
20085 PyObject * obj1 = 0 ;
20086 PyObject * obj2 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self",(char *) "parent",(char *) "printout", NULL
20089 };
20090
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
20092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20096 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20098 {
20099 PyThreadState* __tstate = wxPyBeginAllowThreads();
20100 (arg1)->CreateAbortWindow(arg2,arg3);
20101
20102 wxPyEndAllowThreads(__tstate);
20103 if (PyErr_Occurred()) SWIG_fail;
20104 }
20105 Py_INCREF(Py_None); resultobj = Py_None;
20106 return resultobj;
20107 fail:
20108 return NULL;
20109 }
20110
20111
20112 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20113 PyObject *resultobj;
20114 wxPrinter *arg1 = (wxPrinter *) 0 ;
20115 wxPrintDialogData *result;
20116 PyObject * obj0 = 0 ;
20117 char *kwnames[] = {
20118 (char *) "self", NULL
20119 };
20120
20121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
20122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20124 {
20125 PyThreadState* __tstate = wxPyBeginAllowThreads();
20126 {
20127 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20128 result = (wxPrintDialogData *) &_result_ref;
20129 }
20130
20131 wxPyEndAllowThreads(__tstate);
20132 if (PyErr_Occurred()) SWIG_fail;
20133 }
20134 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20135 return resultobj;
20136 fail:
20137 return NULL;
20138 }
20139
20140
20141 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20142 PyObject *resultobj;
20143 wxPrinter *arg1 = (wxPrinter *) 0 ;
20144 wxWindow *arg2 = (wxWindow *) 0 ;
20145 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20146 int arg4 = (int) True ;
20147 bool result;
20148 PyObject * obj0 = 0 ;
20149 PyObject * obj1 = 0 ;
20150 PyObject * obj2 = 0 ;
20151 PyObject * obj3 = 0 ;
20152 char *kwnames[] = {
20153 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
20154 };
20155
20156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20161 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20163 if (obj3) {
20164 arg4 = (int) SWIG_AsInt(obj3);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 {
20168 PyThreadState* __tstate = wxPyBeginAllowThreads();
20169 result = (bool)(arg1)->Print(arg2,arg3,arg4);
20170
20171 wxPyEndAllowThreads(__tstate);
20172 if (PyErr_Occurred()) SWIG_fail;
20173 }
20174 {
20175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20176 }
20177 return resultobj;
20178 fail:
20179 return NULL;
20180 }
20181
20182
20183 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20184 PyObject *resultobj;
20185 wxPrinter *arg1 = (wxPrinter *) 0 ;
20186 wxWindow *arg2 = (wxWindow *) 0 ;
20187 wxDC *result;
20188 PyObject * obj0 = 0 ;
20189 PyObject * obj1 = 0 ;
20190 char *kwnames[] = {
20191 (char *) "self",(char *) "parent", NULL
20192 };
20193
20194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20199 {
20200 PyThreadState* __tstate = wxPyBeginAllowThreads();
20201 result = (wxDC *)(arg1)->PrintDialog(arg2);
20202
20203 wxPyEndAllowThreads(__tstate);
20204 if (PyErr_Occurred()) SWIG_fail;
20205 }
20206 {
20207 resultobj = wxPyMake_wxObject(result);
20208 }
20209 return resultobj;
20210 fail:
20211 return NULL;
20212 }
20213
20214
20215 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
20216 PyObject *resultobj;
20217 wxPrinter *arg1 = (wxPrinter *) 0 ;
20218 wxWindow *arg2 = (wxWindow *) 0 ;
20219 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20220 wxString *arg4 = 0 ;
20221 bool temp4 = False ;
20222 PyObject * obj0 = 0 ;
20223 PyObject * obj1 = 0 ;
20224 PyObject * obj2 = 0 ;
20225 PyObject * obj3 = 0 ;
20226 char *kwnames[] = {
20227 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20228 };
20229
20230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20235 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20237 {
20238 arg4 = wxString_in_helper(obj3);
20239 if (arg4 == NULL) SWIG_fail;
20240 temp4 = True;
20241 }
20242 {
20243 PyThreadState* __tstate = wxPyBeginAllowThreads();
20244 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
20245
20246 wxPyEndAllowThreads(__tstate);
20247 if (PyErr_Occurred()) SWIG_fail;
20248 }
20249 Py_INCREF(Py_None); resultobj = Py_None;
20250 {
20251 if (temp4)
20252 delete arg4;
20253 }
20254 return resultobj;
20255 fail:
20256 {
20257 if (temp4)
20258 delete arg4;
20259 }
20260 return NULL;
20261 }
20262
20263
20264 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
20265 PyObject *resultobj;
20266 wxPrinter *arg1 = (wxPrinter *) 0 ;
20267 wxWindow *arg2 = (wxWindow *) 0 ;
20268 bool result;
20269 PyObject * obj0 = 0 ;
20270 PyObject * obj1 = 0 ;
20271 char *kwnames[] = {
20272 (char *) "self",(char *) "parent", NULL
20273 };
20274
20275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
20276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
20282 result = (bool)(arg1)->Setup(arg2);
20283
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 {
20288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20289 }
20290 return resultobj;
20291 fail:
20292 return NULL;
20293 }
20294
20295
20296 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
20297 PyObject *resultobj;
20298 wxPrinter *arg1 = (wxPrinter *) 0 ;
20299 bool result;
20300 PyObject * obj0 = 0 ;
20301 char *kwnames[] = {
20302 (char *) "self", NULL
20303 };
20304
20305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
20306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20308 {
20309 PyThreadState* __tstate = wxPyBeginAllowThreads();
20310 result = (bool)(arg1)->GetAbort();
20311
20312 wxPyEndAllowThreads(__tstate);
20313 if (PyErr_Occurred()) SWIG_fail;
20314 }
20315 {
20316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20317 }
20318 return resultobj;
20319 fail:
20320 return NULL;
20321 }
20322
20323
20324 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj;
20326 int result;
20327 char *kwnames[] = {
20328 NULL
20329 };
20330
20331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 result = (int)wxPrinter::GetLastError();
20335
20336 wxPyEndAllowThreads(__tstate);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 }
20339 resultobj = SWIG_FromInt((int)result);
20340 return resultobj;
20341 fail:
20342 return NULL;
20343 }
20344
20345
20346 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
20347 PyObject *obj;
20348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20349 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
20350 Py_INCREF(obj);
20351 return Py_BuildValue((char *)"");
20352 }
20353 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
20354 PyObject *resultobj;
20355 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
20356 wxString *arg1 = (wxString *) &arg1_defvalue ;
20357 wxPyPrintout *result;
20358 bool temp1 = False ;
20359 PyObject * obj0 = 0 ;
20360 char *kwnames[] = {
20361 (char *) "title", NULL
20362 };
20363
20364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
20365 if (obj0) {
20366 {
20367 arg1 = wxString_in_helper(obj0);
20368 if (arg1 == NULL) SWIG_fail;
20369 temp1 = True;
20370 }
20371 }
20372 {
20373 PyThreadState* __tstate = wxPyBeginAllowThreads();
20374 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
20375
20376 wxPyEndAllowThreads(__tstate);
20377 if (PyErr_Occurred()) SWIG_fail;
20378 }
20379 {
20380 resultobj = wxPyMake_wxObject(result);
20381 }
20382 {
20383 if (temp1)
20384 delete arg1;
20385 }
20386 return resultobj;
20387 fail:
20388 {
20389 if (temp1)
20390 delete arg1;
20391 }
20392 return NULL;
20393 }
20394
20395
20396 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20397 PyObject *resultobj;
20398 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20399 PyObject *arg2 = (PyObject *) 0 ;
20400 PyObject *arg3 = (PyObject *) 0 ;
20401 PyObject * obj0 = 0 ;
20402 PyObject * obj1 = 0 ;
20403 PyObject * obj2 = 0 ;
20404 char *kwnames[] = {
20405 (char *) "self",(char *) "self",(char *) "_class", NULL
20406 };
20407
20408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20411 arg2 = obj1;
20412 arg3 = obj2;
20413 {
20414 PyThreadState* __tstate = wxPyBeginAllowThreads();
20415 (arg1)->_setCallbackInfo(arg2,arg3);
20416
20417 wxPyEndAllowThreads(__tstate);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 }
20420 Py_INCREF(Py_None); resultobj = Py_None;
20421 return resultobj;
20422 fail:
20423 return NULL;
20424 }
20425
20426
20427 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
20428 PyObject *resultobj;
20429 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20430 wxString result;
20431 PyObject * obj0 = 0 ;
20432 char *kwnames[] = {
20433 (char *) "self", NULL
20434 };
20435
20436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
20437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20439 {
20440 PyThreadState* __tstate = wxPyBeginAllowThreads();
20441 result = ((wxPyPrintout const *)arg1)->GetTitle();
20442
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 {
20447 #if wxUSE_UNICODE
20448 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20449 #else
20450 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20451 #endif
20452 }
20453 return resultobj;
20454 fail:
20455 return NULL;
20456 }
20457
20458
20459 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20460 PyObject *resultobj;
20461 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20462 wxDC *result;
20463 PyObject * obj0 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
20469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20471 {
20472 PyThreadState* __tstate = wxPyBeginAllowThreads();
20473 result = (wxDC *)(arg1)->GetDC();
20474
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 {
20479 resultobj = wxPyMake_wxObject(result);
20480 }
20481 return resultobj;
20482 fail:
20483 return NULL;
20484 }
20485
20486
20487 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20488 PyObject *resultobj;
20489 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20490 wxDC *arg2 = (wxDC *) 0 ;
20491 PyObject * obj0 = 0 ;
20492 PyObject * obj1 = 0 ;
20493 char *kwnames[] = {
20494 (char *) "self",(char *) "dc", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
20498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
20501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 (arg1)->SetDC(arg2);
20505
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 Py_INCREF(Py_None); resultobj = Py_None;
20510 return resultobj;
20511 fail:
20512 return NULL;
20513 }
20514
20515
20516 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
20517 PyObject *resultobj;
20518 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20519 int arg2 ;
20520 int arg3 ;
20521 PyObject * obj0 = 0 ;
20522 PyObject * obj1 = 0 ;
20523 PyObject * obj2 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "self",(char *) "w",(char *) "h", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
20529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20531 arg2 = (int) SWIG_AsInt(obj1);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 arg3 = (int) SWIG_AsInt(obj2);
20534 if (PyErr_Occurred()) SWIG_fail;
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 (arg1)->SetPageSizePixels(arg2,arg3);
20538
20539 wxPyEndAllowThreads(__tstate);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 }
20542 Py_INCREF(Py_None); resultobj = Py_None;
20543 return resultobj;
20544 fail:
20545 return NULL;
20546 }
20547
20548
20549 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
20550 PyObject *resultobj;
20551 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20552 int *arg2 = (int *) 0 ;
20553 int *arg3 = (int *) 0 ;
20554 int temp2 ;
20555 int temp3 ;
20556 PyObject * obj0 = 0 ;
20557 char *kwnames[] = {
20558 (char *) "self", NULL
20559 };
20560
20561 arg2 = &temp2;
20562 arg3 = &temp3;
20563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
20564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20566 {
20567 PyThreadState* __tstate = wxPyBeginAllowThreads();
20568 (arg1)->GetPageSizePixels(arg2,arg3);
20569
20570 wxPyEndAllowThreads(__tstate);
20571 if (PyErr_Occurred()) SWIG_fail;
20572 }
20573 Py_INCREF(Py_None); resultobj = Py_None;
20574 {
20575 PyObject *o = PyInt_FromLong((long) (*arg2));
20576 resultobj = t_output_helper(resultobj,o);
20577 }
20578 {
20579 PyObject *o = PyInt_FromLong((long) (*arg3));
20580 resultobj = t_output_helper(resultobj,o);
20581 }
20582 return resultobj;
20583 fail:
20584 return NULL;
20585 }
20586
20587
20588 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20589 PyObject *resultobj;
20590 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20591 int arg2 ;
20592 int arg3 ;
20593 PyObject * obj0 = 0 ;
20594 PyObject * obj1 = 0 ;
20595 PyObject * obj2 = 0 ;
20596 char *kwnames[] = {
20597 (char *) "self",(char *) "w",(char *) "h", NULL
20598 };
20599
20600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
20601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20603 arg2 = (int) SWIG_AsInt(obj1);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 arg3 = (int) SWIG_AsInt(obj2);
20606 if (PyErr_Occurred()) SWIG_fail;
20607 {
20608 PyThreadState* __tstate = wxPyBeginAllowThreads();
20609 (arg1)->SetPageSizeMM(arg2,arg3);
20610
20611 wxPyEndAllowThreads(__tstate);
20612 if (PyErr_Occurred()) SWIG_fail;
20613 }
20614 Py_INCREF(Py_None); resultobj = Py_None;
20615 return resultobj;
20616 fail:
20617 return NULL;
20618 }
20619
20620
20621 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20622 PyObject *resultobj;
20623 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20624 int *arg2 = (int *) 0 ;
20625 int *arg3 = (int *) 0 ;
20626 int temp2 ;
20627 int temp3 ;
20628 PyObject * obj0 = 0 ;
20629 char *kwnames[] = {
20630 (char *) "self", NULL
20631 };
20632
20633 arg2 = &temp2;
20634 arg3 = &temp3;
20635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
20636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20638 {
20639 PyThreadState* __tstate = wxPyBeginAllowThreads();
20640 (arg1)->GetPageSizeMM(arg2,arg3);
20641
20642 wxPyEndAllowThreads(__tstate);
20643 if (PyErr_Occurred()) SWIG_fail;
20644 }
20645 Py_INCREF(Py_None); resultobj = Py_None;
20646 {
20647 PyObject *o = PyInt_FromLong((long) (*arg2));
20648 resultobj = t_output_helper(resultobj,o);
20649 }
20650 {
20651 PyObject *o = PyInt_FromLong((long) (*arg3));
20652 resultobj = t_output_helper(resultobj,o);
20653 }
20654 return resultobj;
20655 fail:
20656 return NULL;
20657 }
20658
20659
20660 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20661 PyObject *resultobj;
20662 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20663 int arg2 ;
20664 int arg3 ;
20665 PyObject * obj0 = 0 ;
20666 PyObject * obj1 = 0 ;
20667 PyObject * obj2 = 0 ;
20668 char *kwnames[] = {
20669 (char *) "self",(char *) "x",(char *) "y", NULL
20670 };
20671
20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
20673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20675 arg2 = (int) SWIG_AsInt(obj1);
20676 if (PyErr_Occurred()) SWIG_fail;
20677 arg3 = (int) SWIG_AsInt(obj2);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 (arg1)->SetPPIScreen(arg2,arg3);
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 Py_INCREF(Py_None); resultobj = Py_None;
20687 return resultobj;
20688 fail:
20689 return NULL;
20690 }
20691
20692
20693 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20694 PyObject *resultobj;
20695 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20696 int *arg2 = (int *) 0 ;
20697 int *arg3 = (int *) 0 ;
20698 int temp2 ;
20699 int temp3 ;
20700 PyObject * obj0 = 0 ;
20701 char *kwnames[] = {
20702 (char *) "self", NULL
20703 };
20704
20705 arg2 = &temp2;
20706 arg3 = &temp3;
20707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
20708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 (arg1)->GetPPIScreen(arg2,arg3);
20713
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 Py_INCREF(Py_None); resultobj = Py_None;
20718 {
20719 PyObject *o = PyInt_FromLong((long) (*arg2));
20720 resultobj = t_output_helper(resultobj,o);
20721 }
20722 {
20723 PyObject *o = PyInt_FromLong((long) (*arg3));
20724 resultobj = t_output_helper(resultobj,o);
20725 }
20726 return resultobj;
20727 fail:
20728 return NULL;
20729 }
20730
20731
20732 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20733 PyObject *resultobj;
20734 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20735 int arg2 ;
20736 int arg3 ;
20737 PyObject * obj0 = 0 ;
20738 PyObject * obj1 = 0 ;
20739 PyObject * obj2 = 0 ;
20740 char *kwnames[] = {
20741 (char *) "self",(char *) "x",(char *) "y", NULL
20742 };
20743
20744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
20745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20747 arg2 = (int) SWIG_AsInt(obj1);
20748 if (PyErr_Occurred()) SWIG_fail;
20749 arg3 = (int) SWIG_AsInt(obj2);
20750 if (PyErr_Occurred()) SWIG_fail;
20751 {
20752 PyThreadState* __tstate = wxPyBeginAllowThreads();
20753 (arg1)->SetPPIPrinter(arg2,arg3);
20754
20755 wxPyEndAllowThreads(__tstate);
20756 if (PyErr_Occurred()) SWIG_fail;
20757 }
20758 Py_INCREF(Py_None); resultobj = Py_None;
20759 return resultobj;
20760 fail:
20761 return NULL;
20762 }
20763
20764
20765 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20766 PyObject *resultobj;
20767 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20768 int *arg2 = (int *) 0 ;
20769 int *arg3 = (int *) 0 ;
20770 int temp2 ;
20771 int temp3 ;
20772 PyObject * obj0 = 0 ;
20773 char *kwnames[] = {
20774 (char *) "self", NULL
20775 };
20776
20777 arg2 = &temp2;
20778 arg3 = &temp3;
20779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
20780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20782 {
20783 PyThreadState* __tstate = wxPyBeginAllowThreads();
20784 (arg1)->GetPPIPrinter(arg2,arg3);
20785
20786 wxPyEndAllowThreads(__tstate);
20787 if (PyErr_Occurred()) SWIG_fail;
20788 }
20789 Py_INCREF(Py_None); resultobj = Py_None;
20790 {
20791 PyObject *o = PyInt_FromLong((long) (*arg2));
20792 resultobj = t_output_helper(resultobj,o);
20793 }
20794 {
20795 PyObject *o = PyInt_FromLong((long) (*arg3));
20796 resultobj = t_output_helper(resultobj,o);
20797 }
20798 return resultobj;
20799 fail:
20800 return NULL;
20801 }
20802
20803
20804 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20805 PyObject *resultobj;
20806 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20807 bool result;
20808 PyObject * obj0 = 0 ;
20809 char *kwnames[] = {
20810 (char *) "self", NULL
20811 };
20812
20813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
20814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20816 {
20817 PyThreadState* __tstate = wxPyBeginAllowThreads();
20818 result = (bool)(arg1)->IsPreview();
20819
20820 wxPyEndAllowThreads(__tstate);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
20823 {
20824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20825 }
20826 return resultobj;
20827 fail:
20828 return NULL;
20829 }
20830
20831
20832 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20833 PyObject *resultobj;
20834 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20835 bool arg2 ;
20836 PyObject * obj0 = 0 ;
20837 PyObject * obj1 = 0 ;
20838 char *kwnames[] = {
20839 (char *) "self",(char *) "p", NULL
20840 };
20841
20842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
20843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20845 arg2 = (bool) SWIG_AsBool(obj1);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 {
20848 PyThreadState* __tstate = wxPyBeginAllowThreads();
20849 (arg1)->SetIsPreview(arg2);
20850
20851 wxPyEndAllowThreads(__tstate);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 }
20854 Py_INCREF(Py_None); resultobj = Py_None;
20855 return resultobj;
20856 fail:
20857 return NULL;
20858 }
20859
20860
20861 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20862 PyObject *resultobj;
20863 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20864 int arg2 ;
20865 int arg3 ;
20866 bool result;
20867 PyObject * obj0 = 0 ;
20868 PyObject * obj1 = 0 ;
20869 PyObject * obj2 = 0 ;
20870 char *kwnames[] = {
20871 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20872 };
20873
20874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
20875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20877 arg2 = (int) SWIG_AsInt(obj1);
20878 if (PyErr_Occurred()) SWIG_fail;
20879 arg3 = (int) SWIG_AsInt(obj2);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 {
20882 PyThreadState* __tstate = wxPyBeginAllowThreads();
20883 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
20884
20885 wxPyEndAllowThreads(__tstate);
20886 if (PyErr_Occurred()) SWIG_fail;
20887 }
20888 {
20889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20890 }
20891 return resultobj;
20892 fail:
20893 return NULL;
20894 }
20895
20896
20897 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20898 PyObject *resultobj;
20899 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20900 PyObject * obj0 = 0 ;
20901 char *kwnames[] = {
20902 (char *) "self", NULL
20903 };
20904
20905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
20906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20908 {
20909 PyThreadState* __tstate = wxPyBeginAllowThreads();
20910 (arg1)->base_OnEndDocument();
20911
20912 wxPyEndAllowThreads(__tstate);
20913 if (PyErr_Occurred()) SWIG_fail;
20914 }
20915 Py_INCREF(Py_None); resultobj = Py_None;
20916 return resultobj;
20917 fail:
20918 return NULL;
20919 }
20920
20921
20922 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20923 PyObject *resultobj;
20924 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20925 PyObject * obj0 = 0 ;
20926 char *kwnames[] = {
20927 (char *) "self", NULL
20928 };
20929
20930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
20931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20933 {
20934 PyThreadState* __tstate = wxPyBeginAllowThreads();
20935 (arg1)->base_OnBeginPrinting();
20936
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 Py_INCREF(Py_None); resultobj = Py_None;
20941 return resultobj;
20942 fail:
20943 return NULL;
20944 }
20945
20946
20947 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20948 PyObject *resultobj;
20949 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20950 PyObject * obj0 = 0 ;
20951 char *kwnames[] = {
20952 (char *) "self", NULL
20953 };
20954
20955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
20956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20958 {
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 (arg1)->base_OnEndPrinting();
20961
20962 wxPyEndAllowThreads(__tstate);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 }
20965 Py_INCREF(Py_None); resultobj = Py_None;
20966 return resultobj;
20967 fail:
20968 return NULL;
20969 }
20970
20971
20972 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20973 PyObject *resultobj;
20974 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20975 PyObject * obj0 = 0 ;
20976 char *kwnames[] = {
20977 (char *) "self", NULL
20978 };
20979
20980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
20981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20983 {
20984 PyThreadState* __tstate = wxPyBeginAllowThreads();
20985 (arg1)->base_OnPreparePrinting();
20986
20987 wxPyEndAllowThreads(__tstate);
20988 if (PyErr_Occurred()) SWIG_fail;
20989 }
20990 Py_INCREF(Py_None); resultobj = Py_None;
20991 return resultobj;
20992 fail:
20993 return NULL;
20994 }
20995
20996
20997 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20998 PyObject *resultobj;
20999 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21000 int arg2 ;
21001 bool result;
21002 PyObject * obj0 = 0 ;
21003 PyObject * obj1 = 0 ;
21004 char *kwnames[] = {
21005 (char *) "self",(char *) "page", NULL
21006 };
21007
21008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
21009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21011 arg2 = (int) SWIG_AsInt(obj1);
21012 if (PyErr_Occurred()) SWIG_fail;
21013 {
21014 PyThreadState* __tstate = wxPyBeginAllowThreads();
21015 result = (bool)(arg1)->base_HasPage(arg2);
21016
21017 wxPyEndAllowThreads(__tstate);
21018 if (PyErr_Occurred()) SWIG_fail;
21019 }
21020 {
21021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21022 }
21023 return resultobj;
21024 fail:
21025 return NULL;
21026 }
21027
21028
21029 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21030 PyObject *resultobj;
21031 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21032 int *arg2 = (int *) 0 ;
21033 int *arg3 = (int *) 0 ;
21034 int *arg4 = (int *) 0 ;
21035 int *arg5 = (int *) 0 ;
21036 int temp2 ;
21037 int temp3 ;
21038 int temp4 ;
21039 int temp5 ;
21040 PyObject * obj0 = 0 ;
21041 char *kwnames[] = {
21042 (char *) "self", NULL
21043 };
21044
21045 arg2 = &temp2;
21046 arg3 = &temp3;
21047 arg4 = &temp4;
21048 arg5 = &temp5;
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
21050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21052 {
21053 PyThreadState* __tstate = wxPyBeginAllowThreads();
21054 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
21055
21056 wxPyEndAllowThreads(__tstate);
21057 if (PyErr_Occurred()) SWIG_fail;
21058 }
21059 Py_INCREF(Py_None); resultobj = Py_None;
21060 {
21061 PyObject *o = PyInt_FromLong((long) (*arg2));
21062 resultobj = t_output_helper(resultobj,o);
21063 }
21064 {
21065 PyObject *o = PyInt_FromLong((long) (*arg3));
21066 resultobj = t_output_helper(resultobj,o);
21067 }
21068 {
21069 PyObject *o = PyInt_FromLong((long) (*arg4));
21070 resultobj = t_output_helper(resultobj,o);
21071 }
21072 {
21073 PyObject *o = PyInt_FromLong((long) (*arg5));
21074 resultobj = t_output_helper(resultobj,o);
21075 }
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
21083 PyObject *obj;
21084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21085 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
21086 Py_INCREF(obj);
21087 return Py_BuildValue((char *)"");
21088 }
21089 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj;
21091 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21092 wxWindow *arg2 = (wxWindow *) 0 ;
21093 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21094 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21095 wxSize const &arg4_defvalue = wxDefaultSize ;
21096 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21097 long arg5 = (long) 0 ;
21098 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
21099 wxString *arg6 = (wxString *) &arg6_defvalue ;
21100 wxPreviewCanvas *result;
21101 wxPoint temp3 ;
21102 wxSize temp4 ;
21103 bool temp6 = False ;
21104 PyObject * obj0 = 0 ;
21105 PyObject * obj1 = 0 ;
21106 PyObject * obj2 = 0 ;
21107 PyObject * obj3 = 0 ;
21108 PyObject * obj4 = 0 ;
21109 PyObject * obj5 = 0 ;
21110 char *kwnames[] = {
21111 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21112 };
21113
21114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21119 if (obj2) {
21120 {
21121 arg3 = &temp3;
21122 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21123 }
21124 }
21125 if (obj3) {
21126 {
21127 arg4 = &temp4;
21128 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21129 }
21130 }
21131 if (obj4) {
21132 arg5 = (long) SWIG_AsLong(obj4);
21133 if (PyErr_Occurred()) SWIG_fail;
21134 }
21135 if (obj5) {
21136 {
21137 arg6 = wxString_in_helper(obj5);
21138 if (arg6 == NULL) SWIG_fail;
21139 temp6 = True;
21140 }
21141 }
21142 {
21143 PyThreadState* __tstate = wxPyBeginAllowThreads();
21144 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21145
21146 wxPyEndAllowThreads(__tstate);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 }
21149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
21150 {
21151 if (temp6)
21152 delete arg6;
21153 }
21154 return resultobj;
21155 fail:
21156 {
21157 if (temp6)
21158 delete arg6;
21159 }
21160 return NULL;
21161 }
21162
21163
21164 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
21165 PyObject *obj;
21166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21167 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
21168 Py_INCREF(obj);
21169 return Py_BuildValue((char *)"");
21170 }
21171 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21172 PyObject *resultobj;
21173 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21174 wxFrame *arg2 = (wxFrame *) 0 ;
21175 wxString *arg3 = 0 ;
21176 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21177 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21178 wxSize const &arg5_defvalue = wxDefaultSize ;
21179 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21180 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21181 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21182 wxString *arg7 = (wxString *) &arg7_defvalue ;
21183 wxPreviewFrame *result;
21184 bool temp3 = False ;
21185 wxPoint temp4 ;
21186 wxSize temp5 ;
21187 bool temp7 = False ;
21188 PyObject * obj0 = 0 ;
21189 PyObject * obj1 = 0 ;
21190 PyObject * obj2 = 0 ;
21191 PyObject * obj3 = 0 ;
21192 PyObject * obj4 = 0 ;
21193 PyObject * obj5 = 0 ;
21194 PyObject * obj6 = 0 ;
21195 char *kwnames[] = {
21196 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21197 };
21198
21199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21204 {
21205 arg3 = wxString_in_helper(obj2);
21206 if (arg3 == NULL) SWIG_fail;
21207 temp3 = True;
21208 }
21209 if (obj3) {
21210 {
21211 arg4 = &temp4;
21212 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21213 }
21214 }
21215 if (obj4) {
21216 {
21217 arg5 = &temp5;
21218 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21219 }
21220 }
21221 if (obj5) {
21222 arg6 = (long) SWIG_AsLong(obj5);
21223 if (PyErr_Occurred()) SWIG_fail;
21224 }
21225 if (obj6) {
21226 {
21227 arg7 = wxString_in_helper(obj6);
21228 if (arg7 == NULL) SWIG_fail;
21229 temp7 = True;
21230 }
21231 }
21232 {
21233 PyThreadState* __tstate = wxPyBeginAllowThreads();
21234 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21235
21236 wxPyEndAllowThreads(__tstate);
21237 if (PyErr_Occurred()) SWIG_fail;
21238 }
21239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
21240 {
21241 if (temp3)
21242 delete arg3;
21243 }
21244 {
21245 if (temp7)
21246 delete arg7;
21247 }
21248 return resultobj;
21249 fail:
21250 {
21251 if (temp3)
21252 delete arg3;
21253 }
21254 {
21255 if (temp7)
21256 delete arg7;
21257 }
21258 return NULL;
21259 }
21260
21261
21262 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
21263 PyObject *resultobj;
21264 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21265 PyObject * obj0 = 0 ;
21266 char *kwnames[] = {
21267 (char *) "self", NULL
21268 };
21269
21270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
21271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21273 {
21274 PyThreadState* __tstate = wxPyBeginAllowThreads();
21275 (arg1)->Initialize();
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_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21288 PyObject *resultobj;
21289 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21290 PyObject * obj0 = 0 ;
21291 char *kwnames[] = {
21292 (char *) "self", NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
21296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21298 {
21299 PyThreadState* __tstate = wxPyBeginAllowThreads();
21300 (arg1)->CreateControlBar();
21301
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 Py_INCREF(Py_None); resultobj = Py_None;
21306 return resultobj;
21307 fail:
21308 return NULL;
21309 }
21310
21311
21312 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21313 PyObject *resultobj;
21314 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21315 PyObject * obj0 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
21321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21323 {
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 (arg1)->CreateCanvas();
21326
21327 wxPyEndAllowThreads(__tstate);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
21330 Py_INCREF(Py_None); resultobj = Py_None;
21331 return resultobj;
21332 fail:
21333 return NULL;
21334 }
21335
21336
21337 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21338 PyObject *resultobj;
21339 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21340 wxPreviewControlBar *result;
21341 PyObject * obj0 = 0 ;
21342 char *kwnames[] = {
21343 (char *) "self", NULL
21344 };
21345
21346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
21347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21349 {
21350 PyThreadState* __tstate = wxPyBeginAllowThreads();
21351 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
21352
21353 wxPyEndAllowThreads(__tstate);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 }
21356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
21357 return resultobj;
21358 fail:
21359 return NULL;
21360 }
21361
21362
21363 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
21364 PyObject *obj;
21365 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21366 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
21367 Py_INCREF(obj);
21368 return Py_BuildValue((char *)"");
21369 }
21370 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21371 PyObject *resultobj;
21372 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21373 long arg2 ;
21374 wxWindow *arg3 = (wxWindow *) 0 ;
21375 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21376 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21377 wxSize const &arg5_defvalue = wxDefaultSize ;
21378 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21379 long arg6 = (long) wxTAB_TRAVERSAL ;
21380 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21381 wxString *arg7 = (wxString *) &arg7_defvalue ;
21382 wxPreviewControlBar *result;
21383 wxPoint temp4 ;
21384 wxSize temp5 ;
21385 bool temp7 = False ;
21386 PyObject * obj0 = 0 ;
21387 PyObject * obj1 = 0 ;
21388 PyObject * obj2 = 0 ;
21389 PyObject * obj3 = 0 ;
21390 PyObject * obj4 = 0 ;
21391 PyObject * obj5 = 0 ;
21392 PyObject * obj6 = 0 ;
21393 char *kwnames[] = {
21394 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21395 };
21396
21397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21400 arg2 = (long) SWIG_AsLong(obj1);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
21403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21404 if (obj3) {
21405 {
21406 arg4 = &temp4;
21407 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21408 }
21409 }
21410 if (obj4) {
21411 {
21412 arg5 = &temp5;
21413 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21414 }
21415 }
21416 if (obj5) {
21417 arg6 = (long) SWIG_AsLong(obj5);
21418 if (PyErr_Occurred()) SWIG_fail;
21419 }
21420 if (obj6) {
21421 {
21422 arg7 = wxString_in_helper(obj6);
21423 if (arg7 == NULL) SWIG_fail;
21424 temp7 = True;
21425 }
21426 }
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21430
21431 wxPyEndAllowThreads(__tstate);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 }
21434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
21435 {
21436 if (temp7)
21437 delete arg7;
21438 }
21439 return resultobj;
21440 fail:
21441 {
21442 if (temp7)
21443 delete arg7;
21444 }
21445 return NULL;
21446 }
21447
21448
21449 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21450 PyObject *resultobj;
21451 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21452 int result;
21453 PyObject * obj0 = 0 ;
21454 char *kwnames[] = {
21455 (char *) "self", NULL
21456 };
21457
21458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
21459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21461 {
21462 PyThreadState* __tstate = wxPyBeginAllowThreads();
21463 result = (int)(arg1)->GetZoomControl();
21464
21465 wxPyEndAllowThreads(__tstate);
21466 if (PyErr_Occurred()) SWIG_fail;
21467 }
21468 resultobj = SWIG_FromInt((int)result);
21469 return resultobj;
21470 fail:
21471 return NULL;
21472 }
21473
21474
21475 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21476 PyObject *resultobj;
21477 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21478 int arg2 ;
21479 PyObject * obj0 = 0 ;
21480 PyObject * obj1 = 0 ;
21481 char *kwnames[] = {
21482 (char *) "self",(char *) "zoom", NULL
21483 };
21484
21485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
21486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21488 arg2 = (int) SWIG_AsInt(obj1);
21489 if (PyErr_Occurred()) SWIG_fail;
21490 {
21491 PyThreadState* __tstate = wxPyBeginAllowThreads();
21492 (arg1)->SetZoomControl(arg2);
21493
21494 wxPyEndAllowThreads(__tstate);
21495 if (PyErr_Occurred()) SWIG_fail;
21496 }
21497 Py_INCREF(Py_None); resultobj = Py_None;
21498 return resultobj;
21499 fail:
21500 return NULL;
21501 }
21502
21503
21504 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21505 PyObject *resultobj;
21506 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21507 wxPrintPreview *result;
21508 PyObject * obj0 = 0 ;
21509 char *kwnames[] = {
21510 (char *) "self", NULL
21511 };
21512
21513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
21514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21516 {
21517 PyThreadState* __tstate = wxPyBeginAllowThreads();
21518 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
21519
21520 wxPyEndAllowThreads(__tstate);
21521 if (PyErr_Occurred()) SWIG_fail;
21522 }
21523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
21524 return resultobj;
21525 fail:
21526 return NULL;
21527 }
21528
21529
21530 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
21531 PyObject *resultobj;
21532 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21533 PyObject * obj0 = 0 ;
21534 char *kwnames[] = {
21535 (char *) "self", NULL
21536 };
21537
21538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
21539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 (arg1)->OnNext();
21544
21545 wxPyEndAllowThreads(__tstate);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 }
21548 Py_INCREF(Py_None); resultobj = Py_None;
21549 return resultobj;
21550 fail:
21551 return NULL;
21552 }
21553
21554
21555 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
21556 PyObject *resultobj;
21557 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21558 PyObject * obj0 = 0 ;
21559 char *kwnames[] = {
21560 (char *) "self", NULL
21561 };
21562
21563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
21564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21566 {
21567 PyThreadState* __tstate = wxPyBeginAllowThreads();
21568 (arg1)->OnPrevious();
21569
21570 wxPyEndAllowThreads(__tstate);
21571 if (PyErr_Occurred()) SWIG_fail;
21572 }
21573 Py_INCREF(Py_None); resultobj = Py_None;
21574 return resultobj;
21575 fail:
21576 return NULL;
21577 }
21578
21579
21580 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
21581 PyObject *resultobj;
21582 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21583 PyObject * obj0 = 0 ;
21584 char *kwnames[] = {
21585 (char *) "self", NULL
21586 };
21587
21588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
21589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21591 {
21592 PyThreadState* __tstate = wxPyBeginAllowThreads();
21593 (arg1)->OnFirst();
21594
21595 wxPyEndAllowThreads(__tstate);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 }
21598 Py_INCREF(Py_None); resultobj = Py_None;
21599 return resultobj;
21600 fail:
21601 return NULL;
21602 }
21603
21604
21605 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
21606 PyObject *resultobj;
21607 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21608 PyObject * obj0 = 0 ;
21609 char *kwnames[] = {
21610 (char *) "self", NULL
21611 };
21612
21613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
21614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21616 {
21617 PyThreadState* __tstate = wxPyBeginAllowThreads();
21618 (arg1)->OnLast();
21619
21620 wxPyEndAllowThreads(__tstate);
21621 if (PyErr_Occurred()) SWIG_fail;
21622 }
21623 Py_INCREF(Py_None); resultobj = Py_None;
21624 return resultobj;
21625 fail:
21626 return NULL;
21627 }
21628
21629
21630 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
21631 PyObject *resultobj;
21632 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21633 PyObject * obj0 = 0 ;
21634 char *kwnames[] = {
21635 (char *) "self", NULL
21636 };
21637
21638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
21639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21641 {
21642 PyThreadState* __tstate = wxPyBeginAllowThreads();
21643 (arg1)->OnGoto();
21644
21645 wxPyEndAllowThreads(__tstate);
21646 if (PyErr_Occurred()) SWIG_fail;
21647 }
21648 Py_INCREF(Py_None); resultobj = Py_None;
21649 return resultobj;
21650 fail:
21651 return NULL;
21652 }
21653
21654
21655 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21656 PyObject *obj;
21657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21658 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
21659 Py_INCREF(obj);
21660 return Py_BuildValue((char *)"");
21661 }
21662 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
21663 PyObject *resultobj;
21664 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21665 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21666 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
21667 wxPrintPreview *result;
21668 PyObject * obj0 = 0 ;
21669 PyObject * obj1 = 0 ;
21670 PyObject * obj2 = 0 ;
21671
21672 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
21673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21677 if (obj2) {
21678 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
21679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21680 }
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
21689 return resultobj;
21690 fail:
21691 return NULL;
21692 }
21693
21694
21695 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
21696 PyObject *resultobj;
21697 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21698 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21699 wxPrintData *arg3 = (wxPrintData *) 0 ;
21700 wxPrintPreview *result;
21701 PyObject * obj0 = 0 ;
21702 PyObject * obj1 = 0 ;
21703 PyObject * obj2 = 0 ;
21704
21705 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
21706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21710 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
21711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21712 {
21713 PyThreadState* __tstate = wxPyBeginAllowThreads();
21714 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
21715
21716 wxPyEndAllowThreads(__tstate);
21717 if (PyErr_Occurred()) SWIG_fail;
21718 }
21719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
21720 return resultobj;
21721 fail:
21722 return NULL;
21723 }
21724
21725
21726 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
21727 int argc;
21728 PyObject *argv[4];
21729 int ii;
21730
21731 argc = PyObject_Length(args);
21732 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
21733 argv[ii] = PyTuple_GetItem(args,ii);
21734 }
21735 if ((argc >= 2) && (argc <= 3)) {
21736 int _v;
21737 {
21738 void *ptr;
21739 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
21740 _v = 0;
21741 PyErr_Clear();
21742 } else {
21743 _v = 1;
21744 }
21745 }
21746 if (_v) {
21747 {
21748 void *ptr;
21749 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
21750 _v = 0;
21751 PyErr_Clear();
21752 } else {
21753 _v = 1;
21754 }
21755 }
21756 if (_v) {
21757 if (argc <= 2) {
21758 return _wrap_new_PrintPreview__SWIG_0(self,args);
21759 }
21760 {
21761 void *ptr;
21762 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
21763 _v = 0;
21764 PyErr_Clear();
21765 } else {
21766 _v = 1;
21767 }
21768 }
21769 if (_v) {
21770 return _wrap_new_PrintPreview__SWIG_0(self,args);
21771 }
21772 }
21773 }
21774 }
21775 if (argc == 3) {
21776 int _v;
21777 {
21778 void *ptr;
21779 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
21780 _v = 0;
21781 PyErr_Clear();
21782 } else {
21783 _v = 1;
21784 }
21785 }
21786 if (_v) {
21787 {
21788 void *ptr;
21789 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
21790 _v = 0;
21791 PyErr_Clear();
21792 } else {
21793 _v = 1;
21794 }
21795 }
21796 if (_v) {
21797 {
21798 void *ptr;
21799 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21800 _v = 0;
21801 PyErr_Clear();
21802 } else {
21803 _v = 1;
21804 }
21805 }
21806 if (_v) {
21807 return _wrap_new_PrintPreview__SWIG_1(self,args);
21808 }
21809 }
21810 }
21811 }
21812
21813 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
21814 return NULL;
21815 }
21816
21817
21818 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21821 int arg2 ;
21822 bool result;
21823 PyObject * obj0 = 0 ;
21824 PyObject * obj1 = 0 ;
21825 char *kwnames[] = {
21826 (char *) "self",(char *) "pageNum", NULL
21827 };
21828
21829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21832 arg2 = (int) SWIG_AsInt(obj1);
21833 if (PyErr_Occurred()) SWIG_fail;
21834 {
21835 PyThreadState* __tstate = wxPyBeginAllowThreads();
21836 result = (bool)(arg1)->SetCurrentPage(arg2);
21837
21838 wxPyEndAllowThreads(__tstate);
21839 if (PyErr_Occurred()) SWIG_fail;
21840 }
21841 {
21842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21843 }
21844 return resultobj;
21845 fail:
21846 return NULL;
21847 }
21848
21849
21850 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21851 PyObject *resultobj;
21852 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21853 int result;
21854 PyObject * obj0 = 0 ;
21855 char *kwnames[] = {
21856 (char *) "self", NULL
21857 };
21858
21859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
21860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21862 {
21863 PyThreadState* __tstate = wxPyBeginAllowThreads();
21864 result = (int)(arg1)->GetCurrentPage();
21865
21866 wxPyEndAllowThreads(__tstate);
21867 if (PyErr_Occurred()) SWIG_fail;
21868 }
21869 resultobj = SWIG_FromInt((int)result);
21870 return resultobj;
21871 fail:
21872 return NULL;
21873 }
21874
21875
21876 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21877 PyObject *resultobj;
21878 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21879 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21880 PyObject * obj0 = 0 ;
21881 PyObject * obj1 = 0 ;
21882 char *kwnames[] = {
21883 (char *) "self",(char *) "printout", NULL
21884 };
21885
21886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
21887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21889 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21891 {
21892 PyThreadState* __tstate = wxPyBeginAllowThreads();
21893 (arg1)->SetPrintout(arg2);
21894
21895 wxPyEndAllowThreads(__tstate);
21896 if (PyErr_Occurred()) SWIG_fail;
21897 }
21898 Py_INCREF(Py_None); resultobj = Py_None;
21899 return resultobj;
21900 fail:
21901 return NULL;
21902 }
21903
21904
21905 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21906 PyObject *resultobj;
21907 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21908 wxPyPrintout *result;
21909 PyObject * obj0 = 0 ;
21910 char *kwnames[] = {
21911 (char *) "self", NULL
21912 };
21913
21914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
21915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21917 {
21918 PyThreadState* __tstate = wxPyBeginAllowThreads();
21919 result = (wxPyPrintout *)(arg1)->GetPrintout();
21920
21921 wxPyEndAllowThreads(__tstate);
21922 if (PyErr_Occurred()) SWIG_fail;
21923 }
21924 {
21925 resultobj = wxPyMake_wxObject(result);
21926 }
21927 return resultobj;
21928 fail:
21929 return NULL;
21930 }
21931
21932
21933 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21934 PyObject *resultobj;
21935 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21936 wxPyPrintout *result;
21937 PyObject * obj0 = 0 ;
21938 char *kwnames[] = {
21939 (char *) "self", NULL
21940 };
21941
21942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
21943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21945 {
21946 PyThreadState* __tstate = wxPyBeginAllowThreads();
21947 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
21948
21949 wxPyEndAllowThreads(__tstate);
21950 if (PyErr_Occurred()) SWIG_fail;
21951 }
21952 {
21953 resultobj = wxPyMake_wxObject(result);
21954 }
21955 return resultobj;
21956 fail:
21957 return NULL;
21958 }
21959
21960
21961 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj;
21963 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21964 wxFrame *arg2 = (wxFrame *) 0 ;
21965 PyObject * obj0 = 0 ;
21966 PyObject * obj1 = 0 ;
21967 char *kwnames[] = {
21968 (char *) "self",(char *) "frame", NULL
21969 };
21970
21971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
21972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21976 {
21977 PyThreadState* __tstate = wxPyBeginAllowThreads();
21978 (arg1)->SetFrame(arg2);
21979
21980 wxPyEndAllowThreads(__tstate);
21981 if (PyErr_Occurred()) SWIG_fail;
21982 }
21983 Py_INCREF(Py_None); resultobj = Py_None;
21984 return resultobj;
21985 fail:
21986 return NULL;
21987 }
21988
21989
21990 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21991 PyObject *resultobj;
21992 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21993 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21994 PyObject * obj0 = 0 ;
21995 PyObject * obj1 = 0 ;
21996 char *kwnames[] = {
21997 (char *) "self",(char *) "canvas", NULL
21998 };
21999
22000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
22001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22005 {
22006 PyThreadState* __tstate = wxPyBeginAllowThreads();
22007 (arg1)->SetCanvas(arg2);
22008
22009 wxPyEndAllowThreads(__tstate);
22010 if (PyErr_Occurred()) SWIG_fail;
22011 }
22012 Py_INCREF(Py_None); resultobj = Py_None;
22013 return resultobj;
22014 fail:
22015 return NULL;
22016 }
22017
22018
22019 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22020 PyObject *resultobj;
22021 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22022 wxFrame *result;
22023 PyObject * obj0 = 0 ;
22024 char *kwnames[] = {
22025 (char *) "self", NULL
22026 };
22027
22028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
22029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22031 {
22032 PyThreadState* __tstate = wxPyBeginAllowThreads();
22033 result = (wxFrame *)(arg1)->GetFrame();
22034
22035 wxPyEndAllowThreads(__tstate);
22036 if (PyErr_Occurred()) SWIG_fail;
22037 }
22038 {
22039 resultobj = wxPyMake_wxObject(result);
22040 }
22041 return resultobj;
22042 fail:
22043 return NULL;
22044 }
22045
22046
22047 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22048 PyObject *resultobj;
22049 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22050 wxPreviewCanvas *result;
22051 PyObject * obj0 = 0 ;
22052 char *kwnames[] = {
22053 (char *) "self", NULL
22054 };
22055
22056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
22057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22059 {
22060 PyThreadState* __tstate = wxPyBeginAllowThreads();
22061 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
22062
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
22066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
22067 return resultobj;
22068 fail:
22069 return NULL;
22070 }
22071
22072
22073 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22074 PyObject *resultobj;
22075 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22076 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22077 wxDC *arg3 = 0 ;
22078 bool result;
22079 PyObject * obj0 = 0 ;
22080 PyObject * obj1 = 0 ;
22081 PyObject * obj2 = 0 ;
22082 char *kwnames[] = {
22083 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22084 };
22085
22086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22091 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22092 SWIG_POINTER_EXCEPTION | 0)) == -1)
22093 SWIG_fail;
22094 if (arg3 == NULL) {
22095 PyErr_SetString(PyExc_TypeError,"null reference");
22096 SWIG_fail;
22097 }
22098 {
22099 PyThreadState* __tstate = wxPyBeginAllowThreads();
22100 result = (bool)(arg1)->PaintPage(arg2,*arg3);
22101
22102 wxPyEndAllowThreads(__tstate);
22103 if (PyErr_Occurred()) SWIG_fail;
22104 }
22105 {
22106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22107 }
22108 return resultobj;
22109 fail:
22110 return NULL;
22111 }
22112
22113
22114 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22115 PyObject *resultobj;
22116 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22117 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22118 wxDC *arg3 = 0 ;
22119 bool result;
22120 PyObject * obj0 = 0 ;
22121 PyObject * obj1 = 0 ;
22122 PyObject * obj2 = 0 ;
22123 char *kwnames[] = {
22124 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22125 };
22126
22127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22132 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22133 SWIG_POINTER_EXCEPTION | 0)) == -1)
22134 SWIG_fail;
22135 if (arg3 == NULL) {
22136 PyErr_SetString(PyExc_TypeError,"null reference");
22137 SWIG_fail;
22138 }
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
22142
22143 wxPyEndAllowThreads(__tstate);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 {
22147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22148 }
22149 return resultobj;
22150 fail:
22151 return NULL;
22152 }
22153
22154
22155 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22156 PyObject *resultobj;
22157 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22158 int arg2 ;
22159 bool result;
22160 PyObject * obj0 = 0 ;
22161 PyObject * obj1 = 0 ;
22162 char *kwnames[] = {
22163 (char *) "self",(char *) "pageNum", NULL
22164 };
22165
22166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22169 arg2 = (int) SWIG_AsInt(obj1);
22170 if (PyErr_Occurred()) SWIG_fail;
22171 {
22172 PyThreadState* __tstate = wxPyBeginAllowThreads();
22173 result = (bool)(arg1)->RenderPage(arg2);
22174
22175 wxPyEndAllowThreads(__tstate);
22176 if (PyErr_Occurred()) SWIG_fail;
22177 }
22178 {
22179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22180 }
22181 return resultobj;
22182 fail:
22183 return NULL;
22184 }
22185
22186
22187 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
22188 PyObject *resultobj;
22189 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22190 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22191 PyObject * obj0 = 0 ;
22192 PyObject * obj1 = 0 ;
22193 char *kwnames[] = {
22194 (char *) "self",(char *) "canvas", NULL
22195 };
22196
22197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
22198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22200 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22202 {
22203 PyThreadState* __tstate = wxPyBeginAllowThreads();
22204 (arg1)->AdjustScrollbars(arg2);
22205
22206 wxPyEndAllowThreads(__tstate);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 }
22209 Py_INCREF(Py_None); resultobj = Py_None;
22210 return resultobj;
22211 fail:
22212 return NULL;
22213 }
22214
22215
22216 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
22217 PyObject *resultobj;
22218 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22219 wxPrintDialogData *result;
22220 PyObject * obj0 = 0 ;
22221 char *kwnames[] = {
22222 (char *) "self", NULL
22223 };
22224
22225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
22226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22228 {
22229 PyThreadState* __tstate = wxPyBeginAllowThreads();
22230 {
22231 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22232 result = (wxPrintDialogData *) &_result_ref;
22233 }
22234
22235 wxPyEndAllowThreads(__tstate);
22236 if (PyErr_Occurred()) SWIG_fail;
22237 }
22238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22239 return resultobj;
22240 fail:
22241 return NULL;
22242 }
22243
22244
22245 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22246 PyObject *resultobj;
22247 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22248 int arg2 ;
22249 PyObject * obj0 = 0 ;
22250 PyObject * obj1 = 0 ;
22251 char *kwnames[] = {
22252 (char *) "self",(char *) "percent", NULL
22253 };
22254
22255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22258 arg2 = (int) SWIG_AsInt(obj1);
22259 if (PyErr_Occurred()) SWIG_fail;
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 (arg1)->SetZoom(arg2);
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 Py_INCREF(Py_None); resultobj = Py_None;
22268 return resultobj;
22269 fail:
22270 return NULL;
22271 }
22272
22273
22274 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22275 PyObject *resultobj;
22276 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22277 int result;
22278 PyObject * obj0 = 0 ;
22279 char *kwnames[] = {
22280 (char *) "self", NULL
22281 };
22282
22283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
22284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22286 {
22287 PyThreadState* __tstate = wxPyBeginAllowThreads();
22288 result = (int)(arg1)->GetZoom();
22289
22290 wxPyEndAllowThreads(__tstate);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 }
22293 resultobj = SWIG_FromInt((int)result);
22294 return resultobj;
22295 fail:
22296 return NULL;
22297 }
22298
22299
22300 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22301 PyObject *resultobj;
22302 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22303 int result;
22304 PyObject * obj0 = 0 ;
22305 char *kwnames[] = {
22306 (char *) "self", NULL
22307 };
22308
22309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
22310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22312 {
22313 PyThreadState* __tstate = wxPyBeginAllowThreads();
22314 result = (int)(arg1)->GetMaxPage();
22315
22316 wxPyEndAllowThreads(__tstate);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 }
22319 resultobj = SWIG_FromInt((int)result);
22320 return resultobj;
22321 fail:
22322 return NULL;
22323 }
22324
22325
22326 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22327 PyObject *resultobj;
22328 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22329 int result;
22330 PyObject * obj0 = 0 ;
22331 char *kwnames[] = {
22332 (char *) "self", NULL
22333 };
22334
22335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
22336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22338 {
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 result = (int)(arg1)->GetMinPage();
22341
22342 wxPyEndAllowThreads(__tstate);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 }
22345 resultobj = SWIG_FromInt((int)result);
22346 return resultobj;
22347 fail:
22348 return NULL;
22349 }
22350
22351
22352 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
22353 PyObject *resultobj;
22354 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22355 bool result;
22356 PyObject * obj0 = 0 ;
22357 char *kwnames[] = {
22358 (char *) "self", NULL
22359 };
22360
22361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
22362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22364 {
22365 PyThreadState* __tstate = wxPyBeginAllowThreads();
22366 result = (bool)(arg1)->Ok();
22367
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
22371 {
22372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22373 }
22374 return resultobj;
22375 fail:
22376 return NULL;
22377 }
22378
22379
22380 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22381 PyObject *resultobj;
22382 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22383 bool arg2 ;
22384 PyObject * obj0 = 0 ;
22385 PyObject * obj1 = 0 ;
22386 char *kwnames[] = {
22387 (char *) "self",(char *) "ok", NULL
22388 };
22389
22390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
22391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22393 arg2 = (bool) SWIG_AsBool(obj1);
22394 if (PyErr_Occurred()) SWIG_fail;
22395 {
22396 PyThreadState* __tstate = wxPyBeginAllowThreads();
22397 (arg1)->SetOk(arg2);
22398
22399 wxPyEndAllowThreads(__tstate);
22400 if (PyErr_Occurred()) SWIG_fail;
22401 }
22402 Py_INCREF(Py_None); resultobj = Py_None;
22403 return resultobj;
22404 fail:
22405 return NULL;
22406 }
22407
22408
22409 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
22410 PyObject *resultobj;
22411 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22412 bool arg2 ;
22413 bool result;
22414 PyObject * obj0 = 0 ;
22415 PyObject * obj1 = 0 ;
22416 char *kwnames[] = {
22417 (char *) "self",(char *) "interactive", NULL
22418 };
22419
22420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
22421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22423 arg2 = (bool) SWIG_AsBool(obj1);
22424 if (PyErr_Occurred()) SWIG_fail;
22425 {
22426 PyThreadState* __tstate = wxPyBeginAllowThreads();
22427 result = (bool)(arg1)->Print(arg2);
22428
22429 wxPyEndAllowThreads(__tstate);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 }
22432 {
22433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22434 }
22435 return resultobj;
22436 fail:
22437 return NULL;
22438 }
22439
22440
22441 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
22442 PyObject *resultobj;
22443 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22444 PyObject * obj0 = 0 ;
22445 char *kwnames[] = {
22446 (char *) "self", NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
22450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22452 {
22453 PyThreadState* __tstate = wxPyBeginAllowThreads();
22454 (arg1)->DetermineScaling();
22455
22456 wxPyEndAllowThreads(__tstate);
22457 if (PyErr_Occurred()) SWIG_fail;
22458 }
22459 Py_INCREF(Py_None); resultobj = Py_None;
22460 return resultobj;
22461 fail:
22462 return NULL;
22463 }
22464
22465
22466 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
22467 PyObject *obj;
22468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22469 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
22470 Py_INCREF(obj);
22471 return Py_BuildValue((char *)"");
22472 }
22473 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22474 PyObject *resultobj;
22475 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22476 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22477 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22478 wxPyPrintPreview *result;
22479 PyObject * obj0 = 0 ;
22480 PyObject * obj1 = 0 ;
22481 PyObject * obj2 = 0 ;
22482
22483 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
22484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22486 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22488 if (obj2) {
22489 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22491 }
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
22495
22496 wxPyEndAllowThreads(__tstate);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 }
22499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
22500 return resultobj;
22501 fail:
22502 return NULL;
22503 }
22504
22505
22506 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22507 PyObject *resultobj;
22508 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22509 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22510 wxPrintData *arg3 = (wxPrintData *) 0 ;
22511 wxPyPrintPreview *result;
22512 PyObject * obj0 = 0 ;
22513 PyObject * obj1 = 0 ;
22514 PyObject * obj2 = 0 ;
22515
22516 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
22517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22519 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22521 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22523 {
22524 PyThreadState* __tstate = wxPyBeginAllowThreads();
22525 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
22526
22527 wxPyEndAllowThreads(__tstate);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
22531 return resultobj;
22532 fail:
22533 return NULL;
22534 }
22535
22536
22537 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
22538 int argc;
22539 PyObject *argv[4];
22540 int ii;
22541
22542 argc = PyObject_Length(args);
22543 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22544 argv[ii] = PyTuple_GetItem(args,ii);
22545 }
22546 if ((argc >= 2) && (argc <= 3)) {
22547 int _v;
22548 {
22549 void *ptr;
22550 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22551 _v = 0;
22552 PyErr_Clear();
22553 } else {
22554 _v = 1;
22555 }
22556 }
22557 if (_v) {
22558 {
22559 void *ptr;
22560 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22561 _v = 0;
22562 PyErr_Clear();
22563 } else {
22564 _v = 1;
22565 }
22566 }
22567 if (_v) {
22568 if (argc <= 2) {
22569 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
22570 }
22571 {
22572 void *ptr;
22573 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22574 _v = 0;
22575 PyErr_Clear();
22576 } else {
22577 _v = 1;
22578 }
22579 }
22580 if (_v) {
22581 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
22582 }
22583 }
22584 }
22585 }
22586 if (argc == 3) {
22587 int _v;
22588 {
22589 void *ptr;
22590 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22591 _v = 0;
22592 PyErr_Clear();
22593 } else {
22594 _v = 1;
22595 }
22596 }
22597 if (_v) {
22598 {
22599 void *ptr;
22600 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22601 _v = 0;
22602 PyErr_Clear();
22603 } else {
22604 _v = 1;
22605 }
22606 }
22607 if (_v) {
22608 {
22609 void *ptr;
22610 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22611 _v = 0;
22612 PyErr_Clear();
22613 } else {
22614 _v = 1;
22615 }
22616 }
22617 if (_v) {
22618 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
22619 }
22620 }
22621 }
22622 }
22623
22624 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
22625 return NULL;
22626 }
22627
22628
22629 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22630 PyObject *resultobj;
22631 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22632 PyObject *arg2 = (PyObject *) 0 ;
22633 PyObject *arg3 = (PyObject *) 0 ;
22634 PyObject * obj0 = 0 ;
22635 PyObject * obj1 = 0 ;
22636 PyObject * obj2 = 0 ;
22637 char *kwnames[] = {
22638 (char *) "self",(char *) "self",(char *) "_class", NULL
22639 };
22640
22641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22644 arg2 = obj1;
22645 arg3 = obj2;
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 (arg1)->_setCallbackInfo(arg2,arg3);
22649
22650 wxPyEndAllowThreads(__tstate);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 Py_INCREF(Py_None); resultobj = Py_None;
22654 return resultobj;
22655 fail:
22656 return NULL;
22657 }
22658
22659
22660 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22661 PyObject *resultobj;
22662 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22663 int arg2 ;
22664 bool result;
22665 PyObject * obj0 = 0 ;
22666 PyObject * obj1 = 0 ;
22667 char *kwnames[] = {
22668 (char *) "self",(char *) "pageNum", NULL
22669 };
22670
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22674 arg2 = (int) SWIG_AsInt(obj1);
22675 if (PyErr_Occurred()) SWIG_fail;
22676 {
22677 PyThreadState* __tstate = wxPyBeginAllowThreads();
22678 result = (bool)(arg1)->base_SetCurrentPage(arg2);
22679
22680 wxPyEndAllowThreads(__tstate);
22681 if (PyErr_Occurred()) SWIG_fail;
22682 }
22683 {
22684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22685 }
22686 return resultobj;
22687 fail:
22688 return NULL;
22689 }
22690
22691
22692 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22695 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22696 wxDC *arg3 = 0 ;
22697 bool result;
22698 PyObject * obj0 = 0 ;
22699 PyObject * obj1 = 0 ;
22700 PyObject * obj2 = 0 ;
22701 char *kwnames[] = {
22702 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22703 };
22704
22705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22710 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22711 SWIG_POINTER_EXCEPTION | 0)) == -1)
22712 SWIG_fail;
22713 if (arg3 == NULL) {
22714 PyErr_SetString(PyExc_TypeError,"null reference");
22715 SWIG_fail;
22716 }
22717 {
22718 PyThreadState* __tstate = wxPyBeginAllowThreads();
22719 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
22720
22721 wxPyEndAllowThreads(__tstate);
22722 if (PyErr_Occurred()) SWIG_fail;
22723 }
22724 {
22725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22726 }
22727 return resultobj;
22728 fail:
22729 return NULL;
22730 }
22731
22732
22733 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22734 PyObject *resultobj;
22735 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22736 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22737 wxDC *arg3 = 0 ;
22738 bool result;
22739 PyObject * obj0 = 0 ;
22740 PyObject * obj1 = 0 ;
22741 PyObject * obj2 = 0 ;
22742 char *kwnames[] = {
22743 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22744 };
22745
22746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22749 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22751 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22752 SWIG_POINTER_EXCEPTION | 0)) == -1)
22753 SWIG_fail;
22754 if (arg3 == NULL) {
22755 PyErr_SetString(PyExc_TypeError,"null reference");
22756 SWIG_fail;
22757 }
22758 {
22759 PyThreadState* __tstate = wxPyBeginAllowThreads();
22760 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
22761
22762 wxPyEndAllowThreads(__tstate);
22763 if (PyErr_Occurred()) SWIG_fail;
22764 }
22765 {
22766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22767 }
22768 return resultobj;
22769 fail:
22770 return NULL;
22771 }
22772
22773
22774 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22775 PyObject *resultobj;
22776 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22777 int arg2 ;
22778 bool result;
22779 PyObject * obj0 = 0 ;
22780 PyObject * obj1 = 0 ;
22781 char *kwnames[] = {
22782 (char *) "self",(char *) "pageNum", NULL
22783 };
22784
22785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22788 arg2 = (int) SWIG_AsInt(obj1);
22789 if (PyErr_Occurred()) SWIG_fail;
22790 {
22791 PyThreadState* __tstate = wxPyBeginAllowThreads();
22792 result = (bool)(arg1)->base_RenderPage(arg2);
22793
22794 wxPyEndAllowThreads(__tstate);
22795 if (PyErr_Occurred()) SWIG_fail;
22796 }
22797 {
22798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22799 }
22800 return resultobj;
22801 fail:
22802 return NULL;
22803 }
22804
22805
22806 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22807 PyObject *resultobj;
22808 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22809 int arg2 ;
22810 PyObject * obj0 = 0 ;
22811 PyObject * obj1 = 0 ;
22812 char *kwnames[] = {
22813 (char *) "self",(char *) "percent", NULL
22814 };
22815
22816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22819 arg2 = (int) SWIG_AsInt(obj1);
22820 if (PyErr_Occurred()) SWIG_fail;
22821 {
22822 PyThreadState* __tstate = wxPyBeginAllowThreads();
22823 (arg1)->base_SetZoom(arg2);
22824
22825 wxPyEndAllowThreads(__tstate);
22826 if (PyErr_Occurred()) SWIG_fail;
22827 }
22828 Py_INCREF(Py_None); resultobj = Py_None;
22829 return resultobj;
22830 fail:
22831 return NULL;
22832 }
22833
22834
22835 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
22836 PyObject *resultobj;
22837 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22838 bool arg2 ;
22839 bool result;
22840 PyObject * obj0 = 0 ;
22841 PyObject * obj1 = 0 ;
22842 char *kwnames[] = {
22843 (char *) "self",(char *) "interactive", NULL
22844 };
22845
22846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
22847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22849 arg2 = (bool) SWIG_AsBool(obj1);
22850 if (PyErr_Occurred()) SWIG_fail;
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 result = (bool)(arg1)->base_Print(arg2);
22854
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 {
22859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22860 }
22861 return resultobj;
22862 fail:
22863 return NULL;
22864 }
22865
22866
22867 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
22868 PyObject *resultobj;
22869 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22870 PyObject * obj0 = 0 ;
22871 char *kwnames[] = {
22872 (char *) "self", NULL
22873 };
22874
22875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
22876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22878 {
22879 PyThreadState* __tstate = wxPyBeginAllowThreads();
22880 (arg1)->base_DetermineScaling();
22881
22882 wxPyEndAllowThreads(__tstate);
22883 if (PyErr_Occurred()) SWIG_fail;
22884 }
22885 Py_INCREF(Py_None); resultobj = Py_None;
22886 return resultobj;
22887 fail:
22888 return NULL;
22889 }
22890
22891
22892 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
22893 PyObject *obj;
22894 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22895 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
22896 Py_INCREF(obj);
22897 return Py_BuildValue((char *)"");
22898 }
22899 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22900 PyObject *resultobj;
22901 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22902 wxFrame *arg2 = (wxFrame *) 0 ;
22903 wxString *arg3 = 0 ;
22904 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22905 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22906 wxSize const &arg5_defvalue = wxDefaultSize ;
22907 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22908 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22909 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22910 wxString *arg7 = (wxString *) &arg7_defvalue ;
22911 wxPyPreviewFrame *result;
22912 bool temp3 = False ;
22913 wxPoint temp4 ;
22914 wxSize temp5 ;
22915 bool temp7 = False ;
22916 PyObject * obj0 = 0 ;
22917 PyObject * obj1 = 0 ;
22918 PyObject * obj2 = 0 ;
22919 PyObject * obj3 = 0 ;
22920 PyObject * obj4 = 0 ;
22921 PyObject * obj5 = 0 ;
22922 PyObject * obj6 = 0 ;
22923 char *kwnames[] = {
22924 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22925 };
22926
22927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22930 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22932 {
22933 arg3 = wxString_in_helper(obj2);
22934 if (arg3 == NULL) SWIG_fail;
22935 temp3 = True;
22936 }
22937 if (obj3) {
22938 {
22939 arg4 = &temp4;
22940 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22941 }
22942 }
22943 if (obj4) {
22944 {
22945 arg5 = &temp5;
22946 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22947 }
22948 }
22949 if (obj5) {
22950 arg6 = (long) SWIG_AsLong(obj5);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 }
22953 if (obj6) {
22954 {
22955 arg7 = wxString_in_helper(obj6);
22956 if (arg7 == NULL) SWIG_fail;
22957 temp7 = True;
22958 }
22959 }
22960 {
22961 PyThreadState* __tstate = wxPyBeginAllowThreads();
22962 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22963
22964 wxPyEndAllowThreads(__tstate);
22965 if (PyErr_Occurred()) SWIG_fail;
22966 }
22967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
22968 {
22969 if (temp3)
22970 delete arg3;
22971 }
22972 {
22973 if (temp7)
22974 delete arg7;
22975 }
22976 return resultobj;
22977 fail:
22978 {
22979 if (temp3)
22980 delete arg3;
22981 }
22982 {
22983 if (temp7)
22984 delete arg7;
22985 }
22986 return NULL;
22987 }
22988
22989
22990 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22991 PyObject *resultobj;
22992 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22993 PyObject *arg2 = (PyObject *) 0 ;
22994 PyObject *arg3 = (PyObject *) 0 ;
22995 PyObject * obj0 = 0 ;
22996 PyObject * obj1 = 0 ;
22997 PyObject * obj2 = 0 ;
22998 char *kwnames[] = {
22999 (char *) "self",(char *) "self",(char *) "_class", NULL
23000 };
23001
23002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23005 arg2 = obj1;
23006 arg3 = obj2;
23007 {
23008 PyThreadState* __tstate = wxPyBeginAllowThreads();
23009 (arg1)->_setCallbackInfo(arg2,arg3);
23010
23011 wxPyEndAllowThreads(__tstate);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 }
23014 Py_INCREF(Py_None); resultobj = Py_None;
23015 return resultobj;
23016 fail:
23017 return NULL;
23018 }
23019
23020
23021 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23022 PyObject *resultobj;
23023 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23024 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23025 PyObject * obj0 = 0 ;
23026 PyObject * obj1 = 0 ;
23027 char *kwnames[] = {
23028 (char *) "self",(char *) "canvas", NULL
23029 };
23030
23031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
23032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23034 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23036 {
23037 PyThreadState* __tstate = wxPyBeginAllowThreads();
23038 (arg1)->SetPreviewCanvas(arg2);
23039
23040 wxPyEndAllowThreads(__tstate);
23041 if (PyErr_Occurred()) SWIG_fail;
23042 }
23043 Py_INCREF(Py_None); resultobj = Py_None;
23044 return resultobj;
23045 fail:
23046 return NULL;
23047 }
23048
23049
23050 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23051 PyObject *resultobj;
23052 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23053 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
23054 PyObject * obj0 = 0 ;
23055 PyObject * obj1 = 0 ;
23056 char *kwnames[] = {
23057 (char *) "self",(char *) "bar", NULL
23058 };
23059
23060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
23061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
23064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23065 {
23066 PyThreadState* __tstate = wxPyBeginAllowThreads();
23067 (arg1)->SetControlBar(arg2);
23068
23069 wxPyEndAllowThreads(__tstate);
23070 if (PyErr_Occurred()) SWIG_fail;
23071 }
23072 Py_INCREF(Py_None); resultobj = Py_None;
23073 return resultobj;
23074 fail:
23075 return NULL;
23076 }
23077
23078
23079 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
23080 PyObject *resultobj;
23081 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23082 PyObject * obj0 = 0 ;
23083 char *kwnames[] = {
23084 (char *) "self", NULL
23085 };
23086
23087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
23088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23090 {
23091 PyThreadState* __tstate = wxPyBeginAllowThreads();
23092 (arg1)->base_Initialize();
23093
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 Py_INCREF(Py_None); resultobj = Py_None;
23098 return resultobj;
23099 fail:
23100 return NULL;
23101 }
23102
23103
23104 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23105 PyObject *resultobj;
23106 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23107 PyObject * obj0 = 0 ;
23108 char *kwnames[] = {
23109 (char *) "self", NULL
23110 };
23111
23112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
23113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23115 {
23116 PyThreadState* __tstate = wxPyBeginAllowThreads();
23117 (arg1)->base_CreateCanvas();
23118
23119 wxPyEndAllowThreads(__tstate);
23120 if (PyErr_Occurred()) SWIG_fail;
23121 }
23122 Py_INCREF(Py_None); resultobj = Py_None;
23123 return resultobj;
23124 fail:
23125 return NULL;
23126 }
23127
23128
23129 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23130 PyObject *resultobj;
23131 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23132 PyObject * obj0 = 0 ;
23133 char *kwnames[] = {
23134 (char *) "self", NULL
23135 };
23136
23137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
23138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23140 {
23141 PyThreadState* __tstate = wxPyBeginAllowThreads();
23142 (arg1)->base_CreateControlBar();
23143
23144 wxPyEndAllowThreads(__tstate);
23145 if (PyErr_Occurred()) SWIG_fail;
23146 }
23147 Py_INCREF(Py_None); resultobj = Py_None;
23148 return resultobj;
23149 fail:
23150 return NULL;
23151 }
23152
23153
23154 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
23155 PyObject *obj;
23156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23157 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
23158 Py_INCREF(obj);
23159 return Py_BuildValue((char *)"");
23160 }
23161 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23162 PyObject *resultobj;
23163 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23164 long arg2 ;
23165 wxWindow *arg3 = (wxWindow *) 0 ;
23166 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23167 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23168 wxSize const &arg5_defvalue = wxDefaultSize ;
23169 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23170 long arg6 = (long) 0 ;
23171 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23172 wxString *arg7 = (wxString *) &arg7_defvalue ;
23173 wxPyPreviewControlBar *result;
23174 wxPoint temp4 ;
23175 wxSize temp5 ;
23176 bool temp7 = False ;
23177 PyObject * obj0 = 0 ;
23178 PyObject * obj1 = 0 ;
23179 PyObject * obj2 = 0 ;
23180 PyObject * obj3 = 0 ;
23181 PyObject * obj4 = 0 ;
23182 PyObject * obj5 = 0 ;
23183 PyObject * obj6 = 0 ;
23184 char *kwnames[] = {
23185 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23186 };
23187
23188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23191 arg2 = (long) SWIG_AsLong(obj1);
23192 if (PyErr_Occurred()) SWIG_fail;
23193 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23195 if (obj3) {
23196 {
23197 arg4 = &temp4;
23198 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23199 }
23200 }
23201 if (obj4) {
23202 {
23203 arg5 = &temp5;
23204 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23205 }
23206 }
23207 if (obj5) {
23208 arg6 = (long) SWIG_AsLong(obj5);
23209 if (PyErr_Occurred()) SWIG_fail;
23210 }
23211 if (obj6) {
23212 {
23213 arg7 = wxString_in_helper(obj6);
23214 if (arg7 == NULL) SWIG_fail;
23215 temp7 = True;
23216 }
23217 }
23218 {
23219 PyThreadState* __tstate = wxPyBeginAllowThreads();
23220 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23221
23222 wxPyEndAllowThreads(__tstate);
23223 if (PyErr_Occurred()) SWIG_fail;
23224 }
23225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
23226 {
23227 if (temp7)
23228 delete arg7;
23229 }
23230 return resultobj;
23231 fail:
23232 {
23233 if (temp7)
23234 delete arg7;
23235 }
23236 return NULL;
23237 }
23238
23239
23240 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23241 PyObject *resultobj;
23242 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23243 PyObject *arg2 = (PyObject *) 0 ;
23244 PyObject *arg3 = (PyObject *) 0 ;
23245 PyObject * obj0 = 0 ;
23246 PyObject * obj1 = 0 ;
23247 PyObject * obj2 = 0 ;
23248 char *kwnames[] = {
23249 (char *) "self",(char *) "self",(char *) "_class", NULL
23250 };
23251
23252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23255 arg2 = obj1;
23256 arg3 = obj2;
23257 {
23258 PyThreadState* __tstate = wxPyBeginAllowThreads();
23259 (arg1)->_setCallbackInfo(arg2,arg3);
23260
23261 wxPyEndAllowThreads(__tstate);
23262 if (PyErr_Occurred()) SWIG_fail;
23263 }
23264 Py_INCREF(Py_None); resultobj = Py_None;
23265 return resultobj;
23266 fail:
23267 return NULL;
23268 }
23269
23270
23271 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
23272 PyObject *resultobj;
23273 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23274 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
23275 PyObject * obj0 = 0 ;
23276 PyObject * obj1 = 0 ;
23277 char *kwnames[] = {
23278 (char *) "self",(char *) "preview", NULL
23279 };
23280
23281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
23282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23284 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
23285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23286 {
23287 PyThreadState* __tstate = wxPyBeginAllowThreads();
23288 (arg1)->SetPrintPreview(arg2);
23289
23290 wxPyEndAllowThreads(__tstate);
23291 if (PyErr_Occurred()) SWIG_fail;
23292 }
23293 Py_INCREF(Py_None); resultobj = Py_None;
23294 return resultobj;
23295 fail:
23296 return NULL;
23297 }
23298
23299
23300 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
23301 PyObject *resultobj;
23302 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23303 PyObject * obj0 = 0 ;
23304 char *kwnames[] = {
23305 (char *) "self", NULL
23306 };
23307
23308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
23309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23311 {
23312 PyThreadState* __tstate = wxPyBeginAllowThreads();
23313 (arg1)->base_CreateButtons();
23314
23315 wxPyEndAllowThreads(__tstate);
23316 if (PyErr_Occurred()) SWIG_fail;
23317 }
23318 Py_INCREF(Py_None); resultobj = Py_None;
23319 return resultobj;
23320 fail:
23321 return NULL;
23322 }
23323
23324
23325 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23326 PyObject *resultobj;
23327 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23328 int arg2 ;
23329 PyObject * obj0 = 0 ;
23330 PyObject * obj1 = 0 ;
23331 char *kwnames[] = {
23332 (char *) "self",(char *) "zoom", NULL
23333 };
23334
23335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23338 arg2 = (int) SWIG_AsInt(obj1);
23339 if (PyErr_Occurred()) SWIG_fail;
23340 {
23341 PyThreadState* __tstate = wxPyBeginAllowThreads();
23342 (arg1)->base_SetZoomControl(arg2);
23343
23344 wxPyEndAllowThreads(__tstate);
23345 if (PyErr_Occurred()) SWIG_fail;
23346 }
23347 Py_INCREF(Py_None); resultobj = Py_None;
23348 return resultobj;
23349 fail:
23350 return NULL;
23351 }
23352
23353
23354 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
23355 PyObject *obj;
23356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23357 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
23358 Py_INCREF(obj);
23359 return Py_BuildValue((char *)"");
23360 }
23361 static PyMethodDef SwigMethods[] = {
23362 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
23363 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
23364 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
23365 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
23366 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
23367 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
23368 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
23369 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
23370 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
23371 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
23372 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
23373 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
23374 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
23375 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
23376 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
23377 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
23378 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
23379 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
23380 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
23381 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
23382 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
23383 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
23384 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
23385 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
23386 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
23387 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
23388 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
23389 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
23390 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
23391 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
23392 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
23393 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
23394 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
23395 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
23396 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
23397 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
23398 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
23399 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
23400 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
23401 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
23402 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
23403 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
23404 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
23405 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
23406 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
23407 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
23408 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
23409 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
23410 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
23411 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
23412 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
23413 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
23414 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
23415 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
23416 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
23417 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
23418 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
23419 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
23420 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
23421 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
23422 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
23423 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
23424 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
23425 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
23426 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
23427 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
23428 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
23429 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
23430 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
23431 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
23432 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
23433 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
23434 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
23435 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23436 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
23437 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
23438 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
23439 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
23440 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
23441 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
23442 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
23443 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
23444 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
23445 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
23446 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
23447 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
23448 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
23449 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
23450 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
23451 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
23452 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
23453 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
23454 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
23455 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
23456 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
23457 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
23458 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
23459 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
23460 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
23461 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
23462 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
23463 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
23464 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
23465 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
23466 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
23467 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
23468 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
23469 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
23470 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
23471 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
23472 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
23473 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
23474 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
23475 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
23476 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
23477 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
23478 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
23479 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
23480 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
23481 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
23482 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
23483 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
23484 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
23485 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
23486 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
23487 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
23488 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
23489 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
23490 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
23491 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
23492 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
23493 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
23494 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
23495 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
23496 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
23497 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
23498 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
23499 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
23500 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
23501 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
23502 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
23503 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
23504 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
23505 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
23506 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
23507 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
23508 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
23509 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
23510 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
23511 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
23512 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
23513 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
23514 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
23515 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
23516 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
23517 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
23518 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
23519 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
23520 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
23521 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
23522 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
23523 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
23524 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
23525 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
23526 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
23527 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
23528 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
23529 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
23530 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
23531 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
23532 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
23533 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
23534 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
23535 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
23536 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
23537 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
23538 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
23539 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
23540 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
23541 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
23542 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
23543 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
23544 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
23545 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
23546 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
23547 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
23548 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
23549 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
23550 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
23551 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
23552 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
23553 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
23554 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
23555 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
23556 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
23557 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
23558 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
23559 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
23560 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
23561 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
23562 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
23563 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
23564 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
23565 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
23566 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
23567 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
23568 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
23569 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
23570 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
23571 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
23572 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23573 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
23574 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
23575 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
23576 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
23577 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
23578 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
23579 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
23580 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
23581 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
23582 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23583 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
23584 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
23585 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
23586 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
23587 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
23588 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
23589 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
23590 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
23591 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
23592 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
23593 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
23594 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
23595 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
23596 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
23597 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
23598 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
23599 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
23600 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23601 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
23602 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
23603 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
23604 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
23605 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
23606 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
23607 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
23608 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
23609 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
23610 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
23611 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
23612 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
23613 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
23614 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
23615 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
23616 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
23617 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
23618 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
23619 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
23620 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
23621 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
23622 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
23623 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
23624 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
23625 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
23626 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23627 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
23628 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
23629 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
23630 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
23631 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
23632 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
23633 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
23634 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
23635 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
23636 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
23637 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
23638 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
23639 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
23640 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
23641 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
23642 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
23643 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
23644 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
23645 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
23646 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
23647 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
23648 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
23649 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
23650 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
23651 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
23652 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
23653 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
23654 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
23655 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
23656 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
23657 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
23658 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
23659 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
23660 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
23661 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
23662 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
23663 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
23664 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
23665 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
23666 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
23667 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
23668 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
23669 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
23670 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
23671 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
23672 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
23673 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
23674 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
23675 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
23676 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
23677 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
23678 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
23679 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
23680 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
23681 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
23682 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
23683 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
23684 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
23685 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
23686 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
23687 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
23688 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
23689 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
23690 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
23691 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
23692 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
23693 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
23694 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
23695 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
23696 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
23697 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
23698 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
23699 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
23700 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
23701 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
23702 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
23703 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
23704 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
23705 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
23706 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
23707 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
23708 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
23709 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
23710 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
23711 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
23712 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
23713 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
23714 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
23715 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
23716 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
23717 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
23718 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
23719 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
23720 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
23721 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
23722 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
23723 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
23724 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
23725 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
23726 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
23727 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
23728 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
23729 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
23730 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
23731 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
23732 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
23733 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
23734 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
23735 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
23736 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
23737 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
23738 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
23739 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
23740 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
23741 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
23742 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
23743 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
23744 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
23745 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
23746 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
23747 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
23748 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
23749 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
23750 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
23751 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
23752 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
23753 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
23754 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
23755 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
23756 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
23757 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
23758 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
23759 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
23760 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
23761 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
23762 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23763 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23764 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
23765 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
23766 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
23767 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23768 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23769 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23770 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23771 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23772 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23773 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23774 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23775 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23776 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23777 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23778 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23779 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23780 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
23781 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23782 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23783 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23784 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23785 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23786 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
23787 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
23788 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23789 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23790 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23791 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23792 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23793 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23794 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23795 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23796 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23797 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23798 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23799 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23800 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23801 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
23802 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23803 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23804 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23805 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23806 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23807 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
23808 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
23809 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
23810 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23811 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23812 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
23813 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
23814 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
23815 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
23816 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
23817 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23818 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23819 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
23820 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23821 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23822 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
23823 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
23824 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
23825 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
23826 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23827 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23828 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
23829 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23830 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23831 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23832 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
23833 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23834 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23835 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23836 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23837 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23838 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
23839 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23840 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23841 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23842 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
23843 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23844 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23845 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23846 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
23847 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23848 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23849 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
23850 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
23851 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
23852 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
23853 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
23854 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23855 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23856 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23857 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
23858 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
23859 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
23860 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
23861 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23862 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
23863 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
23864 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
23865 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
23866 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23867 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23868 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23869 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23870 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23871 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23872 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23873 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23874 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23875 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23876 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23877 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23878 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23879 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23880 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23881 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23882 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23883 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23884 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23885 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
23886 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
23887 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
23888 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23889 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
23890 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
23891 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
23892 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
23893 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
23894 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23895 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23896 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23897 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
23898 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
23899 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23900 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23901 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23902 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
23903 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
23904 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
23905 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
23906 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23907 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
23908 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
23909 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23910 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23911 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23912 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23913 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
23914 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23915 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23916 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23917 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
23918 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23919 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23920 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23921 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23922 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23923 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
23924 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23925 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23926 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
23927 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23928 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
23929 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
23930 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
23931 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
23932 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23933 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
23934 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23935 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
23936 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
23937 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
23938 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
23939 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
23940 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
23941 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23942 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
23943 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
23944 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
23945 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
23946 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
23947 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23948 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23949 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23950 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23951 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23952 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23953 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
23954 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
23955 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
23956 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
23957 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
23958 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
23959 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
23960 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
23961 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
23962 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
23963 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23964 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
23965 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
23966 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
23967 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23968 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23969 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
23970 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
23971 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23972 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
23973 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23974 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23975 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
23976 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
23977 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
23978 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
23979 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
23980 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
23981 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
23982 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23983 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23984 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
23985 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
23986 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
23987 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
23988 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
23989 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
23990 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
23991 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
23992 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23993 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
23994 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
23995 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23996 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
23997 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
23998 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23999 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24000 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
24001 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
24002 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
24003 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24004 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
24005 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
24006 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24007 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24008 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
24009 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24010 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
24011 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
24012 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
24013 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24014 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
24015 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
24016 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24017 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24018 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
24019 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
24020 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24021 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24022 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
24023 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24024 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24025 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24026 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
24027 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24028 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
24029 { NULL, NULL }
24030 };
24031
24032
24033 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24034
24035 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
24036 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24037 }
24038 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
24039 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
24040 }
24041 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
24042 return (void *)((wxEvent *) ((wxMenuEvent *) x));
24043 }
24044 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
24045 return (void *)((wxEvent *) ((wxCloseEvent *) x));
24046 }
24047 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
24048 return (void *)((wxEvent *) ((wxMouseEvent *) x));
24049 }
24050 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
24051 return (void *)((wxEvent *) ((wxEraseEvent *) x));
24052 }
24053 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
24054 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
24055 }
24056 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
24057 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
24058 }
24059 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
24060 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
24061 }
24062 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
24063 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
24064 }
24065 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
24066 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
24067 }
24068 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
24069 return (void *)((wxEvent *) ((wxPyEvent *) x));
24070 }
24071 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
24072 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
24073 }
24074 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
24075 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
24076 }
24077 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
24078 return (void *)((wxEvent *) ((wxIdleEvent *) x));
24079 }
24080 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
24081 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
24082 }
24083 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
24084 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
24085 }
24086 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
24087 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
24088 }
24089 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
24090 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
24091 }
24092 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
24093 return (void *)((wxEvent *) ((wxActivateEvent *) x));
24094 }
24095 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
24096 return (void *)((wxEvent *) ((wxSizeEvent *) x));
24097 }
24098 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
24099 return (void *)((wxEvent *) ((wxMoveEvent *) x));
24100 }
24101 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
24102 return (void *)((wxEvent *) ((wxPaintEvent *) x));
24103 }
24104 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
24105 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
24106 }
24107 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
24108 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
24109 }
24110 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
24111 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
24112 }
24113 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
24114 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
24115 }
24116 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
24117 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
24118 }
24119 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
24120 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
24121 }
24122 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
24123 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
24124 }
24125 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
24126 return (void *)((wxEvent *) ((wxFocusEvent *) x));
24127 }
24128 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
24129 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
24130 }
24131 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
24132 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
24133 }
24134 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
24135 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
24136 }
24137 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
24138 return (void *)((wxEvent *) ((wxShowEvent *) x));
24139 }
24140 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
24141 return (void *)((wxEvent *) ((wxCommandEvent *) x));
24142 }
24143 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
24144 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
24145 }
24146 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
24147 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24148 }
24149 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
24150 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
24151 }
24152 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
24153 return (void *)((wxEvent *) ((wxKeyEvent *) x));
24154 }
24155 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
24156 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
24157 }
24158 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
24159 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
24160 }
24161 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
24162 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
24163 }
24164 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
24165 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24166 }
24167 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
24168 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24169 }
24170 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
24171 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
24172 }
24173 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
24174 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
24175 }
24176 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
24177 return (void *)((wxEvtHandler *) ((wxValidator *) x));
24178 }
24179 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
24180 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
24181 }
24182 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
24183 return (void *)((wxEvtHandler *) ((wxMenu *) x));
24184 }
24185 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
24186 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24187 }
24188 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
24189 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24190 }
24191 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
24192 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24193 }
24194 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
24195 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24196 }
24197 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
24198 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24199 }
24200 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
24201 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24202 }
24203 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
24204 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24205 }
24206 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
24207 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
24208 }
24209 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
24210 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
24211 }
24212 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
24213 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
24214 }
24215 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
24216 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24217 }
24218 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
24219 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24220 }
24221 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
24222 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
24223 }
24224 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
24225 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
24226 }
24227 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
24228 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
24229 }
24230 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
24231 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
24232 }
24233 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
24234 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
24235 }
24236 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
24237 return (void *)((wxEvtHandler *) ((wxWindow *) x));
24238 }
24239 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
24240 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
24241 }
24242 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
24243 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
24244 }
24245 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
24246 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
24247 }
24248 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
24249 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
24250 }
24251 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
24252 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24253 }
24254 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
24255 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24256 }
24257 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
24258 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24259 }
24260 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
24261 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
24262 }
24263 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
24264 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
24265 }
24266 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
24267 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
24268 }
24269 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
24270 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24271 }
24272 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
24273 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24274 }
24275 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
24276 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24277 }
24278 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
24279 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
24280 }
24281 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
24282 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24283 }
24284 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
24285 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
24286 }
24287 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
24288 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
24289 }
24290 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
24291 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24292 }
24293 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
24294 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24295 }
24296 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
24297 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24298 }
24299 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
24300 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
24301 }
24302 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
24303 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24304 }
24305 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
24306 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24307 }
24308 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
24309 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24310 }
24311 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
24312 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
24313 }
24314 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
24315 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
24316 }
24317 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
24318 return (void *)((wxFrame *) ((wxProgressDialog *) x));
24319 }
24320 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
24321 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
24322 }
24323 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
24324 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24325 }
24326 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
24327 return (void *)((wxFrame *) ((wxMiniFrame *) x));
24328 }
24329 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
24330 return (void *)((wxFrame *) ((wxSplashScreen *) x));
24331 }
24332 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
24333 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
24334 }
24335 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
24336 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
24337 }
24338 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
24339 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
24340 }
24341 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
24342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24343 }
24344 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
24345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24346 }
24347 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
24348 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
24349 }
24350 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
24351 return (void *)((wxObject *) ((wxSizerItem *) x));
24352 }
24353 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
24354 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
24355 }
24356 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
24357 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
24358 }
24359 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
24360 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
24361 }
24362 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
24363 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
24364 }
24365 static void *_p_wxSizerTo_p_wxObject(void *x) {
24366 return (void *)((wxObject *) ((wxSizer *) x));
24367 }
24368 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
24369 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
24370 }
24371 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
24372 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
24373 }
24374 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
24375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
24376 }
24377 static void *_p_wxEventTo_p_wxObject(void *x) {
24378 return (void *)((wxObject *) ((wxEvent *) x));
24379 }
24380 static void *_p_wxFontDataTo_p_wxObject(void *x) {
24381 return (void *)((wxObject *) ((wxFontData *) x));
24382 }
24383 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
24384 return (void *)((wxObject *) ((wxPrintData *) x));
24385 }
24386 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
24387 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
24388 }
24389 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
24390 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
24391 }
24392 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
24393 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
24394 }
24395 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
24396 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
24397 }
24398 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
24399 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
24400 }
24401 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
24402 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
24403 }
24404 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
24405 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
24406 }
24407 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
24408 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
24409 }
24410 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
24411 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
24412 }
24413 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
24414 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
24415 }
24416 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
24417 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
24418 }
24419 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
24420 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
24421 }
24422 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
24423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24424 }
24425 static void *_p_wxControlTo_p_wxObject(void *x) {
24426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
24427 }
24428 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
24429 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
24430 }
24431 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
24432 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
24433 }
24434 static void *_p_wxFSFileTo_p_wxObject(void *x) {
24435 return (void *)((wxObject *) ((wxFSFile *) x));
24436 }
24437 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
24438 return (void *)((wxObject *) ((wxFindReplaceData *) x));
24439 }
24440 static void *_p_wxPySizerTo_p_wxObject(void *x) {
24441 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
24442 }
24443 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
24444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24445 }
24446 static void *_p_wxColourDataTo_p_wxObject(void *x) {
24447 return (void *)((wxObject *) ((wxColourData *) x));
24448 }
24449 static void *_p_wxPyEventTo_p_wxObject(void *x) {
24450 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
24451 }
24452 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
24453 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
24454 }
24455 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
24456 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
24457 }
24458 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
24459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24460 }
24461 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
24462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24463 }
24464 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
24465 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24466 }
24467 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
24468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24469 }
24470 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
24471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24472 }
24473 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
24474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24475 }
24476 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
24477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24478 }
24479 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
24480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24481 }
24482 static void *_p_wxShowEventTo_p_wxObject(void *x) {
24483 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
24484 }
24485 static void *_p_wxPrinterTo_p_wxObject(void *x) {
24486 return (void *)((wxObject *) ((wxPrinter *) x));
24487 }
24488 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
24489 return (void *)((wxObject *) ((wxMenuItem *) x));
24490 }
24491 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
24492 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
24493 }
24494 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
24495 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
24496 }
24497 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
24498 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
24499 }
24500 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
24501 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
24502 }
24503 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
24504 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
24505 }
24506 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
24507 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
24508 }
24509 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
24510 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
24511 }
24512 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
24513 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
24514 }
24515 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
24516 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
24517 }
24518 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
24519 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
24520 }
24521 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
24522 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
24523 }
24524 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
24525 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
24526 }
24527 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
24528 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
24529 }
24530 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
24531 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
24532 }
24533 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
24534 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
24535 }
24536 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
24537 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
24538 }
24539 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
24540 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
24541 }
24542 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
24543 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
24544 }
24545 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
24546 return (void *)((wxObject *) ((wxImageHandler *) x));
24547 }
24548 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
24549 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
24550 }
24551 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
24552 return (void *)((wxObject *) ((wxEvtHandler *) x));
24553 }
24554 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
24555 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
24556 }
24557 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
24558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24559 }
24560 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
24561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24562 }
24563 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
24564 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
24565 }
24566 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
24567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24568 }
24569 static void *_p_wxImageTo_p_wxObject(void *x) {
24570 return (void *)((wxObject *) ((wxImage *) x));
24571 }
24572 static void *_p_wxFrameTo_p_wxObject(void *x) {
24573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
24574 }
24575 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
24576 return (void *)((wxObject *) ((wxPyPrintout *) x));
24577 }
24578 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
24579 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
24580 }
24581 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
24582 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
24583 }
24584 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
24585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
24586 }
24587 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
24588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24589 }
24590 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
24591 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24592 }
24593 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
24594 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
24595 }
24596 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
24597 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
24598 }
24599 static void *_p_wxWindowTo_p_wxObject(void *x) {
24600 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
24601 }
24602 static void *_p_wxMenuTo_p_wxObject(void *x) {
24603 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
24604 }
24605 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
24606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
24607 }
24608 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
24609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
24610 }
24611 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
24612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
24613 }
24614 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
24615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
24616 }
24617 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
24618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
24619 }
24620 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
24621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
24622 }
24623 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
24624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
24625 }
24626 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
24627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
24628 }
24629 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
24630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24631 }
24632 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
24633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24634 }
24635 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
24636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
24637 }
24638 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
24639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
24640 }
24641 static void *_p_wxSashEventTo_p_wxObject(void *x) {
24642 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
24643 }
24644 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
24645 return (void *)((wxObject *) ((wxPrintPreview *) x));
24646 }
24647 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
24648 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
24649 }
24650 static void *_p_wxPanelTo_p_wxObject(void *x) {
24651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
24652 }
24653 static void *_p_wxDialogTo_p_wxObject(void *x) {
24654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
24655 }
24656 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
24657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24658 }
24659 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
24660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24661 }
24662 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
24663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24664 }
24665 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
24666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24667 }
24668 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
24669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24670 }
24671 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
24672 return (void *)((wxObject *) ((wxFileSystem *) x));
24673 }
24674 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
24675 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
24676 }
24677 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
24678 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
24679 }
24680 static void *_p_wxPyAppTo_p_wxObject(void *x) {
24681 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
24682 }
24683 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
24684 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
24685 }
24686 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
24687 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
24688 }
24689 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
24690 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
24691 }
24692 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
24693 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
24694 }
24695 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
24696 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
24697 }
24698 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
24699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
24700 }
24701 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
24702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24703 }
24704 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
24705 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
24706 }
24707 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
24708 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
24709 }
24710 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
24711 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
24712 }
24713 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
24714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
24715 }
24716 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
24717 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
24718 }
24719 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
24720 return (void *)((wxObject *) ((wxPrintDialogData *) x));
24721 }
24722 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
24723 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
24724 }
24725 static void *_p_wxValidatorTo_p_wxObject(void *x) {
24726 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
24727 }
24728 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
24729 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24730 }
24731 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
24732 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
24733 }
24734 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
24735 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24736 }
24737 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
24738 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24739 }
24740 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
24741 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24742 }
24743 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
24744 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
24745 }
24746 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
24747 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
24748 }
24749 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
24750 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
24751 }
24752 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
24753 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
24754 }
24755 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
24756 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
24757 }
24758 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
24759 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
24760 }
24761 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
24762 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
24763 }
24764 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
24765 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
24766 }
24767 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
24768 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
24769 }
24770 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
24771 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
24772 }
24773 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
24774 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
24775 }
24776 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
24777 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
24778 }
24779 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
24780 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
24781 }
24782 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
24783 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
24784 }
24785 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
24786 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
24787 }
24788 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
24789 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
24790 }
24791 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24792 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
24793 }
24794 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24795 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
24796 }
24797 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
24798 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
24799 }
24800 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24801 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
24802 }
24803 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24804 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24805 }
24806 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
24807 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24808 }
24809 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
24810 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24811 }
24812 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
24813 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
24814 }
24815 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
24816 return (void *)((wxWindow *) ((wxMenuBar *) x));
24817 }
24818 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
24819 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24820 }
24821 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
24822 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24823 }
24824 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
24825 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24826 }
24827 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
24828 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24829 }
24830 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
24831 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24832 }
24833 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
24834 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24835 }
24836 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
24837 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24838 }
24839 static void *_p_wxPanelTo_p_wxWindow(void *x) {
24840 return (void *)((wxWindow *) ((wxPanel *) x));
24841 }
24842 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
24843 return (void *)((wxWindow *) ((wxStatusBar *) x));
24844 }
24845 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
24846 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
24847 }
24848 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
24849 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
24850 }
24851 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
24852 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24853 }
24854 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
24855 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24856 }
24857 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
24858 return (void *)((wxWindow *) ((wxPopupWindow *) x));
24859 }
24860 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
24861 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
24862 }
24863 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
24864 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
24865 }
24866 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
24867 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
24868 }
24869 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
24870 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
24871 }
24872 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
24873 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
24874 }
24875 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
24876 return (void *)((wxWindow *) ((wxSashWindow *) x));
24877 }
24878 static void *_p_wxControlTo_p_wxWindow(void *x) {
24879 return (void *)((wxWindow *) ((wxControl *) x));
24880 }
24881 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
24882 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24883 }
24884 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
24885 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24886 }
24887 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
24888 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24889 }
24890 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
24891 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
24892 }
24893 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
24894 return (void *)((wxWindow *) ((wxPyWindow *) x));
24895 }
24896 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
24897 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24898 }
24899 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
24900 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24901 }
24902 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
24903 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24904 }
24905 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
24906 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
24907 }
24908 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
24909 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24910 }
24911 static void *_p_wxFrameTo_p_wxWindow(void *x) {
24912 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
24913 }
24914 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
24915 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24916 }
24917 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
24918 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24919 }
24920 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
24921 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24922 }
24923 static void *_p_wxDialogTo_p_wxWindow(void *x) {
24924 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
24925 }
24926 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
24927 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24928 }
24929 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
24930 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24931 }
24932 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
24933 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24934 }
24935 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
24936 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
24937 }
24938 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
24939 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
24940 }
24941 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
24942 return (void *)((wxDialog *) ((wxColourDialog *) x));
24943 }
24944 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
24945 return (void *)((wxDialog *) ((wxDirDialog *) x));
24946 }
24947 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
24948 return (void *)((wxDialog *) ((wxFontDialog *) x));
24949 }
24950 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
24951 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
24952 }
24953 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
24954 return (void *)((wxDialog *) ((wxPrintDialog *) x));
24955 }
24956 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
24957 return (void *)((wxDialog *) ((wxFileDialog *) x));
24958 }
24959 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
24960 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
24961 }
24962 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
24963 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
24964 }
24965 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
24966 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
24967 }
24968 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
24969 return (void *)((wxDialog *) ((wxMessageDialog *) x));
24970 }
24971 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
24972 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
24973 }
24974 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
24975 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
24976 }
24977 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
24978 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
24979 }
24980 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
24981 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24982 }
24983 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
24984 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24985 }
24986 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
24987 return (void *)((wxPanel *) ((wxPyPanel *) x));
24988 }
24989 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
24990 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
24991 }
24992 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
24993 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
24994 }
24995 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
24996 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24997 }
24998 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
24999 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
25000 }
25001 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
25002 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
25003 }
25004 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
25005 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
25006 }
25007 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
25008 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
25009 }
25010 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
25011 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
25012 }
25013 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
25014 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25015 }
25016 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
25017 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
25018 }
25019 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
25020 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
25021 }
25022 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
25023 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
25024 }
25025 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
25026 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
25027 }
25028 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
25029 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
25030 }
25031 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
25032 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25033 }
25034 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25035 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25036 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25037 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25038 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25039 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25040 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25041 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25042 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25043 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25044 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25045 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25046 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25047 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25048 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25049 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25050 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25051 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25052 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25053 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25054 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25055 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25056 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25057 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25058 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25059 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25060 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25061 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25062 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25063 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25064 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25065 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25066 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25067 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25068 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25069 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25070 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25071 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25072 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25073 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25074 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25075 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25076 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25077 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25078 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25079 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25080 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25081 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25082 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25083 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25084 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25085 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25086 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25087 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25088 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25089 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25090 static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25091 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25092 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25093 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25094 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25095 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25096 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25097 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25098 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25099 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25100 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25101 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25102 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25103 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25104 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25105 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25106 static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25107 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25108 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25109 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25110 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25111 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25112 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25113 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25114 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25115 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25116 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25117 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25118
25119 static swig_type_info *swig_types_initial[] = {
25120 _swigt__p_wxQueryLayoutInfoEvent,
25121 _swigt__p_wxPreviewFrame,
25122 _swigt__p_wxPyPreviewFrame,
25123 _swigt__p_wxPyPanel,
25124 _swigt__p_wxMenu,
25125 _swigt__p_wxPrintData,
25126 _swigt__p_wxFontData,
25127 _swigt__p_wxEvent,
25128 _swigt__p_wxTaskBarIcon,
25129 _swigt__p_wxIconBundle,
25130 _swigt__p_wxLayoutAlgorithm,
25131 _swigt__p_wxFindDialogEvent,
25132 _swigt__p_wxPreviewCanvas,
25133 _swigt__p_wxFont,
25134 _swigt__p_wxSplitterEvent,
25135 _swigt__p_wxRegion,
25136 _swigt__p_wxFindReplaceData,
25137 _swigt__p_int,
25138 _swigt__p_wxSize,
25139 _swigt__p_wxDC,
25140 _swigt__p_wxIcon,
25141 _swigt__p_wxMDIChildFrame,
25142 _swigt__p_wxColourData,
25143 _swigt__p_wxNotifyEvent,
25144 _swigt__p_wxPyWindow,
25145 _swigt__p_wxSplashScreen,
25146 _swigt__p_wxFindReplaceDialog,
25147 _swigt__p_wxProgressDialog,
25148 _swigt__p_wxMessageDialog,
25149 _swigt__p_wxTextEntryDialog,
25150 _swigt__p_wxSingleChoiceDialog,
25151 _swigt__p_wxMultiChoiceDialog,
25152 _swigt__p_wxFileDialog,
25153 _swigt__p_wxPrinter,
25154 _swigt__p_wxArrayInt,
25155 _swigt__p_wxEvtHandler,
25156 _swigt__p_wxCalculateLayoutEvent,
25157 _swigt__p_wxPyHtmlListBox,
25158 _swigt__p_wxPyVListBox,
25159 _swigt__p_wxRect,
25160 _swigt__p_char,
25161 _swigt__p_wxMiniFrame,
25162 _swigt__p_wxFrame,
25163 _swigt__p_wxPyPrintout,
25164 _swigt__p_wxTaskBarIconEvent,
25165 _swigt__p_wxScrollWinEvent,
25166 _swigt__p_wxStatusBar,
25167 _swigt__p_wxMDIParentFrame,
25168 _swigt__p_wxPoint,
25169 _swigt__p_wxObject,
25170 _swigt__p_wxOutputStream,
25171 _swigt__p_unsigned_long,
25172 _swigt__p_wxMDIClientWindow,
25173 _swigt__p_wxTipWindow,
25174 _swigt__p_wxSashLayoutWindow,
25175 _swigt__p_wxSplitterWindow,
25176 _swigt__p_wxPyVScrolledWindow,
25177 _swigt__p_wxPyPopupTransientWindow,
25178 _swigt__p_wxPopupWindow,
25179 _swigt__p_wxSashWindow,
25180 _swigt__p_wxTopLevelWindow,
25181 _swigt__p_wxWindow,
25182 _swigt__p_wxScrolledWindow,
25183 _swigt__p_wxSplashScreenWindow,
25184 _swigt__p_wxMenuBar,
25185 _swigt__p_wxPrintPreview,
25186 _swigt__p_wxSashEvent,
25187 _swigt__p_wxString,
25188 _swigt__p_wxPyPrintPreview,
25189 _swigt__p_wxFontDialog,
25190 _swigt__p_wxDirDialog,
25191 _swigt__p_wxColourDialog,
25192 _swigt__p_wxDialog,
25193 _swigt__p_wxPanel,
25194 _swigt__p_wxPageSetupDialog,
25195 _swigt__p_wxPrintDialog,
25196 _swigt__p_wxBitmap,
25197 _swigt__p_wxCommandEvent,
25198 _swigt__p_wxPreviewControlBar,
25199 _swigt__p_wxPyPreviewControlBar,
25200 _swigt__p_wxColour,
25201 _swigt__p_wxToolBar,
25202 _swigt__p_wxPageSetupDialogData,
25203 _swigt__p_wxPrintDialogData,
25204 0
25205 };
25206
25207
25208 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25209
25210 static swig_const_info swig_const_table[] = {
25211 {0}};
25212
25213 #ifdef __cplusplus
25214 }
25215 #endif
25216
25217 #ifdef __cplusplus
25218 extern "C"
25219 #endif
25220 SWIGEXPORT(void) SWIG_init(void) {
25221 static PyObject *SWIG_globals = 0;
25222 static int typeinit = 0;
25223 PyObject *m, *d;
25224 int i;
25225 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
25226 m = Py_InitModule((char *) SWIG_name, SwigMethods);
25227 d = PyModule_GetDict(m);
25228
25229 if (!typeinit) {
25230 for (i = 0; swig_types_initial[i]; i++) {
25231 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
25232 }
25233 typeinit = 1;
25234 }
25235 SWIG_InstallConstants(d,swig_const_table);
25236
25237 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
25238 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
25239 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
25240 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
25241 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
25242 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
25243 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
25244 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
25245 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
25246 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
25247 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
25248 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
25249 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
25250 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
25251 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
25252 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
25253 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
25254 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
25255 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
25256 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
25257 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
25258 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
25259 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
25260 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
25261 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
25262 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
25263 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
25264 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
25265 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
25266 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
25267 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
25268 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
25269 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
25270 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
25271 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
25272 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
25273 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
25274 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
25275 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
25276 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
25277 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
25278 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
25279 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
25280 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
25281 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
25282 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
25283 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
25284 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
25285 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
25286 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
25287 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
25288 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
25289 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
25290 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
25291 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
25292 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
25293 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
25294 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
25295 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
25296 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
25297 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
25298 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
25299 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
25300 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
25301 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
25302 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
25303 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
25304 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
25305
25306 // Map renamed classes back to their common name for OOR
25307 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
25308 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
25309 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
25310
25311 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
25312 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
25313 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
25314 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
25315 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
25316 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
25317 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
25318 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
25319 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
25320 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
25321 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
25322 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
25323 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
25324 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
25325 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
25326 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
25327 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
25328 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
25329 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
25330 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
25331 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
25332 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
25333 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
25334 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
25335 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
25336 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
25337 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
25338 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
25339 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
25340 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
25341 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
25342 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
25343 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
25344 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
25345 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
25346 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
25347 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
25348 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
25349 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
25350 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
25351 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
25352 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
25353 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
25354 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
25355 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
25356 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
25357 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
25358 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
25359 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
25360 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
25361 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
25362 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
25363 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
25364 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
25365 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
25366 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
25367 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
25368 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
25369 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
25370 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
25371
25372 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
25373
25374 }
25375