]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows_wrap.cpp
Add the wx module to the namespace
[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 PYPRIVATE;
886 };
887
888 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
889
890 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
891 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
892 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
893 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
894
895 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
896 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
897 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
898
899 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
900 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
901
902 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
903 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
904 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
905 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
906
907 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
908 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
909 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
910
911 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
912 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
913
914
915 // C++ version of Python aware wxPanel
916 class wxPyPanel : public wxPanel
917 {
918 DECLARE_DYNAMIC_CLASS(wxPyPanel)
919 public:
920 wxPyPanel() : wxPanel() {}
921 wxPyPanel(wxWindow* parent, const wxWindowID id,
922 const wxPoint& pos = wxDefaultPosition,
923 const wxSize& size = wxDefaultSize,
924 long style = 0,
925 const wxString& name = wxPyPanelNameStr)
926 : wxPanel(parent, id, pos, size, style, name) {}
927
928
929 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
930 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
931 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
932 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
933
934 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
935 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
936 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
937
938 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
939 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
940
941 DEC_PYCALLBACK__(InitDialog);
942 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
943 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
944 DEC_PYCALLBACK_BOOL_(Validate);
945
946 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
947 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
948 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
949
950 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
951 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
952
953 PYPRIVATE;
954 };
955
956 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
957
958 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
959 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
960 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
961 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
962
963 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
964 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
965 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
966
967 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
968 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
969
970 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
971 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
972 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
973 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
974
975 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
976 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
977 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
978
979 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
980 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
981
982
983
984 #include "wx/wxPython/printfw.h"
985
986
987 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
988 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
989
990
991
992 // Since this one would be tough and ugly to do with the Macros...
993 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
994 bool hadErr = False;
995 bool found;
996
997 wxPyBeginBlockThreads();
998 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
999 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1000 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1001 PyObject* val;
1002
1003 val = PyTuple_GetItem(result, 0);
1004 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1005 else hadErr = True;
1006
1007 val = PyTuple_GetItem(result, 1);
1008 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1009 else hadErr = True;
1010
1011 val = PyTuple_GetItem(result, 2);
1012 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1013 else hadErr = True;
1014
1015 val = PyTuple_GetItem(result, 3);
1016 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1017 else hadErr = True;
1018 }
1019 else
1020 hadErr = True;
1021
1022 if (hadErr) {
1023 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1024 PyErr_Print();
1025 }
1026 Py_DECREF(result);
1027 }
1028 wxPyEndBlockThreads();
1029 if (! found)
1030 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1031 }
1032
1033 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1034 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1035 }
1036
1037
1038 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1039 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1040 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1041 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1042 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1043 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1044 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1045
1046
1047
1048
1049
1050 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1051 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1052 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1053
1054
1055 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1056 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1057 bool rval=False; \
1058 bool found; \
1059 wxPyBeginBlockThreads(); \
1060 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1061 PyObject* win = wxPyMake_wxObject(a); \
1062 PyObject* dc = wxPyMake_wxObject(&b); \
1063 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1064 Py_DECREF(win); \
1065 Py_DECREF(dc); \
1066 } \
1067 wxPyEndBlockThreads(); \
1068 if (! found) \
1069 rval = PCLASS::CBNAME(a, b); \
1070 return rval; \
1071 } \
1072 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1073 return PCLASS::CBNAME(a, b); \
1074 }
1075
1076
1077
1078
1079 class wxPyPrintPreview : public wxPrintPreview
1080 {
1081 DECLARE_CLASS(wxPyPrintPreview)
1082 public:
1083 wxPyPrintPreview(wxPyPrintout* printout,
1084 wxPyPrintout* printoutForPrinting,
1085 wxPrintData* data=NULL)
1086 : wxPrintPreview(printout, printoutForPrinting, data)
1087 {}
1088
1089 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1090 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1091 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1092 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1093 DEC_PYCALLBACK_VOID_INT(SetZoom);
1094 DEC_PYCALLBACK_BOOL_BOOL(Print);
1095 DEC_PYCALLBACK_VOID_(DetermineScaling);
1096
1097 PYPRIVATE;
1098 };
1099
1100 // Stupid renamed classes... Fix this in 2.5...
1101 #if defined(__WXMSW__)
1102 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1103 #elif defined(__WXMAC__)
1104 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1105 #else
1106 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1107 #endif
1108
1109 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1110 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1111 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1112 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1113 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1114 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1115 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1116
1117
1118 class wxPyPreviewFrame : public wxPreviewFrame
1119 {
1120 DECLARE_CLASS(wxPyPreviewFrame);
1121 public:
1122 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1123 const wxString& title,
1124 const wxPoint& pos = wxDefaultPosition,
1125 const wxSize& size = wxDefaultSize,
1126 long style = wxDEFAULT_FRAME_STYLE,
1127 const wxString& name = wxPyFrameNameStr)
1128 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1129 {}
1130
1131 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1132 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1133
1134 DEC_PYCALLBACK_VOID_(Initialize);
1135 DEC_PYCALLBACK_VOID_(CreateCanvas);
1136 DEC_PYCALLBACK_VOID_(CreateControlBar);
1137
1138 PYPRIVATE;
1139 };
1140
1141 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1142
1143 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1144 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1145 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1146
1147
1148 class wxPyPreviewControlBar : public wxPreviewControlBar
1149 {
1150 DECLARE_CLASS(wxPyPreviewControlBar);
1151 public:
1152 wxPyPreviewControlBar(wxPrintPreview *preview,
1153 long buttons,
1154 wxWindow *parent,
1155 const wxPoint& pos = wxDefaultPosition,
1156 const wxSize& size = wxDefaultSize,
1157 long style = 0,
1158 const wxString& name = wxPyPanelNameStr)
1159 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1160 {}
1161
1162 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1163
1164 DEC_PYCALLBACK_VOID_(CreateButtons);
1165 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1166
1167 PYPRIVATE;
1168 };
1169
1170 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1171 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1172 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1173
1174 #ifdef __cplusplus
1175 extern "C" {
1176 #endif
1177 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1178 PyObject *resultobj;
1179 wxWindow *arg1 = (wxWindow *) 0 ;
1180 int arg2 = (int) (int)-1 ;
1181 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1182 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1183 wxSize const &arg4_defvalue = wxDefaultSize ;
1184 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1185 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1186 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1187 wxString *arg6 = (wxString *) &arg6_defvalue ;
1188 wxPanel *result;
1189 wxPoint temp3 ;
1190 wxSize temp4 ;
1191 bool temp6 = False ;
1192 PyObject * obj0 = 0 ;
1193 PyObject * obj1 = 0 ;
1194 PyObject * obj2 = 0 ;
1195 PyObject * obj3 = 0 ;
1196 PyObject * obj4 = 0 ;
1197 PyObject * obj5 = 0 ;
1198 char *kwnames[] = {
1199 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1200 };
1201
1202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1205 if (obj1) {
1206 arg2 = (int const) SWIG_AsInt(obj1);
1207 if (PyErr_Occurred()) SWIG_fail;
1208 }
1209 if (obj2) {
1210 {
1211 arg3 = &temp3;
1212 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1213 }
1214 }
1215 if (obj3) {
1216 {
1217 arg4 = &temp4;
1218 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1219 }
1220 }
1221 if (obj4) {
1222 arg5 = (long) SWIG_AsLong(obj4);
1223 if (PyErr_Occurred()) SWIG_fail;
1224 }
1225 if (obj5) {
1226 {
1227 arg6 = wxString_in_helper(obj5);
1228 if (arg6 == NULL) SWIG_fail;
1229 temp6 = True;
1230 }
1231 }
1232 {
1233 PyThreadState* __tstate = wxPyBeginAllowThreads();
1234 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1235
1236 wxPyEndAllowThreads(__tstate);
1237 if (PyErr_Occurred()) SWIG_fail;
1238 }
1239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1240 {
1241 if (temp6)
1242 delete arg6;
1243 }
1244 return resultobj;
1245 fail:
1246 {
1247 if (temp6)
1248 delete arg6;
1249 }
1250 return NULL;
1251 }
1252
1253
1254 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1255 PyObject *resultobj;
1256 wxPanel *result;
1257 char *kwnames[] = {
1258 NULL
1259 };
1260
1261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1262 {
1263 PyThreadState* __tstate = wxPyBeginAllowThreads();
1264 result = (wxPanel *)new wxPanel();
1265
1266 wxPyEndAllowThreads(__tstate);
1267 if (PyErr_Occurred()) SWIG_fail;
1268 }
1269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1270 return resultobj;
1271 fail:
1272 return NULL;
1273 }
1274
1275
1276 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1277 PyObject *resultobj;
1278 wxPanel *arg1 = (wxPanel *) 0 ;
1279 wxWindow *arg2 = (wxWindow *) 0 ;
1280 int arg3 ;
1281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1283 wxSize const &arg5_defvalue = wxDefaultSize ;
1284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1285 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1286 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1287 wxString *arg7 = (wxString *) &arg7_defvalue ;
1288 bool result;
1289 wxPoint temp4 ;
1290 wxSize temp5 ;
1291 bool temp7 = False ;
1292 PyObject * obj0 = 0 ;
1293 PyObject * obj1 = 0 ;
1294 PyObject * obj2 = 0 ;
1295 PyObject * obj3 = 0 ;
1296 PyObject * obj4 = 0 ;
1297 PyObject * obj5 = 0 ;
1298 PyObject * obj6 = 0 ;
1299 char *kwnames[] = {
1300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1301 };
1302
1303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1308 arg3 = (int const) SWIG_AsInt(obj2);
1309 if (PyErr_Occurred()) SWIG_fail;
1310 if (obj3) {
1311 {
1312 arg4 = &temp4;
1313 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1314 }
1315 }
1316 if (obj4) {
1317 {
1318 arg5 = &temp5;
1319 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1320 }
1321 }
1322 if (obj5) {
1323 arg6 = (long) SWIG_AsLong(obj5);
1324 if (PyErr_Occurred()) SWIG_fail;
1325 }
1326 if (obj6) {
1327 {
1328 arg7 = wxString_in_helper(obj6);
1329 if (arg7 == NULL) SWIG_fail;
1330 temp7 = True;
1331 }
1332 }
1333 {
1334 PyThreadState* __tstate = wxPyBeginAllowThreads();
1335 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1336
1337 wxPyEndAllowThreads(__tstate);
1338 if (PyErr_Occurred()) SWIG_fail;
1339 }
1340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1341 {
1342 if (temp7)
1343 delete arg7;
1344 }
1345 return resultobj;
1346 fail:
1347 {
1348 if (temp7)
1349 delete arg7;
1350 }
1351 return NULL;
1352 }
1353
1354
1355 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1356 PyObject *resultobj;
1357 wxPanel *arg1 = (wxPanel *) 0 ;
1358 PyObject * obj0 = 0 ;
1359 char *kwnames[] = {
1360 (char *) "self", NULL
1361 };
1362
1363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1366 {
1367 PyThreadState* __tstate = wxPyBeginAllowThreads();
1368 (arg1)->InitDialog();
1369
1370 wxPyEndAllowThreads(__tstate);
1371 if (PyErr_Occurred()) SWIG_fail;
1372 }
1373 Py_INCREF(Py_None); resultobj = Py_None;
1374 return resultobj;
1375 fail:
1376 return NULL;
1377 }
1378
1379
1380 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1381 PyObject *obj;
1382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1383 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1384 Py_INCREF(obj);
1385 return Py_BuildValue((char *)"");
1386 }
1387 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1388 PyObject *resultobj;
1389 wxWindow *arg1 = (wxWindow *) 0 ;
1390 int arg2 = (int) (int)-1 ;
1391 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1392 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1393 wxSize const &arg4_defvalue = wxDefaultSize ;
1394 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1395 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1396 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1397 wxString *arg6 = (wxString *) &arg6_defvalue ;
1398 wxScrolledWindow *result;
1399 wxPoint temp3 ;
1400 wxSize temp4 ;
1401 bool temp6 = False ;
1402 PyObject * obj0 = 0 ;
1403 PyObject * obj1 = 0 ;
1404 PyObject * obj2 = 0 ;
1405 PyObject * obj3 = 0 ;
1406 PyObject * obj4 = 0 ;
1407 PyObject * obj5 = 0 ;
1408 char *kwnames[] = {
1409 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1410 };
1411
1412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1415 if (obj1) {
1416 arg2 = (int const) SWIG_AsInt(obj1);
1417 if (PyErr_Occurred()) SWIG_fail;
1418 }
1419 if (obj2) {
1420 {
1421 arg3 = &temp3;
1422 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1423 }
1424 }
1425 if (obj3) {
1426 {
1427 arg4 = &temp4;
1428 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1429 }
1430 }
1431 if (obj4) {
1432 arg5 = (long) SWIG_AsLong(obj4);
1433 if (PyErr_Occurred()) SWIG_fail;
1434 }
1435 if (obj5) {
1436 {
1437 arg6 = wxString_in_helper(obj5);
1438 if (arg6 == NULL) SWIG_fail;
1439 temp6 = True;
1440 }
1441 }
1442 {
1443 PyThreadState* __tstate = wxPyBeginAllowThreads();
1444 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1445
1446 wxPyEndAllowThreads(__tstate);
1447 if (PyErr_Occurred()) SWIG_fail;
1448 }
1449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1450 {
1451 if (temp6)
1452 delete arg6;
1453 }
1454 return resultobj;
1455 fail:
1456 {
1457 if (temp6)
1458 delete arg6;
1459 }
1460 return NULL;
1461 }
1462
1463
1464 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1465 PyObject *resultobj;
1466 wxScrolledWindow *result;
1467 char *kwnames[] = {
1468 NULL
1469 };
1470
1471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1472 {
1473 PyThreadState* __tstate = wxPyBeginAllowThreads();
1474 result = (wxScrolledWindow *)new wxScrolledWindow();
1475
1476 wxPyEndAllowThreads(__tstate);
1477 if (PyErr_Occurred()) SWIG_fail;
1478 }
1479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1480 return resultobj;
1481 fail:
1482 return NULL;
1483 }
1484
1485
1486 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1487 PyObject *resultobj;
1488 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1489 wxWindow *arg2 = (wxWindow *) 0 ;
1490 int arg3 = (int) (int)-1 ;
1491 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1492 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1493 wxSize const &arg5_defvalue = wxDefaultSize ;
1494 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1495 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1496 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1497 wxString *arg7 = (wxString *) &arg7_defvalue ;
1498 bool result;
1499 wxPoint temp4 ;
1500 wxSize temp5 ;
1501 bool temp7 = False ;
1502 PyObject * obj0 = 0 ;
1503 PyObject * obj1 = 0 ;
1504 PyObject * obj2 = 0 ;
1505 PyObject * obj3 = 0 ;
1506 PyObject * obj4 = 0 ;
1507 PyObject * obj5 = 0 ;
1508 PyObject * obj6 = 0 ;
1509 char *kwnames[] = {
1510 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1511 };
1512
1513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1518 if (obj2) {
1519 arg3 = (int const) SWIG_AsInt(obj2);
1520 if (PyErr_Occurred()) SWIG_fail;
1521 }
1522 if (obj3) {
1523 {
1524 arg4 = &temp4;
1525 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1526 }
1527 }
1528 if (obj4) {
1529 {
1530 arg5 = &temp5;
1531 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1532 }
1533 }
1534 if (obj5) {
1535 arg6 = (long) SWIG_AsLong(obj5);
1536 if (PyErr_Occurred()) SWIG_fail;
1537 }
1538 if (obj6) {
1539 {
1540 arg7 = wxString_in_helper(obj6);
1541 if (arg7 == NULL) SWIG_fail;
1542 temp7 = True;
1543 }
1544 }
1545 {
1546 PyThreadState* __tstate = wxPyBeginAllowThreads();
1547 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1548
1549 wxPyEndAllowThreads(__tstate);
1550 if (PyErr_Occurred()) SWIG_fail;
1551 }
1552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1553 {
1554 if (temp7)
1555 delete arg7;
1556 }
1557 return resultobj;
1558 fail:
1559 {
1560 if (temp7)
1561 delete arg7;
1562 }
1563 return NULL;
1564 }
1565
1566
1567 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1568 PyObject *resultobj;
1569 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1570 int arg2 ;
1571 int arg3 ;
1572 int arg4 ;
1573 int arg5 ;
1574 int arg6 = (int) 0 ;
1575 int arg7 = (int) 0 ;
1576 bool arg8 = (bool) False ;
1577 PyObject * obj0 = 0 ;
1578 PyObject * obj1 = 0 ;
1579 PyObject * obj2 = 0 ;
1580 PyObject * obj3 = 0 ;
1581 PyObject * obj4 = 0 ;
1582 PyObject * obj5 = 0 ;
1583 PyObject * obj6 = 0 ;
1584 PyObject * obj7 = 0 ;
1585 char *kwnames[] = {
1586 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1587 };
1588
1589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1592 arg2 = (int) SWIG_AsInt(obj1);
1593 if (PyErr_Occurred()) SWIG_fail;
1594 arg3 = (int) SWIG_AsInt(obj2);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 arg4 = (int) SWIG_AsInt(obj3);
1597 if (PyErr_Occurred()) SWIG_fail;
1598 arg5 = (int) SWIG_AsInt(obj4);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 if (obj5) {
1601 arg6 = (int) SWIG_AsInt(obj5);
1602 if (PyErr_Occurred()) SWIG_fail;
1603 }
1604 if (obj6) {
1605 arg7 = (int) SWIG_AsInt(obj6);
1606 if (PyErr_Occurred()) SWIG_fail;
1607 }
1608 if (obj7) {
1609 arg8 = (bool) SWIG_AsBool(obj7);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 {
1613 PyThreadState* __tstate = wxPyBeginAllowThreads();
1614 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1615
1616 wxPyEndAllowThreads(__tstate);
1617 if (PyErr_Occurred()) SWIG_fail;
1618 }
1619 Py_INCREF(Py_None); resultobj = Py_None;
1620 return resultobj;
1621 fail:
1622 return NULL;
1623 }
1624
1625
1626 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1627 PyObject *resultobj;
1628 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1629 int arg2 ;
1630 int arg3 ;
1631 PyObject * obj0 = 0 ;
1632 PyObject * obj1 = 0 ;
1633 PyObject * obj2 = 0 ;
1634 char *kwnames[] = {
1635 (char *) "self",(char *) "x",(char *) "y", NULL
1636 };
1637
1638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1641 arg2 = (int) SWIG_AsInt(obj1);
1642 if (PyErr_Occurred()) SWIG_fail;
1643 arg3 = (int) SWIG_AsInt(obj2);
1644 if (PyErr_Occurred()) SWIG_fail;
1645 {
1646 PyThreadState* __tstate = wxPyBeginAllowThreads();
1647 (arg1)->Scroll(arg2,arg3);
1648
1649 wxPyEndAllowThreads(__tstate);
1650 if (PyErr_Occurred()) SWIG_fail;
1651 }
1652 Py_INCREF(Py_None); resultobj = Py_None;
1653 return resultobj;
1654 fail:
1655 return NULL;
1656 }
1657
1658
1659 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1660 PyObject *resultobj;
1661 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1662 int arg2 ;
1663 int result;
1664 PyObject * obj0 = 0 ;
1665 PyObject * obj1 = 0 ;
1666 char *kwnames[] = {
1667 (char *) "self",(char *) "orient", NULL
1668 };
1669
1670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1673 arg2 = (int) SWIG_AsInt(obj1);
1674 if (PyErr_Occurred()) SWIG_fail;
1675 {
1676 PyThreadState* __tstate = wxPyBeginAllowThreads();
1677 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1678
1679 wxPyEndAllowThreads(__tstate);
1680 if (PyErr_Occurred()) SWIG_fail;
1681 }
1682 resultobj = SWIG_FromInt((int)result);
1683 return resultobj;
1684 fail:
1685 return NULL;
1686 }
1687
1688
1689 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1690 PyObject *resultobj;
1691 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1692 int arg2 ;
1693 int arg3 ;
1694 PyObject * obj0 = 0 ;
1695 PyObject * obj1 = 0 ;
1696 PyObject * obj2 = 0 ;
1697 char *kwnames[] = {
1698 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1699 };
1700
1701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1704 arg2 = (int) SWIG_AsInt(obj1);
1705 if (PyErr_Occurred()) SWIG_fail;
1706 arg3 = (int) SWIG_AsInt(obj2);
1707 if (PyErr_Occurred()) SWIG_fail;
1708 {
1709 PyThreadState* __tstate = wxPyBeginAllowThreads();
1710 (arg1)->SetScrollPageSize(arg2,arg3);
1711
1712 wxPyEndAllowThreads(__tstate);
1713 if (PyErr_Occurred()) SWIG_fail;
1714 }
1715 Py_INCREF(Py_None); resultobj = Py_None;
1716 return resultobj;
1717 fail:
1718 return NULL;
1719 }
1720
1721
1722 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1723 PyObject *resultobj;
1724 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1725 int arg2 ;
1726 int arg3 ;
1727 PyObject * obj0 = 0 ;
1728 PyObject * obj1 = 0 ;
1729 PyObject * obj2 = 0 ;
1730 char *kwnames[] = {
1731 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1737 arg2 = (int) SWIG_AsInt(obj1);
1738 if (PyErr_Occurred()) SWIG_fail;
1739 arg3 = (int) SWIG_AsInt(obj2);
1740 if (PyErr_Occurred()) SWIG_fail;
1741 {
1742 PyThreadState* __tstate = wxPyBeginAllowThreads();
1743 (arg1)->SetScrollRate(arg2,arg3);
1744
1745 wxPyEndAllowThreads(__tstate);
1746 if (PyErr_Occurred()) SWIG_fail;
1747 }
1748 Py_INCREF(Py_None); resultobj = Py_None;
1749 return resultobj;
1750 fail:
1751 return NULL;
1752 }
1753
1754
1755 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1756 PyObject *resultobj;
1757 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1758 int *arg2 = (int *) 0 ;
1759 int *arg3 = (int *) 0 ;
1760 int temp2 ;
1761 int temp3 ;
1762 PyObject * obj0 = 0 ;
1763 char *kwnames[] = {
1764 (char *) "self", NULL
1765 };
1766
1767 arg2 = &temp2;
1768 arg3 = &temp3;
1769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1772 {
1773 PyThreadState* __tstate = wxPyBeginAllowThreads();
1774 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1775
1776 wxPyEndAllowThreads(__tstate);
1777 if (PyErr_Occurred()) SWIG_fail;
1778 }
1779 Py_INCREF(Py_None); resultobj = Py_None;
1780 {
1781 PyObject *o = PyInt_FromLong((long) (*arg2));
1782 resultobj = t_output_helper(resultobj,o);
1783 }
1784 {
1785 PyObject *o = PyInt_FromLong((long) (*arg3));
1786 resultobj = t_output_helper(resultobj,o);
1787 }
1788 return resultobj;
1789 fail:
1790 return NULL;
1791 }
1792
1793
1794 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1795 PyObject *resultobj;
1796 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1797 bool arg2 ;
1798 bool arg3 ;
1799 PyObject * obj0 = 0 ;
1800 PyObject * obj1 = 0 ;
1801 PyObject * obj2 = 0 ;
1802 char *kwnames[] = {
1803 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1804 };
1805
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1809 arg2 = (bool) SWIG_AsBool(obj1);
1810 if (PyErr_Occurred()) SWIG_fail;
1811 arg3 = (bool) SWIG_AsBool(obj2);
1812 if (PyErr_Occurred()) SWIG_fail;
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 (arg1)->EnableScrolling(arg2,arg3);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 Py_INCREF(Py_None); resultobj = Py_None;
1821 return resultobj;
1822 fail:
1823 return NULL;
1824 }
1825
1826
1827 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1828 PyObject *resultobj;
1829 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1830 int *arg2 = (int *) 0 ;
1831 int *arg3 = (int *) 0 ;
1832 int temp2 ;
1833 int temp3 ;
1834 PyObject * obj0 = 0 ;
1835 char *kwnames[] = {
1836 (char *) "self", NULL
1837 };
1838
1839 arg2 = &temp2;
1840 arg3 = &temp3;
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1844 {
1845 PyThreadState* __tstate = wxPyBeginAllowThreads();
1846 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1847
1848 wxPyEndAllowThreads(__tstate);
1849 if (PyErr_Occurred()) SWIG_fail;
1850 }
1851 Py_INCREF(Py_None); resultobj = Py_None;
1852 {
1853 PyObject *o = PyInt_FromLong((long) (*arg2));
1854 resultobj = t_output_helper(resultobj,o);
1855 }
1856 {
1857 PyObject *o = PyInt_FromLong((long) (*arg3));
1858 resultobj = t_output_helper(resultobj,o);
1859 }
1860 return resultobj;
1861 fail:
1862 return NULL;
1863 }
1864
1865
1866 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1867 PyObject *resultobj;
1868 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1869 double arg2 ;
1870 double arg3 ;
1871 PyObject * obj0 = 0 ;
1872 PyObject * obj1 = 0 ;
1873 PyObject * obj2 = 0 ;
1874 char *kwnames[] = {
1875 (char *) "self",(char *) "xs",(char *) "ys", NULL
1876 };
1877
1878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1881 arg2 = (double) SWIG_AsDouble(obj1);
1882 if (PyErr_Occurred()) SWIG_fail;
1883 arg3 = (double) SWIG_AsDouble(obj2);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 {
1886 PyThreadState* __tstate = wxPyBeginAllowThreads();
1887 (arg1)->SetScale(arg2,arg3);
1888
1889 wxPyEndAllowThreads(__tstate);
1890 if (PyErr_Occurred()) SWIG_fail;
1891 }
1892 Py_INCREF(Py_None); resultobj = Py_None;
1893 return resultobj;
1894 fail:
1895 return NULL;
1896 }
1897
1898
1899 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1900 PyObject *resultobj;
1901 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1902 double result;
1903 PyObject * obj0 = 0 ;
1904 char *kwnames[] = {
1905 (char *) "self", NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1911 {
1912 PyThreadState* __tstate = wxPyBeginAllowThreads();
1913 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1914
1915 wxPyEndAllowThreads(__tstate);
1916 if (PyErr_Occurred()) SWIG_fail;
1917 }
1918 resultobj = SWIG_FromDouble((double)result);
1919 return resultobj;
1920 fail:
1921 return NULL;
1922 }
1923
1924
1925 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1926 PyObject *resultobj;
1927 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1928 double result;
1929 PyObject * obj0 = 0 ;
1930 char *kwnames[] = {
1931 (char *) "self", NULL
1932 };
1933
1934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1937 {
1938 PyThreadState* __tstate = wxPyBeginAllowThreads();
1939 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1940
1941 wxPyEndAllowThreads(__tstate);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
1944 resultobj = SWIG_FromDouble((double)result);
1945 return resultobj;
1946 fail:
1947 return NULL;
1948 }
1949
1950
1951 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1952 PyObject *resultobj;
1953 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1954 wxPoint *arg2 = 0 ;
1955 wxPoint result;
1956 wxPoint temp2 ;
1957 PyObject * obj0 = 0 ;
1958 PyObject * obj1 = 0 ;
1959
1960 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1963 {
1964 arg2 = &temp2;
1965 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1966 }
1967 {
1968 PyThreadState* __tstate = wxPyBeginAllowThreads();
1969 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1970
1971 wxPyEndAllowThreads(__tstate);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 }
1974 {
1975 wxPoint * resultptr;
1976 resultptr = new wxPoint((wxPoint &) result);
1977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
1978 }
1979 return resultobj;
1980 fail:
1981 return NULL;
1982 }
1983
1984
1985 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1986 PyObject *resultobj;
1987 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1988 int arg2 ;
1989 int arg3 ;
1990 int *arg4 = (int *) 0 ;
1991 int *arg5 = (int *) 0 ;
1992 int temp4 ;
1993 int temp5 ;
1994 PyObject * obj0 = 0 ;
1995 PyObject * obj1 = 0 ;
1996 PyObject * obj2 = 0 ;
1997
1998 arg4 = &temp4;
1999 arg5 = &temp5;
2000 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2003 arg2 = (int) SWIG_AsInt(obj1);
2004 if (PyErr_Occurred()) SWIG_fail;
2005 arg3 = (int) SWIG_AsInt(obj2);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 {
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2010
2011 wxPyEndAllowThreads(__tstate);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 }
2014 Py_INCREF(Py_None); resultobj = Py_None;
2015 {
2016 PyObject *o = PyInt_FromLong((long) (*arg4));
2017 resultobj = t_output_helper(resultobj,o);
2018 }
2019 {
2020 PyObject *o = PyInt_FromLong((long) (*arg5));
2021 resultobj = t_output_helper(resultobj,o);
2022 }
2023 return resultobj;
2024 fail:
2025 return NULL;
2026 }
2027
2028
2029 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2030 int argc;
2031 PyObject *argv[4];
2032 int ii;
2033
2034 argc = PyObject_Length(args);
2035 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2036 argv[ii] = PyTuple_GetItem(args,ii);
2037 }
2038 if (argc == 2) {
2039 int _v;
2040 {
2041 void *ptr;
2042 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2043 _v = 0;
2044 PyErr_Clear();
2045 } else {
2046 _v = 1;
2047 }
2048 }
2049 if (_v) {
2050 {
2051 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2052 }
2053 if (_v) {
2054 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2055 }
2056 }
2057 }
2058 if (argc == 3) {
2059 int _v;
2060 {
2061 void *ptr;
2062 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2063 _v = 0;
2064 PyErr_Clear();
2065 } else {
2066 _v = 1;
2067 }
2068 }
2069 if (_v) {
2070 _v = SWIG_CheckInt(argv[1]);
2071 if (_v) {
2072 _v = SWIG_CheckInt(argv[2]);
2073 if (_v) {
2074 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2075 }
2076 }
2077 }
2078 }
2079
2080 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2081 return NULL;
2082 }
2083
2084
2085 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2086 PyObject *resultobj;
2087 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2088 wxPoint *arg2 = 0 ;
2089 wxPoint result;
2090 wxPoint temp2 ;
2091 PyObject * obj0 = 0 ;
2092 PyObject * obj1 = 0 ;
2093
2094 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2097 {
2098 arg2 = &temp2;
2099 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2100 }
2101 {
2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
2103 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2104
2105 wxPyEndAllowThreads(__tstate);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 }
2108 {
2109 wxPoint * resultptr;
2110 resultptr = new wxPoint((wxPoint &) result);
2111 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2112 }
2113 return resultobj;
2114 fail:
2115 return NULL;
2116 }
2117
2118
2119 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2120 PyObject *resultobj;
2121 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2122 int arg2 ;
2123 int arg3 ;
2124 int *arg4 = (int *) 0 ;
2125 int *arg5 = (int *) 0 ;
2126 int temp4 ;
2127 int temp5 ;
2128 PyObject * obj0 = 0 ;
2129 PyObject * obj1 = 0 ;
2130 PyObject * obj2 = 0 ;
2131
2132 arg4 = &temp4;
2133 arg5 = &temp5;
2134 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2137 arg2 = (int) SWIG_AsInt(obj1);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 arg3 = (int) SWIG_AsInt(obj2);
2140 if (PyErr_Occurred()) SWIG_fail;
2141 {
2142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2143 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2144
2145 wxPyEndAllowThreads(__tstate);
2146 if (PyErr_Occurred()) SWIG_fail;
2147 }
2148 Py_INCREF(Py_None); resultobj = Py_None;
2149 {
2150 PyObject *o = PyInt_FromLong((long) (*arg4));
2151 resultobj = t_output_helper(resultobj,o);
2152 }
2153 {
2154 PyObject *o = PyInt_FromLong((long) (*arg5));
2155 resultobj = t_output_helper(resultobj,o);
2156 }
2157 return resultobj;
2158 fail:
2159 return NULL;
2160 }
2161
2162
2163 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2164 int argc;
2165 PyObject *argv[4];
2166 int ii;
2167
2168 argc = PyObject_Length(args);
2169 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2170 argv[ii] = PyTuple_GetItem(args,ii);
2171 }
2172 if (argc == 2) {
2173 int _v;
2174 {
2175 void *ptr;
2176 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2177 _v = 0;
2178 PyErr_Clear();
2179 } else {
2180 _v = 1;
2181 }
2182 }
2183 if (_v) {
2184 {
2185 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2186 }
2187 if (_v) {
2188 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2189 }
2190 }
2191 }
2192 if (argc == 3) {
2193 int _v;
2194 {
2195 void *ptr;
2196 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2197 _v = 0;
2198 PyErr_Clear();
2199 } else {
2200 _v = 1;
2201 }
2202 }
2203 if (_v) {
2204 _v = SWIG_CheckInt(argv[1]);
2205 if (_v) {
2206 _v = SWIG_CheckInt(argv[2]);
2207 if (_v) {
2208 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2209 }
2210 }
2211 }
2212 }
2213
2214 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2215 return NULL;
2216 }
2217
2218
2219 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2220 PyObject *resultobj;
2221 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2222 PyObject * obj0 = 0 ;
2223 char *kwnames[] = {
2224 (char *) "self", NULL
2225 };
2226
2227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 (arg1)->AdjustScrollbars();
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 Py_INCREF(Py_None); resultobj = Py_None;
2238 return resultobj;
2239 fail:
2240 return NULL;
2241 }
2242
2243
2244 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2245 PyObject *resultobj;
2246 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2247 wxScrollWinEvent *arg2 = 0 ;
2248 int result;
2249 PyObject * obj0 = 0 ;
2250 PyObject * obj1 = 0 ;
2251 char *kwnames[] = {
2252 (char *) "self",(char *) "event", NULL
2253 };
2254
2255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2259 SWIG_POINTER_EXCEPTION | 0)) == -1)
2260 SWIG_fail;
2261 if (arg2 == NULL) {
2262 PyErr_SetString(PyExc_TypeError,"null reference");
2263 SWIG_fail;
2264 }
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 result = (int)(arg1)->CalcScrollInc(*arg2);
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
2272 resultobj = SWIG_FromInt((int)result);
2273 return resultobj;
2274 fail:
2275 return NULL;
2276 }
2277
2278
2279 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2280 PyObject *resultobj;
2281 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2282 wxWindow *arg2 = (wxWindow *) 0 ;
2283 PyObject * obj0 = 0 ;
2284 PyObject * obj1 = 0 ;
2285 char *kwnames[] = {
2286 (char *) "self",(char *) "target", NULL
2287 };
2288
2289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2292 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2294 {
2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
2296 (arg1)->SetTargetWindow(arg2);
2297
2298 wxPyEndAllowThreads(__tstate);
2299 if (PyErr_Occurred()) SWIG_fail;
2300 }
2301 Py_INCREF(Py_None); resultobj = Py_None;
2302 return resultobj;
2303 fail:
2304 return NULL;
2305 }
2306
2307
2308 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2309 PyObject *resultobj;
2310 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2311 wxWindow *result;
2312 PyObject * obj0 = 0 ;
2313 char *kwnames[] = {
2314 (char *) "self", NULL
2315 };
2316
2317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2320 {
2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
2322 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2323
2324 wxPyEndAllowThreads(__tstate);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 }
2327 {
2328 resultobj = wxPyMake_wxObject(result);
2329 }
2330 return resultobj;
2331 fail:
2332 return NULL;
2333 }
2334
2335
2336 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2337 PyObject *resultobj;
2338 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2339 wxRect *arg2 = 0 ;
2340 wxRect temp2 ;
2341 PyObject * obj0 = 0 ;
2342 PyObject * obj1 = 0 ;
2343 char *kwnames[] = {
2344 (char *) "self",(char *) "rect", NULL
2345 };
2346
2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2350 {
2351 arg2 = &temp2;
2352 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2353 }
2354 {
2355 PyThreadState* __tstate = wxPyBeginAllowThreads();
2356 (arg1)->SetTargetRect((wxRect const &)*arg2);
2357
2358 wxPyEndAllowThreads(__tstate);
2359 if (PyErr_Occurred()) SWIG_fail;
2360 }
2361 Py_INCREF(Py_None); resultobj = Py_None;
2362 return resultobj;
2363 fail:
2364 return NULL;
2365 }
2366
2367
2368 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2369 PyObject *resultobj;
2370 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2371 wxRect result;
2372 PyObject * obj0 = 0 ;
2373 char *kwnames[] = {
2374 (char *) "self", NULL
2375 };
2376
2377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2380 {
2381 PyThreadState* __tstate = wxPyBeginAllowThreads();
2382 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2383
2384 wxPyEndAllowThreads(__tstate);
2385 if (PyErr_Occurred()) SWIG_fail;
2386 }
2387 {
2388 wxRect * resultptr;
2389 resultptr = new wxRect((wxRect &) result);
2390 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2391 }
2392 return resultobj;
2393 fail:
2394 return NULL;
2395 }
2396
2397
2398 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2399 PyObject *obj;
2400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2401 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2402 Py_INCREF(obj);
2403 return Py_BuildValue((char *)"");
2404 }
2405 static int _wrap_FrameNameStr_set(PyObject *_val) {
2406 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2407 return 1;
2408 }
2409
2410
2411 static PyObject *_wrap_FrameNameStr_get() {
2412 PyObject *pyobj;
2413
2414 {
2415 #if wxUSE_UNICODE
2416 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2417 #else
2418 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2419 #endif
2420 }
2421 return pyobj;
2422 }
2423
2424
2425 static int _wrap_DialogNameStr_set(PyObject *_val) {
2426 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2427 return 1;
2428 }
2429
2430
2431 static PyObject *_wrap_DialogNameStr_get() {
2432 PyObject *pyobj;
2433
2434 {
2435 #if wxUSE_UNICODE
2436 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2437 #else
2438 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2439 #endif
2440 }
2441 return pyobj;
2442 }
2443
2444
2445 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2446 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2447 return 1;
2448 }
2449
2450
2451 static PyObject *_wrap_StatusLineNameStr_get() {
2452 PyObject *pyobj;
2453
2454 {
2455 #if wxUSE_UNICODE
2456 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2457 #else
2458 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2459 #endif
2460 }
2461 return pyobj;
2462 }
2463
2464
2465 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2466 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2467 return 1;
2468 }
2469
2470
2471 static PyObject *_wrap_ToolBarNameStr_get() {
2472 PyObject *pyobj;
2473
2474 {
2475 #if wxUSE_UNICODE
2476 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2477 #else
2478 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2479 #endif
2480 }
2481 return pyobj;
2482 }
2483
2484
2485 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2486 PyObject *resultobj;
2487 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2488 bool arg2 = (bool) True ;
2489 PyObject * obj0 = 0 ;
2490 PyObject * obj1 = 0 ;
2491 char *kwnames[] = {
2492 (char *) "self",(char *) "maximize", NULL
2493 };
2494
2495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2498 if (obj1) {
2499 arg2 = (bool) SWIG_AsBool(obj1);
2500 if (PyErr_Occurred()) SWIG_fail;
2501 }
2502 {
2503 PyThreadState* __tstate = wxPyBeginAllowThreads();
2504 (arg1)->Maximize(arg2);
2505
2506 wxPyEndAllowThreads(__tstate);
2507 if (PyErr_Occurred()) SWIG_fail;
2508 }
2509 Py_INCREF(Py_None); resultobj = Py_None;
2510 return resultobj;
2511 fail:
2512 return NULL;
2513 }
2514
2515
2516 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2517 PyObject *resultobj;
2518 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2519 PyObject * obj0 = 0 ;
2520 char *kwnames[] = {
2521 (char *) "self", NULL
2522 };
2523
2524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2527 {
2528 PyThreadState* __tstate = wxPyBeginAllowThreads();
2529 (arg1)->Restore();
2530
2531 wxPyEndAllowThreads(__tstate);
2532 if (PyErr_Occurred()) SWIG_fail;
2533 }
2534 Py_INCREF(Py_None); resultobj = Py_None;
2535 return resultobj;
2536 fail:
2537 return NULL;
2538 }
2539
2540
2541 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2542 PyObject *resultobj;
2543 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2544 bool arg2 = (bool) True ;
2545 PyObject * obj0 = 0 ;
2546 PyObject * obj1 = 0 ;
2547 char *kwnames[] = {
2548 (char *) "self",(char *) "iconize", NULL
2549 };
2550
2551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2554 if (obj1) {
2555 arg2 = (bool) SWIG_AsBool(obj1);
2556 if (PyErr_Occurred()) SWIG_fail;
2557 }
2558 {
2559 PyThreadState* __tstate = wxPyBeginAllowThreads();
2560 (arg1)->Iconize(arg2);
2561
2562 wxPyEndAllowThreads(__tstate);
2563 if (PyErr_Occurred()) SWIG_fail;
2564 }
2565 Py_INCREF(Py_None); resultobj = Py_None;
2566 return resultobj;
2567 fail:
2568 return NULL;
2569 }
2570
2571
2572 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2573 PyObject *resultobj;
2574 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2575 bool result;
2576 PyObject * obj0 = 0 ;
2577 char *kwnames[] = {
2578 (char *) "self", NULL
2579 };
2580
2581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2584 {
2585 PyThreadState* __tstate = wxPyBeginAllowThreads();
2586 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2587
2588 wxPyEndAllowThreads(__tstate);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 }
2591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2592 return resultobj;
2593 fail:
2594 return NULL;
2595 }
2596
2597
2598 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2599 PyObject *resultobj;
2600 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2601 bool result;
2602 PyObject * obj0 = 0 ;
2603 char *kwnames[] = {
2604 (char *) "self", NULL
2605 };
2606
2607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2610 {
2611 PyThreadState* __tstate = wxPyBeginAllowThreads();
2612 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2613
2614 wxPyEndAllowThreads(__tstate);
2615 if (PyErr_Occurred()) SWIG_fail;
2616 }
2617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2618 return resultobj;
2619 fail:
2620 return NULL;
2621 }
2622
2623
2624 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2625 PyObject *resultobj;
2626 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2627 wxIcon result;
2628 PyObject * obj0 = 0 ;
2629 char *kwnames[] = {
2630 (char *) "self", NULL
2631 };
2632
2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2636 {
2637 PyThreadState* __tstate = wxPyBeginAllowThreads();
2638 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2639
2640 wxPyEndAllowThreads(__tstate);
2641 if (PyErr_Occurred()) SWIG_fail;
2642 }
2643 {
2644 wxIcon * resultptr;
2645 resultptr = new wxIcon((wxIcon &) result);
2646 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2647 }
2648 return resultobj;
2649 fail:
2650 return NULL;
2651 }
2652
2653
2654 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2655 PyObject *resultobj;
2656 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2657 wxIcon *arg2 = 0 ;
2658 PyObject * obj0 = 0 ;
2659 PyObject * obj1 = 0 ;
2660 char *kwnames[] = {
2661 (char *) "self",(char *) "icon", NULL
2662 };
2663
2664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2668 SWIG_POINTER_EXCEPTION | 0)) == -1)
2669 SWIG_fail;
2670 if (arg2 == NULL) {
2671 PyErr_SetString(PyExc_TypeError,"null reference");
2672 SWIG_fail;
2673 }
2674 {
2675 PyThreadState* __tstate = wxPyBeginAllowThreads();
2676 (arg1)->SetIcon((wxIcon const &)*arg2);
2677
2678 wxPyEndAllowThreads(__tstate);
2679 if (PyErr_Occurred()) SWIG_fail;
2680 }
2681 Py_INCREF(Py_None); resultobj = Py_None;
2682 return resultobj;
2683 fail:
2684 return NULL;
2685 }
2686
2687
2688 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2689 PyObject *resultobj;
2690 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2691 wxIconBundle *arg2 = 0 ;
2692 PyObject * obj0 = 0 ;
2693 PyObject * obj1 = 0 ;
2694 char *kwnames[] = {
2695 (char *) "self",(char *) "icons", NULL
2696 };
2697
2698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2701 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2702 SWIG_POINTER_EXCEPTION | 0)) == -1)
2703 SWIG_fail;
2704 if (arg2 == NULL) {
2705 PyErr_SetString(PyExc_TypeError,"null reference");
2706 SWIG_fail;
2707 }
2708 {
2709 PyThreadState* __tstate = wxPyBeginAllowThreads();
2710 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2711
2712 wxPyEndAllowThreads(__tstate);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 }
2715 Py_INCREF(Py_None); resultobj = Py_None;
2716 return resultobj;
2717 fail:
2718 return NULL;
2719 }
2720
2721
2722 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2723 PyObject *resultobj;
2724 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2725 bool arg2 ;
2726 long arg3 = (long) wxFULLSCREEN_ALL ;
2727 bool result;
2728 PyObject * obj0 = 0 ;
2729 PyObject * obj1 = 0 ;
2730 PyObject * obj2 = 0 ;
2731 char *kwnames[] = {
2732 (char *) "self",(char *) "show",(char *) "style", NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2738 arg2 = (bool) SWIG_AsBool(obj1);
2739 if (PyErr_Occurred()) SWIG_fail;
2740 if (obj2) {
2741 arg3 = (long) SWIG_AsLong(obj2);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 {
2745 PyThreadState* __tstate = wxPyBeginAllowThreads();
2746 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2747
2748 wxPyEndAllowThreads(__tstate);
2749 if (PyErr_Occurred()) SWIG_fail;
2750 }
2751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2752 return resultobj;
2753 fail:
2754 return NULL;
2755 }
2756
2757
2758 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2759 PyObject *resultobj;
2760 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2761 bool result;
2762 PyObject * obj0 = 0 ;
2763 char *kwnames[] = {
2764 (char *) "self", NULL
2765 };
2766
2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
2772 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2778 return resultobj;
2779 fail:
2780 return NULL;
2781 }
2782
2783
2784 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2785 PyObject *resultobj;
2786 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2787 wxString *arg2 = 0 ;
2788 bool temp2 = False ;
2789 PyObject * obj0 = 0 ;
2790 PyObject * obj1 = 0 ;
2791 char *kwnames[] = {
2792 (char *) "self",(char *) "title", NULL
2793 };
2794
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2798 {
2799 arg2 = wxString_in_helper(obj1);
2800 if (arg2 == NULL) SWIG_fail;
2801 temp2 = True;
2802 }
2803 {
2804 PyThreadState* __tstate = wxPyBeginAllowThreads();
2805 (arg1)->SetTitle((wxString const &)*arg2);
2806
2807 wxPyEndAllowThreads(__tstate);
2808 if (PyErr_Occurred()) SWIG_fail;
2809 }
2810 Py_INCREF(Py_None); resultobj = Py_None;
2811 {
2812 if (temp2)
2813 delete arg2;
2814 }
2815 return resultobj;
2816 fail:
2817 {
2818 if (temp2)
2819 delete arg2;
2820 }
2821 return NULL;
2822 }
2823
2824
2825 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2826 PyObject *resultobj;
2827 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2828 wxString result;
2829 PyObject * obj0 = 0 ;
2830 char *kwnames[] = {
2831 (char *) "self", NULL
2832 };
2833
2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2837 {
2838 PyThreadState* __tstate = wxPyBeginAllowThreads();
2839 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2840
2841 wxPyEndAllowThreads(__tstate);
2842 if (PyErr_Occurred()) SWIG_fail;
2843 }
2844 {
2845 #if wxUSE_UNICODE
2846 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2847 #else
2848 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2849 #endif
2850 }
2851 return resultobj;
2852 fail:
2853 return NULL;
2854 }
2855
2856
2857 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2858 PyObject *resultobj;
2859 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2860 wxRegion *arg2 = 0 ;
2861 bool result;
2862 PyObject * obj0 = 0 ;
2863 PyObject * obj1 = 0 ;
2864 char *kwnames[] = {
2865 (char *) "self",(char *) "region", NULL
2866 };
2867
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2871 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2872 SWIG_POINTER_EXCEPTION | 0)) == -1)
2873 SWIG_fail;
2874 if (arg2 == NULL) {
2875 PyErr_SetString(PyExc_TypeError,"null reference");
2876 SWIG_fail;
2877 }
2878 {
2879 PyThreadState* __tstate = wxPyBeginAllowThreads();
2880 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2881
2882 wxPyEndAllowThreads(__tstate);
2883 if (PyErr_Occurred()) SWIG_fail;
2884 }
2885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2886 return resultobj;
2887 fail:
2888 return NULL;
2889 }
2890
2891
2892 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2893 PyObject *obj;
2894 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2895 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2896 Py_INCREF(obj);
2897 return Py_BuildValue((char *)"");
2898 }
2899 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2900 PyObject *resultobj;
2901 wxWindow *arg1 = (wxWindow *) 0 ;
2902 int arg2 ;
2903 wxString *arg3 = 0 ;
2904 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2905 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2906 wxSize const &arg5_defvalue = wxDefaultSize ;
2907 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2908 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2909 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2910 wxString *arg7 = (wxString *) &arg7_defvalue ;
2911 wxFrame *result;
2912 bool temp3 = False ;
2913 wxPoint temp4 ;
2914 wxSize temp5 ;
2915 bool temp7 = False ;
2916 PyObject * obj0 = 0 ;
2917 PyObject * obj1 = 0 ;
2918 PyObject * obj2 = 0 ;
2919 PyObject * obj3 = 0 ;
2920 PyObject * obj4 = 0 ;
2921 PyObject * obj5 = 0 ;
2922 PyObject * obj6 = 0 ;
2923 char *kwnames[] = {
2924 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2925 };
2926
2927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2930 arg2 = (int const) SWIG_AsInt(obj1);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 {
2933 arg3 = wxString_in_helper(obj2);
2934 if (arg3 == NULL) SWIG_fail;
2935 temp3 = True;
2936 }
2937 if (obj3) {
2938 {
2939 arg4 = &temp4;
2940 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2941 }
2942 }
2943 if (obj4) {
2944 {
2945 arg5 = &temp5;
2946 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2947 }
2948 }
2949 if (obj5) {
2950 arg6 = (long) SWIG_AsLong(obj5);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 if (obj6) {
2954 {
2955 arg7 = wxString_in_helper(obj6);
2956 if (arg7 == NULL) SWIG_fail;
2957 temp7 = True;
2958 }
2959 }
2960 {
2961 PyThreadState* __tstate = wxPyBeginAllowThreads();
2962 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2963
2964 wxPyEndAllowThreads(__tstate);
2965 if (PyErr_Occurred()) SWIG_fail;
2966 }
2967 {
2968 resultobj = wxPyMake_wxObject(result);
2969 }
2970 {
2971 if (temp3)
2972 delete arg3;
2973 }
2974 {
2975 if (temp7)
2976 delete arg7;
2977 }
2978 return resultobj;
2979 fail:
2980 {
2981 if (temp3)
2982 delete arg3;
2983 }
2984 {
2985 if (temp7)
2986 delete arg7;
2987 }
2988 return NULL;
2989 }
2990
2991
2992 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2993 PyObject *resultobj;
2994 wxFrame *result;
2995 char *kwnames[] = {
2996 NULL
2997 };
2998
2999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3000 {
3001 PyThreadState* __tstate = wxPyBeginAllowThreads();
3002 result = (wxFrame *)new wxFrame();
3003
3004 wxPyEndAllowThreads(__tstate);
3005 if (PyErr_Occurred()) SWIG_fail;
3006 }
3007 {
3008 resultobj = wxPyMake_wxObject(result);
3009 }
3010 return resultobj;
3011 fail:
3012 return NULL;
3013 }
3014
3015
3016 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3017 PyObject *resultobj;
3018 wxFrame *arg1 = (wxFrame *) 0 ;
3019 wxWindow *arg2 = (wxWindow *) 0 ;
3020 int arg3 ;
3021 wxString *arg4 = 0 ;
3022 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3023 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3024 wxSize const &arg6_defvalue = wxDefaultSize ;
3025 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3026 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3027 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3028 wxString *arg8 = (wxString *) &arg8_defvalue ;
3029 bool result;
3030 bool temp4 = False ;
3031 wxPoint temp5 ;
3032 wxSize temp6 ;
3033 bool temp8 = False ;
3034 PyObject * obj0 = 0 ;
3035 PyObject * obj1 = 0 ;
3036 PyObject * obj2 = 0 ;
3037 PyObject * obj3 = 0 ;
3038 PyObject * obj4 = 0 ;
3039 PyObject * obj5 = 0 ;
3040 PyObject * obj6 = 0 ;
3041 PyObject * obj7 = 0 ;
3042 char *kwnames[] = {
3043 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3044 };
3045
3046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3051 arg3 = (int const) SWIG_AsInt(obj2);
3052 if (PyErr_Occurred()) SWIG_fail;
3053 {
3054 arg4 = wxString_in_helper(obj3);
3055 if (arg4 == NULL) SWIG_fail;
3056 temp4 = True;
3057 }
3058 if (obj4) {
3059 {
3060 arg5 = &temp5;
3061 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3062 }
3063 }
3064 if (obj5) {
3065 {
3066 arg6 = &temp6;
3067 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3068 }
3069 }
3070 if (obj6) {
3071 arg7 = (long) SWIG_AsLong(obj6);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 if (obj7) {
3075 {
3076 arg8 = wxString_in_helper(obj7);
3077 if (arg8 == NULL) SWIG_fail;
3078 temp8 = True;
3079 }
3080 }
3081 {
3082 PyThreadState* __tstate = wxPyBeginAllowThreads();
3083 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3084
3085 wxPyEndAllowThreads(__tstate);
3086 if (PyErr_Occurred()) SWIG_fail;
3087 }
3088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3089 {
3090 if (temp4)
3091 delete arg4;
3092 }
3093 {
3094 if (temp8)
3095 delete arg8;
3096 }
3097 return resultobj;
3098 fail:
3099 {
3100 if (temp4)
3101 delete arg4;
3102 }
3103 {
3104 if (temp8)
3105 delete arg8;
3106 }
3107 return NULL;
3108 }
3109
3110
3111 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3112 PyObject *resultobj;
3113 wxFrame *arg1 = (wxFrame *) 0 ;
3114 wxPoint result;
3115 PyObject * obj0 = 0 ;
3116 char *kwnames[] = {
3117 (char *) "self", NULL
3118 };
3119
3120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3123 {
3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
3125 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 {
3131 wxPoint * resultptr;
3132 resultptr = new wxPoint((wxPoint &) result);
3133 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3134 }
3135 return resultobj;
3136 fail:
3137 return NULL;
3138 }
3139
3140
3141 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj;
3143 wxFrame *arg1 = (wxFrame *) 0 ;
3144 PyObject * obj0 = 0 ;
3145 char *kwnames[] = {
3146 (char *) "self", NULL
3147 };
3148
3149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 (arg1)->SendSizeEvent();
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 Py_INCREF(Py_None); resultobj = Py_None;
3160 return resultobj;
3161 fail:
3162 return NULL;
3163 }
3164
3165
3166 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3167 PyObject *resultobj;
3168 wxFrame *arg1 = (wxFrame *) 0 ;
3169 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3170 PyObject * obj0 = 0 ;
3171 PyObject * obj1 = 0 ;
3172 char *kwnames[] = {
3173 (char *) "self",(char *) "menubar", NULL
3174 };
3175
3176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3181 {
3182 PyThreadState* __tstate = wxPyBeginAllowThreads();
3183 (arg1)->SetMenuBar(arg2);
3184
3185 wxPyEndAllowThreads(__tstate);
3186 if (PyErr_Occurred()) SWIG_fail;
3187 }
3188 Py_INCREF(Py_None); resultobj = Py_None;
3189 return resultobj;
3190 fail:
3191 return NULL;
3192 }
3193
3194
3195 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3196 PyObject *resultobj;
3197 wxFrame *arg1 = (wxFrame *) 0 ;
3198 wxMenuBar *result;
3199 PyObject * obj0 = 0 ;
3200 char *kwnames[] = {
3201 (char *) "self", NULL
3202 };
3203
3204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3207 {
3208 PyThreadState* __tstate = wxPyBeginAllowThreads();
3209 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3210
3211 wxPyEndAllowThreads(__tstate);
3212 if (PyErr_Occurred()) SWIG_fail;
3213 }
3214 {
3215 resultobj = wxPyMake_wxObject(result);
3216 }
3217 return resultobj;
3218 fail:
3219 return NULL;
3220 }
3221
3222
3223 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3224 PyObject *resultobj;
3225 wxFrame *arg1 = (wxFrame *) 0 ;
3226 int arg2 ;
3227 bool result;
3228 PyObject * obj0 = 0 ;
3229 PyObject * obj1 = 0 ;
3230 char *kwnames[] = {
3231 (char *) "self",(char *) "winid", NULL
3232 };
3233
3234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3237 arg2 = (int) SWIG_AsInt(obj1);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 {
3240 PyThreadState* __tstate = wxPyBeginAllowThreads();
3241 result = (bool)(arg1)->ProcessCommand(arg2);
3242
3243 wxPyEndAllowThreads(__tstate);
3244 if (PyErr_Occurred()) SWIG_fail;
3245 }
3246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3247 return resultobj;
3248 fail:
3249 return NULL;
3250 }
3251
3252
3253 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3254 PyObject *resultobj;
3255 wxFrame *arg1 = (wxFrame *) 0 ;
3256 int arg2 = (int) 1 ;
3257 long arg3 = (long) wxST_SIZEGRIP ;
3258 int arg4 = (int) 0 ;
3259 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3260 wxString *arg5 = (wxString *) &arg5_defvalue ;
3261 wxStatusBar *result;
3262 bool temp5 = False ;
3263 PyObject * obj0 = 0 ;
3264 PyObject * obj1 = 0 ;
3265 PyObject * obj2 = 0 ;
3266 PyObject * obj3 = 0 ;
3267 PyObject * obj4 = 0 ;
3268 char *kwnames[] = {
3269 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3270 };
3271
3272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3275 if (obj1) {
3276 arg2 = (int) SWIG_AsInt(obj1);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 if (obj2) {
3280 arg3 = (long) SWIG_AsLong(obj2);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 if (obj3) {
3284 arg4 = (int) SWIG_AsInt(obj3);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 if (obj4) {
3288 {
3289 arg5 = wxString_in_helper(obj4);
3290 if (arg5 == NULL) SWIG_fail;
3291 temp5 = True;
3292 }
3293 }
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 {
3302 resultobj = wxPyMake_wxObject(result);
3303 }
3304 {
3305 if (temp5)
3306 delete arg5;
3307 }
3308 return resultobj;
3309 fail:
3310 {
3311 if (temp5)
3312 delete arg5;
3313 }
3314 return NULL;
3315 }
3316
3317
3318 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3319 PyObject *resultobj;
3320 wxFrame *arg1 = (wxFrame *) 0 ;
3321 wxStatusBar *result;
3322 PyObject * obj0 = 0 ;
3323 char *kwnames[] = {
3324 (char *) "self", NULL
3325 };
3326
3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3330 {
3331 PyThreadState* __tstate = wxPyBeginAllowThreads();
3332 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3333
3334 wxPyEndAllowThreads(__tstate);
3335 if (PyErr_Occurred()) SWIG_fail;
3336 }
3337 {
3338 resultobj = wxPyMake_wxObject(result);
3339 }
3340 return resultobj;
3341 fail:
3342 return NULL;
3343 }
3344
3345
3346 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3347 PyObject *resultobj;
3348 wxFrame *arg1 = (wxFrame *) 0 ;
3349 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3350 PyObject * obj0 = 0 ;
3351 PyObject * obj1 = 0 ;
3352 char *kwnames[] = {
3353 (char *) "self",(char *) "statBar", NULL
3354 };
3355
3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3361 {
3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
3363 (arg1)->SetStatusBar(arg2);
3364
3365 wxPyEndAllowThreads(__tstate);
3366 if (PyErr_Occurred()) SWIG_fail;
3367 }
3368 Py_INCREF(Py_None); resultobj = Py_None;
3369 return resultobj;
3370 fail:
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxFrame *arg1 = (wxFrame *) 0 ;
3378 wxString *arg2 = 0 ;
3379 int arg3 = (int) 0 ;
3380 bool temp2 = False ;
3381 PyObject * obj0 = 0 ;
3382 PyObject * obj1 = 0 ;
3383 PyObject * obj2 = 0 ;
3384 char *kwnames[] = {
3385 (char *) "self",(char *) "text",(char *) "number", NULL
3386 };
3387
3388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3391 {
3392 arg2 = wxString_in_helper(obj1);
3393 if (arg2 == NULL) SWIG_fail;
3394 temp2 = True;
3395 }
3396 if (obj2) {
3397 arg3 = (int) SWIG_AsInt(obj2);
3398 if (PyErr_Occurred()) SWIG_fail;
3399 }
3400 {
3401 PyThreadState* __tstate = wxPyBeginAllowThreads();
3402 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3403
3404 wxPyEndAllowThreads(__tstate);
3405 if (PyErr_Occurred()) SWIG_fail;
3406 }
3407 Py_INCREF(Py_None); resultobj = Py_None;
3408 {
3409 if (temp2)
3410 delete arg2;
3411 }
3412 return resultobj;
3413 fail:
3414 {
3415 if (temp2)
3416 delete arg2;
3417 }
3418 return NULL;
3419 }
3420
3421
3422 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3423 PyObject *resultobj;
3424 wxFrame *arg1 = (wxFrame *) 0 ;
3425 int arg2 ;
3426 int *arg3 = (int *) 0 ;
3427 PyObject * obj0 = 0 ;
3428 PyObject * obj1 = 0 ;
3429 char *kwnames[] = {
3430 (char *) "self",(char *) "widths", NULL
3431 };
3432
3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3436 {
3437 arg2 = PyList_Size(obj1);
3438 arg3 = int_LIST_helper(obj1);
3439 if (arg3 == NULL) SWIG_fail;
3440 }
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 Py_INCREF(Py_None); resultobj = Py_None;
3449 {
3450 if (arg3) delete [] arg3;
3451 }
3452 return resultobj;
3453 fail:
3454 {
3455 if (arg3) delete [] arg3;
3456 }
3457 return NULL;
3458 }
3459
3460
3461 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3462 PyObject *resultobj;
3463 wxFrame *arg1 = (wxFrame *) 0 ;
3464 wxString *arg2 = 0 ;
3465 int arg3 = (int) 0 ;
3466 bool temp2 = False ;
3467 PyObject * obj0 = 0 ;
3468 PyObject * obj1 = 0 ;
3469 PyObject * obj2 = 0 ;
3470 char *kwnames[] = {
3471 (char *) "self",(char *) "text",(char *) "number", NULL
3472 };
3473
3474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3477 {
3478 arg2 = wxString_in_helper(obj1);
3479 if (arg2 == NULL) SWIG_fail;
3480 temp2 = True;
3481 }
3482 if (obj2) {
3483 arg3 = (int) SWIG_AsInt(obj2);
3484 if (PyErr_Occurred()) SWIG_fail;
3485 }
3486 {
3487 PyThreadState* __tstate = wxPyBeginAllowThreads();
3488 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3489
3490 wxPyEndAllowThreads(__tstate);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 }
3493 Py_INCREF(Py_None); resultobj = Py_None;
3494 {
3495 if (temp2)
3496 delete arg2;
3497 }
3498 return resultobj;
3499 fail:
3500 {
3501 if (temp2)
3502 delete arg2;
3503 }
3504 return NULL;
3505 }
3506
3507
3508 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3509 PyObject *resultobj;
3510 wxFrame *arg1 = (wxFrame *) 0 ;
3511 int arg2 = (int) 0 ;
3512 PyObject * obj0 = 0 ;
3513 PyObject * obj1 = 0 ;
3514 char *kwnames[] = {
3515 (char *) "self",(char *) "number", NULL
3516 };
3517
3518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3521 if (obj1) {
3522 arg2 = (int) SWIG_AsInt(obj1);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 }
3525 {
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
3527 (arg1)->PopStatusText(arg2);
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 Py_INCREF(Py_None); resultobj = Py_None;
3533 return resultobj;
3534 fail:
3535 return NULL;
3536 }
3537
3538
3539 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3540 PyObject *resultobj;
3541 wxFrame *arg1 = (wxFrame *) 0 ;
3542 int arg2 ;
3543 PyObject * obj0 = 0 ;
3544 PyObject * obj1 = 0 ;
3545 char *kwnames[] = {
3546 (char *) "self",(char *) "n", NULL
3547 };
3548
3549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3552 arg2 = (int) SWIG_AsInt(obj1);
3553 if (PyErr_Occurred()) SWIG_fail;
3554 {
3555 PyThreadState* __tstate = wxPyBeginAllowThreads();
3556 (arg1)->SetStatusBarPane(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_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3569 PyObject *resultobj;
3570 wxFrame *arg1 = (wxFrame *) 0 ;
3571 int result;
3572 PyObject * obj0 = 0 ;
3573 char *kwnames[] = {
3574 (char *) "self", NULL
3575 };
3576
3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3580 {
3581 PyThreadState* __tstate = wxPyBeginAllowThreads();
3582 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3583
3584 wxPyEndAllowThreads(__tstate);
3585 if (PyErr_Occurred()) SWIG_fail;
3586 }
3587 resultobj = SWIG_FromInt((int)result);
3588 return resultobj;
3589 fail:
3590 return NULL;
3591 }
3592
3593
3594 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3595 PyObject *resultobj;
3596 wxFrame *arg1 = (wxFrame *) 0 ;
3597 long arg2 = (long) -1 ;
3598 int arg3 = (int) -1 ;
3599 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3600 wxString *arg4 = (wxString *) &arg4_defvalue ;
3601 wxToolBar *result;
3602 bool temp4 = False ;
3603 PyObject * obj0 = 0 ;
3604 PyObject * obj1 = 0 ;
3605 PyObject * obj2 = 0 ;
3606 PyObject * obj3 = 0 ;
3607 char *kwnames[] = {
3608 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3609 };
3610
3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3614 if (obj1) {
3615 arg2 = (long) SWIG_AsLong(obj1);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
3618 if (obj2) {
3619 arg3 = (int) SWIG_AsInt(obj2);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
3622 if (obj3) {
3623 {
3624 arg4 = wxString_in_helper(obj3);
3625 if (arg4 == NULL) SWIG_fail;
3626 temp4 = True;
3627 }
3628 }
3629 {
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3632
3633 wxPyEndAllowThreads(__tstate);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 }
3636 {
3637 resultobj = wxPyMake_wxObject(result);
3638 }
3639 {
3640 if (temp4)
3641 delete arg4;
3642 }
3643 return resultobj;
3644 fail:
3645 {
3646 if (temp4)
3647 delete arg4;
3648 }
3649 return NULL;
3650 }
3651
3652
3653 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3654 PyObject *resultobj;
3655 wxFrame *arg1 = (wxFrame *) 0 ;
3656 wxToolBar *result;
3657 PyObject * obj0 = 0 ;
3658 char *kwnames[] = {
3659 (char *) "self", NULL
3660 };
3661
3662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3665 {
3666 PyThreadState* __tstate = wxPyBeginAllowThreads();
3667 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3668
3669 wxPyEndAllowThreads(__tstate);
3670 if (PyErr_Occurred()) SWIG_fail;
3671 }
3672 {
3673 resultobj = wxPyMake_wxObject(result);
3674 }
3675 return resultobj;
3676 fail:
3677 return NULL;
3678 }
3679
3680
3681 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3682 PyObject *resultobj;
3683 wxFrame *arg1 = (wxFrame *) 0 ;
3684 wxToolBar *arg2 = (wxToolBar *) 0 ;
3685 PyObject * obj0 = 0 ;
3686 PyObject * obj1 = 0 ;
3687 char *kwnames[] = {
3688 (char *) "self",(char *) "toolbar", NULL
3689 };
3690
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3696 {
3697 PyThreadState* __tstate = wxPyBeginAllowThreads();
3698 (arg1)->SetToolBar(arg2);
3699
3700 wxPyEndAllowThreads(__tstate);
3701 if (PyErr_Occurred()) SWIG_fail;
3702 }
3703 Py_INCREF(Py_None); resultobj = Py_None;
3704 return resultobj;
3705 fail:
3706 return NULL;
3707 }
3708
3709
3710 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3711 PyObject *resultobj;
3712 wxFrame *arg1 = (wxFrame *) 0 ;
3713 wxString *arg2 = 0 ;
3714 bool arg3 ;
3715 bool temp2 = False ;
3716 PyObject * obj0 = 0 ;
3717 PyObject * obj1 = 0 ;
3718 PyObject * obj2 = 0 ;
3719 char *kwnames[] = {
3720 (char *) "self",(char *) "text",(char *) "show", NULL
3721 };
3722
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3726 {
3727 arg2 = wxString_in_helper(obj1);
3728 if (arg2 == NULL) SWIG_fail;
3729 temp2 = True;
3730 }
3731 arg3 = (bool) SWIG_AsBool(obj2);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 {
3734 PyThreadState* __tstate = wxPyBeginAllowThreads();
3735 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3736
3737 wxPyEndAllowThreads(__tstate);
3738 if (PyErr_Occurred()) SWIG_fail;
3739 }
3740 Py_INCREF(Py_None); resultobj = Py_None;
3741 {
3742 if (temp2)
3743 delete arg2;
3744 }
3745 return resultobj;
3746 fail:
3747 {
3748 if (temp2)
3749 delete arg2;
3750 }
3751 return NULL;
3752 }
3753
3754
3755 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3756 PyObject *resultobj;
3757 wxFrame *arg1 = (wxFrame *) 0 ;
3758 wxMenu *arg2 = (wxMenu *) NULL ;
3759 PyObject * obj0 = 0 ;
3760 PyObject * obj1 = 0 ;
3761 char *kwnames[] = {
3762 (char *) "self",(char *) "menu", NULL
3763 };
3764
3765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3768 if (obj1) {
3769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3771 }
3772 {
3773 PyThreadState* __tstate = wxPyBeginAllowThreads();
3774 (arg1)->DoMenuUpdates(arg2);
3775
3776 wxPyEndAllowThreads(__tstate);
3777 if (PyErr_Occurred()) SWIG_fail;
3778 }
3779 Py_INCREF(Py_None); resultobj = Py_None;
3780 return resultobj;
3781 fail:
3782 return NULL;
3783 }
3784
3785
3786 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3787 PyObject *obj;
3788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3789 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3790 Py_INCREF(obj);
3791 return Py_BuildValue((char *)"");
3792 }
3793 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3794 PyObject *resultobj;
3795 wxWindow *arg1 = (wxWindow *) 0 ;
3796 int arg2 ;
3797 wxString *arg3 = 0 ;
3798 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3799 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3800 wxSize const &arg5_defvalue = wxDefaultSize ;
3801 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3802 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3803 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3804 wxString *arg7 = (wxString *) &arg7_defvalue ;
3805 wxDialog *result;
3806 bool temp3 = False ;
3807 wxPoint temp4 ;
3808 wxSize temp5 ;
3809 bool temp7 = False ;
3810 PyObject * obj0 = 0 ;
3811 PyObject * obj1 = 0 ;
3812 PyObject * obj2 = 0 ;
3813 PyObject * obj3 = 0 ;
3814 PyObject * obj4 = 0 ;
3815 PyObject * obj5 = 0 ;
3816 PyObject * obj6 = 0 ;
3817 char *kwnames[] = {
3818 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3819 };
3820
3821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3824 arg2 = (int const) SWIG_AsInt(obj1);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 {
3827 arg3 = wxString_in_helper(obj2);
3828 if (arg3 == NULL) SWIG_fail;
3829 temp3 = True;
3830 }
3831 if (obj3) {
3832 {
3833 arg4 = &temp4;
3834 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3835 }
3836 }
3837 if (obj4) {
3838 {
3839 arg5 = &temp5;
3840 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3841 }
3842 }
3843 if (obj5) {
3844 arg6 = (long) SWIG_AsLong(obj5);
3845 if (PyErr_Occurred()) SWIG_fail;
3846 }
3847 if (obj6) {
3848 {
3849 arg7 = wxString_in_helper(obj6);
3850 if (arg7 == NULL) SWIG_fail;
3851 temp7 = True;
3852 }
3853 }
3854 {
3855 PyThreadState* __tstate = wxPyBeginAllowThreads();
3856 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3857
3858 wxPyEndAllowThreads(__tstate);
3859 if (PyErr_Occurred()) SWIG_fail;
3860 }
3861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3862 {
3863 if (temp3)
3864 delete arg3;
3865 }
3866 {
3867 if (temp7)
3868 delete arg7;
3869 }
3870 return resultobj;
3871 fail:
3872 {
3873 if (temp3)
3874 delete arg3;
3875 }
3876 {
3877 if (temp7)
3878 delete arg7;
3879 }
3880 return NULL;
3881 }
3882
3883
3884 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3885 PyObject *resultobj;
3886 wxDialog *result;
3887 char *kwnames[] = {
3888 NULL
3889 };
3890
3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 result = (wxDialog *)new wxDialog();
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3900 return resultobj;
3901 fail:
3902 return NULL;
3903 }
3904
3905
3906 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3907 PyObject *resultobj;
3908 wxDialog *arg1 = (wxDialog *) 0 ;
3909 wxWindow *arg2 = (wxWindow *) 0 ;
3910 int arg3 ;
3911 wxString *arg4 = 0 ;
3912 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3913 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3914 wxSize const &arg6_defvalue = wxDefaultSize ;
3915 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3916 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3917 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3918 wxString *arg8 = (wxString *) &arg8_defvalue ;
3919 bool result;
3920 bool temp4 = False ;
3921 wxPoint temp5 ;
3922 wxSize temp6 ;
3923 bool temp8 = False ;
3924 PyObject * obj0 = 0 ;
3925 PyObject * obj1 = 0 ;
3926 PyObject * obj2 = 0 ;
3927 PyObject * obj3 = 0 ;
3928 PyObject * obj4 = 0 ;
3929 PyObject * obj5 = 0 ;
3930 PyObject * obj6 = 0 ;
3931 PyObject * obj7 = 0 ;
3932 char *kwnames[] = {
3933 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3934 };
3935
3936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3941 arg3 = (int const) SWIG_AsInt(obj2);
3942 if (PyErr_Occurred()) SWIG_fail;
3943 {
3944 arg4 = wxString_in_helper(obj3);
3945 if (arg4 == NULL) SWIG_fail;
3946 temp4 = True;
3947 }
3948 if (obj4) {
3949 {
3950 arg5 = &temp5;
3951 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3952 }
3953 }
3954 if (obj5) {
3955 {
3956 arg6 = &temp6;
3957 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3958 }
3959 }
3960 if (obj6) {
3961 arg7 = (long) SWIG_AsLong(obj6);
3962 if (PyErr_Occurred()) SWIG_fail;
3963 }
3964 if (obj7) {
3965 {
3966 arg8 = wxString_in_helper(obj7);
3967 if (arg8 == NULL) SWIG_fail;
3968 temp8 = True;
3969 }
3970 }
3971 {
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) SWIG_fail;
3977 }
3978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3979 {
3980 if (temp4)
3981 delete arg4;
3982 }
3983 {
3984 if (temp8)
3985 delete arg8;
3986 }
3987 return resultobj;
3988 fail:
3989 {
3990 if (temp4)
3991 delete arg4;
3992 }
3993 {
3994 if (temp8)
3995 delete arg8;
3996 }
3997 return NULL;
3998 }
3999
4000
4001 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4002 PyObject *resultobj;
4003 wxDialog *arg1 = (wxDialog *) 0 ;
4004 int arg2 ;
4005 PyObject * obj0 = 0 ;
4006 PyObject * obj1 = 0 ;
4007 char *kwnames[] = {
4008 (char *) "self",(char *) "returnCode", NULL
4009 };
4010
4011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4014 arg2 = (int) SWIG_AsInt(obj1);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 {
4017 PyThreadState* __tstate = wxPyBeginAllowThreads();
4018 (arg1)->SetReturnCode(arg2);
4019
4020 wxPyEndAllowThreads(__tstate);
4021 if (PyErr_Occurred()) SWIG_fail;
4022 }
4023 Py_INCREF(Py_None); resultobj = Py_None;
4024 return resultobj;
4025 fail:
4026 return NULL;
4027 }
4028
4029
4030 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4031 PyObject *resultobj;
4032 wxDialog *arg1 = (wxDialog *) 0 ;
4033 int result;
4034 PyObject * obj0 = 0 ;
4035 char *kwnames[] = {
4036 (char *) "self", NULL
4037 };
4038
4039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4042 {
4043 PyThreadState* __tstate = wxPyBeginAllowThreads();
4044 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4045
4046 wxPyEndAllowThreads(__tstate);
4047 if (PyErr_Occurred()) SWIG_fail;
4048 }
4049 resultobj = SWIG_FromInt((int)result);
4050 return resultobj;
4051 fail:
4052 return NULL;
4053 }
4054
4055
4056 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4057 PyObject *resultobj;
4058 wxDialog *arg1 = (wxDialog *) 0 ;
4059 wxString *arg2 = 0 ;
4060 wxSizer *result;
4061 bool temp2 = False ;
4062 PyObject * obj0 = 0 ;
4063 PyObject * obj1 = 0 ;
4064 char *kwnames[] = {
4065 (char *) "self",(char *) "message", NULL
4066 };
4067
4068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4071 {
4072 arg2 = wxString_in_helper(obj1);
4073 if (arg2 == NULL) SWIG_fail;
4074 temp2 = True;
4075 }
4076 {
4077 PyThreadState* __tstate = wxPyBeginAllowThreads();
4078 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4079
4080 wxPyEndAllowThreads(__tstate);
4081 if (PyErr_Occurred()) SWIG_fail;
4082 }
4083 {
4084 resultobj = wxPyMake_wxSizer(result);
4085 }
4086 {
4087 if (temp2)
4088 delete arg2;
4089 }
4090 return resultobj;
4091 fail:
4092 {
4093 if (temp2)
4094 delete arg2;
4095 }
4096 return NULL;
4097 }
4098
4099
4100 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4101 PyObject *resultobj;
4102 wxDialog *arg1 = (wxDialog *) 0 ;
4103 long arg2 ;
4104 wxSizer *result;
4105 PyObject * obj0 = 0 ;
4106 PyObject * obj1 = 0 ;
4107 char *kwnames[] = {
4108 (char *) "self",(char *) "flags", NULL
4109 };
4110
4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4114 arg2 = (long) SWIG_AsLong(obj1);
4115 if (PyErr_Occurred()) SWIG_fail;
4116 {
4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
4118 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4119
4120 wxPyEndAllowThreads(__tstate);
4121 if (PyErr_Occurred()) SWIG_fail;
4122 }
4123 {
4124 resultobj = wxPyMake_wxSizer(result);
4125 }
4126 return resultobj;
4127 fail:
4128 return NULL;
4129 }
4130
4131
4132 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4133 PyObject *resultobj;
4134 wxDialog *arg1 = (wxDialog *) 0 ;
4135 bool result;
4136 PyObject * obj0 = 0 ;
4137 char *kwnames[] = {
4138 (char *) "self", NULL
4139 };
4140
4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4144 {
4145 PyThreadState* __tstate = wxPyBeginAllowThreads();
4146 result = (bool)((wxDialog const *)arg1)->IsModal();
4147
4148 wxPyEndAllowThreads(__tstate);
4149 if (PyErr_Occurred()) SWIG_fail;
4150 }
4151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4152 return resultobj;
4153 fail:
4154 return NULL;
4155 }
4156
4157
4158 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4159 PyObject *resultobj;
4160 wxDialog *arg1 = (wxDialog *) 0 ;
4161 int result;
4162 PyObject * obj0 = 0 ;
4163 char *kwnames[] = {
4164 (char *) "self", NULL
4165 };
4166
4167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4170 {
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 result = (int)(arg1)->ShowModal();
4173
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 resultobj = SWIG_FromInt((int)result);
4178 return resultobj;
4179 fail:
4180 return NULL;
4181 }
4182
4183
4184 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxDialog *arg1 = (wxDialog *) 0 ;
4187 int arg2 ;
4188 PyObject * obj0 = 0 ;
4189 PyObject * obj1 = 0 ;
4190 char *kwnames[] = {
4191 (char *) "self",(char *) "retCode", NULL
4192 };
4193
4194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4197 arg2 = (int) SWIG_AsInt(obj1);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 {
4200 PyThreadState* __tstate = wxPyBeginAllowThreads();
4201 (arg1)->EndModal(arg2);
4202
4203 wxPyEndAllowThreads(__tstate);
4204 if (PyErr_Occurred()) SWIG_fail;
4205 }
4206 Py_INCREF(Py_None); resultobj = Py_None;
4207 return resultobj;
4208 fail:
4209 return NULL;
4210 }
4211
4212
4213 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4214 PyObject *resultobj;
4215 wxDialog *arg1 = (wxDialog *) 0 ;
4216 bool result;
4217 PyObject * obj0 = 0 ;
4218 char *kwnames[] = {
4219 (char *) "self", NULL
4220 };
4221
4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 result = (bool)wxDialog_IsModalShowing(arg1);
4228
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4233 return resultobj;
4234 fail:
4235 return NULL;
4236 }
4237
4238
4239 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4240 PyObject *obj;
4241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4242 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4243 Py_INCREF(obj);
4244 return Py_BuildValue((char *)"");
4245 }
4246 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4247 PyObject *resultobj;
4248 wxWindow *arg1 = (wxWindow *) 0 ;
4249 int arg2 ;
4250 wxString *arg3 = 0 ;
4251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4253 wxSize const &arg5_defvalue = wxDefaultSize ;
4254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4255 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4256 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4257 wxString *arg7 = (wxString *) &arg7_defvalue ;
4258 wxMiniFrame *result;
4259 bool temp3 = False ;
4260 wxPoint temp4 ;
4261 wxSize temp5 ;
4262 bool temp7 = False ;
4263 PyObject * obj0 = 0 ;
4264 PyObject * obj1 = 0 ;
4265 PyObject * obj2 = 0 ;
4266 PyObject * obj3 = 0 ;
4267 PyObject * obj4 = 0 ;
4268 PyObject * obj5 = 0 ;
4269 PyObject * obj6 = 0 ;
4270 char *kwnames[] = {
4271 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4272 };
4273
4274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4277 arg2 = (int const) SWIG_AsInt(obj1);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 {
4280 arg3 = wxString_in_helper(obj2);
4281 if (arg3 == NULL) SWIG_fail;
4282 temp3 = True;
4283 }
4284 if (obj3) {
4285 {
4286 arg4 = &temp4;
4287 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4288 }
4289 }
4290 if (obj4) {
4291 {
4292 arg5 = &temp5;
4293 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4294 }
4295 }
4296 if (obj5) {
4297 arg6 = (long) SWIG_AsLong(obj5);
4298 if (PyErr_Occurred()) SWIG_fail;
4299 }
4300 if (obj6) {
4301 {
4302 arg7 = wxString_in_helper(obj6);
4303 if (arg7 == NULL) SWIG_fail;
4304 temp7 = True;
4305 }
4306 }
4307 {
4308 PyThreadState* __tstate = wxPyBeginAllowThreads();
4309 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4310
4311 wxPyEndAllowThreads(__tstate);
4312 if (PyErr_Occurred()) SWIG_fail;
4313 }
4314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4315 {
4316 if (temp3)
4317 delete arg3;
4318 }
4319 {
4320 if (temp7)
4321 delete arg7;
4322 }
4323 return resultobj;
4324 fail:
4325 {
4326 if (temp3)
4327 delete arg3;
4328 }
4329 {
4330 if (temp7)
4331 delete arg7;
4332 }
4333 return NULL;
4334 }
4335
4336
4337 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4338 PyObject *resultobj;
4339 wxMiniFrame *result;
4340 char *kwnames[] = {
4341 NULL
4342 };
4343
4344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4345 {
4346 PyThreadState* __tstate = wxPyBeginAllowThreads();
4347 result = (wxMiniFrame *)new wxMiniFrame();
4348
4349 wxPyEndAllowThreads(__tstate);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4353 return resultobj;
4354 fail:
4355 return NULL;
4356 }
4357
4358
4359 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4360 PyObject *resultobj;
4361 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4362 wxWindow *arg2 = (wxWindow *) 0 ;
4363 int arg3 ;
4364 wxString *arg4 = 0 ;
4365 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4366 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4367 wxSize const &arg6_defvalue = wxDefaultSize ;
4368 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4369 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4370 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4371 wxString *arg8 = (wxString *) &arg8_defvalue ;
4372 bool result;
4373 bool temp4 = False ;
4374 wxPoint temp5 ;
4375 wxSize temp6 ;
4376 bool temp8 = False ;
4377 PyObject * obj0 = 0 ;
4378 PyObject * obj1 = 0 ;
4379 PyObject * obj2 = 0 ;
4380 PyObject * obj3 = 0 ;
4381 PyObject * obj4 = 0 ;
4382 PyObject * obj5 = 0 ;
4383 PyObject * obj6 = 0 ;
4384 PyObject * obj7 = 0 ;
4385 char *kwnames[] = {
4386 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4387 };
4388
4389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4394 arg3 = (int const) SWIG_AsInt(obj2);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 {
4397 arg4 = wxString_in_helper(obj3);
4398 if (arg4 == NULL) SWIG_fail;
4399 temp4 = True;
4400 }
4401 if (obj4) {
4402 {
4403 arg5 = &temp5;
4404 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4405 }
4406 }
4407 if (obj5) {
4408 {
4409 arg6 = &temp6;
4410 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4411 }
4412 }
4413 if (obj6) {
4414 arg7 = (long) SWIG_AsLong(obj6);
4415 if (PyErr_Occurred()) SWIG_fail;
4416 }
4417 if (obj7) {
4418 {
4419 arg8 = wxString_in_helper(obj7);
4420 if (arg8 == NULL) SWIG_fail;
4421 temp8 = True;
4422 }
4423 }
4424 {
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4427
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4432 {
4433 if (temp4)
4434 delete arg4;
4435 }
4436 {
4437 if (temp8)
4438 delete arg8;
4439 }
4440 return resultobj;
4441 fail:
4442 {
4443 if (temp4)
4444 delete arg4;
4445 }
4446 {
4447 if (temp8)
4448 delete arg8;
4449 }
4450 return NULL;
4451 }
4452
4453
4454 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4455 PyObject *obj;
4456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4457 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4458 Py_INCREF(obj);
4459 return Py_BuildValue((char *)"");
4460 }
4461 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4462 PyObject *resultobj;
4463 wxBitmap *arg1 = 0 ;
4464 wxWindow *arg2 = (wxWindow *) 0 ;
4465 int arg3 ;
4466 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4467 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4468 wxSize const &arg5_defvalue = wxDefaultSize ;
4469 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4470 long arg6 = (long) wxNO_BORDER ;
4471 wxSplashScreenWindow *result;
4472 wxPoint temp4 ;
4473 wxSize temp5 ;
4474 PyObject * obj0 = 0 ;
4475 PyObject * obj1 = 0 ;
4476 PyObject * obj2 = 0 ;
4477 PyObject * obj3 = 0 ;
4478 PyObject * obj4 = 0 ;
4479 PyObject * obj5 = 0 ;
4480 char *kwnames[] = {
4481 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4482 };
4483
4484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4486 SWIG_POINTER_EXCEPTION | 0)) == -1)
4487 SWIG_fail;
4488 if (arg1 == NULL) {
4489 PyErr_SetString(PyExc_TypeError,"null reference");
4490 SWIG_fail;
4491 }
4492 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4494 arg3 = (int) SWIG_AsInt(obj2);
4495 if (PyErr_Occurred()) SWIG_fail;
4496 if (obj3) {
4497 {
4498 arg4 = &temp4;
4499 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4500 }
4501 }
4502 if (obj4) {
4503 {
4504 arg5 = &temp5;
4505 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4506 }
4507 }
4508 if (obj5) {
4509 arg6 = (long) SWIG_AsLong(obj5);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4515
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4520 return resultobj;
4521 fail:
4522 return NULL;
4523 }
4524
4525
4526 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj;
4528 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4529 wxBitmap *arg2 = 0 ;
4530 PyObject * obj0 = 0 ;
4531 PyObject * obj1 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self",(char *) "bitmap", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4539 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4540 SWIG_POINTER_EXCEPTION | 0)) == -1)
4541 SWIG_fail;
4542 if (arg2 == NULL) {
4543 PyErr_SetString(PyExc_TypeError,"null reference");
4544 SWIG_fail;
4545 }
4546 {
4547 PyThreadState* __tstate = wxPyBeginAllowThreads();
4548 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4549
4550 wxPyEndAllowThreads(__tstate);
4551 if (PyErr_Occurred()) SWIG_fail;
4552 }
4553 Py_INCREF(Py_None); resultobj = Py_None;
4554 return resultobj;
4555 fail:
4556 return NULL;
4557 }
4558
4559
4560 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4561 PyObject *resultobj;
4562 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4563 wxBitmap *result;
4564 PyObject * obj0 = 0 ;
4565 char *kwnames[] = {
4566 (char *) "self", NULL
4567 };
4568
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4572 {
4573 PyThreadState* __tstate = wxPyBeginAllowThreads();
4574 {
4575 wxBitmap &_result_ref = (arg1)->GetBitmap();
4576 result = (wxBitmap *) &_result_ref;
4577 }
4578
4579 wxPyEndAllowThreads(__tstate);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 }
4582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
4583 return resultobj;
4584 fail:
4585 return NULL;
4586 }
4587
4588
4589 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4590 PyObject *obj;
4591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4592 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4593 Py_INCREF(obj);
4594 return Py_BuildValue((char *)"");
4595 }
4596 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4597 PyObject *resultobj;
4598 wxBitmap *arg1 = 0 ;
4599 long arg2 ;
4600 int arg3 ;
4601 wxWindow *arg4 = (wxWindow *) 0 ;
4602 int arg5 ;
4603 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4604 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4605 wxSize const &arg7_defvalue = wxDefaultSize ;
4606 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4607 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4608 wxSplashScreen *result;
4609 wxPoint temp6 ;
4610 wxSize temp7 ;
4611 PyObject * obj0 = 0 ;
4612 PyObject * obj1 = 0 ;
4613 PyObject * obj2 = 0 ;
4614 PyObject * obj3 = 0 ;
4615 PyObject * obj4 = 0 ;
4616 PyObject * obj5 = 0 ;
4617 PyObject * obj6 = 0 ;
4618 PyObject * obj7 = 0 ;
4619 char *kwnames[] = {
4620 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4621 };
4622
4623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4625 SWIG_POINTER_EXCEPTION | 0)) == -1)
4626 SWIG_fail;
4627 if (arg1 == NULL) {
4628 PyErr_SetString(PyExc_TypeError,"null reference");
4629 SWIG_fail;
4630 }
4631 arg2 = (long) SWIG_AsLong(obj1);
4632 if (PyErr_Occurred()) SWIG_fail;
4633 arg3 = (int) SWIG_AsInt(obj2);
4634 if (PyErr_Occurred()) SWIG_fail;
4635 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4637 arg5 = (int) SWIG_AsInt(obj4);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 if (obj5) {
4640 {
4641 arg6 = &temp6;
4642 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4643 }
4644 }
4645 if (obj6) {
4646 {
4647 arg7 = &temp7;
4648 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4649 }
4650 }
4651 if (obj7) {
4652 arg8 = (long) SWIG_AsLong(obj7);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 {
4656 PyThreadState* __tstate = wxPyBeginAllowThreads();
4657 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4658
4659 wxPyEndAllowThreads(__tstate);
4660 if (PyErr_Occurred()) SWIG_fail;
4661 }
4662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4663 return resultobj;
4664 fail:
4665 return NULL;
4666 }
4667
4668
4669 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4670 PyObject *resultobj;
4671 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4672 long result;
4673 PyObject * obj0 = 0 ;
4674 char *kwnames[] = {
4675 (char *) "self", NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4681 {
4682 PyThreadState* __tstate = wxPyBeginAllowThreads();
4683 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4684
4685 wxPyEndAllowThreads(__tstate);
4686 if (PyErr_Occurred()) SWIG_fail;
4687 }
4688 resultobj = SWIG_FromLong((long)result);
4689 return resultobj;
4690 fail:
4691 return NULL;
4692 }
4693
4694
4695 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4696 PyObject *resultobj;
4697 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4698 wxSplashScreenWindow *result;
4699 PyObject * obj0 = 0 ;
4700 char *kwnames[] = {
4701 (char *) "self", NULL
4702 };
4703
4704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4707 {
4708 PyThreadState* __tstate = wxPyBeginAllowThreads();
4709 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4710
4711 wxPyEndAllowThreads(__tstate);
4712 if (PyErr_Occurred()) SWIG_fail;
4713 }
4714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4715 return resultobj;
4716 fail:
4717 return NULL;
4718 }
4719
4720
4721 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4722 PyObject *resultobj;
4723 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4724 int result;
4725 PyObject * obj0 = 0 ;
4726 char *kwnames[] = {
4727 (char *) "self", NULL
4728 };
4729
4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4733 {
4734 PyThreadState* __tstate = wxPyBeginAllowThreads();
4735 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4736
4737 wxPyEndAllowThreads(__tstate);
4738 if (PyErr_Occurred()) SWIG_fail;
4739 }
4740 resultobj = SWIG_FromInt((int)result);
4741 return resultobj;
4742 fail:
4743 return NULL;
4744 }
4745
4746
4747 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4748 PyObject *obj;
4749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4750 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4751 Py_INCREF(obj);
4752 return Py_BuildValue((char *)"");
4753 }
4754 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4755 PyObject *resultobj;
4756 wxWindow *arg1 = (wxWindow *) 0 ;
4757 int arg2 = (int) -1 ;
4758 long arg3 = (long) wxST_SIZEGRIP ;
4759 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4760 wxString *arg4 = (wxString *) &arg4_defvalue ;
4761 wxStatusBar *result;
4762 bool temp4 = False ;
4763 PyObject * obj0 = 0 ;
4764 PyObject * obj1 = 0 ;
4765 PyObject * obj2 = 0 ;
4766 PyObject * obj3 = 0 ;
4767 char *kwnames[] = {
4768 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4769 };
4770
4771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4774 if (obj1) {
4775 arg2 = (int) SWIG_AsInt(obj1);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 if (obj2) {
4779 arg3 = (long) SWIG_AsLong(obj2);
4780 if (PyErr_Occurred()) SWIG_fail;
4781 }
4782 if (obj3) {
4783 {
4784 arg4 = wxString_in_helper(obj3);
4785 if (arg4 == NULL) SWIG_fail;
4786 temp4 = True;
4787 }
4788 }
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4792
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 {
4797 resultobj = wxPyMake_wxObject(result);
4798 }
4799 {
4800 if (temp4)
4801 delete arg4;
4802 }
4803 return resultobj;
4804 fail:
4805 {
4806 if (temp4)
4807 delete arg4;
4808 }
4809 return NULL;
4810 }
4811
4812
4813 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4814 PyObject *resultobj;
4815 wxStatusBar *result;
4816 char *kwnames[] = {
4817 NULL
4818 };
4819
4820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 result = (wxStatusBar *)new wxStatusBar();
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 {
4829 resultobj = wxPyMake_wxObject(result);
4830 }
4831 return resultobj;
4832 fail:
4833 return NULL;
4834 }
4835
4836
4837 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4838 PyObject *resultobj;
4839 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4840 wxWindow *arg2 = (wxWindow *) 0 ;
4841 int arg3 ;
4842 long arg4 = (long) wxST_SIZEGRIP ;
4843 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4844 wxString *arg5 = (wxString *) &arg5_defvalue ;
4845 bool result;
4846 bool temp5 = False ;
4847 PyObject * obj0 = 0 ;
4848 PyObject * obj1 = 0 ;
4849 PyObject * obj2 = 0 ;
4850 PyObject * obj3 = 0 ;
4851 PyObject * obj4 = 0 ;
4852 char *kwnames[] = {
4853 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4854 };
4855
4856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4861 arg3 = (int) SWIG_AsInt(obj2);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 if (obj3) {
4864 arg4 = (long) SWIG_AsLong(obj3);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
4867 if (obj4) {
4868 {
4869 arg5 = wxString_in_helper(obj4);
4870 if (arg5 == NULL) SWIG_fail;
4871 temp5 = True;
4872 }
4873 }
4874 {
4875 PyThreadState* __tstate = wxPyBeginAllowThreads();
4876 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4877
4878 wxPyEndAllowThreads(__tstate);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 }
4881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4882 {
4883 if (temp5)
4884 delete arg5;
4885 }
4886 return resultobj;
4887 fail:
4888 {
4889 if (temp5)
4890 delete arg5;
4891 }
4892 return NULL;
4893 }
4894
4895
4896 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4897 PyObject *resultobj;
4898 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4899 int arg2 = (int) 1 ;
4900 PyObject * obj0 = 0 ;
4901 PyObject * obj1 = 0 ;
4902 char *kwnames[] = {
4903 (char *) "self",(char *) "number", NULL
4904 };
4905
4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4909 if (obj1) {
4910 arg2 = (int) SWIG_AsInt(obj1);
4911 if (PyErr_Occurred()) SWIG_fail;
4912 }
4913 {
4914 PyThreadState* __tstate = wxPyBeginAllowThreads();
4915 (arg1)->SetFieldsCount(arg2);
4916
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
4920 Py_INCREF(Py_None); resultobj = Py_None;
4921 return resultobj;
4922 fail:
4923 return NULL;
4924 }
4925
4926
4927 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4928 PyObject *resultobj;
4929 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4930 int result;
4931 PyObject * obj0 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "self", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4942
4943 wxPyEndAllowThreads(__tstate);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 resultobj = SWIG_FromInt((int)result);
4947 return resultobj;
4948 fail:
4949 return NULL;
4950 }
4951
4952
4953 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4954 PyObject *resultobj;
4955 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4956 wxString *arg2 = 0 ;
4957 int arg3 = (int) 0 ;
4958 bool temp2 = False ;
4959 PyObject * obj0 = 0 ;
4960 PyObject * obj1 = 0 ;
4961 PyObject * obj2 = 0 ;
4962 char *kwnames[] = {
4963 (char *) "self",(char *) "text",(char *) "number", NULL
4964 };
4965
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4969 {
4970 arg2 = wxString_in_helper(obj1);
4971 if (arg2 == NULL) SWIG_fail;
4972 temp2 = True;
4973 }
4974 if (obj2) {
4975 arg3 = (int) SWIG_AsInt(obj2);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 {
4979 PyThreadState* __tstate = wxPyBeginAllowThreads();
4980 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4981
4982 wxPyEndAllowThreads(__tstate);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 Py_INCREF(Py_None); resultobj = Py_None;
4986 {
4987 if (temp2)
4988 delete arg2;
4989 }
4990 return resultobj;
4991 fail:
4992 {
4993 if (temp2)
4994 delete arg2;
4995 }
4996 return NULL;
4997 }
4998
4999
5000 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj;
5002 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5003 int arg2 = (int) 0 ;
5004 wxString result;
5005 PyObject * obj0 = 0 ;
5006 PyObject * obj1 = 0 ;
5007 char *kwnames[] = {
5008 (char *) "self",(char *) "number", NULL
5009 };
5010
5011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5014 if (obj1) {
5015 arg2 = (int) SWIG_AsInt(obj1);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5021
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 {
5026 #if wxUSE_UNICODE
5027 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5028 #else
5029 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5030 #endif
5031 }
5032 return resultobj;
5033 fail:
5034 return NULL;
5035 }
5036
5037
5038 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5039 PyObject *resultobj;
5040 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5041 wxString *arg2 = 0 ;
5042 int arg3 = (int) 0 ;
5043 bool temp2 = False ;
5044 PyObject * obj0 = 0 ;
5045 PyObject * obj1 = 0 ;
5046 PyObject * obj2 = 0 ;
5047 char *kwnames[] = {
5048 (char *) "self",(char *) "text",(char *) "number", NULL
5049 };
5050
5051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5054 {
5055 arg2 = wxString_in_helper(obj1);
5056 if (arg2 == NULL) SWIG_fail;
5057 temp2 = True;
5058 }
5059 if (obj2) {
5060 arg3 = (int) SWIG_AsInt(obj2);
5061 if (PyErr_Occurred()) SWIG_fail;
5062 }
5063 {
5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
5065 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5066
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) SWIG_fail;
5069 }
5070 Py_INCREF(Py_None); resultobj = Py_None;
5071 {
5072 if (temp2)
5073 delete arg2;
5074 }
5075 return resultobj;
5076 fail:
5077 {
5078 if (temp2)
5079 delete arg2;
5080 }
5081 return NULL;
5082 }
5083
5084
5085 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5086 PyObject *resultobj;
5087 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5088 int arg2 = (int) 0 ;
5089 PyObject * obj0 = 0 ;
5090 PyObject * obj1 = 0 ;
5091 char *kwnames[] = {
5092 (char *) "self",(char *) "number", NULL
5093 };
5094
5095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5098 if (obj1) {
5099 arg2 = (int) SWIG_AsInt(obj1);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 (arg1)->PopStatusText(arg2);
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 Py_INCREF(Py_None); resultobj = Py_None;
5110 return resultobj;
5111 fail:
5112 return NULL;
5113 }
5114
5115
5116 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5117 PyObject *resultobj;
5118 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5119 int arg2 ;
5120 int *arg3 = (int *) 0 ;
5121 PyObject * obj0 = 0 ;
5122 PyObject * obj1 = 0 ;
5123 char *kwnames[] = {
5124 (char *) "self",(char *) "widths", NULL
5125 };
5126
5127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5130 {
5131 arg2 = PyList_Size(obj1);
5132 arg3 = int_LIST_helper(obj1);
5133 if (arg3 == NULL) SWIG_fail;
5134 }
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 Py_INCREF(Py_None); resultobj = Py_None;
5143 {
5144 if (arg3) delete [] arg3;
5145 }
5146 return resultobj;
5147 fail:
5148 {
5149 if (arg3) delete [] arg3;
5150 }
5151 return NULL;
5152 }
5153
5154
5155 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5156 PyObject *resultobj;
5157 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5158 int arg2 ;
5159 wxRect result;
5160 PyObject * obj0 = 0 ;
5161 PyObject * obj1 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "self",(char *) "i", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5169 arg2 = (int) SWIG_AsInt(obj1);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 result = wxStatusBar_GetFieldRect(arg1,arg2);
5174
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 {
5179 wxRect * resultptr;
5180 resultptr = new wxRect((wxRect &) result);
5181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5182 }
5183 return resultobj;
5184 fail:
5185 return NULL;
5186 }
5187
5188
5189 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5190 PyObject *resultobj;
5191 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5192 int arg2 ;
5193 PyObject * obj0 = 0 ;
5194 PyObject * obj1 = 0 ;
5195 char *kwnames[] = {
5196 (char *) "self",(char *) "height", NULL
5197 };
5198
5199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5202 arg2 = (int) SWIG_AsInt(obj1);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 (arg1)->SetMinHeight(arg2);
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 Py_INCREF(Py_None); resultobj = Py_None;
5212 return resultobj;
5213 fail:
5214 return NULL;
5215 }
5216
5217
5218 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5219 PyObject *resultobj;
5220 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5221 int result;
5222 PyObject * obj0 = 0 ;
5223 char *kwnames[] = {
5224 (char *) "self", NULL
5225 };
5226
5227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5230 {
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5232 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5233
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 resultobj = SWIG_FromInt((int)result);
5238 return resultobj;
5239 fail:
5240 return NULL;
5241 }
5242
5243
5244 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5245 PyObject *resultobj;
5246 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5247 int result;
5248 PyObject * obj0 = 0 ;
5249 char *kwnames[] = {
5250 (char *) "self", NULL
5251 };
5252
5253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5256 {
5257 PyThreadState* __tstate = wxPyBeginAllowThreads();
5258 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5259
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 resultobj = SWIG_FromInt((int)result);
5264 return resultobj;
5265 fail:
5266 return NULL;
5267 }
5268
5269
5270 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5271 PyObject *obj;
5272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5273 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5274 Py_INCREF(obj);
5275 return Py_BuildValue((char *)"");
5276 }
5277 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5278 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5279 return 1;
5280 }
5281
5282
5283 static PyObject *_wrap_SplitterNameStr_get() {
5284 PyObject *pyobj;
5285
5286 {
5287 #if wxUSE_UNICODE
5288 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5289 #else
5290 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5291 #endif
5292 }
5293 return pyobj;
5294 }
5295
5296
5297 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5298 PyObject *resultobj;
5299 wxWindow *arg1 = (wxWindow *) 0 ;
5300 int arg2 ;
5301 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5302 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5303 wxSize const &arg4_defvalue = wxDefaultSize ;
5304 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5305 long arg5 = (long) wxSP_3D ;
5306 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5307 wxString *arg6 = (wxString *) &arg6_defvalue ;
5308 wxSplitterWindow *result;
5309 wxPoint temp3 ;
5310 wxSize temp4 ;
5311 bool temp6 = False ;
5312 PyObject * obj0 = 0 ;
5313 PyObject * obj1 = 0 ;
5314 PyObject * obj2 = 0 ;
5315 PyObject * obj3 = 0 ;
5316 PyObject * obj4 = 0 ;
5317 PyObject * obj5 = 0 ;
5318 char *kwnames[] = {
5319 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5320 };
5321
5322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5325 arg2 = (int) SWIG_AsInt(obj1);
5326 if (PyErr_Occurred()) SWIG_fail;
5327 if (obj2) {
5328 {
5329 arg3 = &temp3;
5330 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5331 }
5332 }
5333 if (obj3) {
5334 {
5335 arg4 = &temp4;
5336 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5337 }
5338 }
5339 if (obj4) {
5340 arg5 = (long) SWIG_AsLong(obj4);
5341 if (PyErr_Occurred()) SWIG_fail;
5342 }
5343 if (obj5) {
5344 {
5345 arg6 = wxString_in_helper(obj5);
5346 if (arg6 == NULL) SWIG_fail;
5347 temp6 = True;
5348 }
5349 }
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 }
5357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5358 {
5359 if (temp6)
5360 delete arg6;
5361 }
5362 return resultobj;
5363 fail:
5364 {
5365 if (temp6)
5366 delete arg6;
5367 }
5368 return NULL;
5369 }
5370
5371
5372 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5373 PyObject *resultobj;
5374 wxSplitterWindow *result;
5375 char *kwnames[] = {
5376 NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5380 {
5381 PyThreadState* __tstate = wxPyBeginAllowThreads();
5382 result = (wxSplitterWindow *)new wxSplitterWindow();
5383
5384 wxPyEndAllowThreads(__tstate);
5385 if (PyErr_Occurred()) SWIG_fail;
5386 }
5387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5388 return resultobj;
5389 fail:
5390 return NULL;
5391 }
5392
5393
5394 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5395 PyObject *resultobj;
5396 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5397 wxWindow *arg2 = (wxWindow *) 0 ;
5398 int arg3 ;
5399 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5400 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5401 wxSize const &arg5_defvalue = wxDefaultSize ;
5402 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5403 long arg6 = (long) wxSP_3D ;
5404 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5405 wxString *arg7 = (wxString *) &arg7_defvalue ;
5406 bool result;
5407 wxPoint temp4 ;
5408 wxSize temp5 ;
5409 bool temp7 = False ;
5410 PyObject * obj0 = 0 ;
5411 PyObject * obj1 = 0 ;
5412 PyObject * obj2 = 0 ;
5413 PyObject * obj3 = 0 ;
5414 PyObject * obj4 = 0 ;
5415 PyObject * obj5 = 0 ;
5416 PyObject * obj6 = 0 ;
5417 char *kwnames[] = {
5418 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5419 };
5420
5421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5426 arg3 = (int) SWIG_AsInt(obj2);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 if (obj3) {
5429 {
5430 arg4 = &temp4;
5431 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5432 }
5433 }
5434 if (obj4) {
5435 {
5436 arg5 = &temp5;
5437 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5438 }
5439 }
5440 if (obj5) {
5441 arg6 = (long) SWIG_AsLong(obj5);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 }
5444 if (obj6) {
5445 {
5446 arg7 = wxString_in_helper(obj6);
5447 if (arg7 == NULL) SWIG_fail;
5448 temp7 = True;
5449 }
5450 }
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5454
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5459 {
5460 if (temp7)
5461 delete arg7;
5462 }
5463 return resultobj;
5464 fail:
5465 {
5466 if (temp7)
5467 delete arg7;
5468 }
5469 return NULL;
5470 }
5471
5472
5473 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5474 PyObject *resultobj;
5475 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5476 wxWindow *result;
5477 PyObject * obj0 = 0 ;
5478 char *kwnames[] = {
5479 (char *) "self", NULL
5480 };
5481
5482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5485 {
5486 PyThreadState* __tstate = wxPyBeginAllowThreads();
5487 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5488
5489 wxPyEndAllowThreads(__tstate);
5490 if (PyErr_Occurred()) SWIG_fail;
5491 }
5492 {
5493 resultobj = wxPyMake_wxObject(result);
5494 }
5495 return resultobj;
5496 fail:
5497 return NULL;
5498 }
5499
5500
5501 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5502 PyObject *resultobj;
5503 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5504 wxWindow *result;
5505 PyObject * obj0 = 0 ;
5506 char *kwnames[] = {
5507 (char *) "self", NULL
5508 };
5509
5510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5516
5517 wxPyEndAllowThreads(__tstate);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 {
5521 resultobj = wxPyMake_wxObject(result);
5522 }
5523 return resultobj;
5524 fail:
5525 return NULL;
5526 }
5527
5528
5529 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5530 PyObject *resultobj;
5531 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5532 int arg2 ;
5533 PyObject * obj0 = 0 ;
5534 PyObject * obj1 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "self",(char *) "mode", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5542 arg2 = (int) SWIG_AsInt(obj1);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 {
5545 PyThreadState* __tstate = wxPyBeginAllowThreads();
5546 (arg1)->SetSplitMode(arg2);
5547
5548 wxPyEndAllowThreads(__tstate);
5549 if (PyErr_Occurred()) SWIG_fail;
5550 }
5551 Py_INCREF(Py_None); resultobj = Py_None;
5552 return resultobj;
5553 fail:
5554 return NULL;
5555 }
5556
5557
5558 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5559 PyObject *resultobj;
5560 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5561 int result;
5562 PyObject * obj0 = 0 ;
5563 char *kwnames[] = {
5564 (char *) "self", NULL
5565 };
5566
5567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5570 {
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5573
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 resultobj = SWIG_FromInt((int)result);
5578 return resultobj;
5579 fail:
5580 return NULL;
5581 }
5582
5583
5584 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5585 PyObject *resultobj;
5586 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5587 wxWindow *arg2 = (wxWindow *) 0 ;
5588 PyObject * obj0 = 0 ;
5589 PyObject * obj1 = 0 ;
5590 char *kwnames[] = {
5591 (char *) "self",(char *) "window", NULL
5592 };
5593
5594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5597 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5599 {
5600 PyThreadState* __tstate = wxPyBeginAllowThreads();
5601 (arg1)->Initialize(arg2);
5602
5603 wxPyEndAllowThreads(__tstate);
5604 if (PyErr_Occurred()) SWIG_fail;
5605 }
5606 Py_INCREF(Py_None); resultobj = Py_None;
5607 return resultobj;
5608 fail:
5609 return NULL;
5610 }
5611
5612
5613 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5614 PyObject *resultobj;
5615 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5616 wxWindow *arg2 = (wxWindow *) 0 ;
5617 wxWindow *arg3 = (wxWindow *) 0 ;
5618 int arg4 = (int) 0 ;
5619 bool result;
5620 PyObject * obj0 = 0 ;
5621 PyObject * obj1 = 0 ;
5622 PyObject * obj2 = 0 ;
5623 PyObject * obj3 = 0 ;
5624 char *kwnames[] = {
5625 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5626 };
5627
5628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5631 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5633 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5635 if (obj3) {
5636 arg4 = (int) SWIG_AsInt(obj3);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5656 wxWindow *arg2 = (wxWindow *) 0 ;
5657 wxWindow *arg3 = (wxWindow *) 0 ;
5658 int arg4 = (int) 0 ;
5659 bool result;
5660 PyObject * obj0 = 0 ;
5661 PyObject * obj1 = 0 ;
5662 PyObject * obj2 = 0 ;
5663 PyObject * obj3 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5673 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5675 if (obj3) {
5676 arg4 = (int) SWIG_AsInt(obj3);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 }
5679 {
5680 PyThreadState* __tstate = wxPyBeginAllowThreads();
5681 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5682
5683 wxPyEndAllowThreads(__tstate);
5684 if (PyErr_Occurred()) SWIG_fail;
5685 }
5686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5687 return resultobj;
5688 fail:
5689 return NULL;
5690 }
5691
5692
5693 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5694 PyObject *resultobj;
5695 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5696 wxWindow *arg2 = (wxWindow *) NULL ;
5697 bool result;
5698 PyObject * obj0 = 0 ;
5699 PyObject * obj1 = 0 ;
5700 char *kwnames[] = {
5701 (char *) "self",(char *) "toRemove", NULL
5702 };
5703
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5707 if (obj1) {
5708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5710 }
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 result = (bool)(arg1)->Unsplit(arg2);
5714
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
5718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5719 return resultobj;
5720 fail:
5721 return NULL;
5722 }
5723
5724
5725 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5726 PyObject *resultobj;
5727 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5728 wxWindow *arg2 = (wxWindow *) 0 ;
5729 wxWindow *arg3 = (wxWindow *) 0 ;
5730 bool result;
5731 PyObject * obj0 = 0 ;
5732 PyObject * obj1 = 0 ;
5733 PyObject * obj2 = 0 ;
5734 char *kwnames[] = {
5735 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5736 };
5737
5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5743 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5753 return resultobj;
5754 fail:
5755 return NULL;
5756 }
5757
5758
5759 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5760 PyObject *resultobj;
5761 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5762 bool result;
5763 PyObject * obj0 = 0 ;
5764 char *kwnames[] = {
5765 (char *) "self", NULL
5766 };
5767
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5771 {
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5774
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
5778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5779 return resultobj;
5780 fail:
5781 return NULL;
5782 }
5783
5784
5785 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5786 PyObject *resultobj;
5787 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5788 int arg2 ;
5789 PyObject * obj0 = 0 ;
5790 PyObject * obj1 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self",(char *) "width", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5798 arg2 = (int) SWIG_AsInt(obj1);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 {
5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
5802 (arg1)->SetSashSize(arg2);
5803
5804 wxPyEndAllowThreads(__tstate);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 }
5807 Py_INCREF(Py_None); resultobj = Py_None;
5808 return resultobj;
5809 fail:
5810 return NULL;
5811 }
5812
5813
5814 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5815 PyObject *resultobj;
5816 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5817 int arg2 ;
5818 PyObject * obj0 = 0 ;
5819 PyObject * obj1 = 0 ;
5820 char *kwnames[] = {
5821 (char *) "self",(char *) "width", NULL
5822 };
5823
5824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5827 arg2 = (int) SWIG_AsInt(obj1);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 {
5830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5831 (arg1)->SetBorderSize(arg2);
5832
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 Py_INCREF(Py_None); resultobj = Py_None;
5837 return resultobj;
5838 fail:
5839 return NULL;
5840 }
5841
5842
5843 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5844 PyObject *resultobj;
5845 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5846 int result;
5847 PyObject * obj0 = 0 ;
5848 char *kwnames[] = {
5849 (char *) "self", NULL
5850 };
5851
5852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5858
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
5862 resultobj = SWIG_FromInt((int)result);
5863 return resultobj;
5864 fail:
5865 return NULL;
5866 }
5867
5868
5869 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5870 PyObject *resultobj;
5871 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5872 int result;
5873 PyObject * obj0 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5881 {
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 resultobj = SWIG_FromInt((int)result);
5889 return resultobj;
5890 fail:
5891 return NULL;
5892 }
5893
5894
5895 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject *resultobj;
5897 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5898 int arg2 ;
5899 bool arg3 = (bool) True ;
5900 PyObject * obj0 = 0 ;
5901 PyObject * obj1 = 0 ;
5902 PyObject * obj2 = 0 ;
5903 char *kwnames[] = {
5904 (char *) "self",(char *) "position",(char *) "redraw", NULL
5905 };
5906
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
5908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5910 arg2 = (int) SWIG_AsInt(obj1);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 if (obj2) {
5913 arg3 = (bool) SWIG_AsBool(obj2);
5914 if (PyErr_Occurred()) SWIG_fail;
5915 }
5916 {
5917 PyThreadState* __tstate = wxPyBeginAllowThreads();
5918 (arg1)->SetSashPosition(arg2,arg3);
5919
5920 wxPyEndAllowThreads(__tstate);
5921 if (PyErr_Occurred()) SWIG_fail;
5922 }
5923 Py_INCREF(Py_None); resultobj = Py_None;
5924 return resultobj;
5925 fail:
5926 return NULL;
5927 }
5928
5929
5930 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5931 PyObject *resultobj;
5932 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5933 int result;
5934 PyObject * obj0 = 0 ;
5935 char *kwnames[] = {
5936 (char *) "self", NULL
5937 };
5938
5939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 resultobj = SWIG_FromInt((int)result);
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj;
5958 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5959 int arg2 ;
5960 PyObject * obj0 = 0 ;
5961 PyObject * obj1 = 0 ;
5962 char *kwnames[] = {
5963 (char *) "self",(char *) "min", NULL
5964 };
5965
5966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
5967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5969 arg2 = (int) SWIG_AsInt(obj1);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 (arg1)->SetMinimumPaneSize(arg2);
5974
5975 wxPyEndAllowThreads(__tstate);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 }
5978 Py_INCREF(Py_None); resultobj = Py_None;
5979 return resultobj;
5980 fail:
5981 return NULL;
5982 }
5983
5984
5985 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5986 PyObject *resultobj;
5987 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5988 int result;
5989 PyObject * obj0 = 0 ;
5990 char *kwnames[] = {
5991 (char *) "self", NULL
5992 };
5993
5994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6000
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 resultobj = SWIG_FromInt((int)result);
6005 return resultobj;
6006 fail:
6007 return NULL;
6008 }
6009
6010
6011 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6012 PyObject *resultobj;
6013 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6014 int arg2 ;
6015 int arg3 ;
6016 int arg4 = (int) 5 ;
6017 bool result;
6018 PyObject * obj0 = 0 ;
6019 PyObject * obj1 = 0 ;
6020 PyObject * obj2 = 0 ;
6021 PyObject * obj3 = 0 ;
6022 char *kwnames[] = {
6023 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6024 };
6025
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6029 arg2 = (int) SWIG_AsInt(obj1);
6030 if (PyErr_Occurred()) SWIG_fail;
6031 arg3 = (int) SWIG_AsInt(obj2);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 if (obj3) {
6034 arg4 = (int) SWIG_AsInt(obj3);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 {
6038 PyThreadState* __tstate = wxPyBeginAllowThreads();
6039 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6040
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
6044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6045 return resultobj;
6046 fail:
6047 return NULL;
6048 }
6049
6050
6051 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6052 PyObject *resultobj;
6053 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6054 PyObject * obj0 = 0 ;
6055 char *kwnames[] = {
6056 (char *) "self", NULL
6057 };
6058
6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6062 {
6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
6064 (arg1)->SizeWindows();
6065
6066 wxPyEndAllowThreads(__tstate);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 Py_INCREF(Py_None); resultobj = Py_None;
6070 return resultobj;
6071 fail:
6072 return NULL;
6073 }
6074
6075
6076 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6077 PyObject *resultobj;
6078 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6079 bool arg2 ;
6080 PyObject * obj0 = 0 ;
6081 PyObject * obj1 = 0 ;
6082 char *kwnames[] = {
6083 (char *) "self",(char *) "needUpdating", NULL
6084 };
6085
6086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6089 arg2 = (bool) SWIG_AsBool(obj1);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 (arg1)->SetNeedUpdating(arg2);
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 Py_INCREF(Py_None); resultobj = Py_None;
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6108 bool result;
6109 PyObject * obj0 = 0 ;
6110 char *kwnames[] = {
6111 (char *) "self", NULL
6112 };
6113
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6120
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
6124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6125 return resultobj;
6126 fail:
6127 return NULL;
6128 }
6129
6130
6131 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6132 PyObject *obj;
6133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6134 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6135 Py_INCREF(obj);
6136 return Py_BuildValue((char *)"");
6137 }
6138 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj;
6140 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6141 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6142 wxSplitterEvent *result;
6143 PyObject * obj0 = 0 ;
6144 PyObject * obj1 = 0 ;
6145 char *kwnames[] = {
6146 (char *) "type",(char *) "splitter", NULL
6147 };
6148
6149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6150 if (obj0) {
6151 arg1 = (wxEventType) SWIG_AsInt(obj0);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
6154 if (obj1) {
6155 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6157 }
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6161
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6166 return resultobj;
6167 fail:
6168 return NULL;
6169 }
6170
6171
6172 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj;
6174 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6175 int arg2 ;
6176 PyObject * obj0 = 0 ;
6177 PyObject * obj1 = 0 ;
6178 char *kwnames[] = {
6179 (char *) "self",(char *) "pos", NULL
6180 };
6181
6182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6185 arg2 = (int) SWIG_AsInt(obj1);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 {
6188 PyThreadState* __tstate = wxPyBeginAllowThreads();
6189 (arg1)->SetSashPosition(arg2);
6190
6191 wxPyEndAllowThreads(__tstate);
6192 if (PyErr_Occurred()) SWIG_fail;
6193 }
6194 Py_INCREF(Py_None); resultobj = Py_None;
6195 return resultobj;
6196 fail:
6197 return NULL;
6198 }
6199
6200
6201 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6202 PyObject *resultobj;
6203 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6204 int result;
6205 PyObject * obj0 = 0 ;
6206 char *kwnames[] = {
6207 (char *) "self", NULL
6208 };
6209
6210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6216
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
6220 resultobj = SWIG_FromInt((int)result);
6221 return resultobj;
6222 fail:
6223 return NULL;
6224 }
6225
6226
6227 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6228 PyObject *resultobj;
6229 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6230 wxWindow *result;
6231 PyObject * obj0 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 {
6247 resultobj = wxPyMake_wxObject(result);
6248 }
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6258 int result;
6259 PyObject * obj0 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6267 {
6268 PyThreadState* __tstate = wxPyBeginAllowThreads();
6269 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6270
6271 wxPyEndAllowThreads(__tstate);
6272 if (PyErr_Occurred()) SWIG_fail;
6273 }
6274 resultobj = SWIG_FromInt((int)result);
6275 return resultobj;
6276 fail:
6277 return NULL;
6278 }
6279
6280
6281 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6282 PyObject *resultobj;
6283 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6284 int result;
6285 PyObject * obj0 = 0 ;
6286 char *kwnames[] = {
6287 (char *) "self", NULL
6288 };
6289
6290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6296
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
6300 resultobj = SWIG_FromInt((int)result);
6301 return resultobj;
6302 fail:
6303 return NULL;
6304 }
6305
6306
6307 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6308 PyObject *obj;
6309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6310 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6311 Py_INCREF(obj);
6312 return Py_BuildValue((char *)"");
6313 }
6314 static int _wrap_SashNameStr_set(PyObject *_val) {
6315 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6316 return 1;
6317 }
6318
6319
6320 static PyObject *_wrap_SashNameStr_get() {
6321 PyObject *pyobj;
6322
6323 {
6324 #if wxUSE_UNICODE
6325 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6326 #else
6327 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6328 #endif
6329 }
6330 return pyobj;
6331 }
6332
6333
6334 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6335 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6336 return 1;
6337 }
6338
6339
6340 static PyObject *_wrap_SashLayoutNameStr_get() {
6341 PyObject *pyobj;
6342
6343 {
6344 #if wxUSE_UNICODE
6345 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6346 #else
6347 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6348 #endif
6349 }
6350 return pyobj;
6351 }
6352
6353
6354 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6355 PyObject *resultobj;
6356 wxWindow *arg1 = (wxWindow *) 0 ;
6357 int arg2 ;
6358 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6359 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6360 wxSize const &arg4_defvalue = wxDefaultSize ;
6361 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6362 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6363 wxString const &arg6_defvalue = wxPySashNameStr ;
6364 wxString *arg6 = (wxString *) &arg6_defvalue ;
6365 wxSashWindow *result;
6366 wxPoint temp3 ;
6367 wxSize temp4 ;
6368 bool temp6 = False ;
6369 PyObject * obj0 = 0 ;
6370 PyObject * obj1 = 0 ;
6371 PyObject * obj2 = 0 ;
6372 PyObject * obj3 = 0 ;
6373 PyObject * obj4 = 0 ;
6374 PyObject * obj5 = 0 ;
6375 char *kwnames[] = {
6376 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6382 arg2 = (int) SWIG_AsInt(obj1);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 if (obj2) {
6385 {
6386 arg3 = &temp3;
6387 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6388 }
6389 }
6390 if (obj3) {
6391 {
6392 arg4 = &temp4;
6393 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6394 }
6395 }
6396 if (obj4) {
6397 arg5 = (long) SWIG_AsLong(obj4);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 if (obj5) {
6401 {
6402 arg6 = wxString_in_helper(obj5);
6403 if (arg6 == NULL) SWIG_fail;
6404 temp6 = True;
6405 }
6406 }
6407 {
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6410
6411 wxPyEndAllowThreads(__tstate);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 }
6414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6415 {
6416 if (temp6)
6417 delete arg6;
6418 }
6419 return resultobj;
6420 fail:
6421 {
6422 if (temp6)
6423 delete arg6;
6424 }
6425 return NULL;
6426 }
6427
6428
6429 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6430 PyObject *resultobj;
6431 wxSashWindow *result;
6432 char *kwnames[] = {
6433 NULL
6434 };
6435
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6437 {
6438 PyThreadState* __tstate = wxPyBeginAllowThreads();
6439 result = (wxSashWindow *)new wxSashWindow();
6440
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6445 return resultobj;
6446 fail:
6447 return NULL;
6448 }
6449
6450
6451 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6452 PyObject *resultobj;
6453 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6454 wxWindow *arg2 = (wxWindow *) 0 ;
6455 int arg3 ;
6456 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6457 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6458 wxSize const &arg5_defvalue = wxDefaultSize ;
6459 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6460 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6461 wxString const &arg7_defvalue = wxPySashNameStr ;
6462 wxString *arg7 = (wxString *) &arg7_defvalue ;
6463 bool result;
6464 wxPoint temp4 ;
6465 wxSize temp5 ;
6466 bool temp7 = False ;
6467 PyObject * obj0 = 0 ;
6468 PyObject * obj1 = 0 ;
6469 PyObject * obj2 = 0 ;
6470 PyObject * obj3 = 0 ;
6471 PyObject * obj4 = 0 ;
6472 PyObject * obj5 = 0 ;
6473 PyObject * obj6 = 0 ;
6474 char *kwnames[] = {
6475 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6476 };
6477
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6483 arg3 = (int) SWIG_AsInt(obj2);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 if (obj3) {
6486 {
6487 arg4 = &temp4;
6488 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6489 }
6490 }
6491 if (obj4) {
6492 {
6493 arg5 = &temp5;
6494 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6495 }
6496 }
6497 if (obj5) {
6498 arg6 = (long) SWIG_AsLong(obj5);
6499 if (PyErr_Occurred()) SWIG_fail;
6500 }
6501 if (obj6) {
6502 {
6503 arg7 = wxString_in_helper(obj6);
6504 if (arg7 == NULL) SWIG_fail;
6505 temp7 = True;
6506 }
6507 }
6508 {
6509 PyThreadState* __tstate = wxPyBeginAllowThreads();
6510 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6511
6512 wxPyEndAllowThreads(__tstate);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 }
6515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6516 {
6517 if (temp7)
6518 delete arg7;
6519 }
6520 return resultobj;
6521 fail:
6522 {
6523 if (temp7)
6524 delete arg7;
6525 }
6526 return NULL;
6527 }
6528
6529
6530 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6531 PyObject *resultobj;
6532 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6533 int arg2 ;
6534 bool arg3 ;
6535 PyObject * obj0 = 0 ;
6536 PyObject * obj1 = 0 ;
6537 PyObject * obj2 = 0 ;
6538 char *kwnames[] = {
6539 (char *) "self",(char *) "edge",(char *) "sash", NULL
6540 };
6541
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6545 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 arg3 = (bool) SWIG_AsBool(obj2);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6552
6553 wxPyEndAllowThreads(__tstate);
6554 if (PyErr_Occurred()) SWIG_fail;
6555 }
6556 Py_INCREF(Py_None); resultobj = Py_None;
6557 return resultobj;
6558 fail:
6559 return NULL;
6560 }
6561
6562
6563 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject *resultobj;
6565 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6566 int arg2 ;
6567 bool result;
6568 PyObject * obj0 = 0 ;
6569 PyObject * obj1 = 0 ;
6570 char *kwnames[] = {
6571 (char *) "self",(char *) "edge", NULL
6572 };
6573
6574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6577 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6578 if (PyErr_Occurred()) SWIG_fail;
6579 {
6580 PyThreadState* __tstate = wxPyBeginAllowThreads();
6581 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6582
6583 wxPyEndAllowThreads(__tstate);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 }
6586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6587 return resultobj;
6588 fail:
6589 return NULL;
6590 }
6591
6592
6593 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6594 PyObject *resultobj;
6595 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6596 int arg2 ;
6597 bool arg3 ;
6598 PyObject * obj0 = 0 ;
6599 PyObject * obj1 = 0 ;
6600 PyObject * obj2 = 0 ;
6601 char *kwnames[] = {
6602 (char *) "self",(char *) "edge",(char *) "border", NULL
6603 };
6604
6605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6608 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6609 if (PyErr_Occurred()) SWIG_fail;
6610 arg3 = (bool) SWIG_AsBool(obj2);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6615
6616 wxPyEndAllowThreads(__tstate);
6617 if (PyErr_Occurred()) SWIG_fail;
6618 }
6619 Py_INCREF(Py_None); resultobj = Py_None;
6620 return resultobj;
6621 fail:
6622 return NULL;
6623 }
6624
6625
6626 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6627 PyObject *resultobj;
6628 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6629 int arg2 ;
6630 bool result;
6631 PyObject * obj0 = 0 ;
6632 PyObject * obj1 = 0 ;
6633 char *kwnames[] = {
6634 (char *) "self",(char *) "edge", NULL
6635 };
6636
6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6640 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6641 if (PyErr_Occurred()) SWIG_fail;
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6650 return resultobj;
6651 fail:
6652 return NULL;
6653 }
6654
6655
6656 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6657 PyObject *resultobj;
6658 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6659 int arg2 ;
6660 int result;
6661 PyObject * obj0 = 0 ;
6662 PyObject * obj1 = 0 ;
6663 char *kwnames[] = {
6664 (char *) "self",(char *) "edge", NULL
6665 };
6666
6667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6670 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6675
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
6679 resultobj = SWIG_FromInt((int)result);
6680 return resultobj;
6681 fail:
6682 return NULL;
6683 }
6684
6685
6686 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6687 PyObject *resultobj;
6688 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6689 int arg2 ;
6690 PyObject * obj0 = 0 ;
6691 PyObject * obj1 = 0 ;
6692 char *kwnames[] = {
6693 (char *) "self",(char *) "width", NULL
6694 };
6695
6696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6699 arg2 = (int) SWIG_AsInt(obj1);
6700 if (PyErr_Occurred()) SWIG_fail;
6701 {
6702 PyThreadState* __tstate = wxPyBeginAllowThreads();
6703 (arg1)->SetDefaultBorderSize(arg2);
6704
6705 wxPyEndAllowThreads(__tstate);
6706 if (PyErr_Occurred()) SWIG_fail;
6707 }
6708 Py_INCREF(Py_None); resultobj = Py_None;
6709 return resultobj;
6710 fail:
6711 return NULL;
6712 }
6713
6714
6715 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6716 PyObject *resultobj;
6717 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6718 int result;
6719 PyObject * obj0 = 0 ;
6720 char *kwnames[] = {
6721 (char *) "self", NULL
6722 };
6723
6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6727 {
6728 PyThreadState* __tstate = wxPyBeginAllowThreads();
6729 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6730
6731 wxPyEndAllowThreads(__tstate);
6732 if (PyErr_Occurred()) SWIG_fail;
6733 }
6734 resultobj = SWIG_FromInt((int)result);
6735 return resultobj;
6736 fail:
6737 return NULL;
6738 }
6739
6740
6741 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj;
6743 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6744 int arg2 ;
6745 PyObject * obj0 = 0 ;
6746 PyObject * obj1 = 0 ;
6747 char *kwnames[] = {
6748 (char *) "self",(char *) "width", NULL
6749 };
6750
6751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6754 arg2 = (int) SWIG_AsInt(obj1);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 {
6757 PyThreadState* __tstate = wxPyBeginAllowThreads();
6758 (arg1)->SetExtraBorderSize(arg2);
6759
6760 wxPyEndAllowThreads(__tstate);
6761 if (PyErr_Occurred()) SWIG_fail;
6762 }
6763 Py_INCREF(Py_None); resultobj = Py_None;
6764 return resultobj;
6765 fail:
6766 return NULL;
6767 }
6768
6769
6770 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6771 PyObject *resultobj;
6772 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6773 int result;
6774 PyObject * obj0 = 0 ;
6775 char *kwnames[] = {
6776 (char *) "self", NULL
6777 };
6778
6779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 resultobj = SWIG_FromInt((int)result);
6790 return resultobj;
6791 fail:
6792 return NULL;
6793 }
6794
6795
6796 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6797 PyObject *resultobj;
6798 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6799 int arg2 ;
6800 PyObject * obj0 = 0 ;
6801 PyObject * obj1 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "self",(char *) "min", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6809 arg2 = (int) SWIG_AsInt(obj1);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 {
6812 PyThreadState* __tstate = wxPyBeginAllowThreads();
6813 (arg1)->SetMinimumSizeX(arg2);
6814
6815 wxPyEndAllowThreads(__tstate);
6816 if (PyErr_Occurred()) SWIG_fail;
6817 }
6818 Py_INCREF(Py_None); resultobj = Py_None;
6819 return resultobj;
6820 fail:
6821 return NULL;
6822 }
6823
6824
6825 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6826 PyObject *resultobj;
6827 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6828 int arg2 ;
6829 PyObject * obj0 = 0 ;
6830 PyObject * obj1 = 0 ;
6831 char *kwnames[] = {
6832 (char *) "self",(char *) "min", NULL
6833 };
6834
6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6838 arg2 = (int) SWIG_AsInt(obj1);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 (arg1)->SetMinimumSizeY(arg2);
6843
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 Py_INCREF(Py_None); resultobj = Py_None;
6848 return resultobj;
6849 fail:
6850 return NULL;
6851 }
6852
6853
6854 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj;
6856 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6857 int result;
6858 PyObject * obj0 = 0 ;
6859 char *kwnames[] = {
6860 (char *) "self", NULL
6861 };
6862
6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 resultobj = SWIG_FromInt((int)result);
6874 return resultobj;
6875 fail:
6876 return NULL;
6877 }
6878
6879
6880 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6883 int result;
6884 PyObject * obj0 = 0 ;
6885 char *kwnames[] = {
6886 (char *) "self", NULL
6887 };
6888
6889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6892 {
6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
6894 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6895
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 resultobj = SWIG_FromInt((int)result);
6900 return resultobj;
6901 fail:
6902 return NULL;
6903 }
6904
6905
6906 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6907 PyObject *resultobj;
6908 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6909 int arg2 ;
6910 PyObject * obj0 = 0 ;
6911 PyObject * obj1 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self",(char *) "max", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
6917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6919 arg2 = (int) SWIG_AsInt(obj1);
6920 if (PyErr_Occurred()) SWIG_fail;
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 (arg1)->SetMaximumSizeX(arg2);
6924
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 Py_INCREF(Py_None); resultobj = Py_None;
6929 return resultobj;
6930 fail:
6931 return NULL;
6932 }
6933
6934
6935 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj;
6937 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6938 int arg2 ;
6939 PyObject * obj0 = 0 ;
6940 PyObject * obj1 = 0 ;
6941 char *kwnames[] = {
6942 (char *) "self",(char *) "max", NULL
6943 };
6944
6945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
6946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6948 arg2 = (int) SWIG_AsInt(obj1);
6949 if (PyErr_Occurred()) SWIG_fail;
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 (arg1)->SetMaximumSizeY(arg2);
6953
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 Py_INCREF(Py_None); resultobj = Py_None;
6958 return resultobj;
6959 fail:
6960 return NULL;
6961 }
6962
6963
6964 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj;
6966 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6967 int result;
6968 PyObject * obj0 = 0 ;
6969 char *kwnames[] = {
6970 (char *) "self", NULL
6971 };
6972
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6976 {
6977 PyThreadState* __tstate = wxPyBeginAllowThreads();
6978 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6979
6980 wxPyEndAllowThreads(__tstate);
6981 if (PyErr_Occurred()) SWIG_fail;
6982 }
6983 resultobj = SWIG_FromInt((int)result);
6984 return resultobj;
6985 fail:
6986 return NULL;
6987 }
6988
6989
6990 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6991 PyObject *resultobj;
6992 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6993 int result;
6994 PyObject * obj0 = 0 ;
6995 char *kwnames[] = {
6996 (char *) "self", NULL
6997 };
6998
6999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7002 {
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 resultobj = SWIG_FromInt((int)result);
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj;
7018 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7019 int arg2 ;
7020 int arg3 ;
7021 int arg4 = (int) 2 ;
7022 int result;
7023 PyObject * obj0 = 0 ;
7024 PyObject * obj1 = 0 ;
7025 PyObject * obj2 = 0 ;
7026 PyObject * obj3 = 0 ;
7027 char *kwnames[] = {
7028 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7029 };
7030
7031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7034 arg2 = (int) SWIG_AsInt(obj1);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 arg3 = (int) SWIG_AsInt(obj2);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 if (obj3) {
7039 arg4 = (int) SWIG_AsInt(obj3);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 resultobj = SWIG_FromInt((int)result);
7050 return resultobj;
7051 fail:
7052 return NULL;
7053 }
7054
7055
7056 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj;
7058 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7059 PyObject * obj0 = 0 ;
7060 char *kwnames[] = {
7061 (char *) "self", NULL
7062 };
7063
7064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7067 {
7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
7069 (arg1)->SizeWindows();
7070
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 }
7074 Py_INCREF(Py_None); resultobj = Py_None;
7075 return resultobj;
7076 fail:
7077 return NULL;
7078 }
7079
7080
7081 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7082 PyObject *obj;
7083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7084 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7085 Py_INCREF(obj);
7086 return Py_BuildValue((char *)"");
7087 }
7088 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7089 PyObject *resultobj;
7090 int arg1 = (int) 0 ;
7091 int arg2 = (int) wxSASH_NONE ;
7092 wxSashEvent *result;
7093 PyObject * obj0 = 0 ;
7094 PyObject * obj1 = 0 ;
7095 char *kwnames[] = {
7096 (char *) "id",(char *) "edge", NULL
7097 };
7098
7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7100 if (obj0) {
7101 arg1 = (int) SWIG_AsInt(obj0);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 if (obj1) {
7105 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7111
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7116 return resultobj;
7117 fail:
7118 return NULL;
7119 }
7120
7121
7122 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj;
7124 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7125 int arg2 ;
7126 PyObject * obj0 = 0 ;
7127 PyObject * obj1 = 0 ;
7128 char *kwnames[] = {
7129 (char *) "self",(char *) "edge", NULL
7130 };
7131
7132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7135 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 {
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7140
7141 wxPyEndAllowThreads(__tstate);
7142 if (PyErr_Occurred()) SWIG_fail;
7143 }
7144 Py_INCREF(Py_None); resultobj = Py_None;
7145 return resultobj;
7146 fail:
7147 return NULL;
7148 }
7149
7150
7151 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7152 PyObject *resultobj;
7153 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7154 int result;
7155 PyObject * obj0 = 0 ;
7156 char *kwnames[] = {
7157 (char *) "self", NULL
7158 };
7159
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7163 {
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7166
7167 wxPyEndAllowThreads(__tstate);
7168 if (PyErr_Occurred()) SWIG_fail;
7169 }
7170 resultobj = SWIG_FromInt((int)result);
7171 return resultobj;
7172 fail:
7173 return NULL;
7174 }
7175
7176
7177 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj;
7179 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7180 wxRect *arg2 = 0 ;
7181 wxRect temp2 ;
7182 PyObject * obj0 = 0 ;
7183 PyObject * obj1 = 0 ;
7184 char *kwnames[] = {
7185 (char *) "self",(char *) "rect", NULL
7186 };
7187
7188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7191 {
7192 arg2 = &temp2;
7193 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7194 }
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 (arg1)->SetDragRect((wxRect const &)*arg2);
7198
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
7202 Py_INCREF(Py_None); resultobj = Py_None;
7203 return resultobj;
7204 fail:
7205 return NULL;
7206 }
7207
7208
7209 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7210 PyObject *resultobj;
7211 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7212 wxRect result;
7213 PyObject * obj0 = 0 ;
7214 char *kwnames[] = {
7215 (char *) "self", NULL
7216 };
7217
7218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7221 {
7222 PyThreadState* __tstate = wxPyBeginAllowThreads();
7223 result = ((wxSashEvent const *)arg1)->GetDragRect();
7224
7225 wxPyEndAllowThreads(__tstate);
7226 if (PyErr_Occurred()) SWIG_fail;
7227 }
7228 {
7229 wxRect * resultptr;
7230 resultptr = new wxRect((wxRect &) result);
7231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7232 }
7233 return resultobj;
7234 fail:
7235 return NULL;
7236 }
7237
7238
7239 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7240 PyObject *resultobj;
7241 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7242 int arg2 ;
7243 PyObject * obj0 = 0 ;
7244 PyObject * obj1 = 0 ;
7245 char *kwnames[] = {
7246 (char *) "self",(char *) "status", NULL
7247 };
7248
7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7252 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7253 if (PyErr_Occurred()) SWIG_fail;
7254 {
7255 PyThreadState* __tstate = wxPyBeginAllowThreads();
7256 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7257
7258 wxPyEndAllowThreads(__tstate);
7259 if (PyErr_Occurred()) SWIG_fail;
7260 }
7261 Py_INCREF(Py_None); resultobj = Py_None;
7262 return resultobj;
7263 fail:
7264 return NULL;
7265 }
7266
7267
7268 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7269 PyObject *resultobj;
7270 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7271 int result;
7272 PyObject * obj0 = 0 ;
7273 char *kwnames[] = {
7274 (char *) "self", NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 resultobj = SWIG_FromInt((int)result);
7288 return resultobj;
7289 fail:
7290 return NULL;
7291 }
7292
7293
7294 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7295 PyObject *obj;
7296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7297 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7298 Py_INCREF(obj);
7299 return Py_BuildValue((char *)"");
7300 }
7301 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 int arg1 = (int) 0 ;
7304 wxQueryLayoutInfoEvent *result;
7305 PyObject * obj0 = 0 ;
7306 char *kwnames[] = {
7307 (char *) "id", NULL
7308 };
7309
7310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7311 if (obj0) {
7312 arg1 = (int) SWIG_AsInt(obj0);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7323 return resultobj;
7324 fail:
7325 return NULL;
7326 }
7327
7328
7329 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7330 PyObject *resultobj;
7331 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7332 int arg2 ;
7333 PyObject * obj0 = 0 ;
7334 PyObject * obj1 = 0 ;
7335 char *kwnames[] = {
7336 (char *) "self",(char *) "length", NULL
7337 };
7338
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7342 arg2 = (int) SWIG_AsInt(obj1);
7343 if (PyErr_Occurred()) SWIG_fail;
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 (arg1)->SetRequestedLength(arg2);
7347
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 Py_INCREF(Py_None); resultobj = Py_None;
7352 return resultobj;
7353 fail:
7354 return NULL;
7355 }
7356
7357
7358 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj;
7360 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7361 int result;
7362 PyObject * obj0 = 0 ;
7363 char *kwnames[] = {
7364 (char *) "self", NULL
7365 };
7366
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7373
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 resultobj = SWIG_FromInt((int)result);
7378 return resultobj;
7379 fail:
7380 return NULL;
7381 }
7382
7383
7384 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7385 PyObject *resultobj;
7386 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7387 int arg2 ;
7388 PyObject * obj0 = 0 ;
7389 PyObject * obj1 = 0 ;
7390 char *kwnames[] = {
7391 (char *) "self",(char *) "flags", NULL
7392 };
7393
7394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7397 arg2 = (int) SWIG_AsInt(obj1);
7398 if (PyErr_Occurred()) SWIG_fail;
7399 {
7400 PyThreadState* __tstate = wxPyBeginAllowThreads();
7401 (arg1)->SetFlags(arg2);
7402
7403 wxPyEndAllowThreads(__tstate);
7404 if (PyErr_Occurred()) SWIG_fail;
7405 }
7406 Py_INCREF(Py_None); resultobj = Py_None;
7407 return resultobj;
7408 fail:
7409 return NULL;
7410 }
7411
7412
7413 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7414 PyObject *resultobj;
7415 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7416 int result;
7417 PyObject * obj0 = 0 ;
7418 char *kwnames[] = {
7419 (char *) "self", NULL
7420 };
7421
7422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7428
7429 wxPyEndAllowThreads(__tstate);
7430 if (PyErr_Occurred()) SWIG_fail;
7431 }
7432 resultobj = SWIG_FromInt((int)result);
7433 return resultobj;
7434 fail:
7435 return NULL;
7436 }
7437
7438
7439 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj;
7441 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7442 wxSize *arg2 = 0 ;
7443 wxSize temp2 ;
7444 PyObject * obj0 = 0 ;
7445 PyObject * obj1 = 0 ;
7446 char *kwnames[] = {
7447 (char *) "self",(char *) "size", NULL
7448 };
7449
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7453 {
7454 arg2 = &temp2;
7455 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7456 }
7457 {
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 (arg1)->SetSize((wxSize const &)*arg2);
7460
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 Py_INCREF(Py_None); resultobj = Py_None;
7465 return resultobj;
7466 fail:
7467 return NULL;
7468 }
7469
7470
7471 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7474 wxSize result;
7475 PyObject * obj0 = 0 ;
7476 char *kwnames[] = {
7477 (char *) "self", NULL
7478 };
7479
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7483 {
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7486
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 {
7491 wxSize * resultptr;
7492 resultptr = new wxSize((wxSize &) result);
7493 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7494 }
7495 return resultobj;
7496 fail:
7497 return NULL;
7498 }
7499
7500
7501 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj;
7503 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7504 int arg2 ;
7505 PyObject * obj0 = 0 ;
7506 PyObject * obj1 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self",(char *) "orient", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7514 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 {
7517 PyThreadState* __tstate = wxPyBeginAllowThreads();
7518 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7519
7520 wxPyEndAllowThreads(__tstate);
7521 if (PyErr_Occurred()) SWIG_fail;
7522 }
7523 Py_INCREF(Py_None); resultobj = Py_None;
7524 return resultobj;
7525 fail:
7526 return NULL;
7527 }
7528
7529
7530 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7531 PyObject *resultobj;
7532 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7533 int result;
7534 PyObject * obj0 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 resultobj = SWIG_FromInt((int)result);
7550 return resultobj;
7551 fail:
7552 return NULL;
7553 }
7554
7555
7556 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7557 PyObject *resultobj;
7558 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7559 int arg2 ;
7560 PyObject * obj0 = 0 ;
7561 PyObject * obj1 = 0 ;
7562 char *kwnames[] = {
7563 (char *) "self",(char *) "align", NULL
7564 };
7565
7566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7569 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 Py_INCREF(Py_None); resultobj = Py_None;
7579 return resultobj;
7580 fail:
7581 return NULL;
7582 }
7583
7584
7585 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7586 PyObject *resultobj;
7587 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7588 int result;
7589 PyObject * obj0 = 0 ;
7590 char *kwnames[] = {
7591 (char *) "self", NULL
7592 };
7593
7594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7600
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 resultobj = SWIG_FromInt((int)result);
7605 return resultobj;
7606 fail:
7607 return NULL;
7608 }
7609
7610
7611 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7612 PyObject *obj;
7613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7614 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7615 Py_INCREF(obj);
7616 return Py_BuildValue((char *)"");
7617 }
7618 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 int arg1 = (int) 0 ;
7621 wxCalculateLayoutEvent *result;
7622 PyObject * obj0 = 0 ;
7623 char *kwnames[] = {
7624 (char *) "id", NULL
7625 };
7626
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7628 if (obj0) {
7629 arg1 = (int) SWIG_AsInt(obj0);
7630 if (PyErr_Occurred()) SWIG_fail;
7631 }
7632 {
7633 PyThreadState* __tstate = wxPyBeginAllowThreads();
7634 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7635
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7640 return resultobj;
7641 fail:
7642 return NULL;
7643 }
7644
7645
7646 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7647 PyObject *resultobj;
7648 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7649 int arg2 ;
7650 PyObject * obj0 = 0 ;
7651 PyObject * obj1 = 0 ;
7652 char *kwnames[] = {
7653 (char *) "self",(char *) "flags", NULL
7654 };
7655
7656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7659 arg2 = (int) SWIG_AsInt(obj1);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 {
7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
7663 (arg1)->SetFlags(arg2);
7664
7665 wxPyEndAllowThreads(__tstate);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 }
7668 Py_INCREF(Py_None); resultobj = Py_None;
7669 return resultobj;
7670 fail:
7671 return NULL;
7672 }
7673
7674
7675 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7676 PyObject *resultobj;
7677 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7678 int result;
7679 PyObject * obj0 = 0 ;
7680 char *kwnames[] = {
7681 (char *) "self", NULL
7682 };
7683
7684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7690
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 resultobj = SWIG_FromInt((int)result);
7695 return resultobj;
7696 fail:
7697 return NULL;
7698 }
7699
7700
7701 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7702 PyObject *resultobj;
7703 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7704 wxRect *arg2 = 0 ;
7705 wxRect temp2 ;
7706 PyObject * obj0 = 0 ;
7707 PyObject * obj1 = 0 ;
7708 char *kwnames[] = {
7709 (char *) "self",(char *) "rect", NULL
7710 };
7711
7712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7715 {
7716 arg2 = &temp2;
7717 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7718 }
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 (arg1)->SetRect((wxRect const &)*arg2);
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 Py_INCREF(Py_None); resultobj = Py_None;
7727 return resultobj;
7728 fail:
7729 return NULL;
7730 }
7731
7732
7733 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7736 wxRect result;
7737 PyObject * obj0 = 0 ;
7738 char *kwnames[] = {
7739 (char *) "self", NULL
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7748
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 {
7753 wxRect * resultptr;
7754 resultptr = new wxRect((wxRect &) result);
7755 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7756 }
7757 return resultobj;
7758 fail:
7759 return NULL;
7760 }
7761
7762
7763 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7764 PyObject *obj;
7765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7766 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7767 Py_INCREF(obj);
7768 return Py_BuildValue((char *)"");
7769 }
7770 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7771 PyObject *resultobj;
7772 wxWindow *arg1 = (wxWindow *) 0 ;
7773 int arg2 ;
7774 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7775 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7776 wxSize const &arg4_defvalue = wxDefaultSize ;
7777 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7778 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7779 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7780 wxString *arg6 = (wxString *) &arg6_defvalue ;
7781 wxSashLayoutWindow *result;
7782 wxPoint temp3 ;
7783 wxSize temp4 ;
7784 bool temp6 = False ;
7785 PyObject * obj0 = 0 ;
7786 PyObject * obj1 = 0 ;
7787 PyObject * obj2 = 0 ;
7788 PyObject * obj3 = 0 ;
7789 PyObject * obj4 = 0 ;
7790 PyObject * obj5 = 0 ;
7791 char *kwnames[] = {
7792 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7793 };
7794
7795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7798 arg2 = (int) SWIG_AsInt(obj1);
7799 if (PyErr_Occurred()) SWIG_fail;
7800 if (obj2) {
7801 {
7802 arg3 = &temp3;
7803 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7804 }
7805 }
7806 if (obj3) {
7807 {
7808 arg4 = &temp4;
7809 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7810 }
7811 }
7812 if (obj4) {
7813 arg5 = (long) SWIG_AsLong(obj4);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
7816 if (obj5) {
7817 {
7818 arg6 = wxString_in_helper(obj5);
7819 if (arg6 == NULL) SWIG_fail;
7820 temp6 = True;
7821 }
7822 }
7823 {
7824 PyThreadState* __tstate = wxPyBeginAllowThreads();
7825 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7826
7827 wxPyEndAllowThreads(__tstate);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 }
7830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7831 {
7832 if (temp6)
7833 delete arg6;
7834 }
7835 return resultobj;
7836 fail:
7837 {
7838 if (temp6)
7839 delete arg6;
7840 }
7841 return NULL;
7842 }
7843
7844
7845 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 wxSashLayoutWindow *result;
7848 char *kwnames[] = {
7849 NULL
7850 };
7851
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7853 {
7854 PyThreadState* __tstate = wxPyBeginAllowThreads();
7855 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7856
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7861 return resultobj;
7862 fail:
7863 return NULL;
7864 }
7865
7866
7867 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7868 PyObject *resultobj;
7869 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7870 wxWindow *arg2 = (wxWindow *) 0 ;
7871 int arg3 ;
7872 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7873 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7874 wxSize const &arg5_defvalue = wxDefaultSize ;
7875 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7876 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7877 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7878 wxString *arg7 = (wxString *) &arg7_defvalue ;
7879 bool result;
7880 wxPoint temp4 ;
7881 wxSize temp5 ;
7882 bool temp7 = False ;
7883 PyObject * obj0 = 0 ;
7884 PyObject * obj1 = 0 ;
7885 PyObject * obj2 = 0 ;
7886 PyObject * obj3 = 0 ;
7887 PyObject * obj4 = 0 ;
7888 PyObject * obj5 = 0 ;
7889 PyObject * obj6 = 0 ;
7890 char *kwnames[] = {
7891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7892 };
7893
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7897 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7899 arg3 = (int) SWIG_AsInt(obj2);
7900 if (PyErr_Occurred()) SWIG_fail;
7901 if (obj3) {
7902 {
7903 arg4 = &temp4;
7904 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7905 }
7906 }
7907 if (obj4) {
7908 {
7909 arg5 = &temp5;
7910 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7911 }
7912 }
7913 if (obj5) {
7914 arg6 = (long) SWIG_AsLong(obj5);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 if (obj6) {
7918 {
7919 arg7 = wxString_in_helper(obj6);
7920 if (arg7 == NULL) SWIG_fail;
7921 temp7 = True;
7922 }
7923 }
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7927
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 }
7931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7932 {
7933 if (temp7)
7934 delete arg7;
7935 }
7936 return resultobj;
7937 fail:
7938 {
7939 if (temp7)
7940 delete arg7;
7941 }
7942 return NULL;
7943 }
7944
7945
7946 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7947 PyObject *resultobj;
7948 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7949 int result;
7950 PyObject * obj0 = 0 ;
7951 char *kwnames[] = {
7952 (char *) "self", NULL
7953 };
7954
7955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7958 {
7959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7960 result = (int)(arg1)->GetAlignment();
7961
7962 wxPyEndAllowThreads(__tstate);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 }
7965 resultobj = SWIG_FromInt((int)result);
7966 return resultobj;
7967 fail:
7968 return NULL;
7969 }
7970
7971
7972 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7973 PyObject *resultobj;
7974 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7975 int result;
7976 PyObject * obj0 = 0 ;
7977 char *kwnames[] = {
7978 (char *) "self", NULL
7979 };
7980
7981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7984 {
7985 PyThreadState* __tstate = wxPyBeginAllowThreads();
7986 result = (int)(arg1)->GetOrientation();
7987
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 resultobj = SWIG_FromInt((int)result);
7992 return resultobj;
7993 fail:
7994 return NULL;
7995 }
7996
7997
7998 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8001 int arg2 ;
8002 PyObject * obj0 = 0 ;
8003 PyObject * obj1 = 0 ;
8004 char *kwnames[] = {
8005 (char *) "self",(char *) "alignment", NULL
8006 };
8007
8008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8011 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 Py_INCREF(Py_None); resultobj = Py_None;
8021 return resultobj;
8022 fail:
8023 return NULL;
8024 }
8025
8026
8027 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8028 PyObject *resultobj;
8029 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8030 wxSize *arg2 = 0 ;
8031 wxSize temp2 ;
8032 PyObject * obj0 = 0 ;
8033 PyObject * obj1 = 0 ;
8034 char *kwnames[] = {
8035 (char *) "self",(char *) "size", NULL
8036 };
8037
8038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8041 {
8042 arg2 = &temp2;
8043 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8044 }
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 Py_INCREF(Py_None); resultobj = Py_None;
8053 return resultobj;
8054 fail:
8055 return NULL;
8056 }
8057
8058
8059 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8060 PyObject *resultobj;
8061 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8062 int arg2 ;
8063 PyObject * obj0 = 0 ;
8064 PyObject * obj1 = 0 ;
8065 char *kwnames[] = {
8066 (char *) "self",(char *) "orientation", NULL
8067 };
8068
8069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8072 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8073 if (PyErr_Occurred()) SWIG_fail;
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 Py_INCREF(Py_None); resultobj = Py_None;
8082 return resultobj;
8083 fail:
8084 return NULL;
8085 }
8086
8087
8088 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8089 PyObject *obj;
8090 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8091 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8092 Py_INCREF(obj);
8093 return Py_BuildValue((char *)"");
8094 }
8095 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8096 PyObject *resultobj;
8097 wxLayoutAlgorithm *result;
8098 char *kwnames[] = {
8099 NULL
8100 };
8101
8102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8106
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8111 return resultobj;
8112 fail:
8113 return NULL;
8114 }
8115
8116
8117 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8118 PyObject *resultobj;
8119 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8120 PyObject * obj0 = 0 ;
8121 char *kwnames[] = {
8122 (char *) "self", NULL
8123 };
8124
8125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8128 {
8129 PyThreadState* __tstate = wxPyBeginAllowThreads();
8130 delete arg1;
8131
8132 wxPyEndAllowThreads(__tstate);
8133 if (PyErr_Occurred()) SWIG_fail;
8134 }
8135 Py_INCREF(Py_None); resultobj = Py_None;
8136 return resultobj;
8137 fail:
8138 return NULL;
8139 }
8140
8141
8142 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8143 PyObject *resultobj;
8144 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8145 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8146 wxRect *arg3 = (wxRect *) NULL ;
8147 bool result;
8148 PyObject * obj0 = 0 ;
8149 PyObject * obj1 = 0 ;
8150 PyObject * obj2 = 0 ;
8151 char *kwnames[] = {
8152 (char *) "self",(char *) "frame",(char *) "rect", NULL
8153 };
8154
8155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8160 if (obj2) {
8161 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8163 }
8164 {
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8167
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8172 return resultobj;
8173 fail:
8174 return NULL;
8175 }
8176
8177
8178 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8181 wxFrame *arg2 = (wxFrame *) 0 ;
8182 wxWindow *arg3 = (wxWindow *) NULL ;
8183 bool result;
8184 PyObject * obj0 = 0 ;
8185 PyObject * obj1 = 0 ;
8186 PyObject * obj2 = 0 ;
8187 char *kwnames[] = {
8188 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8189 };
8190
8191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8196 if (obj2) {
8197 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8199 }
8200 {
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8203
8204 wxPyEndAllowThreads(__tstate);
8205 if (PyErr_Occurred()) SWIG_fail;
8206 }
8207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8208 return resultobj;
8209 fail:
8210 return NULL;
8211 }
8212
8213
8214 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8215 PyObject *resultobj;
8216 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8217 wxWindow *arg2 = (wxWindow *) 0 ;
8218 wxWindow *arg3 = (wxWindow *) NULL ;
8219 bool result;
8220 PyObject * obj0 = 0 ;
8221 PyObject * obj1 = 0 ;
8222 PyObject * obj2 = 0 ;
8223 char *kwnames[] = {
8224 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8225 };
8226
8227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8232 if (obj2) {
8233 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8235 }
8236 {
8237 PyThreadState* __tstate = wxPyBeginAllowThreads();
8238 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8239
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 }
8243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8244 return resultobj;
8245 fail:
8246 return NULL;
8247 }
8248
8249
8250 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8251 PyObject *obj;
8252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8253 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8254 Py_INCREF(obj);
8255 return Py_BuildValue((char *)"");
8256 }
8257 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8258 PyObject *resultobj;
8259 wxWindow *arg1 = (wxWindow *) 0 ;
8260 int arg2 = (int) wxBORDER_NONE ;
8261 wxPopupWindow *result;
8262 PyObject * obj0 = 0 ;
8263 PyObject * obj1 = 0 ;
8264 char *kwnames[] = {
8265 (char *) "parent",(char *) "flags", NULL
8266 };
8267
8268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8271 if (obj1) {
8272 arg2 = (int) SWIG_AsInt(obj1);
8273 if (PyErr_Occurred()) SWIG_fail;
8274 }
8275 {
8276 PyThreadState* __tstate = wxPyBeginAllowThreads();
8277 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8278
8279 wxPyEndAllowThreads(__tstate);
8280 if (PyErr_Occurred()) SWIG_fail;
8281 }
8282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8283 return resultobj;
8284 fail:
8285 return NULL;
8286 }
8287
8288
8289 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8290 PyObject *resultobj;
8291 wxPopupWindow *result;
8292 char *kwnames[] = {
8293 NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8297 {
8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
8299 result = (wxPopupWindow *)new wxPopupWindow();
8300
8301 wxPyEndAllowThreads(__tstate);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 }
8304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8305 return resultobj;
8306 fail:
8307 return NULL;
8308 }
8309
8310
8311 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8312 PyObject *resultobj;
8313 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8314 wxWindow *arg2 = (wxWindow *) 0 ;
8315 int arg3 = (int) wxBORDER_NONE ;
8316 bool result;
8317 PyObject * obj0 = 0 ;
8318 PyObject * obj1 = 0 ;
8319 PyObject * obj2 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "self",(char *) "parent",(char *) "flags", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8327 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8329 if (obj2) {
8330 arg3 = (int) SWIG_AsInt(obj2);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 result = (bool)(arg1)->Create(arg2,arg3);
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) SWIG_fail;
8339 }
8340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8341 return resultobj;
8342 fail:
8343 return NULL;
8344 }
8345
8346
8347 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8348 PyObject *resultobj;
8349 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8350 wxPoint *arg2 = 0 ;
8351 wxSize *arg3 = 0 ;
8352 wxPoint temp2 ;
8353 wxSize temp3 ;
8354 PyObject * obj0 = 0 ;
8355 PyObject * obj1 = 0 ;
8356 PyObject * obj2 = 0 ;
8357 char *kwnames[] = {
8358 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8359 };
8360
8361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8364 {
8365 arg2 = &temp2;
8366 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8367 }
8368 {
8369 arg3 = &temp3;
8370 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8371 }
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8375
8376 wxPyEndAllowThreads(__tstate);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 }
8379 Py_INCREF(Py_None); resultobj = Py_None;
8380 return resultobj;
8381 fail:
8382 return NULL;
8383 }
8384
8385
8386 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8387 PyObject *obj;
8388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8389 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8390 Py_INCREF(obj);
8391 return Py_BuildValue((char *)"");
8392 }
8393 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8394 PyObject *resultobj;
8395 wxWindow *arg1 = (wxWindow *) 0 ;
8396 int arg2 = (int) wxBORDER_NONE ;
8397 wxPyPopupTransientWindow *result;
8398 PyObject * obj0 = 0 ;
8399 PyObject * obj1 = 0 ;
8400 char *kwnames[] = {
8401 (char *) "parent",(char *) "style", NULL
8402 };
8403
8404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8407 if (obj1) {
8408 arg2 = (int) SWIG_AsInt(obj1);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxPyPopupTransientWindow *result;
8428 char *kwnames[] = {
8429 NULL
8430 };
8431
8432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8441 return resultobj;
8442 fail:
8443 return NULL;
8444 }
8445
8446
8447 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8450 PyObject *arg2 = (PyObject *) 0 ;
8451 PyObject *arg3 = (PyObject *) 0 ;
8452 PyObject * obj0 = 0 ;
8453 PyObject * obj1 = 0 ;
8454 PyObject * obj2 = 0 ;
8455 char *kwnames[] = {
8456 (char *) "self",(char *) "self",(char *) "_class", NULL
8457 };
8458
8459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8462 arg2 = obj1;
8463 arg3 = obj2;
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 (arg1)->_setCallbackInfo(arg2,arg3);
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 Py_INCREF(Py_None); resultobj = Py_None;
8472 return resultobj;
8473 fail:
8474 return NULL;
8475 }
8476
8477
8478 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8479 PyObject *resultobj;
8480 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8481 wxWindow *arg2 = (wxWindow *) NULL ;
8482 PyObject * obj0 = 0 ;
8483 PyObject * obj1 = 0 ;
8484 char *kwnames[] = {
8485 (char *) "self",(char *) "focus", NULL
8486 };
8487
8488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8491 if (obj1) {
8492 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8494 }
8495 {
8496 PyThreadState* __tstate = wxPyBeginAllowThreads();
8497 (arg1)->Popup(arg2);
8498
8499 wxPyEndAllowThreads(__tstate);
8500 if (PyErr_Occurred()) SWIG_fail;
8501 }
8502 Py_INCREF(Py_None); resultobj = Py_None;
8503 return resultobj;
8504 fail:
8505 return NULL;
8506 }
8507
8508
8509 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8510 PyObject *resultobj;
8511 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8512 PyObject * obj0 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 (arg1)->Dismiss();
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 Py_INCREF(Py_None); resultobj = Py_None;
8528 return resultobj;
8529 fail:
8530 return NULL;
8531 }
8532
8533
8534 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8535 PyObject *obj;
8536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8537 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8538 Py_INCREF(obj);
8539 return Py_BuildValue((char *)"");
8540 }
8541 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8542 PyObject *resultobj;
8543 wxWindow *arg1 = (wxWindow *) 0 ;
8544 wxString *arg2 = 0 ;
8545 int arg3 = (int) 100 ;
8546 wxRect *arg4 = (wxRect *) NULL ;
8547 wxTipWindow *result;
8548 bool temp2 = False ;
8549 PyObject * obj0 = 0 ;
8550 PyObject * obj1 = 0 ;
8551 PyObject * obj2 = 0 ;
8552 PyObject * obj3 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8560 {
8561 arg2 = wxString_in_helper(obj1);
8562 if (arg2 == NULL) SWIG_fail;
8563 temp2 = True;
8564 }
8565 if (obj2) {
8566 arg3 = (int) SWIG_AsInt(obj2);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
8569 if (obj3) {
8570 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8572 }
8573 {
8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
8575 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8576
8577 wxPyEndAllowThreads(__tstate);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 }
8580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8581 {
8582 if (temp2)
8583 delete arg2;
8584 }
8585 return resultobj;
8586 fail:
8587 {
8588 if (temp2)
8589 delete arg2;
8590 }
8591 return NULL;
8592 }
8593
8594
8595 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8596 PyObject *resultobj;
8597 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8598 wxRect *arg2 = 0 ;
8599 wxRect temp2 ;
8600 PyObject * obj0 = 0 ;
8601 PyObject * obj1 = 0 ;
8602 char *kwnames[] = {
8603 (char *) "self",(char *) "rectBound", NULL
8604 };
8605
8606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8609 {
8610 arg2 = &temp2;
8611 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8612 }
8613 {
8614 PyThreadState* __tstate = wxPyBeginAllowThreads();
8615 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8616
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 Py_INCREF(Py_None); resultobj = Py_None;
8621 return resultobj;
8622 fail:
8623 return NULL;
8624 }
8625
8626
8627 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8628 PyObject *resultobj;
8629 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8630 PyObject * obj0 = 0 ;
8631 char *kwnames[] = {
8632 (char *) "self", NULL
8633 };
8634
8635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 (arg1)->Close();
8641
8642 wxPyEndAllowThreads(__tstate);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
8645 Py_INCREF(Py_None); resultobj = Py_None;
8646 return resultobj;
8647 fail:
8648 return NULL;
8649 }
8650
8651
8652 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8653 PyObject *obj;
8654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8655 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8656 Py_INCREF(obj);
8657 return Py_BuildValue((char *)"");
8658 }
8659 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8660 PyObject *resultobj;
8661 wxWindow *arg1 = (wxWindow *) 0 ;
8662 int arg2 = (int) wxID_ANY ;
8663 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8664 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8665 wxSize const &arg4_defvalue = wxDefaultSize ;
8666 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8667 long arg5 = (long) 0 ;
8668 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8669 wxString *arg6 = (wxString *) &arg6_defvalue ;
8670 wxPyVScrolledWindow *result;
8671 wxPoint temp3 ;
8672 wxSize temp4 ;
8673 bool temp6 = False ;
8674 PyObject * obj0 = 0 ;
8675 PyObject * obj1 = 0 ;
8676 PyObject * obj2 = 0 ;
8677 PyObject * obj3 = 0 ;
8678 PyObject * obj4 = 0 ;
8679 PyObject * obj5 = 0 ;
8680 char *kwnames[] = {
8681 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8687 if (obj1) {
8688 arg2 = (int) SWIG_AsInt(obj1);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 if (obj2) {
8692 {
8693 arg3 = &temp3;
8694 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8695 }
8696 }
8697 if (obj3) {
8698 {
8699 arg4 = &temp4;
8700 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8701 }
8702 }
8703 if (obj4) {
8704 arg5 = (long) SWIG_AsLong(obj4);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
8707 if (obj5) {
8708 {
8709 arg6 = wxString_in_helper(obj5);
8710 if (arg6 == NULL) SWIG_fail;
8711 temp6 = True;
8712 }
8713 }
8714 {
8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
8716 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8717
8718 wxPyEndAllowThreads(__tstate);
8719 if (PyErr_Occurred()) SWIG_fail;
8720 }
8721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8722 {
8723 if (temp6)
8724 delete arg6;
8725 }
8726 return resultobj;
8727 fail:
8728 {
8729 if (temp6)
8730 delete arg6;
8731 }
8732 return NULL;
8733 }
8734
8735
8736 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8737 PyObject *resultobj;
8738 wxPyVScrolledWindow *result;
8739 char *kwnames[] = {
8740 NULL
8741 };
8742
8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
8746 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8752 return resultobj;
8753 fail:
8754 return NULL;
8755 }
8756
8757
8758 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8759 PyObject *resultobj;
8760 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8761 PyObject *arg2 = (PyObject *) 0 ;
8762 PyObject *arg3 = (PyObject *) 0 ;
8763 PyObject * obj0 = 0 ;
8764 PyObject * obj1 = 0 ;
8765 PyObject * obj2 = 0 ;
8766 char *kwnames[] = {
8767 (char *) "self",(char *) "self",(char *) "_class", NULL
8768 };
8769
8770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8773 arg2 = obj1;
8774 arg3 = obj2;
8775 {
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 (arg1)->_setCallbackInfo(arg2,arg3);
8778
8779 wxPyEndAllowThreads(__tstate);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
8782 Py_INCREF(Py_None); resultobj = Py_None;
8783 return resultobj;
8784 fail:
8785 return NULL;
8786 }
8787
8788
8789 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj;
8791 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8792 wxWindow *arg2 = (wxWindow *) 0 ;
8793 int arg3 = (int) wxID_ANY ;
8794 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8795 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8796 wxSize const &arg5_defvalue = wxDefaultSize ;
8797 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8798 long arg6 = (long) 0 ;
8799 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8800 wxString *arg7 = (wxString *) &arg7_defvalue ;
8801 bool result;
8802 wxPoint temp4 ;
8803 wxSize temp5 ;
8804 bool temp7 = False ;
8805 PyObject * obj0 = 0 ;
8806 PyObject * obj1 = 0 ;
8807 PyObject * obj2 = 0 ;
8808 PyObject * obj3 = 0 ;
8809 PyObject * obj4 = 0 ;
8810 PyObject * obj5 = 0 ;
8811 PyObject * obj6 = 0 ;
8812 char *kwnames[] = {
8813 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8814 };
8815
8816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8821 if (obj2) {
8822 arg3 = (int) SWIG_AsInt(obj2);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 if (obj3) {
8826 {
8827 arg4 = &temp4;
8828 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8829 }
8830 }
8831 if (obj4) {
8832 {
8833 arg5 = &temp5;
8834 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8835 }
8836 }
8837 if (obj5) {
8838 arg6 = (long) SWIG_AsLong(obj5);
8839 if (PyErr_Occurred()) SWIG_fail;
8840 }
8841 if (obj6) {
8842 {
8843 arg7 = wxString_in_helper(obj6);
8844 if (arg7 == NULL) SWIG_fail;
8845 temp7 = True;
8846 }
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8856 {
8857 if (temp7)
8858 delete arg7;
8859 }
8860 return resultobj;
8861 fail:
8862 {
8863 if (temp7)
8864 delete arg7;
8865 }
8866 return NULL;
8867 }
8868
8869
8870 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8871 PyObject *resultobj;
8872 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8873 size_t arg2 ;
8874 PyObject * obj0 = 0 ;
8875 PyObject * obj1 = 0 ;
8876 char *kwnames[] = {
8877 (char *) "self",(char *) "count", NULL
8878 };
8879
8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8883 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 (arg1)->SetLineCount(arg2);
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 Py_INCREF(Py_None); resultobj = Py_None;
8893 return resultobj;
8894 fail:
8895 return NULL;
8896 }
8897
8898
8899 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8900 PyObject *resultobj;
8901 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8902 size_t arg2 ;
8903 bool result;
8904 PyObject * obj0 = 0 ;
8905 PyObject * obj1 = 0 ;
8906 char *kwnames[] = {
8907 (char *) "self",(char *) "line", NULL
8908 };
8909
8910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8913 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 result = (bool)(arg1)->ScrollToLine(arg2);
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8923 return resultobj;
8924 fail:
8925 return NULL;
8926 }
8927
8928
8929 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj;
8931 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8932 int arg2 ;
8933 bool result;
8934 PyObject * obj0 = 0 ;
8935 PyObject * obj1 = 0 ;
8936 char *kwnames[] = {
8937 (char *) "self",(char *) "lines", NULL
8938 };
8939
8940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8943 arg2 = (int) SWIG_AsInt(obj1);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 {
8946 PyThreadState* __tstate = wxPyBeginAllowThreads();
8947 result = (bool)(arg1)->ScrollLines(arg2);
8948
8949 wxPyEndAllowThreads(__tstate);
8950 if (PyErr_Occurred()) SWIG_fail;
8951 }
8952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8953 return resultobj;
8954 fail:
8955 return NULL;
8956 }
8957
8958
8959 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8960 PyObject *resultobj;
8961 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8962 int arg2 ;
8963 bool result;
8964 PyObject * obj0 = 0 ;
8965 PyObject * obj1 = 0 ;
8966 char *kwnames[] = {
8967 (char *) "self",(char *) "pages", NULL
8968 };
8969
8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
8971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8973 arg2 = (int) SWIG_AsInt(obj1);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 result = (bool)(arg1)->ScrollPages(arg2);
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8983 return resultobj;
8984 fail:
8985 return NULL;
8986 }
8987
8988
8989 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8990 PyObject *resultobj;
8991 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8992 size_t arg2 ;
8993 PyObject * obj0 = 0 ;
8994 PyObject * obj1 = 0 ;
8995 char *kwnames[] = {
8996 (char *) "self",(char *) "line", NULL
8997 };
8998
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9002 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 {
9005 PyThreadState* __tstate = wxPyBeginAllowThreads();
9006 (arg1)->RefreshLine(arg2);
9007
9008 wxPyEndAllowThreads(__tstate);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 }
9011 Py_INCREF(Py_None); resultobj = Py_None;
9012 return resultobj;
9013 fail:
9014 return NULL;
9015 }
9016
9017
9018 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj;
9020 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9021 size_t arg2 ;
9022 size_t arg3 ;
9023 PyObject * obj0 = 0 ;
9024 PyObject * obj1 = 0 ;
9025 PyObject * obj2 = 0 ;
9026 char *kwnames[] = {
9027 (char *) "self",(char *) "from",(char *) "to", NULL
9028 };
9029
9030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9033 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 (arg1)->RefreshLines(arg2,arg3);
9040
9041 wxPyEndAllowThreads(__tstate);
9042 if (PyErr_Occurred()) SWIG_fail;
9043 }
9044 Py_INCREF(Py_None); resultobj = Py_None;
9045 return resultobj;
9046 fail:
9047 return NULL;
9048 }
9049
9050
9051 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9052 PyObject *resultobj;
9053 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9054 int arg2 ;
9055 int arg3 ;
9056 int result;
9057 PyObject * obj0 = 0 ;
9058 PyObject * obj1 = 0 ;
9059 PyObject * obj2 = 0 ;
9060 char *kwnames[] = {
9061 (char *) "self",(char *) "x",(char *) "y", NULL
9062 };
9063
9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9067 arg2 = (int) SWIG_AsInt(obj1);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 arg3 = (int) SWIG_AsInt(obj2);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 resultobj = SWIG_FromInt((int)result);
9079 return resultobj;
9080 fail:
9081 return NULL;
9082 }
9083
9084
9085 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9086 PyObject *resultobj;
9087 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9088 wxPoint *arg2 = 0 ;
9089 int result;
9090 wxPoint temp2 ;
9091 PyObject * obj0 = 0 ;
9092 PyObject * obj1 = 0 ;
9093 char *kwnames[] = {
9094 (char *) "self",(char *) "pt", NULL
9095 };
9096
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9100 {
9101 arg2 = &temp2;
9102 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9103 }
9104 {
9105 PyThreadState* __tstate = wxPyBeginAllowThreads();
9106 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9107
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 resultobj = SWIG_FromInt((int)result);
9112 return resultobj;
9113 fail:
9114 return NULL;
9115 }
9116
9117
9118 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9119 PyObject *resultobj;
9120 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9121 PyObject * obj0 = 0 ;
9122 char *kwnames[] = {
9123 (char *) "self", NULL
9124 };
9125
9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 (arg1)->RefreshAll();
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 Py_INCREF(Py_None); resultobj = Py_None;
9137 return resultobj;
9138 fail:
9139 return NULL;
9140 }
9141
9142
9143 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj;
9145 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9146 size_t result;
9147 PyObject * obj0 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "self", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9155 {
9156 PyThreadState* __tstate = wxPyBeginAllowThreads();
9157 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9158
9159 wxPyEndAllowThreads(__tstate);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
9162 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9163 return resultobj;
9164 fail:
9165 return NULL;
9166 }
9167
9168
9169 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9170 PyObject *resultobj;
9171 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9172 size_t result;
9173 PyObject * obj0 = 0 ;
9174 char *kwnames[] = {
9175 (char *) "self", NULL
9176 };
9177
9178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9189 return resultobj;
9190 fail:
9191 return NULL;
9192 }
9193
9194
9195 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj;
9197 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9198 size_t result;
9199 PyObject * obj0 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "self", NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9215 return resultobj;
9216 fail:
9217 return NULL;
9218 }
9219
9220
9221 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9222 PyObject *resultobj;
9223 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9224 size_t arg2 ;
9225 bool result;
9226 PyObject * obj0 = 0 ;
9227 PyObject * obj1 = 0 ;
9228 char *kwnames[] = {
9229 (char *) "self",(char *) "line", NULL
9230 };
9231
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9235 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9240
9241 wxPyEndAllowThreads(__tstate);
9242 if (PyErr_Occurred()) SWIG_fail;
9243 }
9244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9245 return resultobj;
9246 fail:
9247 return NULL;
9248 }
9249
9250
9251 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9252 PyObject *obj;
9253 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9254 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9255 Py_INCREF(obj);
9256 return Py_BuildValue((char *)"");
9257 }
9258 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9259 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9260 return 1;
9261 }
9262
9263
9264 static PyObject *_wrap_VListBoxNameStr_get() {
9265 PyObject *pyobj;
9266
9267 {
9268 #if wxUSE_UNICODE
9269 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9270 #else
9271 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9272 #endif
9273 }
9274 return pyobj;
9275 }
9276
9277
9278 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9279 PyObject *resultobj;
9280 wxWindow *arg1 = (wxWindow *) 0 ;
9281 int arg2 = (int) wxID_ANY ;
9282 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9283 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9284 wxSize const &arg4_defvalue = wxDefaultSize ;
9285 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9286 long arg5 = (long) 0 ;
9287 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9288 wxString *arg6 = (wxString *) &arg6_defvalue ;
9289 wxPyVListBox *result;
9290 wxPoint temp3 ;
9291 wxSize temp4 ;
9292 bool temp6 = False ;
9293 PyObject * obj0 = 0 ;
9294 PyObject * obj1 = 0 ;
9295 PyObject * obj2 = 0 ;
9296 PyObject * obj3 = 0 ;
9297 PyObject * obj4 = 0 ;
9298 PyObject * obj5 = 0 ;
9299 char *kwnames[] = {
9300 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9301 };
9302
9303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9306 if (obj1) {
9307 arg2 = (int) SWIG_AsInt(obj1);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 }
9310 if (obj2) {
9311 {
9312 arg3 = &temp3;
9313 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9314 }
9315 }
9316 if (obj3) {
9317 {
9318 arg4 = &temp4;
9319 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9320 }
9321 }
9322 if (obj4) {
9323 arg5 = (long) SWIG_AsLong(obj4);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 if (obj5) {
9327 {
9328 arg6 = wxString_in_helper(obj5);
9329 if (arg6 == NULL) SWIG_fail;
9330 temp6 = True;
9331 }
9332 }
9333 {
9334 PyThreadState* __tstate = wxPyBeginAllowThreads();
9335 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9336
9337 wxPyEndAllowThreads(__tstate);
9338 if (PyErr_Occurred()) SWIG_fail;
9339 }
9340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9341 {
9342 if (temp6)
9343 delete arg6;
9344 }
9345 return resultobj;
9346 fail:
9347 {
9348 if (temp6)
9349 delete arg6;
9350 }
9351 return NULL;
9352 }
9353
9354
9355 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9356 PyObject *resultobj;
9357 wxPyVListBox *result;
9358 char *kwnames[] = {
9359 NULL
9360 };
9361
9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9363 {
9364 PyThreadState* __tstate = wxPyBeginAllowThreads();
9365 result = (wxPyVListBox *)new wxPyVListBox();
9366
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
9370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9371 return resultobj;
9372 fail:
9373 return NULL;
9374 }
9375
9376
9377 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9378 PyObject *resultobj;
9379 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9380 PyObject *arg2 = (PyObject *) 0 ;
9381 PyObject *arg3 = (PyObject *) 0 ;
9382 PyObject * obj0 = 0 ;
9383 PyObject * obj1 = 0 ;
9384 PyObject * obj2 = 0 ;
9385 char *kwnames[] = {
9386 (char *) "self",(char *) "self",(char *) "_class", NULL
9387 };
9388
9389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9392 arg2 = obj1;
9393 arg3 = obj2;
9394 {
9395 PyThreadState* __tstate = wxPyBeginAllowThreads();
9396 (arg1)->_setCallbackInfo(arg2,arg3);
9397
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 Py_INCREF(Py_None); resultobj = Py_None;
9402 return resultobj;
9403 fail:
9404 return NULL;
9405 }
9406
9407
9408 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9409 PyObject *resultobj;
9410 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9411 wxWindow *arg2 = (wxWindow *) 0 ;
9412 int arg3 = (int) wxID_ANY ;
9413 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9414 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9415 wxSize const &arg5_defvalue = wxDefaultSize ;
9416 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9417 long arg6 = (long) 0 ;
9418 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9419 wxString *arg7 = (wxString *) &arg7_defvalue ;
9420 bool result;
9421 wxPoint temp4 ;
9422 wxSize temp5 ;
9423 bool temp7 = False ;
9424 PyObject * obj0 = 0 ;
9425 PyObject * obj1 = 0 ;
9426 PyObject * obj2 = 0 ;
9427 PyObject * obj3 = 0 ;
9428 PyObject * obj4 = 0 ;
9429 PyObject * obj5 = 0 ;
9430 PyObject * obj6 = 0 ;
9431 char *kwnames[] = {
9432 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9433 };
9434
9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9440 if (obj2) {
9441 arg3 = (int) SWIG_AsInt(obj2);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
9444 if (obj3) {
9445 {
9446 arg4 = &temp4;
9447 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9448 }
9449 }
9450 if (obj4) {
9451 {
9452 arg5 = &temp5;
9453 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9454 }
9455 }
9456 if (obj5) {
9457 arg6 = (long) SWIG_AsLong(obj5);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 if (obj6) {
9461 {
9462 arg7 = wxString_in_helper(obj6);
9463 if (arg7 == NULL) SWIG_fail;
9464 temp7 = True;
9465 }
9466 }
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9475 {
9476 if (temp7)
9477 delete arg7;
9478 }
9479 return resultobj;
9480 fail:
9481 {
9482 if (temp7)
9483 delete arg7;
9484 }
9485 return NULL;
9486 }
9487
9488
9489 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9490 PyObject *resultobj;
9491 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9492 size_t result;
9493 PyObject * obj0 = 0 ;
9494 char *kwnames[] = {
9495 (char *) "self", NULL
9496 };
9497
9498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9501 {
9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
9503 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9504
9505 wxPyEndAllowThreads(__tstate);
9506 if (PyErr_Occurred()) SWIG_fail;
9507 }
9508 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9509 return resultobj;
9510 fail:
9511 return NULL;
9512 }
9513
9514
9515 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9516 PyObject *resultobj;
9517 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9518 bool result;
9519 PyObject * obj0 = 0 ;
9520 char *kwnames[] = {
9521 (char *) "self", NULL
9522 };
9523
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9530
9531 wxPyEndAllowThreads(__tstate);
9532 if (PyErr_Occurred()) SWIG_fail;
9533 }
9534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9535 return resultobj;
9536 fail:
9537 return NULL;
9538 }
9539
9540
9541 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9542 PyObject *resultobj;
9543 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9544 int result;
9545 PyObject * obj0 = 0 ;
9546 char *kwnames[] = {
9547 (char *) "self", NULL
9548 };
9549
9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9553 {
9554 PyThreadState* __tstate = wxPyBeginAllowThreads();
9555 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9556
9557 wxPyEndAllowThreads(__tstate);
9558 if (PyErr_Occurred()) SWIG_fail;
9559 }
9560 resultobj = SWIG_FromInt((int)result);
9561 return resultobj;
9562 fail:
9563 return NULL;
9564 }
9565
9566
9567 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9568 PyObject *resultobj;
9569 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9570 size_t arg2 ;
9571 bool result;
9572 PyObject * obj0 = 0 ;
9573 PyObject * obj1 = 0 ;
9574 char *kwnames[] = {
9575 (char *) "self",(char *) "item", NULL
9576 };
9577
9578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9581 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9582 if (PyErr_Occurred()) SWIG_fail;
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9585 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9586
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) SWIG_fail;
9589 }
9590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9591 return resultobj;
9592 fail:
9593 return NULL;
9594 }
9595
9596
9597 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9598 PyObject *resultobj;
9599 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9600 size_t arg2 ;
9601 bool result;
9602 PyObject * obj0 = 0 ;
9603 PyObject * obj1 = 0 ;
9604 char *kwnames[] = {
9605 (char *) "self",(char *) "item", NULL
9606 };
9607
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9611 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 {
9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
9615 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9616
9617 wxPyEndAllowThreads(__tstate);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 }
9620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9621 return resultobj;
9622 fail:
9623 return NULL;
9624 }
9625
9626
9627 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9628 PyObject *resultobj;
9629 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9630 size_t result;
9631 PyObject * obj0 = 0 ;
9632 char *kwnames[] = {
9633 (char *) "self", NULL
9634 };
9635
9636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9639 {
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
9641 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9642
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
9646 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9647 return resultobj;
9648 fail:
9649 return NULL;
9650 }
9651
9652
9653 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj;
9655 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9656 unsigned long *arg2 = 0 ;
9657 int result;
9658 PyObject * obj0 = 0 ;
9659 PyObject * obj1 = 0 ;
9660 char *kwnames[] = {
9661 (char *) "self",(char *) "cookie", NULL
9662 };
9663
9664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9668 SWIG_POINTER_EXCEPTION | 0)) == -1)
9669 SWIG_fail;
9670 if (arg2 == NULL) {
9671 PyErr_SetString(PyExc_TypeError,"null reference");
9672 SWIG_fail;
9673 }
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 resultobj = SWIG_FromInt((int)result);
9682 return resultobj;
9683 fail:
9684 return NULL;
9685 }
9686
9687
9688 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj;
9690 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9691 unsigned long *arg2 = 0 ;
9692 int result;
9693 PyObject * obj0 = 0 ;
9694 PyObject * obj1 = 0 ;
9695 char *kwnames[] = {
9696 (char *) "self",(char *) "cookie", NULL
9697 };
9698
9699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9703 SWIG_POINTER_EXCEPTION | 0)) == -1)
9704 SWIG_fail;
9705 if (arg2 == NULL) {
9706 PyErr_SetString(PyExc_TypeError,"null reference");
9707 SWIG_fail;
9708 }
9709 {
9710 PyThreadState* __tstate = wxPyBeginAllowThreads();
9711 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9712
9713 wxPyEndAllowThreads(__tstate);
9714 if (PyErr_Occurred()) SWIG_fail;
9715 }
9716 resultobj = SWIG_FromInt((int)result);
9717 return resultobj;
9718 fail:
9719 return NULL;
9720 }
9721
9722
9723 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9724 PyObject *resultobj;
9725 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9726 wxPoint result;
9727 PyObject * obj0 = 0 ;
9728 char *kwnames[] = {
9729 (char *) "self", NULL
9730 };
9731
9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9735 {
9736 PyThreadState* __tstate = wxPyBeginAllowThreads();
9737 result = ((wxPyVListBox const *)arg1)->GetMargins();
9738
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 {
9743 wxPoint * resultptr;
9744 resultptr = new wxPoint((wxPoint &) result);
9745 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9746 }
9747 return resultobj;
9748 fail:
9749 return NULL;
9750 }
9751
9752
9753 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9754 PyObject *resultobj;
9755 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9756 wxColour *result;
9757 PyObject * obj0 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 {
9768 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9769 result = (wxColour *) &_result_ref;
9770 }
9771
9772 wxPyEndAllowThreads(__tstate);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 }
9775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9776 return resultobj;
9777 fail:
9778 return NULL;
9779 }
9780
9781
9782 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9783 PyObject *resultobj;
9784 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9785 size_t arg2 ;
9786 PyObject * obj0 = 0 ;
9787 PyObject * obj1 = 0 ;
9788 char *kwnames[] = {
9789 (char *) "self",(char *) "count", NULL
9790 };
9791
9792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9795 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 (arg1)->SetItemCount(arg2);
9800
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 Py_INCREF(Py_None); resultobj = Py_None;
9805 return resultobj;
9806 fail:
9807 return NULL;
9808 }
9809
9810
9811 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9814 PyObject * obj0 = 0 ;
9815 char *kwnames[] = {
9816 (char *) "self", NULL
9817 };
9818
9819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9822 {
9823 PyThreadState* __tstate = wxPyBeginAllowThreads();
9824 (arg1)->Clear();
9825
9826 wxPyEndAllowThreads(__tstate);
9827 if (PyErr_Occurred()) SWIG_fail;
9828 }
9829 Py_INCREF(Py_None); resultobj = Py_None;
9830 return resultobj;
9831 fail:
9832 return NULL;
9833 }
9834
9835
9836 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9837 PyObject *resultobj;
9838 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9839 int arg2 ;
9840 PyObject * obj0 = 0 ;
9841 PyObject * obj1 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "self",(char *) "selection", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9849 arg2 = (int) SWIG_AsInt(obj1);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 (arg1)->SetSelection(arg2);
9854
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 Py_INCREF(Py_None); resultobj = Py_None;
9859 return resultobj;
9860 fail:
9861 return NULL;
9862 }
9863
9864
9865 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9866 PyObject *resultobj;
9867 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9868 size_t arg2 ;
9869 bool arg3 = (bool) True ;
9870 bool result;
9871 PyObject * obj0 = 0 ;
9872 PyObject * obj1 = 0 ;
9873 PyObject * obj2 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self",(char *) "item",(char *) "select", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9881 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9882 if (PyErr_Occurred()) SWIG_fail;
9883 if (obj2) {
9884 arg3 = (bool) SWIG_AsBool(obj2);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
9887 {
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
9889 result = (bool)(arg1)->Select(arg2,arg3);
9890
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 }
9894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9895 return resultobj;
9896 fail:
9897 return NULL;
9898 }
9899
9900
9901 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9902 PyObject *resultobj;
9903 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9904 size_t arg2 ;
9905 size_t arg3 ;
9906 bool result;
9907 PyObject * obj0 = 0 ;
9908 PyObject * obj1 = 0 ;
9909 PyObject * obj2 = 0 ;
9910 char *kwnames[] = {
9911 (char *) "self",(char *) "from",(char *) "to", NULL
9912 };
9913
9914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9917 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9920 if (PyErr_Occurred()) SWIG_fail;
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 result = (bool)(arg1)->SelectRange(arg2,arg3);
9924
9925 wxPyEndAllowThreads(__tstate);
9926 if (PyErr_Occurred()) SWIG_fail;
9927 }
9928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9929 return resultobj;
9930 fail:
9931 return NULL;
9932 }
9933
9934
9935 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9936 PyObject *resultobj;
9937 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9938 size_t arg2 ;
9939 PyObject * obj0 = 0 ;
9940 PyObject * obj1 = 0 ;
9941 char *kwnames[] = {
9942 (char *) "self",(char *) "item", NULL
9943 };
9944
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9948 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
9952 (arg1)->Toggle(arg2);
9953
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 Py_INCREF(Py_None); resultobj = Py_None;
9958 return resultobj;
9959 fail:
9960 return NULL;
9961 }
9962
9963
9964 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9965 PyObject *resultobj;
9966 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9967 bool result;
9968 PyObject * obj0 = 0 ;
9969 char *kwnames[] = {
9970 (char *) "self", NULL
9971 };
9972
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 result = (bool)(arg1)->SelectAll();
9979
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9984 return resultobj;
9985 fail:
9986 return NULL;
9987 }
9988
9989
9990 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9991 PyObject *resultobj;
9992 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9993 bool result;
9994 PyObject * obj0 = 0 ;
9995 char *kwnames[] = {
9996 (char *) "self", NULL
9997 };
9998
9999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10002 {
10003 PyThreadState* __tstate = wxPyBeginAllowThreads();
10004 result = (bool)(arg1)->DeselectAll();
10005
10006 wxPyEndAllowThreads(__tstate);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 }
10009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10010 return resultobj;
10011 fail:
10012 return NULL;
10013 }
10014
10015
10016 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10017 PyObject *resultobj;
10018 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10019 wxPoint *arg2 = 0 ;
10020 wxPoint temp2 ;
10021 PyObject * obj0 = 0 ;
10022 PyObject * obj1 = 0 ;
10023 char *kwnames[] = {
10024 (char *) "self",(char *) "pt", NULL
10025 };
10026
10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10030 {
10031 arg2 = &temp2;
10032 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10033 }
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 (arg1)->SetMargins((wxPoint const &)*arg2);
10037
10038 wxPyEndAllowThreads(__tstate);
10039 if (PyErr_Occurred()) SWIG_fail;
10040 }
10041 Py_INCREF(Py_None); resultobj = Py_None;
10042 return resultobj;
10043 fail:
10044 return NULL;
10045 }
10046
10047
10048 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10049 PyObject *resultobj;
10050 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10051 int arg2 ;
10052 int arg3 ;
10053 PyObject * obj0 = 0 ;
10054 PyObject * obj1 = 0 ;
10055 PyObject * obj2 = 0 ;
10056 char *kwnames[] = {
10057 (char *) "self",(char *) "x",(char *) "y", NULL
10058 };
10059
10060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10063 arg2 = (int) SWIG_AsInt(obj1);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 arg3 = (int) SWIG_AsInt(obj2);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 (arg1)->SetMargins(arg2,arg3);
10070
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 Py_INCREF(Py_None); resultobj = Py_None;
10075 return resultobj;
10076 fail:
10077 return NULL;
10078 }
10079
10080
10081 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10082 PyObject *resultobj;
10083 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10084 wxColour *arg2 = 0 ;
10085 wxColour temp2 ;
10086 PyObject * obj0 = 0 ;
10087 PyObject * obj1 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self",(char *) "col", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10095 {
10096 arg2 = &temp2;
10097 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10098 }
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 Py_INCREF(Py_None); resultobj = Py_None;
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10114 PyObject *obj;
10115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10116 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10117 Py_INCREF(obj);
10118 return Py_BuildValue((char *)"");
10119 }
10120 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10121 PyObject *resultobj;
10122 wxWindow *arg1 = (wxWindow *) 0 ;
10123 int arg2 = (int) wxID_ANY ;
10124 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10125 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10126 wxSize const &arg4_defvalue = wxDefaultSize ;
10127 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10128 long arg5 = (long) 0 ;
10129 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10130 wxString *arg6 = (wxString *) &arg6_defvalue ;
10131 wxPyHtmlListBox *result;
10132 wxPoint temp3 ;
10133 wxSize temp4 ;
10134 bool temp6 = False ;
10135 PyObject * obj0 = 0 ;
10136 PyObject * obj1 = 0 ;
10137 PyObject * obj2 = 0 ;
10138 PyObject * obj3 = 0 ;
10139 PyObject * obj4 = 0 ;
10140 PyObject * obj5 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10143 };
10144
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10148 if (obj1) {
10149 arg2 = (int) SWIG_AsInt(obj1);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 if (obj2) {
10153 {
10154 arg3 = &temp3;
10155 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10156 }
10157 }
10158 if (obj3) {
10159 {
10160 arg4 = &temp4;
10161 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10162 }
10163 }
10164 if (obj4) {
10165 arg5 = (long) SWIG_AsLong(obj4);
10166 if (PyErr_Occurred()) SWIG_fail;
10167 }
10168 if (obj5) {
10169 {
10170 arg6 = wxString_in_helper(obj5);
10171 if (arg6 == NULL) SWIG_fail;
10172 temp6 = True;
10173 }
10174 }
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10178
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10183 {
10184 if (temp6)
10185 delete arg6;
10186 }
10187 return resultobj;
10188 fail:
10189 {
10190 if (temp6)
10191 delete arg6;
10192 }
10193 return NULL;
10194 }
10195
10196
10197 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10198 PyObject *resultobj;
10199 wxPyHtmlListBox *result;
10200 char *kwnames[] = {
10201 NULL
10202 };
10203
10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10205 {
10206 PyThreadState* __tstate = wxPyBeginAllowThreads();
10207 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10208
10209 wxPyEndAllowThreads(__tstate);
10210 if (PyErr_Occurred()) SWIG_fail;
10211 }
10212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10213 return resultobj;
10214 fail:
10215 return NULL;
10216 }
10217
10218
10219 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj;
10221 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10222 PyObject *arg2 = (PyObject *) 0 ;
10223 PyObject *arg3 = (PyObject *) 0 ;
10224 PyObject * obj0 = 0 ;
10225 PyObject * obj1 = 0 ;
10226 PyObject * obj2 = 0 ;
10227 char *kwnames[] = {
10228 (char *) "self",(char *) "self",(char *) "_class", NULL
10229 };
10230
10231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10234 arg2 = obj1;
10235 arg3 = obj2;
10236 {
10237 PyThreadState* __tstate = wxPyBeginAllowThreads();
10238 (arg1)->_setCallbackInfo(arg2,arg3);
10239
10240 wxPyEndAllowThreads(__tstate);
10241 if (PyErr_Occurred()) SWIG_fail;
10242 }
10243 Py_INCREF(Py_None); resultobj = Py_None;
10244 return resultobj;
10245 fail:
10246 return NULL;
10247 }
10248
10249
10250 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10251 PyObject *resultobj;
10252 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10253 wxWindow *arg2 = (wxWindow *) 0 ;
10254 int arg3 = (int) wxID_ANY ;
10255 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10256 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10257 wxSize const &arg5_defvalue = wxDefaultSize ;
10258 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10259 long arg6 = (long) 0 ;
10260 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10261 wxString *arg7 = (wxString *) &arg7_defvalue ;
10262 bool result;
10263 wxPoint temp4 ;
10264 wxSize temp5 ;
10265 bool temp7 = False ;
10266 PyObject * obj0 = 0 ;
10267 PyObject * obj1 = 0 ;
10268 PyObject * obj2 = 0 ;
10269 PyObject * obj3 = 0 ;
10270 PyObject * obj4 = 0 ;
10271 PyObject * obj5 = 0 ;
10272 PyObject * obj6 = 0 ;
10273 char *kwnames[] = {
10274 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10275 };
10276
10277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10280 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10282 if (obj2) {
10283 arg3 = (int) SWIG_AsInt(obj2);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 if (obj3) {
10287 {
10288 arg4 = &temp4;
10289 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10290 }
10291 }
10292 if (obj4) {
10293 {
10294 arg5 = &temp5;
10295 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10296 }
10297 }
10298 if (obj5) {
10299 arg6 = (long) SWIG_AsLong(obj5);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 }
10302 if (obj6) {
10303 {
10304 arg7 = wxString_in_helper(obj6);
10305 if (arg7 == NULL) SWIG_fail;
10306 temp7 = True;
10307 }
10308 }
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10312
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10317 {
10318 if (temp7)
10319 delete arg7;
10320 }
10321 return resultobj;
10322 fail:
10323 {
10324 if (temp7)
10325 delete arg7;
10326 }
10327 return NULL;
10328 }
10329
10330
10331 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10332 PyObject *resultobj;
10333 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10334 PyObject * obj0 = 0 ;
10335 char *kwnames[] = {
10336 (char *) "self", NULL
10337 };
10338
10339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10342 {
10343 PyThreadState* __tstate = wxPyBeginAllowThreads();
10344 (arg1)->RefreshAll();
10345
10346 wxPyEndAllowThreads(__tstate);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 }
10349 Py_INCREF(Py_None); resultobj = Py_None;
10350 return resultobj;
10351 fail:
10352 return NULL;
10353 }
10354
10355
10356 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10357 PyObject *resultobj;
10358 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10359 size_t arg2 ;
10360 PyObject * obj0 = 0 ;
10361 PyObject * obj1 = 0 ;
10362 char *kwnames[] = {
10363 (char *) "self",(char *) "count", NULL
10364 };
10365
10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10369 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 (arg1)->SetItemCount(arg2);
10374
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 Py_INCREF(Py_None); resultobj = Py_None;
10379 return resultobj;
10380 fail:
10381 return NULL;
10382 }
10383
10384
10385 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10386 PyObject *obj;
10387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10388 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10389 Py_INCREF(obj);
10390 return Py_BuildValue((char *)"");
10391 }
10392 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10393 PyObject *resultobj;
10394 wxTaskBarIcon *result;
10395 char *kwnames[] = {
10396 NULL
10397 };
10398
10399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10403
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10408 return resultobj;
10409 fail:
10410 return NULL;
10411 }
10412
10413
10414 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj;
10416 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10417 PyObject * obj0 = 0 ;
10418 char *kwnames[] = {
10419 (char *) "self", NULL
10420 };
10421
10422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10425 {
10426 PyThreadState* __tstate = wxPyBeginAllowThreads();
10427 delete arg1;
10428
10429 wxPyEndAllowThreads(__tstate);
10430 if (PyErr_Occurred()) SWIG_fail;
10431 }
10432 Py_INCREF(Py_None); resultobj = Py_None;
10433 return resultobj;
10434 fail:
10435 return NULL;
10436 }
10437
10438
10439 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10440 PyObject *resultobj;
10441 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10442 bool result;
10443 PyObject * obj0 = 0 ;
10444 char *kwnames[] = {
10445 (char *) "self", NULL
10446 };
10447
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10459 return resultobj;
10460 fail:
10461 return NULL;
10462 }
10463
10464
10465 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10466 PyObject *resultobj;
10467 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10468 bool result;
10469 PyObject * obj0 = 0 ;
10470 char *kwnames[] = {
10471 (char *) "self", NULL
10472 };
10473
10474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10477 {
10478 PyThreadState* __tstate = wxPyBeginAllowThreads();
10479 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10480
10481 wxPyEndAllowThreads(__tstate);
10482 if (PyErr_Occurred()) SWIG_fail;
10483 }
10484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10485 return resultobj;
10486 fail:
10487 return NULL;
10488 }
10489
10490
10491 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10492 PyObject *resultobj;
10493 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10494 wxIcon *arg2 = 0 ;
10495 wxString const &arg3_defvalue = wxPyEmptyString ;
10496 wxString *arg3 = (wxString *) &arg3_defvalue ;
10497 bool result;
10498 bool temp3 = False ;
10499 PyObject * obj0 = 0 ;
10500 PyObject * obj1 = 0 ;
10501 PyObject * obj2 = 0 ;
10502 char *kwnames[] = {
10503 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10504 };
10505
10506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10510 SWIG_POINTER_EXCEPTION | 0)) == -1)
10511 SWIG_fail;
10512 if (arg2 == NULL) {
10513 PyErr_SetString(PyExc_TypeError,"null reference");
10514 SWIG_fail;
10515 }
10516 if (obj2) {
10517 {
10518 arg3 = wxString_in_helper(obj2);
10519 if (arg3 == NULL) SWIG_fail;
10520 temp3 = True;
10521 }
10522 }
10523 {
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
10525 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10526
10527 wxPyEndAllowThreads(__tstate);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10531 {
10532 if (temp3)
10533 delete arg3;
10534 }
10535 return resultobj;
10536 fail:
10537 {
10538 if (temp3)
10539 delete arg3;
10540 }
10541 return NULL;
10542 }
10543
10544
10545 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10546 PyObject *resultobj;
10547 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10548 bool result;
10549 PyObject * obj0 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 result = (bool)(arg1)->RemoveIcon();
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10565 return resultobj;
10566 fail:
10567 return NULL;
10568 }
10569
10570
10571 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj;
10573 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10574 wxMenu *arg2 = (wxMenu *) 0 ;
10575 bool result;
10576 PyObject * obj0 = 0 ;
10577 PyObject * obj1 = 0 ;
10578 char *kwnames[] = {
10579 (char *) "self",(char *) "menu", NULL
10580 };
10581
10582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 result = (bool)(arg1)->PopupMenu(arg2);
10590
10591 wxPyEndAllowThreads(__tstate);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10595 return resultobj;
10596 fail:
10597 return NULL;
10598 }
10599
10600
10601 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10602 PyObject *obj;
10603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10604 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10605 Py_INCREF(obj);
10606 return Py_BuildValue((char *)"");
10607 }
10608 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10609 PyObject *resultobj;
10610 wxEventType arg1 ;
10611 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10612 wxTaskBarIconEvent *result;
10613 PyObject * obj0 = 0 ;
10614 PyObject * obj1 = 0 ;
10615 char *kwnames[] = {
10616 (char *) "evtType",(char *) "tbIcon", NULL
10617 };
10618
10619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10620 arg1 = (wxEventType) SWIG_AsInt(obj0);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10624 {
10625 PyThreadState* __tstate = wxPyBeginAllowThreads();
10626 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10627
10628 wxPyEndAllowThreads(__tstate);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10632 return resultobj;
10633 fail:
10634 return NULL;
10635 }
10636
10637
10638 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10639 PyObject *obj;
10640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10641 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10642 Py_INCREF(obj);
10643 return Py_BuildValue((char *)"");
10644 }
10645 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10646 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10647 return 1;
10648 }
10649
10650
10651 static PyObject *_wrap_FileSelectorPromptStr_get() {
10652 PyObject *pyobj;
10653
10654 {
10655 #if wxUSE_UNICODE
10656 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10657 #else
10658 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10659 #endif
10660 }
10661 return pyobj;
10662 }
10663
10664
10665 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10666 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10667 return 1;
10668 }
10669
10670
10671 static PyObject *_wrap_DirSelectorPromptStr_get() {
10672 PyObject *pyobj;
10673
10674 {
10675 #if wxUSE_UNICODE
10676 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10677 #else
10678 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10679 #endif
10680 }
10681 return pyobj;
10682 }
10683
10684
10685 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10686 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10687 return 1;
10688 }
10689
10690
10691 static PyObject *_wrap_DirDialogNameStr_get() {
10692 PyObject *pyobj;
10693
10694 {
10695 #if wxUSE_UNICODE
10696 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10697 #else
10698 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10699 #endif
10700 }
10701 return pyobj;
10702 }
10703
10704
10705 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10706 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10707 return 1;
10708 }
10709
10710
10711 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10712 PyObject *pyobj;
10713
10714 {
10715 #if wxUSE_UNICODE
10716 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10717 #else
10718 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10719 #endif
10720 }
10721 return pyobj;
10722 }
10723
10724
10725 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10726 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10727 return 1;
10728 }
10729
10730
10731 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10732 PyObject *pyobj;
10733
10734 {
10735 #if wxUSE_UNICODE
10736 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10737 #else
10738 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10739 #endif
10740 }
10741 return pyobj;
10742 }
10743
10744
10745 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10746 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10747 return 1;
10748 }
10749
10750
10751 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10752 PyObject *pyobj;
10753
10754 {
10755 #if wxUSE_UNICODE
10756 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10757 #else
10758 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10759 #endif
10760 }
10761 return pyobj;
10762 }
10763
10764
10765 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10766 PyObject *resultobj;
10767 wxColourData *result;
10768 char *kwnames[] = {
10769 NULL
10770 };
10771
10772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 result = (wxColourData *)new wxColourData();
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10781 return resultobj;
10782 fail:
10783 return NULL;
10784 }
10785
10786
10787 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj;
10789 wxColourData *arg1 = (wxColourData *) 0 ;
10790 PyObject * obj0 = 0 ;
10791 char *kwnames[] = {
10792 (char *) "self", NULL
10793 };
10794
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 delete arg1;
10801
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 Py_INCREF(Py_None); resultobj = Py_None;
10806 return resultobj;
10807 fail:
10808 return NULL;
10809 }
10810
10811
10812 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10813 PyObject *resultobj;
10814 wxColourData *arg1 = (wxColourData *) 0 ;
10815 bool result;
10816 PyObject * obj0 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "self", NULL
10819 };
10820
10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10824 {
10825 PyThreadState* __tstate = wxPyBeginAllowThreads();
10826 result = (bool)(arg1)->GetChooseFull();
10827
10828 wxPyEndAllowThreads(__tstate);
10829 if (PyErr_Occurred()) SWIG_fail;
10830 }
10831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10832 return resultobj;
10833 fail:
10834 return NULL;
10835 }
10836
10837
10838 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10839 PyObject *resultobj;
10840 wxColourData *arg1 = (wxColourData *) 0 ;
10841 wxColour result;
10842 PyObject * obj0 = 0 ;
10843 char *kwnames[] = {
10844 (char *) "self", NULL
10845 };
10846
10847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = (arg1)->GetColour();
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 {
10858 wxColour * resultptr;
10859 resultptr = new wxColour((wxColour &) result);
10860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10861 }
10862 return resultobj;
10863 fail:
10864 return NULL;
10865 }
10866
10867
10868 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10869 PyObject *resultobj;
10870 wxColourData *arg1 = (wxColourData *) 0 ;
10871 int arg2 ;
10872 wxColour result;
10873 PyObject * obj0 = 0 ;
10874 PyObject * obj1 = 0 ;
10875 char *kwnames[] = {
10876 (char *) "self",(char *) "i", NULL
10877 };
10878
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10882 arg2 = (int) SWIG_AsInt(obj1);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 {
10885 PyThreadState* __tstate = wxPyBeginAllowThreads();
10886 result = (arg1)->GetCustomColour(arg2);
10887
10888 wxPyEndAllowThreads(__tstate);
10889 if (PyErr_Occurred()) SWIG_fail;
10890 }
10891 {
10892 wxColour * resultptr;
10893 resultptr = new wxColour((wxColour &) result);
10894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10895 }
10896 return resultobj;
10897 fail:
10898 return NULL;
10899 }
10900
10901
10902 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10903 PyObject *resultobj;
10904 wxColourData *arg1 = (wxColourData *) 0 ;
10905 int arg2 ;
10906 PyObject * obj0 = 0 ;
10907 PyObject * obj1 = 0 ;
10908 char *kwnames[] = {
10909 (char *) "self",(char *) "flag", NULL
10910 };
10911
10912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10915 arg2 = (int) SWIG_AsInt(obj1);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 {
10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
10919 (arg1)->SetChooseFull(arg2);
10920
10921 wxPyEndAllowThreads(__tstate);
10922 if (PyErr_Occurred()) SWIG_fail;
10923 }
10924 Py_INCREF(Py_None); resultobj = Py_None;
10925 return resultobj;
10926 fail:
10927 return NULL;
10928 }
10929
10930
10931 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10932 PyObject *resultobj;
10933 wxColourData *arg1 = (wxColourData *) 0 ;
10934 wxColour *arg2 = 0 ;
10935 wxColour temp2 ;
10936 PyObject * obj0 = 0 ;
10937 PyObject * obj1 = 0 ;
10938 char *kwnames[] = {
10939 (char *) "self",(char *) "colour", NULL
10940 };
10941
10942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10945 {
10946 arg2 = &temp2;
10947 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10948 }
10949 {
10950 PyThreadState* __tstate = wxPyBeginAllowThreads();
10951 (arg1)->SetColour((wxColour const &)*arg2);
10952
10953 wxPyEndAllowThreads(__tstate);
10954 if (PyErr_Occurred()) SWIG_fail;
10955 }
10956 Py_INCREF(Py_None); resultobj = Py_None;
10957 return resultobj;
10958 fail:
10959 return NULL;
10960 }
10961
10962
10963 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10964 PyObject *resultobj;
10965 wxColourData *arg1 = (wxColourData *) 0 ;
10966 int arg2 ;
10967 wxColour *arg3 = 0 ;
10968 wxColour temp3 ;
10969 PyObject * obj0 = 0 ;
10970 PyObject * obj1 = 0 ;
10971 PyObject * obj2 = 0 ;
10972 char *kwnames[] = {
10973 (char *) "self",(char *) "i",(char *) "colour", NULL
10974 };
10975
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10979 arg2 = (int) SWIG_AsInt(obj1);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 {
10982 arg3 = &temp3;
10983 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10984 }
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 Py_INCREF(Py_None); resultobj = Py_None;
10993 return resultobj;
10994 fail:
10995 return NULL;
10996 }
10997
10998
10999 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11000 PyObject *obj;
11001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11002 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11003 Py_INCREF(obj);
11004 return Py_BuildValue((char *)"");
11005 }
11006 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11007 PyObject *resultobj;
11008 wxWindow *arg1 = (wxWindow *) 0 ;
11009 wxColourData *arg2 = (wxColourData *) NULL ;
11010 wxColourDialog *result;
11011 PyObject * obj0 = 0 ;
11012 PyObject * obj1 = 0 ;
11013 char *kwnames[] = {
11014 (char *) "parent",(char *) "data", NULL
11015 };
11016
11017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11020 if (obj1) {
11021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11023 }
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11027
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11032 return resultobj;
11033 fail:
11034 return NULL;
11035 }
11036
11037
11038 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11039 PyObject *resultobj;
11040 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11041 wxColourData *result;
11042 PyObject * obj0 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "self", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 {
11053 wxColourData &_result_ref = (arg1)->GetColourData();
11054 result = (wxColourData *) &_result_ref;
11055 }
11056
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11061 return resultobj;
11062 fail:
11063 return NULL;
11064 }
11065
11066
11067 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11068 PyObject *obj;
11069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11070 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11071 Py_INCREF(obj);
11072 return Py_BuildValue((char *)"");
11073 }
11074 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11075 PyObject *resultobj;
11076 wxWindow *arg1 = (wxWindow *) 0 ;
11077 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11078 wxString *arg2 = (wxString *) &arg2_defvalue ;
11079 wxString const &arg3_defvalue = wxPyEmptyString ;
11080 wxString *arg3 = (wxString *) &arg3_defvalue ;
11081 long arg4 = (long) 0 ;
11082 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11083 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11084 wxSize const &arg6_defvalue = wxDefaultSize ;
11085 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11086 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11087 wxString *arg7 = (wxString *) &arg7_defvalue ;
11088 wxDirDialog *result;
11089 bool temp2 = False ;
11090 bool temp3 = False ;
11091 wxPoint temp5 ;
11092 wxSize temp6 ;
11093 bool temp7 = False ;
11094 PyObject * obj0 = 0 ;
11095 PyObject * obj1 = 0 ;
11096 PyObject * obj2 = 0 ;
11097 PyObject * obj3 = 0 ;
11098 PyObject * obj4 = 0 ;
11099 PyObject * obj5 = 0 ;
11100 PyObject * obj6 = 0 ;
11101 char *kwnames[] = {
11102 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11103 };
11104
11105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11108 if (obj1) {
11109 {
11110 arg2 = wxString_in_helper(obj1);
11111 if (arg2 == NULL) SWIG_fail;
11112 temp2 = True;
11113 }
11114 }
11115 if (obj2) {
11116 {
11117 arg3 = wxString_in_helper(obj2);
11118 if (arg3 == NULL) SWIG_fail;
11119 temp3 = True;
11120 }
11121 }
11122 if (obj3) {
11123 arg4 = (long) SWIG_AsLong(obj3);
11124 if (PyErr_Occurred()) SWIG_fail;
11125 }
11126 if (obj4) {
11127 {
11128 arg5 = &temp5;
11129 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11130 }
11131 }
11132 if (obj5) {
11133 {
11134 arg6 = &temp6;
11135 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11136 }
11137 }
11138 if (obj6) {
11139 {
11140 arg7 = wxString_in_helper(obj6);
11141 if (arg7 == NULL) SWIG_fail;
11142 temp7 = True;
11143 }
11144 }
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11148
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11153 {
11154 if (temp2)
11155 delete arg2;
11156 }
11157 {
11158 if (temp3)
11159 delete arg3;
11160 }
11161 {
11162 if (temp7)
11163 delete arg7;
11164 }
11165 return resultobj;
11166 fail:
11167 {
11168 if (temp2)
11169 delete arg2;
11170 }
11171 {
11172 if (temp3)
11173 delete arg3;
11174 }
11175 {
11176 if (temp7)
11177 delete arg7;
11178 }
11179 return NULL;
11180 }
11181
11182
11183 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11184 PyObject *resultobj;
11185 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11186 wxString result;
11187 PyObject * obj0 = 0 ;
11188 char *kwnames[] = {
11189 (char *) "self", NULL
11190 };
11191
11192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11195 {
11196 PyThreadState* __tstate = wxPyBeginAllowThreads();
11197 result = (arg1)->GetPath();
11198
11199 wxPyEndAllowThreads(__tstate);
11200 if (PyErr_Occurred()) SWIG_fail;
11201 }
11202 {
11203 #if wxUSE_UNICODE
11204 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11205 #else
11206 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11207 #endif
11208 }
11209 return resultobj;
11210 fail:
11211 return NULL;
11212 }
11213
11214
11215 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11216 PyObject *resultobj;
11217 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11218 wxString result;
11219 PyObject * obj0 = 0 ;
11220 char *kwnames[] = {
11221 (char *) "self", NULL
11222 };
11223
11224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11227 {
11228 PyThreadState* __tstate = wxPyBeginAllowThreads();
11229 result = (arg1)->GetMessage();
11230
11231 wxPyEndAllowThreads(__tstate);
11232 if (PyErr_Occurred()) SWIG_fail;
11233 }
11234 {
11235 #if wxUSE_UNICODE
11236 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11237 #else
11238 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11239 #endif
11240 }
11241 return resultobj;
11242 fail:
11243 return NULL;
11244 }
11245
11246
11247 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11248 PyObject *resultobj;
11249 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11250 long result;
11251 PyObject * obj0 = 0 ;
11252 char *kwnames[] = {
11253 (char *) "self", NULL
11254 };
11255
11256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11259 {
11260 PyThreadState* __tstate = wxPyBeginAllowThreads();
11261 result = (long)(arg1)->GetStyle();
11262
11263 wxPyEndAllowThreads(__tstate);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 resultobj = SWIG_FromLong((long)result);
11267 return resultobj;
11268 fail:
11269 return NULL;
11270 }
11271
11272
11273 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11274 PyObject *resultobj;
11275 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11276 wxString *arg2 = 0 ;
11277 bool temp2 = False ;
11278 PyObject * obj0 = 0 ;
11279 PyObject * obj1 = 0 ;
11280 char *kwnames[] = {
11281 (char *) "self",(char *) "message", NULL
11282 };
11283
11284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11287 {
11288 arg2 = wxString_in_helper(obj1);
11289 if (arg2 == NULL) SWIG_fail;
11290 temp2 = True;
11291 }
11292 {
11293 PyThreadState* __tstate = wxPyBeginAllowThreads();
11294 (arg1)->SetMessage((wxString const &)*arg2);
11295
11296 wxPyEndAllowThreads(__tstate);
11297 if (PyErr_Occurred()) SWIG_fail;
11298 }
11299 Py_INCREF(Py_None); resultobj = Py_None;
11300 {
11301 if (temp2)
11302 delete arg2;
11303 }
11304 return resultobj;
11305 fail:
11306 {
11307 if (temp2)
11308 delete arg2;
11309 }
11310 return NULL;
11311 }
11312
11313
11314 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11315 PyObject *resultobj;
11316 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11317 wxString *arg2 = 0 ;
11318 bool temp2 = False ;
11319 PyObject * obj0 = 0 ;
11320 PyObject * obj1 = 0 ;
11321 char *kwnames[] = {
11322 (char *) "self",(char *) "path", NULL
11323 };
11324
11325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11328 {
11329 arg2 = wxString_in_helper(obj1);
11330 if (arg2 == NULL) SWIG_fail;
11331 temp2 = True;
11332 }
11333 {
11334 PyThreadState* __tstate = wxPyBeginAllowThreads();
11335 (arg1)->SetPath((wxString const &)*arg2);
11336
11337 wxPyEndAllowThreads(__tstate);
11338 if (PyErr_Occurred()) SWIG_fail;
11339 }
11340 Py_INCREF(Py_None); resultobj = Py_None;
11341 {
11342 if (temp2)
11343 delete arg2;
11344 }
11345 return resultobj;
11346 fail:
11347 {
11348 if (temp2)
11349 delete arg2;
11350 }
11351 return NULL;
11352 }
11353
11354
11355 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11356 PyObject *obj;
11357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11358 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11359 Py_INCREF(obj);
11360 return Py_BuildValue((char *)"");
11361 }
11362 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11363 PyObject *resultobj;
11364 wxWindow *arg1 = (wxWindow *) 0 ;
11365 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11366 wxString *arg2 = (wxString *) &arg2_defvalue ;
11367 wxString const &arg3_defvalue = wxPyEmptyString ;
11368 wxString *arg3 = (wxString *) &arg3_defvalue ;
11369 wxString const &arg4_defvalue = wxPyEmptyString ;
11370 wxString *arg4 = (wxString *) &arg4_defvalue ;
11371 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11372 wxString *arg5 = (wxString *) &arg5_defvalue ;
11373 long arg6 = (long) 0 ;
11374 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11375 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11376 wxFileDialog *result;
11377 bool temp2 = False ;
11378 bool temp3 = False ;
11379 bool temp4 = False ;
11380 bool temp5 = False ;
11381 wxPoint temp7 ;
11382 PyObject * obj0 = 0 ;
11383 PyObject * obj1 = 0 ;
11384 PyObject * obj2 = 0 ;
11385 PyObject * obj3 = 0 ;
11386 PyObject * obj4 = 0 ;
11387 PyObject * obj5 = 0 ;
11388 PyObject * obj6 = 0 ;
11389 char *kwnames[] = {
11390 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11391 };
11392
11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11396 if (obj1) {
11397 {
11398 arg2 = wxString_in_helper(obj1);
11399 if (arg2 == NULL) SWIG_fail;
11400 temp2 = True;
11401 }
11402 }
11403 if (obj2) {
11404 {
11405 arg3 = wxString_in_helper(obj2);
11406 if (arg3 == NULL) SWIG_fail;
11407 temp3 = True;
11408 }
11409 }
11410 if (obj3) {
11411 {
11412 arg4 = wxString_in_helper(obj3);
11413 if (arg4 == NULL) SWIG_fail;
11414 temp4 = True;
11415 }
11416 }
11417 if (obj4) {
11418 {
11419 arg5 = wxString_in_helper(obj4);
11420 if (arg5 == NULL) SWIG_fail;
11421 temp5 = True;
11422 }
11423 }
11424 if (obj5) {
11425 arg6 = (long) SWIG_AsLong(obj5);
11426 if (PyErr_Occurred()) SWIG_fail;
11427 }
11428 if (obj6) {
11429 {
11430 arg7 = &temp7;
11431 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11432 }
11433 }
11434 {
11435 PyThreadState* __tstate = wxPyBeginAllowThreads();
11436 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11437
11438 wxPyEndAllowThreads(__tstate);
11439 if (PyErr_Occurred()) SWIG_fail;
11440 }
11441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11442 {
11443 if (temp2)
11444 delete arg2;
11445 }
11446 {
11447 if (temp3)
11448 delete arg3;
11449 }
11450 {
11451 if (temp4)
11452 delete arg4;
11453 }
11454 {
11455 if (temp5)
11456 delete arg5;
11457 }
11458 return resultobj;
11459 fail:
11460 {
11461 if (temp2)
11462 delete arg2;
11463 }
11464 {
11465 if (temp3)
11466 delete arg3;
11467 }
11468 {
11469 if (temp4)
11470 delete arg4;
11471 }
11472 {
11473 if (temp5)
11474 delete arg5;
11475 }
11476 return NULL;
11477 }
11478
11479
11480 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11481 PyObject *resultobj;
11482 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11483 wxString *arg2 = 0 ;
11484 bool temp2 = False ;
11485 PyObject * obj0 = 0 ;
11486 PyObject * obj1 = 0 ;
11487 char *kwnames[] = {
11488 (char *) "self",(char *) "message", NULL
11489 };
11490
11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11494 {
11495 arg2 = wxString_in_helper(obj1);
11496 if (arg2 == NULL) SWIG_fail;
11497 temp2 = True;
11498 }
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 (arg1)->SetMessage((wxString const &)*arg2);
11502
11503 wxPyEndAllowThreads(__tstate);
11504 if (PyErr_Occurred()) SWIG_fail;
11505 }
11506 Py_INCREF(Py_None); resultobj = Py_None;
11507 {
11508 if (temp2)
11509 delete arg2;
11510 }
11511 return resultobj;
11512 fail:
11513 {
11514 if (temp2)
11515 delete arg2;
11516 }
11517 return NULL;
11518 }
11519
11520
11521 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11522 PyObject *resultobj;
11523 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11524 wxString *arg2 = 0 ;
11525 bool temp2 = False ;
11526 PyObject * obj0 = 0 ;
11527 PyObject * obj1 = 0 ;
11528 char *kwnames[] = {
11529 (char *) "self",(char *) "path", NULL
11530 };
11531
11532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11535 {
11536 arg2 = wxString_in_helper(obj1);
11537 if (arg2 == NULL) SWIG_fail;
11538 temp2 = True;
11539 }
11540 {
11541 PyThreadState* __tstate = wxPyBeginAllowThreads();
11542 (arg1)->SetPath((wxString const &)*arg2);
11543
11544 wxPyEndAllowThreads(__tstate);
11545 if (PyErr_Occurred()) SWIG_fail;
11546 }
11547 Py_INCREF(Py_None); resultobj = Py_None;
11548 {
11549 if (temp2)
11550 delete arg2;
11551 }
11552 return resultobj;
11553 fail:
11554 {
11555 if (temp2)
11556 delete arg2;
11557 }
11558 return NULL;
11559 }
11560
11561
11562 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11563 PyObject *resultobj;
11564 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11565 wxString *arg2 = 0 ;
11566 bool temp2 = False ;
11567 PyObject * obj0 = 0 ;
11568 PyObject * obj1 = 0 ;
11569 char *kwnames[] = {
11570 (char *) "self",(char *) "dir", NULL
11571 };
11572
11573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11576 {
11577 arg2 = wxString_in_helper(obj1);
11578 if (arg2 == NULL) SWIG_fail;
11579 temp2 = True;
11580 }
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 (arg1)->SetDirectory((wxString const &)*arg2);
11584
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
11588 Py_INCREF(Py_None); resultobj = Py_None;
11589 {
11590 if (temp2)
11591 delete arg2;
11592 }
11593 return resultobj;
11594 fail:
11595 {
11596 if (temp2)
11597 delete arg2;
11598 }
11599 return NULL;
11600 }
11601
11602
11603 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11604 PyObject *resultobj;
11605 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11606 wxString *arg2 = 0 ;
11607 bool temp2 = False ;
11608 PyObject * obj0 = 0 ;
11609 PyObject * obj1 = 0 ;
11610 char *kwnames[] = {
11611 (char *) "self",(char *) "name", NULL
11612 };
11613
11614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11617 {
11618 arg2 = wxString_in_helper(obj1);
11619 if (arg2 == NULL) SWIG_fail;
11620 temp2 = True;
11621 }
11622 {
11623 PyThreadState* __tstate = wxPyBeginAllowThreads();
11624 (arg1)->SetFilename((wxString const &)*arg2);
11625
11626 wxPyEndAllowThreads(__tstate);
11627 if (PyErr_Occurred()) SWIG_fail;
11628 }
11629 Py_INCREF(Py_None); resultobj = Py_None;
11630 {
11631 if (temp2)
11632 delete arg2;
11633 }
11634 return resultobj;
11635 fail:
11636 {
11637 if (temp2)
11638 delete arg2;
11639 }
11640 return NULL;
11641 }
11642
11643
11644 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11645 PyObject *resultobj;
11646 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11647 wxString *arg2 = 0 ;
11648 bool temp2 = False ;
11649 PyObject * obj0 = 0 ;
11650 PyObject * obj1 = 0 ;
11651 char *kwnames[] = {
11652 (char *) "self",(char *) "wildCard", NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11658 {
11659 arg2 = wxString_in_helper(obj1);
11660 if (arg2 == NULL) SWIG_fail;
11661 temp2 = True;
11662 }
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 (arg1)->SetWildcard((wxString const &)*arg2);
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
11670 Py_INCREF(Py_None); resultobj = Py_None;
11671 {
11672 if (temp2)
11673 delete arg2;
11674 }
11675 return resultobj;
11676 fail:
11677 {
11678 if (temp2)
11679 delete arg2;
11680 }
11681 return NULL;
11682 }
11683
11684
11685 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj;
11687 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11688 long arg2 ;
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "self",(char *) "style", NULL
11693 };
11694
11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11698 arg2 = (long) SWIG_AsLong(obj1);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 (arg1)->SetStyle(arg2);
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 Py_INCREF(Py_None); resultobj = Py_None;
11708 return resultobj;
11709 fail:
11710 return NULL;
11711 }
11712
11713
11714 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11715 PyObject *resultobj;
11716 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11717 int arg2 ;
11718 PyObject * obj0 = 0 ;
11719 PyObject * obj1 = 0 ;
11720 char *kwnames[] = {
11721 (char *) "self",(char *) "filterIndex", NULL
11722 };
11723
11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11727 arg2 = (int) SWIG_AsInt(obj1);
11728 if (PyErr_Occurred()) SWIG_fail;
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 (arg1)->SetFilterIndex(arg2);
11732
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 Py_INCREF(Py_None); resultobj = Py_None;
11737 return resultobj;
11738 fail:
11739 return NULL;
11740 }
11741
11742
11743 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11744 PyObject *resultobj;
11745 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11746 wxString result;
11747 PyObject * obj0 = 0 ;
11748 char *kwnames[] = {
11749 (char *) "self", NULL
11750 };
11751
11752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11755 {
11756 PyThreadState* __tstate = wxPyBeginAllowThreads();
11757 result = ((wxFileDialog const *)arg1)->GetMessage();
11758
11759 wxPyEndAllowThreads(__tstate);
11760 if (PyErr_Occurred()) SWIG_fail;
11761 }
11762 {
11763 #if wxUSE_UNICODE
11764 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11765 #else
11766 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11767 #endif
11768 }
11769 return resultobj;
11770 fail:
11771 return NULL;
11772 }
11773
11774
11775 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11776 PyObject *resultobj;
11777 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11778 wxString result;
11779 PyObject * obj0 = 0 ;
11780 char *kwnames[] = {
11781 (char *) "self", NULL
11782 };
11783
11784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11787 {
11788 PyThreadState* __tstate = wxPyBeginAllowThreads();
11789 result = ((wxFileDialog const *)arg1)->GetPath();
11790
11791 wxPyEndAllowThreads(__tstate);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 }
11794 {
11795 #if wxUSE_UNICODE
11796 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11797 #else
11798 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11799 #endif
11800 }
11801 return resultobj;
11802 fail:
11803 return NULL;
11804 }
11805
11806
11807 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11808 PyObject *resultobj;
11809 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11810 wxString result;
11811 PyObject * obj0 = 0 ;
11812 char *kwnames[] = {
11813 (char *) "self", NULL
11814 };
11815
11816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11819 {
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
11821 result = ((wxFileDialog const *)arg1)->GetDirectory();
11822
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 {
11827 #if wxUSE_UNICODE
11828 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11829 #else
11830 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11831 #endif
11832 }
11833 return resultobj;
11834 fail:
11835 return NULL;
11836 }
11837
11838
11839 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11840 PyObject *resultobj;
11841 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11842 wxString result;
11843 PyObject * obj0 = 0 ;
11844 char *kwnames[] = {
11845 (char *) "self", NULL
11846 };
11847
11848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 result = ((wxFileDialog const *)arg1)->GetFilename();
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 {
11859 #if wxUSE_UNICODE
11860 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11861 #else
11862 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11863 #endif
11864 }
11865 return resultobj;
11866 fail:
11867 return NULL;
11868 }
11869
11870
11871 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11872 PyObject *resultobj;
11873 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11874 wxString result;
11875 PyObject * obj0 = 0 ;
11876 char *kwnames[] = {
11877 (char *) "self", NULL
11878 };
11879
11880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11883 {
11884 PyThreadState* __tstate = wxPyBeginAllowThreads();
11885 result = ((wxFileDialog const *)arg1)->GetWildcard();
11886
11887 wxPyEndAllowThreads(__tstate);
11888 if (PyErr_Occurred()) SWIG_fail;
11889 }
11890 {
11891 #if wxUSE_UNICODE
11892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11893 #else
11894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11895 #endif
11896 }
11897 return resultobj;
11898 fail:
11899 return NULL;
11900 }
11901
11902
11903 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11904 PyObject *resultobj;
11905 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11906 long result;
11907 PyObject * obj0 = 0 ;
11908 char *kwnames[] = {
11909 (char *) "self", NULL
11910 };
11911
11912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11915 {
11916 PyThreadState* __tstate = wxPyBeginAllowThreads();
11917 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11918
11919 wxPyEndAllowThreads(__tstate);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
11922 resultobj = SWIG_FromLong((long)result);
11923 return resultobj;
11924 fail:
11925 return NULL;
11926 }
11927
11928
11929 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11930 PyObject *resultobj;
11931 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11932 int result;
11933 PyObject * obj0 = 0 ;
11934 char *kwnames[] = {
11935 (char *) "self", NULL
11936 };
11937
11938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11941 {
11942 PyThreadState* __tstate = wxPyBeginAllowThreads();
11943 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11944
11945 wxPyEndAllowThreads(__tstate);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 }
11948 resultobj = SWIG_FromInt((int)result);
11949 return resultobj;
11950 fail:
11951 return NULL;
11952 }
11953
11954
11955 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11956 PyObject *resultobj;
11957 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11958 PyObject *result;
11959 PyObject * obj0 = 0 ;
11960 char *kwnames[] = {
11961 (char *) "self", NULL
11962 };
11963
11964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11967 {
11968 PyThreadState* __tstate = wxPyBeginAllowThreads();
11969 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11970
11971 wxPyEndAllowThreads(__tstate);
11972 if (PyErr_Occurred()) SWIG_fail;
11973 }
11974 resultobj = result;
11975 return resultobj;
11976 fail:
11977 return NULL;
11978 }
11979
11980
11981 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11982 PyObject *resultobj;
11983 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11984 PyObject *result;
11985 PyObject * obj0 = 0 ;
11986 char *kwnames[] = {
11987 (char *) "self", NULL
11988 };
11989
11990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11993 {
11994 PyThreadState* __tstate = wxPyBeginAllowThreads();
11995 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11996
11997 wxPyEndAllowThreads(__tstate);
11998 if (PyErr_Occurred()) SWIG_fail;
11999 }
12000 resultobj = result;
12001 return resultobj;
12002 fail:
12003 return NULL;
12004 }
12005
12006
12007 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12008 PyObject *obj;
12009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12010 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12011 Py_INCREF(obj);
12012 return Py_BuildValue((char *)"");
12013 }
12014 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12015 PyObject *resultobj;
12016 wxWindow *arg1 = (wxWindow *) 0 ;
12017 wxString *arg2 = 0 ;
12018 wxString *arg3 = 0 ;
12019 int arg4 = (int) 0 ;
12020 wxString *arg5 = (wxString *) 0 ;
12021 long arg6 = (long) wxCHOICEDLG_STYLE ;
12022 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12023 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12024 wxMultiChoiceDialog *result;
12025 bool temp2 = False ;
12026 bool temp3 = False ;
12027 wxPoint temp6 ;
12028 PyObject * obj0 = 0 ;
12029 PyObject * obj1 = 0 ;
12030 PyObject * obj2 = 0 ;
12031 PyObject * obj3 = 0 ;
12032 PyObject * obj4 = 0 ;
12033 PyObject * obj5 = 0 ;
12034 char *kwnames[] = {
12035 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12036 };
12037
12038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12041 {
12042 arg2 = wxString_in_helper(obj1);
12043 if (arg2 == NULL) SWIG_fail;
12044 temp2 = True;
12045 }
12046 {
12047 arg3 = wxString_in_helper(obj2);
12048 if (arg3 == NULL) SWIG_fail;
12049 temp3 = True;
12050 }
12051 if (obj3) {
12052 {
12053 arg4 = PyList_Size(obj3);
12054 arg5 = wxString_LIST_helper(obj3);
12055 if (arg5 == NULL) SWIG_fail;
12056 }
12057 }
12058 if (obj4) {
12059 arg6 = (long) SWIG_AsLong(obj4);
12060 if (PyErr_Occurred()) SWIG_fail;
12061 }
12062 if (obj5) {
12063 {
12064 arg7 = &temp6;
12065 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12066 }
12067 }
12068 {
12069 PyThreadState* __tstate = wxPyBeginAllowThreads();
12070 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12071
12072 wxPyEndAllowThreads(__tstate);
12073 if (PyErr_Occurred()) SWIG_fail;
12074 }
12075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12076 {
12077 if (temp2)
12078 delete arg2;
12079 }
12080 {
12081 if (temp3)
12082 delete arg3;
12083 }
12084 {
12085 if (arg5) delete [] arg5;
12086 }
12087 return resultobj;
12088 fail:
12089 {
12090 if (temp2)
12091 delete arg2;
12092 }
12093 {
12094 if (temp3)
12095 delete arg3;
12096 }
12097 {
12098 if (arg5) delete [] arg5;
12099 }
12100 return NULL;
12101 }
12102
12103
12104 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12105 PyObject *resultobj;
12106 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12107 wxArrayInt *arg2 = 0 ;
12108 bool temp2 = False ;
12109 PyObject * obj0 = 0 ;
12110 PyObject * obj1 = 0 ;
12111 char *kwnames[] = {
12112 (char *) "self",(char *) "selections", NULL
12113 };
12114
12115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12118 {
12119 if (! PySequence_Check(obj1)) {
12120 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12121 SWIG_fail;
12122 }
12123 arg2 = new wxArrayInt;
12124 temp2 = True;
12125 int i, len=PySequence_Length(obj1);
12126 for (i=0; i<len; i++) {
12127 PyObject* item = PySequence_GetItem(obj1, i);
12128 PyObject* number = PyNumber_Int(item);
12129 arg2->Add(PyInt_AS_LONG(number));
12130 Py_DECREF(item);
12131 Py_DECREF(number);
12132 }
12133 }
12134 {
12135 PyThreadState* __tstate = wxPyBeginAllowThreads();
12136 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12137
12138 wxPyEndAllowThreads(__tstate);
12139 if (PyErr_Occurred()) SWIG_fail;
12140 }
12141 Py_INCREF(Py_None); resultobj = Py_None;
12142 {
12143 if (temp2) delete arg2;
12144 }
12145 return resultobj;
12146 fail:
12147 {
12148 if (temp2) delete arg2;
12149 }
12150 return NULL;
12151 }
12152
12153
12154 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12155 PyObject *resultobj;
12156 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12157 PyObject *result;
12158 PyObject * obj0 = 0 ;
12159 char *kwnames[] = {
12160 (char *) "self", NULL
12161 };
12162
12163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12166 {
12167 PyThreadState* __tstate = wxPyBeginAllowThreads();
12168 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12169
12170 wxPyEndAllowThreads(__tstate);
12171 if (PyErr_Occurred()) SWIG_fail;
12172 }
12173 resultobj = result;
12174 return resultobj;
12175 fail:
12176 return NULL;
12177 }
12178
12179
12180 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12181 PyObject *obj;
12182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12183 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12184 Py_INCREF(obj);
12185 return Py_BuildValue((char *)"");
12186 }
12187 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12188 PyObject *resultobj;
12189 wxWindow *arg1 = (wxWindow *) 0 ;
12190 wxString *arg2 = 0 ;
12191 wxString *arg3 = 0 ;
12192 int arg4 ;
12193 wxString *arg5 = (wxString *) 0 ;
12194 long arg6 = (long) wxCHOICEDLG_STYLE ;
12195 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12196 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12197 wxSingleChoiceDialog *result;
12198 bool temp2 = False ;
12199 bool temp3 = False ;
12200 wxPoint temp6 ;
12201 PyObject * obj0 = 0 ;
12202 PyObject * obj1 = 0 ;
12203 PyObject * obj2 = 0 ;
12204 PyObject * obj3 = 0 ;
12205 PyObject * obj4 = 0 ;
12206 PyObject * obj5 = 0 ;
12207 char *kwnames[] = {
12208 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12209 };
12210
12211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12214 {
12215 arg2 = wxString_in_helper(obj1);
12216 if (arg2 == NULL) SWIG_fail;
12217 temp2 = True;
12218 }
12219 {
12220 arg3 = wxString_in_helper(obj2);
12221 if (arg3 == NULL) SWIG_fail;
12222 temp3 = True;
12223 }
12224 {
12225 arg4 = PyList_Size(obj3);
12226 arg5 = wxString_LIST_helper(obj3);
12227 if (arg5 == NULL) SWIG_fail;
12228 }
12229 if (obj4) {
12230 arg6 = (long) SWIG_AsLong(obj4);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 if (obj5) {
12234 {
12235 arg7 = &temp6;
12236 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12237 }
12238 }
12239 {
12240 PyThreadState* __tstate = wxPyBeginAllowThreads();
12241 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12242
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12247 {
12248 if (temp2)
12249 delete arg2;
12250 }
12251 {
12252 if (temp3)
12253 delete arg3;
12254 }
12255 {
12256 if (arg5) delete [] arg5;
12257 }
12258 return resultobj;
12259 fail:
12260 {
12261 if (temp2)
12262 delete arg2;
12263 }
12264 {
12265 if (temp3)
12266 delete arg3;
12267 }
12268 {
12269 if (arg5) delete [] arg5;
12270 }
12271 return NULL;
12272 }
12273
12274
12275 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12276 PyObject *resultobj;
12277 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12278 int result;
12279 PyObject * obj0 = 0 ;
12280 char *kwnames[] = {
12281 (char *) "self", NULL
12282 };
12283
12284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 result = (int)(arg1)->GetSelection();
12290
12291 wxPyEndAllowThreads(__tstate);
12292 if (PyErr_Occurred()) SWIG_fail;
12293 }
12294 resultobj = SWIG_FromInt((int)result);
12295 return resultobj;
12296 fail:
12297 return NULL;
12298 }
12299
12300
12301 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12302 PyObject *resultobj;
12303 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12304 wxString result;
12305 PyObject * obj0 = 0 ;
12306 char *kwnames[] = {
12307 (char *) "self", NULL
12308 };
12309
12310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 result = (arg1)->GetStringSelection();
12316
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 {
12321 #if wxUSE_UNICODE
12322 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12323 #else
12324 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12325 #endif
12326 }
12327 return resultobj;
12328 fail:
12329 return NULL;
12330 }
12331
12332
12333 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj;
12335 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12336 int arg2 ;
12337 PyObject * obj0 = 0 ;
12338 PyObject * obj1 = 0 ;
12339 char *kwnames[] = {
12340 (char *) "self",(char *) "sel", NULL
12341 };
12342
12343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12346 arg2 = (int) SWIG_AsInt(obj1);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 {
12349 PyThreadState* __tstate = wxPyBeginAllowThreads();
12350 (arg1)->SetSelection(arg2);
12351
12352 wxPyEndAllowThreads(__tstate);
12353 if (PyErr_Occurred()) SWIG_fail;
12354 }
12355 Py_INCREF(Py_None); resultobj = Py_None;
12356 return resultobj;
12357 fail:
12358 return NULL;
12359 }
12360
12361
12362 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12363 PyObject *obj;
12364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12365 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12366 Py_INCREF(obj);
12367 return Py_BuildValue((char *)"");
12368 }
12369 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12370 PyObject *resultobj;
12371 wxWindow *arg1 = (wxWindow *) 0 ;
12372 wxString *arg2 = 0 ;
12373 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12374 wxString *arg3 = (wxString *) &arg3_defvalue ;
12375 wxString const &arg4_defvalue = wxPyEmptyString ;
12376 wxString *arg4 = (wxString *) &arg4_defvalue ;
12377 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12378 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12379 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12380 wxTextEntryDialog *result;
12381 bool temp2 = False ;
12382 bool temp3 = False ;
12383 bool temp4 = False ;
12384 wxPoint temp6 ;
12385 PyObject * obj0 = 0 ;
12386 PyObject * obj1 = 0 ;
12387 PyObject * obj2 = 0 ;
12388 PyObject * obj3 = 0 ;
12389 PyObject * obj4 = 0 ;
12390 PyObject * obj5 = 0 ;
12391 char *kwnames[] = {
12392 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12393 };
12394
12395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12398 {
12399 arg2 = wxString_in_helper(obj1);
12400 if (arg2 == NULL) SWIG_fail;
12401 temp2 = True;
12402 }
12403 if (obj2) {
12404 {
12405 arg3 = wxString_in_helper(obj2);
12406 if (arg3 == NULL) SWIG_fail;
12407 temp3 = True;
12408 }
12409 }
12410 if (obj3) {
12411 {
12412 arg4 = wxString_in_helper(obj3);
12413 if (arg4 == NULL) SWIG_fail;
12414 temp4 = True;
12415 }
12416 }
12417 if (obj4) {
12418 arg5 = (long) SWIG_AsLong(obj4);
12419 if (PyErr_Occurred()) SWIG_fail;
12420 }
12421 if (obj5) {
12422 {
12423 arg6 = &temp6;
12424 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12425 }
12426 }
12427 {
12428 PyThreadState* __tstate = wxPyBeginAllowThreads();
12429 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12430
12431 wxPyEndAllowThreads(__tstate);
12432 if (PyErr_Occurred()) SWIG_fail;
12433 }
12434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12435 {
12436 if (temp2)
12437 delete arg2;
12438 }
12439 {
12440 if (temp3)
12441 delete arg3;
12442 }
12443 {
12444 if (temp4)
12445 delete arg4;
12446 }
12447 return resultobj;
12448 fail:
12449 {
12450 if (temp2)
12451 delete arg2;
12452 }
12453 {
12454 if (temp3)
12455 delete arg3;
12456 }
12457 {
12458 if (temp4)
12459 delete arg4;
12460 }
12461 return NULL;
12462 }
12463
12464
12465 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj;
12467 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12468 wxString result;
12469 PyObject * obj0 = 0 ;
12470 char *kwnames[] = {
12471 (char *) "self", NULL
12472 };
12473
12474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12477 {
12478 PyThreadState* __tstate = wxPyBeginAllowThreads();
12479 result = (arg1)->GetValue();
12480
12481 wxPyEndAllowThreads(__tstate);
12482 if (PyErr_Occurred()) SWIG_fail;
12483 }
12484 {
12485 #if wxUSE_UNICODE
12486 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12487 #else
12488 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12489 #endif
12490 }
12491 return resultobj;
12492 fail:
12493 return NULL;
12494 }
12495
12496
12497 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12498 PyObject *resultobj;
12499 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12500 wxString *arg2 = 0 ;
12501 bool temp2 = False ;
12502 PyObject * obj0 = 0 ;
12503 PyObject * obj1 = 0 ;
12504 char *kwnames[] = {
12505 (char *) "self",(char *) "value", NULL
12506 };
12507
12508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12511 {
12512 arg2 = wxString_in_helper(obj1);
12513 if (arg2 == NULL) SWIG_fail;
12514 temp2 = True;
12515 }
12516 {
12517 PyThreadState* __tstate = wxPyBeginAllowThreads();
12518 (arg1)->SetValue((wxString const &)*arg2);
12519
12520 wxPyEndAllowThreads(__tstate);
12521 if (PyErr_Occurred()) SWIG_fail;
12522 }
12523 Py_INCREF(Py_None); resultobj = Py_None;
12524 {
12525 if (temp2)
12526 delete arg2;
12527 }
12528 return resultobj;
12529 fail:
12530 {
12531 if (temp2)
12532 delete arg2;
12533 }
12534 return NULL;
12535 }
12536
12537
12538 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12539 PyObject *obj;
12540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12541 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12542 Py_INCREF(obj);
12543 return Py_BuildValue((char *)"");
12544 }
12545 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12546 PyObject *resultobj;
12547 wxFontData *result;
12548 char *kwnames[] = {
12549 NULL
12550 };
12551
12552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 result = (wxFontData *)new wxFontData();
12556
12557 wxPyEndAllowThreads(__tstate);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
12560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12561 return resultobj;
12562 fail:
12563 return NULL;
12564 }
12565
12566
12567 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12568 PyObject *resultobj;
12569 wxFontData *arg1 = (wxFontData *) 0 ;
12570 PyObject * obj0 = 0 ;
12571 char *kwnames[] = {
12572 (char *) "self", NULL
12573 };
12574
12575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 delete arg1;
12581
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
12585 Py_INCREF(Py_None); resultobj = Py_None;
12586 return resultobj;
12587 fail:
12588 return NULL;
12589 }
12590
12591
12592 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12593 PyObject *resultobj;
12594 wxFontData *arg1 = (wxFontData *) 0 ;
12595 bool arg2 ;
12596 PyObject * obj0 = 0 ;
12597 PyObject * obj1 = 0 ;
12598 char *kwnames[] = {
12599 (char *) "self",(char *) "enable", NULL
12600 };
12601
12602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12605 arg2 = (bool) SWIG_AsBool(obj1);
12606 if (PyErr_Occurred()) SWIG_fail;
12607 {
12608 PyThreadState* __tstate = wxPyBeginAllowThreads();
12609 (arg1)->EnableEffects(arg2);
12610
12611 wxPyEndAllowThreads(__tstate);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 }
12614 Py_INCREF(Py_None); resultobj = Py_None;
12615 return resultobj;
12616 fail:
12617 return NULL;
12618 }
12619
12620
12621 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12622 PyObject *resultobj;
12623 wxFontData *arg1 = (wxFontData *) 0 ;
12624 bool result;
12625 PyObject * obj0 = 0 ;
12626 char *kwnames[] = {
12627 (char *) "self", NULL
12628 };
12629
12630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 result = (bool)(arg1)->GetAllowSymbols();
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12641 return resultobj;
12642 fail:
12643 return NULL;
12644 }
12645
12646
12647 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj;
12649 wxFontData *arg1 = (wxFontData *) 0 ;
12650 wxColour result;
12651 PyObject * obj0 = 0 ;
12652 char *kwnames[] = {
12653 (char *) "self", NULL
12654 };
12655
12656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 result = (arg1)->GetColour();
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 {
12667 wxColour * resultptr;
12668 resultptr = new wxColour((wxColour &) result);
12669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12670 }
12671 return resultobj;
12672 fail:
12673 return NULL;
12674 }
12675
12676
12677 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12678 PyObject *resultobj;
12679 wxFontData *arg1 = (wxFontData *) 0 ;
12680 wxFont result;
12681 PyObject * obj0 = 0 ;
12682 char *kwnames[] = {
12683 (char *) "self", NULL
12684 };
12685
12686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12689 {
12690 PyThreadState* __tstate = wxPyBeginAllowThreads();
12691 result = (arg1)->GetChosenFont();
12692
12693 wxPyEndAllowThreads(__tstate);
12694 if (PyErr_Occurred()) SWIG_fail;
12695 }
12696 {
12697 wxFont * resultptr;
12698 resultptr = new wxFont((wxFont &) result);
12699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12700 }
12701 return resultobj;
12702 fail:
12703 return NULL;
12704 }
12705
12706
12707 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12708 PyObject *resultobj;
12709 wxFontData *arg1 = (wxFontData *) 0 ;
12710 bool result;
12711 PyObject * obj0 = 0 ;
12712 char *kwnames[] = {
12713 (char *) "self", NULL
12714 };
12715
12716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12719 {
12720 PyThreadState* __tstate = wxPyBeginAllowThreads();
12721 result = (bool)(arg1)->GetEnableEffects();
12722
12723 wxPyEndAllowThreads(__tstate);
12724 if (PyErr_Occurred()) SWIG_fail;
12725 }
12726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12727 return resultobj;
12728 fail:
12729 return NULL;
12730 }
12731
12732
12733 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12734 PyObject *resultobj;
12735 wxFontData *arg1 = (wxFontData *) 0 ;
12736 wxFont result;
12737 PyObject * obj0 = 0 ;
12738 char *kwnames[] = {
12739 (char *) "self", NULL
12740 };
12741
12742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12745 {
12746 PyThreadState* __tstate = wxPyBeginAllowThreads();
12747 result = (arg1)->GetInitialFont();
12748
12749 wxPyEndAllowThreads(__tstate);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 {
12753 wxFont * resultptr;
12754 resultptr = new wxFont((wxFont &) result);
12755 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12756 }
12757 return resultobj;
12758 fail:
12759 return NULL;
12760 }
12761
12762
12763 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12764 PyObject *resultobj;
12765 wxFontData *arg1 = (wxFontData *) 0 ;
12766 bool result;
12767 PyObject * obj0 = 0 ;
12768 char *kwnames[] = {
12769 (char *) "self", NULL
12770 };
12771
12772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12775 {
12776 PyThreadState* __tstate = wxPyBeginAllowThreads();
12777 result = (bool)(arg1)->GetShowHelp();
12778
12779 wxPyEndAllowThreads(__tstate);
12780 if (PyErr_Occurred()) SWIG_fail;
12781 }
12782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12783 return resultobj;
12784 fail:
12785 return NULL;
12786 }
12787
12788
12789 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12790 PyObject *resultobj;
12791 wxFontData *arg1 = (wxFontData *) 0 ;
12792 bool arg2 ;
12793 PyObject * obj0 = 0 ;
12794 PyObject * obj1 = 0 ;
12795 char *kwnames[] = {
12796 (char *) "self",(char *) "allowSymbols", NULL
12797 };
12798
12799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12802 arg2 = (bool) SWIG_AsBool(obj1);
12803 if (PyErr_Occurred()) SWIG_fail;
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 (arg1)->SetAllowSymbols(arg2);
12807
12808 wxPyEndAllowThreads(__tstate);
12809 if (PyErr_Occurred()) SWIG_fail;
12810 }
12811 Py_INCREF(Py_None); resultobj = Py_None;
12812 return resultobj;
12813 fail:
12814 return NULL;
12815 }
12816
12817
12818 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12819 PyObject *resultobj;
12820 wxFontData *arg1 = (wxFontData *) 0 ;
12821 wxFont *arg2 = 0 ;
12822 PyObject * obj0 = 0 ;
12823 PyObject * obj1 = 0 ;
12824 char *kwnames[] = {
12825 (char *) "self",(char *) "font", NULL
12826 };
12827
12828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12831 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12832 SWIG_POINTER_EXCEPTION | 0)) == -1)
12833 SWIG_fail;
12834 if (arg2 == NULL) {
12835 PyErr_SetString(PyExc_TypeError,"null reference");
12836 SWIG_fail;
12837 }
12838 {
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 (arg1)->SetChosenFont((wxFont const &)*arg2);
12841
12842 wxPyEndAllowThreads(__tstate);
12843 if (PyErr_Occurred()) SWIG_fail;
12844 }
12845 Py_INCREF(Py_None); resultobj = Py_None;
12846 return resultobj;
12847 fail:
12848 return NULL;
12849 }
12850
12851
12852 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12853 PyObject *resultobj;
12854 wxFontData *arg1 = (wxFontData *) 0 ;
12855 wxColour *arg2 = 0 ;
12856 wxColour temp2 ;
12857 PyObject * obj0 = 0 ;
12858 PyObject * obj1 = 0 ;
12859 char *kwnames[] = {
12860 (char *) "self",(char *) "colour", NULL
12861 };
12862
12863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12866 {
12867 arg2 = &temp2;
12868 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12869 }
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 (arg1)->SetColour((wxColour const &)*arg2);
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 Py_INCREF(Py_None); resultobj = Py_None;
12878 return resultobj;
12879 fail:
12880 return NULL;
12881 }
12882
12883
12884 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12885 PyObject *resultobj;
12886 wxFontData *arg1 = (wxFontData *) 0 ;
12887 wxFont *arg2 = 0 ;
12888 PyObject * obj0 = 0 ;
12889 PyObject * obj1 = 0 ;
12890 char *kwnames[] = {
12891 (char *) "self",(char *) "font", NULL
12892 };
12893
12894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12897 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12898 SWIG_POINTER_EXCEPTION | 0)) == -1)
12899 SWIG_fail;
12900 if (arg2 == NULL) {
12901 PyErr_SetString(PyExc_TypeError,"null reference");
12902 SWIG_fail;
12903 }
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 (arg1)->SetInitialFont((wxFont const &)*arg2);
12907
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 Py_INCREF(Py_None); resultobj = Py_None;
12912 return resultobj;
12913 fail:
12914 return NULL;
12915 }
12916
12917
12918 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12919 PyObject *resultobj;
12920 wxFontData *arg1 = (wxFontData *) 0 ;
12921 int arg2 ;
12922 int arg3 ;
12923 PyObject * obj0 = 0 ;
12924 PyObject * obj1 = 0 ;
12925 PyObject * obj2 = 0 ;
12926 char *kwnames[] = {
12927 (char *) "self",(char *) "min",(char *) "max", NULL
12928 };
12929
12930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12933 arg2 = (int) SWIG_AsInt(obj1);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 arg3 = (int) SWIG_AsInt(obj2);
12936 if (PyErr_Occurred()) SWIG_fail;
12937 {
12938 PyThreadState* __tstate = wxPyBeginAllowThreads();
12939 (arg1)->SetRange(arg2,arg3);
12940
12941 wxPyEndAllowThreads(__tstate);
12942 if (PyErr_Occurred()) SWIG_fail;
12943 }
12944 Py_INCREF(Py_None); resultobj = Py_None;
12945 return resultobj;
12946 fail:
12947 return NULL;
12948 }
12949
12950
12951 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12952 PyObject *resultobj;
12953 wxFontData *arg1 = (wxFontData *) 0 ;
12954 bool arg2 ;
12955 PyObject * obj0 = 0 ;
12956 PyObject * obj1 = 0 ;
12957 char *kwnames[] = {
12958 (char *) "self",(char *) "showHelp", NULL
12959 };
12960
12961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12964 arg2 = (bool) SWIG_AsBool(obj1);
12965 if (PyErr_Occurred()) SWIG_fail;
12966 {
12967 PyThreadState* __tstate = wxPyBeginAllowThreads();
12968 (arg1)->SetShowHelp(arg2);
12969
12970 wxPyEndAllowThreads(__tstate);
12971 if (PyErr_Occurred()) SWIG_fail;
12972 }
12973 Py_INCREF(Py_None); resultobj = Py_None;
12974 return resultobj;
12975 fail:
12976 return NULL;
12977 }
12978
12979
12980 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
12981 PyObject *obj;
12982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12983 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12984 Py_INCREF(obj);
12985 return Py_BuildValue((char *)"");
12986 }
12987 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12988 PyObject *resultobj;
12989 wxWindow *arg1 = (wxWindow *) 0 ;
12990 wxFontData *arg2 = 0 ;
12991 wxFontDialog *result;
12992 PyObject * obj0 = 0 ;
12993 PyObject * obj1 = 0 ;
12994 char *kwnames[] = {
12995 (char *) "parent",(char *) "data", NULL
12996 };
12997
12998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13002 SWIG_POINTER_EXCEPTION | 0)) == -1)
13003 SWIG_fail;
13004 if (arg2 == NULL) {
13005 PyErr_SetString(PyExc_TypeError,"null reference");
13006 SWIG_fail;
13007 }
13008 {
13009 PyThreadState* __tstate = wxPyBeginAllowThreads();
13010 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13011
13012 wxPyEndAllowThreads(__tstate);
13013 if (PyErr_Occurred()) SWIG_fail;
13014 }
13015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13016 return resultobj;
13017 fail:
13018 return NULL;
13019 }
13020
13021
13022 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13023 PyObject *resultobj;
13024 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13025 wxFontData *result;
13026 PyObject * obj0 = 0 ;
13027 char *kwnames[] = {
13028 (char *) "self", NULL
13029 };
13030
13031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13034 {
13035 PyThreadState* __tstate = wxPyBeginAllowThreads();
13036 {
13037 wxFontData &_result_ref = (arg1)->GetFontData();
13038 result = (wxFontData *) &_result_ref;
13039 }
13040
13041 wxPyEndAllowThreads(__tstate);
13042 if (PyErr_Occurred()) SWIG_fail;
13043 }
13044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13045 return resultobj;
13046 fail:
13047 return NULL;
13048 }
13049
13050
13051 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13052 PyObject *obj;
13053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13054 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13055 Py_INCREF(obj);
13056 return Py_BuildValue((char *)"");
13057 }
13058 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13059 PyObject *resultobj;
13060 wxWindow *arg1 = (wxWindow *) 0 ;
13061 wxString *arg2 = 0 ;
13062 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13063 wxString *arg3 = (wxString *) &arg3_defvalue ;
13064 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13065 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13066 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13067 wxMessageDialog *result;
13068 bool temp2 = False ;
13069 bool temp3 = False ;
13070 wxPoint temp5 ;
13071 PyObject * obj0 = 0 ;
13072 PyObject * obj1 = 0 ;
13073 PyObject * obj2 = 0 ;
13074 PyObject * obj3 = 0 ;
13075 PyObject * obj4 = 0 ;
13076 char *kwnames[] = {
13077 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13078 };
13079
13080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13083 {
13084 arg2 = wxString_in_helper(obj1);
13085 if (arg2 == NULL) SWIG_fail;
13086 temp2 = True;
13087 }
13088 if (obj2) {
13089 {
13090 arg3 = wxString_in_helper(obj2);
13091 if (arg3 == NULL) SWIG_fail;
13092 temp3 = True;
13093 }
13094 }
13095 if (obj3) {
13096 arg4 = (long) SWIG_AsLong(obj3);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 if (obj4) {
13100 {
13101 arg5 = &temp5;
13102 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13103 }
13104 }
13105 {
13106 PyThreadState* __tstate = wxPyBeginAllowThreads();
13107 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13108
13109 wxPyEndAllowThreads(__tstate);
13110 if (PyErr_Occurred()) SWIG_fail;
13111 }
13112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13113 {
13114 if (temp2)
13115 delete arg2;
13116 }
13117 {
13118 if (temp3)
13119 delete arg3;
13120 }
13121 return resultobj;
13122 fail:
13123 {
13124 if (temp2)
13125 delete arg2;
13126 }
13127 {
13128 if (temp3)
13129 delete arg3;
13130 }
13131 return NULL;
13132 }
13133
13134
13135 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13136 PyObject *obj;
13137 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13138 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13139 Py_INCREF(obj);
13140 return Py_BuildValue((char *)"");
13141 }
13142 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13143 PyObject *resultobj;
13144 wxString *arg1 = 0 ;
13145 wxString *arg2 = 0 ;
13146 int arg3 = (int) 100 ;
13147 wxWindow *arg4 = (wxWindow *) NULL ;
13148 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13149 wxProgressDialog *result;
13150 bool temp1 = False ;
13151 bool temp2 = False ;
13152 PyObject * obj0 = 0 ;
13153 PyObject * obj1 = 0 ;
13154 PyObject * obj2 = 0 ;
13155 PyObject * obj3 = 0 ;
13156 PyObject * obj4 = 0 ;
13157 char *kwnames[] = {
13158 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13159 };
13160
13161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13162 {
13163 arg1 = wxString_in_helper(obj0);
13164 if (arg1 == NULL) SWIG_fail;
13165 temp1 = True;
13166 }
13167 {
13168 arg2 = wxString_in_helper(obj1);
13169 if (arg2 == NULL) SWIG_fail;
13170 temp2 = True;
13171 }
13172 if (obj2) {
13173 arg3 = (int) SWIG_AsInt(obj2);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 if (obj3) {
13177 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13179 }
13180 if (obj4) {
13181 arg5 = (int) SWIG_AsInt(obj4);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
13184 {
13185 PyThreadState* __tstate = wxPyBeginAllowThreads();
13186 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13187
13188 wxPyEndAllowThreads(__tstate);
13189 if (PyErr_Occurred()) SWIG_fail;
13190 }
13191 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13192 {
13193 if (temp1)
13194 delete arg1;
13195 }
13196 {
13197 if (temp2)
13198 delete arg2;
13199 }
13200 return resultobj;
13201 fail:
13202 {
13203 if (temp1)
13204 delete arg1;
13205 }
13206 {
13207 if (temp2)
13208 delete arg2;
13209 }
13210 return NULL;
13211 }
13212
13213
13214 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13215 PyObject *resultobj;
13216 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13217 int arg2 ;
13218 wxString const &arg3_defvalue = wxPyEmptyString ;
13219 wxString *arg3 = (wxString *) &arg3_defvalue ;
13220 bool result;
13221 bool temp3 = False ;
13222 PyObject * obj0 = 0 ;
13223 PyObject * obj1 = 0 ;
13224 PyObject * obj2 = 0 ;
13225 char *kwnames[] = {
13226 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13227 };
13228
13229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13232 arg2 = (int) SWIG_AsInt(obj1);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 if (obj2) {
13235 {
13236 arg3 = wxString_in_helper(obj2);
13237 if (arg3 == NULL) SWIG_fail;
13238 temp3 = True;
13239 }
13240 }
13241 {
13242 PyThreadState* __tstate = wxPyBeginAllowThreads();
13243 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13244
13245 wxPyEndAllowThreads(__tstate);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 }
13248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13249 {
13250 if (temp3)
13251 delete arg3;
13252 }
13253 return resultobj;
13254 fail:
13255 {
13256 if (temp3)
13257 delete arg3;
13258 }
13259 return NULL;
13260 }
13261
13262
13263 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13264 PyObject *resultobj;
13265 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13266 PyObject * obj0 = 0 ;
13267 char *kwnames[] = {
13268 (char *) "self", NULL
13269 };
13270
13271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 (arg1)->Resume();
13277
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 Py_INCREF(Py_None); resultobj = Py_None;
13282 return resultobj;
13283 fail:
13284 return NULL;
13285 }
13286
13287
13288 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13289 PyObject *obj;
13290 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13291 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13292 Py_INCREF(obj);
13293 return Py_BuildValue((char *)"");
13294 }
13295 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13296 PyObject *resultobj;
13297 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13298 int arg2 = (int) 0 ;
13299 wxFindDialogEvent *result;
13300 PyObject * obj0 = 0 ;
13301 PyObject * obj1 = 0 ;
13302 char *kwnames[] = {
13303 (char *) "commandType",(char *) "id", NULL
13304 };
13305
13306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13307 if (obj0) {
13308 arg1 = (wxEventType) SWIG_AsInt(obj0);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 }
13311 if (obj1) {
13312 arg2 = (int) SWIG_AsInt(obj1);
13313 if (PyErr_Occurred()) SWIG_fail;
13314 }
13315 {
13316 PyThreadState* __tstate = wxPyBeginAllowThreads();
13317 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13318
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13323 return resultobj;
13324 fail:
13325 return NULL;
13326 }
13327
13328
13329 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13330 PyObject *resultobj;
13331 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13332 int result;
13333 PyObject * obj0 = 0 ;
13334 char *kwnames[] = {
13335 (char *) "self", NULL
13336 };
13337
13338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13341 {
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 result = (int)(arg1)->GetFlags();
13344
13345 wxPyEndAllowThreads(__tstate);
13346 if (PyErr_Occurred()) SWIG_fail;
13347 }
13348 resultobj = SWIG_FromInt((int)result);
13349 return resultobj;
13350 fail:
13351 return NULL;
13352 }
13353
13354
13355 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13356 PyObject *resultobj;
13357 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13358 wxString *result;
13359 PyObject * obj0 = 0 ;
13360 char *kwnames[] = {
13361 (char *) "self", NULL
13362 };
13363
13364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 {
13370 wxString const &_result_ref = (arg1)->GetFindString();
13371 result = (wxString *) &_result_ref;
13372 }
13373
13374 wxPyEndAllowThreads(__tstate);
13375 if (PyErr_Occurred()) SWIG_fail;
13376 }
13377 {
13378 #if wxUSE_UNICODE
13379 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13380 #else
13381 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13382 #endif
13383 }
13384 return resultobj;
13385 fail:
13386 return NULL;
13387 }
13388
13389
13390 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13391 PyObject *resultobj;
13392 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13393 wxString *result;
13394 PyObject * obj0 = 0 ;
13395 char *kwnames[] = {
13396 (char *) "self", NULL
13397 };
13398
13399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13402 {
13403 PyThreadState* __tstate = wxPyBeginAllowThreads();
13404 {
13405 wxString const &_result_ref = (arg1)->GetReplaceString();
13406 result = (wxString *) &_result_ref;
13407 }
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 {
13413 #if wxUSE_UNICODE
13414 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13415 #else
13416 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13417 #endif
13418 }
13419 return resultobj;
13420 fail:
13421 return NULL;
13422 }
13423
13424
13425 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13428 wxFindReplaceDialog *result;
13429 PyObject * obj0 = 0 ;
13430 char *kwnames[] = {
13431 (char *) "self", NULL
13432 };
13433
13434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13437 {
13438 PyThreadState* __tstate = wxPyBeginAllowThreads();
13439 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13440
13441 wxPyEndAllowThreads(__tstate);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 }
13444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13445 return resultobj;
13446 fail:
13447 return NULL;
13448 }
13449
13450
13451 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13452 PyObject *resultobj;
13453 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13454 int arg2 ;
13455 PyObject * obj0 = 0 ;
13456 PyObject * obj1 = 0 ;
13457 char *kwnames[] = {
13458 (char *) "self",(char *) "flags", NULL
13459 };
13460
13461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13464 arg2 = (int) SWIG_AsInt(obj1);
13465 if (PyErr_Occurred()) SWIG_fail;
13466 {
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 (arg1)->SetFlags(arg2);
13469
13470 wxPyEndAllowThreads(__tstate);
13471 if (PyErr_Occurred()) SWIG_fail;
13472 }
13473 Py_INCREF(Py_None); resultobj = Py_None;
13474 return resultobj;
13475 fail:
13476 return NULL;
13477 }
13478
13479
13480 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13481 PyObject *resultobj;
13482 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13483 wxString *arg2 = 0 ;
13484 bool temp2 = False ;
13485 PyObject * obj0 = 0 ;
13486 PyObject * obj1 = 0 ;
13487 char *kwnames[] = {
13488 (char *) "self",(char *) "str", NULL
13489 };
13490
13491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13494 {
13495 arg2 = wxString_in_helper(obj1);
13496 if (arg2 == NULL) SWIG_fail;
13497 temp2 = True;
13498 }
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 (arg1)->SetFindString((wxString const &)*arg2);
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 Py_INCREF(Py_None); resultobj = Py_None;
13507 {
13508 if (temp2)
13509 delete arg2;
13510 }
13511 return resultobj;
13512 fail:
13513 {
13514 if (temp2)
13515 delete arg2;
13516 }
13517 return NULL;
13518 }
13519
13520
13521 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj;
13523 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13524 wxString *arg2 = 0 ;
13525 bool temp2 = False ;
13526 PyObject * obj0 = 0 ;
13527 PyObject * obj1 = 0 ;
13528 char *kwnames[] = {
13529 (char *) "self",(char *) "str", NULL
13530 };
13531
13532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13535 {
13536 arg2 = wxString_in_helper(obj1);
13537 if (arg2 == NULL) SWIG_fail;
13538 temp2 = True;
13539 }
13540 {
13541 PyThreadState* __tstate = wxPyBeginAllowThreads();
13542 (arg1)->SetReplaceString((wxString const &)*arg2);
13543
13544 wxPyEndAllowThreads(__tstate);
13545 if (PyErr_Occurred()) SWIG_fail;
13546 }
13547 Py_INCREF(Py_None); resultobj = Py_None;
13548 {
13549 if (temp2)
13550 delete arg2;
13551 }
13552 return resultobj;
13553 fail:
13554 {
13555 if (temp2)
13556 delete arg2;
13557 }
13558 return NULL;
13559 }
13560
13561
13562 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13563 PyObject *obj;
13564 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13565 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13566 Py_INCREF(obj);
13567 return Py_BuildValue((char *)"");
13568 }
13569 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13570 PyObject *resultobj;
13571 int arg1 = (int) 0 ;
13572 wxFindReplaceData *result;
13573 PyObject * obj0 = 0 ;
13574 char *kwnames[] = {
13575 (char *) "flags", NULL
13576 };
13577
13578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13579 if (obj0) {
13580 arg1 = (int) SWIG_AsInt(obj0);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13586
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13591 return resultobj;
13592 fail:
13593 return NULL;
13594 }
13595
13596
13597 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13598 PyObject *resultobj;
13599 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13600 PyObject * obj0 = 0 ;
13601 char *kwnames[] = {
13602 (char *) "self", NULL
13603 };
13604
13605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 delete arg1;
13611
13612 wxPyEndAllowThreads(__tstate);
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
13615 Py_INCREF(Py_None); resultobj = Py_None;
13616 return resultobj;
13617 fail:
13618 return NULL;
13619 }
13620
13621
13622 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13623 PyObject *resultobj;
13624 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13625 wxString *result;
13626 PyObject * obj0 = 0 ;
13627 char *kwnames[] = {
13628 (char *) "self", NULL
13629 };
13630
13631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13634 {
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 {
13637 wxString const &_result_ref = (arg1)->GetFindString();
13638 result = (wxString *) &_result_ref;
13639 }
13640
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 {
13645 #if wxUSE_UNICODE
13646 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13647 #else
13648 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13649 #endif
13650 }
13651 return resultobj;
13652 fail:
13653 return NULL;
13654 }
13655
13656
13657 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13660 wxString *result;
13661 PyObject * obj0 = 0 ;
13662 char *kwnames[] = {
13663 (char *) "self", NULL
13664 };
13665
13666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 {
13672 wxString const &_result_ref = (arg1)->GetReplaceString();
13673 result = (wxString *) &_result_ref;
13674 }
13675
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 {
13680 #if wxUSE_UNICODE
13681 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13682 #else
13683 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13684 #endif
13685 }
13686 return resultobj;
13687 fail:
13688 return NULL;
13689 }
13690
13691
13692 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13693 PyObject *resultobj;
13694 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13695 int result;
13696 PyObject * obj0 = 0 ;
13697 char *kwnames[] = {
13698 (char *) "self", NULL
13699 };
13700
13701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13704 {
13705 PyThreadState* __tstate = wxPyBeginAllowThreads();
13706 result = (int)(arg1)->GetFlags();
13707
13708 wxPyEndAllowThreads(__tstate);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 }
13711 resultobj = SWIG_FromInt((int)result);
13712 return resultobj;
13713 fail:
13714 return NULL;
13715 }
13716
13717
13718 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13719 PyObject *resultobj;
13720 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13721 int arg2 ;
13722 PyObject * obj0 = 0 ;
13723 PyObject * obj1 = 0 ;
13724 char *kwnames[] = {
13725 (char *) "self",(char *) "flags", NULL
13726 };
13727
13728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13731 arg2 = (int) SWIG_AsInt(obj1);
13732 if (PyErr_Occurred()) SWIG_fail;
13733 {
13734 PyThreadState* __tstate = wxPyBeginAllowThreads();
13735 (arg1)->SetFlags(arg2);
13736
13737 wxPyEndAllowThreads(__tstate);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 }
13740 Py_INCREF(Py_None); resultobj = Py_None;
13741 return resultobj;
13742 fail:
13743 return NULL;
13744 }
13745
13746
13747 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13748 PyObject *resultobj;
13749 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13750 wxString *arg2 = 0 ;
13751 bool temp2 = False ;
13752 PyObject * obj0 = 0 ;
13753 PyObject * obj1 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "self",(char *) "str", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13761 {
13762 arg2 = wxString_in_helper(obj1);
13763 if (arg2 == NULL) SWIG_fail;
13764 temp2 = True;
13765 }
13766 {
13767 PyThreadState* __tstate = wxPyBeginAllowThreads();
13768 (arg1)->SetFindString((wxString const &)*arg2);
13769
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 Py_INCREF(Py_None); resultobj = Py_None;
13774 {
13775 if (temp2)
13776 delete arg2;
13777 }
13778 return resultobj;
13779 fail:
13780 {
13781 if (temp2)
13782 delete arg2;
13783 }
13784 return NULL;
13785 }
13786
13787
13788 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13789 PyObject *resultobj;
13790 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13791 wxString *arg2 = 0 ;
13792 bool temp2 = False ;
13793 PyObject * obj0 = 0 ;
13794 PyObject * obj1 = 0 ;
13795 char *kwnames[] = {
13796 (char *) "self",(char *) "str", NULL
13797 };
13798
13799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13802 {
13803 arg2 = wxString_in_helper(obj1);
13804 if (arg2 == NULL) SWIG_fail;
13805 temp2 = True;
13806 }
13807 {
13808 PyThreadState* __tstate = wxPyBeginAllowThreads();
13809 (arg1)->SetReplaceString((wxString const &)*arg2);
13810
13811 wxPyEndAllowThreads(__tstate);
13812 if (PyErr_Occurred()) SWIG_fail;
13813 }
13814 Py_INCREF(Py_None); resultobj = Py_None;
13815 {
13816 if (temp2)
13817 delete arg2;
13818 }
13819 return resultobj;
13820 fail:
13821 {
13822 if (temp2)
13823 delete arg2;
13824 }
13825 return NULL;
13826 }
13827
13828
13829 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
13830 PyObject *obj;
13831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13832 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13833 Py_INCREF(obj);
13834 return Py_BuildValue((char *)"");
13835 }
13836 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13837 PyObject *resultobj;
13838 wxWindow *arg1 = (wxWindow *) 0 ;
13839 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13840 wxString *arg3 = 0 ;
13841 int arg4 = (int) 0 ;
13842 wxFindReplaceDialog *result;
13843 bool temp3 = False ;
13844 PyObject * obj0 = 0 ;
13845 PyObject * obj1 = 0 ;
13846 PyObject * obj2 = 0 ;
13847 PyObject * obj3 = 0 ;
13848 char *kwnames[] = {
13849 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13850 };
13851
13852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13857 {
13858 arg3 = wxString_in_helper(obj2);
13859 if (arg3 == NULL) SWIG_fail;
13860 temp3 = True;
13861 }
13862 if (obj3) {
13863 arg4 = (int) SWIG_AsInt(obj3);
13864 if (PyErr_Occurred()) SWIG_fail;
13865 }
13866 {
13867 PyThreadState* __tstate = wxPyBeginAllowThreads();
13868 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13869
13870 wxPyEndAllowThreads(__tstate);
13871 if (PyErr_Occurred()) SWIG_fail;
13872 }
13873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13874 {
13875 if (temp3)
13876 delete arg3;
13877 }
13878 return resultobj;
13879 fail:
13880 {
13881 if (temp3)
13882 delete arg3;
13883 }
13884 return NULL;
13885 }
13886
13887
13888 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13889 PyObject *resultobj;
13890 wxFindReplaceDialog *result;
13891 char *kwnames[] = {
13892 NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13899
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13904 return resultobj;
13905 fail:
13906 return NULL;
13907 }
13908
13909
13910 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13911 PyObject *resultobj;
13912 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13913 wxWindow *arg2 = (wxWindow *) 0 ;
13914 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13915 wxString *arg4 = 0 ;
13916 int arg5 = (int) 0 ;
13917 bool result;
13918 bool temp4 = False ;
13919 PyObject * obj0 = 0 ;
13920 PyObject * obj1 = 0 ;
13921 PyObject * obj2 = 0 ;
13922 PyObject * obj3 = 0 ;
13923 PyObject * obj4 = 0 ;
13924 char *kwnames[] = {
13925 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13926 };
13927
13928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13931 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13933 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
13934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13935 {
13936 arg4 = wxString_in_helper(obj3);
13937 if (arg4 == NULL) SWIG_fail;
13938 temp4 = True;
13939 }
13940 if (obj4) {
13941 arg5 = (int) SWIG_AsInt(obj4);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 {
13945 PyThreadState* __tstate = wxPyBeginAllowThreads();
13946 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13947
13948 wxPyEndAllowThreads(__tstate);
13949 if (PyErr_Occurred()) SWIG_fail;
13950 }
13951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13952 {
13953 if (temp4)
13954 delete arg4;
13955 }
13956 return resultobj;
13957 fail:
13958 {
13959 if (temp4)
13960 delete arg4;
13961 }
13962 return NULL;
13963 }
13964
13965
13966 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13967 PyObject *resultobj;
13968 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13969 wxFindReplaceData *result;
13970 PyObject * obj0 = 0 ;
13971 char *kwnames[] = {
13972 (char *) "self", NULL
13973 };
13974
13975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13978 {
13979 PyThreadState* __tstate = wxPyBeginAllowThreads();
13980 result = (wxFindReplaceData *)(arg1)->GetData();
13981
13982 wxPyEndAllowThreads(__tstate);
13983 if (PyErr_Occurred()) SWIG_fail;
13984 }
13985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
13986 return resultobj;
13987 fail:
13988 return NULL;
13989 }
13990
13991
13992 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13993 PyObject *resultobj;
13994 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13995 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13996 PyObject * obj0 = 0 ;
13997 PyObject * obj1 = 0 ;
13998 char *kwnames[] = {
13999 (char *) "self",(char *) "data", NULL
14000 };
14001
14002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14007 {
14008 PyThreadState* __tstate = wxPyBeginAllowThreads();
14009 (arg1)->SetData(arg2);
14010
14011 wxPyEndAllowThreads(__tstate);
14012 if (PyErr_Occurred()) SWIG_fail;
14013 }
14014 Py_INCREF(Py_None); resultobj = Py_None;
14015 return resultobj;
14016 fail:
14017 return NULL;
14018 }
14019
14020
14021 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14022 PyObject *obj;
14023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14024 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14025 Py_INCREF(obj);
14026 return Py_BuildValue((char *)"");
14027 }
14028 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14029 PyObject *resultobj;
14030 wxWindow *arg1 = (wxWindow *) 0 ;
14031 int arg2 ;
14032 wxString *arg3 = 0 ;
14033 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14034 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14035 wxSize const &arg5_defvalue = wxDefaultSize ;
14036 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14037 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14038 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14039 wxString *arg7 = (wxString *) &arg7_defvalue ;
14040 wxMDIParentFrame *result;
14041 bool temp3 = False ;
14042 wxPoint temp4 ;
14043 wxSize temp5 ;
14044 bool temp7 = False ;
14045 PyObject * obj0 = 0 ;
14046 PyObject * obj1 = 0 ;
14047 PyObject * obj2 = 0 ;
14048 PyObject * obj3 = 0 ;
14049 PyObject * obj4 = 0 ;
14050 PyObject * obj5 = 0 ;
14051 PyObject * obj6 = 0 ;
14052 char *kwnames[] = {
14053 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14054 };
14055
14056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14059 arg2 = (int const) SWIG_AsInt(obj1);
14060 if (PyErr_Occurred()) SWIG_fail;
14061 {
14062 arg3 = wxString_in_helper(obj2);
14063 if (arg3 == NULL) SWIG_fail;
14064 temp3 = True;
14065 }
14066 if (obj3) {
14067 {
14068 arg4 = &temp4;
14069 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14070 }
14071 }
14072 if (obj4) {
14073 {
14074 arg5 = &temp5;
14075 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14076 }
14077 }
14078 if (obj5) {
14079 arg6 = (long) SWIG_AsLong(obj5);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 if (obj6) {
14083 {
14084 arg7 = wxString_in_helper(obj6);
14085 if (arg7 == NULL) SWIG_fail;
14086 temp7 = True;
14087 }
14088 }
14089 {
14090 PyThreadState* __tstate = wxPyBeginAllowThreads();
14091 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14092
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
14096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14097 {
14098 if (temp3)
14099 delete arg3;
14100 }
14101 {
14102 if (temp7)
14103 delete arg7;
14104 }
14105 return resultobj;
14106 fail:
14107 {
14108 if (temp3)
14109 delete arg3;
14110 }
14111 {
14112 if (temp7)
14113 delete arg7;
14114 }
14115 return NULL;
14116 }
14117
14118
14119 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14120 PyObject *resultobj;
14121 wxMDIParentFrame *result;
14122 char *kwnames[] = {
14123 NULL
14124 };
14125
14126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14127 {
14128 PyThreadState* __tstate = wxPyBeginAllowThreads();
14129 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14130
14131 wxPyEndAllowThreads(__tstate);
14132 if (PyErr_Occurred()) SWIG_fail;
14133 }
14134 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14135 return resultobj;
14136 fail:
14137 return NULL;
14138 }
14139
14140
14141 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14142 PyObject *resultobj;
14143 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14144 wxWindow *arg2 = (wxWindow *) 0 ;
14145 int arg3 ;
14146 wxString *arg4 = 0 ;
14147 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14148 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14149 wxSize const &arg6_defvalue = wxDefaultSize ;
14150 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14151 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14152 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14153 wxString *arg8 = (wxString *) &arg8_defvalue ;
14154 bool result;
14155 bool temp4 = False ;
14156 wxPoint temp5 ;
14157 wxSize temp6 ;
14158 bool temp8 = False ;
14159 PyObject * obj0 = 0 ;
14160 PyObject * obj1 = 0 ;
14161 PyObject * obj2 = 0 ;
14162 PyObject * obj3 = 0 ;
14163 PyObject * obj4 = 0 ;
14164 PyObject * obj5 = 0 ;
14165 PyObject * obj6 = 0 ;
14166 PyObject * obj7 = 0 ;
14167 char *kwnames[] = {
14168 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14169 };
14170
14171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14176 arg3 = (int const) SWIG_AsInt(obj2);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 {
14179 arg4 = wxString_in_helper(obj3);
14180 if (arg4 == NULL) SWIG_fail;
14181 temp4 = True;
14182 }
14183 if (obj4) {
14184 {
14185 arg5 = &temp5;
14186 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14187 }
14188 }
14189 if (obj5) {
14190 {
14191 arg6 = &temp6;
14192 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14193 }
14194 }
14195 if (obj6) {
14196 arg7 = (long) SWIG_AsLong(obj6);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 }
14199 if (obj7) {
14200 {
14201 arg8 = wxString_in_helper(obj7);
14202 if (arg8 == NULL) SWIG_fail;
14203 temp8 = True;
14204 }
14205 }
14206 {
14207 PyThreadState* __tstate = wxPyBeginAllowThreads();
14208 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14209
14210 wxPyEndAllowThreads(__tstate);
14211 if (PyErr_Occurred()) SWIG_fail;
14212 }
14213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14214 {
14215 if (temp4)
14216 delete arg4;
14217 }
14218 {
14219 if (temp8)
14220 delete arg8;
14221 }
14222 return resultobj;
14223 fail:
14224 {
14225 if (temp4)
14226 delete arg4;
14227 }
14228 {
14229 if (temp8)
14230 delete arg8;
14231 }
14232 return NULL;
14233 }
14234
14235
14236 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj;
14238 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14239 PyObject * obj0 = 0 ;
14240 char *kwnames[] = {
14241 (char *) "self", NULL
14242 };
14243
14244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14247 {
14248 PyThreadState* __tstate = wxPyBeginAllowThreads();
14249 (arg1)->ActivateNext();
14250
14251 wxPyEndAllowThreads(__tstate);
14252 if (PyErr_Occurred()) SWIG_fail;
14253 }
14254 Py_INCREF(Py_None); resultobj = Py_None;
14255 return resultobj;
14256 fail:
14257 return NULL;
14258 }
14259
14260
14261 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14262 PyObject *resultobj;
14263 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14264 PyObject * obj0 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "self", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14272 {
14273 PyThreadState* __tstate = wxPyBeginAllowThreads();
14274 (arg1)->ActivatePrevious();
14275
14276 wxPyEndAllowThreads(__tstate);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 Py_INCREF(Py_None); resultobj = Py_None;
14280 return resultobj;
14281 fail:
14282 return NULL;
14283 }
14284
14285
14286 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14287 PyObject *resultobj;
14288 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14289 PyObject * obj0 = 0 ;
14290 char *kwnames[] = {
14291 (char *) "self", NULL
14292 };
14293
14294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14297 {
14298 PyThreadState* __tstate = wxPyBeginAllowThreads();
14299 (arg1)->ArrangeIcons();
14300
14301 wxPyEndAllowThreads(__tstate);
14302 if (PyErr_Occurred()) SWIG_fail;
14303 }
14304 Py_INCREF(Py_None); resultobj = Py_None;
14305 return resultobj;
14306 fail:
14307 return NULL;
14308 }
14309
14310
14311 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14312 PyObject *resultobj;
14313 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14314 PyObject * obj0 = 0 ;
14315 char *kwnames[] = {
14316 (char *) "self", NULL
14317 };
14318
14319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14322 {
14323 PyThreadState* __tstate = wxPyBeginAllowThreads();
14324 (arg1)->Cascade();
14325
14326 wxPyEndAllowThreads(__tstate);
14327 if (PyErr_Occurred()) SWIG_fail;
14328 }
14329 Py_INCREF(Py_None); resultobj = Py_None;
14330 return resultobj;
14331 fail:
14332 return NULL;
14333 }
14334
14335
14336 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14337 PyObject *resultobj;
14338 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14339 wxMDIChildFrame *result;
14340 PyObject * obj0 = 0 ;
14341 char *kwnames[] = {
14342 (char *) "self", NULL
14343 };
14344
14345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14348 {
14349 PyThreadState* __tstate = wxPyBeginAllowThreads();
14350 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14351
14352 wxPyEndAllowThreads(__tstate);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 }
14355 {
14356 resultobj = wxPyMake_wxObject(result);
14357 }
14358 return resultobj;
14359 fail:
14360 return NULL;
14361 }
14362
14363
14364 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14365 PyObject *resultobj;
14366 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14367 wxMDIClientWindow *result;
14368 PyObject * obj0 = 0 ;
14369 char *kwnames[] = {
14370 (char *) "self", NULL
14371 };
14372
14373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14376 {
14377 PyThreadState* __tstate = wxPyBeginAllowThreads();
14378 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14379
14380 wxPyEndAllowThreads(__tstate);
14381 if (PyErr_Occurred()) SWIG_fail;
14382 }
14383 {
14384 resultobj = wxPyMake_wxObject(result);
14385 }
14386 return resultobj;
14387 fail:
14388 return NULL;
14389 }
14390
14391
14392 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14393 PyObject *resultobj;
14394 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14395 wxWindow *result;
14396 PyObject * obj0 = 0 ;
14397 char *kwnames[] = {
14398 (char *) "self", NULL
14399 };
14400
14401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14404 {
14405 PyThreadState* __tstate = wxPyBeginAllowThreads();
14406 result = (wxWindow *)(arg1)->GetToolBar();
14407
14408 wxPyEndAllowThreads(__tstate);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 {
14412 resultobj = wxPyMake_wxObject(result);
14413 }
14414 return resultobj;
14415 fail:
14416 return NULL;
14417 }
14418
14419
14420 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14421 PyObject *resultobj;
14422 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14423 wxMenu *result;
14424 PyObject * obj0 = 0 ;
14425 char *kwnames[] = {
14426 (char *) "self", NULL
14427 };
14428
14429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
14430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14432 {
14433 PyThreadState* __tstate = wxPyBeginAllowThreads();
14434 result = (wxMenu *)(arg1)->GetWindowMenu();
14435
14436 wxPyEndAllowThreads(__tstate);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 }
14439 {
14440 resultobj = wxPyMake_wxObject(result);
14441 }
14442 return resultobj;
14443 fail:
14444 return NULL;
14445 }
14446
14447
14448 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14449 PyObject *resultobj;
14450 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14451 wxMenu *arg2 = (wxMenu *) 0 ;
14452 PyObject * obj0 = 0 ;
14453 PyObject * obj1 = 0 ;
14454 char *kwnames[] = {
14455 (char *) "self",(char *) "menu", NULL
14456 };
14457
14458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
14459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
14462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14463 {
14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
14465 (arg1)->SetWindowMenu(arg2);
14466
14467 wxPyEndAllowThreads(__tstate);
14468 if (PyErr_Occurred()) SWIG_fail;
14469 }
14470 Py_INCREF(Py_None); resultobj = Py_None;
14471 return resultobj;
14472 fail:
14473 return NULL;
14474 }
14475
14476
14477 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14478 PyObject *resultobj;
14479 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14480 wxToolBar *arg2 = (wxToolBar *) 0 ;
14481 PyObject * obj0 = 0 ;
14482 PyObject * obj1 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "self",(char *) "toolbar", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
14488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
14491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 (arg1)->SetToolBar(arg2);
14495
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 Py_INCREF(Py_None); resultobj = Py_None;
14500 return resultobj;
14501 fail:
14502 return NULL;
14503 }
14504
14505
14506 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj;
14508 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14509 PyObject * obj0 = 0 ;
14510 char *kwnames[] = {
14511 (char *) "self", NULL
14512 };
14513
14514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14517 {
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 (arg1)->Tile();
14520
14521 wxPyEndAllowThreads(__tstate);
14522 if (PyErr_Occurred()) SWIG_fail;
14523 }
14524 Py_INCREF(Py_None); resultobj = Py_None;
14525 return resultobj;
14526 fail:
14527 return NULL;
14528 }
14529
14530
14531 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14532 PyObject *obj;
14533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14534 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14535 Py_INCREF(obj);
14536 return Py_BuildValue((char *)"");
14537 }
14538 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14539 PyObject *resultobj;
14540 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14541 int arg2 ;
14542 wxString *arg3 = 0 ;
14543 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14544 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14545 wxSize const &arg5_defvalue = wxDefaultSize ;
14546 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14547 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14548 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14549 wxString *arg7 = (wxString *) &arg7_defvalue ;
14550 wxMDIChildFrame *result;
14551 bool temp3 = False ;
14552 wxPoint temp4 ;
14553 wxSize temp5 ;
14554 bool temp7 = False ;
14555 PyObject * obj0 = 0 ;
14556 PyObject * obj1 = 0 ;
14557 PyObject * obj2 = 0 ;
14558 PyObject * obj3 = 0 ;
14559 PyObject * obj4 = 0 ;
14560 PyObject * obj5 = 0 ;
14561 PyObject * obj6 = 0 ;
14562 char *kwnames[] = {
14563 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14564 };
14565
14566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14569 arg2 = (int const) SWIG_AsInt(obj1);
14570 if (PyErr_Occurred()) SWIG_fail;
14571 {
14572 arg3 = wxString_in_helper(obj2);
14573 if (arg3 == NULL) SWIG_fail;
14574 temp3 = True;
14575 }
14576 if (obj3) {
14577 {
14578 arg4 = &temp4;
14579 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14580 }
14581 }
14582 if (obj4) {
14583 {
14584 arg5 = &temp5;
14585 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14586 }
14587 }
14588 if (obj5) {
14589 arg6 = (long) SWIG_AsLong(obj5);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 if (obj6) {
14593 {
14594 arg7 = wxString_in_helper(obj6);
14595 if (arg7 == NULL) SWIG_fail;
14596 temp7 = True;
14597 }
14598 }
14599 {
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14602
14603 wxPyEndAllowThreads(__tstate);
14604 if (PyErr_Occurred()) SWIG_fail;
14605 }
14606 {
14607 resultobj = wxPyMake_wxObject(result);
14608 }
14609 {
14610 if (temp3)
14611 delete arg3;
14612 }
14613 {
14614 if (temp7)
14615 delete arg7;
14616 }
14617 return resultobj;
14618 fail:
14619 {
14620 if (temp3)
14621 delete arg3;
14622 }
14623 {
14624 if (temp7)
14625 delete arg7;
14626 }
14627 return NULL;
14628 }
14629
14630
14631 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj;
14633 wxMDIChildFrame *result;
14634 char *kwnames[] = {
14635 NULL
14636 };
14637
14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14639 {
14640 PyThreadState* __tstate = wxPyBeginAllowThreads();
14641 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14642
14643 wxPyEndAllowThreads(__tstate);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
14646 {
14647 resultobj = wxPyMake_wxObject(result);
14648 }
14649 return resultobj;
14650 fail:
14651 return NULL;
14652 }
14653
14654
14655 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14656 PyObject *resultobj;
14657 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14658 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14659 int arg3 ;
14660 wxString *arg4 = 0 ;
14661 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14662 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14663 wxSize const &arg6_defvalue = wxDefaultSize ;
14664 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14665 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14666 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14667 wxString *arg8 = (wxString *) &arg8_defvalue ;
14668 bool result;
14669 bool temp4 = False ;
14670 wxPoint temp5 ;
14671 wxSize temp6 ;
14672 bool temp8 = False ;
14673 PyObject * obj0 = 0 ;
14674 PyObject * obj1 = 0 ;
14675 PyObject * obj2 = 0 ;
14676 PyObject * obj3 = 0 ;
14677 PyObject * obj4 = 0 ;
14678 PyObject * obj5 = 0 ;
14679 PyObject * obj6 = 0 ;
14680 PyObject * obj7 = 0 ;
14681 char *kwnames[] = {
14682 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14683 };
14684
14685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14690 arg3 = (int const) SWIG_AsInt(obj2);
14691 if (PyErr_Occurred()) SWIG_fail;
14692 {
14693 arg4 = wxString_in_helper(obj3);
14694 if (arg4 == NULL) SWIG_fail;
14695 temp4 = True;
14696 }
14697 if (obj4) {
14698 {
14699 arg5 = &temp5;
14700 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14701 }
14702 }
14703 if (obj5) {
14704 {
14705 arg6 = &temp6;
14706 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14707 }
14708 }
14709 if (obj6) {
14710 arg7 = (long) SWIG_AsLong(obj6);
14711 if (PyErr_Occurred()) SWIG_fail;
14712 }
14713 if (obj7) {
14714 {
14715 arg8 = wxString_in_helper(obj7);
14716 if (arg8 == NULL) SWIG_fail;
14717 temp8 = True;
14718 }
14719 }
14720 {
14721 PyThreadState* __tstate = wxPyBeginAllowThreads();
14722 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14723
14724 wxPyEndAllowThreads(__tstate);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14728 {
14729 if (temp4)
14730 delete arg4;
14731 }
14732 {
14733 if (temp8)
14734 delete arg8;
14735 }
14736 return resultobj;
14737 fail:
14738 {
14739 if (temp4)
14740 delete arg4;
14741 }
14742 {
14743 if (temp8)
14744 delete arg8;
14745 }
14746 return NULL;
14747 }
14748
14749
14750 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14751 PyObject *resultobj;
14752 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14753 PyObject * obj0 = 0 ;
14754 char *kwnames[] = {
14755 (char *) "self", NULL
14756 };
14757
14758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14761 {
14762 PyThreadState* __tstate = wxPyBeginAllowThreads();
14763 (arg1)->Activate();
14764
14765 wxPyEndAllowThreads(__tstate);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 }
14768 Py_INCREF(Py_None); resultobj = Py_None;
14769 return resultobj;
14770 fail:
14771 return NULL;
14772 }
14773
14774
14775 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14776 PyObject *resultobj;
14777 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14778 bool arg2 ;
14779 PyObject * obj0 = 0 ;
14780 PyObject * obj1 = 0 ;
14781 char *kwnames[] = {
14782 (char *) "self",(char *) "maximize", NULL
14783 };
14784
14785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14788 arg2 = (bool) SWIG_AsBool(obj1);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 {
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 (arg1)->Maximize(arg2);
14793
14794 wxPyEndAllowThreads(__tstate);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 Py_INCREF(Py_None); resultobj = Py_None;
14798 return resultobj;
14799 fail:
14800 return NULL;
14801 }
14802
14803
14804 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14805 PyObject *resultobj;
14806 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14807 PyObject * obj0 = 0 ;
14808 char *kwnames[] = {
14809 (char *) "self", NULL
14810 };
14811
14812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14815 {
14816 PyThreadState* __tstate = wxPyBeginAllowThreads();
14817 (arg1)->Restore();
14818
14819 wxPyEndAllowThreads(__tstate);
14820 if (PyErr_Occurred()) SWIG_fail;
14821 }
14822 Py_INCREF(Py_None); resultobj = Py_None;
14823 return resultobj;
14824 fail:
14825 return NULL;
14826 }
14827
14828
14829 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14830 PyObject *obj;
14831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14832 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14833 Py_INCREF(obj);
14834 return Py_BuildValue((char *)"");
14835 }
14836 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14837 PyObject *resultobj;
14838 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14839 long arg2 = (long) 0 ;
14840 wxMDIClientWindow *result;
14841 PyObject * obj0 = 0 ;
14842 PyObject * obj1 = 0 ;
14843 char *kwnames[] = {
14844 (char *) "parent",(char *) "style", NULL
14845 };
14846
14847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14850 if (obj1) {
14851 arg2 = (long) SWIG_AsLong(obj1);
14852 if (PyErr_Occurred()) SWIG_fail;
14853 }
14854 {
14855 PyThreadState* __tstate = wxPyBeginAllowThreads();
14856 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14857
14858 wxPyEndAllowThreads(__tstate);
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 {
14862 resultobj = wxPyMake_wxObject(result);
14863 }
14864 return resultobj;
14865 fail:
14866 return NULL;
14867 }
14868
14869
14870 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14871 PyObject *resultobj;
14872 wxMDIClientWindow *result;
14873 char *kwnames[] = {
14874 NULL
14875 };
14876
14877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14878 {
14879 PyThreadState* __tstate = wxPyBeginAllowThreads();
14880 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14881
14882 wxPyEndAllowThreads(__tstate);
14883 if (PyErr_Occurred()) SWIG_fail;
14884 }
14885 {
14886 resultobj = wxPyMake_wxObject(result);
14887 }
14888 return resultobj;
14889 fail:
14890 return NULL;
14891 }
14892
14893
14894 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14895 PyObject *resultobj;
14896 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14897 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14898 long arg3 = (long) 0 ;
14899 bool result;
14900 PyObject * obj0 = 0 ;
14901 PyObject * obj1 = 0 ;
14902 PyObject * obj2 = 0 ;
14903 char *kwnames[] = {
14904 (char *) "self",(char *) "parent",(char *) "style", NULL
14905 };
14906
14907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
14909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14912 if (obj2) {
14913 arg3 = (long) SWIG_AsLong(obj2);
14914 if (PyErr_Occurred()) SWIG_fail;
14915 }
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 result = (bool)(arg1)->Create(arg2,arg3);
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
14923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14924 return resultobj;
14925 fail:
14926 return NULL;
14927 }
14928
14929
14930 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
14931 PyObject *obj;
14932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14933 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14934 Py_INCREF(obj);
14935 return Py_BuildValue((char *)"");
14936 }
14937 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14938 PyObject *resultobj;
14939 wxWindow *arg1 = (wxWindow *) 0 ;
14940 int arg2 ;
14941 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14942 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14943 wxSize const &arg4_defvalue = wxDefaultSize ;
14944 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14945 long arg5 = (long) 0 ;
14946 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14947 wxString *arg6 = (wxString *) &arg6_defvalue ;
14948 wxPyWindow *result;
14949 wxPoint temp3 ;
14950 wxSize temp4 ;
14951 bool temp6 = False ;
14952 PyObject * obj0 = 0 ;
14953 PyObject * obj1 = 0 ;
14954 PyObject * obj2 = 0 ;
14955 PyObject * obj3 = 0 ;
14956 PyObject * obj4 = 0 ;
14957 PyObject * obj5 = 0 ;
14958 char *kwnames[] = {
14959 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14960 };
14961
14962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14965 arg2 = (int const) SWIG_AsInt(obj1);
14966 if (PyErr_Occurred()) SWIG_fail;
14967 if (obj2) {
14968 {
14969 arg3 = &temp3;
14970 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14971 }
14972 }
14973 if (obj3) {
14974 {
14975 arg4 = &temp4;
14976 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14977 }
14978 }
14979 if (obj4) {
14980 arg5 = (long) SWIG_AsLong(obj4);
14981 if (PyErr_Occurred()) SWIG_fail;
14982 }
14983 if (obj5) {
14984 {
14985 arg6 = wxString_in_helper(obj5);
14986 if (arg6 == NULL) SWIG_fail;
14987 temp6 = True;
14988 }
14989 }
14990 {
14991 PyThreadState* __tstate = wxPyBeginAllowThreads();
14992 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14993
14994 wxPyEndAllowThreads(__tstate);
14995 if (PyErr_Occurred()) SWIG_fail;
14996 }
14997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14998 {
14999 if (temp6)
15000 delete arg6;
15001 }
15002 return resultobj;
15003 fail:
15004 {
15005 if (temp6)
15006 delete arg6;
15007 }
15008 return NULL;
15009 }
15010
15011
15012 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15013 PyObject *resultobj;
15014 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15015 PyObject *arg2 = (PyObject *) 0 ;
15016 PyObject *arg3 = (PyObject *) 0 ;
15017 PyObject * obj0 = 0 ;
15018 PyObject * obj1 = 0 ;
15019 PyObject * obj2 = 0 ;
15020 char *kwnames[] = {
15021 (char *) "self",(char *) "self",(char *) "_class", NULL
15022 };
15023
15024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15027 arg2 = obj1;
15028 arg3 = obj2;
15029 {
15030 PyThreadState* __tstate = wxPyBeginAllowThreads();
15031 (arg1)->_setCallbackInfo(arg2,arg3);
15032
15033 wxPyEndAllowThreads(__tstate);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
15036 Py_INCREF(Py_None); resultobj = Py_None;
15037 return resultobj;
15038 fail:
15039 return NULL;
15040 }
15041
15042
15043 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15044 PyObject *resultobj;
15045 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15046 int arg2 ;
15047 int arg3 ;
15048 int arg4 ;
15049 int arg5 ;
15050 PyObject * obj0 = 0 ;
15051 PyObject * obj1 = 0 ;
15052 PyObject * obj2 = 0 ;
15053 PyObject * obj3 = 0 ;
15054 PyObject * obj4 = 0 ;
15055 char *kwnames[] = {
15056 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15057 };
15058
15059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15062 arg2 = (int) SWIG_AsInt(obj1);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 arg3 = (int) SWIG_AsInt(obj2);
15065 if (PyErr_Occurred()) SWIG_fail;
15066 arg4 = (int) SWIG_AsInt(obj3);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 arg5 = (int) SWIG_AsInt(obj4);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 {
15071 PyThreadState* __tstate = wxPyBeginAllowThreads();
15072 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15073
15074 wxPyEndAllowThreads(__tstate);
15075 if (PyErr_Occurred()) SWIG_fail;
15076 }
15077 Py_INCREF(Py_None); resultobj = Py_None;
15078 return resultobj;
15079 fail:
15080 return NULL;
15081 }
15082
15083
15084 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15085 PyObject *resultobj;
15086 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15087 int arg2 ;
15088 int arg3 ;
15089 int arg4 ;
15090 int arg5 ;
15091 int arg6 = (int) wxSIZE_AUTO ;
15092 PyObject * obj0 = 0 ;
15093 PyObject * obj1 = 0 ;
15094 PyObject * obj2 = 0 ;
15095 PyObject * obj3 = 0 ;
15096 PyObject * obj4 = 0 ;
15097 PyObject * obj5 = 0 ;
15098 char *kwnames[] = {
15099 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15100 };
15101
15102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15105 arg2 = (int) SWIG_AsInt(obj1);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 arg3 = (int) SWIG_AsInt(obj2);
15108 if (PyErr_Occurred()) SWIG_fail;
15109 arg4 = (int) SWIG_AsInt(obj3);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 arg5 = (int) SWIG_AsInt(obj4);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 if (obj5) {
15114 arg6 = (int) SWIG_AsInt(obj5);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 {
15118 PyThreadState* __tstate = wxPyBeginAllowThreads();
15119 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15120
15121 wxPyEndAllowThreads(__tstate);
15122 if (PyErr_Occurred()) SWIG_fail;
15123 }
15124 Py_INCREF(Py_None); resultobj = Py_None;
15125 return resultobj;
15126 fail:
15127 return NULL;
15128 }
15129
15130
15131 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15132 PyObject *resultobj;
15133 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15134 int arg2 ;
15135 int arg3 ;
15136 PyObject * obj0 = 0 ;
15137 PyObject * obj1 = 0 ;
15138 PyObject * obj2 = 0 ;
15139 char *kwnames[] = {
15140 (char *) "self",(char *) "width",(char *) "height", NULL
15141 };
15142
15143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15146 arg2 = (int) SWIG_AsInt(obj1);
15147 if (PyErr_Occurred()) SWIG_fail;
15148 arg3 = (int) SWIG_AsInt(obj2);
15149 if (PyErr_Occurred()) SWIG_fail;
15150 {
15151 PyThreadState* __tstate = wxPyBeginAllowThreads();
15152 (arg1)->base_DoSetClientSize(arg2,arg3);
15153
15154 wxPyEndAllowThreads(__tstate);
15155 if (PyErr_Occurred()) SWIG_fail;
15156 }
15157 Py_INCREF(Py_None); resultobj = Py_None;
15158 return resultobj;
15159 fail:
15160 return NULL;
15161 }
15162
15163
15164 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15165 PyObject *resultobj;
15166 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15167 int arg2 ;
15168 int arg3 ;
15169 PyObject * obj0 = 0 ;
15170 PyObject * obj1 = 0 ;
15171 PyObject * obj2 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "self",(char *) "x",(char *) "y", NULL
15174 };
15175
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15179 arg2 = (int) SWIG_AsInt(obj1);
15180 if (PyErr_Occurred()) SWIG_fail;
15181 arg3 = (int) SWIG_AsInt(obj2);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 {
15184 PyThreadState* __tstate = wxPyBeginAllowThreads();
15185 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15186
15187 wxPyEndAllowThreads(__tstate);
15188 if (PyErr_Occurred()) SWIG_fail;
15189 }
15190 Py_INCREF(Py_None); resultobj = Py_None;
15191 return resultobj;
15192 fail:
15193 return NULL;
15194 }
15195
15196
15197 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15198 PyObject *resultobj;
15199 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15200 int *arg2 = (int *) 0 ;
15201 int *arg3 = (int *) 0 ;
15202 int temp2 ;
15203 int temp3 ;
15204 PyObject * obj0 = 0 ;
15205 char *kwnames[] = {
15206 (char *) "self", NULL
15207 };
15208
15209 arg2 = &temp2;
15210 arg3 = &temp3;
15211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15214 {
15215 PyThreadState* __tstate = wxPyBeginAllowThreads();
15216 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15217
15218 wxPyEndAllowThreads(__tstate);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 }
15221 Py_INCREF(Py_None); resultobj = Py_None;
15222 {
15223 PyObject *o = PyInt_FromLong((long) (*arg2));
15224 resultobj = t_output_helper(resultobj,o);
15225 }
15226 {
15227 PyObject *o = PyInt_FromLong((long) (*arg3));
15228 resultobj = t_output_helper(resultobj,o);
15229 }
15230 return resultobj;
15231 fail:
15232 return NULL;
15233 }
15234
15235
15236 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj;
15238 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15239 int *arg2 = (int *) 0 ;
15240 int *arg3 = (int *) 0 ;
15241 int temp2 ;
15242 int temp3 ;
15243 PyObject * obj0 = 0 ;
15244 char *kwnames[] = {
15245 (char *) "self", NULL
15246 };
15247
15248 arg2 = &temp2;
15249 arg3 = &temp3;
15250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15253 {
15254 PyThreadState* __tstate = wxPyBeginAllowThreads();
15255 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15256
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 Py_INCREF(Py_None); resultobj = Py_None;
15261 {
15262 PyObject *o = PyInt_FromLong((long) (*arg2));
15263 resultobj = t_output_helper(resultobj,o);
15264 }
15265 {
15266 PyObject *o = PyInt_FromLong((long) (*arg3));
15267 resultobj = t_output_helper(resultobj,o);
15268 }
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj;
15277 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15278 int *arg2 = (int *) 0 ;
15279 int *arg3 = (int *) 0 ;
15280 int temp2 ;
15281 int temp3 ;
15282 PyObject * obj0 = 0 ;
15283 char *kwnames[] = {
15284 (char *) "self", NULL
15285 };
15286
15287 arg2 = &temp2;
15288 arg3 = &temp3;
15289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15292 {
15293 PyThreadState* __tstate = wxPyBeginAllowThreads();
15294 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15295
15296 wxPyEndAllowThreads(__tstate);
15297 if (PyErr_Occurred()) SWIG_fail;
15298 }
15299 Py_INCREF(Py_None); resultobj = Py_None;
15300 {
15301 PyObject *o = PyInt_FromLong((long) (*arg2));
15302 resultobj = t_output_helper(resultobj,o);
15303 }
15304 {
15305 PyObject *o = PyInt_FromLong((long) (*arg3));
15306 resultobj = t_output_helper(resultobj,o);
15307 }
15308 return resultobj;
15309 fail:
15310 return NULL;
15311 }
15312
15313
15314 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15315 PyObject *resultobj;
15316 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15317 wxSize result;
15318 PyObject * obj0 = 0 ;
15319 char *kwnames[] = {
15320 (char *) "self", NULL
15321 };
15322
15323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15326 {
15327 PyThreadState* __tstate = wxPyBeginAllowThreads();
15328 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15329
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 {
15334 wxSize * resultptr;
15335 resultptr = new wxSize((wxSize &) result);
15336 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15337 }
15338 return resultobj;
15339 fail:
15340 return NULL;
15341 }
15342
15343
15344 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15345 PyObject *resultobj;
15346 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15347 wxSize result;
15348 PyObject * obj0 = 0 ;
15349 char *kwnames[] = {
15350 (char *) "self", NULL
15351 };
15352
15353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15356 {
15357 PyThreadState* __tstate = wxPyBeginAllowThreads();
15358 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15359
15360 wxPyEndAllowThreads(__tstate);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 }
15363 {
15364 wxSize * resultptr;
15365 resultptr = new wxSize((wxSize &) result);
15366 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15367 }
15368 return resultobj;
15369 fail:
15370 return NULL;
15371 }
15372
15373
15374 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15375 PyObject *resultobj;
15376 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15377 PyObject * obj0 = 0 ;
15378 char *kwnames[] = {
15379 (char *) "self", NULL
15380 };
15381
15382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15385 {
15386 PyThreadState* __tstate = wxPyBeginAllowThreads();
15387 (arg1)->base_InitDialog();
15388
15389 wxPyEndAllowThreads(__tstate);
15390 if (PyErr_Occurred()) SWIG_fail;
15391 }
15392 Py_INCREF(Py_None); resultobj = Py_None;
15393 return resultobj;
15394 fail:
15395 return NULL;
15396 }
15397
15398
15399 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj;
15401 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15402 bool result;
15403 PyObject * obj0 = 0 ;
15404 char *kwnames[] = {
15405 (char *) "self", NULL
15406 };
15407
15408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15411 {
15412 PyThreadState* __tstate = wxPyBeginAllowThreads();
15413 result = (bool)(arg1)->base_TransferDataToWindow();
15414
15415 wxPyEndAllowThreads(__tstate);
15416 if (PyErr_Occurred()) SWIG_fail;
15417 }
15418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15419 return resultobj;
15420 fail:
15421 return NULL;
15422 }
15423
15424
15425 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15426 PyObject *resultobj;
15427 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15428 bool result;
15429 PyObject * obj0 = 0 ;
15430 char *kwnames[] = {
15431 (char *) "self", NULL
15432 };
15433
15434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15437 {
15438 PyThreadState* __tstate = wxPyBeginAllowThreads();
15439 result = (bool)(arg1)->base_TransferDataFromWindow();
15440
15441 wxPyEndAllowThreads(__tstate);
15442 if (PyErr_Occurred()) SWIG_fail;
15443 }
15444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15445 return resultobj;
15446 fail:
15447 return NULL;
15448 }
15449
15450
15451 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15452 PyObject *resultobj;
15453 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15454 bool result;
15455 PyObject * obj0 = 0 ;
15456 char *kwnames[] = {
15457 (char *) "self", NULL
15458 };
15459
15460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 result = (bool)(arg1)->base_Validate();
15466
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15471 return resultobj;
15472 fail:
15473 return NULL;
15474 }
15475
15476
15477 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15478 PyObject *resultobj;
15479 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15480 bool result;
15481 PyObject * obj0 = 0 ;
15482 char *kwnames[] = {
15483 (char *) "self", NULL
15484 };
15485
15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15489 {
15490 PyThreadState* __tstate = wxPyBeginAllowThreads();
15491 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15492
15493 wxPyEndAllowThreads(__tstate);
15494 if (PyErr_Occurred()) SWIG_fail;
15495 }
15496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15497 return resultobj;
15498 fail:
15499 return NULL;
15500 }
15501
15502
15503 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15504 PyObject *resultobj;
15505 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15506 bool result;
15507 PyObject * obj0 = 0 ;
15508 char *kwnames[] = {
15509 (char *) "self", NULL
15510 };
15511
15512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15515 {
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15518
15519 wxPyEndAllowThreads(__tstate);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
15522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15523 return resultobj;
15524 fail:
15525 return NULL;
15526 }
15527
15528
15529 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15530 PyObject *resultobj;
15531 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15532 wxSize result;
15533 PyObject * obj0 = 0 ;
15534 char *kwnames[] = {
15535 (char *) "self", NULL
15536 };
15537
15538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15541 {
15542 PyThreadState* __tstate = wxPyBeginAllowThreads();
15543 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15544
15545 wxPyEndAllowThreads(__tstate);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 }
15548 {
15549 wxSize * resultptr;
15550 resultptr = new wxSize((wxSize &) result);
15551 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15552 }
15553 return resultobj;
15554 fail:
15555 return NULL;
15556 }
15557
15558
15559 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15560 PyObject *resultobj;
15561 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15562 wxWindow *arg2 = (wxWindow *) 0 ;
15563 PyObject * obj0 = 0 ;
15564 PyObject * obj1 = 0 ;
15565 char *kwnames[] = {
15566 (char *) "self",(char *) "child", NULL
15567 };
15568
15569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15572 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15574 {
15575 PyThreadState* __tstate = wxPyBeginAllowThreads();
15576 (arg1)->base_AddChild(arg2);
15577
15578 wxPyEndAllowThreads(__tstate);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15581 Py_INCREF(Py_None); resultobj = Py_None;
15582 return resultobj;
15583 fail:
15584 return NULL;
15585 }
15586
15587
15588 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15589 PyObject *resultobj;
15590 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15591 wxWindow *arg2 = (wxWindow *) 0 ;
15592 PyObject * obj0 = 0 ;
15593 PyObject * obj1 = 0 ;
15594 char *kwnames[] = {
15595 (char *) "self",(char *) "child", NULL
15596 };
15597
15598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15601 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15603 {
15604 PyThreadState* __tstate = wxPyBeginAllowThreads();
15605 (arg1)->base_RemoveChild(arg2);
15606
15607 wxPyEndAllowThreads(__tstate);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 Py_INCREF(Py_None); resultobj = Py_None;
15611 return resultobj;
15612 fail:
15613 return NULL;
15614 }
15615
15616
15617 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15618 PyObject *obj;
15619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15620 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15621 Py_INCREF(obj);
15622 return Py_BuildValue((char *)"");
15623 }
15624 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15625 PyObject *resultobj;
15626 wxWindow *arg1 = (wxWindow *) 0 ;
15627 int arg2 ;
15628 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15629 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15630 wxSize const &arg4_defvalue = wxDefaultSize ;
15631 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15632 long arg5 = (long) 0 ;
15633 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15634 wxString *arg6 = (wxString *) &arg6_defvalue ;
15635 wxPyPanel *result;
15636 wxPoint temp3 ;
15637 wxSize temp4 ;
15638 bool temp6 = False ;
15639 PyObject * obj0 = 0 ;
15640 PyObject * obj1 = 0 ;
15641 PyObject * obj2 = 0 ;
15642 PyObject * obj3 = 0 ;
15643 PyObject * obj4 = 0 ;
15644 PyObject * obj5 = 0 ;
15645 char *kwnames[] = {
15646 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15647 };
15648
15649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15652 arg2 = (int const) SWIG_AsInt(obj1);
15653 if (PyErr_Occurred()) SWIG_fail;
15654 if (obj2) {
15655 {
15656 arg3 = &temp3;
15657 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15658 }
15659 }
15660 if (obj3) {
15661 {
15662 arg4 = &temp4;
15663 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15664 }
15665 }
15666 if (obj4) {
15667 arg5 = (long) SWIG_AsLong(obj4);
15668 if (PyErr_Occurred()) SWIG_fail;
15669 }
15670 if (obj5) {
15671 {
15672 arg6 = wxString_in_helper(obj5);
15673 if (arg6 == NULL) SWIG_fail;
15674 temp6 = True;
15675 }
15676 }
15677 {
15678 PyThreadState* __tstate = wxPyBeginAllowThreads();
15679 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15680
15681 wxPyEndAllowThreads(__tstate);
15682 if (PyErr_Occurred()) SWIG_fail;
15683 }
15684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15685 {
15686 if (temp6)
15687 delete arg6;
15688 }
15689 return resultobj;
15690 fail:
15691 {
15692 if (temp6)
15693 delete arg6;
15694 }
15695 return NULL;
15696 }
15697
15698
15699 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj;
15701 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15702 PyObject *arg2 = (PyObject *) 0 ;
15703 PyObject *arg3 = (PyObject *) 0 ;
15704 PyObject * obj0 = 0 ;
15705 PyObject * obj1 = 0 ;
15706 PyObject * obj2 = 0 ;
15707 char *kwnames[] = {
15708 (char *) "self",(char *) "self",(char *) "_class", NULL
15709 };
15710
15711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15714 arg2 = obj1;
15715 arg3 = obj2;
15716 {
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
15718 (arg1)->_setCallbackInfo(arg2,arg3);
15719
15720 wxPyEndAllowThreads(__tstate);
15721 if (PyErr_Occurred()) SWIG_fail;
15722 }
15723 Py_INCREF(Py_None); resultobj = Py_None;
15724 return resultobj;
15725 fail:
15726 return NULL;
15727 }
15728
15729
15730 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15731 PyObject *resultobj;
15732 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15733 int arg2 ;
15734 int arg3 ;
15735 int arg4 ;
15736 int arg5 ;
15737 PyObject * obj0 = 0 ;
15738 PyObject * obj1 = 0 ;
15739 PyObject * obj2 = 0 ;
15740 PyObject * obj3 = 0 ;
15741 PyObject * obj4 = 0 ;
15742 char *kwnames[] = {
15743 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15744 };
15745
15746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15749 arg2 = (int) SWIG_AsInt(obj1);
15750 if (PyErr_Occurred()) SWIG_fail;
15751 arg3 = (int) SWIG_AsInt(obj2);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 arg4 = (int) SWIG_AsInt(obj3);
15754 if (PyErr_Occurred()) SWIG_fail;
15755 arg5 = (int) SWIG_AsInt(obj4);
15756 if (PyErr_Occurred()) SWIG_fail;
15757 {
15758 PyThreadState* __tstate = wxPyBeginAllowThreads();
15759 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15760
15761 wxPyEndAllowThreads(__tstate);
15762 if (PyErr_Occurred()) SWIG_fail;
15763 }
15764 Py_INCREF(Py_None); resultobj = Py_None;
15765 return resultobj;
15766 fail:
15767 return NULL;
15768 }
15769
15770
15771 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15772 PyObject *resultobj;
15773 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15774 int arg2 ;
15775 int arg3 ;
15776 int arg4 ;
15777 int arg5 ;
15778 int arg6 = (int) wxSIZE_AUTO ;
15779 PyObject * obj0 = 0 ;
15780 PyObject * obj1 = 0 ;
15781 PyObject * obj2 = 0 ;
15782 PyObject * obj3 = 0 ;
15783 PyObject * obj4 = 0 ;
15784 PyObject * obj5 = 0 ;
15785 char *kwnames[] = {
15786 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15787 };
15788
15789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15792 arg2 = (int) SWIG_AsInt(obj1);
15793 if (PyErr_Occurred()) SWIG_fail;
15794 arg3 = (int) SWIG_AsInt(obj2);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 arg4 = (int) SWIG_AsInt(obj3);
15797 if (PyErr_Occurred()) SWIG_fail;
15798 arg5 = (int) SWIG_AsInt(obj4);
15799 if (PyErr_Occurred()) SWIG_fail;
15800 if (obj5) {
15801 arg6 = (int) SWIG_AsInt(obj5);
15802 if (PyErr_Occurred()) SWIG_fail;
15803 }
15804 {
15805 PyThreadState* __tstate = wxPyBeginAllowThreads();
15806 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15807
15808 wxPyEndAllowThreads(__tstate);
15809 if (PyErr_Occurred()) SWIG_fail;
15810 }
15811 Py_INCREF(Py_None); resultobj = Py_None;
15812 return resultobj;
15813 fail:
15814 return NULL;
15815 }
15816
15817
15818 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15819 PyObject *resultobj;
15820 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15821 int arg2 ;
15822 int arg3 ;
15823 PyObject * obj0 = 0 ;
15824 PyObject * obj1 = 0 ;
15825 PyObject * obj2 = 0 ;
15826 char *kwnames[] = {
15827 (char *) "self",(char *) "width",(char *) "height", NULL
15828 };
15829
15830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15833 arg2 = (int) SWIG_AsInt(obj1);
15834 if (PyErr_Occurred()) SWIG_fail;
15835 arg3 = (int) SWIG_AsInt(obj2);
15836 if (PyErr_Occurred()) SWIG_fail;
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 (arg1)->base_DoSetClientSize(arg2,arg3);
15840
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
15844 Py_INCREF(Py_None); resultobj = Py_None;
15845 return resultobj;
15846 fail:
15847 return NULL;
15848 }
15849
15850
15851 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15852 PyObject *resultobj;
15853 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15854 int arg2 ;
15855 int arg3 ;
15856 PyObject * obj0 = 0 ;
15857 PyObject * obj1 = 0 ;
15858 PyObject * obj2 = 0 ;
15859 char *kwnames[] = {
15860 (char *) "self",(char *) "x",(char *) "y", NULL
15861 };
15862
15863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15866 arg2 = (int) SWIG_AsInt(obj1);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 arg3 = (int) SWIG_AsInt(obj2);
15869 if (PyErr_Occurred()) SWIG_fail;
15870 {
15871 PyThreadState* __tstate = wxPyBeginAllowThreads();
15872 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15873
15874 wxPyEndAllowThreads(__tstate);
15875 if (PyErr_Occurred()) SWIG_fail;
15876 }
15877 Py_INCREF(Py_None); resultobj = Py_None;
15878 return resultobj;
15879 fail:
15880 return NULL;
15881 }
15882
15883
15884 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15885 PyObject *resultobj;
15886 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15887 int *arg2 = (int *) 0 ;
15888 int *arg3 = (int *) 0 ;
15889 int temp2 ;
15890 int temp3 ;
15891 PyObject * obj0 = 0 ;
15892 char *kwnames[] = {
15893 (char *) "self", NULL
15894 };
15895
15896 arg2 = &temp2;
15897 arg3 = &temp3;
15898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15901 {
15902 PyThreadState* __tstate = wxPyBeginAllowThreads();
15903 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15904
15905 wxPyEndAllowThreads(__tstate);
15906 if (PyErr_Occurred()) SWIG_fail;
15907 }
15908 Py_INCREF(Py_None); resultobj = Py_None;
15909 {
15910 PyObject *o = PyInt_FromLong((long) (*arg2));
15911 resultobj = t_output_helper(resultobj,o);
15912 }
15913 {
15914 PyObject *o = PyInt_FromLong((long) (*arg3));
15915 resultobj = t_output_helper(resultobj,o);
15916 }
15917 return resultobj;
15918 fail:
15919 return NULL;
15920 }
15921
15922
15923 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15924 PyObject *resultobj;
15925 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15926 int *arg2 = (int *) 0 ;
15927 int *arg3 = (int *) 0 ;
15928 int temp2 ;
15929 int temp3 ;
15930 PyObject * obj0 = 0 ;
15931 char *kwnames[] = {
15932 (char *) "self", NULL
15933 };
15934
15935 arg2 = &temp2;
15936 arg3 = &temp3;
15937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15940 {
15941 PyThreadState* __tstate = wxPyBeginAllowThreads();
15942 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15943
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 Py_INCREF(Py_None); resultobj = Py_None;
15948 {
15949 PyObject *o = PyInt_FromLong((long) (*arg2));
15950 resultobj = t_output_helper(resultobj,o);
15951 }
15952 {
15953 PyObject *o = PyInt_FromLong((long) (*arg3));
15954 resultobj = t_output_helper(resultobj,o);
15955 }
15956 return resultobj;
15957 fail:
15958 return NULL;
15959 }
15960
15961
15962 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj;
15964 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15965 int *arg2 = (int *) 0 ;
15966 int *arg3 = (int *) 0 ;
15967 int temp2 ;
15968 int temp3 ;
15969 PyObject * obj0 = 0 ;
15970 char *kwnames[] = {
15971 (char *) "self", NULL
15972 };
15973
15974 arg2 = &temp2;
15975 arg3 = &temp3;
15976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15979 {
15980 PyThreadState* __tstate = wxPyBeginAllowThreads();
15981 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15982
15983 wxPyEndAllowThreads(__tstate);
15984 if (PyErr_Occurred()) SWIG_fail;
15985 }
15986 Py_INCREF(Py_None); resultobj = Py_None;
15987 {
15988 PyObject *o = PyInt_FromLong((long) (*arg2));
15989 resultobj = t_output_helper(resultobj,o);
15990 }
15991 {
15992 PyObject *o = PyInt_FromLong((long) (*arg3));
15993 resultobj = t_output_helper(resultobj,o);
15994 }
15995 return resultobj;
15996 fail:
15997 return NULL;
15998 }
15999
16000
16001 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16002 PyObject *resultobj;
16003 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16004 wxSize result;
16005 PyObject * obj0 = 0 ;
16006 char *kwnames[] = {
16007 (char *) "self", NULL
16008 };
16009
16010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16013 {
16014 PyThreadState* __tstate = wxPyBeginAllowThreads();
16015 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16016
16017 wxPyEndAllowThreads(__tstate);
16018 if (PyErr_Occurred()) SWIG_fail;
16019 }
16020 {
16021 wxSize * resultptr;
16022 resultptr = new wxSize((wxSize &) result);
16023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16024 }
16025 return resultobj;
16026 fail:
16027 return NULL;
16028 }
16029
16030
16031 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16032 PyObject *resultobj;
16033 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16034 wxSize result;
16035 PyObject * obj0 = 0 ;
16036 char *kwnames[] = {
16037 (char *) "self", NULL
16038 };
16039
16040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16043 {
16044 PyThreadState* __tstate = wxPyBeginAllowThreads();
16045 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16046
16047 wxPyEndAllowThreads(__tstate);
16048 if (PyErr_Occurred()) SWIG_fail;
16049 }
16050 {
16051 wxSize * resultptr;
16052 resultptr = new wxSize((wxSize &) result);
16053 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16054 }
16055 return resultobj;
16056 fail:
16057 return NULL;
16058 }
16059
16060
16061 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16062 PyObject *resultobj;
16063 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16064 PyObject * obj0 = 0 ;
16065 char *kwnames[] = {
16066 (char *) "self", NULL
16067 };
16068
16069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16072 {
16073 PyThreadState* __tstate = wxPyBeginAllowThreads();
16074 (arg1)->base_InitDialog();
16075
16076 wxPyEndAllowThreads(__tstate);
16077 if (PyErr_Occurred()) SWIG_fail;
16078 }
16079 Py_INCREF(Py_None); resultobj = Py_None;
16080 return resultobj;
16081 fail:
16082 return NULL;
16083 }
16084
16085
16086 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16087 PyObject *resultobj;
16088 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16089 bool result;
16090 PyObject * obj0 = 0 ;
16091 char *kwnames[] = {
16092 (char *) "self", NULL
16093 };
16094
16095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16098 {
16099 PyThreadState* __tstate = wxPyBeginAllowThreads();
16100 result = (bool)(arg1)->base_TransferDataToWindow();
16101
16102 wxPyEndAllowThreads(__tstate);
16103 if (PyErr_Occurred()) SWIG_fail;
16104 }
16105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16106 return resultobj;
16107 fail:
16108 return NULL;
16109 }
16110
16111
16112 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16113 PyObject *resultobj;
16114 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16115 bool result;
16116 PyObject * obj0 = 0 ;
16117 char *kwnames[] = {
16118 (char *) "self", NULL
16119 };
16120
16121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16124 {
16125 PyThreadState* __tstate = wxPyBeginAllowThreads();
16126 result = (bool)(arg1)->base_TransferDataFromWindow();
16127
16128 wxPyEndAllowThreads(__tstate);
16129 if (PyErr_Occurred()) SWIG_fail;
16130 }
16131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16132 return resultobj;
16133 fail:
16134 return NULL;
16135 }
16136
16137
16138 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16139 PyObject *resultobj;
16140 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16141 bool result;
16142 PyObject * obj0 = 0 ;
16143 char *kwnames[] = {
16144 (char *) "self", NULL
16145 };
16146
16147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16150 {
16151 PyThreadState* __tstate = wxPyBeginAllowThreads();
16152 result = (bool)(arg1)->base_Validate();
16153
16154 wxPyEndAllowThreads(__tstate);
16155 if (PyErr_Occurred()) SWIG_fail;
16156 }
16157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16158 return resultobj;
16159 fail:
16160 return NULL;
16161 }
16162
16163
16164 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj;
16166 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16167 bool result;
16168 PyObject * obj0 = 0 ;
16169 char *kwnames[] = {
16170 (char *) "self", NULL
16171 };
16172
16173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16176 {
16177 PyThreadState* __tstate = wxPyBeginAllowThreads();
16178 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16179
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16184 return resultobj;
16185 fail:
16186 return NULL;
16187 }
16188
16189
16190 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16191 PyObject *resultobj;
16192 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16193 bool result;
16194 PyObject * obj0 = 0 ;
16195 char *kwnames[] = {
16196 (char *) "self", NULL
16197 };
16198
16199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16202 {
16203 PyThreadState* __tstate = wxPyBeginAllowThreads();
16204 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16205
16206 wxPyEndAllowThreads(__tstate);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 }
16209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16210 return resultobj;
16211 fail:
16212 return NULL;
16213 }
16214
16215
16216 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16217 PyObject *resultobj;
16218 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16219 wxSize result;
16220 PyObject * obj0 = 0 ;
16221 char *kwnames[] = {
16222 (char *) "self", NULL
16223 };
16224
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16231
16232 wxPyEndAllowThreads(__tstate);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 }
16235 {
16236 wxSize * resultptr;
16237 resultptr = new wxSize((wxSize &) result);
16238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16239 }
16240 return resultobj;
16241 fail:
16242 return NULL;
16243 }
16244
16245
16246 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16247 PyObject *resultobj;
16248 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16249 wxWindow *arg2 = (wxWindow *) 0 ;
16250 PyObject * obj0 = 0 ;
16251 PyObject * obj1 = 0 ;
16252 char *kwnames[] = {
16253 (char *) "self",(char *) "child", NULL
16254 };
16255
16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16259 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16261 {
16262 PyThreadState* __tstate = wxPyBeginAllowThreads();
16263 (arg1)->base_AddChild(arg2);
16264
16265 wxPyEndAllowThreads(__tstate);
16266 if (PyErr_Occurred()) SWIG_fail;
16267 }
16268 Py_INCREF(Py_None); resultobj = Py_None;
16269 return resultobj;
16270 fail:
16271 return NULL;
16272 }
16273
16274
16275 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16276 PyObject *resultobj;
16277 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16278 wxWindow *arg2 = (wxWindow *) 0 ;
16279 PyObject * obj0 = 0 ;
16280 PyObject * obj1 = 0 ;
16281 char *kwnames[] = {
16282 (char *) "self",(char *) "child", NULL
16283 };
16284
16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16288 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
16292 (arg1)->base_RemoveChild(arg2);
16293
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 Py_INCREF(Py_None); resultobj = Py_None;
16298 return resultobj;
16299 fail:
16300 return NULL;
16301 }
16302
16303
16304 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16305 PyObject *obj;
16306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16307 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16308 Py_INCREF(obj);
16309 return Py_BuildValue((char *)"");
16310 }
16311 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
16312 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
16313 return 1;
16314 }
16315
16316
16317 static PyObject *_wrap_PrintoutTitleStr_get() {
16318 PyObject *pyobj;
16319
16320 {
16321 #if wxUSE_UNICODE
16322 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16323 #else
16324 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16325 #endif
16326 }
16327 return pyobj;
16328 }
16329
16330
16331 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
16332 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
16333 return 1;
16334 }
16335
16336
16337 static PyObject *_wrap_PreviewCanvasNameStr_get() {
16338 PyObject *pyobj;
16339
16340 {
16341 #if wxUSE_UNICODE
16342 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16343 #else
16344 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16345 #endif
16346 }
16347 return pyobj;
16348 }
16349
16350
16351 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16352 PyObject *resultobj;
16353 wxPrintData *result;
16354 char *kwnames[] = {
16355 NULL
16356 };
16357
16358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
16359 {
16360 PyThreadState* __tstate = wxPyBeginAllowThreads();
16361 result = (wxPrintData *)new wxPrintData();
16362
16363 wxPyEndAllowThreads(__tstate);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 }
16366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
16367 return resultobj;
16368 fail:
16369 return NULL;
16370 }
16371
16372
16373 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16374 PyObject *resultobj;
16375 wxPrintData *arg1 = (wxPrintData *) 0 ;
16376 PyObject * obj0 = 0 ;
16377 char *kwnames[] = {
16378 (char *) "self", NULL
16379 };
16380
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
16382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16384 {
16385 PyThreadState* __tstate = wxPyBeginAllowThreads();
16386 delete arg1;
16387
16388 wxPyEndAllowThreads(__tstate);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
16391 Py_INCREF(Py_None); resultobj = Py_None;
16392 return resultobj;
16393 fail:
16394 return NULL;
16395 }
16396
16397
16398 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16399 PyObject *resultobj;
16400 wxPrintData *arg1 = (wxPrintData *) 0 ;
16401 int result;
16402 PyObject * obj0 = 0 ;
16403 char *kwnames[] = {
16404 (char *) "self", NULL
16405 };
16406
16407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
16408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16410 {
16411 PyThreadState* __tstate = wxPyBeginAllowThreads();
16412 result = (int)(arg1)->GetNoCopies();
16413
16414 wxPyEndAllowThreads(__tstate);
16415 if (PyErr_Occurred()) SWIG_fail;
16416 }
16417 resultobj = SWIG_FromInt((int)result);
16418 return resultobj;
16419 fail:
16420 return NULL;
16421 }
16422
16423
16424 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16425 PyObject *resultobj;
16426 wxPrintData *arg1 = (wxPrintData *) 0 ;
16427 bool result;
16428 PyObject * obj0 = 0 ;
16429 char *kwnames[] = {
16430 (char *) "self", NULL
16431 };
16432
16433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
16434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16436 {
16437 PyThreadState* __tstate = wxPyBeginAllowThreads();
16438 result = (bool)(arg1)->GetCollate();
16439
16440 wxPyEndAllowThreads(__tstate);
16441 if (PyErr_Occurred()) SWIG_fail;
16442 }
16443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16444 return resultobj;
16445 fail:
16446 return NULL;
16447 }
16448
16449
16450 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16451 PyObject *resultobj;
16452 wxPrintData *arg1 = (wxPrintData *) 0 ;
16453 int result;
16454 PyObject * obj0 = 0 ;
16455 char *kwnames[] = {
16456 (char *) "self", NULL
16457 };
16458
16459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
16460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16462 {
16463 PyThreadState* __tstate = wxPyBeginAllowThreads();
16464 result = (int)(arg1)->GetOrientation();
16465
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 resultobj = SWIG_FromInt((int)result);
16470 return resultobj;
16471 fail:
16472 return NULL;
16473 }
16474
16475
16476 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxPrintData *arg1 = (wxPrintData *) 0 ;
16479 bool result;
16480 PyObject * obj0 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
16486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 result = (bool)(arg1)->Ok();
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16496 return resultobj;
16497 fail:
16498 return NULL;
16499 }
16500
16501
16502 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16503 PyObject *resultobj;
16504 wxPrintData *arg1 = (wxPrintData *) 0 ;
16505 wxString *result;
16506 PyObject * obj0 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self", NULL
16509 };
16510
16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
16512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16514 {
16515 PyThreadState* __tstate = wxPyBeginAllowThreads();
16516 {
16517 wxString const &_result_ref = (arg1)->GetPrinterName();
16518 result = (wxString *) &_result_ref;
16519 }
16520
16521 wxPyEndAllowThreads(__tstate);
16522 if (PyErr_Occurred()) SWIG_fail;
16523 }
16524 {
16525 #if wxUSE_UNICODE
16526 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16527 #else
16528 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16529 #endif
16530 }
16531 return resultobj;
16532 fail:
16533 return NULL;
16534 }
16535
16536
16537 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16538 PyObject *resultobj;
16539 wxPrintData *arg1 = (wxPrintData *) 0 ;
16540 bool result;
16541 PyObject * obj0 = 0 ;
16542 char *kwnames[] = {
16543 (char *) "self", NULL
16544 };
16545
16546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
16547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16549 {
16550 PyThreadState* __tstate = wxPyBeginAllowThreads();
16551 result = (bool)(arg1)->GetColour();
16552
16553 wxPyEndAllowThreads(__tstate);
16554 if (PyErr_Occurred()) SWIG_fail;
16555 }
16556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16557 return resultobj;
16558 fail:
16559 return NULL;
16560 }
16561
16562
16563 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16564 PyObject *resultobj;
16565 wxPrintData *arg1 = (wxPrintData *) 0 ;
16566 int result;
16567 PyObject * obj0 = 0 ;
16568 char *kwnames[] = {
16569 (char *) "self", NULL
16570 };
16571
16572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
16573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16575 {
16576 PyThreadState* __tstate = wxPyBeginAllowThreads();
16577 result = (int)(arg1)->GetDuplex();
16578
16579 wxPyEndAllowThreads(__tstate);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 }
16582 resultobj = SWIG_FromInt((int)result);
16583 return resultobj;
16584 fail:
16585 return NULL;
16586 }
16587
16588
16589 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16590 PyObject *resultobj;
16591 wxPrintData *arg1 = (wxPrintData *) 0 ;
16592 int result;
16593 PyObject * obj0 = 0 ;
16594 char *kwnames[] = {
16595 (char *) "self", NULL
16596 };
16597
16598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
16599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16601 {
16602 PyThreadState* __tstate = wxPyBeginAllowThreads();
16603 result = (int)(arg1)->GetPaperId();
16604
16605 wxPyEndAllowThreads(__tstate);
16606 if (PyErr_Occurred()) SWIG_fail;
16607 }
16608 resultobj = SWIG_FromInt((int)result);
16609 return resultobj;
16610 fail:
16611 return NULL;
16612 }
16613
16614
16615 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16616 PyObject *resultobj;
16617 wxPrintData *arg1 = (wxPrintData *) 0 ;
16618 wxSize *result;
16619 PyObject * obj0 = 0 ;
16620 char *kwnames[] = {
16621 (char *) "self", NULL
16622 };
16623
16624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
16625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16627 {
16628 PyThreadState* __tstate = wxPyBeginAllowThreads();
16629 {
16630 wxSize const &_result_ref = (arg1)->GetPaperSize();
16631 result = (wxSize *) &_result_ref;
16632 }
16633
16634 wxPyEndAllowThreads(__tstate);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 }
16637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
16638 return resultobj;
16639 fail:
16640 return NULL;
16641 }
16642
16643
16644 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16645 PyObject *resultobj;
16646 wxPrintData *arg1 = (wxPrintData *) 0 ;
16647 int result;
16648 PyObject * obj0 = 0 ;
16649 char *kwnames[] = {
16650 (char *) "self", NULL
16651 };
16652
16653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
16654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16656 {
16657 PyThreadState* __tstate = wxPyBeginAllowThreads();
16658 result = (int)(arg1)->GetQuality();
16659
16660 wxPyEndAllowThreads(__tstate);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 resultobj = SWIG_FromInt((int)result);
16664 return resultobj;
16665 fail:
16666 return NULL;
16667 }
16668
16669
16670 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj;
16672 wxPrintData *arg1 = (wxPrintData *) 0 ;
16673 int arg2 ;
16674 PyObject * obj0 = 0 ;
16675 PyObject * obj1 = 0 ;
16676 char *kwnames[] = {
16677 (char *) "self",(char *) "v", NULL
16678 };
16679
16680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
16681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16683 arg2 = (int) SWIG_AsInt(obj1);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 {
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 (arg1)->SetNoCopies(arg2);
16688
16689 wxPyEndAllowThreads(__tstate);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 Py_INCREF(Py_None); resultobj = Py_None;
16693 return resultobj;
16694 fail:
16695 return NULL;
16696 }
16697
16698
16699 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16700 PyObject *resultobj;
16701 wxPrintData *arg1 = (wxPrintData *) 0 ;
16702 bool arg2 ;
16703 PyObject * obj0 = 0 ;
16704 PyObject * obj1 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "self",(char *) "flag", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
16710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16712 arg2 = (bool) SWIG_AsBool(obj1);
16713 if (PyErr_Occurred()) SWIG_fail;
16714 {
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 (arg1)->SetCollate(arg2);
16717
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 Py_INCREF(Py_None); resultobj = Py_None;
16722 return resultobj;
16723 fail:
16724 return NULL;
16725 }
16726
16727
16728 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16729 PyObject *resultobj;
16730 wxPrintData *arg1 = (wxPrintData *) 0 ;
16731 int arg2 ;
16732 PyObject * obj0 = 0 ;
16733 PyObject * obj1 = 0 ;
16734 char *kwnames[] = {
16735 (char *) "self",(char *) "orient", NULL
16736 };
16737
16738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
16739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16741 arg2 = (int) SWIG_AsInt(obj1);
16742 if (PyErr_Occurred()) SWIG_fail;
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 (arg1)->SetOrientation(arg2);
16746
16747 wxPyEndAllowThreads(__tstate);
16748 if (PyErr_Occurred()) SWIG_fail;
16749 }
16750 Py_INCREF(Py_None); resultobj = Py_None;
16751 return resultobj;
16752 fail:
16753 return NULL;
16754 }
16755
16756
16757 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16758 PyObject *resultobj;
16759 wxPrintData *arg1 = (wxPrintData *) 0 ;
16760 wxString *arg2 = 0 ;
16761 bool temp2 = False ;
16762 PyObject * obj0 = 0 ;
16763 PyObject * obj1 = 0 ;
16764 char *kwnames[] = {
16765 (char *) "self",(char *) "name", NULL
16766 };
16767
16768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
16769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16771 {
16772 arg2 = wxString_in_helper(obj1);
16773 if (arg2 == NULL) SWIG_fail;
16774 temp2 = True;
16775 }
16776 {
16777 PyThreadState* __tstate = wxPyBeginAllowThreads();
16778 (arg1)->SetPrinterName((wxString const &)*arg2);
16779
16780 wxPyEndAllowThreads(__tstate);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 }
16783 Py_INCREF(Py_None); resultobj = Py_None;
16784 {
16785 if (temp2)
16786 delete arg2;
16787 }
16788 return resultobj;
16789 fail:
16790 {
16791 if (temp2)
16792 delete arg2;
16793 }
16794 return NULL;
16795 }
16796
16797
16798 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16799 PyObject *resultobj;
16800 wxPrintData *arg1 = (wxPrintData *) 0 ;
16801 bool arg2 ;
16802 PyObject * obj0 = 0 ;
16803 PyObject * obj1 = 0 ;
16804 char *kwnames[] = {
16805 (char *) "self",(char *) "colour", NULL
16806 };
16807
16808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
16809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16811 arg2 = (bool) SWIG_AsBool(obj1);
16812 if (PyErr_Occurred()) SWIG_fail;
16813 {
16814 PyThreadState* __tstate = wxPyBeginAllowThreads();
16815 (arg1)->SetColour(arg2);
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
16820 Py_INCREF(Py_None); resultobj = Py_None;
16821 return resultobj;
16822 fail:
16823 return NULL;
16824 }
16825
16826
16827 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16828 PyObject *resultobj;
16829 wxPrintData *arg1 = (wxPrintData *) 0 ;
16830 int arg2 ;
16831 PyObject * obj0 = 0 ;
16832 PyObject * obj1 = 0 ;
16833 char *kwnames[] = {
16834 (char *) "self",(char *) "duplex", NULL
16835 };
16836
16837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
16838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16840 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 {
16843 PyThreadState* __tstate = wxPyBeginAllowThreads();
16844 (arg1)->SetDuplex((wxDuplexMode )arg2);
16845
16846 wxPyEndAllowThreads(__tstate);
16847 if (PyErr_Occurred()) SWIG_fail;
16848 }
16849 Py_INCREF(Py_None); resultobj = Py_None;
16850 return resultobj;
16851 fail:
16852 return NULL;
16853 }
16854
16855
16856 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16857 PyObject *resultobj;
16858 wxPrintData *arg1 = (wxPrintData *) 0 ;
16859 int arg2 ;
16860 PyObject * obj0 = 0 ;
16861 PyObject * obj1 = 0 ;
16862 char *kwnames[] = {
16863 (char *) "self",(char *) "sizeId", NULL
16864 };
16865
16866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
16867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16869 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 {
16872 PyThreadState* __tstate = wxPyBeginAllowThreads();
16873 (arg1)->SetPaperId((wxPaperSize )arg2);
16874
16875 wxPyEndAllowThreads(__tstate);
16876 if (PyErr_Occurred()) SWIG_fail;
16877 }
16878 Py_INCREF(Py_None); resultobj = Py_None;
16879 return resultobj;
16880 fail:
16881 return NULL;
16882 }
16883
16884
16885 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16886 PyObject *resultobj;
16887 wxPrintData *arg1 = (wxPrintData *) 0 ;
16888 wxSize *arg2 = 0 ;
16889 wxSize temp2 ;
16890 PyObject * obj0 = 0 ;
16891 PyObject * obj1 = 0 ;
16892 char *kwnames[] = {
16893 (char *) "self",(char *) "sz", NULL
16894 };
16895
16896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16899 {
16900 arg2 = &temp2;
16901 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16902 }
16903 {
16904 PyThreadState* __tstate = wxPyBeginAllowThreads();
16905 (arg1)->SetPaperSize((wxSize const &)*arg2);
16906
16907 wxPyEndAllowThreads(__tstate);
16908 if (PyErr_Occurred()) SWIG_fail;
16909 }
16910 Py_INCREF(Py_None); resultobj = Py_None;
16911 return resultobj;
16912 fail:
16913 return NULL;
16914 }
16915
16916
16917 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16918 PyObject *resultobj;
16919 wxPrintData *arg1 = (wxPrintData *) 0 ;
16920 int arg2 ;
16921 PyObject * obj0 = 0 ;
16922 PyObject * obj1 = 0 ;
16923 char *kwnames[] = {
16924 (char *) "self",(char *) "quality", NULL
16925 };
16926
16927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
16928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16930 arg2 = (int) SWIG_AsInt(obj1);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 {
16933 PyThreadState* __tstate = wxPyBeginAllowThreads();
16934 (arg1)->SetQuality(arg2);
16935
16936 wxPyEndAllowThreads(__tstate);
16937 if (PyErr_Occurred()) SWIG_fail;
16938 }
16939 Py_INCREF(Py_None); resultobj = Py_None;
16940 return resultobj;
16941 fail:
16942 return NULL;
16943 }
16944
16945
16946 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16947 PyObject *resultobj;
16948 wxPrintData *arg1 = (wxPrintData *) 0 ;
16949 wxString *result;
16950 PyObject * obj0 = 0 ;
16951 char *kwnames[] = {
16952 (char *) "self", NULL
16953 };
16954
16955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
16956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16958 {
16959 PyThreadState* __tstate = wxPyBeginAllowThreads();
16960 {
16961 wxString const &_result_ref = (arg1)->GetPrinterCommand();
16962 result = (wxString *) &_result_ref;
16963 }
16964
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 {
16969 #if wxUSE_UNICODE
16970 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16971 #else
16972 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16973 #endif
16974 }
16975 return resultobj;
16976 fail:
16977 return NULL;
16978 }
16979
16980
16981 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
16982 PyObject *resultobj;
16983 wxPrintData *arg1 = (wxPrintData *) 0 ;
16984 wxString *result;
16985 PyObject * obj0 = 0 ;
16986 char *kwnames[] = {
16987 (char *) "self", NULL
16988 };
16989
16990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
16991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 {
16996 wxString const &_result_ref = (arg1)->GetPrinterOptions();
16997 result = (wxString *) &_result_ref;
16998 }
16999
17000 wxPyEndAllowThreads(__tstate);
17001 if (PyErr_Occurred()) SWIG_fail;
17002 }
17003 {
17004 #if wxUSE_UNICODE
17005 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17006 #else
17007 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17008 #endif
17009 }
17010 return resultobj;
17011 fail:
17012 return NULL;
17013 }
17014
17015
17016 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17017 PyObject *resultobj;
17018 wxPrintData *arg1 = (wxPrintData *) 0 ;
17019 wxString *result;
17020 PyObject * obj0 = 0 ;
17021 char *kwnames[] = {
17022 (char *) "self", NULL
17023 };
17024
17025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
17026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 {
17031 wxString const &_result_ref = (arg1)->GetPreviewCommand();
17032 result = (wxString *) &_result_ref;
17033 }
17034
17035 wxPyEndAllowThreads(__tstate);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 }
17038 {
17039 #if wxUSE_UNICODE
17040 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17041 #else
17042 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17043 #endif
17044 }
17045 return resultobj;
17046 fail:
17047 return NULL;
17048 }
17049
17050
17051 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17052 PyObject *resultobj;
17053 wxPrintData *arg1 = (wxPrintData *) 0 ;
17054 wxString *result;
17055 PyObject * obj0 = 0 ;
17056 char *kwnames[] = {
17057 (char *) "self", NULL
17058 };
17059
17060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
17061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 {
17066 wxString const &_result_ref = (arg1)->GetFilename();
17067 result = (wxString *) &_result_ref;
17068 }
17069
17070 wxPyEndAllowThreads(__tstate);
17071 if (PyErr_Occurred()) SWIG_fail;
17072 }
17073 {
17074 #if wxUSE_UNICODE
17075 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17076 #else
17077 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17078 #endif
17079 }
17080 return resultobj;
17081 fail:
17082 return NULL;
17083 }
17084
17085
17086 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17087 PyObject *resultobj;
17088 wxPrintData *arg1 = (wxPrintData *) 0 ;
17089 wxString *result;
17090 PyObject * obj0 = 0 ;
17091 char *kwnames[] = {
17092 (char *) "self", NULL
17093 };
17094
17095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
17096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17098 {
17099 PyThreadState* __tstate = wxPyBeginAllowThreads();
17100 {
17101 wxString const &_result_ref = (arg1)->GetFontMetricPath();
17102 result = (wxString *) &_result_ref;
17103 }
17104
17105 wxPyEndAllowThreads(__tstate);
17106 if (PyErr_Occurred()) SWIG_fail;
17107 }
17108 {
17109 #if wxUSE_UNICODE
17110 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17111 #else
17112 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17113 #endif
17114 }
17115 return resultobj;
17116 fail:
17117 return NULL;
17118 }
17119
17120
17121 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17122 PyObject *resultobj;
17123 wxPrintData *arg1 = (wxPrintData *) 0 ;
17124 double result;
17125 PyObject * obj0 = 0 ;
17126 char *kwnames[] = {
17127 (char *) "self", NULL
17128 };
17129
17130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
17131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17133 {
17134 PyThreadState* __tstate = wxPyBeginAllowThreads();
17135 result = (double)(arg1)->GetPrinterScaleX();
17136
17137 wxPyEndAllowThreads(__tstate);
17138 if (PyErr_Occurred()) SWIG_fail;
17139 }
17140 resultobj = SWIG_FromDouble((double)result);
17141 return resultobj;
17142 fail:
17143 return NULL;
17144 }
17145
17146
17147 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17148 PyObject *resultobj;
17149 wxPrintData *arg1 = (wxPrintData *) 0 ;
17150 double result;
17151 PyObject * obj0 = 0 ;
17152 char *kwnames[] = {
17153 (char *) "self", NULL
17154 };
17155
17156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
17157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 result = (double)(arg1)->GetPrinterScaleY();
17162
17163 wxPyEndAllowThreads(__tstate);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 resultobj = SWIG_FromDouble((double)result);
17167 return resultobj;
17168 fail:
17169 return NULL;
17170 }
17171
17172
17173 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17174 PyObject *resultobj;
17175 wxPrintData *arg1 = (wxPrintData *) 0 ;
17176 long result;
17177 PyObject * obj0 = 0 ;
17178 char *kwnames[] = {
17179 (char *) "self", NULL
17180 };
17181
17182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
17183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17185 {
17186 PyThreadState* __tstate = wxPyBeginAllowThreads();
17187 result = (long)(arg1)->GetPrinterTranslateX();
17188
17189 wxPyEndAllowThreads(__tstate);
17190 if (PyErr_Occurred()) SWIG_fail;
17191 }
17192 resultobj = SWIG_FromLong((long)result);
17193 return resultobj;
17194 fail:
17195 return NULL;
17196 }
17197
17198
17199 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17200 PyObject *resultobj;
17201 wxPrintData *arg1 = (wxPrintData *) 0 ;
17202 long result;
17203 PyObject * obj0 = 0 ;
17204 char *kwnames[] = {
17205 (char *) "self", NULL
17206 };
17207
17208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
17209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17211 {
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 result = (long)(arg1)->GetPrinterTranslateY();
17214
17215 wxPyEndAllowThreads(__tstate);
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
17218 resultobj = SWIG_FromLong((long)result);
17219 return resultobj;
17220 fail:
17221 return NULL;
17222 }
17223
17224
17225 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17226 PyObject *resultobj;
17227 wxPrintData *arg1 = (wxPrintData *) 0 ;
17228 int result;
17229 PyObject * obj0 = 0 ;
17230 char *kwnames[] = {
17231 (char *) "self", NULL
17232 };
17233
17234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
17235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17237 {
17238 PyThreadState* __tstate = wxPyBeginAllowThreads();
17239 result = (int)(arg1)->GetPrintMode();
17240
17241 wxPyEndAllowThreads(__tstate);
17242 if (PyErr_Occurred()) SWIG_fail;
17243 }
17244 resultobj = SWIG_FromInt((int)result);
17245 return resultobj;
17246 fail:
17247 return NULL;
17248 }
17249
17250
17251 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj;
17253 wxPrintData *arg1 = (wxPrintData *) 0 ;
17254 wxString *arg2 = 0 ;
17255 bool temp2 = False ;
17256 PyObject * obj0 = 0 ;
17257 PyObject * obj1 = 0 ;
17258 char *kwnames[] = {
17259 (char *) "self",(char *) "command", NULL
17260 };
17261
17262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
17263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17265 {
17266 arg2 = wxString_in_helper(obj1);
17267 if (arg2 == NULL) SWIG_fail;
17268 temp2 = True;
17269 }
17270 {
17271 PyThreadState* __tstate = wxPyBeginAllowThreads();
17272 (arg1)->SetPrinterCommand((wxString const &)*arg2);
17273
17274 wxPyEndAllowThreads(__tstate);
17275 if (PyErr_Occurred()) SWIG_fail;
17276 }
17277 Py_INCREF(Py_None); resultobj = Py_None;
17278 {
17279 if (temp2)
17280 delete arg2;
17281 }
17282 return resultobj;
17283 fail:
17284 {
17285 if (temp2)
17286 delete arg2;
17287 }
17288 return NULL;
17289 }
17290
17291
17292 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
17293 PyObject *resultobj;
17294 wxPrintData *arg1 = (wxPrintData *) 0 ;
17295 wxString *arg2 = 0 ;
17296 bool temp2 = False ;
17297 PyObject * obj0 = 0 ;
17298 PyObject * obj1 = 0 ;
17299 char *kwnames[] = {
17300 (char *) "self",(char *) "options", NULL
17301 };
17302
17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
17304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17306 {
17307 arg2 = wxString_in_helper(obj1);
17308 if (arg2 == NULL) SWIG_fail;
17309 temp2 = True;
17310 }
17311 {
17312 PyThreadState* __tstate = wxPyBeginAllowThreads();
17313 (arg1)->SetPrinterOptions((wxString const &)*arg2);
17314
17315 wxPyEndAllowThreads(__tstate);
17316 if (PyErr_Occurred()) SWIG_fail;
17317 }
17318 Py_INCREF(Py_None); resultobj = Py_None;
17319 {
17320 if (temp2)
17321 delete arg2;
17322 }
17323 return resultobj;
17324 fail:
17325 {
17326 if (temp2)
17327 delete arg2;
17328 }
17329 return NULL;
17330 }
17331
17332
17333 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17334 PyObject *resultobj;
17335 wxPrintData *arg1 = (wxPrintData *) 0 ;
17336 wxString *arg2 = 0 ;
17337 bool temp2 = False ;
17338 PyObject * obj0 = 0 ;
17339 PyObject * obj1 = 0 ;
17340 char *kwnames[] = {
17341 (char *) "self",(char *) "command", NULL
17342 };
17343
17344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
17345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17347 {
17348 arg2 = wxString_in_helper(obj1);
17349 if (arg2 == NULL) SWIG_fail;
17350 temp2 = True;
17351 }
17352 {
17353 PyThreadState* __tstate = wxPyBeginAllowThreads();
17354 (arg1)->SetPreviewCommand((wxString const &)*arg2);
17355
17356 wxPyEndAllowThreads(__tstate);
17357 if (PyErr_Occurred()) SWIG_fail;
17358 }
17359 Py_INCREF(Py_None); resultobj = Py_None;
17360 {
17361 if (temp2)
17362 delete arg2;
17363 }
17364 return resultobj;
17365 fail:
17366 {
17367 if (temp2)
17368 delete arg2;
17369 }
17370 return NULL;
17371 }
17372
17373
17374 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17375 PyObject *resultobj;
17376 wxPrintData *arg1 = (wxPrintData *) 0 ;
17377 wxString *arg2 = 0 ;
17378 bool temp2 = False ;
17379 PyObject * obj0 = 0 ;
17380 PyObject * obj1 = 0 ;
17381 char *kwnames[] = {
17382 (char *) "self",(char *) "filename", NULL
17383 };
17384
17385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
17386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17388 {
17389 arg2 = wxString_in_helper(obj1);
17390 if (arg2 == NULL) SWIG_fail;
17391 temp2 = True;
17392 }
17393 {
17394 PyThreadState* __tstate = wxPyBeginAllowThreads();
17395 (arg1)->SetFilename((wxString const &)*arg2);
17396
17397 wxPyEndAllowThreads(__tstate);
17398 if (PyErr_Occurred()) SWIG_fail;
17399 }
17400 Py_INCREF(Py_None); resultobj = Py_None;
17401 {
17402 if (temp2)
17403 delete arg2;
17404 }
17405 return resultobj;
17406 fail:
17407 {
17408 if (temp2)
17409 delete arg2;
17410 }
17411 return NULL;
17412 }
17413
17414
17415 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17416 PyObject *resultobj;
17417 wxPrintData *arg1 = (wxPrintData *) 0 ;
17418 wxString *arg2 = 0 ;
17419 bool temp2 = False ;
17420 PyObject * obj0 = 0 ;
17421 PyObject * obj1 = 0 ;
17422 char *kwnames[] = {
17423 (char *) "self",(char *) "path", NULL
17424 };
17425
17426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
17427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17429 {
17430 arg2 = wxString_in_helper(obj1);
17431 if (arg2 == NULL) SWIG_fail;
17432 temp2 = True;
17433 }
17434 {
17435 PyThreadState* __tstate = wxPyBeginAllowThreads();
17436 (arg1)->SetFontMetricPath((wxString const &)*arg2);
17437
17438 wxPyEndAllowThreads(__tstate);
17439 if (PyErr_Occurred()) SWIG_fail;
17440 }
17441 Py_INCREF(Py_None); resultobj = Py_None;
17442 {
17443 if (temp2)
17444 delete arg2;
17445 }
17446 return resultobj;
17447 fail:
17448 {
17449 if (temp2)
17450 delete arg2;
17451 }
17452 return NULL;
17453 }
17454
17455
17456 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17457 PyObject *resultobj;
17458 wxPrintData *arg1 = (wxPrintData *) 0 ;
17459 double arg2 ;
17460 PyObject * obj0 = 0 ;
17461 PyObject * obj1 = 0 ;
17462 char *kwnames[] = {
17463 (char *) "self",(char *) "x", NULL
17464 };
17465
17466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
17467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17469 arg2 = (double) SWIG_AsDouble(obj1);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 {
17472 PyThreadState* __tstate = wxPyBeginAllowThreads();
17473 (arg1)->SetPrinterScaleX(arg2);
17474
17475 wxPyEndAllowThreads(__tstate);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 Py_INCREF(Py_None); resultobj = Py_None;
17479 return resultobj;
17480 fail:
17481 return NULL;
17482 }
17483
17484
17485 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17486 PyObject *resultobj;
17487 wxPrintData *arg1 = (wxPrintData *) 0 ;
17488 double arg2 ;
17489 PyObject * obj0 = 0 ;
17490 PyObject * obj1 = 0 ;
17491 char *kwnames[] = {
17492 (char *) "self",(char *) "y", NULL
17493 };
17494
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
17496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17498 arg2 = (double) SWIG_AsDouble(obj1);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 {
17501 PyThreadState* __tstate = wxPyBeginAllowThreads();
17502 (arg1)->SetPrinterScaleY(arg2);
17503
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 Py_INCREF(Py_None); resultobj = Py_None;
17508 return resultobj;
17509 fail:
17510 return NULL;
17511 }
17512
17513
17514 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
17515 PyObject *resultobj;
17516 wxPrintData *arg1 = (wxPrintData *) 0 ;
17517 double arg2 ;
17518 double arg3 ;
17519 PyObject * obj0 = 0 ;
17520 PyObject * obj1 = 0 ;
17521 PyObject * obj2 = 0 ;
17522 char *kwnames[] = {
17523 (char *) "self",(char *) "x",(char *) "y", NULL
17524 };
17525
17526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
17527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17529 arg2 = (double) SWIG_AsDouble(obj1);
17530 if (PyErr_Occurred()) SWIG_fail;
17531 arg3 = (double) SWIG_AsDouble(obj2);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 (arg1)->SetPrinterScaling(arg2,arg3);
17536
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 Py_INCREF(Py_None); resultobj = Py_None;
17541 return resultobj;
17542 fail:
17543 return NULL;
17544 }
17545
17546
17547 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17548 PyObject *resultobj;
17549 wxPrintData *arg1 = (wxPrintData *) 0 ;
17550 long arg2 ;
17551 PyObject * obj0 = 0 ;
17552 PyObject * obj1 = 0 ;
17553 char *kwnames[] = {
17554 (char *) "self",(char *) "x", NULL
17555 };
17556
17557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
17558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17560 arg2 = (long) SWIG_AsLong(obj1);
17561 if (PyErr_Occurred()) SWIG_fail;
17562 {
17563 PyThreadState* __tstate = wxPyBeginAllowThreads();
17564 (arg1)->SetPrinterTranslateX(arg2);
17565
17566 wxPyEndAllowThreads(__tstate);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 Py_INCREF(Py_None); resultobj = Py_None;
17570 return resultobj;
17571 fail:
17572 return NULL;
17573 }
17574
17575
17576 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17577 PyObject *resultobj;
17578 wxPrintData *arg1 = (wxPrintData *) 0 ;
17579 long arg2 ;
17580 PyObject * obj0 = 0 ;
17581 PyObject * obj1 = 0 ;
17582 char *kwnames[] = {
17583 (char *) "self",(char *) "y", NULL
17584 };
17585
17586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
17587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17589 arg2 = (long) SWIG_AsLong(obj1);
17590 if (PyErr_Occurred()) SWIG_fail;
17591 {
17592 PyThreadState* __tstate = wxPyBeginAllowThreads();
17593 (arg1)->SetPrinterTranslateY(arg2);
17594
17595 wxPyEndAllowThreads(__tstate);
17596 if (PyErr_Occurred()) SWIG_fail;
17597 }
17598 Py_INCREF(Py_None); resultobj = Py_None;
17599 return resultobj;
17600 fail:
17601 return NULL;
17602 }
17603
17604
17605 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
17606 PyObject *resultobj;
17607 wxPrintData *arg1 = (wxPrintData *) 0 ;
17608 long arg2 ;
17609 long arg3 ;
17610 PyObject * obj0 = 0 ;
17611 PyObject * obj1 = 0 ;
17612 PyObject * obj2 = 0 ;
17613 char *kwnames[] = {
17614 (char *) "self",(char *) "x",(char *) "y", NULL
17615 };
17616
17617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
17618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17620 arg2 = (long) SWIG_AsLong(obj1);
17621 if (PyErr_Occurred()) SWIG_fail;
17622 arg3 = (long) SWIG_AsLong(obj2);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 (arg1)->SetPrinterTranslation(arg2,arg3);
17627
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
17631 Py_INCREF(Py_None); resultobj = Py_None;
17632 return resultobj;
17633 fail:
17634 return NULL;
17635 }
17636
17637
17638 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17639 PyObject *resultobj;
17640 wxPrintData *arg1 = (wxPrintData *) 0 ;
17641 int arg2 ;
17642 PyObject * obj0 = 0 ;
17643 PyObject * obj1 = 0 ;
17644 char *kwnames[] = {
17645 (char *) "self",(char *) "printMode", NULL
17646 };
17647
17648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
17649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17651 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 (arg1)->SetPrintMode((wxPrintMode )arg2);
17656
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 Py_INCREF(Py_None); resultobj = Py_None;
17661 return resultobj;
17662 fail:
17663 return NULL;
17664 }
17665
17666
17667 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
17668 PyObject *resultobj;
17669 wxPrintData *arg1 = (wxPrintData *) 0 ;
17670 wxOutputStream *result;
17671 PyObject * obj0 = 0 ;
17672 char *kwnames[] = {
17673 (char *) "self", NULL
17674 };
17675
17676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
17677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17679 {
17680 PyThreadState* __tstate = wxPyBeginAllowThreads();
17681 result = (wxOutputStream *)(arg1)->GetOutputStream();
17682
17683 wxPyEndAllowThreads(__tstate);
17684 if (PyErr_Occurred()) SWIG_fail;
17685 }
17686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
17687 return resultobj;
17688 fail:
17689 return NULL;
17690 }
17691
17692
17693 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
17694 PyObject *resultobj;
17695 wxPrintData *arg1 = (wxPrintData *) 0 ;
17696 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
17697 PyObject * obj0 = 0 ;
17698 PyObject * obj1 = 0 ;
17699 char *kwnames[] = {
17700 (char *) "self",(char *) "outputstream", NULL
17701 };
17702
17703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
17704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
17707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 (arg1)->SetOutputStream(arg2);
17711
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 Py_INCREF(Py_None); resultobj = Py_None;
17716 return resultobj;
17717 fail:
17718 return NULL;
17719 }
17720
17721
17722 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
17723 PyObject *obj;
17724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17725 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
17726 Py_INCREF(obj);
17727 return Py_BuildValue((char *)"");
17728 }
17729 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17730 PyObject *resultobj;
17731 wxPageSetupDialogData *result;
17732 char *kwnames[] = {
17733 NULL
17734 };
17735
17736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
17737 {
17738 PyThreadState* __tstate = wxPyBeginAllowThreads();
17739 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
17740
17741 wxPyEndAllowThreads(__tstate);
17742 if (PyErr_Occurred()) SWIG_fail;
17743 }
17744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
17745 return resultobj;
17746 fail:
17747 return NULL;
17748 }
17749
17750
17751 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17752 PyObject *resultobj;
17753 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17754 PyObject * obj0 = 0 ;
17755 char *kwnames[] = {
17756 (char *) "self", NULL
17757 };
17758
17759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
17760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17762 {
17763 PyThreadState* __tstate = wxPyBeginAllowThreads();
17764 delete arg1;
17765
17766 wxPyEndAllowThreads(__tstate);
17767 if (PyErr_Occurred()) SWIG_fail;
17768 }
17769 Py_INCREF(Py_None); resultobj = Py_None;
17770 return resultobj;
17771 fail:
17772 return NULL;
17773 }
17774
17775
17776 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17777 PyObject *resultobj;
17778 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17779 bool arg2 ;
17780 PyObject * obj0 = 0 ;
17781 PyObject * obj1 = 0 ;
17782 char *kwnames[] = {
17783 (char *) "self",(char *) "flag", NULL
17784 };
17785
17786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17789 arg2 = (bool) SWIG_AsBool(obj1);
17790 if (PyErr_Occurred()) SWIG_fail;
17791 {
17792 PyThreadState* __tstate = wxPyBeginAllowThreads();
17793 (arg1)->EnableHelp(arg2);
17794
17795 wxPyEndAllowThreads(__tstate);
17796 if (PyErr_Occurred()) SWIG_fail;
17797 }
17798 Py_INCREF(Py_None); resultobj = Py_None;
17799 return resultobj;
17800 fail:
17801 return NULL;
17802 }
17803
17804
17805 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17806 PyObject *resultobj;
17807 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17808 bool arg2 ;
17809 PyObject * obj0 = 0 ;
17810 PyObject * obj1 = 0 ;
17811 char *kwnames[] = {
17812 (char *) "self",(char *) "flag", NULL
17813 };
17814
17815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
17816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17818 arg2 = (bool) SWIG_AsBool(obj1);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 {
17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
17822 (arg1)->EnableMargins(arg2);
17823
17824 wxPyEndAllowThreads(__tstate);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
17827 Py_INCREF(Py_None); resultobj = Py_None;
17828 return resultobj;
17829 fail:
17830 return NULL;
17831 }
17832
17833
17834 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17835 PyObject *resultobj;
17836 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17837 bool arg2 ;
17838 PyObject * obj0 = 0 ;
17839 PyObject * obj1 = 0 ;
17840 char *kwnames[] = {
17841 (char *) "self",(char *) "flag", NULL
17842 };
17843
17844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
17845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17847 arg2 = (bool) SWIG_AsBool(obj1);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 {
17850 PyThreadState* __tstate = wxPyBeginAllowThreads();
17851 (arg1)->EnableOrientation(arg2);
17852
17853 wxPyEndAllowThreads(__tstate);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 }
17856 Py_INCREF(Py_None); resultobj = Py_None;
17857 return resultobj;
17858 fail:
17859 return NULL;
17860 }
17861
17862
17863 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17864 PyObject *resultobj;
17865 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17866 bool arg2 ;
17867 PyObject * obj0 = 0 ;
17868 PyObject * obj1 = 0 ;
17869 char *kwnames[] = {
17870 (char *) "self",(char *) "flag", NULL
17871 };
17872
17873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
17874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17876 arg2 = (bool) SWIG_AsBool(obj1);
17877 if (PyErr_Occurred()) SWIG_fail;
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 (arg1)->EnablePaper(arg2);
17881
17882 wxPyEndAllowThreads(__tstate);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
17885 Py_INCREF(Py_None); resultobj = Py_None;
17886 return resultobj;
17887 fail:
17888 return NULL;
17889 }
17890
17891
17892 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17893 PyObject *resultobj;
17894 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17895 bool arg2 ;
17896 PyObject * obj0 = 0 ;
17897 PyObject * obj1 = 0 ;
17898 char *kwnames[] = {
17899 (char *) "self",(char *) "flag", NULL
17900 };
17901
17902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
17903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17905 arg2 = (bool) SWIG_AsBool(obj1);
17906 if (PyErr_Occurred()) SWIG_fail;
17907 {
17908 PyThreadState* __tstate = wxPyBeginAllowThreads();
17909 (arg1)->EnablePrinter(arg2);
17910
17911 wxPyEndAllowThreads(__tstate);
17912 if (PyErr_Occurred()) SWIG_fail;
17913 }
17914 Py_INCREF(Py_None); resultobj = Py_None;
17915 return resultobj;
17916 fail:
17917 return NULL;
17918 }
17919
17920
17921 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17922 PyObject *resultobj;
17923 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17924 bool result;
17925 PyObject * obj0 = 0 ;
17926 char *kwnames[] = {
17927 (char *) "self", NULL
17928 };
17929
17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
17931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17933 {
17934 PyThreadState* __tstate = wxPyBeginAllowThreads();
17935 result = (bool)(arg1)->GetDefaultMinMargins();
17936
17937 wxPyEndAllowThreads(__tstate);
17938 if (PyErr_Occurred()) SWIG_fail;
17939 }
17940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17941 return resultobj;
17942 fail:
17943 return NULL;
17944 }
17945
17946
17947 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17948 PyObject *resultobj;
17949 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17950 bool result;
17951 PyObject * obj0 = 0 ;
17952 char *kwnames[] = {
17953 (char *) "self", NULL
17954 };
17955
17956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
17957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17959 {
17960 PyThreadState* __tstate = wxPyBeginAllowThreads();
17961 result = (bool)(arg1)->GetEnableMargins();
17962
17963 wxPyEndAllowThreads(__tstate);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17967 return resultobj;
17968 fail:
17969 return NULL;
17970 }
17971
17972
17973 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17974 PyObject *resultobj;
17975 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17976 bool result;
17977 PyObject * obj0 = 0 ;
17978 char *kwnames[] = {
17979 (char *) "self", NULL
17980 };
17981
17982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
17983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17985 {
17986 PyThreadState* __tstate = wxPyBeginAllowThreads();
17987 result = (bool)(arg1)->GetEnableOrientation();
17988
17989 wxPyEndAllowThreads(__tstate);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17993 return resultobj;
17994 fail:
17995 return NULL;
17996 }
17997
17998
17999 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18000 PyObject *resultobj;
18001 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18002 bool result;
18003 PyObject * obj0 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "self", NULL
18006 };
18007
18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
18009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18011 {
18012 PyThreadState* __tstate = wxPyBeginAllowThreads();
18013 result = (bool)(arg1)->GetEnablePaper();
18014
18015 wxPyEndAllowThreads(__tstate);
18016 if (PyErr_Occurred()) SWIG_fail;
18017 }
18018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18019 return resultobj;
18020 fail:
18021 return NULL;
18022 }
18023
18024
18025 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18026 PyObject *resultobj;
18027 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18028 bool result;
18029 PyObject * obj0 = 0 ;
18030 char *kwnames[] = {
18031 (char *) "self", NULL
18032 };
18033
18034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
18035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18037 {
18038 PyThreadState* __tstate = wxPyBeginAllowThreads();
18039 result = (bool)(arg1)->GetEnablePrinter();
18040
18041 wxPyEndAllowThreads(__tstate);
18042 if (PyErr_Occurred()) SWIG_fail;
18043 }
18044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18045 return resultobj;
18046 fail:
18047 return NULL;
18048 }
18049
18050
18051 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18052 PyObject *resultobj;
18053 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18054 bool result;
18055 PyObject * obj0 = 0 ;
18056 char *kwnames[] = {
18057 (char *) "self", NULL
18058 };
18059
18060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18063 {
18064 PyThreadState* __tstate = wxPyBeginAllowThreads();
18065 result = (bool)(arg1)->GetEnableHelp();
18066
18067 wxPyEndAllowThreads(__tstate);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 }
18070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18071 return resultobj;
18072 fail:
18073 return NULL;
18074 }
18075
18076
18077 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18078 PyObject *resultobj;
18079 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18080 bool result;
18081 PyObject * obj0 = 0 ;
18082 char *kwnames[] = {
18083 (char *) "self", NULL
18084 };
18085
18086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
18087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18089 {
18090 PyThreadState* __tstate = wxPyBeginAllowThreads();
18091 result = (bool)(arg1)->GetDefaultInfo();
18092
18093 wxPyEndAllowThreads(__tstate);
18094 if (PyErr_Occurred()) SWIG_fail;
18095 }
18096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18097 return resultobj;
18098 fail:
18099 return NULL;
18100 }
18101
18102
18103 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18104 PyObject *resultobj;
18105 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18106 wxPoint result;
18107 PyObject * obj0 = 0 ;
18108 char *kwnames[] = {
18109 (char *) "self", NULL
18110 };
18111
18112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
18113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18115 {
18116 PyThreadState* __tstate = wxPyBeginAllowThreads();
18117 result = (arg1)->GetMarginTopLeft();
18118
18119 wxPyEndAllowThreads(__tstate);
18120 if (PyErr_Occurred()) SWIG_fail;
18121 }
18122 {
18123 wxPoint * resultptr;
18124 resultptr = new wxPoint((wxPoint &) result);
18125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18126 }
18127 return resultobj;
18128 fail:
18129 return NULL;
18130 }
18131
18132
18133 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18134 PyObject *resultobj;
18135 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18136 wxPoint result;
18137 PyObject * obj0 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 result = (arg1)->GetMarginBottomRight();
18148
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 {
18153 wxPoint * resultptr;
18154 resultptr = new wxPoint((wxPoint &) result);
18155 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18156 }
18157 return resultobj;
18158 fail:
18159 return NULL;
18160 }
18161
18162
18163 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18164 PyObject *resultobj;
18165 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18166 wxPoint result;
18167 PyObject * obj0 = 0 ;
18168 char *kwnames[] = {
18169 (char *) "self", NULL
18170 };
18171
18172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
18173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18175 {
18176 PyThreadState* __tstate = wxPyBeginAllowThreads();
18177 result = (arg1)->GetMinMarginTopLeft();
18178
18179 wxPyEndAllowThreads(__tstate);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 }
18182 {
18183 wxPoint * resultptr;
18184 resultptr = new wxPoint((wxPoint &) result);
18185 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18186 }
18187 return resultobj;
18188 fail:
18189 return NULL;
18190 }
18191
18192
18193 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18194 PyObject *resultobj;
18195 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18196 wxPoint result;
18197 PyObject * obj0 = 0 ;
18198 char *kwnames[] = {
18199 (char *) "self", NULL
18200 };
18201
18202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
18203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18205 {
18206 PyThreadState* __tstate = wxPyBeginAllowThreads();
18207 result = (arg1)->GetMinMarginBottomRight();
18208
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 {
18213 wxPoint * resultptr;
18214 resultptr = new wxPoint((wxPoint &) result);
18215 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18216 }
18217 return resultobj;
18218 fail:
18219 return NULL;
18220 }
18221
18222
18223 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18224 PyObject *resultobj;
18225 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18226 int result;
18227 PyObject * obj0 = 0 ;
18228 char *kwnames[] = {
18229 (char *) "self", NULL
18230 };
18231
18232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
18233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18235 {
18236 PyThreadState* __tstate = wxPyBeginAllowThreads();
18237 result = (int)(arg1)->GetPaperId();
18238
18239 wxPyEndAllowThreads(__tstate);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
18242 resultobj = SWIG_FromInt((int)result);
18243 return resultobj;
18244 fail:
18245 return NULL;
18246 }
18247
18248
18249 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18250 PyObject *resultobj;
18251 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18252 wxSize result;
18253 PyObject * obj0 = 0 ;
18254 char *kwnames[] = {
18255 (char *) "self", NULL
18256 };
18257
18258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
18259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18261 {
18262 PyThreadState* __tstate = wxPyBeginAllowThreads();
18263 result = (arg1)->GetPaperSize();
18264
18265 wxPyEndAllowThreads(__tstate);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 {
18269 wxSize * resultptr;
18270 resultptr = new wxSize((wxSize &) result);
18271 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18272 }
18273 return resultobj;
18274 fail:
18275 return NULL;
18276 }
18277
18278
18279 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18280 PyObject *resultobj;
18281 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18282 wxPrintData *result;
18283 PyObject * obj0 = 0 ;
18284 char *kwnames[] = {
18285 (char *) "self", NULL
18286 };
18287
18288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18291 {
18292 PyThreadState* __tstate = wxPyBeginAllowThreads();
18293 {
18294 wxPrintData &_result_ref = (arg1)->GetPrintData();
18295 result = (wxPrintData *) &_result_ref;
18296 }
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
18301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
18302 return resultobj;
18303 fail:
18304 return NULL;
18305 }
18306
18307
18308 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18309 PyObject *resultobj;
18310 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18311 bool result;
18312 PyObject * obj0 = 0 ;
18313 char *kwnames[] = {
18314 (char *) "self", NULL
18315 };
18316
18317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
18318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18320 {
18321 PyThreadState* __tstate = wxPyBeginAllowThreads();
18322 result = (bool)(arg1)->Ok();
18323
18324 wxPyEndAllowThreads(__tstate);
18325 if (PyErr_Occurred()) SWIG_fail;
18326 }
18327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18328 return resultobj;
18329 fail:
18330 return NULL;
18331 }
18332
18333
18334 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18335 PyObject *resultobj;
18336 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18337 bool arg2 ;
18338 PyObject * obj0 = 0 ;
18339 PyObject * obj1 = 0 ;
18340 char *kwnames[] = {
18341 (char *) "self",(char *) "flag", NULL
18342 };
18343
18344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
18345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18347 arg2 = (bool) SWIG_AsBool(obj1);
18348 if (PyErr_Occurred()) SWIG_fail;
18349 {
18350 PyThreadState* __tstate = wxPyBeginAllowThreads();
18351 (arg1)->SetDefaultInfo(arg2);
18352
18353 wxPyEndAllowThreads(__tstate);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
18356 Py_INCREF(Py_None); resultobj = Py_None;
18357 return resultobj;
18358 fail:
18359 return NULL;
18360 }
18361
18362
18363 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18364 PyObject *resultobj;
18365 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18366 bool arg2 ;
18367 PyObject * obj0 = 0 ;
18368 PyObject * obj1 = 0 ;
18369 char *kwnames[] = {
18370 (char *) "self",(char *) "flag", NULL
18371 };
18372
18373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
18374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18376 arg2 = (bool) SWIG_AsBool(obj1);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 {
18379 PyThreadState* __tstate = wxPyBeginAllowThreads();
18380 (arg1)->SetDefaultMinMargins(arg2);
18381
18382 wxPyEndAllowThreads(__tstate);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 }
18385 Py_INCREF(Py_None); resultobj = Py_None;
18386 return resultobj;
18387 fail:
18388 return NULL;
18389 }
18390
18391
18392 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18393 PyObject *resultobj;
18394 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18395 wxPoint *arg2 = 0 ;
18396 wxPoint temp2 ;
18397 PyObject * obj0 = 0 ;
18398 PyObject * obj1 = 0 ;
18399 char *kwnames[] = {
18400 (char *) "self",(char *) "pt", NULL
18401 };
18402
18403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18406 {
18407 arg2 = &temp2;
18408 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18409 }
18410 {
18411 PyThreadState* __tstate = wxPyBeginAllowThreads();
18412 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
18413
18414 wxPyEndAllowThreads(__tstate);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 }
18417 Py_INCREF(Py_None); resultobj = Py_None;
18418 return resultobj;
18419 fail:
18420 return NULL;
18421 }
18422
18423
18424 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18425 PyObject *resultobj;
18426 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18427 wxPoint *arg2 = 0 ;
18428 wxPoint temp2 ;
18429 PyObject * obj0 = 0 ;
18430 PyObject * obj1 = 0 ;
18431 char *kwnames[] = {
18432 (char *) "self",(char *) "pt", NULL
18433 };
18434
18435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18438 {
18439 arg2 = &temp2;
18440 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18441 }
18442 {
18443 PyThreadState* __tstate = wxPyBeginAllowThreads();
18444 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
18445
18446 wxPyEndAllowThreads(__tstate);
18447 if (PyErr_Occurred()) SWIG_fail;
18448 }
18449 Py_INCREF(Py_None); resultobj = Py_None;
18450 return resultobj;
18451 fail:
18452 return NULL;
18453 }
18454
18455
18456 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18457 PyObject *resultobj;
18458 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18459 wxPoint *arg2 = 0 ;
18460 wxPoint temp2 ;
18461 PyObject * obj0 = 0 ;
18462 PyObject * obj1 = 0 ;
18463 char *kwnames[] = {
18464 (char *) "self",(char *) "pt", NULL
18465 };
18466
18467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18470 {
18471 arg2 = &temp2;
18472 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18473 }
18474 {
18475 PyThreadState* __tstate = wxPyBeginAllowThreads();
18476 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
18477
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 Py_INCREF(Py_None); resultobj = Py_None;
18482 return resultobj;
18483 fail:
18484 return NULL;
18485 }
18486
18487
18488 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18489 PyObject *resultobj;
18490 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18491 wxPoint *arg2 = 0 ;
18492 wxPoint temp2 ;
18493 PyObject * obj0 = 0 ;
18494 PyObject * obj1 = 0 ;
18495 char *kwnames[] = {
18496 (char *) "self",(char *) "pt", NULL
18497 };
18498
18499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18502 {
18503 arg2 = &temp2;
18504 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18505 }
18506 {
18507 PyThreadState* __tstate = wxPyBeginAllowThreads();
18508 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
18509
18510 wxPyEndAllowThreads(__tstate);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
18513 Py_INCREF(Py_None); resultobj = Py_None;
18514 return resultobj;
18515 fail:
18516 return NULL;
18517 }
18518
18519
18520 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18521 PyObject *resultobj;
18522 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18523 int arg2 ;
18524 PyObject * obj0 = 0 ;
18525 PyObject * obj1 = 0 ;
18526 char *kwnames[] = {
18527 (char *) "self",(char *) "id", NULL
18528 };
18529
18530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18533 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18534 if (PyErr_Occurred()) SWIG_fail;
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 (arg1)->SetPaperId((wxPaperSize )arg2);
18538
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 Py_INCREF(Py_None); resultobj = Py_None;
18543 return resultobj;
18544 fail:
18545 return NULL;
18546 }
18547
18548
18549 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18550 PyObject *resultobj;
18551 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18552 wxSize *arg2 = 0 ;
18553 wxSize temp2 ;
18554 PyObject * obj0 = 0 ;
18555 PyObject * obj1 = 0 ;
18556 char *kwnames[] = {
18557 (char *) "self",(char *) "size", NULL
18558 };
18559
18560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18563 {
18564 arg2 = &temp2;
18565 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18566 }
18567 {
18568 PyThreadState* __tstate = wxPyBeginAllowThreads();
18569 (arg1)->SetPaperSize((wxSize const &)*arg2);
18570
18571 wxPyEndAllowThreads(__tstate);
18572 if (PyErr_Occurred()) SWIG_fail;
18573 }
18574 Py_INCREF(Py_None); resultobj = Py_None;
18575 return resultobj;
18576 fail:
18577 return NULL;
18578 }
18579
18580
18581 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18582 PyObject *resultobj;
18583 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18584 wxPrintData *arg2 = 0 ;
18585 PyObject * obj0 = 0 ;
18586 PyObject * obj1 = 0 ;
18587 char *kwnames[] = {
18588 (char *) "self",(char *) "printData", NULL
18589 };
18590
18591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
18595 SWIG_POINTER_EXCEPTION | 0)) == -1)
18596 SWIG_fail;
18597 if (arg2 == NULL) {
18598 PyErr_SetString(PyExc_TypeError,"null reference");
18599 SWIG_fail;
18600 }
18601 {
18602 PyThreadState* __tstate = wxPyBeginAllowThreads();
18603 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18604
18605 wxPyEndAllowThreads(__tstate);
18606 if (PyErr_Occurred()) SWIG_fail;
18607 }
18608 Py_INCREF(Py_None); resultobj = Py_None;
18609 return resultobj;
18610 fail:
18611 return NULL;
18612 }
18613
18614
18615 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
18616 PyObject *obj;
18617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18618 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
18619 Py_INCREF(obj);
18620 return Py_BuildValue((char *)"");
18621 }
18622 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18623 PyObject *resultobj;
18624 wxWindow *arg1 = (wxWindow *) 0 ;
18625 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
18626 wxPageSetupDialog *result;
18627 PyObject * obj0 = 0 ;
18628 PyObject * obj1 = 0 ;
18629 char *kwnames[] = {
18630 (char *) "parent",(char *) "data", NULL
18631 };
18632
18633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18636 if (obj1) {
18637 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
18638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18639 }
18640 {
18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
18642 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
18648 return resultobj;
18649 fail:
18650 return NULL;
18651 }
18652
18653
18654 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
18655 PyObject *resultobj;
18656 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18657 wxPageSetupDialogData *result;
18658 PyObject * obj0 = 0 ;
18659 char *kwnames[] = {
18660 (char *) "self", NULL
18661 };
18662
18663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
18664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
18665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18666 {
18667 PyThreadState* __tstate = wxPyBeginAllowThreads();
18668 {
18669 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
18670 result = (wxPageSetupDialogData *) &_result_ref;
18671 }
18672
18673 wxPyEndAllowThreads(__tstate);
18674 if (PyErr_Occurred()) SWIG_fail;
18675 }
18676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
18677 return resultobj;
18678 fail:
18679 return NULL;
18680 }
18681
18682
18683 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18684 PyObject *resultobj;
18685 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18686 int result;
18687 PyObject * obj0 = 0 ;
18688 char *kwnames[] = {
18689 (char *) "self", NULL
18690 };
18691
18692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
18693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
18694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18695 {
18696 PyThreadState* __tstate = wxPyBeginAllowThreads();
18697 result = (int)(arg1)->ShowModal();
18698
18699 wxPyEndAllowThreads(__tstate);
18700 if (PyErr_Occurred()) SWIG_fail;
18701 }
18702 resultobj = SWIG_FromInt((int)result);
18703 return resultobj;
18704 fail:
18705 return NULL;
18706 }
18707
18708
18709 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
18710 PyObject *obj;
18711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18712 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
18713 Py_INCREF(obj);
18714 return Py_BuildValue((char *)"");
18715 }
18716 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18717 PyObject *resultobj;
18718 wxPrintDialogData *result;
18719 char *kwnames[] = {
18720 NULL
18721 };
18722
18723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
18724 {
18725 PyThreadState* __tstate = wxPyBeginAllowThreads();
18726 result = (wxPrintDialogData *)new wxPrintDialogData();
18727
18728 wxPyEndAllowThreads(__tstate);
18729 if (PyErr_Occurred()) SWIG_fail;
18730 }
18731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
18732 return resultobj;
18733 fail:
18734 return NULL;
18735 }
18736
18737
18738 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18739 PyObject *resultobj;
18740 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18741 PyObject * obj0 = 0 ;
18742 char *kwnames[] = {
18743 (char *) "self", NULL
18744 };
18745
18746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
18747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18749 {
18750 PyThreadState* __tstate = wxPyBeginAllowThreads();
18751 delete arg1;
18752
18753 wxPyEndAllowThreads(__tstate);
18754 if (PyErr_Occurred()) SWIG_fail;
18755 }
18756 Py_INCREF(Py_None); resultobj = Py_None;
18757 return resultobj;
18758 fail:
18759 return NULL;
18760 }
18761
18762
18763 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18764 PyObject *resultobj;
18765 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18766 int result;
18767 PyObject * obj0 = 0 ;
18768 char *kwnames[] = {
18769 (char *) "self", NULL
18770 };
18771
18772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
18773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18775 {
18776 PyThreadState* __tstate = wxPyBeginAllowThreads();
18777 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
18778
18779 wxPyEndAllowThreads(__tstate);
18780 if (PyErr_Occurred()) SWIG_fail;
18781 }
18782 resultobj = SWIG_FromInt((int)result);
18783 return resultobj;
18784 fail:
18785 return NULL;
18786 }
18787
18788
18789 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18790 PyObject *resultobj;
18791 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18792 int result;
18793 PyObject * obj0 = 0 ;
18794 char *kwnames[] = {
18795 (char *) "self", NULL
18796 };
18797
18798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
18799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
18804
18805 wxPyEndAllowThreads(__tstate);
18806 if (PyErr_Occurred()) SWIG_fail;
18807 }
18808 resultobj = SWIG_FromInt((int)result);
18809 return resultobj;
18810 fail:
18811 return NULL;
18812 }
18813
18814
18815 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18816 PyObject *resultobj;
18817 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18818 int result;
18819 PyObject * obj0 = 0 ;
18820 char *kwnames[] = {
18821 (char *) "self", NULL
18822 };
18823
18824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
18825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18827 {
18828 PyThreadState* __tstate = wxPyBeginAllowThreads();
18829 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
18830
18831 wxPyEndAllowThreads(__tstate);
18832 if (PyErr_Occurred()) SWIG_fail;
18833 }
18834 resultobj = SWIG_FromInt((int)result);
18835 return resultobj;
18836 fail:
18837 return NULL;
18838 }
18839
18840
18841 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18842 PyObject *resultobj;
18843 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18844 int result;
18845 PyObject * obj0 = 0 ;
18846 char *kwnames[] = {
18847 (char *) "self", NULL
18848 };
18849
18850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
18851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18853 {
18854 PyThreadState* __tstate = wxPyBeginAllowThreads();
18855 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
18856
18857 wxPyEndAllowThreads(__tstate);
18858 if (PyErr_Occurred()) SWIG_fail;
18859 }
18860 resultobj = SWIG_FromInt((int)result);
18861 return resultobj;
18862 fail:
18863 return NULL;
18864 }
18865
18866
18867 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18868 PyObject *resultobj;
18869 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18870 int result;
18871 PyObject * obj0 = 0 ;
18872 char *kwnames[] = {
18873 (char *) "self", NULL
18874 };
18875
18876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
18877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 resultobj = SWIG_FromInt((int)result);
18887 return resultobj;
18888 fail:
18889 return NULL;
18890 }
18891
18892
18893 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
18894 PyObject *resultobj;
18895 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18896 bool result;
18897 PyObject * obj0 = 0 ;
18898 char *kwnames[] = {
18899 (char *) "self", NULL
18900 };
18901
18902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
18903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18905 {
18906 PyThreadState* __tstate = wxPyBeginAllowThreads();
18907 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
18908
18909 wxPyEndAllowThreads(__tstate);
18910 if (PyErr_Occurred()) SWIG_fail;
18911 }
18912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18913 return resultobj;
18914 fail:
18915 return NULL;
18916 }
18917
18918
18919 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18920 PyObject *resultobj;
18921 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18922 bool result;
18923 PyObject * obj0 = 0 ;
18924 char *kwnames[] = {
18925 (char *) "self", NULL
18926 };
18927
18928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
18929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18931 {
18932 PyThreadState* __tstate = wxPyBeginAllowThreads();
18933 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
18934
18935 wxPyEndAllowThreads(__tstate);
18936 if (PyErr_Occurred()) SWIG_fail;
18937 }
18938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18939 return resultobj;
18940 fail:
18941 return NULL;
18942 }
18943
18944
18945 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18946 PyObject *resultobj;
18947 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18948 bool result;
18949 PyObject * obj0 = 0 ;
18950 char *kwnames[] = {
18951 (char *) "self", NULL
18952 };
18953
18954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
18955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18957 {
18958 PyThreadState* __tstate = wxPyBeginAllowThreads();
18959 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
18960
18961 wxPyEndAllowThreads(__tstate);
18962 if (PyErr_Occurred()) SWIG_fail;
18963 }
18964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18965 return resultobj;
18966 fail:
18967 return NULL;
18968 }
18969
18970
18971 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj;
18973 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18974 bool result;
18975 PyObject * obj0 = 0 ;
18976 char *kwnames[] = {
18977 (char *) "self", NULL
18978 };
18979
18980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
18981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18983 {
18984 PyThreadState* __tstate = wxPyBeginAllowThreads();
18985 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
18986
18987 wxPyEndAllowThreads(__tstate);
18988 if (PyErr_Occurred()) SWIG_fail;
18989 }
18990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18991 return resultobj;
18992 fail:
18993 return NULL;
18994 }
18995
18996
18997 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18998 PyObject *resultobj;
18999 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19000 bool result;
19001 PyObject * obj0 = 0 ;
19002 char *kwnames[] = {
19003 (char *) "self", NULL
19004 };
19005
19006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
19007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19009 {
19010 PyThreadState* __tstate = wxPyBeginAllowThreads();
19011 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
19012
19013 wxPyEndAllowThreads(__tstate);
19014 if (PyErr_Occurred()) SWIG_fail;
19015 }
19016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19017 return resultobj;
19018 fail:
19019 return NULL;
19020 }
19021
19022
19023 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19024 PyObject *resultobj;
19025 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19026 int arg2 ;
19027 PyObject * obj0 = 0 ;
19028 PyObject * obj1 = 0 ;
19029 char *kwnames[] = {
19030 (char *) "self",(char *) "v", NULL
19031 };
19032
19033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
19034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19036 arg2 = (int) SWIG_AsInt(obj1);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 {
19039 PyThreadState* __tstate = wxPyBeginAllowThreads();
19040 (arg1)->SetFromPage(arg2);
19041
19042 wxPyEndAllowThreads(__tstate);
19043 if (PyErr_Occurred()) SWIG_fail;
19044 }
19045 Py_INCREF(Py_None); resultobj = Py_None;
19046 return resultobj;
19047 fail:
19048 return NULL;
19049 }
19050
19051
19052 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19053 PyObject *resultobj;
19054 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19055 int arg2 ;
19056 PyObject * obj0 = 0 ;
19057 PyObject * obj1 = 0 ;
19058 char *kwnames[] = {
19059 (char *) "self",(char *) "v", NULL
19060 };
19061
19062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
19063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19065 arg2 = (int) SWIG_AsInt(obj1);
19066 if (PyErr_Occurred()) SWIG_fail;
19067 {
19068 PyThreadState* __tstate = wxPyBeginAllowThreads();
19069 (arg1)->SetToPage(arg2);
19070
19071 wxPyEndAllowThreads(__tstate);
19072 if (PyErr_Occurred()) SWIG_fail;
19073 }
19074 Py_INCREF(Py_None); resultobj = Py_None;
19075 return resultobj;
19076 fail:
19077 return NULL;
19078 }
19079
19080
19081 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19082 PyObject *resultobj;
19083 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19084 int arg2 ;
19085 PyObject * obj0 = 0 ;
19086 PyObject * obj1 = 0 ;
19087 char *kwnames[] = {
19088 (char *) "self",(char *) "v", NULL
19089 };
19090
19091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
19092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19094 arg2 = (int) SWIG_AsInt(obj1);
19095 if (PyErr_Occurred()) SWIG_fail;
19096 {
19097 PyThreadState* __tstate = wxPyBeginAllowThreads();
19098 (arg1)->SetMinPage(arg2);
19099
19100 wxPyEndAllowThreads(__tstate);
19101 if (PyErr_Occurred()) SWIG_fail;
19102 }
19103 Py_INCREF(Py_None); resultobj = Py_None;
19104 return resultobj;
19105 fail:
19106 return NULL;
19107 }
19108
19109
19110 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19111 PyObject *resultobj;
19112 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19113 int arg2 ;
19114 PyObject * obj0 = 0 ;
19115 PyObject * obj1 = 0 ;
19116 char *kwnames[] = {
19117 (char *) "self",(char *) "v", NULL
19118 };
19119
19120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
19121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19123 arg2 = (int) SWIG_AsInt(obj1);
19124 if (PyErr_Occurred()) SWIG_fail;
19125 {
19126 PyThreadState* __tstate = wxPyBeginAllowThreads();
19127 (arg1)->SetMaxPage(arg2);
19128
19129 wxPyEndAllowThreads(__tstate);
19130 if (PyErr_Occurred()) SWIG_fail;
19131 }
19132 Py_INCREF(Py_None); resultobj = Py_None;
19133 return resultobj;
19134 fail:
19135 return NULL;
19136 }
19137
19138
19139 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
19140 PyObject *resultobj;
19141 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19142 int arg2 ;
19143 PyObject * obj0 = 0 ;
19144 PyObject * obj1 = 0 ;
19145 char *kwnames[] = {
19146 (char *) "self",(char *) "v", NULL
19147 };
19148
19149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
19150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19152 arg2 = (int) SWIG_AsInt(obj1);
19153 if (PyErr_Occurred()) SWIG_fail;
19154 {
19155 PyThreadState* __tstate = wxPyBeginAllowThreads();
19156 (arg1)->SetNoCopies(arg2);
19157
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 Py_INCREF(Py_None); resultobj = Py_None;
19162 return resultobj;
19163 fail:
19164 return NULL;
19165 }
19166
19167
19168 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
19169 PyObject *resultobj;
19170 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19171 bool arg2 ;
19172 PyObject * obj0 = 0 ;
19173 PyObject * obj1 = 0 ;
19174 char *kwnames[] = {
19175 (char *) "self",(char *) "flag", NULL
19176 };
19177
19178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
19179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19181 arg2 = (bool) SWIG_AsBool(obj1);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 {
19184 PyThreadState* __tstate = wxPyBeginAllowThreads();
19185 (arg1)->SetAllPages(arg2);
19186
19187 wxPyEndAllowThreads(__tstate);
19188 if (PyErr_Occurred()) SWIG_fail;
19189 }
19190 Py_INCREF(Py_None); resultobj = Py_None;
19191 return resultobj;
19192 fail:
19193 return NULL;
19194 }
19195
19196
19197 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19198 PyObject *resultobj;
19199 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19200 bool arg2 ;
19201 PyObject * obj0 = 0 ;
19202 PyObject * obj1 = 0 ;
19203 char *kwnames[] = {
19204 (char *) "self",(char *) "flag", NULL
19205 };
19206
19207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
19208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19210 arg2 = (bool) SWIG_AsBool(obj1);
19211 if (PyErr_Occurred()) SWIG_fail;
19212 {
19213 PyThreadState* __tstate = wxPyBeginAllowThreads();
19214 (arg1)->SetSelection(arg2);
19215
19216 wxPyEndAllowThreads(__tstate);
19217 if (PyErr_Occurred()) SWIG_fail;
19218 }
19219 Py_INCREF(Py_None); resultobj = Py_None;
19220 return resultobj;
19221 fail:
19222 return NULL;
19223 }
19224
19225
19226 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
19227 PyObject *resultobj;
19228 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19229 bool arg2 ;
19230 PyObject * obj0 = 0 ;
19231 PyObject * obj1 = 0 ;
19232 char *kwnames[] = {
19233 (char *) "self",(char *) "flag", NULL
19234 };
19235
19236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
19237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19239 arg2 = (bool) SWIG_AsBool(obj1);
19240 if (PyErr_Occurred()) SWIG_fail;
19241 {
19242 PyThreadState* __tstate = wxPyBeginAllowThreads();
19243 (arg1)->SetCollate(arg2);
19244
19245 wxPyEndAllowThreads(__tstate);
19246 if (PyErr_Occurred()) SWIG_fail;
19247 }
19248 Py_INCREF(Py_None); resultobj = Py_None;
19249 return resultobj;
19250 fail:
19251 return NULL;
19252 }
19253
19254
19255 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19256 PyObject *resultobj;
19257 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19258 bool arg2 ;
19259 PyObject * obj0 = 0 ;
19260 PyObject * obj1 = 0 ;
19261 char *kwnames[] = {
19262 (char *) "self",(char *) "flag", NULL
19263 };
19264
19265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
19266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19268 arg2 = (bool) SWIG_AsBool(obj1);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 {
19271 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272 (arg1)->SetPrintToFile(arg2);
19273
19274 wxPyEndAllowThreads(__tstate);
19275 if (PyErr_Occurred()) SWIG_fail;
19276 }
19277 Py_INCREF(Py_None); resultobj = Py_None;
19278 return resultobj;
19279 fail:
19280 return NULL;
19281 }
19282
19283
19284 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19285 PyObject *resultobj;
19286 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19287 bool arg2 ;
19288 PyObject * obj0 = 0 ;
19289 PyObject * obj1 = 0 ;
19290 char *kwnames[] = {
19291 (char *) "self",(char *) "flag", NULL
19292 };
19293
19294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19297 arg2 = (bool) SWIG_AsBool(obj1);
19298 if (PyErr_Occurred()) SWIG_fail;
19299 {
19300 PyThreadState* __tstate = wxPyBeginAllowThreads();
19301 (arg1)->SetSetupDialog(arg2);
19302
19303 wxPyEndAllowThreads(__tstate);
19304 if (PyErr_Occurred()) SWIG_fail;
19305 }
19306 Py_INCREF(Py_None); resultobj = Py_None;
19307 return resultobj;
19308 fail:
19309 return NULL;
19310 }
19311
19312
19313 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19314 PyObject *resultobj;
19315 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19316 bool arg2 ;
19317 PyObject * obj0 = 0 ;
19318 PyObject * obj1 = 0 ;
19319 char *kwnames[] = {
19320 (char *) "self",(char *) "flag", NULL
19321 };
19322
19323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
19324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19326 arg2 = (bool) SWIG_AsBool(obj1);
19327 if (PyErr_Occurred()) SWIG_fail;
19328 {
19329 PyThreadState* __tstate = wxPyBeginAllowThreads();
19330 (arg1)->EnablePrintToFile(arg2);
19331
19332 wxPyEndAllowThreads(__tstate);
19333 if (PyErr_Occurred()) SWIG_fail;
19334 }
19335 Py_INCREF(Py_None); resultobj = Py_None;
19336 return resultobj;
19337 fail:
19338 return NULL;
19339 }
19340
19341
19342 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19343 PyObject *resultobj;
19344 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19345 bool arg2 ;
19346 PyObject * obj0 = 0 ;
19347 PyObject * obj1 = 0 ;
19348 char *kwnames[] = {
19349 (char *) "self",(char *) "flag", NULL
19350 };
19351
19352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
19353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19355 arg2 = (bool) SWIG_AsBool(obj1);
19356 if (PyErr_Occurred()) SWIG_fail;
19357 {
19358 PyThreadState* __tstate = wxPyBeginAllowThreads();
19359 (arg1)->EnableSelection(arg2);
19360
19361 wxPyEndAllowThreads(__tstate);
19362 if (PyErr_Occurred()) SWIG_fail;
19363 }
19364 Py_INCREF(Py_None); resultobj = Py_None;
19365 return resultobj;
19366 fail:
19367 return NULL;
19368 }
19369
19370
19371 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19372 PyObject *resultobj;
19373 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19374 bool arg2 ;
19375 PyObject * obj0 = 0 ;
19376 PyObject * obj1 = 0 ;
19377 char *kwnames[] = {
19378 (char *) "self",(char *) "flag", NULL
19379 };
19380
19381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
19382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19384 arg2 = (bool) SWIG_AsBool(obj1);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 {
19387 PyThreadState* __tstate = wxPyBeginAllowThreads();
19388 (arg1)->EnablePageNumbers(arg2);
19389
19390 wxPyEndAllowThreads(__tstate);
19391 if (PyErr_Occurred()) SWIG_fail;
19392 }
19393 Py_INCREF(Py_None); resultobj = Py_None;
19394 return resultobj;
19395 fail:
19396 return NULL;
19397 }
19398
19399
19400 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19401 PyObject *resultobj;
19402 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19403 bool arg2 ;
19404 PyObject * obj0 = 0 ;
19405 PyObject * obj1 = 0 ;
19406 char *kwnames[] = {
19407 (char *) "self",(char *) "flag", NULL
19408 };
19409
19410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19413 arg2 = (bool) SWIG_AsBool(obj1);
19414 if (PyErr_Occurred()) SWIG_fail;
19415 {
19416 PyThreadState* __tstate = wxPyBeginAllowThreads();
19417 (arg1)->EnableHelp(arg2);
19418
19419 wxPyEndAllowThreads(__tstate);
19420 if (PyErr_Occurred()) SWIG_fail;
19421 }
19422 Py_INCREF(Py_None); resultobj = Py_None;
19423 return resultobj;
19424 fail:
19425 return NULL;
19426 }
19427
19428
19429 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19430 PyObject *resultobj;
19431 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19432 bool result;
19433 PyObject * obj0 = 0 ;
19434 char *kwnames[] = {
19435 (char *) "self", NULL
19436 };
19437
19438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
19439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19441 {
19442 PyThreadState* __tstate = wxPyBeginAllowThreads();
19443 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
19444
19445 wxPyEndAllowThreads(__tstate);
19446 if (PyErr_Occurred()) SWIG_fail;
19447 }
19448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19449 return resultobj;
19450 fail:
19451 return NULL;
19452 }
19453
19454
19455 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19456 PyObject *resultobj;
19457 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19458 bool result;
19459 PyObject * obj0 = 0 ;
19460 char *kwnames[] = {
19461 (char *) "self", NULL
19462 };
19463
19464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
19465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19467 {
19468 PyThreadState* __tstate = wxPyBeginAllowThreads();
19469 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
19470
19471 wxPyEndAllowThreads(__tstate);
19472 if (PyErr_Occurred()) SWIG_fail;
19473 }
19474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19475 return resultobj;
19476 fail:
19477 return NULL;
19478 }
19479
19480
19481 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19482 PyObject *resultobj;
19483 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19484 bool result;
19485 PyObject * obj0 = 0 ;
19486 char *kwnames[] = {
19487 (char *) "self", NULL
19488 };
19489
19490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
19491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
19495 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
19496
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19501 return resultobj;
19502 fail:
19503 return NULL;
19504 }
19505
19506
19507 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19508 PyObject *resultobj;
19509 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19510 bool result;
19511 PyObject * obj0 = 0 ;
19512 char *kwnames[] = {
19513 (char *) "self", NULL
19514 };
19515
19516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19519 {
19520 PyThreadState* __tstate = wxPyBeginAllowThreads();
19521 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
19522
19523 wxPyEndAllowThreads(__tstate);
19524 if (PyErr_Occurred()) SWIG_fail;
19525 }
19526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19527 return resultobj;
19528 fail:
19529 return NULL;
19530 }
19531
19532
19533 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19534 PyObject *resultobj;
19535 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19536 bool result;
19537 PyObject * obj0 = 0 ;
19538 char *kwnames[] = {
19539 (char *) "self", NULL
19540 };
19541
19542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
19543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19545 {
19546 PyThreadState* __tstate = wxPyBeginAllowThreads();
19547 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
19548
19549 wxPyEndAllowThreads(__tstate);
19550 if (PyErr_Occurred()) SWIG_fail;
19551 }
19552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19553 return resultobj;
19554 fail:
19555 return NULL;
19556 }
19557
19558
19559 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19560 PyObject *resultobj;
19561 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19562 wxPrintData *result;
19563 PyObject * obj0 = 0 ;
19564 char *kwnames[] = {
19565 (char *) "self", NULL
19566 };
19567
19568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19571 {
19572 PyThreadState* __tstate = wxPyBeginAllowThreads();
19573 {
19574 wxPrintData &_result_ref = (arg1)->GetPrintData();
19575 result = (wxPrintData *) &_result_ref;
19576 }
19577
19578 wxPyEndAllowThreads(__tstate);
19579 if (PyErr_Occurred()) SWIG_fail;
19580 }
19581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19582 return resultobj;
19583 fail:
19584 return NULL;
19585 }
19586
19587
19588 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj;
19590 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19591 wxPrintData *arg2 = 0 ;
19592 PyObject * obj0 = 0 ;
19593 PyObject * obj1 = 0 ;
19594 char *kwnames[] = {
19595 (char *) "self",(char *) "printData", NULL
19596 };
19597
19598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19601 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19602 SWIG_POINTER_EXCEPTION | 0)) == -1)
19603 SWIG_fail;
19604 if (arg2 == NULL) {
19605 PyErr_SetString(PyExc_TypeError,"null reference");
19606 SWIG_fail;
19607 }
19608 {
19609 PyThreadState* __tstate = wxPyBeginAllowThreads();
19610 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19611
19612 wxPyEndAllowThreads(__tstate);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 }
19615 Py_INCREF(Py_None); resultobj = Py_None;
19616 return resultobj;
19617 fail:
19618 return NULL;
19619 }
19620
19621
19622 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
19623 PyObject *obj;
19624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19625 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
19626 Py_INCREF(obj);
19627 return Py_BuildValue((char *)"");
19628 }
19629 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19630 PyObject *resultobj;
19631 wxWindow *arg1 = (wxWindow *) 0 ;
19632 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
19633 wxPrintDialog *result;
19634 PyObject * obj0 = 0 ;
19635 PyObject * obj1 = 0 ;
19636 char *kwnames[] = {
19637 (char *) "parent",(char *) "data", NULL
19638 };
19639
19640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19643 if (obj1) {
19644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
19645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19646 }
19647 {
19648 PyThreadState* __tstate = wxPyBeginAllowThreads();
19649 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
19650
19651 wxPyEndAllowThreads(__tstate);
19652 if (PyErr_Occurred()) SWIG_fail;
19653 }
19654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
19655 return resultobj;
19656 fail:
19657 return NULL;
19658 }
19659
19660
19661 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19662 PyObject *resultobj;
19663 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19664 wxPrintDialogData *result;
19665 PyObject * obj0 = 0 ;
19666 char *kwnames[] = {
19667 (char *) "self", NULL
19668 };
19669
19670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
19671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19673 {
19674 PyThreadState* __tstate = wxPyBeginAllowThreads();
19675 {
19676 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19677 result = (wxPrintDialogData *) &_result_ref;
19678 }
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
19684 return resultobj;
19685 fail:
19686 return NULL;
19687 }
19688
19689
19690 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19691 PyObject *resultobj;
19692 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19693 wxDC *result;
19694 PyObject * obj0 = 0 ;
19695 char *kwnames[] = {
19696 (char *) "self", NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
19700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19702 {
19703 PyThreadState* __tstate = wxPyBeginAllowThreads();
19704 result = (wxDC *)(arg1)->GetPrintDC();
19705
19706 wxPyEndAllowThreads(__tstate);
19707 if (PyErr_Occurred()) SWIG_fail;
19708 }
19709 {
19710 resultobj = wxPyMake_wxObject(result);
19711 }
19712 return resultobj;
19713 fail:
19714 return NULL;
19715 }
19716
19717
19718 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19719 PyObject *resultobj;
19720 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19721 int result;
19722 PyObject * obj0 = 0 ;
19723 char *kwnames[] = {
19724 (char *) "self", NULL
19725 };
19726
19727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
19728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 result = (int)(arg1)->ShowModal();
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 resultobj = SWIG_FromInt((int)result);
19738 return resultobj;
19739 fail:
19740 return NULL;
19741 }
19742
19743
19744 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
19745 PyObject *obj;
19746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19747 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
19748 Py_INCREF(obj);
19749 return Py_BuildValue((char *)"");
19750 }
19751 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19752 PyObject *resultobj;
19753 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
19754 wxPrinter *result;
19755 PyObject * obj0 = 0 ;
19756 char *kwnames[] = {
19757 (char *) "data", NULL
19758 };
19759
19760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
19761 if (obj0) {
19762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19764 }
19765 {
19766 PyThreadState* __tstate = wxPyBeginAllowThreads();
19767 result = (wxPrinter *)new wxPrinter(arg1);
19768
19769 wxPyEndAllowThreads(__tstate);
19770 if (PyErr_Occurred()) SWIG_fail;
19771 }
19772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
19773 return resultobj;
19774 fail:
19775 return NULL;
19776 }
19777
19778
19779 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj;
19781 wxPrinter *arg1 = (wxPrinter *) 0 ;
19782 PyObject * obj0 = 0 ;
19783 char *kwnames[] = {
19784 (char *) "self", NULL
19785 };
19786
19787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
19788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19790 {
19791 PyThreadState* __tstate = wxPyBeginAllowThreads();
19792 delete arg1;
19793
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 Py_INCREF(Py_None); resultobj = Py_None;
19798 return resultobj;
19799 fail:
19800 return NULL;
19801 }
19802
19803
19804 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19805 PyObject *resultobj;
19806 wxPrinter *arg1 = (wxPrinter *) 0 ;
19807 wxWindow *arg2 = (wxWindow *) 0 ;
19808 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19809 PyObject * obj0 = 0 ;
19810 PyObject * obj1 = 0 ;
19811 PyObject * obj2 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self",(char *) "parent",(char *) "printout", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
19817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19821 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
19822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 (arg1)->CreateAbortWindow(arg2,arg3);
19826
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 Py_INCREF(Py_None); resultobj = Py_None;
19831 return resultobj;
19832 fail:
19833 return NULL;
19834 }
19835
19836
19837 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19838 PyObject *resultobj;
19839 wxPrinter *arg1 = (wxPrinter *) 0 ;
19840 wxPrintDialogData *result;
19841 PyObject * obj0 = 0 ;
19842 char *kwnames[] = {
19843 (char *) "self", NULL
19844 };
19845
19846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
19847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19849 {
19850 PyThreadState* __tstate = wxPyBeginAllowThreads();
19851 {
19852 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19853 result = (wxPrintDialogData *) &_result_ref;
19854 }
19855
19856 wxPyEndAllowThreads(__tstate);
19857 if (PyErr_Occurred()) SWIG_fail;
19858 }
19859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
19860 return resultobj;
19861 fail:
19862 return NULL;
19863 }
19864
19865
19866 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19867 PyObject *resultobj;
19868 wxPrinter *arg1 = (wxPrinter *) 0 ;
19869 wxWindow *arg2 = (wxWindow *) 0 ;
19870 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19871 int arg4 = (int) True ;
19872 bool result;
19873 PyObject * obj0 = 0 ;
19874 PyObject * obj1 = 0 ;
19875 PyObject * obj2 = 0 ;
19876 PyObject * obj3 = 0 ;
19877 char *kwnames[] = {
19878 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19879 };
19880
19881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19886 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
19887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19888 if (obj3) {
19889 arg4 = (int) SWIG_AsInt(obj3);
19890 if (PyErr_Occurred()) SWIG_fail;
19891 }
19892 {
19893 PyThreadState* __tstate = wxPyBeginAllowThreads();
19894 result = (bool)(arg1)->Print(arg2,arg3,arg4);
19895
19896 wxPyEndAllowThreads(__tstate);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19900 return resultobj;
19901 fail:
19902 return NULL;
19903 }
19904
19905
19906 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19907 PyObject *resultobj;
19908 wxPrinter *arg1 = (wxPrinter *) 0 ;
19909 wxWindow *arg2 = (wxWindow *) 0 ;
19910 wxDC *result;
19911 PyObject * obj0 = 0 ;
19912 PyObject * obj1 = 0 ;
19913 char *kwnames[] = {
19914 (char *) "self",(char *) "parent", NULL
19915 };
19916
19917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 result = (wxDC *)(arg1)->PrintDialog(arg2);
19925
19926 wxPyEndAllowThreads(__tstate);
19927 if (PyErr_Occurred()) SWIG_fail;
19928 }
19929 {
19930 resultobj = wxPyMake_wxObject(result);
19931 }
19932 return resultobj;
19933 fail:
19934 return NULL;
19935 }
19936
19937
19938 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
19939 PyObject *resultobj;
19940 wxPrinter *arg1 = (wxPrinter *) 0 ;
19941 wxWindow *arg2 = (wxWindow *) 0 ;
19942 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19943 wxString *arg4 = 0 ;
19944 bool temp4 = False ;
19945 PyObject * obj0 = 0 ;
19946 PyObject * obj1 = 0 ;
19947 PyObject * obj2 = 0 ;
19948 PyObject * obj3 = 0 ;
19949 char *kwnames[] = {
19950 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19951 };
19952
19953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19958 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
19959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19960 {
19961 arg4 = wxString_in_helper(obj3);
19962 if (arg4 == NULL) SWIG_fail;
19963 temp4 = True;
19964 }
19965 {
19966 PyThreadState* __tstate = wxPyBeginAllowThreads();
19967 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
19968
19969 wxPyEndAllowThreads(__tstate);
19970 if (PyErr_Occurred()) SWIG_fail;
19971 }
19972 Py_INCREF(Py_None); resultobj = Py_None;
19973 {
19974 if (temp4)
19975 delete arg4;
19976 }
19977 return resultobj;
19978 fail:
19979 {
19980 if (temp4)
19981 delete arg4;
19982 }
19983 return NULL;
19984 }
19985
19986
19987 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
19988 PyObject *resultobj;
19989 wxPrinter *arg1 = (wxPrinter *) 0 ;
19990 wxWindow *arg2 = (wxWindow *) 0 ;
19991 bool result;
19992 PyObject * obj0 = 0 ;
19993 PyObject * obj1 = 0 ;
19994 char *kwnames[] = {
19995 (char *) "self",(char *) "parent", NULL
19996 };
19997
19998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
19999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20003 {
20004 PyThreadState* __tstate = wxPyBeginAllowThreads();
20005 result = (bool)(arg1)->Setup(arg2);
20006
20007 wxPyEndAllowThreads(__tstate);
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
20010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20011 return resultobj;
20012 fail:
20013 return NULL;
20014 }
20015
20016
20017 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
20018 PyObject *resultobj;
20019 wxPrinter *arg1 = (wxPrinter *) 0 ;
20020 bool result;
20021 PyObject * obj0 = 0 ;
20022 char *kwnames[] = {
20023 (char *) "self", NULL
20024 };
20025
20026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
20027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20029 {
20030 PyThreadState* __tstate = wxPyBeginAllowThreads();
20031 result = (bool)(arg1)->GetAbort();
20032
20033 wxPyEndAllowThreads(__tstate);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 }
20036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20037 return resultobj;
20038 fail:
20039 return NULL;
20040 }
20041
20042
20043 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
20044 PyObject *resultobj;
20045 int result;
20046 char *kwnames[] = {
20047 NULL
20048 };
20049
20050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
20051 {
20052 PyThreadState* __tstate = wxPyBeginAllowThreads();
20053 result = (int)wxPrinter::GetLastError();
20054
20055 wxPyEndAllowThreads(__tstate);
20056 if (PyErr_Occurred()) SWIG_fail;
20057 }
20058 resultobj = SWIG_FromInt((int)result);
20059 return resultobj;
20060 fail:
20061 return NULL;
20062 }
20063
20064
20065 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
20066 PyObject *obj;
20067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20068 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
20069 Py_INCREF(obj);
20070 return Py_BuildValue((char *)"");
20071 }
20072 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
20073 PyObject *resultobj;
20074 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
20075 wxString *arg1 = (wxString *) &arg1_defvalue ;
20076 wxPyPrintout *result;
20077 bool temp1 = False ;
20078 PyObject * obj0 = 0 ;
20079 char *kwnames[] = {
20080 (char *) "title", NULL
20081 };
20082
20083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
20084 if (obj0) {
20085 {
20086 arg1 = wxString_in_helper(obj0);
20087 if (arg1 == NULL) SWIG_fail;
20088 temp1 = True;
20089 }
20090 }
20091 {
20092 PyThreadState* __tstate = wxPyBeginAllowThreads();
20093 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
20094
20095 wxPyEndAllowThreads(__tstate);
20096 if (PyErr_Occurred()) SWIG_fail;
20097 }
20098 {
20099 resultobj = wxPyMake_wxObject(result);
20100 }
20101 {
20102 if (temp1)
20103 delete arg1;
20104 }
20105 return resultobj;
20106 fail:
20107 {
20108 if (temp1)
20109 delete arg1;
20110 }
20111 return NULL;
20112 }
20113
20114
20115 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj;
20117 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20118 PyObject *arg2 = (PyObject *) 0 ;
20119 PyObject *arg3 = (PyObject *) 0 ;
20120 PyObject * obj0 = 0 ;
20121 PyObject * obj1 = 0 ;
20122 PyObject * obj2 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self",(char *) "self",(char *) "_class", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20130 arg2 = obj1;
20131 arg3 = obj2;
20132 {
20133 PyThreadState* __tstate = wxPyBeginAllowThreads();
20134 (arg1)->_setCallbackInfo(arg2,arg3);
20135
20136 wxPyEndAllowThreads(__tstate);
20137 if (PyErr_Occurred()) SWIG_fail;
20138 }
20139 Py_INCREF(Py_None); resultobj = Py_None;
20140 return resultobj;
20141 fail:
20142 return NULL;
20143 }
20144
20145
20146 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
20147 PyObject *resultobj;
20148 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20149 wxString result;
20150 PyObject * obj0 = 0 ;
20151 char *kwnames[] = {
20152 (char *) "self", NULL
20153 };
20154
20155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
20156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 result = ((wxPyPrintout const *)arg1)->GetTitle();
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 {
20166 #if wxUSE_UNICODE
20167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20168 #else
20169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20170 #endif
20171 }
20172 return resultobj;
20173 fail:
20174 return NULL;
20175 }
20176
20177
20178 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20179 PyObject *resultobj;
20180 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20181 wxDC *result;
20182 PyObject * obj0 = 0 ;
20183 char *kwnames[] = {
20184 (char *) "self", NULL
20185 };
20186
20187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
20188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20190 {
20191 PyThreadState* __tstate = wxPyBeginAllowThreads();
20192 result = (wxDC *)(arg1)->GetDC();
20193
20194 wxPyEndAllowThreads(__tstate);
20195 if (PyErr_Occurred()) SWIG_fail;
20196 }
20197 {
20198 resultobj = wxPyMake_wxObject(result);
20199 }
20200 return resultobj;
20201 fail:
20202 return NULL;
20203 }
20204
20205
20206 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20207 PyObject *resultobj;
20208 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20209 wxDC *arg2 = (wxDC *) 0 ;
20210 PyObject * obj0 = 0 ;
20211 PyObject * obj1 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self",(char *) "dc", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
20217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20219 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
20220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20221 {
20222 PyThreadState* __tstate = wxPyBeginAllowThreads();
20223 (arg1)->SetDC(arg2);
20224
20225 wxPyEndAllowThreads(__tstate);
20226 if (PyErr_Occurred()) SWIG_fail;
20227 }
20228 Py_INCREF(Py_None); resultobj = Py_None;
20229 return resultobj;
20230 fail:
20231 return NULL;
20232 }
20233
20234
20235 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
20236 PyObject *resultobj;
20237 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20238 int arg2 ;
20239 int arg3 ;
20240 PyObject * obj0 = 0 ;
20241 PyObject * obj1 = 0 ;
20242 PyObject * obj2 = 0 ;
20243 char *kwnames[] = {
20244 (char *) "self",(char *) "w",(char *) "h", NULL
20245 };
20246
20247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
20248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20250 arg2 = (int) SWIG_AsInt(obj1);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 arg3 = (int) SWIG_AsInt(obj2);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 {
20255 PyThreadState* __tstate = wxPyBeginAllowThreads();
20256 (arg1)->SetPageSizePixels(arg2,arg3);
20257
20258 wxPyEndAllowThreads(__tstate);
20259 if (PyErr_Occurred()) SWIG_fail;
20260 }
20261 Py_INCREF(Py_None); resultobj = Py_None;
20262 return resultobj;
20263 fail:
20264 return NULL;
20265 }
20266
20267
20268 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
20269 PyObject *resultobj;
20270 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20271 int *arg2 = (int *) 0 ;
20272 int *arg3 = (int *) 0 ;
20273 int temp2 ;
20274 int temp3 ;
20275 PyObject * obj0 = 0 ;
20276 char *kwnames[] = {
20277 (char *) "self", NULL
20278 };
20279
20280 arg2 = &temp2;
20281 arg3 = &temp3;
20282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
20283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20285 {
20286 PyThreadState* __tstate = wxPyBeginAllowThreads();
20287 (arg1)->GetPageSizePixels(arg2,arg3);
20288
20289 wxPyEndAllowThreads(__tstate);
20290 if (PyErr_Occurred()) SWIG_fail;
20291 }
20292 Py_INCREF(Py_None); resultobj = Py_None;
20293 {
20294 PyObject *o = PyInt_FromLong((long) (*arg2));
20295 resultobj = t_output_helper(resultobj,o);
20296 }
20297 {
20298 PyObject *o = PyInt_FromLong((long) (*arg3));
20299 resultobj = t_output_helper(resultobj,o);
20300 }
20301 return resultobj;
20302 fail:
20303 return NULL;
20304 }
20305
20306
20307 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20308 PyObject *resultobj;
20309 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20310 int arg2 ;
20311 int arg3 ;
20312 PyObject * obj0 = 0 ;
20313 PyObject * obj1 = 0 ;
20314 PyObject * obj2 = 0 ;
20315 char *kwnames[] = {
20316 (char *) "self",(char *) "w",(char *) "h", NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
20320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20322 arg2 = (int) SWIG_AsInt(obj1);
20323 if (PyErr_Occurred()) SWIG_fail;
20324 arg3 = (int) SWIG_AsInt(obj2);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 {
20327 PyThreadState* __tstate = wxPyBeginAllowThreads();
20328 (arg1)->SetPageSizeMM(arg2,arg3);
20329
20330 wxPyEndAllowThreads(__tstate);
20331 if (PyErr_Occurred()) SWIG_fail;
20332 }
20333 Py_INCREF(Py_None); resultobj = Py_None;
20334 return resultobj;
20335 fail:
20336 return NULL;
20337 }
20338
20339
20340 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20341 PyObject *resultobj;
20342 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20343 int *arg2 = (int *) 0 ;
20344 int *arg3 = (int *) 0 ;
20345 int temp2 ;
20346 int temp3 ;
20347 PyObject * obj0 = 0 ;
20348 char *kwnames[] = {
20349 (char *) "self", NULL
20350 };
20351
20352 arg2 = &temp2;
20353 arg3 = &temp3;
20354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
20355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20357 {
20358 PyThreadState* __tstate = wxPyBeginAllowThreads();
20359 (arg1)->GetPageSizeMM(arg2,arg3);
20360
20361 wxPyEndAllowThreads(__tstate);
20362 if (PyErr_Occurred()) SWIG_fail;
20363 }
20364 Py_INCREF(Py_None); resultobj = Py_None;
20365 {
20366 PyObject *o = PyInt_FromLong((long) (*arg2));
20367 resultobj = t_output_helper(resultobj,o);
20368 }
20369 {
20370 PyObject *o = PyInt_FromLong((long) (*arg3));
20371 resultobj = t_output_helper(resultobj,o);
20372 }
20373 return resultobj;
20374 fail:
20375 return NULL;
20376 }
20377
20378
20379 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20380 PyObject *resultobj;
20381 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20382 int arg2 ;
20383 int arg3 ;
20384 PyObject * obj0 = 0 ;
20385 PyObject * obj1 = 0 ;
20386 PyObject * obj2 = 0 ;
20387 char *kwnames[] = {
20388 (char *) "self",(char *) "x",(char *) "y", NULL
20389 };
20390
20391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
20392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20394 arg2 = (int) SWIG_AsInt(obj1);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 arg3 = (int) SWIG_AsInt(obj2);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 {
20399 PyThreadState* __tstate = wxPyBeginAllowThreads();
20400 (arg1)->SetPPIScreen(arg2,arg3);
20401
20402 wxPyEndAllowThreads(__tstate);
20403 if (PyErr_Occurred()) SWIG_fail;
20404 }
20405 Py_INCREF(Py_None); resultobj = Py_None;
20406 return resultobj;
20407 fail:
20408 return NULL;
20409 }
20410
20411
20412 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20413 PyObject *resultobj;
20414 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20415 int *arg2 = (int *) 0 ;
20416 int *arg3 = (int *) 0 ;
20417 int temp2 ;
20418 int temp3 ;
20419 PyObject * obj0 = 0 ;
20420 char *kwnames[] = {
20421 (char *) "self", NULL
20422 };
20423
20424 arg2 = &temp2;
20425 arg3 = &temp3;
20426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
20427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20429 {
20430 PyThreadState* __tstate = wxPyBeginAllowThreads();
20431 (arg1)->GetPPIScreen(arg2,arg3);
20432
20433 wxPyEndAllowThreads(__tstate);
20434 if (PyErr_Occurred()) SWIG_fail;
20435 }
20436 Py_INCREF(Py_None); resultobj = Py_None;
20437 {
20438 PyObject *o = PyInt_FromLong((long) (*arg2));
20439 resultobj = t_output_helper(resultobj,o);
20440 }
20441 {
20442 PyObject *o = PyInt_FromLong((long) (*arg3));
20443 resultobj = t_output_helper(resultobj,o);
20444 }
20445 return resultobj;
20446 fail:
20447 return NULL;
20448 }
20449
20450
20451 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20452 PyObject *resultobj;
20453 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20454 int arg2 ;
20455 int arg3 ;
20456 PyObject * obj0 = 0 ;
20457 PyObject * obj1 = 0 ;
20458 PyObject * obj2 = 0 ;
20459 char *kwnames[] = {
20460 (char *) "self",(char *) "x",(char *) "y", NULL
20461 };
20462
20463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
20464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20466 arg2 = (int) SWIG_AsInt(obj1);
20467 if (PyErr_Occurred()) SWIG_fail;
20468 arg3 = (int) SWIG_AsInt(obj2);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 {
20471 PyThreadState* __tstate = wxPyBeginAllowThreads();
20472 (arg1)->SetPPIPrinter(arg2,arg3);
20473
20474 wxPyEndAllowThreads(__tstate);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
20477 Py_INCREF(Py_None); resultobj = Py_None;
20478 return resultobj;
20479 fail:
20480 return NULL;
20481 }
20482
20483
20484 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20485 PyObject *resultobj;
20486 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20487 int *arg2 = (int *) 0 ;
20488 int *arg3 = (int *) 0 ;
20489 int temp2 ;
20490 int temp3 ;
20491 PyObject * obj0 = 0 ;
20492 char *kwnames[] = {
20493 (char *) "self", NULL
20494 };
20495
20496 arg2 = &temp2;
20497 arg3 = &temp3;
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
20499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20501 {
20502 PyThreadState* __tstate = wxPyBeginAllowThreads();
20503 (arg1)->GetPPIPrinter(arg2,arg3);
20504
20505 wxPyEndAllowThreads(__tstate);
20506 if (PyErr_Occurred()) SWIG_fail;
20507 }
20508 Py_INCREF(Py_None); resultobj = Py_None;
20509 {
20510 PyObject *o = PyInt_FromLong((long) (*arg2));
20511 resultobj = t_output_helper(resultobj,o);
20512 }
20513 {
20514 PyObject *o = PyInt_FromLong((long) (*arg3));
20515 resultobj = t_output_helper(resultobj,o);
20516 }
20517 return resultobj;
20518 fail:
20519 return NULL;
20520 }
20521
20522
20523 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20524 PyObject *resultobj;
20525 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20526 bool result;
20527 PyObject * obj0 = 0 ;
20528 char *kwnames[] = {
20529 (char *) "self", NULL
20530 };
20531
20532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
20533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 result = (bool)(arg1)->IsPreview();
20538
20539 wxPyEndAllowThreads(__tstate);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 }
20542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20543 return resultobj;
20544 fail:
20545 return NULL;
20546 }
20547
20548
20549 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20550 PyObject *resultobj;
20551 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20552 bool arg2 ;
20553 PyObject * obj0 = 0 ;
20554 PyObject * obj1 = 0 ;
20555 char *kwnames[] = {
20556 (char *) "self",(char *) "p", NULL
20557 };
20558
20559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
20560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20562 arg2 = (bool) SWIG_AsBool(obj1);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 {
20565 PyThreadState* __tstate = wxPyBeginAllowThreads();
20566 (arg1)->SetIsPreview(arg2);
20567
20568 wxPyEndAllowThreads(__tstate);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 }
20571 Py_INCREF(Py_None); resultobj = Py_None;
20572 return resultobj;
20573 fail:
20574 return NULL;
20575 }
20576
20577
20578 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20579 PyObject *resultobj;
20580 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20581 int arg2 ;
20582 int arg3 ;
20583 bool result;
20584 PyObject * obj0 = 0 ;
20585 PyObject * obj1 = 0 ;
20586 PyObject * obj2 = 0 ;
20587 char *kwnames[] = {
20588 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20589 };
20590
20591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
20592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20594 arg2 = (int) SWIG_AsInt(obj1);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 arg3 = (int) SWIG_AsInt(obj2);
20597 if (PyErr_Occurred()) SWIG_fail;
20598 {
20599 PyThreadState* __tstate = wxPyBeginAllowThreads();
20600 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
20601
20602 wxPyEndAllowThreads(__tstate);
20603 if (PyErr_Occurred()) SWIG_fail;
20604 }
20605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20606 return resultobj;
20607 fail:
20608 return NULL;
20609 }
20610
20611
20612 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20613 PyObject *resultobj;
20614 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20615 PyObject * obj0 = 0 ;
20616 char *kwnames[] = {
20617 (char *) "self", NULL
20618 };
20619
20620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
20621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 (arg1)->base_OnEndDocument();
20626
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
20630 Py_INCREF(Py_None); resultobj = Py_None;
20631 return resultobj;
20632 fail:
20633 return NULL;
20634 }
20635
20636
20637 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20638 PyObject *resultobj;
20639 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20640 PyObject * obj0 = 0 ;
20641 char *kwnames[] = {
20642 (char *) "self", NULL
20643 };
20644
20645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
20646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20648 {
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 (arg1)->base_OnBeginPrinting();
20651
20652 wxPyEndAllowThreads(__tstate);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 }
20655 Py_INCREF(Py_None); resultobj = Py_None;
20656 return resultobj;
20657 fail:
20658 return NULL;
20659 }
20660
20661
20662 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20663 PyObject *resultobj;
20664 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20665 PyObject * obj0 = 0 ;
20666 char *kwnames[] = {
20667 (char *) "self", NULL
20668 };
20669
20670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
20671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 (arg1)->base_OnEndPrinting();
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 Py_INCREF(Py_None); resultobj = Py_None;
20681 return resultobj;
20682 fail:
20683 return NULL;
20684 }
20685
20686
20687 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20688 PyObject *resultobj;
20689 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20690 PyObject * obj0 = 0 ;
20691 char *kwnames[] = {
20692 (char *) "self", NULL
20693 };
20694
20695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
20696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20698 {
20699 PyThreadState* __tstate = wxPyBeginAllowThreads();
20700 (arg1)->base_OnPreparePrinting();
20701
20702 wxPyEndAllowThreads(__tstate);
20703 if (PyErr_Occurred()) SWIG_fail;
20704 }
20705 Py_INCREF(Py_None); resultobj = Py_None;
20706 return resultobj;
20707 fail:
20708 return NULL;
20709 }
20710
20711
20712 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20713 PyObject *resultobj;
20714 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20715 int arg2 ;
20716 bool result;
20717 PyObject * obj0 = 0 ;
20718 PyObject * obj1 = 0 ;
20719 char *kwnames[] = {
20720 (char *) "self",(char *) "page", NULL
20721 };
20722
20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
20724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20726 arg2 = (int) SWIG_AsInt(obj1);
20727 if (PyErr_Occurred()) SWIG_fail;
20728 {
20729 PyThreadState* __tstate = wxPyBeginAllowThreads();
20730 result = (bool)(arg1)->base_HasPage(arg2);
20731
20732 wxPyEndAllowThreads(__tstate);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 }
20735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20736 return resultobj;
20737 fail:
20738 return NULL;
20739 }
20740
20741
20742 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20743 PyObject *resultobj;
20744 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20745 int *arg2 = (int *) 0 ;
20746 int *arg3 = (int *) 0 ;
20747 int *arg4 = (int *) 0 ;
20748 int *arg5 = (int *) 0 ;
20749 int temp2 ;
20750 int temp3 ;
20751 int temp4 ;
20752 int temp5 ;
20753 PyObject * obj0 = 0 ;
20754 char *kwnames[] = {
20755 (char *) "self", NULL
20756 };
20757
20758 arg2 = &temp2;
20759 arg3 = &temp3;
20760 arg4 = &temp4;
20761 arg5 = &temp5;
20762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
20763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20765 {
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
20768
20769 wxPyEndAllowThreads(__tstate);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 Py_INCREF(Py_None); resultobj = Py_None;
20773 {
20774 PyObject *o = PyInt_FromLong((long) (*arg2));
20775 resultobj = t_output_helper(resultobj,o);
20776 }
20777 {
20778 PyObject *o = PyInt_FromLong((long) (*arg3));
20779 resultobj = t_output_helper(resultobj,o);
20780 }
20781 {
20782 PyObject *o = PyInt_FromLong((long) (*arg4));
20783 resultobj = t_output_helper(resultobj,o);
20784 }
20785 {
20786 PyObject *o = PyInt_FromLong((long) (*arg5));
20787 resultobj = t_output_helper(resultobj,o);
20788 }
20789 return resultobj;
20790 fail:
20791 return NULL;
20792 }
20793
20794
20795 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
20796 PyObject *obj;
20797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20798 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
20799 Py_INCREF(obj);
20800 return Py_BuildValue((char *)"");
20801 }
20802 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20803 PyObject *resultobj;
20804 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20805 wxWindow *arg2 = (wxWindow *) 0 ;
20806 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20807 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20808 wxSize const &arg4_defvalue = wxDefaultSize ;
20809 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20810 long arg5 = (long) 0 ;
20811 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
20812 wxString *arg6 = (wxString *) &arg6_defvalue ;
20813 wxPreviewCanvas *result;
20814 wxPoint temp3 ;
20815 wxSize temp4 ;
20816 bool temp6 = False ;
20817 PyObject * obj0 = 0 ;
20818 PyObject * obj1 = 0 ;
20819 PyObject * obj2 = 0 ;
20820 PyObject * obj3 = 0 ;
20821 PyObject * obj4 = 0 ;
20822 PyObject * obj5 = 0 ;
20823 char *kwnames[] = {
20824 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20825 };
20826
20827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
20829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20832 if (obj2) {
20833 {
20834 arg3 = &temp3;
20835 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20836 }
20837 }
20838 if (obj3) {
20839 {
20840 arg4 = &temp4;
20841 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20842 }
20843 }
20844 if (obj4) {
20845 arg5 = (long) SWIG_AsLong(obj4);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 if (obj5) {
20849 {
20850 arg6 = wxString_in_helper(obj5);
20851 if (arg6 == NULL) SWIG_fail;
20852 temp6 = True;
20853 }
20854 }
20855 {
20856 PyThreadState* __tstate = wxPyBeginAllowThreads();
20857 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20858
20859 wxPyEndAllowThreads(__tstate);
20860 if (PyErr_Occurred()) SWIG_fail;
20861 }
20862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
20863 {
20864 if (temp6)
20865 delete arg6;
20866 }
20867 return resultobj;
20868 fail:
20869 {
20870 if (temp6)
20871 delete arg6;
20872 }
20873 return NULL;
20874 }
20875
20876
20877 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
20878 PyObject *obj;
20879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20880 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
20881 Py_INCREF(obj);
20882 return Py_BuildValue((char *)"");
20883 }
20884 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20885 PyObject *resultobj;
20886 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20887 wxFrame *arg2 = (wxFrame *) 0 ;
20888 wxString *arg3 = 0 ;
20889 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20890 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20891 wxSize const &arg5_defvalue = wxDefaultSize ;
20892 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20893 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20894 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20895 wxString *arg7 = (wxString *) &arg7_defvalue ;
20896 wxPreviewFrame *result;
20897 bool temp3 = False ;
20898 wxPoint temp4 ;
20899 wxSize temp5 ;
20900 bool temp7 = False ;
20901 PyObject * obj0 = 0 ;
20902 PyObject * obj1 = 0 ;
20903 PyObject * obj2 = 0 ;
20904 PyObject * obj3 = 0 ;
20905 PyObject * obj4 = 0 ;
20906 PyObject * obj5 = 0 ;
20907 PyObject * obj6 = 0 ;
20908 char *kwnames[] = {
20909 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20910 };
20911
20912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
20914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
20916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20917 {
20918 arg3 = wxString_in_helper(obj2);
20919 if (arg3 == NULL) SWIG_fail;
20920 temp3 = True;
20921 }
20922 if (obj3) {
20923 {
20924 arg4 = &temp4;
20925 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20926 }
20927 }
20928 if (obj4) {
20929 {
20930 arg5 = &temp5;
20931 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20932 }
20933 }
20934 if (obj5) {
20935 arg6 = (long) SWIG_AsLong(obj5);
20936 if (PyErr_Occurred()) SWIG_fail;
20937 }
20938 if (obj6) {
20939 {
20940 arg7 = wxString_in_helper(obj6);
20941 if (arg7 == NULL) SWIG_fail;
20942 temp7 = True;
20943 }
20944 }
20945 {
20946 PyThreadState* __tstate = wxPyBeginAllowThreads();
20947 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20948
20949 wxPyEndAllowThreads(__tstate);
20950 if (PyErr_Occurred()) SWIG_fail;
20951 }
20952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
20953 {
20954 if (temp3)
20955 delete arg3;
20956 }
20957 {
20958 if (temp7)
20959 delete arg7;
20960 }
20961 return resultobj;
20962 fail:
20963 {
20964 if (temp3)
20965 delete arg3;
20966 }
20967 {
20968 if (temp7)
20969 delete arg7;
20970 }
20971 return NULL;
20972 }
20973
20974
20975 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20976 PyObject *resultobj;
20977 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20978 PyObject * obj0 = 0 ;
20979 char *kwnames[] = {
20980 (char *) "self", NULL
20981 };
20982
20983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
20984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
20985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20986 {
20987 PyThreadState* __tstate = wxPyBeginAllowThreads();
20988 (arg1)->Initialize();
20989
20990 wxPyEndAllowThreads(__tstate);
20991 if (PyErr_Occurred()) SWIG_fail;
20992 }
20993 Py_INCREF(Py_None); resultobj = Py_None;
20994 return resultobj;
20995 fail:
20996 return NULL;
20997 }
20998
20999
21000 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21001 PyObject *resultobj;
21002 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21003 PyObject * obj0 = 0 ;
21004 char *kwnames[] = {
21005 (char *) "self", NULL
21006 };
21007
21008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
21009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21011 {
21012 PyThreadState* __tstate = wxPyBeginAllowThreads();
21013 (arg1)->CreateControlBar();
21014
21015 wxPyEndAllowThreads(__tstate);
21016 if (PyErr_Occurred()) SWIG_fail;
21017 }
21018 Py_INCREF(Py_None); resultobj = Py_None;
21019 return resultobj;
21020 fail:
21021 return NULL;
21022 }
21023
21024
21025 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21026 PyObject *resultobj;
21027 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21028 PyObject * obj0 = 0 ;
21029 char *kwnames[] = {
21030 (char *) "self", NULL
21031 };
21032
21033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
21034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21036 {
21037 PyThreadState* __tstate = wxPyBeginAllowThreads();
21038 (arg1)->CreateCanvas();
21039
21040 wxPyEndAllowThreads(__tstate);
21041 if (PyErr_Occurred()) SWIG_fail;
21042 }
21043 Py_INCREF(Py_None); resultobj = Py_None;
21044 return resultobj;
21045 fail:
21046 return NULL;
21047 }
21048
21049
21050 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21051 PyObject *resultobj;
21052 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21053 wxPreviewControlBar *result;
21054 PyObject * obj0 = 0 ;
21055 char *kwnames[] = {
21056 (char *) "self", NULL
21057 };
21058
21059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
21060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21062 {
21063 PyThreadState* __tstate = wxPyBeginAllowThreads();
21064 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
21065
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
21070 return resultobj;
21071 fail:
21072 return NULL;
21073 }
21074
21075
21076 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
21077 PyObject *obj;
21078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21079 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
21080 Py_INCREF(obj);
21081 return Py_BuildValue((char *)"");
21082 }
21083 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21084 PyObject *resultobj;
21085 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21086 long arg2 ;
21087 wxWindow *arg3 = (wxWindow *) 0 ;
21088 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21089 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21090 wxSize const &arg5_defvalue = wxDefaultSize ;
21091 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21092 long arg6 = (long) wxTAB_TRAVERSAL ;
21093 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21094 wxString *arg7 = (wxString *) &arg7_defvalue ;
21095 wxPreviewControlBar *result;
21096 wxPoint temp4 ;
21097 wxSize temp5 ;
21098 bool temp7 = False ;
21099 PyObject * obj0 = 0 ;
21100 PyObject * obj1 = 0 ;
21101 PyObject * obj2 = 0 ;
21102 PyObject * obj3 = 0 ;
21103 PyObject * obj4 = 0 ;
21104 PyObject * obj5 = 0 ;
21105 PyObject * obj6 = 0 ;
21106 char *kwnames[] = {
21107 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21108 };
21109
21110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21113 arg2 = (long) SWIG_AsLong(obj1);
21114 if (PyErr_Occurred()) SWIG_fail;
21115 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
21116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21117 if (obj3) {
21118 {
21119 arg4 = &temp4;
21120 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21121 }
21122 }
21123 if (obj4) {
21124 {
21125 arg5 = &temp5;
21126 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21127 }
21128 }
21129 if (obj5) {
21130 arg6 = (long) SWIG_AsLong(obj5);
21131 if (PyErr_Occurred()) SWIG_fail;
21132 }
21133 if (obj6) {
21134 {
21135 arg7 = wxString_in_helper(obj6);
21136 if (arg7 == NULL) SWIG_fail;
21137 temp7 = True;
21138 }
21139 }
21140 {
21141 PyThreadState* __tstate = wxPyBeginAllowThreads();
21142 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21143
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
21148 {
21149 if (temp7)
21150 delete arg7;
21151 }
21152 return resultobj;
21153 fail:
21154 {
21155 if (temp7)
21156 delete arg7;
21157 }
21158 return NULL;
21159 }
21160
21161
21162 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21163 PyObject *resultobj;
21164 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21165 int result;
21166 PyObject * obj0 = 0 ;
21167 char *kwnames[] = {
21168 (char *) "self", NULL
21169 };
21170
21171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
21172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21174 {
21175 PyThreadState* __tstate = wxPyBeginAllowThreads();
21176 result = (int)(arg1)->GetZoomControl();
21177
21178 wxPyEndAllowThreads(__tstate);
21179 if (PyErr_Occurred()) SWIG_fail;
21180 }
21181 resultobj = SWIG_FromInt((int)result);
21182 return resultobj;
21183 fail:
21184 return NULL;
21185 }
21186
21187
21188 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21189 PyObject *resultobj;
21190 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21191 int arg2 ;
21192 PyObject * obj0 = 0 ;
21193 PyObject * obj1 = 0 ;
21194 char *kwnames[] = {
21195 (char *) "self",(char *) "zoom", NULL
21196 };
21197
21198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
21199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21201 arg2 = (int) SWIG_AsInt(obj1);
21202 if (PyErr_Occurred()) SWIG_fail;
21203 {
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 (arg1)->SetZoomControl(arg2);
21206
21207 wxPyEndAllowThreads(__tstate);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 }
21210 Py_INCREF(Py_None); resultobj = Py_None;
21211 return resultobj;
21212 fail:
21213 return NULL;
21214 }
21215
21216
21217 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21218 PyObject *resultobj;
21219 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21220 wxPrintPreview *result;
21221 PyObject * obj0 = 0 ;
21222 char *kwnames[] = {
21223 (char *) "self", NULL
21224 };
21225
21226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
21227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21229 {
21230 PyThreadState* __tstate = wxPyBeginAllowThreads();
21231 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
21232
21233 wxPyEndAllowThreads(__tstate);
21234 if (PyErr_Occurred()) SWIG_fail;
21235 }
21236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
21237 return resultobj;
21238 fail:
21239 return NULL;
21240 }
21241
21242
21243 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
21244 PyObject *resultobj;
21245 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21246 PyObject * obj0 = 0 ;
21247 char *kwnames[] = {
21248 (char *) "self", NULL
21249 };
21250
21251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
21252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21254 {
21255 PyThreadState* __tstate = wxPyBeginAllowThreads();
21256 (arg1)->OnNext();
21257
21258 wxPyEndAllowThreads(__tstate);
21259 if (PyErr_Occurred()) SWIG_fail;
21260 }
21261 Py_INCREF(Py_None); resultobj = Py_None;
21262 return resultobj;
21263 fail:
21264 return NULL;
21265 }
21266
21267
21268 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
21269 PyObject *resultobj;
21270 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21271 PyObject * obj0 = 0 ;
21272 char *kwnames[] = {
21273 (char *) "self", NULL
21274 };
21275
21276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
21277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21279 {
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 (arg1)->OnPrevious();
21282
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
21286 Py_INCREF(Py_None); resultobj = Py_None;
21287 return resultobj;
21288 fail:
21289 return NULL;
21290 }
21291
21292
21293 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj;
21295 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21296 PyObject * obj0 = 0 ;
21297 char *kwnames[] = {
21298 (char *) "self", NULL
21299 };
21300
21301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
21302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21304 {
21305 PyThreadState* __tstate = wxPyBeginAllowThreads();
21306 (arg1)->OnFirst();
21307
21308 wxPyEndAllowThreads(__tstate);
21309 if (PyErr_Occurred()) SWIG_fail;
21310 }
21311 Py_INCREF(Py_None); resultobj = Py_None;
21312 return resultobj;
21313 fail:
21314 return NULL;
21315 }
21316
21317
21318 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
21319 PyObject *resultobj;
21320 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21321 PyObject * obj0 = 0 ;
21322 char *kwnames[] = {
21323 (char *) "self", NULL
21324 };
21325
21326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
21327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21329 {
21330 PyThreadState* __tstate = wxPyBeginAllowThreads();
21331 (arg1)->OnLast();
21332
21333 wxPyEndAllowThreads(__tstate);
21334 if (PyErr_Occurred()) SWIG_fail;
21335 }
21336 Py_INCREF(Py_None); resultobj = Py_None;
21337 return resultobj;
21338 fail:
21339 return NULL;
21340 }
21341
21342
21343 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
21344 PyObject *resultobj;
21345 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21346 PyObject * obj0 = 0 ;
21347 char *kwnames[] = {
21348 (char *) "self", NULL
21349 };
21350
21351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
21352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 (arg1)->OnGoto();
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
21361 Py_INCREF(Py_None); resultobj = Py_None;
21362 return resultobj;
21363 fail:
21364 return NULL;
21365 }
21366
21367
21368 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21369 PyObject *obj;
21370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21371 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
21372 Py_INCREF(obj);
21373 return Py_BuildValue((char *)"");
21374 }
21375 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21376 PyObject *resultobj;
21377 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21378 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21379 wxPrintData *arg3 = (wxPrintData *) NULL ;
21380 wxPrintPreview *result;
21381 PyObject * obj0 = 0 ;
21382 PyObject * obj1 = 0 ;
21383 PyObject * obj2 = 0 ;
21384 char *kwnames[] = {
21385 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21386 };
21387
21388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
21389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21391 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21393 if (obj2) {
21394 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
21395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21396 }
21397 {
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
21400
21401 wxPyEndAllowThreads(__tstate);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 }
21404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
21405 return resultobj;
21406 fail:
21407 return NULL;
21408 }
21409
21410
21411 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21412 PyObject *resultobj;
21413 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21414 int arg2 ;
21415 bool result;
21416 PyObject * obj0 = 0 ;
21417 PyObject * obj1 = 0 ;
21418 char *kwnames[] = {
21419 (char *) "self",(char *) "pageNum", NULL
21420 };
21421
21422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21425 arg2 = (int) SWIG_AsInt(obj1);
21426 if (PyErr_Occurred()) SWIG_fail;
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 result = (bool)(arg1)->SetCurrentPage(arg2);
21430
21431 wxPyEndAllowThreads(__tstate);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 }
21434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21435 return resultobj;
21436 fail:
21437 return NULL;
21438 }
21439
21440
21441 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21442 PyObject *resultobj;
21443 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21444 int result;
21445 PyObject * obj0 = 0 ;
21446 char *kwnames[] = {
21447 (char *) "self", NULL
21448 };
21449
21450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
21451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21453 {
21454 PyThreadState* __tstate = wxPyBeginAllowThreads();
21455 result = (int)(arg1)->GetCurrentPage();
21456
21457 wxPyEndAllowThreads(__tstate);
21458 if (PyErr_Occurred()) SWIG_fail;
21459 }
21460 resultobj = SWIG_FromInt((int)result);
21461 return resultobj;
21462 fail:
21463 return NULL;
21464 }
21465
21466
21467 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21468 PyObject *resultobj;
21469 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21470 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21471 PyObject * obj0 = 0 ;
21472 PyObject * obj1 = 0 ;
21473 char *kwnames[] = {
21474 (char *) "self",(char *) "printout", NULL
21475 };
21476
21477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
21478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 (arg1)->SetPrintout(arg2);
21485
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 Py_INCREF(Py_None); resultobj = Py_None;
21490 return resultobj;
21491 fail:
21492 return NULL;
21493 }
21494
21495
21496 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21497 PyObject *resultobj;
21498 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21499 wxPyPrintout *result;
21500 PyObject * obj0 = 0 ;
21501 char *kwnames[] = {
21502 (char *) "self", NULL
21503 };
21504
21505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
21506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21508 {
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 result = (wxPyPrintout *)(arg1)->GetPrintout();
21511
21512 wxPyEndAllowThreads(__tstate);
21513 if (PyErr_Occurred()) SWIG_fail;
21514 }
21515 {
21516 resultobj = wxPyMake_wxObject(result);
21517 }
21518 return resultobj;
21519 fail:
21520 return NULL;
21521 }
21522
21523
21524 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21525 PyObject *resultobj;
21526 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21527 wxPyPrintout *result;
21528 PyObject * obj0 = 0 ;
21529 char *kwnames[] = {
21530 (char *) "self", NULL
21531 };
21532
21533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
21534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21536 {
21537 PyThreadState* __tstate = wxPyBeginAllowThreads();
21538 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
21539
21540 wxPyEndAllowThreads(__tstate);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 {
21544 resultobj = wxPyMake_wxObject(result);
21545 }
21546 return resultobj;
21547 fail:
21548 return NULL;
21549 }
21550
21551
21552 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21553 PyObject *resultobj;
21554 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21555 wxFrame *arg2 = (wxFrame *) 0 ;
21556 PyObject * obj0 = 0 ;
21557 PyObject * obj1 = 0 ;
21558 char *kwnames[] = {
21559 (char *) "self",(char *) "frame", NULL
21560 };
21561
21562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
21563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21565 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21567 {
21568 PyThreadState* __tstate = wxPyBeginAllowThreads();
21569 (arg1)->SetFrame(arg2);
21570
21571 wxPyEndAllowThreads(__tstate);
21572 if (PyErr_Occurred()) SWIG_fail;
21573 }
21574 Py_INCREF(Py_None); resultobj = Py_None;
21575 return resultobj;
21576 fail:
21577 return NULL;
21578 }
21579
21580
21581 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21582 PyObject *resultobj;
21583 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21584 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21585 PyObject * obj0 = 0 ;
21586 PyObject * obj1 = 0 ;
21587 char *kwnames[] = {
21588 (char *) "self",(char *) "canvas", NULL
21589 };
21590
21591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
21592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21596 {
21597 PyThreadState* __tstate = wxPyBeginAllowThreads();
21598 (arg1)->SetCanvas(arg2);
21599
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 Py_INCREF(Py_None); resultobj = Py_None;
21604 return resultobj;
21605 fail:
21606 return NULL;
21607 }
21608
21609
21610 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21611 PyObject *resultobj;
21612 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21613 wxFrame *result;
21614 PyObject * obj0 = 0 ;
21615 char *kwnames[] = {
21616 (char *) "self", NULL
21617 };
21618
21619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
21620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21622 {
21623 PyThreadState* __tstate = wxPyBeginAllowThreads();
21624 result = (wxFrame *)(arg1)->GetFrame();
21625
21626 wxPyEndAllowThreads(__tstate);
21627 if (PyErr_Occurred()) SWIG_fail;
21628 }
21629 {
21630 resultobj = wxPyMake_wxObject(result);
21631 }
21632 return resultobj;
21633 fail:
21634 return NULL;
21635 }
21636
21637
21638 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21639 PyObject *resultobj;
21640 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21641 wxPreviewCanvas *result;
21642 PyObject * obj0 = 0 ;
21643 char *kwnames[] = {
21644 (char *) "self", NULL
21645 };
21646
21647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
21648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21650 {
21651 PyThreadState* __tstate = wxPyBeginAllowThreads();
21652 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
21653
21654 wxPyEndAllowThreads(__tstate);
21655 if (PyErr_Occurred()) SWIG_fail;
21656 }
21657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
21658 return resultobj;
21659 fail:
21660 return NULL;
21661 }
21662
21663
21664 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21665 PyObject *resultobj;
21666 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21667 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21668 wxDC *arg3 = 0 ;
21669 bool result;
21670 PyObject * obj0 = 0 ;
21671 PyObject * obj1 = 0 ;
21672 PyObject * obj2 = 0 ;
21673 char *kwnames[] = {
21674 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21675 };
21676
21677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21680 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21682 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
21683 SWIG_POINTER_EXCEPTION | 0)) == -1)
21684 SWIG_fail;
21685 if (arg3 == NULL) {
21686 PyErr_SetString(PyExc_TypeError,"null reference");
21687 SWIG_fail;
21688 }
21689 {
21690 PyThreadState* __tstate = wxPyBeginAllowThreads();
21691 result = (bool)(arg1)->PaintPage(arg2,*arg3);
21692
21693 wxPyEndAllowThreads(__tstate);
21694 if (PyErr_Occurred()) SWIG_fail;
21695 }
21696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21697 return resultobj;
21698 fail:
21699 return NULL;
21700 }
21701
21702
21703 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21704 PyObject *resultobj;
21705 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21706 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21707 wxDC *arg3 = 0 ;
21708 bool result;
21709 PyObject * obj0 = 0 ;
21710 PyObject * obj1 = 0 ;
21711 PyObject * obj2 = 0 ;
21712 char *kwnames[] = {
21713 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21714 };
21715
21716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21721 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
21722 SWIG_POINTER_EXCEPTION | 0)) == -1)
21723 SWIG_fail;
21724 if (arg3 == NULL) {
21725 PyErr_SetString(PyExc_TypeError,"null reference");
21726 SWIG_fail;
21727 }
21728 {
21729 PyThreadState* __tstate = wxPyBeginAllowThreads();
21730 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
21731
21732 wxPyEndAllowThreads(__tstate);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 }
21735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21736 return resultobj;
21737 fail:
21738 return NULL;
21739 }
21740
21741
21742 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21743 PyObject *resultobj;
21744 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21745 int arg2 ;
21746 bool result;
21747 PyObject * obj0 = 0 ;
21748 PyObject * obj1 = 0 ;
21749 char *kwnames[] = {
21750 (char *) "self",(char *) "pageNum", NULL
21751 };
21752
21753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
21754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21756 arg2 = (int) SWIG_AsInt(obj1);
21757 if (PyErr_Occurred()) SWIG_fail;
21758 {
21759 PyThreadState* __tstate = wxPyBeginAllowThreads();
21760 result = (bool)(arg1)->RenderPage(arg2);
21761
21762 wxPyEndAllowThreads(__tstate);
21763 if (PyErr_Occurred()) SWIG_fail;
21764 }
21765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21766 return resultobj;
21767 fail:
21768 return NULL;
21769 }
21770
21771
21772 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
21773 PyObject *resultobj;
21774 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21775 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21776 PyObject * obj0 = 0 ;
21777 PyObject * obj1 = 0 ;
21778 char *kwnames[] = {
21779 (char *) "self",(char *) "canvas", NULL
21780 };
21781
21782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
21783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21785 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21787 {
21788 PyThreadState* __tstate = wxPyBeginAllowThreads();
21789 (arg1)->AdjustScrollbars(arg2);
21790
21791 wxPyEndAllowThreads(__tstate);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
21794 Py_INCREF(Py_None); resultobj = Py_None;
21795 return resultobj;
21796 fail:
21797 return NULL;
21798 }
21799
21800
21801 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21802 PyObject *resultobj;
21803 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21804 wxPrintDialogData *result;
21805 PyObject * obj0 = 0 ;
21806 char *kwnames[] = {
21807 (char *) "self", NULL
21808 };
21809
21810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
21811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 {
21816 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21817 result = (wxPrintDialogData *) &_result_ref;
21818 }
21819
21820 wxPyEndAllowThreads(__tstate);
21821 if (PyErr_Occurred()) SWIG_fail;
21822 }
21823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21824 return resultobj;
21825 fail:
21826 return NULL;
21827 }
21828
21829
21830 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21831 PyObject *resultobj;
21832 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21833 int arg2 ;
21834 PyObject * obj0 = 0 ;
21835 PyObject * obj1 = 0 ;
21836 char *kwnames[] = {
21837 (char *) "self",(char *) "percent", NULL
21838 };
21839
21840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
21841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21843 arg2 = (int) SWIG_AsInt(obj1);
21844 if (PyErr_Occurred()) SWIG_fail;
21845 {
21846 PyThreadState* __tstate = wxPyBeginAllowThreads();
21847 (arg1)->SetZoom(arg2);
21848
21849 wxPyEndAllowThreads(__tstate);
21850 if (PyErr_Occurred()) SWIG_fail;
21851 }
21852 Py_INCREF(Py_None); resultobj = Py_None;
21853 return resultobj;
21854 fail:
21855 return NULL;
21856 }
21857
21858
21859 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21860 PyObject *resultobj;
21861 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21862 int result;
21863 PyObject * obj0 = 0 ;
21864 char *kwnames[] = {
21865 (char *) "self", NULL
21866 };
21867
21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
21869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21871 {
21872 PyThreadState* __tstate = wxPyBeginAllowThreads();
21873 result = (int)(arg1)->GetZoom();
21874
21875 wxPyEndAllowThreads(__tstate);
21876 if (PyErr_Occurred()) SWIG_fail;
21877 }
21878 resultobj = SWIG_FromInt((int)result);
21879 return resultobj;
21880 fail:
21881 return NULL;
21882 }
21883
21884
21885 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21886 PyObject *resultobj;
21887 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21888 int result;
21889 PyObject * obj0 = 0 ;
21890 char *kwnames[] = {
21891 (char *) "self", NULL
21892 };
21893
21894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
21895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21897 {
21898 PyThreadState* __tstate = wxPyBeginAllowThreads();
21899 result = (int)(arg1)->GetMaxPage();
21900
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 resultobj = SWIG_FromInt((int)result);
21905 return resultobj;
21906 fail:
21907 return NULL;
21908 }
21909
21910
21911 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21912 PyObject *resultobj;
21913 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21914 int result;
21915 PyObject * obj0 = 0 ;
21916 char *kwnames[] = {
21917 (char *) "self", NULL
21918 };
21919
21920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
21921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21923 {
21924 PyThreadState* __tstate = wxPyBeginAllowThreads();
21925 result = (int)(arg1)->GetMinPage();
21926
21927 wxPyEndAllowThreads(__tstate);
21928 if (PyErr_Occurred()) SWIG_fail;
21929 }
21930 resultobj = SWIG_FromInt((int)result);
21931 return resultobj;
21932 fail:
21933 return NULL;
21934 }
21935
21936
21937 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21938 PyObject *resultobj;
21939 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21940 bool result;
21941 PyObject * obj0 = 0 ;
21942 char *kwnames[] = {
21943 (char *) "self", NULL
21944 };
21945
21946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
21947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21949 {
21950 PyThreadState* __tstate = wxPyBeginAllowThreads();
21951 result = (bool)(arg1)->Ok();
21952
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21957 return resultobj;
21958 fail:
21959 return NULL;
21960 }
21961
21962
21963 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj;
21965 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21966 bool arg2 ;
21967 PyObject * obj0 = 0 ;
21968 PyObject * obj1 = 0 ;
21969 char *kwnames[] = {
21970 (char *) "self",(char *) "ok", NULL
21971 };
21972
21973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
21974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21976 arg2 = (bool) SWIG_AsBool(obj1);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 {
21979 PyThreadState* __tstate = wxPyBeginAllowThreads();
21980 (arg1)->SetOk(arg2);
21981
21982 wxPyEndAllowThreads(__tstate);
21983 if (PyErr_Occurred()) SWIG_fail;
21984 }
21985 Py_INCREF(Py_None); resultobj = Py_None;
21986 return resultobj;
21987 fail:
21988 return NULL;
21989 }
21990
21991
21992 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21993 PyObject *resultobj;
21994 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21995 bool arg2 ;
21996 bool result;
21997 PyObject * obj0 = 0 ;
21998 PyObject * obj1 = 0 ;
21999 char *kwnames[] = {
22000 (char *) "self",(char *) "interactive", NULL
22001 };
22002
22003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
22004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22006 arg2 = (bool) SWIG_AsBool(obj1);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 result = (bool)(arg1)->Print(arg2);
22011
22012 wxPyEndAllowThreads(__tstate);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22016 return resultobj;
22017 fail:
22018 return NULL;
22019 }
22020
22021
22022 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
22023 PyObject *resultobj;
22024 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22025 PyObject * obj0 = 0 ;
22026 char *kwnames[] = {
22027 (char *) "self", NULL
22028 };
22029
22030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
22031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22033 {
22034 PyThreadState* __tstate = wxPyBeginAllowThreads();
22035 (arg1)->DetermineScaling();
22036
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 Py_INCREF(Py_None); resultobj = Py_None;
22041 return resultobj;
22042 fail:
22043 return NULL;
22044 }
22045
22046
22047 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
22048 PyObject *obj;
22049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22050 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
22051 Py_INCREF(obj);
22052 return Py_BuildValue((char *)"");
22053 }
22054 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22055 PyObject *resultobj;
22056 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22057 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22058 wxPrintData *arg3 = (wxPrintData *) NULL ;
22059 wxPyPrintPreview *result;
22060 PyObject * obj0 = 0 ;
22061 PyObject * obj1 = 0 ;
22062 PyObject * obj2 = 0 ;
22063 char *kwnames[] = {
22064 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
22065 };
22066
22067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
22068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22070 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22072 if (obj2) {
22073 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22075 }
22076 {
22077 PyThreadState* __tstate = wxPyBeginAllowThreads();
22078 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
22079
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
22084 return resultobj;
22085 fail:
22086 return NULL;
22087 }
22088
22089
22090 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj;
22092 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22093 PyObject *arg2 = (PyObject *) 0 ;
22094 PyObject *arg3 = (PyObject *) 0 ;
22095 PyObject * obj0 = 0 ;
22096 PyObject * obj1 = 0 ;
22097 PyObject * obj2 = 0 ;
22098 char *kwnames[] = {
22099 (char *) "self",(char *) "self",(char *) "_class", NULL
22100 };
22101
22102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22105 arg2 = obj1;
22106 arg3 = obj2;
22107 {
22108 PyThreadState* __tstate = wxPyBeginAllowThreads();
22109 (arg1)->_setCallbackInfo(arg2,arg3);
22110
22111 wxPyEndAllowThreads(__tstate);
22112 if (PyErr_Occurred()) SWIG_fail;
22113 }
22114 Py_INCREF(Py_None); resultobj = Py_None;
22115 return resultobj;
22116 fail:
22117 return NULL;
22118 }
22119
22120
22121 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22122 PyObject *resultobj;
22123 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22124 int arg2 ;
22125 bool result;
22126 PyObject * obj0 = 0 ;
22127 PyObject * obj1 = 0 ;
22128 char *kwnames[] = {
22129 (char *) "self",(char *) "pageNum", NULL
22130 };
22131
22132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22135 arg2 = (int) SWIG_AsInt(obj1);
22136 if (PyErr_Occurred()) SWIG_fail;
22137 {
22138 PyThreadState* __tstate = wxPyBeginAllowThreads();
22139 result = (bool)(arg1)->base_SetCurrentPage(arg2);
22140
22141 wxPyEndAllowThreads(__tstate);
22142 if (PyErr_Occurred()) SWIG_fail;
22143 }
22144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22145 return resultobj;
22146 fail:
22147 return NULL;
22148 }
22149
22150
22151 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22152 PyObject *resultobj;
22153 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22154 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22155 wxDC *arg3 = 0 ;
22156 bool result;
22157 PyObject * obj0 = 0 ;
22158 PyObject * obj1 = 0 ;
22159 PyObject * obj2 = 0 ;
22160 char *kwnames[] = {
22161 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22162 };
22163
22164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22167 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22169 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22170 SWIG_POINTER_EXCEPTION | 0)) == -1)
22171 SWIG_fail;
22172 if (arg3 == NULL) {
22173 PyErr_SetString(PyExc_TypeError,"null reference");
22174 SWIG_fail;
22175 }
22176 {
22177 PyThreadState* __tstate = wxPyBeginAllowThreads();
22178 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
22179
22180 wxPyEndAllowThreads(__tstate);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
22183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22184 return resultobj;
22185 fail:
22186 return NULL;
22187 }
22188
22189
22190 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22191 PyObject *resultobj;
22192 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22193 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22194 wxDC *arg3 = 0 ;
22195 bool result;
22196 PyObject * obj0 = 0 ;
22197 PyObject * obj1 = 0 ;
22198 PyObject * obj2 = 0 ;
22199 char *kwnames[] = {
22200 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22201 };
22202
22203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22208 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22209 SWIG_POINTER_EXCEPTION | 0)) == -1)
22210 SWIG_fail;
22211 if (arg3 == NULL) {
22212 PyErr_SetString(PyExc_TypeError,"null reference");
22213 SWIG_fail;
22214 }
22215 {
22216 PyThreadState* __tstate = wxPyBeginAllowThreads();
22217 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
22218
22219 wxPyEndAllowThreads(__tstate);
22220 if (PyErr_Occurred()) SWIG_fail;
22221 }
22222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22223 return resultobj;
22224 fail:
22225 return NULL;
22226 }
22227
22228
22229 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22230 PyObject *resultobj;
22231 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22232 int arg2 ;
22233 bool result;
22234 PyObject * obj0 = 0 ;
22235 PyObject * obj1 = 0 ;
22236 char *kwnames[] = {
22237 (char *) "self",(char *) "pageNum", NULL
22238 };
22239
22240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22243 arg2 = (int) SWIG_AsInt(obj1);
22244 if (PyErr_Occurred()) SWIG_fail;
22245 {
22246 PyThreadState* __tstate = wxPyBeginAllowThreads();
22247 result = (bool)(arg1)->base_RenderPage(arg2);
22248
22249 wxPyEndAllowThreads(__tstate);
22250 if (PyErr_Occurred()) SWIG_fail;
22251 }
22252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22253 return resultobj;
22254 fail:
22255 return NULL;
22256 }
22257
22258
22259 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22260 PyObject *resultobj;
22261 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22262 int arg2 ;
22263 PyObject * obj0 = 0 ;
22264 PyObject * obj1 = 0 ;
22265 char *kwnames[] = {
22266 (char *) "self",(char *) "percent", NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22272 arg2 = (int) SWIG_AsInt(obj1);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 {
22275 PyThreadState* __tstate = wxPyBeginAllowThreads();
22276 (arg1)->base_SetZoom(arg2);
22277
22278 wxPyEndAllowThreads(__tstate);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 }
22281 Py_INCREF(Py_None); resultobj = Py_None;
22282 return resultobj;
22283 fail:
22284 return NULL;
22285 }
22286
22287
22288 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
22289 PyObject *resultobj;
22290 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22291 bool arg2 ;
22292 bool result;
22293 PyObject * obj0 = 0 ;
22294 PyObject * obj1 = 0 ;
22295 char *kwnames[] = {
22296 (char *) "self",(char *) "interactive", NULL
22297 };
22298
22299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
22300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22302 arg2 = (bool) SWIG_AsBool(obj1);
22303 if (PyErr_Occurred()) SWIG_fail;
22304 {
22305 PyThreadState* __tstate = wxPyBeginAllowThreads();
22306 result = (bool)(arg1)->base_Print(arg2);
22307
22308 wxPyEndAllowThreads(__tstate);
22309 if (PyErr_Occurred()) SWIG_fail;
22310 }
22311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22312 return resultobj;
22313 fail:
22314 return NULL;
22315 }
22316
22317
22318 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
22319 PyObject *resultobj;
22320 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22321 PyObject * obj0 = 0 ;
22322 char *kwnames[] = {
22323 (char *) "self", NULL
22324 };
22325
22326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
22327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22329 {
22330 PyThreadState* __tstate = wxPyBeginAllowThreads();
22331 (arg1)->base_DetermineScaling();
22332
22333 wxPyEndAllowThreads(__tstate);
22334 if (PyErr_Occurred()) SWIG_fail;
22335 }
22336 Py_INCREF(Py_None); resultobj = Py_None;
22337 return resultobj;
22338 fail:
22339 return NULL;
22340 }
22341
22342
22343 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
22344 PyObject *obj;
22345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22346 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
22347 Py_INCREF(obj);
22348 return Py_BuildValue((char *)"");
22349 }
22350 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22351 PyObject *resultobj;
22352 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22353 wxFrame *arg2 = (wxFrame *) 0 ;
22354 wxString *arg3 = 0 ;
22355 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22356 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22357 wxSize const &arg5_defvalue = wxDefaultSize ;
22358 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22359 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22360 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22361 wxString *arg7 = (wxString *) &arg7_defvalue ;
22362 wxPyPreviewFrame *result;
22363 bool temp3 = False ;
22364 wxPoint temp4 ;
22365 wxSize temp5 ;
22366 bool temp7 = False ;
22367 PyObject * obj0 = 0 ;
22368 PyObject * obj1 = 0 ;
22369 PyObject * obj2 = 0 ;
22370 PyObject * obj3 = 0 ;
22371 PyObject * obj4 = 0 ;
22372 PyObject * obj5 = 0 ;
22373 PyObject * obj6 = 0 ;
22374 char *kwnames[] = {
22375 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22376 };
22377
22378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22381 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22383 {
22384 arg3 = wxString_in_helper(obj2);
22385 if (arg3 == NULL) SWIG_fail;
22386 temp3 = True;
22387 }
22388 if (obj3) {
22389 {
22390 arg4 = &temp4;
22391 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22392 }
22393 }
22394 if (obj4) {
22395 {
22396 arg5 = &temp5;
22397 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22398 }
22399 }
22400 if (obj5) {
22401 arg6 = (long) SWIG_AsLong(obj5);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 }
22404 if (obj6) {
22405 {
22406 arg7 = wxString_in_helper(obj6);
22407 if (arg7 == NULL) SWIG_fail;
22408 temp7 = True;
22409 }
22410 }
22411 {
22412 PyThreadState* __tstate = wxPyBeginAllowThreads();
22413 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22414
22415 wxPyEndAllowThreads(__tstate);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 }
22418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
22419 {
22420 if (temp3)
22421 delete arg3;
22422 }
22423 {
22424 if (temp7)
22425 delete arg7;
22426 }
22427 return resultobj;
22428 fail:
22429 {
22430 if (temp3)
22431 delete arg3;
22432 }
22433 {
22434 if (temp7)
22435 delete arg7;
22436 }
22437 return NULL;
22438 }
22439
22440
22441 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22442 PyObject *resultobj;
22443 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22444 PyObject *arg2 = (PyObject *) 0 ;
22445 PyObject *arg3 = (PyObject *) 0 ;
22446 PyObject * obj0 = 0 ;
22447 PyObject * obj1 = 0 ;
22448 PyObject * obj2 = 0 ;
22449 char *kwnames[] = {
22450 (char *) "self",(char *) "self",(char *) "_class", NULL
22451 };
22452
22453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22456 arg2 = obj1;
22457 arg3 = obj2;
22458 {
22459 PyThreadState* __tstate = wxPyBeginAllowThreads();
22460 (arg1)->_setCallbackInfo(arg2,arg3);
22461
22462 wxPyEndAllowThreads(__tstate);
22463 if (PyErr_Occurred()) SWIG_fail;
22464 }
22465 Py_INCREF(Py_None); resultobj = Py_None;
22466 return resultobj;
22467 fail:
22468 return NULL;
22469 }
22470
22471
22472 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22473 PyObject *resultobj;
22474 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22475 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22476 PyObject * obj0 = 0 ;
22477 PyObject * obj1 = 0 ;
22478 char *kwnames[] = {
22479 (char *) "self",(char *) "canvas", NULL
22480 };
22481
22482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
22483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22485 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22487 {
22488 PyThreadState* __tstate = wxPyBeginAllowThreads();
22489 (arg1)->SetPreviewCanvas(arg2);
22490
22491 wxPyEndAllowThreads(__tstate);
22492 if (PyErr_Occurred()) SWIG_fail;
22493 }
22494 Py_INCREF(Py_None); resultobj = Py_None;
22495 return resultobj;
22496 fail:
22497 return NULL;
22498 }
22499
22500
22501 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22502 PyObject *resultobj;
22503 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22504 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
22505 PyObject * obj0 = 0 ;
22506 PyObject * obj1 = 0 ;
22507 char *kwnames[] = {
22508 (char *) "self",(char *) "bar", NULL
22509 };
22510
22511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
22512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
22515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22516 {
22517 PyThreadState* __tstate = wxPyBeginAllowThreads();
22518 (arg1)->SetControlBar(arg2);
22519
22520 wxPyEndAllowThreads(__tstate);
22521 if (PyErr_Occurred()) SWIG_fail;
22522 }
22523 Py_INCREF(Py_None); resultobj = Py_None;
22524 return resultobj;
22525 fail:
22526 return NULL;
22527 }
22528
22529
22530 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22531 PyObject *resultobj;
22532 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22533 PyObject * obj0 = 0 ;
22534 char *kwnames[] = {
22535 (char *) "self", NULL
22536 };
22537
22538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
22539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22541 {
22542 PyThreadState* __tstate = wxPyBeginAllowThreads();
22543 (arg1)->base_Initialize();
22544
22545 wxPyEndAllowThreads(__tstate);
22546 if (PyErr_Occurred()) SWIG_fail;
22547 }
22548 Py_INCREF(Py_None); resultobj = Py_None;
22549 return resultobj;
22550 fail:
22551 return NULL;
22552 }
22553
22554
22555 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22556 PyObject *resultobj;
22557 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22558 PyObject * obj0 = 0 ;
22559 char *kwnames[] = {
22560 (char *) "self", NULL
22561 };
22562
22563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
22564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22566 {
22567 PyThreadState* __tstate = wxPyBeginAllowThreads();
22568 (arg1)->base_CreateCanvas();
22569
22570 wxPyEndAllowThreads(__tstate);
22571 if (PyErr_Occurred()) SWIG_fail;
22572 }
22573 Py_INCREF(Py_None); resultobj = Py_None;
22574 return resultobj;
22575 fail:
22576 return NULL;
22577 }
22578
22579
22580 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22581 PyObject *resultobj;
22582 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22583 PyObject * obj0 = 0 ;
22584 char *kwnames[] = {
22585 (char *) "self", NULL
22586 };
22587
22588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
22589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22591 {
22592 PyThreadState* __tstate = wxPyBeginAllowThreads();
22593 (arg1)->base_CreateControlBar();
22594
22595 wxPyEndAllowThreads(__tstate);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 }
22598 Py_INCREF(Py_None); resultobj = Py_None;
22599 return resultobj;
22600 fail:
22601 return NULL;
22602 }
22603
22604
22605 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
22606 PyObject *obj;
22607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22608 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
22609 Py_INCREF(obj);
22610 return Py_BuildValue((char *)"");
22611 }
22612 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22613 PyObject *resultobj;
22614 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22615 long arg2 ;
22616 wxWindow *arg3 = (wxWindow *) 0 ;
22617 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22618 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22619 wxSize const &arg5_defvalue = wxDefaultSize ;
22620 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22621 long arg6 = (long) 0 ;
22622 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22623 wxString *arg7 = (wxString *) &arg7_defvalue ;
22624 wxPyPreviewControlBar *result;
22625 wxPoint temp4 ;
22626 wxSize temp5 ;
22627 bool temp7 = False ;
22628 PyObject * obj0 = 0 ;
22629 PyObject * obj1 = 0 ;
22630 PyObject * obj2 = 0 ;
22631 PyObject * obj3 = 0 ;
22632 PyObject * obj4 = 0 ;
22633 PyObject * obj5 = 0 ;
22634 PyObject * obj6 = 0 ;
22635 char *kwnames[] = {
22636 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22637 };
22638
22639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22642 arg2 = (long) SWIG_AsLong(obj1);
22643 if (PyErr_Occurred()) SWIG_fail;
22644 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22646 if (obj3) {
22647 {
22648 arg4 = &temp4;
22649 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22650 }
22651 }
22652 if (obj4) {
22653 {
22654 arg5 = &temp5;
22655 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22656 }
22657 }
22658 if (obj5) {
22659 arg6 = (long) SWIG_AsLong(obj5);
22660 if (PyErr_Occurred()) SWIG_fail;
22661 }
22662 if (obj6) {
22663 {
22664 arg7 = wxString_in_helper(obj6);
22665 if (arg7 == NULL) SWIG_fail;
22666 temp7 = True;
22667 }
22668 }
22669 {
22670 PyThreadState* __tstate = wxPyBeginAllowThreads();
22671 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22672
22673 wxPyEndAllowThreads(__tstate);
22674 if (PyErr_Occurred()) SWIG_fail;
22675 }
22676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
22677 {
22678 if (temp7)
22679 delete arg7;
22680 }
22681 return resultobj;
22682 fail:
22683 {
22684 if (temp7)
22685 delete arg7;
22686 }
22687 return NULL;
22688 }
22689
22690
22691 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22692 PyObject *resultobj;
22693 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22694 PyObject *arg2 = (PyObject *) 0 ;
22695 PyObject *arg3 = (PyObject *) 0 ;
22696 PyObject * obj0 = 0 ;
22697 PyObject * obj1 = 0 ;
22698 PyObject * obj2 = 0 ;
22699 char *kwnames[] = {
22700 (char *) "self",(char *) "self",(char *) "_class", NULL
22701 };
22702
22703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22706 arg2 = obj1;
22707 arg3 = obj2;
22708 {
22709 PyThreadState* __tstate = wxPyBeginAllowThreads();
22710 (arg1)->_setCallbackInfo(arg2,arg3);
22711
22712 wxPyEndAllowThreads(__tstate);
22713 if (PyErr_Occurred()) SWIG_fail;
22714 }
22715 Py_INCREF(Py_None); resultobj = Py_None;
22716 return resultobj;
22717 fail:
22718 return NULL;
22719 }
22720
22721
22722 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22723 PyObject *resultobj;
22724 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22725 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
22726 PyObject * obj0 = 0 ;
22727 PyObject * obj1 = 0 ;
22728 char *kwnames[] = {
22729 (char *) "self",(char *) "preview", NULL
22730 };
22731
22732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
22733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22735 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
22736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 (arg1)->SetPrintPreview(arg2);
22740
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 Py_INCREF(Py_None); resultobj = Py_None;
22745 return resultobj;
22746 fail:
22747 return NULL;
22748 }
22749
22750
22751 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
22752 PyObject *resultobj;
22753 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22754 PyObject * obj0 = 0 ;
22755 char *kwnames[] = {
22756 (char *) "self", NULL
22757 };
22758
22759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
22760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22762 {
22763 PyThreadState* __tstate = wxPyBeginAllowThreads();
22764 (arg1)->base_CreateButtons();
22765
22766 wxPyEndAllowThreads(__tstate);
22767 if (PyErr_Occurred()) SWIG_fail;
22768 }
22769 Py_INCREF(Py_None); resultobj = Py_None;
22770 return resultobj;
22771 fail:
22772 return NULL;
22773 }
22774
22775
22776 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22777 PyObject *resultobj;
22778 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22779 int arg2 ;
22780 PyObject * obj0 = 0 ;
22781 PyObject * obj1 = 0 ;
22782 char *kwnames[] = {
22783 (char *) "self",(char *) "zoom", NULL
22784 };
22785
22786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22789 arg2 = (int) SWIG_AsInt(obj1);
22790 if (PyErr_Occurred()) SWIG_fail;
22791 {
22792 PyThreadState* __tstate = wxPyBeginAllowThreads();
22793 (arg1)->base_SetZoomControl(arg2);
22794
22795 wxPyEndAllowThreads(__tstate);
22796 if (PyErr_Occurred()) SWIG_fail;
22797 }
22798 Py_INCREF(Py_None); resultobj = Py_None;
22799 return resultobj;
22800 fail:
22801 return NULL;
22802 }
22803
22804
22805 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22806 PyObject *obj;
22807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22808 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
22809 Py_INCREF(obj);
22810 return Py_BuildValue((char *)"");
22811 }
22812 static PyMethodDef SwigMethods[] = {
22813 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
22814 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
22815 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
22816 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
22817 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
22818 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22819 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22820 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22821 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
22822 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
22823 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22824 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22825 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
22826 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
22827 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
22828 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
22829 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
22830 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
22831 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
22832 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
22833 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
22834 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
22835 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
22836 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22837 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22838 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
22839 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
22840 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
22841 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
22842 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
22843 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
22844 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
22845 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
22846 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
22847 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
22848 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
22849 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
22850 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
22851 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
22852 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
22853 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
22854 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
22855 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
22856 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
22857 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
22858 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
22859 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
22860 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
22861 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
22862 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
22863 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
22864 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
22865 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
22866 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22867 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22868 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22869 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22870 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22871 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22872 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
22873 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
22874 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
22875 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
22876 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
22877 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
22878 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
22879 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
22880 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
22881 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
22882 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
22883 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
22884 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
22885 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
22886 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22887 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
22888 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
22889 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
22890 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
22891 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
22892 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
22893 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
22894 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
22895 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
22896 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
22897 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
22898 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
22899 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
22900 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
22901 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
22902 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
22903 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
22904 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
22905 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
22906 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22907 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22908 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22909 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
22910 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22911 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22912 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22913 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
22914 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
22915 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
22916 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
22917 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
22918 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
22919 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
22920 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
22921 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
22922 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
22923 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
22924 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
22925 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
22926 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
22927 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
22928 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
22929 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
22930 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
22931 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
22932 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
22933 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
22934 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
22935 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22936 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22937 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22938 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22939 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22940 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22941 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22942 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22943 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
22944 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
22945 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22946 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22947 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
22948 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
22949 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
22950 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
22951 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
22952 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
22953 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
22954 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
22955 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
22956 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
22957 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
22958 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
22959 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22960 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22961 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22962 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22963 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22964 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22965 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22966 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22967 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22968 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22969 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22970 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22971 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22972 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22973 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
22974 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
22975 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
22976 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
22977 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
22978 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
22979 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
22980 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
22981 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
22982 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
22983 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22984 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22985 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22986 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22987 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
22988 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
22989 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22990 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22991 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22992 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22993 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
22994 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
22995 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22996 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22997 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
22998 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
22999 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
23000 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
23001 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
23002 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
23003 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
23004 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
23005 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
23006 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
23007 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
23008 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
23009 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
23010 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
23011 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
23012 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
23013 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
23014 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
23015 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
23016 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
23017 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
23018 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
23019 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
23020 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
23021 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
23022 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23023 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
23024 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
23025 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
23026 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
23027 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
23028 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
23029 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
23030 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
23031 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
23032 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23033 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
23034 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
23035 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
23036 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
23037 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
23038 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
23039 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
23040 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
23041 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
23042 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
23043 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
23044 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
23045 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
23046 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
23047 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
23048 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
23049 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
23050 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23051 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
23052 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
23053 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
23054 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
23055 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
23056 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
23057 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
23058 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
23059 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
23060 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
23061 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
23062 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
23063 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
23064 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
23065 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
23066 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
23067 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
23068 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
23069 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
23070 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
23071 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
23072 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
23073 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
23074 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
23075 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
23076 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23077 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
23078 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
23079 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
23080 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
23081 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
23082 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
23083 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
23084 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
23085 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
23086 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
23087 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
23088 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
23089 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
23090 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
23091 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
23092 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
23093 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
23094 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
23095 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
23096 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
23097 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
23098 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
23099 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
23100 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
23101 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
23102 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
23103 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
23104 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
23105 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
23106 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
23107 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
23108 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
23109 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
23110 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
23111 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
23112 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
23113 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
23114 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
23115 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
23116 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
23117 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
23118 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
23119 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
23120 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
23121 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
23122 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
23123 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
23124 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
23125 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
23126 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
23127 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
23128 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
23129 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
23130 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
23131 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
23132 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
23133 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
23134 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
23135 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
23136 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
23137 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
23138 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
23139 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
23140 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
23141 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
23142 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
23143 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
23144 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
23145 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
23146 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
23147 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
23148 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
23149 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
23150 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
23151 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
23152 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
23153 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
23154 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
23155 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
23156 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
23157 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
23158 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
23159 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
23160 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
23161 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
23162 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
23163 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
23164 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
23165 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
23166 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
23167 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
23168 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
23169 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
23170 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
23171 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
23172 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
23173 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
23174 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
23175 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
23176 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
23177 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
23178 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
23179 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
23180 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
23181 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
23182 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
23183 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
23184 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
23185 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
23186 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
23187 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
23188 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
23189 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
23190 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
23191 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
23192 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
23193 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
23194 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
23195 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
23196 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
23197 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
23198 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
23199 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
23200 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
23201 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
23202 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
23203 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
23204 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
23205 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
23206 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
23207 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
23208 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
23209 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
23210 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
23211 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
23212 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23213 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23214 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
23215 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
23216 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
23217 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23218 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23219 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23220 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23221 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23222 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23223 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23224 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23225 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23226 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23227 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23228 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23229 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23230 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
23231 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23232 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23233 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23234 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23235 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23236 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
23237 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
23238 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23239 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23240 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23241 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23242 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23243 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23244 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23245 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23246 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23247 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23248 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23249 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23250 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23251 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
23252 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23253 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23254 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23255 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23256 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23257 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
23258 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
23259 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
23260 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23261 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23262 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
23263 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
23264 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
23265 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
23266 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
23267 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23268 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23269 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
23270 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23271 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23272 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
23273 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
23274 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
23275 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
23276 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23277 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23278 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
23279 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23280 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23281 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23282 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
23283 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23284 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23285 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23286 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23287 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23288 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
23289 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23290 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23291 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23292 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
23293 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23294 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23295 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23296 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
23297 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23298 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23299 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
23300 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
23301 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
23302 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
23303 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
23304 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23305 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23306 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23307 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
23308 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
23309 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
23310 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
23311 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23312 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
23313 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
23314 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
23315 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
23316 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23317 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23318 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23319 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23320 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23321 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23322 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23323 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23324 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23325 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23326 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23327 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23328 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23329 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23330 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23331 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23332 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23333 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23334 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23335 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
23336 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
23337 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
23338 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23339 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
23340 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
23341 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
23342 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
23343 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
23344 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23345 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23346 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23347 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
23348 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
23349 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23350 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23351 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23352 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
23353 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
23354 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
23355 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
23356 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23357 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
23358 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
23359 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23360 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23361 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23362 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23363 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
23364 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23365 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23366 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23367 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
23368 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23369 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23370 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23371 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23372 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23373 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
23374 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23375 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23376 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
23377 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23378 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
23379 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
23380 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
23381 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
23382 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23383 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
23384 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23385 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
23386 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
23387 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
23388 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
23389 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
23390 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
23391 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23392 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
23393 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
23394 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
23395 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
23396 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
23397 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23398 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23399 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23400 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23401 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23402 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23403 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
23404 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
23405 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
23406 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
23407 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
23408 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
23409 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
23410 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
23411 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
23412 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
23413 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23414 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
23415 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
23416 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
23417 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23418 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23419 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
23420 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
23421 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23422 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
23423 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23424 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23425 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
23426 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
23427 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
23428 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
23429 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
23430 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
23431 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
23432 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23433 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23434 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
23435 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
23436 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
23437 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
23438 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
23439 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
23440 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
23441 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
23442 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23443 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
23444 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
23445 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23446 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
23447 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
23448 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23449 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23450 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
23451 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
23452 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
23453 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23454 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
23455 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
23456 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23457 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23458 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
23459 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23460 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
23461 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
23462 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
23463 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23464 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
23465 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
23466 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23467 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23468 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
23469 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
23470 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23471 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23472 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
23473 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23474 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23475 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23476 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
23477 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23478 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
23479 { NULL, NULL }
23480 };
23481
23482
23483 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23484
23485 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
23486 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23487 }
23488 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
23489 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
23490 }
23491 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
23492 return (void *)((wxEvent *) ((wxMenuEvent *) x));
23493 }
23494 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
23495 return (void *)((wxEvent *) ((wxCloseEvent *) x));
23496 }
23497 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
23498 return (void *)((wxEvent *) ((wxMouseEvent *) x));
23499 }
23500 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
23501 return (void *)((wxEvent *) ((wxEraseEvent *) x));
23502 }
23503 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
23504 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
23505 }
23506 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
23507 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23508 }
23509 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
23510 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
23511 }
23512 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
23513 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
23514 }
23515 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
23516 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
23517 }
23518 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
23519 return (void *)((wxEvent *) ((wxPyEvent *) x));
23520 }
23521 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
23522 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
23523 }
23524 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
23525 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
23526 }
23527 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
23528 return (void *)((wxEvent *) ((wxIdleEvent *) x));
23529 }
23530 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
23531 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
23532 }
23533 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
23534 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
23535 }
23536 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
23537 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
23538 }
23539 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
23540 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
23541 }
23542 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
23543 return (void *)((wxEvent *) ((wxActivateEvent *) x));
23544 }
23545 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
23546 return (void *)((wxEvent *) ((wxSizeEvent *) x));
23547 }
23548 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
23549 return (void *)((wxEvent *) ((wxMoveEvent *) x));
23550 }
23551 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
23552 return (void *)((wxEvent *) ((wxPaintEvent *) x));
23553 }
23554 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
23555 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
23556 }
23557 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
23558 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
23559 }
23560 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
23561 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
23562 }
23563 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
23564 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
23565 }
23566 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
23567 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23568 }
23569 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
23570 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
23571 }
23572 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
23573 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
23574 }
23575 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
23576 return (void *)((wxEvent *) ((wxFocusEvent *) x));
23577 }
23578 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
23579 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
23580 }
23581 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
23582 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
23583 }
23584 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
23585 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23586 }
23587 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
23588 return (void *)((wxEvent *) ((wxShowEvent *) x));
23589 }
23590 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
23591 return (void *)((wxEvent *) ((wxCommandEvent *) x));
23592 }
23593 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
23594 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
23595 }
23596 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
23597 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23598 }
23599 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
23600 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
23601 }
23602 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
23603 return (void *)((wxEvent *) ((wxKeyEvent *) x));
23604 }
23605 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
23606 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
23607 }
23608 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
23609 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
23610 }
23611 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
23612 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
23613 }
23614 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
23615 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23616 }
23617 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
23618 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23619 }
23620 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
23621 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23622 }
23623 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
23624 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
23625 }
23626 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
23627 return (void *)((wxEvtHandler *) ((wxValidator *) x));
23628 }
23629 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
23630 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
23631 }
23632 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
23633 return (void *)((wxEvtHandler *) ((wxMenu *) x));
23634 }
23635 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
23636 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23637 }
23638 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
23639 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23640 }
23641 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
23642 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23643 }
23644 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
23645 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23646 }
23647 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
23648 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23649 }
23650 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
23651 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23652 }
23653 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
23654 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23655 }
23656 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
23657 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
23658 }
23659 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
23660 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
23661 }
23662 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
23663 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23664 }
23665 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
23666 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
23667 }
23668 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
23669 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23670 }
23671 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
23672 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
23673 }
23674 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
23675 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23676 }
23677 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
23678 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
23679 }
23680 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
23681 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
23682 }
23683 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
23684 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
23685 }
23686 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
23687 return (void *)((wxEvtHandler *) ((wxWindow *) x));
23688 }
23689 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
23690 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23691 }
23692 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
23693 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
23694 }
23695 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
23696 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
23697 }
23698 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
23699 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
23700 }
23701 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
23702 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23703 }
23704 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
23705 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23706 }
23707 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
23708 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23709 }
23710 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
23711 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
23712 }
23713 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
23714 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23715 }
23716 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
23717 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
23718 }
23719 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
23720 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23721 }
23722 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
23723 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23724 }
23725 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
23726 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23727 }
23728 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
23729 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23730 }
23731 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
23732 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23733 }
23734 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
23735 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
23736 }
23737 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
23738 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23739 }
23740 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
23741 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23742 }
23743 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
23744 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23745 }
23746 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
23747 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23748 }
23749 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
23750 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23751 }
23752 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
23753 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23754 }
23755 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
23756 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23757 }
23758 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
23759 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23760 }
23761 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
23762 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
23763 }
23764 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
23765 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
23766 }
23767 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
23768 return (void *)((wxFrame *) ((wxProgressDialog *) x));
23769 }
23770 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
23771 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
23772 }
23773 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
23774 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23775 }
23776 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
23777 return (void *)((wxFrame *) ((wxMiniFrame *) x));
23778 }
23779 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
23780 return (void *)((wxFrame *) ((wxSplashScreen *) x));
23781 }
23782 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
23783 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
23784 }
23785 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
23786 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
23787 }
23788 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
23789 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23790 }
23791 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
23792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23793 }
23794 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
23795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23796 }
23797 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
23798 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
23799 }
23800 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
23801 return (void *)((wxObject *) ((wxSizerItem *) x));
23802 }
23803 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
23804 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
23805 }
23806 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
23807 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
23808 }
23809 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
23810 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
23811 }
23812 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
23813 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
23814 }
23815 static void *_p_wxSizerTo_p_wxObject(void *x) {
23816 return (void *)((wxObject *) ((wxSizer *) x));
23817 }
23818 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
23819 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
23820 }
23821 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
23822 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
23823 }
23824 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
23825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23826 }
23827 static void *_p_wxEventTo_p_wxObject(void *x) {
23828 return (void *)((wxObject *) ((wxEvent *) x));
23829 }
23830 static void *_p_wxFontDataTo_p_wxObject(void *x) {
23831 return (void *)((wxObject *) ((wxFontData *) x));
23832 }
23833 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
23834 return (void *)((wxObject *) ((wxPrintData *) x));
23835 }
23836 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
23837 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
23838 }
23839 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
23840 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
23841 }
23842 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
23843 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
23844 }
23845 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
23846 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
23847 }
23848 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
23849 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
23850 }
23851 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
23852 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
23853 }
23854 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
23855 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
23856 }
23857 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
23858 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
23859 }
23860 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
23861 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
23862 }
23863 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
23864 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
23865 }
23866 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
23867 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23868 }
23869 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
23870 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
23871 }
23872 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
23873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23874 }
23875 static void *_p_wxControlTo_p_wxObject(void *x) {
23876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
23877 }
23878 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
23879 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
23880 }
23881 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
23882 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23883 }
23884 static void *_p_wxFSFileTo_p_wxObject(void *x) {
23885 return (void *)((wxObject *) ((wxFSFile *) x));
23886 }
23887 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
23888 return (void *)((wxObject *) ((wxFindReplaceData *) x));
23889 }
23890 static void *_p_wxPySizerTo_p_wxObject(void *x) {
23891 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
23892 }
23893 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
23894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23895 }
23896 static void *_p_wxColourDataTo_p_wxObject(void *x) {
23897 return (void *)((wxObject *) ((wxColourData *) x));
23898 }
23899 static void *_p_wxPyEventTo_p_wxObject(void *x) {
23900 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
23901 }
23902 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
23903 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
23904 }
23905 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
23906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
23907 }
23908 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
23909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23910 }
23911 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
23912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23913 }
23914 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
23915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23916 }
23917 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
23918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23919 }
23920 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
23921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23922 }
23923 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
23924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23925 }
23926 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
23927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23928 }
23929 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
23930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23931 }
23932 static void *_p_wxShowEventTo_p_wxObject(void *x) {
23933 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
23934 }
23935 static void *_p_wxPrinterTo_p_wxObject(void *x) {
23936 return (void *)((wxObject *) ((wxPrinter *) x));
23937 }
23938 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
23939 return (void *)((wxObject *) ((wxMenuItem *) x));
23940 }
23941 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
23942 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
23943 }
23944 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
23945 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
23946 }
23947 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
23948 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
23949 }
23950 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
23951 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
23952 }
23953 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
23954 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
23955 }
23956 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
23957 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
23958 }
23959 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
23960 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
23961 }
23962 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
23963 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
23964 }
23965 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
23966 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
23967 }
23968 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
23969 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
23970 }
23971 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
23972 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
23973 }
23974 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
23975 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
23976 }
23977 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
23978 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
23979 }
23980 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
23981 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
23982 }
23983 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
23984 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
23985 }
23986 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
23987 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
23988 }
23989 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
23990 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
23991 }
23992 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
23993 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
23994 }
23995 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
23996 return (void *)((wxObject *) ((wxImageHandler *) x));
23997 }
23998 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
23999 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
24000 }
24001 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
24002 return (void *)((wxObject *) ((wxEvtHandler *) x));
24003 }
24004 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
24005 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
24006 }
24007 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
24008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24009 }
24010 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
24011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24012 }
24013 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
24014 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
24015 }
24016 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
24017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24018 }
24019 static void *_p_wxImageTo_p_wxObject(void *x) {
24020 return (void *)((wxObject *) ((wxImage *) x));
24021 }
24022 static void *_p_wxFrameTo_p_wxObject(void *x) {
24023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
24024 }
24025 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
24026 return (void *)((wxObject *) ((wxPyPrintout *) x));
24027 }
24028 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
24029 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
24030 }
24031 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
24032 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
24033 }
24034 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
24035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
24036 }
24037 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
24038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24039 }
24040 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
24041 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24042 }
24043 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
24044 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
24045 }
24046 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
24047 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
24048 }
24049 static void *_p_wxWindowTo_p_wxObject(void *x) {
24050 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
24051 }
24052 static void *_p_wxMenuTo_p_wxObject(void *x) {
24053 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
24054 }
24055 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
24056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
24057 }
24058 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
24059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
24060 }
24061 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
24062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
24063 }
24064 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
24065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
24066 }
24067 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
24068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
24069 }
24070 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
24071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
24072 }
24073 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
24074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
24075 }
24076 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
24077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
24078 }
24079 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
24080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24081 }
24082 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
24083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24084 }
24085 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
24086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
24087 }
24088 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
24089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
24090 }
24091 static void *_p_wxSashEventTo_p_wxObject(void *x) {
24092 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
24093 }
24094 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
24095 return (void *)((wxObject *) ((wxPrintPreview *) x));
24096 }
24097 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
24098 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
24099 }
24100 static void *_p_wxPanelTo_p_wxObject(void *x) {
24101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
24102 }
24103 static void *_p_wxDialogTo_p_wxObject(void *x) {
24104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
24105 }
24106 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
24107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24108 }
24109 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
24110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24111 }
24112 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
24113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24114 }
24115 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
24116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24117 }
24118 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
24119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24120 }
24121 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
24122 return (void *)((wxObject *) ((wxFileSystem *) x));
24123 }
24124 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
24125 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
24126 }
24127 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
24128 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
24129 }
24130 static void *_p_wxPyAppTo_p_wxObject(void *x) {
24131 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
24132 }
24133 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
24134 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
24135 }
24136 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
24137 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
24138 }
24139 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
24140 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
24141 }
24142 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
24143 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
24144 }
24145 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
24146 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
24147 }
24148 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
24149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
24150 }
24151 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
24152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24153 }
24154 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
24155 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
24156 }
24157 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
24158 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
24159 }
24160 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
24161 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
24162 }
24163 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
24164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
24165 }
24166 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
24167 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
24168 }
24169 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
24170 return (void *)((wxObject *) ((wxPrintDialogData *) x));
24171 }
24172 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
24173 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
24174 }
24175 static void *_p_wxValidatorTo_p_wxObject(void *x) {
24176 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
24177 }
24178 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
24179 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24180 }
24181 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
24182 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
24183 }
24184 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
24185 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24186 }
24187 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
24188 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24189 }
24190 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
24191 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24192 }
24193 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
24194 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
24195 }
24196 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
24197 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
24198 }
24199 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
24200 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
24201 }
24202 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
24203 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
24204 }
24205 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
24206 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
24207 }
24208 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
24209 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
24210 }
24211 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
24212 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
24213 }
24214 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
24215 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
24216 }
24217 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
24218 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
24219 }
24220 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
24221 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
24222 }
24223 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
24224 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
24225 }
24226 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
24227 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
24228 }
24229 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
24230 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
24231 }
24232 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
24233 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
24234 }
24235 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
24236 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
24237 }
24238 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
24239 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
24240 }
24241 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24242 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
24243 }
24244 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24245 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
24246 }
24247 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
24248 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
24249 }
24250 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24251 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
24252 }
24253 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24254 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24255 }
24256 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
24257 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24258 }
24259 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
24260 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24261 }
24262 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
24263 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
24264 }
24265 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
24266 return (void *)((wxWindow *) ((wxMenuBar *) x));
24267 }
24268 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
24269 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24270 }
24271 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
24272 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24273 }
24274 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
24275 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24276 }
24277 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
24278 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24279 }
24280 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
24281 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24282 }
24283 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
24284 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24285 }
24286 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
24287 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24288 }
24289 static void *_p_wxPanelTo_p_wxWindow(void *x) {
24290 return (void *)((wxWindow *) ((wxPanel *) x));
24291 }
24292 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
24293 return (void *)((wxWindow *) ((wxStatusBar *) x));
24294 }
24295 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
24296 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
24297 }
24298 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
24299 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
24300 }
24301 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
24302 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24303 }
24304 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
24305 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24306 }
24307 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
24308 return (void *)((wxWindow *) ((wxPopupWindow *) x));
24309 }
24310 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
24311 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
24312 }
24313 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
24314 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
24315 }
24316 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
24317 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
24318 }
24319 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
24320 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
24321 }
24322 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
24323 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
24324 }
24325 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
24326 return (void *)((wxWindow *) ((wxSashWindow *) x));
24327 }
24328 static void *_p_wxControlTo_p_wxWindow(void *x) {
24329 return (void *)((wxWindow *) ((wxControl *) x));
24330 }
24331 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
24332 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24333 }
24334 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
24335 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24336 }
24337 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
24338 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24339 }
24340 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
24341 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
24342 }
24343 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
24344 return (void *)((wxWindow *) ((wxPyWindow *) x));
24345 }
24346 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
24347 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24348 }
24349 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
24350 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24351 }
24352 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
24353 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24354 }
24355 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
24356 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
24357 }
24358 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
24359 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24360 }
24361 static void *_p_wxFrameTo_p_wxWindow(void *x) {
24362 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
24363 }
24364 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
24365 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24366 }
24367 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
24368 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24369 }
24370 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
24371 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24372 }
24373 static void *_p_wxDialogTo_p_wxWindow(void *x) {
24374 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
24375 }
24376 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
24377 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24378 }
24379 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
24380 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24381 }
24382 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
24383 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24384 }
24385 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
24386 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
24387 }
24388 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
24389 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
24390 }
24391 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
24392 return (void *)((wxDialog *) ((wxColourDialog *) x));
24393 }
24394 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
24395 return (void *)((wxDialog *) ((wxDirDialog *) x));
24396 }
24397 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
24398 return (void *)((wxDialog *) ((wxFontDialog *) x));
24399 }
24400 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
24401 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
24402 }
24403 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
24404 return (void *)((wxDialog *) ((wxPrintDialog *) x));
24405 }
24406 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
24407 return (void *)((wxDialog *) ((wxFileDialog *) x));
24408 }
24409 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
24410 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
24411 }
24412 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
24413 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
24414 }
24415 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
24416 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
24417 }
24418 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
24419 return (void *)((wxDialog *) ((wxMessageDialog *) x));
24420 }
24421 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
24422 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
24423 }
24424 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
24425 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
24426 }
24427 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
24428 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
24429 }
24430 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
24431 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24432 }
24433 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
24434 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24435 }
24436 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
24437 return (void *)((wxPanel *) ((wxPyPanel *) x));
24438 }
24439 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
24440 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
24441 }
24442 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
24443 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
24444 }
24445 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
24446 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24447 }
24448 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
24449 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
24450 }
24451 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
24452 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
24453 }
24454 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
24455 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
24456 }
24457 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
24458 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
24459 }
24460 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
24461 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
24462 }
24463 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
24464 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24465 }
24466 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
24467 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
24468 }
24469 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
24470 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
24471 }
24472 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
24473 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
24474 }
24475 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
24476 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
24477 }
24478 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
24479 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
24480 }
24481 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
24482 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24483 }
24484 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}};
24485 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}};
24486 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}};
24487 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}};
24488 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}};
24489 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}};
24490 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}};
24491 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}};
24492 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}};
24493 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}};
24494 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}};
24495 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}};
24496 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}};
24497 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}};
24498 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}};
24499 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}};
24500 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}};
24501 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}};
24502 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}};
24503 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}};
24504 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}};
24505 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}};
24506 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}};
24507 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}};
24508 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}};
24509 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}};
24510 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}};
24511 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}};
24512 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}};
24513 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}};
24514 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}};
24515 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}};
24516 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}};
24517 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}};
24518 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}};
24519 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}};
24520 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}};
24521 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}};
24522 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}};
24523 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}};
24524 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}};
24525 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}};
24526 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}};
24527 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}};
24528 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}};
24529 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}};
24530 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}};
24531 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}};
24532 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}};
24533 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}};
24534 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}};
24535 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}};
24536 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}};
24537 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}};
24538 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}};
24539 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}};
24540 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}};
24541 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}};
24542 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}};
24543 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}};
24544 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}};
24545 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}};
24546 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}};
24547 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}};
24548 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}};
24549 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}};
24550 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}};
24551 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}};
24552 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}};
24553 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}};
24554 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}};
24555 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}};
24556 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}};
24557 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}};
24558 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}};
24559 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}};
24560 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}};
24561 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}};
24562 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}};
24563 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}};
24564 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}};
24565 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}};
24566 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}};
24567 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}};
24568
24569 static swig_type_info *swig_types_initial[] = {
24570 _swigt__p_wxQueryLayoutInfoEvent,
24571 _swigt__p_wxPreviewFrame,
24572 _swigt__p_wxPyPreviewFrame,
24573 _swigt__p_wxPyPanel,
24574 _swigt__p_wxMenu,
24575 _swigt__p_wxPrintData,
24576 _swigt__p_wxFontData,
24577 _swigt__p_wxEvent,
24578 _swigt__p_wxTaskBarIcon,
24579 _swigt__p_wxIconBundle,
24580 _swigt__p_wxLayoutAlgorithm,
24581 _swigt__p_wxFindDialogEvent,
24582 _swigt__p_wxPreviewCanvas,
24583 _swigt__p_wxFont,
24584 _swigt__p_wxSplitterEvent,
24585 _swigt__p_wxRegion,
24586 _swigt__p_wxFindReplaceData,
24587 _swigt__p_int,
24588 _swigt__p_wxSize,
24589 _swigt__p_wxDC,
24590 _swigt__p_wxIcon,
24591 _swigt__p_wxMDIChildFrame,
24592 _swigt__p_wxColourData,
24593 _swigt__p_wxNotifyEvent,
24594 _swigt__p_wxPyWindow,
24595 _swigt__p_wxSplashScreen,
24596 _swigt__p_wxFindReplaceDialog,
24597 _swigt__p_wxProgressDialog,
24598 _swigt__p_wxMessageDialog,
24599 _swigt__p_wxTextEntryDialog,
24600 _swigt__p_wxSingleChoiceDialog,
24601 _swigt__p_wxMultiChoiceDialog,
24602 _swigt__p_wxFileDialog,
24603 _swigt__p_wxPrinter,
24604 _swigt__p_wxArrayInt,
24605 _swigt__p_wxEvtHandler,
24606 _swigt__p_wxCalculateLayoutEvent,
24607 _swigt__p_wxPyHtmlListBox,
24608 _swigt__p_wxPyVListBox,
24609 _swigt__p_wxRect,
24610 _swigt__p_char,
24611 _swigt__p_wxMiniFrame,
24612 _swigt__p_wxFrame,
24613 _swigt__p_wxPyPrintout,
24614 _swigt__p_wxTaskBarIconEvent,
24615 _swigt__p_wxScrollWinEvent,
24616 _swigt__p_wxStatusBar,
24617 _swigt__p_wxMDIParentFrame,
24618 _swigt__p_wxPoint,
24619 _swigt__p_wxObject,
24620 _swigt__p_wxOutputStream,
24621 _swigt__p_unsigned_long,
24622 _swigt__p_wxMDIClientWindow,
24623 _swigt__p_wxTipWindow,
24624 _swigt__p_wxSashLayoutWindow,
24625 _swigt__p_wxSplitterWindow,
24626 _swigt__p_wxPyVScrolledWindow,
24627 _swigt__p_wxPyPopupTransientWindow,
24628 _swigt__p_wxPopupWindow,
24629 _swigt__p_wxSashWindow,
24630 _swigt__p_wxTopLevelWindow,
24631 _swigt__p_wxWindow,
24632 _swigt__p_wxScrolledWindow,
24633 _swigt__p_wxSplashScreenWindow,
24634 _swigt__p_wxMenuBar,
24635 _swigt__p_wxPrintPreview,
24636 _swigt__p_wxSashEvent,
24637 _swigt__p_wxString,
24638 _swigt__p_wxPyPrintPreview,
24639 _swigt__p_wxFontDialog,
24640 _swigt__p_wxDirDialog,
24641 _swigt__p_wxColourDialog,
24642 _swigt__p_wxDialog,
24643 _swigt__p_wxPanel,
24644 _swigt__p_wxPageSetupDialog,
24645 _swigt__p_wxPrintDialog,
24646 _swigt__p_wxBitmap,
24647 _swigt__p_wxCommandEvent,
24648 _swigt__p_wxPreviewControlBar,
24649 _swigt__p_wxPyPreviewControlBar,
24650 _swigt__p_wxColour,
24651 _swigt__p_wxToolBar,
24652 _swigt__p_wxPageSetupDialogData,
24653 _swigt__p_wxPrintDialogData,
24654 0
24655 };
24656
24657
24658 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24659
24660 static swig_const_info swig_const_table[] = {
24661 {0}};
24662
24663 #ifdef __cplusplus
24664 }
24665 #endif
24666
24667 #ifdef __cplusplus
24668 extern "C"
24669 #endif
24670 SWIGEXPORT(void) SWIG_init(void) {
24671 static PyObject *SWIG_globals = 0;
24672 static int typeinit = 0;
24673 PyObject *m, *d;
24674 int i;
24675 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
24676 m = Py_InitModule((char *) SWIG_name, SwigMethods);
24677 d = PyModule_GetDict(m);
24678
24679 if (!typeinit) {
24680 for (i = 0; swig_types_initial[i]; i++) {
24681 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
24682 }
24683 typeinit = 1;
24684 }
24685 SWIG_InstallConstants(d,swig_const_table);
24686
24687 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
24688 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
24689 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
24690 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
24691 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
24692 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
24693 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
24694 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
24695 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
24696 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
24697 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
24698 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
24699 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
24700 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
24701 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
24702 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
24703 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
24704 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
24705 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
24706 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
24707 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
24708 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
24709 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
24710 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
24711 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
24712 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
24713 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
24714 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
24715 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
24716 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
24717 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
24718 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
24719 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
24720 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
24721 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
24722 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
24723 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
24724 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
24725 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
24726 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
24727 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
24728 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
24729 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
24730 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
24731 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
24732 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
24733 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
24734 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
24735 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
24736 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
24737 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
24738 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
24739 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
24740 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
24741 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
24742 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
24743 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
24744 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
24745 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
24746 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
24747 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
24748 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
24749 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
24750 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
24751 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
24752 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
24753 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
24754
24755 // Map renamed classes back to their common name for OOR
24756 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24757 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24758 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24759
24760 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
24761 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
24762 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
24763 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
24764 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
24765 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
24766 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
24767 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
24768 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
24769 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
24770 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
24771 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
24772 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
24773 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
24774 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
24775 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
24776 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
24777 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
24778 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
24779 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
24780 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
24781 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
24782 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
24783 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
24784 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
24785 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
24786 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
24787 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
24788 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
24789 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
24790 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
24791 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
24792 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
24793 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
24794 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
24795 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
24796 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
24797 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
24798 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
24799 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
24800 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
24801 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
24802 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
24803 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
24804 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
24805 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
24806 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
24807 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
24808 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
24809 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
24810 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
24811 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
24812 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
24813 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
24814 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
24815 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
24816 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
24817 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
24818 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
24819 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
24820
24821 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
24822
24823 }
24824