]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/windows_wrap.cpp
wx.StaticBox and siblings creation order, and other fixes from Kevin Ollivier
[wxWidgets.git] / wxPython / src / mac / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #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_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxBitmap swig_types[77]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294 static swig_type_info *swig_types[86];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
303
304 #define SWIG_name "_windows"
305
306 /* Auxiliar swig macros */
307
308 #ifdef __cplusplus
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #else
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
321 #endif
322
323 #else /* C case */
324
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
333
334 #endif /* __cplusplus */
335
336
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347
348
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351
352
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyPanelNameStr(wxPanelNameStr);
355
356
357
358 #include <limits.h>
359
360
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value, const char* type,
363 long min_value, long max_value)
364 {
365 if (!PyErr_Occurred()) {
366 if (value < min_value) {
367 PyObject *err =
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value, type, min_value);
370
371 PyErr_SetObject(PyExc_OverflowError, err);
372 Py_DECREF(err);
373 } else if (value > max_value) {
374 PyObject *err =
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value, type, max_value);
377 PyErr_SetObject(PyExc_OverflowError, err);
378 Py_DECREF(err);
379 }
380 }
381 return value;
382 }
383
384
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject * obj)
387 {
388 if (PyNumber_Check(obj))
389 return PyInt_AsLong(obj);
390 else {
391 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
392 obj->ob_type->tp_name);
393 PyErr_SetObject(PyExc_TypeError, errmsg);
394 Py_DECREF(errmsg);
395 return 0;
396 }
397 }
398
399
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject *obj)
403 {
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj),
406 "int", INT_MIN, INT_MAX));
407 }
408 #else
409 #define SWIG_AsInt SWIG_AsLong
410 #endif
411
412
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject* obj)
415 {
416 SWIG_AsInt(obj);
417 if (PyErr_Occurred()) {
418 PyErr_Clear();
419 return 0;
420 } else {
421 return 1;
422 }
423 }
424
425
426 SWIGSTATICINLINE(int)
427 SWIG_CheckLong(PyObject* obj)
428 {
429 SWIG_AsLong(obj);
430 if (PyErr_Occurred()) {
431 PyErr_Clear();
432 return 0;
433 } else {
434 return 1;
435 }
436 }
437
438
439 SWIGSTATICINLINE(bool)
440 SWIG_AsBool(PyObject *obj)
441 {
442 return PyObject_IsTrue(obj) ? true : false;
443 }
444
445
446 SWIGSTATICINLINE(int)
447 SWIG_CheckBool(PyObject* obj)
448 {
449 SWIG_AsBool(obj);
450 if (PyErr_Occurred()) {
451 PyErr_Clear();
452 return 0;
453 } else {
454 return 1;
455 }
456 }
457
458
459 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
460 PyObject* o2;
461 PyObject* o3;
462
463 if (!target) {
464 target = o;
465 } else if (target == Py_None) {
466 Py_DECREF(Py_None);
467 target = o;
468 } else {
469 if (!PyTuple_Check(target)) {
470 o2 = target;
471 target = PyTuple_New(1);
472 PyTuple_SetItem(target, 0, o2);
473 }
474 o3 = PyTuple_New(1);
475 PyTuple_SetItem(o3, 0, o);
476
477 o2 = target;
478 target = PySequence_Concat(o2, o3);
479 Py_DECREF(o2);
480 Py_DECREF(o3);
481 }
482 return target;
483 }
484
485
486 SWIGSTATICINLINE(double)
487 SWIG_AsDouble(PyObject *obj)
488 {
489 if (PyNumber_Check(obj))
490 return PyFloat_AsDouble(obj);
491 else {
492 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
493 obj->ob_type->tp_name);
494 PyErr_SetObject(PyExc_TypeError, errmsg);
495 Py_DECREF(errmsg);
496 return 0;
497 }
498 }
499
500
501 SWIGSTATICINLINE(int)
502 SWIG_CheckDouble(PyObject* obj)
503 {
504 SWIG_AsDouble(obj);
505 if (PyErr_Occurred()) {
506 PyErr_Clear();
507 return 0;
508 } else {
509 return 1;
510 }
511 }
512
513 static const wxString wxPyFrameNameStr(wxFrameNameStr);
514 static const wxString wxPyDialogNameStr(wxDialogNameStr);
515 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
516 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
517 bool wxDialog_IsModalShowing(wxDialog *self){
518
519
520
521 return self->IsModalShowing();
522
523 }
524
525
526 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
527 wxRect r;
528 self->GetFieldRect(i, r);
529 return r;
530 }
531 static const wxString wxPySplitterNameStr(wxT("splitter"));
532 static const wxString wxPySashNameStr(wxT("sashWindow"));
533 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
534
535 #include <wx/popupwin.h>
536
537
538 class wxPopupWindow : public wxWindow {
539 public:
540 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
541 wxPopupWindow() { wxPyRaiseNotImplemented(); }
542 };
543
544 class wxPyPopupTransientWindow : public wxPopupWindow
545 {
546 public:
547 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
548 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
549 };
550
551
552 #include <wx/tipwin.h>
553
554 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
555 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
556 }
557
558 #include <wx/tipwin.h>
559
560
561 #include <wx/vscroll.h>
562
563
564 class wxPyVScrolledWindow : public wxVScrolledWindow
565 {
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
567 public:
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
569
570 wxPyVScrolledWindow(wxWindow *parent,
571 wxWindowID id = wxID_ANY,
572 const wxPoint& pos = wxDefaultPosition,
573 const wxSize& size = wxDefaultSize,
574 long style = 0,
575 const wxString& name = wxPyPanelNameStr)
576 : wxVScrolledWindow(parent, id, pos, size, style, name)
577 {}
578
579 // Overridable virtuals
580
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
584
585
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
589 // once
590 //
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
596 //
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
598 // usual
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
600
601
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
606 // its own logic
607 //
608 // this function should return the best guess for the total height it may
609 // make
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
611
612
613 // Also expose some other interesting protected methods
614
615
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
618 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
620
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
625
626
627 PYPRIVATE;
628 };
629
630 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
631
632 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
633 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
634 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
635
636
637 SWIGSTATICINLINE(unsigned long)
638 SWIG_AsUnsignedLong(PyObject * obj)
639 {
640 if (PyLong_Check(obj)) {
641 return PyLong_AsUnsignedLong(obj);
642 } else {
643 long i = SWIG_AsLong(obj);
644 if ( !PyErr_Occurred() && (i < 0)) {
645 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
646 }
647 return i;
648 }
649 }
650
651
652 SWIGSTATICINLINE(int)
653 SWIG_CheckUnsignedLong(PyObject* obj)
654 {
655 SWIG_AsUnsignedLong(obj);
656 if (PyErr_Occurred()) {
657 PyErr_Clear();
658 return 0;
659 } else {
660 return 1;
661 }
662 }
663
664
665 SWIGSTATICINLINE(PyObject* )
666 SWIG_FromUnsignedLong(unsigned long value)
667 {
668 return (value > LONG_MAX) ?
669 PyLong_FromUnsignedLong(value)
670 : PyInt_FromLong(swig_numeric_cast(long,value));
671 }
672
673
674 #include <wx/vlbox.h>
675
676 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
677
678 class wxPyVListBox : public wxVListBox
679 {
680 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
681 public:
682 wxPyVListBox() : wxVListBox() {}
683
684 wxPyVListBox(wxWindow *parent,
685 wxWindowID id = wxID_ANY,
686 const wxPoint& pos = wxDefaultPosition,
687 const wxSize& size = wxDefaultSize,
688 long style = 0,
689 const wxString& name = wxPyVListBoxNameStr)
690 : wxVListBox(parent, id, pos, size, style, name)
691 {}
692
693 // Overridable virtuals
694
695 // the derived class must implement this function to actually draw the item
696 // with the given index on the provided DC
697 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
698 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
699
700
701 // the derived class must implement this method to return the height of the
702 // specified item
703 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
704 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
705
706
707 // this method may be used to draw separators between the lines; note that
708 // the rectangle may be modified, typically to deflate it a bit before
709 // passing to OnDrawItem()
710 //
711 // the base class version doesn't do anything
712 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
713 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
714
715
716 // this method is used to draw the items background and, maybe, a border
717 // around it
718 //
719 // the base class version implements a reasonable default behaviour which
720 // consists in drawing the selected item with the standard background
721 // colour and drawing a border around the item if it is either selected or
722 // current
723 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
724 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
725
726
727 PYPRIVATE;
728 };
729
730 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
731
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
733 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
734 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
735 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
736
737
738
739 #include <wx/htmllbox.h>
740
741
742 class wxPyHtmlListBox : public wxHtmlListBox
743 {
744 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
745 public:
746 wxPyHtmlListBox() : wxHtmlListBox() {}
747
748 wxPyHtmlListBox(wxWindow *parent,
749 wxWindowID id = wxID_ANY,
750 const wxPoint& pos = wxDefaultPosition,
751 const wxSize& size = wxDefaultSize,
752 long style = 0,
753 const wxString& name = wxPyVListBoxNameStr)
754 : wxHtmlListBox(parent, id, pos, size, style, name)
755 {}
756
757 // Overridable virtuals
758
759 // this method must be implemented in the derived class and should return
760 // the body (i.e. without <html>) of the HTML for the given item
761 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
762
763 // this function may be overridden to decorate HTML returned by OnGetItem()
764 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
765
766 // TODO:
767 // // this method allows to customize the selection appearance: it may be used
768 // // to specify the colour of the text which normally has the given colour
769 // // colFg when it is inside the selection
770 // //
771 // // by default, the original colour is not used at all and all text has the
772 // // same (default for this system) colour inside selection
773 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
774
775 // // this is the same as GetSelectedTextColour() but allows to customize the
776 // // background colour -- this is even more rarely used as you can change it
777 // // globally using SetSelectionBackground()
778 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
779
780
781 PYPRIVATE;
782 };
783
784
785 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
786
787 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
788 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
789
790
791
792
793
794 #ifdef __WXMAC__
795 // implement dummy classes and such for wxMac
796
797 class wxTaskBarIcon : public wxEvtHandler
798 {
799 public:
800 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
801 };
802
803
804 class wxTaskBarIconEvent : public wxEvent
805 {
806 public:
807 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
808 { wxPyRaiseNotImplemented(); }
809 virtual wxEvent* Clone() const { return NULL; }
810 };
811
812 enum {
813 wxEVT_TASKBAR_MOVE = 0,
814 wxEVT_TASKBAR_LEFT_DOWN = 0,
815 wxEVT_TASKBAR_LEFT_UP = 0,
816 wxEVT_TASKBAR_RIGHT_DOWN = 0,
817 wxEVT_TASKBAR_RIGHT_UP = 0,
818 wxEVT_TASKBAR_LEFT_DCLICK = 0,
819 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
820 };
821 #endif
822
823 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
824
825
826
827 }
828 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
829 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
830 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
831 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
832 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
833 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
834 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
835 wxArrayString arr;
836 self->GetFilenames(arr);
837 return wxArrayString2PyList_helper(arr);
838 }
839 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
840 wxArrayString arr;
841 self->GetPaths(arr);
842 return wxArrayString2PyList_helper(arr);
843 }
844 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
845 return wxArrayInt2PyList_helper(self->GetSelections());
846 }
847 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
848 return new wxSingleChoiceDialog(parent, message, caption,
849 choices, choices_array, NULL, style, pos);
850 }
851
852 #include <wx/mdi.h>
853
854 // C++ version of Python aware wxWindow
855 class wxPyWindow : public wxWindow
856 {
857 DECLARE_DYNAMIC_CLASS(wxPyWindow)
858 public:
859 wxPyWindow() : wxWindow() {}
860 wxPyWindow(wxWindow* parent, const wxWindowID id,
861 const wxPoint& pos = wxDefaultPosition,
862 const wxSize& size = wxDefaultSize,
863 long style = 0,
864 const wxString& name = wxPyPanelNameStr)
865 : wxWindow(parent, id, pos, size, style, name) {}
866
867
868 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
869 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
870 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
871 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
872
873 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
875 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
876
877 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
878 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
879
880 DEC_PYCALLBACK__(InitDialog);
881 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
882 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
883 DEC_PYCALLBACK_BOOL_(Validate);
884
885 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
886 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
887 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
888
889 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
890 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
891
892 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
893 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
894
895 PYPRIVATE;
896 };
897
898 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
899
900 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
901 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
902 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
903 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
904
905 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
906 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
907 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
908
909 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
910 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
911
912 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
913 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
914 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
915 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
916
917 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
918 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
919 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
920
921 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
922 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
923
924 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
925 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
926
927
928 // C++ version of Python aware wxPanel
929 class wxPyPanel : public wxPanel
930 {
931 DECLARE_DYNAMIC_CLASS(wxPyPanel)
932 public:
933 wxPyPanel() : wxPanel() {}
934 wxPyPanel(wxWindow* parent, const wxWindowID id,
935 const wxPoint& pos = wxDefaultPosition,
936 const wxSize& size = wxDefaultSize,
937 long style = 0,
938 const wxString& name = wxPyPanelNameStr)
939 : wxPanel(parent, id, pos, size, style, name) {}
940
941
942 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
943 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
944 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
945 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
946
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
949 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
950
951 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
952 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
953
954 DEC_PYCALLBACK__(InitDialog);
955 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
956 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
957 DEC_PYCALLBACK_BOOL_(Validate);
958
959 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
960 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
961 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
962
963 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
964 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
965
966 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
967 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
968
969 PYPRIVATE;
970 };
971
972 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
973
974 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
975 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
976 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
977 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
978
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
981 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
982
983 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
984 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
985
986 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
988 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
989 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
990
991 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
992 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
993 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
994
995 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
996 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
997
998 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
999 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1000
1001 // C++ version of Python aware wxScrolledWindow
1002 class wxPyScrolledWindow : public wxScrolledWindow
1003 {
1004 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1005 public:
1006 wxPyScrolledWindow() : wxScrolledWindow() {}
1007 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1008 const wxPoint& pos = wxDefaultPosition,
1009 const wxSize& size = wxDefaultSize,
1010 long style = 0,
1011 const wxString& name = wxPyPanelNameStr)
1012 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1013
1014
1015 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1016 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1017 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1018 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1019
1020 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1021 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1022 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1023
1024 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1025 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1026
1027 DEC_PYCALLBACK__(InitDialog);
1028 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1029 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1030 DEC_PYCALLBACK_BOOL_(Validate);
1031
1032 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1033 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1034 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1035
1036 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1037 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1038
1039 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1040 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1041
1042 PYPRIVATE;
1043 };
1044
1045 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1046
1047 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1048 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1049 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1050 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1051
1052 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1053 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1054 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1055
1056 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1057 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1058
1059 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1060 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1061 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1062 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1063
1064 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1065 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1066 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1067
1068 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1069 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1070
1071 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1072 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1073
1074
1075 #include "wx/wxPython/printfw.h"
1076
1077
1078 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1079 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1080
1081
1082
1083 // Since this one would be tough and ugly to do with the Macros...
1084 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1085 bool hadErr = False;
1086 bool found;
1087
1088 bool blocked = wxPyBeginBlockThreads();
1089 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1090 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1091 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1092 PyObject* val;
1093
1094 val = PyTuple_GetItem(result, 0);
1095 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1096 else hadErr = True;
1097
1098 val = PyTuple_GetItem(result, 1);
1099 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1100 else hadErr = True;
1101
1102 val = PyTuple_GetItem(result, 2);
1103 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1104 else hadErr = True;
1105
1106 val = PyTuple_GetItem(result, 3);
1107 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1108 else hadErr = True;
1109 }
1110 else
1111 hadErr = True;
1112
1113 if (hadErr) {
1114 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1115 PyErr_Print();
1116 }
1117 Py_DECREF(result);
1118 }
1119 wxPyEndBlockThreads(blocked);
1120 if (! found)
1121 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1122 }
1123
1124 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1125 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1126 }
1127
1128
1129 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1130 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1131 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1132 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1133 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1134 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1135 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1136
1137
1138
1139
1140
1141 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1142 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1143 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1144
1145
1146 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1147 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1148 bool rval=False; \
1149 bool found; \
1150 bool blocked = wxPyBeginBlockThreads(); \
1151 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1152 PyObject* win = wxPyMake_wxObject(a); \
1153 PyObject* dc = wxPyMake_wxObject(&b); \
1154 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1155 Py_DECREF(win); \
1156 Py_DECREF(dc); \
1157 } \
1158 wxPyEndBlockThreads(blocked); \
1159 if (! found) \
1160 rval = PCLASS::CBNAME(a, b); \
1161 return rval; \
1162 } \
1163 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1164 return PCLASS::CBNAME(a, b); \
1165 }
1166
1167
1168
1169
1170 class wxPyPrintPreview : public wxPrintPreview
1171 {
1172 DECLARE_CLASS(wxPyPrintPreview)
1173 public:
1174 wxPyPrintPreview(wxPyPrintout* printout,
1175 wxPyPrintout* printoutForPrinting,
1176 wxPrintDialogData* data=NULL)
1177 : wxPrintPreview(printout, printoutForPrinting, data)
1178 {}
1179 wxPyPrintPreview(wxPyPrintout* printout,
1180 wxPyPrintout* printoutForPrinting,
1181 wxPrintData* data=NULL)
1182 : wxPrintPreview(printout, printoutForPrinting, data)
1183 {}
1184
1185 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1186 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1187 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1188 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1189 DEC_PYCALLBACK_VOID_INT(SetZoom);
1190 DEC_PYCALLBACK_BOOL_BOOL(Print);
1191 DEC_PYCALLBACK_VOID_(DetermineScaling);
1192
1193 PYPRIVATE;
1194 };
1195
1196 // Stupid renamed classes... Fix this in 2.5...
1197 #if defined(__WXMSW__)
1198 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1199 #elif defined(__WXMAC__)
1200 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1201 #else
1202 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1203 #endif
1204
1205 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1206 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1207 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1208 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1209 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1210 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1211 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1212
1213
1214 class wxPyPreviewFrame : public wxPreviewFrame
1215 {
1216 DECLARE_CLASS(wxPyPreviewFrame);
1217 public:
1218 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1219 const wxString& title,
1220 const wxPoint& pos = wxDefaultPosition,
1221 const wxSize& size = wxDefaultSize,
1222 long style = wxDEFAULT_FRAME_STYLE,
1223 const wxString& name = wxPyFrameNameStr)
1224 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1225 {}
1226
1227 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1228 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1229
1230 DEC_PYCALLBACK_VOID_(Initialize);
1231 DEC_PYCALLBACK_VOID_(CreateCanvas);
1232 DEC_PYCALLBACK_VOID_(CreateControlBar);
1233
1234 PYPRIVATE;
1235 };
1236
1237 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1238
1239 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1240 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1241 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1242
1243
1244 class wxPyPreviewControlBar : public wxPreviewControlBar
1245 {
1246 DECLARE_CLASS(wxPyPreviewControlBar);
1247 public:
1248 wxPyPreviewControlBar(wxPrintPreview *preview,
1249 long buttons,
1250 wxWindow *parent,
1251 const wxPoint& pos = wxDefaultPosition,
1252 const wxSize& size = wxDefaultSize,
1253 long style = 0,
1254 const wxString& name = wxPyPanelNameStr)
1255 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1256 {}
1257
1258 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1259
1260 DEC_PYCALLBACK_VOID_(CreateButtons);
1261 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1262
1263 PYPRIVATE;
1264 };
1265
1266 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1267 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1268 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1269
1270 #ifdef __cplusplus
1271 extern "C" {
1272 #endif
1273 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1274 PyObject *resultobj;
1275 wxWindow *arg1 = (wxWindow *) 0 ;
1276 int arg2 = (int) (int)-1 ;
1277 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1278 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1279 wxSize const &arg4_defvalue = wxDefaultSize ;
1280 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1281 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1282 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1283 wxString *arg6 = (wxString *) &arg6_defvalue ;
1284 wxPanel *result;
1285 wxPoint temp3 ;
1286 wxSize temp4 ;
1287 bool temp6 = False ;
1288 PyObject * obj0 = 0 ;
1289 PyObject * obj1 = 0 ;
1290 PyObject * obj2 = 0 ;
1291 PyObject * obj3 = 0 ;
1292 PyObject * obj4 = 0 ;
1293 PyObject * obj5 = 0 ;
1294 char *kwnames[] = {
1295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1296 };
1297
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1301 if (obj1) {
1302 arg2 = (int const) SWIG_AsInt(obj1);
1303 if (PyErr_Occurred()) SWIG_fail;
1304 }
1305 if (obj2) {
1306 {
1307 arg3 = &temp3;
1308 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1309 }
1310 }
1311 if (obj3) {
1312 {
1313 arg4 = &temp4;
1314 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1315 }
1316 }
1317 if (obj4) {
1318 arg5 = (long) SWIG_AsLong(obj4);
1319 if (PyErr_Occurred()) SWIG_fail;
1320 }
1321 if (obj5) {
1322 {
1323 arg6 = wxString_in_helper(obj5);
1324 if (arg6 == NULL) SWIG_fail;
1325 temp6 = True;
1326 }
1327 }
1328 {
1329 PyThreadState* __tstate = wxPyBeginAllowThreads();
1330 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1331
1332 wxPyEndAllowThreads(__tstate);
1333 if (PyErr_Occurred()) SWIG_fail;
1334 }
1335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1336 {
1337 if (temp6)
1338 delete arg6;
1339 }
1340 return resultobj;
1341 fail:
1342 {
1343 if (temp6)
1344 delete arg6;
1345 }
1346 return NULL;
1347 }
1348
1349
1350 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1351 PyObject *resultobj;
1352 wxPanel *result;
1353 char *kwnames[] = {
1354 NULL
1355 };
1356
1357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1358 {
1359 PyThreadState* __tstate = wxPyBeginAllowThreads();
1360 result = (wxPanel *)new wxPanel();
1361
1362 wxPyEndAllowThreads(__tstate);
1363 if (PyErr_Occurred()) SWIG_fail;
1364 }
1365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1366 return resultobj;
1367 fail:
1368 return NULL;
1369 }
1370
1371
1372 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1373 PyObject *resultobj;
1374 wxPanel *arg1 = (wxPanel *) 0 ;
1375 wxWindow *arg2 = (wxWindow *) 0 ;
1376 int arg3 = (int) (int)-1 ;
1377 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1378 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1379 wxSize const &arg5_defvalue = wxDefaultSize ;
1380 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1381 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1382 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1383 wxString *arg7 = (wxString *) &arg7_defvalue ;
1384 bool result;
1385 wxPoint temp4 ;
1386 wxSize temp5 ;
1387 bool temp7 = False ;
1388 PyObject * obj0 = 0 ;
1389 PyObject * obj1 = 0 ;
1390 PyObject * obj2 = 0 ;
1391 PyObject * obj3 = 0 ;
1392 PyObject * obj4 = 0 ;
1393 PyObject * obj5 = 0 ;
1394 PyObject * obj6 = 0 ;
1395 char *kwnames[] = {
1396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1397 };
1398
1399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1402 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1404 if (obj2) {
1405 arg3 = (int const) SWIG_AsInt(obj2);
1406 if (PyErr_Occurred()) SWIG_fail;
1407 }
1408 if (obj3) {
1409 {
1410 arg4 = &temp4;
1411 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1412 }
1413 }
1414 if (obj4) {
1415 {
1416 arg5 = &temp5;
1417 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1418 }
1419 }
1420 if (obj5) {
1421 arg6 = (long) SWIG_AsLong(obj5);
1422 if (PyErr_Occurred()) SWIG_fail;
1423 }
1424 if (obj6) {
1425 {
1426 arg7 = wxString_in_helper(obj6);
1427 if (arg7 == NULL) SWIG_fail;
1428 temp7 = True;
1429 }
1430 }
1431 {
1432 PyThreadState* __tstate = wxPyBeginAllowThreads();
1433 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1434
1435 wxPyEndAllowThreads(__tstate);
1436 if (PyErr_Occurred()) SWIG_fail;
1437 }
1438 {
1439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1440 }
1441 {
1442 if (temp7)
1443 delete arg7;
1444 }
1445 return resultobj;
1446 fail:
1447 {
1448 if (temp7)
1449 delete arg7;
1450 }
1451 return NULL;
1452 }
1453
1454
1455 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1456 PyObject *resultobj;
1457 wxPanel *arg1 = (wxPanel *) 0 ;
1458 PyObject * obj0 = 0 ;
1459 char *kwnames[] = {
1460 (char *) "self", NULL
1461 };
1462
1463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1466 {
1467 PyThreadState* __tstate = wxPyBeginAllowThreads();
1468 (arg1)->InitDialog();
1469
1470 wxPyEndAllowThreads(__tstate);
1471 if (PyErr_Occurred()) SWIG_fail;
1472 }
1473 Py_INCREF(Py_None); resultobj = Py_None;
1474 return resultobj;
1475 fail:
1476 return NULL;
1477 }
1478
1479
1480 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1481 PyObject *obj;
1482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1483 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1484 Py_INCREF(obj);
1485 return Py_BuildValue((char *)"");
1486 }
1487 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1488 PyObject *resultobj;
1489 wxWindow *arg1 = (wxWindow *) 0 ;
1490 int arg2 = (int) (int)-1 ;
1491 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1492 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1493 wxSize const &arg4_defvalue = wxDefaultSize ;
1494 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1495 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1496 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1497 wxString *arg6 = (wxString *) &arg6_defvalue ;
1498 wxScrolledWindow *result;
1499 wxPoint temp3 ;
1500 wxSize temp4 ;
1501 bool temp6 = 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 char *kwnames[] = {
1509 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1510 };
1511
1512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1515 if (obj1) {
1516 arg2 = (int const) SWIG_AsInt(obj1);
1517 if (PyErr_Occurred()) SWIG_fail;
1518 }
1519 if (obj2) {
1520 {
1521 arg3 = &temp3;
1522 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1523 }
1524 }
1525 if (obj3) {
1526 {
1527 arg4 = &temp4;
1528 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1529 }
1530 }
1531 if (obj4) {
1532 arg5 = (long) SWIG_AsLong(obj4);
1533 if (PyErr_Occurred()) SWIG_fail;
1534 }
1535 if (obj5) {
1536 {
1537 arg6 = wxString_in_helper(obj5);
1538 if (arg6 == NULL) SWIG_fail;
1539 temp6 = True;
1540 }
1541 }
1542 {
1543 PyThreadState* __tstate = wxPyBeginAllowThreads();
1544 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1545
1546 wxPyEndAllowThreads(__tstate);
1547 if (PyErr_Occurred()) SWIG_fail;
1548 }
1549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1550 {
1551 if (temp6)
1552 delete arg6;
1553 }
1554 return resultobj;
1555 fail:
1556 {
1557 if (temp6)
1558 delete arg6;
1559 }
1560 return NULL;
1561 }
1562
1563
1564 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1565 PyObject *resultobj;
1566 wxScrolledWindow *result;
1567 char *kwnames[] = {
1568 NULL
1569 };
1570
1571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1572 {
1573 PyThreadState* __tstate = wxPyBeginAllowThreads();
1574 result = (wxScrolledWindow *)new wxScrolledWindow();
1575
1576 wxPyEndAllowThreads(__tstate);
1577 if (PyErr_Occurred()) SWIG_fail;
1578 }
1579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1580 return resultobj;
1581 fail:
1582 return NULL;
1583 }
1584
1585
1586 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1587 PyObject *resultobj;
1588 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1589 wxWindow *arg2 = (wxWindow *) 0 ;
1590 int arg3 = (int) (int)-1 ;
1591 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1592 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1593 wxSize const &arg5_defvalue = wxDefaultSize ;
1594 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1595 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1596 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1597 wxString *arg7 = (wxString *) &arg7_defvalue ;
1598 bool result;
1599 wxPoint temp4 ;
1600 wxSize temp5 ;
1601 bool temp7 = False ;
1602 PyObject * obj0 = 0 ;
1603 PyObject * obj1 = 0 ;
1604 PyObject * obj2 = 0 ;
1605 PyObject * obj3 = 0 ;
1606 PyObject * obj4 = 0 ;
1607 PyObject * obj5 = 0 ;
1608 PyObject * obj6 = 0 ;
1609 char *kwnames[] = {
1610 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1611 };
1612
1613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1616 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1618 if (obj2) {
1619 arg3 = (int const) SWIG_AsInt(obj2);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 }
1622 if (obj3) {
1623 {
1624 arg4 = &temp4;
1625 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1626 }
1627 }
1628 if (obj4) {
1629 {
1630 arg5 = &temp5;
1631 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1632 }
1633 }
1634 if (obj5) {
1635 arg6 = (long) SWIG_AsLong(obj5);
1636 if (PyErr_Occurred()) SWIG_fail;
1637 }
1638 if (obj6) {
1639 {
1640 arg7 = wxString_in_helper(obj6);
1641 if (arg7 == NULL) SWIG_fail;
1642 temp7 = True;
1643 }
1644 }
1645 {
1646 PyThreadState* __tstate = wxPyBeginAllowThreads();
1647 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1648
1649 wxPyEndAllowThreads(__tstate);
1650 if (PyErr_Occurred()) SWIG_fail;
1651 }
1652 {
1653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1654 }
1655 {
1656 if (temp7)
1657 delete arg7;
1658 }
1659 return resultobj;
1660 fail:
1661 {
1662 if (temp7)
1663 delete arg7;
1664 }
1665 return NULL;
1666 }
1667
1668
1669 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1670 PyObject *resultobj;
1671 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1672 int arg2 ;
1673 int arg3 ;
1674 int arg4 ;
1675 int arg5 ;
1676 int arg6 = (int) 0 ;
1677 int arg7 = (int) 0 ;
1678 bool arg8 = (bool) False ;
1679 PyObject * obj0 = 0 ;
1680 PyObject * obj1 = 0 ;
1681 PyObject * obj2 = 0 ;
1682 PyObject * obj3 = 0 ;
1683 PyObject * obj4 = 0 ;
1684 PyObject * obj5 = 0 ;
1685 PyObject * obj6 = 0 ;
1686 PyObject * obj7 = 0 ;
1687 char *kwnames[] = {
1688 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1689 };
1690
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1694 arg2 = (int) SWIG_AsInt(obj1);
1695 if (PyErr_Occurred()) SWIG_fail;
1696 arg3 = (int) SWIG_AsInt(obj2);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 arg4 = (int) SWIG_AsInt(obj3);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 arg5 = (int) SWIG_AsInt(obj4);
1701 if (PyErr_Occurred()) SWIG_fail;
1702 if (obj5) {
1703 arg6 = (int) SWIG_AsInt(obj5);
1704 if (PyErr_Occurred()) SWIG_fail;
1705 }
1706 if (obj6) {
1707 arg7 = (int) SWIG_AsInt(obj6);
1708 if (PyErr_Occurred()) SWIG_fail;
1709 }
1710 if (obj7) {
1711 arg8 = (bool) SWIG_AsBool(obj7);
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
1714 {
1715 PyThreadState* __tstate = wxPyBeginAllowThreads();
1716 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1717
1718 wxPyEndAllowThreads(__tstate);
1719 if (PyErr_Occurred()) SWIG_fail;
1720 }
1721 Py_INCREF(Py_None); resultobj = Py_None;
1722 return resultobj;
1723 fail:
1724 return NULL;
1725 }
1726
1727
1728 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1729 PyObject *resultobj;
1730 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1731 int arg2 ;
1732 int arg3 ;
1733 PyObject * obj0 = 0 ;
1734 PyObject * obj1 = 0 ;
1735 PyObject * obj2 = 0 ;
1736 char *kwnames[] = {
1737 (char *) "self",(char *) "x",(char *) "y", NULL
1738 };
1739
1740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1743 arg2 = (int) SWIG_AsInt(obj1);
1744 if (PyErr_Occurred()) SWIG_fail;
1745 arg3 = (int) SWIG_AsInt(obj2);
1746 if (PyErr_Occurred()) SWIG_fail;
1747 {
1748 PyThreadState* __tstate = wxPyBeginAllowThreads();
1749 (arg1)->Scroll(arg2,arg3);
1750
1751 wxPyEndAllowThreads(__tstate);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 }
1754 Py_INCREF(Py_None); resultobj = Py_None;
1755 return resultobj;
1756 fail:
1757 return NULL;
1758 }
1759
1760
1761 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1762 PyObject *resultobj;
1763 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1764 int arg2 ;
1765 int result;
1766 PyObject * obj0 = 0 ;
1767 PyObject * obj1 = 0 ;
1768 char *kwnames[] = {
1769 (char *) "self",(char *) "orient", NULL
1770 };
1771
1772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1775 arg2 = (int) SWIG_AsInt(obj1);
1776 if (PyErr_Occurred()) SWIG_fail;
1777 {
1778 PyThreadState* __tstate = wxPyBeginAllowThreads();
1779 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1780
1781 wxPyEndAllowThreads(__tstate);
1782 if (PyErr_Occurred()) SWIG_fail;
1783 }
1784 resultobj = SWIG_FromInt((int)result);
1785 return resultobj;
1786 fail:
1787 return NULL;
1788 }
1789
1790
1791 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1792 PyObject *resultobj;
1793 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1794 int arg2 ;
1795 int arg3 ;
1796 PyObject * obj0 = 0 ;
1797 PyObject * obj1 = 0 ;
1798 PyObject * obj2 = 0 ;
1799 char *kwnames[] = {
1800 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1801 };
1802
1803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1806 arg2 = (int) SWIG_AsInt(obj1);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 arg3 = (int) SWIG_AsInt(obj2);
1809 if (PyErr_Occurred()) SWIG_fail;
1810 {
1811 PyThreadState* __tstate = wxPyBeginAllowThreads();
1812 (arg1)->SetScrollPageSize(arg2,arg3);
1813
1814 wxPyEndAllowThreads(__tstate);
1815 if (PyErr_Occurred()) SWIG_fail;
1816 }
1817 Py_INCREF(Py_None); resultobj = Py_None;
1818 return resultobj;
1819 fail:
1820 return NULL;
1821 }
1822
1823
1824 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
1825 PyObject *resultobj;
1826 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1827 int arg2 ;
1828 int arg3 ;
1829 PyObject * obj0 = 0 ;
1830 PyObject * obj1 = 0 ;
1831 PyObject * obj2 = 0 ;
1832 char *kwnames[] = {
1833 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1834 };
1835
1836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1839 arg2 = (int) SWIG_AsInt(obj1);
1840 if (PyErr_Occurred()) SWIG_fail;
1841 arg3 = (int) SWIG_AsInt(obj2);
1842 if (PyErr_Occurred()) SWIG_fail;
1843 {
1844 PyThreadState* __tstate = wxPyBeginAllowThreads();
1845 (arg1)->SetScrollRate(arg2,arg3);
1846
1847 wxPyEndAllowThreads(__tstate);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 }
1850 Py_INCREF(Py_None); resultobj = Py_None;
1851 return resultobj;
1852 fail:
1853 return NULL;
1854 }
1855
1856
1857 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
1858 PyObject *resultobj;
1859 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1860 int *arg2 = (int *) 0 ;
1861 int *arg3 = (int *) 0 ;
1862 int temp2 ;
1863 int temp3 ;
1864 PyObject * obj0 = 0 ;
1865 char *kwnames[] = {
1866 (char *) "self", NULL
1867 };
1868
1869 arg2 = &temp2;
1870 arg3 = &temp3;
1871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1874 {
1875 PyThreadState* __tstate = wxPyBeginAllowThreads();
1876 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1877
1878 wxPyEndAllowThreads(__tstate);
1879 if (PyErr_Occurred()) SWIG_fail;
1880 }
1881 Py_INCREF(Py_None); resultobj = Py_None;
1882 {
1883 PyObject *o = PyInt_FromLong((long) (*arg2));
1884 resultobj = t_output_helper(resultobj,o);
1885 }
1886 {
1887 PyObject *o = PyInt_FromLong((long) (*arg3));
1888 resultobj = t_output_helper(resultobj,o);
1889 }
1890 return resultobj;
1891 fail:
1892 return NULL;
1893 }
1894
1895
1896 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
1897 PyObject *resultobj;
1898 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1899 bool arg2 ;
1900 bool arg3 ;
1901 PyObject * obj0 = 0 ;
1902 PyObject * obj1 = 0 ;
1903 PyObject * obj2 = 0 ;
1904 char *kwnames[] = {
1905 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1911 arg2 = (bool) SWIG_AsBool(obj1);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 arg3 = (bool) SWIG_AsBool(obj2);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 {
1916 PyThreadState* __tstate = wxPyBeginAllowThreads();
1917 (arg1)->EnableScrolling(arg2,arg3);
1918
1919 wxPyEndAllowThreads(__tstate);
1920 if (PyErr_Occurred()) SWIG_fail;
1921 }
1922 Py_INCREF(Py_None); resultobj = Py_None;
1923 return resultobj;
1924 fail:
1925 return NULL;
1926 }
1927
1928
1929 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
1930 PyObject *resultobj;
1931 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1932 int *arg2 = (int *) 0 ;
1933 int *arg3 = (int *) 0 ;
1934 int temp2 ;
1935 int temp3 ;
1936 PyObject * obj0 = 0 ;
1937 char *kwnames[] = {
1938 (char *) "self", NULL
1939 };
1940
1941 arg2 = &temp2;
1942 arg3 = &temp3;
1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1946 {
1947 PyThreadState* __tstate = wxPyBeginAllowThreads();
1948 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1949
1950 wxPyEndAllowThreads(__tstate);
1951 if (PyErr_Occurred()) SWIG_fail;
1952 }
1953 Py_INCREF(Py_None); resultobj = Py_None;
1954 {
1955 PyObject *o = PyInt_FromLong((long) (*arg2));
1956 resultobj = t_output_helper(resultobj,o);
1957 }
1958 {
1959 PyObject *o = PyInt_FromLong((long) (*arg3));
1960 resultobj = t_output_helper(resultobj,o);
1961 }
1962 return resultobj;
1963 fail:
1964 return NULL;
1965 }
1966
1967
1968 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
1969 PyObject *resultobj;
1970 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1971 double arg2 ;
1972 double arg3 ;
1973 PyObject * obj0 = 0 ;
1974 PyObject * obj1 = 0 ;
1975 PyObject * obj2 = 0 ;
1976 char *kwnames[] = {
1977 (char *) "self",(char *) "xs",(char *) "ys", NULL
1978 };
1979
1980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1983 arg2 = (double) SWIG_AsDouble(obj1);
1984 if (PyErr_Occurred()) SWIG_fail;
1985 arg3 = (double) SWIG_AsDouble(obj2);
1986 if (PyErr_Occurred()) SWIG_fail;
1987 {
1988 PyThreadState* __tstate = wxPyBeginAllowThreads();
1989 (arg1)->SetScale(arg2,arg3);
1990
1991 wxPyEndAllowThreads(__tstate);
1992 if (PyErr_Occurred()) SWIG_fail;
1993 }
1994 Py_INCREF(Py_None); resultobj = Py_None;
1995 return resultobj;
1996 fail:
1997 return NULL;
1998 }
1999
2000
2001 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
2002 PyObject *resultobj;
2003 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2004 double result;
2005 PyObject * obj0 = 0 ;
2006 char *kwnames[] = {
2007 (char *) "self", NULL
2008 };
2009
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2013 {
2014 PyThreadState* __tstate = wxPyBeginAllowThreads();
2015 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2016
2017 wxPyEndAllowThreads(__tstate);
2018 if (PyErr_Occurred()) SWIG_fail;
2019 }
2020 resultobj = SWIG_FromDouble((double)result);
2021 return resultobj;
2022 fail:
2023 return NULL;
2024 }
2025
2026
2027 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2028 PyObject *resultobj;
2029 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2030 double result;
2031 PyObject * obj0 = 0 ;
2032 char *kwnames[] = {
2033 (char *) "self", NULL
2034 };
2035
2036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2039 {
2040 PyThreadState* __tstate = wxPyBeginAllowThreads();
2041 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2042
2043 wxPyEndAllowThreads(__tstate);
2044 if (PyErr_Occurred()) SWIG_fail;
2045 }
2046 resultobj = SWIG_FromDouble((double)result);
2047 return resultobj;
2048 fail:
2049 return NULL;
2050 }
2051
2052
2053 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2054 PyObject *resultobj;
2055 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2056 wxPoint *arg2 = 0 ;
2057 wxPoint result;
2058 wxPoint temp2 ;
2059 PyObject * obj0 = 0 ;
2060 PyObject * obj1 = 0 ;
2061
2062 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2065 {
2066 arg2 = &temp2;
2067 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2068 }
2069 {
2070 PyThreadState* __tstate = wxPyBeginAllowThreads();
2071 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2072
2073 wxPyEndAllowThreads(__tstate);
2074 if (PyErr_Occurred()) SWIG_fail;
2075 }
2076 {
2077 wxPoint * resultptr;
2078 resultptr = new wxPoint((wxPoint &) result);
2079 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2080 }
2081 return resultobj;
2082 fail:
2083 return NULL;
2084 }
2085
2086
2087 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2088 PyObject *resultobj;
2089 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2090 int arg2 ;
2091 int arg3 ;
2092 int *arg4 = (int *) 0 ;
2093 int *arg5 = (int *) 0 ;
2094 int temp4 ;
2095 int temp5 ;
2096 PyObject * obj0 = 0 ;
2097 PyObject * obj1 = 0 ;
2098 PyObject * obj2 = 0 ;
2099
2100 arg4 = &temp4;
2101 arg5 = &temp5;
2102 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2105 arg2 = (int) SWIG_AsInt(obj1);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 arg3 = (int) SWIG_AsInt(obj2);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 {
2110 PyThreadState* __tstate = wxPyBeginAllowThreads();
2111 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2112
2113 wxPyEndAllowThreads(__tstate);
2114 if (PyErr_Occurred()) SWIG_fail;
2115 }
2116 Py_INCREF(Py_None); resultobj = Py_None;
2117 {
2118 PyObject *o = PyInt_FromLong((long) (*arg4));
2119 resultobj = t_output_helper(resultobj,o);
2120 }
2121 {
2122 PyObject *o = PyInt_FromLong((long) (*arg5));
2123 resultobj = t_output_helper(resultobj,o);
2124 }
2125 return resultobj;
2126 fail:
2127 return NULL;
2128 }
2129
2130
2131 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2132 int argc;
2133 PyObject *argv[4];
2134 int ii;
2135
2136 argc = PyObject_Length(args);
2137 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2138 argv[ii] = PyTuple_GetItem(args,ii);
2139 }
2140 if (argc == 2) {
2141 int _v;
2142 {
2143 void *ptr;
2144 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2145 _v = 0;
2146 PyErr_Clear();
2147 } else {
2148 _v = 1;
2149 }
2150 }
2151 if (_v) {
2152 {
2153 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2154 }
2155 if (_v) {
2156 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2157 }
2158 }
2159 }
2160 if (argc == 3) {
2161 int _v;
2162 {
2163 void *ptr;
2164 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2165 _v = 0;
2166 PyErr_Clear();
2167 } else {
2168 _v = 1;
2169 }
2170 }
2171 if (_v) {
2172 _v = SWIG_CheckInt(argv[1]);
2173 if (_v) {
2174 _v = SWIG_CheckInt(argv[2]);
2175 if (_v) {
2176 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2177 }
2178 }
2179 }
2180 }
2181
2182 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2183 return NULL;
2184 }
2185
2186
2187 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2188 PyObject *resultobj;
2189 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2190 wxPoint *arg2 = 0 ;
2191 wxPoint result;
2192 wxPoint temp2 ;
2193 PyObject * obj0 = 0 ;
2194 PyObject * obj1 = 0 ;
2195
2196 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2199 {
2200 arg2 = &temp2;
2201 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2202 }
2203 {
2204 PyThreadState* __tstate = wxPyBeginAllowThreads();
2205 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2206
2207 wxPyEndAllowThreads(__tstate);
2208 if (PyErr_Occurred()) SWIG_fail;
2209 }
2210 {
2211 wxPoint * resultptr;
2212 resultptr = new wxPoint((wxPoint &) result);
2213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2214 }
2215 return resultobj;
2216 fail:
2217 return NULL;
2218 }
2219
2220
2221 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2222 PyObject *resultobj;
2223 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2224 int arg2 ;
2225 int arg3 ;
2226 int *arg4 = (int *) 0 ;
2227 int *arg5 = (int *) 0 ;
2228 int temp4 ;
2229 int temp5 ;
2230 PyObject * obj0 = 0 ;
2231 PyObject * obj1 = 0 ;
2232 PyObject * obj2 = 0 ;
2233
2234 arg4 = &temp4;
2235 arg5 = &temp5;
2236 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2239 arg2 = (int) SWIG_AsInt(obj1);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 arg3 = (int) SWIG_AsInt(obj2);
2242 if (PyErr_Occurred()) SWIG_fail;
2243 {
2244 PyThreadState* __tstate = wxPyBeginAllowThreads();
2245 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2246
2247 wxPyEndAllowThreads(__tstate);
2248 if (PyErr_Occurred()) SWIG_fail;
2249 }
2250 Py_INCREF(Py_None); resultobj = Py_None;
2251 {
2252 PyObject *o = PyInt_FromLong((long) (*arg4));
2253 resultobj = t_output_helper(resultobj,o);
2254 }
2255 {
2256 PyObject *o = PyInt_FromLong((long) (*arg5));
2257 resultobj = t_output_helper(resultobj,o);
2258 }
2259 return resultobj;
2260 fail:
2261 return NULL;
2262 }
2263
2264
2265 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2266 int argc;
2267 PyObject *argv[4];
2268 int ii;
2269
2270 argc = PyObject_Length(args);
2271 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2272 argv[ii] = PyTuple_GetItem(args,ii);
2273 }
2274 if (argc == 2) {
2275 int _v;
2276 {
2277 void *ptr;
2278 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2279 _v = 0;
2280 PyErr_Clear();
2281 } else {
2282 _v = 1;
2283 }
2284 }
2285 if (_v) {
2286 {
2287 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2288 }
2289 if (_v) {
2290 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2291 }
2292 }
2293 }
2294 if (argc == 3) {
2295 int _v;
2296 {
2297 void *ptr;
2298 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2299 _v = 0;
2300 PyErr_Clear();
2301 } else {
2302 _v = 1;
2303 }
2304 }
2305 if (_v) {
2306 _v = SWIG_CheckInt(argv[1]);
2307 if (_v) {
2308 _v = SWIG_CheckInt(argv[2]);
2309 if (_v) {
2310 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2311 }
2312 }
2313 }
2314 }
2315
2316 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2317 return NULL;
2318 }
2319
2320
2321 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2322 PyObject *resultobj;
2323 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2324 PyObject * obj0 = 0 ;
2325 char *kwnames[] = {
2326 (char *) "self", NULL
2327 };
2328
2329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2332 {
2333 PyThreadState* __tstate = wxPyBeginAllowThreads();
2334 (arg1)->AdjustScrollbars();
2335
2336 wxPyEndAllowThreads(__tstate);
2337 if (PyErr_Occurred()) SWIG_fail;
2338 }
2339 Py_INCREF(Py_None); resultobj = Py_None;
2340 return resultobj;
2341 fail:
2342 return NULL;
2343 }
2344
2345
2346 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2347 PyObject *resultobj;
2348 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2349 wxScrollWinEvent *arg2 = 0 ;
2350 int result;
2351 PyObject * obj0 = 0 ;
2352 PyObject * obj1 = 0 ;
2353 char *kwnames[] = {
2354 (char *) "self",(char *) "event", NULL
2355 };
2356
2357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2361 SWIG_POINTER_EXCEPTION | 0)) == -1)
2362 SWIG_fail;
2363 if (arg2 == NULL) {
2364 PyErr_SetString(PyExc_TypeError,"null reference");
2365 SWIG_fail;
2366 }
2367 {
2368 PyThreadState* __tstate = wxPyBeginAllowThreads();
2369 result = (int)(arg1)->CalcScrollInc(*arg2);
2370
2371 wxPyEndAllowThreads(__tstate);
2372 if (PyErr_Occurred()) SWIG_fail;
2373 }
2374 resultobj = SWIG_FromInt((int)result);
2375 return resultobj;
2376 fail:
2377 return NULL;
2378 }
2379
2380
2381 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2382 PyObject *resultobj;
2383 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2384 wxWindow *arg2 = (wxWindow *) 0 ;
2385 PyObject * obj0 = 0 ;
2386 PyObject * obj1 = 0 ;
2387 char *kwnames[] = {
2388 (char *) "self",(char *) "target", NULL
2389 };
2390
2391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2396 {
2397 PyThreadState* __tstate = wxPyBeginAllowThreads();
2398 (arg1)->SetTargetWindow(arg2);
2399
2400 wxPyEndAllowThreads(__tstate);
2401 if (PyErr_Occurred()) SWIG_fail;
2402 }
2403 Py_INCREF(Py_None); resultobj = Py_None;
2404 return resultobj;
2405 fail:
2406 return NULL;
2407 }
2408
2409
2410 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2411 PyObject *resultobj;
2412 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2413 wxWindow *result;
2414 PyObject * obj0 = 0 ;
2415 char *kwnames[] = {
2416 (char *) "self", NULL
2417 };
2418
2419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2422 {
2423 PyThreadState* __tstate = wxPyBeginAllowThreads();
2424 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2425
2426 wxPyEndAllowThreads(__tstate);
2427 if (PyErr_Occurred()) SWIG_fail;
2428 }
2429 {
2430 resultobj = wxPyMake_wxObject(result);
2431 }
2432 return resultobj;
2433 fail:
2434 return NULL;
2435 }
2436
2437
2438 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2439 PyObject *resultobj;
2440 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2441 wxRect *arg2 = 0 ;
2442 wxRect temp2 ;
2443 PyObject * obj0 = 0 ;
2444 PyObject * obj1 = 0 ;
2445 char *kwnames[] = {
2446 (char *) "self",(char *) "rect", NULL
2447 };
2448
2449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2452 {
2453 arg2 = &temp2;
2454 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2455 }
2456 {
2457 PyThreadState* __tstate = wxPyBeginAllowThreads();
2458 (arg1)->SetTargetRect((wxRect const &)*arg2);
2459
2460 wxPyEndAllowThreads(__tstate);
2461 if (PyErr_Occurred()) SWIG_fail;
2462 }
2463 Py_INCREF(Py_None); resultobj = Py_None;
2464 return resultobj;
2465 fail:
2466 return NULL;
2467 }
2468
2469
2470 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2471 PyObject *resultobj;
2472 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2473 wxRect result;
2474 PyObject * obj0 = 0 ;
2475 char *kwnames[] = {
2476 (char *) "self", NULL
2477 };
2478
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2482 {
2483 PyThreadState* __tstate = wxPyBeginAllowThreads();
2484 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2485
2486 wxPyEndAllowThreads(__tstate);
2487 if (PyErr_Occurred()) SWIG_fail;
2488 }
2489 {
2490 wxRect * resultptr;
2491 resultptr = new wxRect((wxRect &) result);
2492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2493 }
2494 return resultobj;
2495 fail:
2496 return NULL;
2497 }
2498
2499
2500 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2501 PyObject *obj;
2502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2503 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2504 Py_INCREF(obj);
2505 return Py_BuildValue((char *)"");
2506 }
2507 static int _wrap_FrameNameStr_set(PyObject *) {
2508 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2509 return 1;
2510 }
2511
2512
2513 static PyObject *_wrap_FrameNameStr_get() {
2514 PyObject *pyobj;
2515
2516 {
2517 #if wxUSE_UNICODE
2518 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2519 #else
2520 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2521 #endif
2522 }
2523 return pyobj;
2524 }
2525
2526
2527 static int _wrap_DialogNameStr_set(PyObject *) {
2528 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2529 return 1;
2530 }
2531
2532
2533 static PyObject *_wrap_DialogNameStr_get() {
2534 PyObject *pyobj;
2535
2536 {
2537 #if wxUSE_UNICODE
2538 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2539 #else
2540 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2541 #endif
2542 }
2543 return pyobj;
2544 }
2545
2546
2547 static int _wrap_StatusLineNameStr_set(PyObject *) {
2548 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2549 return 1;
2550 }
2551
2552
2553 static PyObject *_wrap_StatusLineNameStr_get() {
2554 PyObject *pyobj;
2555
2556 {
2557 #if wxUSE_UNICODE
2558 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2559 #else
2560 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2561 #endif
2562 }
2563 return pyobj;
2564 }
2565
2566
2567 static int _wrap_ToolBarNameStr_set(PyObject *) {
2568 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2569 return 1;
2570 }
2571
2572
2573 static PyObject *_wrap_ToolBarNameStr_get() {
2574 PyObject *pyobj;
2575
2576 {
2577 #if wxUSE_UNICODE
2578 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2579 #else
2580 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2581 #endif
2582 }
2583 return pyobj;
2584 }
2585
2586
2587 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2588 PyObject *resultobj;
2589 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2590 bool arg2 = (bool) True ;
2591 PyObject * obj0 = 0 ;
2592 PyObject * obj1 = 0 ;
2593 char *kwnames[] = {
2594 (char *) "self",(char *) "maximize", NULL
2595 };
2596
2597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2600 if (obj1) {
2601 arg2 = (bool) SWIG_AsBool(obj1);
2602 if (PyErr_Occurred()) SWIG_fail;
2603 }
2604 {
2605 PyThreadState* __tstate = wxPyBeginAllowThreads();
2606 (arg1)->Maximize(arg2);
2607
2608 wxPyEndAllowThreads(__tstate);
2609 if (PyErr_Occurred()) SWIG_fail;
2610 }
2611 Py_INCREF(Py_None); resultobj = Py_None;
2612 return resultobj;
2613 fail:
2614 return NULL;
2615 }
2616
2617
2618 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2619 PyObject *resultobj;
2620 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2621 PyObject * obj0 = 0 ;
2622 char *kwnames[] = {
2623 (char *) "self", NULL
2624 };
2625
2626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2629 {
2630 PyThreadState* __tstate = wxPyBeginAllowThreads();
2631 (arg1)->Restore();
2632
2633 wxPyEndAllowThreads(__tstate);
2634 if (PyErr_Occurred()) SWIG_fail;
2635 }
2636 Py_INCREF(Py_None); resultobj = Py_None;
2637 return resultobj;
2638 fail:
2639 return NULL;
2640 }
2641
2642
2643 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2644 PyObject *resultobj;
2645 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2646 bool arg2 = (bool) True ;
2647 PyObject * obj0 = 0 ;
2648 PyObject * obj1 = 0 ;
2649 char *kwnames[] = {
2650 (char *) "self",(char *) "iconize", NULL
2651 };
2652
2653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2656 if (obj1) {
2657 arg2 = (bool) SWIG_AsBool(obj1);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 }
2660 {
2661 PyThreadState* __tstate = wxPyBeginAllowThreads();
2662 (arg1)->Iconize(arg2);
2663
2664 wxPyEndAllowThreads(__tstate);
2665 if (PyErr_Occurred()) SWIG_fail;
2666 }
2667 Py_INCREF(Py_None); resultobj = Py_None;
2668 return resultobj;
2669 fail:
2670 return NULL;
2671 }
2672
2673
2674 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2675 PyObject *resultobj;
2676 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2677 bool result;
2678 PyObject * obj0 = 0 ;
2679 char *kwnames[] = {
2680 (char *) "self", NULL
2681 };
2682
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2686 {
2687 PyThreadState* __tstate = wxPyBeginAllowThreads();
2688 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2689
2690 wxPyEndAllowThreads(__tstate);
2691 if (PyErr_Occurred()) SWIG_fail;
2692 }
2693 {
2694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2695 }
2696 return resultobj;
2697 fail:
2698 return NULL;
2699 }
2700
2701
2702 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2703 PyObject *resultobj;
2704 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2705 bool result;
2706 PyObject * obj0 = 0 ;
2707 char *kwnames[] = {
2708 (char *) "self", NULL
2709 };
2710
2711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2714 {
2715 PyThreadState* __tstate = wxPyBeginAllowThreads();
2716 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2717
2718 wxPyEndAllowThreads(__tstate);
2719 if (PyErr_Occurred()) SWIG_fail;
2720 }
2721 {
2722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2723 }
2724 return resultobj;
2725 fail:
2726 return NULL;
2727 }
2728
2729
2730 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2731 PyObject *resultobj;
2732 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2733 wxIcon result;
2734 PyObject * obj0 = 0 ;
2735 char *kwnames[] = {
2736 (char *) "self", NULL
2737 };
2738
2739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2742 {
2743 PyThreadState* __tstate = wxPyBeginAllowThreads();
2744 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2745
2746 wxPyEndAllowThreads(__tstate);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 }
2749 {
2750 wxIcon * resultptr;
2751 resultptr = new wxIcon((wxIcon &) result);
2752 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2753 }
2754 return resultobj;
2755 fail:
2756 return NULL;
2757 }
2758
2759
2760 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2763 wxIcon *arg2 = 0 ;
2764 PyObject * obj0 = 0 ;
2765 PyObject * obj1 = 0 ;
2766 char *kwnames[] = {
2767 (char *) "self",(char *) "icon", NULL
2768 };
2769
2770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2774 SWIG_POINTER_EXCEPTION | 0)) == -1)
2775 SWIG_fail;
2776 if (arg2 == NULL) {
2777 PyErr_SetString(PyExc_TypeError,"null reference");
2778 SWIG_fail;
2779 }
2780 {
2781 PyThreadState* __tstate = wxPyBeginAllowThreads();
2782 (arg1)->SetIcon((wxIcon const &)*arg2);
2783
2784 wxPyEndAllowThreads(__tstate);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
2787 Py_INCREF(Py_None); resultobj = Py_None;
2788 return resultobj;
2789 fail:
2790 return NULL;
2791 }
2792
2793
2794 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
2795 PyObject *resultobj;
2796 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2797 wxIconBundle *arg2 = 0 ;
2798 PyObject * obj0 = 0 ;
2799 PyObject * obj1 = 0 ;
2800 char *kwnames[] = {
2801 (char *) "self",(char *) "icons", NULL
2802 };
2803
2804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2807 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2808 SWIG_POINTER_EXCEPTION | 0)) == -1)
2809 SWIG_fail;
2810 if (arg2 == NULL) {
2811 PyErr_SetString(PyExc_TypeError,"null reference");
2812 SWIG_fail;
2813 }
2814 {
2815 PyThreadState* __tstate = wxPyBeginAllowThreads();
2816 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2817
2818 wxPyEndAllowThreads(__tstate);
2819 if (PyErr_Occurred()) SWIG_fail;
2820 }
2821 Py_INCREF(Py_None); resultobj = Py_None;
2822 return resultobj;
2823 fail:
2824 return NULL;
2825 }
2826
2827
2828 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
2829 PyObject *resultobj;
2830 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2831 bool arg2 ;
2832 long arg3 = (long) wxFULLSCREEN_ALL ;
2833 bool result;
2834 PyObject * obj0 = 0 ;
2835 PyObject * obj1 = 0 ;
2836 PyObject * obj2 = 0 ;
2837 char *kwnames[] = {
2838 (char *) "self",(char *) "show",(char *) "style", NULL
2839 };
2840
2841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2844 arg2 = (bool) SWIG_AsBool(obj1);
2845 if (PyErr_Occurred()) SWIG_fail;
2846 if (obj2) {
2847 arg3 = (long) SWIG_AsLong(obj2);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 {
2851 PyThreadState* __tstate = wxPyBeginAllowThreads();
2852 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2853
2854 wxPyEndAllowThreads(__tstate);
2855 if (PyErr_Occurred()) SWIG_fail;
2856 }
2857 {
2858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2859 }
2860 return resultobj;
2861 fail:
2862 return NULL;
2863 }
2864
2865
2866 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
2867 PyObject *resultobj;
2868 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2869 bool result;
2870 PyObject * obj0 = 0 ;
2871 char *kwnames[] = {
2872 (char *) "self", NULL
2873 };
2874
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2878 {
2879 PyThreadState* __tstate = wxPyBeginAllowThreads();
2880 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2881
2882 wxPyEndAllowThreads(__tstate);
2883 if (PyErr_Occurred()) SWIG_fail;
2884 }
2885 {
2886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2887 }
2888 return resultobj;
2889 fail:
2890 return NULL;
2891 }
2892
2893
2894 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
2895 PyObject *resultobj;
2896 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2897 wxString *arg2 = 0 ;
2898 bool temp2 = False ;
2899 PyObject * obj0 = 0 ;
2900 PyObject * obj1 = 0 ;
2901 char *kwnames[] = {
2902 (char *) "self",(char *) "title", NULL
2903 };
2904
2905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2908 {
2909 arg2 = wxString_in_helper(obj1);
2910 if (arg2 == NULL) SWIG_fail;
2911 temp2 = True;
2912 }
2913 {
2914 PyThreadState* __tstate = wxPyBeginAllowThreads();
2915 (arg1)->SetTitle((wxString const &)*arg2);
2916
2917 wxPyEndAllowThreads(__tstate);
2918 if (PyErr_Occurred()) SWIG_fail;
2919 }
2920 Py_INCREF(Py_None); resultobj = Py_None;
2921 {
2922 if (temp2)
2923 delete arg2;
2924 }
2925 return resultobj;
2926 fail:
2927 {
2928 if (temp2)
2929 delete arg2;
2930 }
2931 return NULL;
2932 }
2933
2934
2935 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
2936 PyObject *resultobj;
2937 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2938 wxString result;
2939 PyObject * obj0 = 0 ;
2940 char *kwnames[] = {
2941 (char *) "self", NULL
2942 };
2943
2944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2947 {
2948 PyThreadState* __tstate = wxPyBeginAllowThreads();
2949 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2950
2951 wxPyEndAllowThreads(__tstate);
2952 if (PyErr_Occurred()) SWIG_fail;
2953 }
2954 {
2955 #if wxUSE_UNICODE
2956 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2957 #else
2958 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2959 #endif
2960 }
2961 return resultobj;
2962 fail:
2963 return NULL;
2964 }
2965
2966
2967 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
2968 PyObject *resultobj;
2969 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2970 wxRegion *arg2 = 0 ;
2971 bool result;
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 char *kwnames[] = {
2975 (char *) "self",(char *) "region", NULL
2976 };
2977
2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2981 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2982 SWIG_POINTER_EXCEPTION | 0)) == -1)
2983 SWIG_fail;
2984 if (arg2 == NULL) {
2985 PyErr_SetString(PyExc_TypeError,"null reference");
2986 SWIG_fail;
2987 }
2988 {
2989 PyThreadState* __tstate = wxPyBeginAllowThreads();
2990 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2991
2992 wxPyEndAllowThreads(__tstate);
2993 if (PyErr_Occurred()) SWIG_fail;
2994 }
2995 {
2996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2997 }
2998 return resultobj;
2999 fail:
3000 return NULL;
3001 }
3002
3003
3004 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3005 PyObject *resultobj;
3006 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3007 bool arg2 ;
3008 PyObject * obj0 = 0 ;
3009 PyObject * obj1 = 0 ;
3010 char *kwnames[] = {
3011 (char *) "self",(char *) "on", NULL
3012 };
3013
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3017 arg2 = (bool) SWIG_AsBool(obj1);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 {
3020 PyThreadState* __tstate = wxPyBeginAllowThreads();
3021 (arg1)->MacSetMetalAppearance(arg2);
3022
3023 wxPyEndAllowThreads(__tstate);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 Py_INCREF(Py_None); resultobj = Py_None;
3027 return resultobj;
3028 fail:
3029 return NULL;
3030 }
3031
3032
3033 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3034 PyObject *resultobj;
3035 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3036 bool result;
3037 PyObject * obj0 = 0 ;
3038 char *kwnames[] = {
3039 (char *) "self", NULL
3040 };
3041
3042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3045 {
3046 PyThreadState* __tstate = wxPyBeginAllowThreads();
3047 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
3048
3049 wxPyEndAllowThreads(__tstate);
3050 if (PyErr_Occurred()) SWIG_fail;
3051 }
3052 {
3053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3054 }
3055 return resultobj;
3056 fail:
3057 return NULL;
3058 }
3059
3060
3061 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3062 PyObject *obj;
3063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3064 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3065 Py_INCREF(obj);
3066 return Py_BuildValue((char *)"");
3067 }
3068 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3069 PyObject *resultobj;
3070 wxWindow *arg1 = (wxWindow *) 0 ;
3071 int arg2 ;
3072 wxString *arg3 = 0 ;
3073 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3074 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3075 wxSize const &arg5_defvalue = wxDefaultSize ;
3076 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3077 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3078 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3079 wxString *arg7 = (wxString *) &arg7_defvalue ;
3080 wxFrame *result;
3081 bool temp3 = False ;
3082 wxPoint temp4 ;
3083 wxSize temp5 ;
3084 bool temp7 = False ;
3085 PyObject * obj0 = 0 ;
3086 PyObject * obj1 = 0 ;
3087 PyObject * obj2 = 0 ;
3088 PyObject * obj3 = 0 ;
3089 PyObject * obj4 = 0 ;
3090 PyObject * obj5 = 0 ;
3091 PyObject * obj6 = 0 ;
3092 char *kwnames[] = {
3093 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3094 };
3095
3096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3099 arg2 = (int const) SWIG_AsInt(obj1);
3100 if (PyErr_Occurred()) SWIG_fail;
3101 {
3102 arg3 = wxString_in_helper(obj2);
3103 if (arg3 == NULL) SWIG_fail;
3104 temp3 = True;
3105 }
3106 if (obj3) {
3107 {
3108 arg4 = &temp4;
3109 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3110 }
3111 }
3112 if (obj4) {
3113 {
3114 arg5 = &temp5;
3115 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3116 }
3117 }
3118 if (obj5) {
3119 arg6 = (long) SWIG_AsLong(obj5);
3120 if (PyErr_Occurred()) SWIG_fail;
3121 }
3122 if (obj6) {
3123 {
3124 arg7 = wxString_in_helper(obj6);
3125 if (arg7 == NULL) SWIG_fail;
3126 temp7 = True;
3127 }
3128 }
3129 {
3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
3131 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3132
3133 wxPyEndAllowThreads(__tstate);
3134 if (PyErr_Occurred()) SWIG_fail;
3135 }
3136 {
3137 resultobj = wxPyMake_wxObject(result);
3138 }
3139 {
3140 if (temp3)
3141 delete arg3;
3142 }
3143 {
3144 if (temp7)
3145 delete arg7;
3146 }
3147 return resultobj;
3148 fail:
3149 {
3150 if (temp3)
3151 delete arg3;
3152 }
3153 {
3154 if (temp7)
3155 delete arg7;
3156 }
3157 return NULL;
3158 }
3159
3160
3161 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3162 PyObject *resultobj;
3163 wxFrame *result;
3164 char *kwnames[] = {
3165 NULL
3166 };
3167
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 result = (wxFrame *)new wxFrame();
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 {
3177 resultobj = wxPyMake_wxObject(result);
3178 }
3179 return resultobj;
3180 fail:
3181 return NULL;
3182 }
3183
3184
3185 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 wxFrame *arg1 = (wxFrame *) 0 ;
3188 wxWindow *arg2 = (wxWindow *) 0 ;
3189 int arg3 ;
3190 wxString *arg4 = 0 ;
3191 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3192 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3193 wxSize const &arg6_defvalue = wxDefaultSize ;
3194 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3195 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3196 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3197 wxString *arg8 = (wxString *) &arg8_defvalue ;
3198 bool result;
3199 bool temp4 = False ;
3200 wxPoint temp5 ;
3201 wxSize temp6 ;
3202 bool temp8 = False ;
3203 PyObject * obj0 = 0 ;
3204 PyObject * obj1 = 0 ;
3205 PyObject * obj2 = 0 ;
3206 PyObject * obj3 = 0 ;
3207 PyObject * obj4 = 0 ;
3208 PyObject * obj5 = 0 ;
3209 PyObject * obj6 = 0 ;
3210 PyObject * obj7 = 0 ;
3211 char *kwnames[] = {
3212 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3213 };
3214
3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3220 arg3 = (int const) SWIG_AsInt(obj2);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 {
3223 arg4 = wxString_in_helper(obj3);
3224 if (arg4 == NULL) SWIG_fail;
3225 temp4 = True;
3226 }
3227 if (obj4) {
3228 {
3229 arg5 = &temp5;
3230 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3231 }
3232 }
3233 if (obj5) {
3234 {
3235 arg6 = &temp6;
3236 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3237 }
3238 }
3239 if (obj6) {
3240 arg7 = (long) SWIG_AsLong(obj6);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 if (obj7) {
3244 {
3245 arg8 = wxString_in_helper(obj7);
3246 if (arg8 == NULL) SWIG_fail;
3247 temp8 = True;
3248 }
3249 }
3250 {
3251 PyThreadState* __tstate = wxPyBeginAllowThreads();
3252 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3253
3254 wxPyEndAllowThreads(__tstate);
3255 if (PyErr_Occurred()) SWIG_fail;
3256 }
3257 {
3258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3259 }
3260 {
3261 if (temp4)
3262 delete arg4;
3263 }
3264 {
3265 if (temp8)
3266 delete arg8;
3267 }
3268 return resultobj;
3269 fail:
3270 {
3271 if (temp4)
3272 delete arg4;
3273 }
3274 {
3275 if (temp8)
3276 delete arg8;
3277 }
3278 return NULL;
3279 }
3280
3281
3282 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3283 PyObject *resultobj;
3284 wxFrame *arg1 = (wxFrame *) 0 ;
3285 wxPoint result;
3286 PyObject * obj0 = 0 ;
3287 char *kwnames[] = {
3288 (char *) "self", NULL
3289 };
3290
3291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 {
3302 wxPoint * resultptr;
3303 resultptr = new wxPoint((wxPoint &) result);
3304 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3305 }
3306 return resultobj;
3307 fail:
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 wxFrame *arg1 = (wxFrame *) 0 ;
3315 PyObject * obj0 = 0 ;
3316 char *kwnames[] = {
3317 (char *) "self", NULL
3318 };
3319
3320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3323 {
3324 PyThreadState* __tstate = wxPyBeginAllowThreads();
3325 (arg1)->SendSizeEvent();
3326
3327 wxPyEndAllowThreads(__tstate);
3328 if (PyErr_Occurred()) SWIG_fail;
3329 }
3330 Py_INCREF(Py_None); resultobj = Py_None;
3331 return resultobj;
3332 fail:
3333 return NULL;
3334 }
3335
3336
3337 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3338 PyObject *resultobj;
3339 wxFrame *arg1 = (wxFrame *) 0 ;
3340 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3341 PyObject * obj0 = 0 ;
3342 PyObject * obj1 = 0 ;
3343 char *kwnames[] = {
3344 (char *) "self",(char *) "menubar", NULL
3345 };
3346
3347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 (arg1)->SetMenuBar(arg2);
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 Py_INCREF(Py_None); resultobj = Py_None;
3360 return resultobj;
3361 fail:
3362 return NULL;
3363 }
3364
3365
3366 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3367 PyObject *resultobj;
3368 wxFrame *arg1 = (wxFrame *) 0 ;
3369 wxMenuBar *result;
3370 PyObject * obj0 = 0 ;
3371 char *kwnames[] = {
3372 (char *) "self", NULL
3373 };
3374
3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3378 {
3379 PyThreadState* __tstate = wxPyBeginAllowThreads();
3380 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3381
3382 wxPyEndAllowThreads(__tstate);
3383 if (PyErr_Occurred()) SWIG_fail;
3384 }
3385 {
3386 resultobj = wxPyMake_wxObject(result);
3387 }
3388 return resultobj;
3389 fail:
3390 return NULL;
3391 }
3392
3393
3394 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3395 PyObject *resultobj;
3396 wxFrame *arg1 = (wxFrame *) 0 ;
3397 int arg2 ;
3398 bool result;
3399 PyObject * obj0 = 0 ;
3400 PyObject * obj1 = 0 ;
3401 char *kwnames[] = {
3402 (char *) "self",(char *) "winid", NULL
3403 };
3404
3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3408 arg2 = (int) SWIG_AsInt(obj1);
3409 if (PyErr_Occurred()) SWIG_fail;
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 result = (bool)(arg1)->ProcessCommand(arg2);
3413
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
3417 {
3418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3419 }
3420 return resultobj;
3421 fail:
3422 return NULL;
3423 }
3424
3425
3426 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3427 PyObject *resultobj;
3428 wxFrame *arg1 = (wxFrame *) 0 ;
3429 int arg2 = (int) 1 ;
3430 long arg3 = (long) wxST_SIZEGRIP ;
3431 int arg4 = (int) 0 ;
3432 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3433 wxString *arg5 = (wxString *) &arg5_defvalue ;
3434 wxStatusBar *result;
3435 bool temp5 = False ;
3436 PyObject * obj0 = 0 ;
3437 PyObject * obj1 = 0 ;
3438 PyObject * obj2 = 0 ;
3439 PyObject * obj3 = 0 ;
3440 PyObject * obj4 = 0 ;
3441 char *kwnames[] = {
3442 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3443 };
3444
3445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3448 if (obj1) {
3449 arg2 = (int) SWIG_AsInt(obj1);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 if (obj2) {
3453 arg3 = (long) SWIG_AsLong(obj2);
3454 if (PyErr_Occurred()) SWIG_fail;
3455 }
3456 if (obj3) {
3457 arg4 = (int) SWIG_AsInt(obj3);
3458 if (PyErr_Occurred()) SWIG_fail;
3459 }
3460 if (obj4) {
3461 {
3462 arg5 = wxString_in_helper(obj4);
3463 if (arg5 == NULL) SWIG_fail;
3464 temp5 = True;
3465 }
3466 }
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 {
3475 resultobj = wxPyMake_wxObject(result);
3476 }
3477 {
3478 if (temp5)
3479 delete arg5;
3480 }
3481 return resultobj;
3482 fail:
3483 {
3484 if (temp5)
3485 delete arg5;
3486 }
3487 return NULL;
3488 }
3489
3490
3491 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3492 PyObject *resultobj;
3493 wxFrame *arg1 = (wxFrame *) 0 ;
3494 wxStatusBar *result;
3495 PyObject * obj0 = 0 ;
3496 char *kwnames[] = {
3497 (char *) "self", NULL
3498 };
3499
3500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 {
3511 resultobj = wxPyMake_wxObject(result);
3512 }
3513 return resultobj;
3514 fail:
3515 return NULL;
3516 }
3517
3518
3519 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3520 PyObject *resultobj;
3521 wxFrame *arg1 = (wxFrame *) 0 ;
3522 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3523 PyObject * obj0 = 0 ;
3524 PyObject * obj1 = 0 ;
3525 char *kwnames[] = {
3526 (char *) "self",(char *) "statBar", NULL
3527 };
3528
3529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3532 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3534 {
3535 PyThreadState* __tstate = wxPyBeginAllowThreads();
3536 (arg1)->SetStatusBar(arg2);
3537
3538 wxPyEndAllowThreads(__tstate);
3539 if (PyErr_Occurred()) SWIG_fail;
3540 }
3541 Py_INCREF(Py_None); resultobj = Py_None;
3542 return resultobj;
3543 fail:
3544 return NULL;
3545 }
3546
3547
3548 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3549 PyObject *resultobj;
3550 wxFrame *arg1 = (wxFrame *) 0 ;
3551 wxString *arg2 = 0 ;
3552 int arg3 = (int) 0 ;
3553 bool temp2 = False ;
3554 PyObject * obj0 = 0 ;
3555 PyObject * obj1 = 0 ;
3556 PyObject * obj2 = 0 ;
3557 char *kwnames[] = {
3558 (char *) "self",(char *) "text",(char *) "number", NULL
3559 };
3560
3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3564 {
3565 arg2 = wxString_in_helper(obj1);
3566 if (arg2 == NULL) SWIG_fail;
3567 temp2 = True;
3568 }
3569 if (obj2) {
3570 arg3 = (int) SWIG_AsInt(obj2);
3571 if (PyErr_Occurred()) SWIG_fail;
3572 }
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 Py_INCREF(Py_None); resultobj = Py_None;
3581 {
3582 if (temp2)
3583 delete arg2;
3584 }
3585 return resultobj;
3586 fail:
3587 {
3588 if (temp2)
3589 delete arg2;
3590 }
3591 return NULL;
3592 }
3593
3594
3595 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3596 PyObject *resultobj;
3597 wxFrame *arg1 = (wxFrame *) 0 ;
3598 int arg2 ;
3599 int *arg3 = (int *) 0 ;
3600 PyObject * obj0 = 0 ;
3601 PyObject * obj1 = 0 ;
3602 char *kwnames[] = {
3603 (char *) "self",(char *) "widths", NULL
3604 };
3605
3606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3609 {
3610 arg2 = PyList_Size(obj1);
3611 arg3 = int_LIST_helper(obj1);
3612 if (arg3 == NULL) SWIG_fail;
3613 }
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
3616 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) SWIG_fail;
3620 }
3621 Py_INCREF(Py_None); resultobj = Py_None;
3622 {
3623 if (arg3) delete [] arg3;
3624 }
3625 return resultobj;
3626 fail:
3627 {
3628 if (arg3) delete [] arg3;
3629 }
3630 return NULL;
3631 }
3632
3633
3634 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3635 PyObject *resultobj;
3636 wxFrame *arg1 = (wxFrame *) 0 ;
3637 wxString *arg2 = 0 ;
3638 int arg3 = (int) 0 ;
3639 bool temp2 = False ;
3640 PyObject * obj0 = 0 ;
3641 PyObject * obj1 = 0 ;
3642 PyObject * obj2 = 0 ;
3643 char *kwnames[] = {
3644 (char *) "self",(char *) "text",(char *) "number", NULL
3645 };
3646
3647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3650 {
3651 arg2 = wxString_in_helper(obj1);
3652 if (arg2 == NULL) SWIG_fail;
3653 temp2 = True;
3654 }
3655 if (obj2) {
3656 arg3 = (int) SWIG_AsInt(obj2);
3657 if (PyErr_Occurred()) SWIG_fail;
3658 }
3659 {
3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
3661 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3662
3663 wxPyEndAllowThreads(__tstate);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
3666 Py_INCREF(Py_None); resultobj = Py_None;
3667 {
3668 if (temp2)
3669 delete arg2;
3670 }
3671 return resultobj;
3672 fail:
3673 {
3674 if (temp2)
3675 delete arg2;
3676 }
3677 return NULL;
3678 }
3679
3680
3681 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3682 PyObject *resultobj;
3683 wxFrame *arg1 = (wxFrame *) 0 ;
3684 int arg2 = (int) 0 ;
3685 PyObject * obj0 = 0 ;
3686 PyObject * obj1 = 0 ;
3687 char *kwnames[] = {
3688 (char *) "self",(char *) "number", NULL
3689 };
3690
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",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 (obj1) {
3695 arg2 = (int) SWIG_AsInt(obj1);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 {
3699 PyThreadState* __tstate = wxPyBeginAllowThreads();
3700 (arg1)->PopStatusText(arg2);
3701
3702 wxPyEndAllowThreads(__tstate);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 Py_INCREF(Py_None); resultobj = Py_None;
3706 return resultobj;
3707 fail:
3708 return NULL;
3709 }
3710
3711
3712 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3713 PyObject *resultobj;
3714 wxFrame *arg1 = (wxFrame *) 0 ;
3715 int arg2 ;
3716 PyObject * obj0 = 0 ;
3717 PyObject * obj1 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "self",(char *) "n", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3725 arg2 = (int) SWIG_AsInt(obj1);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 (arg1)->SetStatusBarPane(arg2);
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 Py_INCREF(Py_None); resultobj = Py_None;
3735 return resultobj;
3736 fail:
3737 return NULL;
3738 }
3739
3740
3741 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3742 PyObject *resultobj;
3743 wxFrame *arg1 = (wxFrame *) 0 ;
3744 int result;
3745 PyObject * obj0 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "self", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 resultobj = SWIG_FromInt((int)result);
3761 return resultobj;
3762 fail:
3763 return NULL;
3764 }
3765
3766
3767 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj;
3769 wxFrame *arg1 = (wxFrame *) 0 ;
3770 long arg2 = (long) -1 ;
3771 int arg3 = (int) -1 ;
3772 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3773 wxString *arg4 = (wxString *) &arg4_defvalue ;
3774 wxToolBar *result;
3775 bool temp4 = False ;
3776 PyObject * obj0 = 0 ;
3777 PyObject * obj1 = 0 ;
3778 PyObject * obj2 = 0 ;
3779 PyObject * obj3 = 0 ;
3780 char *kwnames[] = {
3781 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3782 };
3783
3784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3787 if (obj1) {
3788 arg2 = (long) SWIG_AsLong(obj1);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
3791 if (obj2) {
3792 arg3 = (int) SWIG_AsInt(obj2);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 }
3795 if (obj3) {
3796 {
3797 arg4 = wxString_in_helper(obj3);
3798 if (arg4 == NULL) SWIG_fail;
3799 temp4 = True;
3800 }
3801 }
3802 {
3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
3804 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3805
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 {
3810 resultobj = wxPyMake_wxObject(result);
3811 }
3812 {
3813 if (temp4)
3814 delete arg4;
3815 }
3816 return resultobj;
3817 fail:
3818 {
3819 if (temp4)
3820 delete arg4;
3821 }
3822 return NULL;
3823 }
3824
3825
3826 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3827 PyObject *resultobj;
3828 wxFrame *arg1 = (wxFrame *) 0 ;
3829 wxToolBar *result;
3830 PyObject * obj0 = 0 ;
3831 char *kwnames[] = {
3832 (char *) "self", NULL
3833 };
3834
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 {
3846 resultobj = wxPyMake_wxObject(result);
3847 }
3848 return resultobj;
3849 fail:
3850 return NULL;
3851 }
3852
3853
3854 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3855 PyObject *resultobj;
3856 wxFrame *arg1 = (wxFrame *) 0 ;
3857 wxToolBar *arg2 = (wxToolBar *) 0 ;
3858 PyObject * obj0 = 0 ;
3859 PyObject * obj1 = 0 ;
3860 char *kwnames[] = {
3861 (char *) "self",(char *) "toolbar", NULL
3862 };
3863
3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 (arg1)->SetToolBar(arg2);
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 Py_INCREF(Py_None); resultobj = Py_None;
3877 return resultobj;
3878 fail:
3879 return NULL;
3880 }
3881
3882
3883 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj;
3885 wxFrame *arg1 = (wxFrame *) 0 ;
3886 wxString *arg2 = 0 ;
3887 bool arg3 ;
3888 bool temp2 = False ;
3889 PyObject * obj0 = 0 ;
3890 PyObject * obj1 = 0 ;
3891 PyObject * obj2 = 0 ;
3892 char *kwnames[] = {
3893 (char *) "self",(char *) "text",(char *) "show", NULL
3894 };
3895
3896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3899 {
3900 arg2 = wxString_in_helper(obj1);
3901 if (arg2 == NULL) SWIG_fail;
3902 temp2 = True;
3903 }
3904 arg3 = (bool) SWIG_AsBool(obj2);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 {
3907 PyThreadState* __tstate = wxPyBeginAllowThreads();
3908 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3909
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 Py_INCREF(Py_None); resultobj = Py_None;
3914 {
3915 if (temp2)
3916 delete arg2;
3917 }
3918 return resultobj;
3919 fail:
3920 {
3921 if (temp2)
3922 delete arg2;
3923 }
3924 return NULL;
3925 }
3926
3927
3928 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
3929 PyObject *resultobj;
3930 wxFrame *arg1 = (wxFrame *) 0 ;
3931 wxMenu *arg2 = (wxMenu *) NULL ;
3932 PyObject * obj0 = 0 ;
3933 PyObject * obj1 = 0 ;
3934 char *kwnames[] = {
3935 (char *) "self",(char *) "menu", NULL
3936 };
3937
3938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3941 if (obj1) {
3942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3944 }
3945 {
3946 PyThreadState* __tstate = wxPyBeginAllowThreads();
3947 (arg1)->DoMenuUpdates(arg2);
3948
3949 wxPyEndAllowThreads(__tstate);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 Py_INCREF(Py_None); resultobj = Py_None;
3953 return resultobj;
3954 fail:
3955 return NULL;
3956 }
3957
3958
3959 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
3960 PyObject *obj;
3961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3962 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3963 Py_INCREF(obj);
3964 return Py_BuildValue((char *)"");
3965 }
3966 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
3967 PyObject *resultobj;
3968 wxWindow *arg1 = (wxWindow *) 0 ;
3969 int arg2 ;
3970 wxString *arg3 = 0 ;
3971 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3972 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3973 wxSize const &arg5_defvalue = wxDefaultSize ;
3974 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3975 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3976 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3977 wxString *arg7 = (wxString *) &arg7_defvalue ;
3978 wxDialog *result;
3979 bool temp3 = False ;
3980 wxPoint temp4 ;
3981 wxSize temp5 ;
3982 bool temp7 = False ;
3983 PyObject * obj0 = 0 ;
3984 PyObject * obj1 = 0 ;
3985 PyObject * obj2 = 0 ;
3986 PyObject * obj3 = 0 ;
3987 PyObject * obj4 = 0 ;
3988 PyObject * obj5 = 0 ;
3989 PyObject * obj6 = 0 ;
3990 char *kwnames[] = {
3991 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3992 };
3993
3994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3997 arg2 = (int const) SWIG_AsInt(obj1);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 {
4000 arg3 = wxString_in_helper(obj2);
4001 if (arg3 == NULL) SWIG_fail;
4002 temp3 = True;
4003 }
4004 if (obj3) {
4005 {
4006 arg4 = &temp4;
4007 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4008 }
4009 }
4010 if (obj4) {
4011 {
4012 arg5 = &temp5;
4013 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4014 }
4015 }
4016 if (obj5) {
4017 arg6 = (long) SWIG_AsLong(obj5);
4018 if (PyErr_Occurred()) SWIG_fail;
4019 }
4020 if (obj6) {
4021 {
4022 arg7 = wxString_in_helper(obj6);
4023 if (arg7 == NULL) SWIG_fail;
4024 temp7 = True;
4025 }
4026 }
4027 {
4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
4029 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4030
4031 wxPyEndAllowThreads(__tstate);
4032 if (PyErr_Occurred()) SWIG_fail;
4033 }
4034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4035 {
4036 if (temp3)
4037 delete arg3;
4038 }
4039 {
4040 if (temp7)
4041 delete arg7;
4042 }
4043 return resultobj;
4044 fail:
4045 {
4046 if (temp3)
4047 delete arg3;
4048 }
4049 {
4050 if (temp7)
4051 delete arg7;
4052 }
4053 return NULL;
4054 }
4055
4056
4057 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4058 PyObject *resultobj;
4059 wxDialog *result;
4060 char *kwnames[] = {
4061 NULL
4062 };
4063
4064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4065 {
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 result = (wxDialog *)new wxDialog();
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4073 return resultobj;
4074 fail:
4075 return NULL;
4076 }
4077
4078
4079 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxDialog *arg1 = (wxDialog *) 0 ;
4082 wxWindow *arg2 = (wxWindow *) 0 ;
4083 int arg3 ;
4084 wxString *arg4 = 0 ;
4085 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4086 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4087 wxSize const &arg6_defvalue = wxDefaultSize ;
4088 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4089 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4090 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4091 wxString *arg8 = (wxString *) &arg8_defvalue ;
4092 bool result;
4093 bool temp4 = False ;
4094 wxPoint temp5 ;
4095 wxSize temp6 ;
4096 bool temp8 = False ;
4097 PyObject * obj0 = 0 ;
4098 PyObject * obj1 = 0 ;
4099 PyObject * obj2 = 0 ;
4100 PyObject * obj3 = 0 ;
4101 PyObject * obj4 = 0 ;
4102 PyObject * obj5 = 0 ;
4103 PyObject * obj6 = 0 ;
4104 PyObject * obj7 = 0 ;
4105 char *kwnames[] = {
4106 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4107 };
4108
4109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4112 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4114 arg3 = (int const) SWIG_AsInt(obj2);
4115 if (PyErr_Occurred()) SWIG_fail;
4116 {
4117 arg4 = wxString_in_helper(obj3);
4118 if (arg4 == NULL) SWIG_fail;
4119 temp4 = True;
4120 }
4121 if (obj4) {
4122 {
4123 arg5 = &temp5;
4124 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4125 }
4126 }
4127 if (obj5) {
4128 {
4129 arg6 = &temp6;
4130 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4131 }
4132 }
4133 if (obj6) {
4134 arg7 = (long) SWIG_AsLong(obj6);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 if (obj7) {
4138 {
4139 arg8 = wxString_in_helper(obj7);
4140 if (arg8 == NULL) SWIG_fail;
4141 temp8 = True;
4142 }
4143 }
4144 {
4145 PyThreadState* __tstate = wxPyBeginAllowThreads();
4146 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4147
4148 wxPyEndAllowThreads(__tstate);
4149 if (PyErr_Occurred()) SWIG_fail;
4150 }
4151 {
4152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4153 }
4154 {
4155 if (temp4)
4156 delete arg4;
4157 }
4158 {
4159 if (temp8)
4160 delete arg8;
4161 }
4162 return resultobj;
4163 fail:
4164 {
4165 if (temp4)
4166 delete arg4;
4167 }
4168 {
4169 if (temp8)
4170 delete arg8;
4171 }
4172 return NULL;
4173 }
4174
4175
4176 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4177 PyObject *resultobj;
4178 wxDialog *arg1 = (wxDialog *) 0 ;
4179 int arg2 ;
4180 PyObject * obj0 = 0 ;
4181 PyObject * obj1 = 0 ;
4182 char *kwnames[] = {
4183 (char *) "self",(char *) "returnCode", NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4189 arg2 = (int) SWIG_AsInt(obj1);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 {
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 (arg1)->SetReturnCode(arg2);
4194
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 Py_INCREF(Py_None); resultobj = Py_None;
4199 return resultobj;
4200 fail:
4201 return NULL;
4202 }
4203
4204
4205 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4206 PyObject *resultobj;
4207 wxDialog *arg1 = (wxDialog *) 0 ;
4208 int result;
4209 PyObject * obj0 = 0 ;
4210 char *kwnames[] = {
4211 (char *) "self", NULL
4212 };
4213
4214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4217 {
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4220
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 resultobj = SWIG_FromInt((int)result);
4225 return resultobj;
4226 fail:
4227 return NULL;
4228 }
4229
4230
4231 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4232 PyObject *resultobj;
4233 wxDialog *arg1 = (wxDialog *) 0 ;
4234 wxString *arg2 = 0 ;
4235 wxSizer *result;
4236 bool temp2 = False ;
4237 PyObject * obj0 = 0 ;
4238 PyObject * obj1 = 0 ;
4239 char *kwnames[] = {
4240 (char *) "self",(char *) "message", NULL
4241 };
4242
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4246 {
4247 arg2 = wxString_in_helper(obj1);
4248 if (arg2 == NULL) SWIG_fail;
4249 temp2 = True;
4250 }
4251 {
4252 PyThreadState* __tstate = wxPyBeginAllowThreads();
4253 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4254
4255 wxPyEndAllowThreads(__tstate);
4256 if (PyErr_Occurred()) SWIG_fail;
4257 }
4258 {
4259 resultobj = wxPyMake_wxSizer(result);
4260 }
4261 {
4262 if (temp2)
4263 delete arg2;
4264 }
4265 return resultobj;
4266 fail:
4267 {
4268 if (temp2)
4269 delete arg2;
4270 }
4271 return NULL;
4272 }
4273
4274
4275 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4276 PyObject *resultobj;
4277 wxDialog *arg1 = (wxDialog *) 0 ;
4278 long arg2 ;
4279 wxSizer *result;
4280 PyObject * obj0 = 0 ;
4281 PyObject * obj1 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self",(char *) "flags", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4289 arg2 = (long) SWIG_AsLong(obj1);
4290 if (PyErr_Occurred()) SWIG_fail;
4291 {
4292 PyThreadState* __tstate = wxPyBeginAllowThreads();
4293 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4294
4295 wxPyEndAllowThreads(__tstate);
4296 if (PyErr_Occurred()) SWIG_fail;
4297 }
4298 {
4299 resultobj = wxPyMake_wxSizer(result);
4300 }
4301 return resultobj;
4302 fail:
4303 return NULL;
4304 }
4305
4306
4307 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4308 PyObject *resultobj;
4309 wxDialog *arg1 = (wxDialog *) 0 ;
4310 bool result;
4311 PyObject * obj0 = 0 ;
4312 char *kwnames[] = {
4313 (char *) "self", NULL
4314 };
4315
4316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4319 {
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 result = (bool)((wxDialog const *)arg1)->IsModal();
4322
4323 wxPyEndAllowThreads(__tstate);
4324 if (PyErr_Occurred()) SWIG_fail;
4325 }
4326 {
4327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4328 }
4329 return resultobj;
4330 fail:
4331 return NULL;
4332 }
4333
4334
4335 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj;
4337 wxDialog *arg1 = (wxDialog *) 0 ;
4338 int result;
4339 PyObject * obj0 = 0 ;
4340 char *kwnames[] = {
4341 (char *) "self", NULL
4342 };
4343
4344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4347 {
4348 PyThreadState* __tstate = wxPyBeginAllowThreads();
4349 result = (int)(arg1)->ShowModal();
4350
4351 wxPyEndAllowThreads(__tstate);
4352 if (PyErr_Occurred()) SWIG_fail;
4353 }
4354 resultobj = SWIG_FromInt((int)result);
4355 return resultobj;
4356 fail:
4357 return NULL;
4358 }
4359
4360
4361 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj;
4363 wxDialog *arg1 = (wxDialog *) 0 ;
4364 int arg2 ;
4365 PyObject * obj0 = 0 ;
4366 PyObject * obj1 = 0 ;
4367 char *kwnames[] = {
4368 (char *) "self",(char *) "retCode", NULL
4369 };
4370
4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4374 arg2 = (int) SWIG_AsInt(obj1);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 {
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 (arg1)->EndModal(arg2);
4379
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 Py_INCREF(Py_None); resultobj = Py_None;
4384 return resultobj;
4385 fail:
4386 return NULL;
4387 }
4388
4389
4390 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *, PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj;
4392 wxDialog *arg1 = (wxDialog *) 0 ;
4393 bool result;
4394 PyObject * obj0 = 0 ;
4395 char *kwnames[] = {
4396 (char *) "self", NULL
4397 };
4398
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4402 {
4403 PyThreadState* __tstate = wxPyBeginAllowThreads();
4404 result = (bool)wxDialog_IsModalShowing(arg1);
4405
4406 wxPyEndAllowThreads(__tstate);
4407 if (PyErr_Occurred()) SWIG_fail;
4408 }
4409 {
4410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4411 }
4412 return resultobj;
4413 fail:
4414 return NULL;
4415 }
4416
4417
4418 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4419 PyObject *obj;
4420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4421 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4422 Py_INCREF(obj);
4423 return Py_BuildValue((char *)"");
4424 }
4425 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4426 PyObject *resultobj;
4427 wxWindow *arg1 = (wxWindow *) 0 ;
4428 int arg2 ;
4429 wxString *arg3 = 0 ;
4430 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4431 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4432 wxSize const &arg5_defvalue = wxDefaultSize ;
4433 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4434 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4435 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4436 wxString *arg7 = (wxString *) &arg7_defvalue ;
4437 wxMiniFrame *result;
4438 bool temp3 = False ;
4439 wxPoint temp4 ;
4440 wxSize temp5 ;
4441 bool temp7 = False ;
4442 PyObject * obj0 = 0 ;
4443 PyObject * obj1 = 0 ;
4444 PyObject * obj2 = 0 ;
4445 PyObject * obj3 = 0 ;
4446 PyObject * obj4 = 0 ;
4447 PyObject * obj5 = 0 ;
4448 PyObject * obj6 = 0 ;
4449 char *kwnames[] = {
4450 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4451 };
4452
4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4456 arg2 = (int const) SWIG_AsInt(obj1);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 {
4459 arg3 = wxString_in_helper(obj2);
4460 if (arg3 == NULL) SWIG_fail;
4461 temp3 = True;
4462 }
4463 if (obj3) {
4464 {
4465 arg4 = &temp4;
4466 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4467 }
4468 }
4469 if (obj4) {
4470 {
4471 arg5 = &temp5;
4472 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4473 }
4474 }
4475 if (obj5) {
4476 arg6 = (long) SWIG_AsLong(obj5);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 if (obj6) {
4480 {
4481 arg7 = wxString_in_helper(obj6);
4482 if (arg7 == NULL) SWIG_fail;
4483 temp7 = True;
4484 }
4485 }
4486 {
4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
4488 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4489
4490 wxPyEndAllowThreads(__tstate);
4491 if (PyErr_Occurred()) SWIG_fail;
4492 }
4493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4494 {
4495 if (temp3)
4496 delete arg3;
4497 }
4498 {
4499 if (temp7)
4500 delete arg7;
4501 }
4502 return resultobj;
4503 fail:
4504 {
4505 if (temp3)
4506 delete arg3;
4507 }
4508 {
4509 if (temp7)
4510 delete arg7;
4511 }
4512 return NULL;
4513 }
4514
4515
4516 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj;
4518 wxMiniFrame *result;
4519 char *kwnames[] = {
4520 NULL
4521 };
4522
4523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4524 {
4525 PyThreadState* __tstate = wxPyBeginAllowThreads();
4526 result = (wxMiniFrame *)new wxMiniFrame();
4527
4528 wxPyEndAllowThreads(__tstate);
4529 if (PyErr_Occurred()) SWIG_fail;
4530 }
4531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4532 return resultobj;
4533 fail:
4534 return NULL;
4535 }
4536
4537
4538 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4539 PyObject *resultobj;
4540 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4541 wxWindow *arg2 = (wxWindow *) 0 ;
4542 int arg3 ;
4543 wxString *arg4 = 0 ;
4544 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4545 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4546 wxSize const &arg6_defvalue = wxDefaultSize ;
4547 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4548 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4549 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4550 wxString *arg8 = (wxString *) &arg8_defvalue ;
4551 bool result;
4552 bool temp4 = False ;
4553 wxPoint temp5 ;
4554 wxSize temp6 ;
4555 bool temp8 = False ;
4556 PyObject * obj0 = 0 ;
4557 PyObject * obj1 = 0 ;
4558 PyObject * obj2 = 0 ;
4559 PyObject * obj3 = 0 ;
4560 PyObject * obj4 = 0 ;
4561 PyObject * obj5 = 0 ;
4562 PyObject * obj6 = 0 ;
4563 PyObject * obj7 = 0 ;
4564 char *kwnames[] = {
4565 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4573 arg3 = (int const) SWIG_AsInt(obj2);
4574 if (PyErr_Occurred()) SWIG_fail;
4575 {
4576 arg4 = wxString_in_helper(obj3);
4577 if (arg4 == NULL) SWIG_fail;
4578 temp4 = True;
4579 }
4580 if (obj4) {
4581 {
4582 arg5 = &temp5;
4583 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4584 }
4585 }
4586 if (obj5) {
4587 {
4588 arg6 = &temp6;
4589 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4590 }
4591 }
4592 if (obj6) {
4593 arg7 = (long) SWIG_AsLong(obj6);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 if (obj7) {
4597 {
4598 arg8 = wxString_in_helper(obj7);
4599 if (arg8 == NULL) SWIG_fail;
4600 temp8 = True;
4601 }
4602 }
4603 {
4604 PyThreadState* __tstate = wxPyBeginAllowThreads();
4605 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4606
4607 wxPyEndAllowThreads(__tstate);
4608 if (PyErr_Occurred()) SWIG_fail;
4609 }
4610 {
4611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4612 }
4613 {
4614 if (temp4)
4615 delete arg4;
4616 }
4617 {
4618 if (temp8)
4619 delete arg8;
4620 }
4621 return resultobj;
4622 fail:
4623 {
4624 if (temp4)
4625 delete arg4;
4626 }
4627 {
4628 if (temp8)
4629 delete arg8;
4630 }
4631 return NULL;
4632 }
4633
4634
4635 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
4636 PyObject *obj;
4637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4638 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4639 Py_INCREF(obj);
4640 return Py_BuildValue((char *)"");
4641 }
4642 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4643 PyObject *resultobj;
4644 wxBitmap *arg1 = 0 ;
4645 wxWindow *arg2 = (wxWindow *) 0 ;
4646 int arg3 ;
4647 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4648 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4649 wxSize const &arg5_defvalue = wxDefaultSize ;
4650 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4651 long arg6 = (long) wxNO_BORDER ;
4652 wxSplashScreenWindow *result;
4653 wxPoint temp4 ;
4654 wxSize temp5 ;
4655 PyObject * obj0 = 0 ;
4656 PyObject * obj1 = 0 ;
4657 PyObject * obj2 = 0 ;
4658 PyObject * obj3 = 0 ;
4659 PyObject * obj4 = 0 ;
4660 PyObject * obj5 = 0 ;
4661 char *kwnames[] = {
4662 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4663 };
4664
4665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4667 SWIG_POINTER_EXCEPTION | 0)) == -1)
4668 SWIG_fail;
4669 if (arg1 == NULL) {
4670 PyErr_SetString(PyExc_TypeError,"null reference");
4671 SWIG_fail;
4672 }
4673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4675 arg3 = (int) SWIG_AsInt(obj2);
4676 if (PyErr_Occurred()) SWIG_fail;
4677 if (obj3) {
4678 {
4679 arg4 = &temp4;
4680 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4681 }
4682 }
4683 if (obj4) {
4684 {
4685 arg5 = &temp5;
4686 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4687 }
4688 }
4689 if (obj5) {
4690 arg6 = (long) SWIG_AsLong(obj5);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4701 return resultobj;
4702 fail:
4703 return NULL;
4704 }
4705
4706
4707 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4708 PyObject *resultobj;
4709 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4710 wxBitmap *arg2 = 0 ;
4711 PyObject * obj0 = 0 ;
4712 PyObject * obj1 = 0 ;
4713 char *kwnames[] = {
4714 (char *) "self",(char *) "bitmap", NULL
4715 };
4716
4717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4721 SWIG_POINTER_EXCEPTION | 0)) == -1)
4722 SWIG_fail;
4723 if (arg2 == NULL) {
4724 PyErr_SetString(PyExc_TypeError,"null reference");
4725 SWIG_fail;
4726 }
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 Py_INCREF(Py_None); resultobj = Py_None;
4735 return resultobj;
4736 fail:
4737 return NULL;
4738 }
4739
4740
4741 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4742 PyObject *resultobj;
4743 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4744 wxBitmap *result;
4745 PyObject * obj0 = 0 ;
4746 char *kwnames[] = {
4747 (char *) "self", NULL
4748 };
4749
4750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4753 {
4754 PyThreadState* __tstate = wxPyBeginAllowThreads();
4755 {
4756 wxBitmap &_result_ref = (arg1)->GetBitmap();
4757 result = (wxBitmap *) &_result_ref;
4758 }
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 {
4764 wxBitmap* resultptr = new wxBitmap(*result);
4765 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4766 }
4767 return resultobj;
4768 fail:
4769 return NULL;
4770 }
4771
4772
4773 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
4774 PyObject *obj;
4775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4776 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4777 Py_INCREF(obj);
4778 return Py_BuildValue((char *)"");
4779 }
4780 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4781 PyObject *resultobj;
4782 wxBitmap *arg1 = 0 ;
4783 long arg2 ;
4784 int arg3 ;
4785 wxWindow *arg4 = (wxWindow *) 0 ;
4786 int arg5 ;
4787 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4788 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4789 wxSize const &arg7_defvalue = wxDefaultSize ;
4790 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4791 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4792 wxSplashScreen *result;
4793 wxPoint temp6 ;
4794 wxSize temp7 ;
4795 PyObject * obj0 = 0 ;
4796 PyObject * obj1 = 0 ;
4797 PyObject * obj2 = 0 ;
4798 PyObject * obj3 = 0 ;
4799 PyObject * obj4 = 0 ;
4800 PyObject * obj5 = 0 ;
4801 PyObject * obj6 = 0 ;
4802 PyObject * obj7 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4809 SWIG_POINTER_EXCEPTION | 0)) == -1)
4810 SWIG_fail;
4811 if (arg1 == NULL) {
4812 PyErr_SetString(PyExc_TypeError,"null reference");
4813 SWIG_fail;
4814 }
4815 arg2 = (long) SWIG_AsLong(obj1);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 arg3 = (int) SWIG_AsInt(obj2);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4821 arg5 = (int) SWIG_AsInt(obj4);
4822 if (PyErr_Occurred()) SWIG_fail;
4823 if (obj5) {
4824 {
4825 arg6 = &temp6;
4826 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4827 }
4828 }
4829 if (obj6) {
4830 {
4831 arg7 = &temp7;
4832 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4833 }
4834 }
4835 if (obj7) {
4836 arg8 = (long) SWIG_AsLong(obj7);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4842
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4847 return resultobj;
4848 fail:
4849 return NULL;
4850 }
4851
4852
4853 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4856 long result;
4857 PyObject * obj0 = 0 ;
4858 char *kwnames[] = {
4859 (char *) "self", NULL
4860 };
4861
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4865 {
4866 PyThreadState* __tstate = wxPyBeginAllowThreads();
4867 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4868
4869 wxPyEndAllowThreads(__tstate);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
4872 resultobj = SWIG_FromLong((long)result);
4873 return resultobj;
4874 fail:
4875 return NULL;
4876 }
4877
4878
4879 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4880 PyObject *resultobj;
4881 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4882 wxSplashScreenWindow *result;
4883 PyObject * obj0 = 0 ;
4884 char *kwnames[] = {
4885 (char *) "self", NULL
4886 };
4887
4888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
4906 PyObject *resultobj;
4907 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4908 int result;
4909 PyObject * obj0 = 0 ;
4910 char *kwnames[] = {
4911 (char *) "self", NULL
4912 };
4913
4914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4917 {
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4920
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 resultobj = SWIG_FromInt((int)result);
4925 return resultobj;
4926 fail:
4927 return NULL;
4928 }
4929
4930
4931 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
4932 PyObject *obj;
4933 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4934 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4935 Py_INCREF(obj);
4936 return Py_BuildValue((char *)"");
4937 }
4938 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
4939 PyObject *resultobj;
4940 wxWindow *arg1 = (wxWindow *) 0 ;
4941 int arg2 = (int) -1 ;
4942 long arg3 = (long) wxST_SIZEGRIP ;
4943 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4944 wxString *arg4 = (wxString *) &arg4_defvalue ;
4945 wxStatusBar *result;
4946 bool temp4 = False ;
4947 PyObject * obj0 = 0 ;
4948 PyObject * obj1 = 0 ;
4949 PyObject * obj2 = 0 ;
4950 PyObject * obj3 = 0 ;
4951 char *kwnames[] = {
4952 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4953 };
4954
4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4958 if (obj1) {
4959 arg2 = (int) SWIG_AsInt(obj1);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 if (obj2) {
4963 arg3 = (long) SWIG_AsLong(obj2);
4964 if (PyErr_Occurred()) SWIG_fail;
4965 }
4966 if (obj3) {
4967 {
4968 arg4 = wxString_in_helper(obj3);
4969 if (arg4 == NULL) SWIG_fail;
4970 temp4 = True;
4971 }
4972 }
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4976
4977 wxPyEndAllowThreads(__tstate);
4978 if (PyErr_Occurred()) SWIG_fail;
4979 }
4980 {
4981 resultobj = wxPyMake_wxObject(result);
4982 }
4983 {
4984 if (temp4)
4985 delete arg4;
4986 }
4987 return resultobj;
4988 fail:
4989 {
4990 if (temp4)
4991 delete arg4;
4992 }
4993 return NULL;
4994 }
4995
4996
4997 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
4998 PyObject *resultobj;
4999 wxStatusBar *result;
5000 char *kwnames[] = {
5001 NULL
5002 };
5003
5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 result = (wxStatusBar *)new wxStatusBar();
5008
5009 wxPyEndAllowThreads(__tstate);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 }
5012 {
5013 resultobj = wxPyMake_wxObject(result);
5014 }
5015 return resultobj;
5016 fail:
5017 return NULL;
5018 }
5019
5020
5021 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj;
5023 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5024 wxWindow *arg2 = (wxWindow *) 0 ;
5025 int arg3 ;
5026 long arg4 = (long) wxST_SIZEGRIP ;
5027 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5028 wxString *arg5 = (wxString *) &arg5_defvalue ;
5029 bool result;
5030 bool temp5 = False ;
5031 PyObject * obj0 = 0 ;
5032 PyObject * obj1 = 0 ;
5033 PyObject * obj2 = 0 ;
5034 PyObject * obj3 = 0 ;
5035 PyObject * obj4 = 0 ;
5036 char *kwnames[] = {
5037 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5038 };
5039
5040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5045 arg3 = (int) SWIG_AsInt(obj2);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 if (obj3) {
5048 arg4 = (long) SWIG_AsLong(obj3);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
5051 if (obj4) {
5052 {
5053 arg5 = wxString_in_helper(obj4);
5054 if (arg5 == NULL) SWIG_fail;
5055 temp5 = True;
5056 }
5057 }
5058 {
5059 PyThreadState* __tstate = wxPyBeginAllowThreads();
5060 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5061
5062 wxPyEndAllowThreads(__tstate);
5063 if (PyErr_Occurred()) SWIG_fail;
5064 }
5065 {
5066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5067 }
5068 {
5069 if (temp5)
5070 delete arg5;
5071 }
5072 return resultobj;
5073 fail:
5074 {
5075 if (temp5)
5076 delete arg5;
5077 }
5078 return NULL;
5079 }
5080
5081
5082 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5083 PyObject *resultobj;
5084 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5085 int arg2 = (int) 1 ;
5086 PyObject * obj0 = 0 ;
5087 PyObject * obj1 = 0 ;
5088 char *kwnames[] = {
5089 (char *) "self",(char *) "number", NULL
5090 };
5091
5092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5095 if (obj1) {
5096 arg2 = (int) SWIG_AsInt(obj1);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 {
5100 PyThreadState* __tstate = wxPyBeginAllowThreads();
5101 (arg1)->SetFieldsCount(arg2);
5102
5103 wxPyEndAllowThreads(__tstate);
5104 if (PyErr_Occurred()) SWIG_fail;
5105 }
5106 Py_INCREF(Py_None); resultobj = Py_None;
5107 return resultobj;
5108 fail:
5109 return NULL;
5110 }
5111
5112
5113 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5114 PyObject *resultobj;
5115 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5116 int result;
5117 PyObject * obj0 = 0 ;
5118 char *kwnames[] = {
5119 (char *) "self", NULL
5120 };
5121
5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5125 {
5126 PyThreadState* __tstate = wxPyBeginAllowThreads();
5127 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5128
5129 wxPyEndAllowThreads(__tstate);
5130 if (PyErr_Occurred()) SWIG_fail;
5131 }
5132 resultobj = SWIG_FromInt((int)result);
5133 return resultobj;
5134 fail:
5135 return NULL;
5136 }
5137
5138
5139 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj;
5141 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5142 wxString *arg2 = 0 ;
5143 int arg3 = (int) 0 ;
5144 bool temp2 = False ;
5145 PyObject * obj0 = 0 ;
5146 PyObject * obj1 = 0 ;
5147 PyObject * obj2 = 0 ;
5148 char *kwnames[] = {
5149 (char *) "self",(char *) "text",(char *) "number", NULL
5150 };
5151
5152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5155 {
5156 arg2 = wxString_in_helper(obj1);
5157 if (arg2 == NULL) SWIG_fail;
5158 temp2 = True;
5159 }
5160 if (obj2) {
5161 arg3 = (int) SWIG_AsInt(obj2);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 }
5164 {
5165 PyThreadState* __tstate = wxPyBeginAllowThreads();
5166 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5167
5168 wxPyEndAllowThreads(__tstate);
5169 if (PyErr_Occurred()) SWIG_fail;
5170 }
5171 Py_INCREF(Py_None); resultobj = Py_None;
5172 {
5173 if (temp2)
5174 delete arg2;
5175 }
5176 return resultobj;
5177 fail:
5178 {
5179 if (temp2)
5180 delete arg2;
5181 }
5182 return NULL;
5183 }
5184
5185
5186 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5187 PyObject *resultobj;
5188 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5189 int arg2 = (int) 0 ;
5190 wxString result;
5191 PyObject * obj0 = 0 ;
5192 PyObject * obj1 = 0 ;
5193 char *kwnames[] = {
5194 (char *) "self",(char *) "number", NULL
5195 };
5196
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5200 if (obj1) {
5201 arg2 = (int) SWIG_AsInt(obj1);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 {
5212 #if wxUSE_UNICODE
5213 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5214 #else
5215 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5216 #endif
5217 }
5218 return resultobj;
5219 fail:
5220 return NULL;
5221 }
5222
5223
5224 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5227 wxString *arg2 = 0 ;
5228 int arg3 = (int) 0 ;
5229 bool temp2 = False ;
5230 PyObject * obj0 = 0 ;
5231 PyObject * obj1 = 0 ;
5232 PyObject * obj2 = 0 ;
5233 char *kwnames[] = {
5234 (char *) "self",(char *) "text",(char *) "number", NULL
5235 };
5236
5237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5240 {
5241 arg2 = wxString_in_helper(obj1);
5242 if (arg2 == NULL) SWIG_fail;
5243 temp2 = True;
5244 }
5245 if (obj2) {
5246 arg3 = (int) SWIG_AsInt(obj2);
5247 if (PyErr_Occurred()) SWIG_fail;
5248 }
5249 {
5250 PyThreadState* __tstate = wxPyBeginAllowThreads();
5251 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5252
5253 wxPyEndAllowThreads(__tstate);
5254 if (PyErr_Occurred()) SWIG_fail;
5255 }
5256 Py_INCREF(Py_None); resultobj = Py_None;
5257 {
5258 if (temp2)
5259 delete arg2;
5260 }
5261 return resultobj;
5262 fail:
5263 {
5264 if (temp2)
5265 delete arg2;
5266 }
5267 return NULL;
5268 }
5269
5270
5271 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5272 PyObject *resultobj;
5273 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5274 int arg2 = (int) 0 ;
5275 PyObject * obj0 = 0 ;
5276 PyObject * obj1 = 0 ;
5277 char *kwnames[] = {
5278 (char *) "self",(char *) "number", NULL
5279 };
5280
5281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5284 if (obj1) {
5285 arg2 = (int) SWIG_AsInt(obj1);
5286 if (PyErr_Occurred()) SWIG_fail;
5287 }
5288 {
5289 PyThreadState* __tstate = wxPyBeginAllowThreads();
5290 (arg1)->PopStatusText(arg2);
5291
5292 wxPyEndAllowThreads(__tstate);
5293 if (PyErr_Occurred()) SWIG_fail;
5294 }
5295 Py_INCREF(Py_None); resultobj = Py_None;
5296 return resultobj;
5297 fail:
5298 return NULL;
5299 }
5300
5301
5302 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5303 PyObject *resultobj;
5304 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5305 int arg2 ;
5306 int *arg3 = (int *) 0 ;
5307 PyObject * obj0 = 0 ;
5308 PyObject * obj1 = 0 ;
5309 char *kwnames[] = {
5310 (char *) "self",(char *) "widths", NULL
5311 };
5312
5313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5316 {
5317 arg2 = PyList_Size(obj1);
5318 arg3 = int_LIST_helper(obj1);
5319 if (arg3 == NULL) SWIG_fail;
5320 }
5321 {
5322 PyThreadState* __tstate = wxPyBeginAllowThreads();
5323 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5324
5325 wxPyEndAllowThreads(__tstate);
5326 if (PyErr_Occurred()) SWIG_fail;
5327 }
5328 Py_INCREF(Py_None); resultobj = Py_None;
5329 {
5330 if (arg3) delete [] arg3;
5331 }
5332 return resultobj;
5333 fail:
5334 {
5335 if (arg3) delete [] arg3;
5336 }
5337 return NULL;
5338 }
5339
5340
5341 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5342 PyObject *resultobj;
5343 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5344 int arg2 ;
5345 wxRect result;
5346 PyObject * obj0 = 0 ;
5347 PyObject * obj1 = 0 ;
5348 char *kwnames[] = {
5349 (char *) "self",(char *) "i", NULL
5350 };
5351
5352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5355 arg2 = (int) SWIG_AsInt(obj1);
5356 if (PyErr_Occurred()) SWIG_fail;
5357 {
5358 PyThreadState* __tstate = wxPyBeginAllowThreads();
5359 result = wxStatusBar_GetFieldRect(arg1,arg2);
5360
5361 wxPyEndAllowThreads(__tstate);
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 {
5365 wxRect * resultptr;
5366 resultptr = new wxRect((wxRect &) result);
5367 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5368 }
5369 return resultobj;
5370 fail:
5371 return NULL;
5372 }
5373
5374
5375 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5376 PyObject *resultobj;
5377 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5378 int arg2 ;
5379 PyObject * obj0 = 0 ;
5380 PyObject * obj1 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self",(char *) "height", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5388 arg2 = (int) SWIG_AsInt(obj1);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 (arg1)->SetMinHeight(arg2);
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
5397 Py_INCREF(Py_None); resultobj = Py_None;
5398 return resultobj;
5399 fail:
5400 return NULL;
5401 }
5402
5403
5404 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5405 PyObject *resultobj;
5406 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5407 int result;
5408 PyObject * obj0 = 0 ;
5409 char *kwnames[] = {
5410 (char *) "self", NULL
5411 };
5412
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5419
5420 wxPyEndAllowThreads(__tstate);
5421 if (PyErr_Occurred()) SWIG_fail;
5422 }
5423 resultobj = SWIG_FromInt((int)result);
5424 return resultobj;
5425 fail:
5426 return NULL;
5427 }
5428
5429
5430 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5431 PyObject *resultobj;
5432 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5433 int result;
5434 PyObject * obj0 = 0 ;
5435 char *kwnames[] = {
5436 (char *) "self", NULL
5437 };
5438
5439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5442 {
5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
5444 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5445
5446 wxPyEndAllowThreads(__tstate);
5447 if (PyErr_Occurred()) SWIG_fail;
5448 }
5449 resultobj = SWIG_FromInt((int)result);
5450 return resultobj;
5451 fail:
5452 return NULL;
5453 }
5454
5455
5456 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5457 PyObject *obj;
5458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5459 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5460 Py_INCREF(obj);
5461 return Py_BuildValue((char *)"");
5462 }
5463 static int _wrap_SplitterNameStr_set(PyObject *) {
5464 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5465 return 1;
5466 }
5467
5468
5469 static PyObject *_wrap_SplitterNameStr_get() {
5470 PyObject *pyobj;
5471
5472 {
5473 #if wxUSE_UNICODE
5474 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5475 #else
5476 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5477 #endif
5478 }
5479 return pyobj;
5480 }
5481
5482
5483 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5484 PyObject *resultobj;
5485 wxWindow *arg1 = (wxWindow *) 0 ;
5486 int arg2 = (int) -1 ;
5487 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5488 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5489 wxSize const &arg4_defvalue = wxDefaultSize ;
5490 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5491 long arg5 = (long) wxSP_3D ;
5492 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5493 wxString *arg6 = (wxString *) &arg6_defvalue ;
5494 wxSplitterWindow *result;
5495 wxPoint temp3 ;
5496 wxSize temp4 ;
5497 bool temp6 = False ;
5498 PyObject * obj0 = 0 ;
5499 PyObject * obj1 = 0 ;
5500 PyObject * obj2 = 0 ;
5501 PyObject * obj3 = 0 ;
5502 PyObject * obj4 = 0 ;
5503 PyObject * obj5 = 0 ;
5504 char *kwnames[] = {
5505 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5506 };
5507
5508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5511 if (obj1) {
5512 arg2 = (int) SWIG_AsInt(obj1);
5513 if (PyErr_Occurred()) SWIG_fail;
5514 }
5515 if (obj2) {
5516 {
5517 arg3 = &temp3;
5518 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5519 }
5520 }
5521 if (obj3) {
5522 {
5523 arg4 = &temp4;
5524 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5525 }
5526 }
5527 if (obj4) {
5528 arg5 = (long) SWIG_AsLong(obj4);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 if (obj5) {
5532 {
5533 arg6 = wxString_in_helper(obj5);
5534 if (arg6 == NULL) SWIG_fail;
5535 temp6 = True;
5536 }
5537 }
5538 {
5539 PyThreadState* __tstate = wxPyBeginAllowThreads();
5540 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5541
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5546 {
5547 if (temp6)
5548 delete arg6;
5549 }
5550 return resultobj;
5551 fail:
5552 {
5553 if (temp6)
5554 delete arg6;
5555 }
5556 return NULL;
5557 }
5558
5559
5560 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5561 PyObject *resultobj;
5562 wxSplitterWindow *result;
5563 char *kwnames[] = {
5564 NULL
5565 };
5566
5567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5568 {
5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
5570 result = (wxSplitterWindow *)new wxSplitterWindow();
5571
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5576 return resultobj;
5577 fail:
5578 return NULL;
5579 }
5580
5581
5582 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5583 PyObject *resultobj;
5584 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5585 wxWindow *arg2 = (wxWindow *) 0 ;
5586 int arg3 = (int) -1 ;
5587 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5588 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5589 wxSize const &arg5_defvalue = wxDefaultSize ;
5590 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5591 long arg6 = (long) wxSP_3D ;
5592 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5593 wxString *arg7 = (wxString *) &arg7_defvalue ;
5594 bool result;
5595 wxPoint temp4 ;
5596 wxSize temp5 ;
5597 bool temp7 = False ;
5598 PyObject * obj0 = 0 ;
5599 PyObject * obj1 = 0 ;
5600 PyObject * obj2 = 0 ;
5601 PyObject * obj3 = 0 ;
5602 PyObject * obj4 = 0 ;
5603 PyObject * obj5 = 0 ;
5604 PyObject * obj6 = 0 ;
5605 char *kwnames[] = {
5606 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5607 };
5608
5609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5614 if (obj2) {
5615 arg3 = (int) SWIG_AsInt(obj2);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 if (obj3) {
5619 {
5620 arg4 = &temp4;
5621 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5622 }
5623 }
5624 if (obj4) {
5625 {
5626 arg5 = &temp5;
5627 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5628 }
5629 }
5630 if (obj5) {
5631 arg6 = (long) SWIG_AsLong(obj5);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 if (obj6) {
5635 {
5636 arg7 = wxString_in_helper(obj6);
5637 if (arg7 == NULL) SWIG_fail;
5638 temp7 = True;
5639 }
5640 }
5641 {
5642 PyThreadState* __tstate = wxPyBeginAllowThreads();
5643 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5644
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
5648 {
5649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5650 }
5651 {
5652 if (temp7)
5653 delete arg7;
5654 }
5655 return resultobj;
5656 fail:
5657 {
5658 if (temp7)
5659 delete arg7;
5660 }
5661 return NULL;
5662 }
5663
5664
5665 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
5666 PyObject *resultobj;
5667 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5668 wxWindow *result;
5669 PyObject * obj0 = 0 ;
5670 char *kwnames[] = {
5671 (char *) "self", NULL
5672 };
5673
5674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5680
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 {
5685 resultobj = wxPyMake_wxObject(result);
5686 }
5687 return resultobj;
5688 fail:
5689 return NULL;
5690 }
5691
5692
5693 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
5694 PyObject *resultobj;
5695 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5696 wxWindow *result;
5697 PyObject * obj0 = 0 ;
5698 char *kwnames[] = {
5699 (char *) "self", NULL
5700 };
5701
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5708
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 {
5713 resultobj = wxPyMake_wxObject(result);
5714 }
5715 return resultobj;
5716 fail:
5717 return NULL;
5718 }
5719
5720
5721 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
5722 PyObject *resultobj;
5723 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5724 int arg2 ;
5725 PyObject * obj0 = 0 ;
5726 PyObject * obj1 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "mode", NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5734 arg2 = (int) SWIG_AsInt(obj1);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 {
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 (arg1)->SetSplitMode(arg2);
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
5743 Py_INCREF(Py_None); resultobj = Py_None;
5744 return resultobj;
5745 fail:
5746 return NULL;
5747 }
5748
5749
5750 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
5751 PyObject *resultobj;
5752 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5753 int result;
5754 PyObject * obj0 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "self", NULL
5757 };
5758
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5762 {
5763 PyThreadState* __tstate = wxPyBeginAllowThreads();
5764 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5765
5766 wxPyEndAllowThreads(__tstate);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
5769 resultobj = SWIG_FromInt((int)result);
5770 return resultobj;
5771 fail:
5772 return NULL;
5773 }
5774
5775
5776 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
5777 PyObject *resultobj;
5778 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5779 wxWindow *arg2 = (wxWindow *) 0 ;
5780 PyObject * obj0 = 0 ;
5781 PyObject * obj1 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "self",(char *) "window", NULL
5784 };
5785
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5791 {
5792 PyThreadState* __tstate = wxPyBeginAllowThreads();
5793 (arg1)->Initialize(arg2);
5794
5795 wxPyEndAllowThreads(__tstate);
5796 if (PyErr_Occurred()) SWIG_fail;
5797 }
5798 Py_INCREF(Py_None); resultobj = Py_None;
5799 return resultobj;
5800 fail:
5801 return NULL;
5802 }
5803
5804
5805 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
5806 PyObject *resultobj;
5807 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5808 wxWindow *arg2 = (wxWindow *) 0 ;
5809 wxWindow *arg3 = (wxWindow *) 0 ;
5810 int arg4 = (int) 0 ;
5811 bool result;
5812 PyObject * obj0 = 0 ;
5813 PyObject * obj1 = 0 ;
5814 PyObject * obj2 = 0 ;
5815 PyObject * obj3 = 0 ;
5816 char *kwnames[] = {
5817 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5818 };
5819
5820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5825 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5827 if (obj3) {
5828 arg4 = (int) SWIG_AsInt(obj3);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 {
5832 PyThreadState* __tstate = wxPyBeginAllowThreads();
5833 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5834
5835 wxPyEndAllowThreads(__tstate);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 }
5838 {
5839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5840 }
5841 return resultobj;
5842 fail:
5843 return NULL;
5844 }
5845
5846
5847 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
5848 PyObject *resultobj;
5849 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5850 wxWindow *arg2 = (wxWindow *) 0 ;
5851 wxWindow *arg3 = (wxWindow *) 0 ;
5852 int arg4 = (int) 0 ;
5853 bool result;
5854 PyObject * obj0 = 0 ;
5855 PyObject * obj1 = 0 ;
5856 PyObject * obj2 = 0 ;
5857 PyObject * obj3 = 0 ;
5858 char *kwnames[] = {
5859 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5860 };
5861
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5865 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5867 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5869 if (obj3) {
5870 arg4 = (int) SWIG_AsInt(obj3);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5876
5877 wxPyEndAllowThreads(__tstate);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 }
5880 {
5881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5882 }
5883 return resultobj;
5884 fail:
5885 return NULL;
5886 }
5887
5888
5889 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
5890 PyObject *resultobj;
5891 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5892 wxWindow *arg2 = (wxWindow *) NULL ;
5893 bool result;
5894 PyObject * obj0 = 0 ;
5895 PyObject * obj1 = 0 ;
5896 char *kwnames[] = {
5897 (char *) "self",(char *) "toRemove", NULL
5898 };
5899
5900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5903 if (obj1) {
5904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5906 }
5907 {
5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
5909 result = (bool)(arg1)->Unsplit(arg2);
5910
5911 wxPyEndAllowThreads(__tstate);
5912 if (PyErr_Occurred()) SWIG_fail;
5913 }
5914 {
5915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5916 }
5917 return resultobj;
5918 fail:
5919 return NULL;
5920 }
5921
5922
5923 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5924 PyObject *resultobj;
5925 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5926 wxWindow *arg2 = (wxWindow *) 0 ;
5927 wxWindow *arg3 = (wxWindow *) 0 ;
5928 bool result;
5929 PyObject * obj0 = 0 ;
5930 PyObject * obj1 = 0 ;
5931 PyObject * obj2 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5941 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5943 {
5944 PyThreadState* __tstate = wxPyBeginAllowThreads();
5945 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5946
5947 wxPyEndAllowThreads(__tstate);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
5950 {
5951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5952 }
5953 return resultobj;
5954 fail:
5955 return NULL;
5956 }
5957
5958
5959 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
5960 PyObject *resultobj;
5961 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5962 PyObject * obj0 = 0 ;
5963 char *kwnames[] = {
5964 (char *) "self", NULL
5965 };
5966
5967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5970 {
5971 PyThreadState* __tstate = wxPyBeginAllowThreads();
5972 (arg1)->UpdateSize();
5973
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 Py_INCREF(Py_None); resultobj = Py_None;
5978 return resultobj;
5979 fail:
5980 return NULL;
5981 }
5982
5983
5984 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
5985 PyObject *resultobj;
5986 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5987 bool result;
5988 PyObject * obj0 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5999
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 {
6004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6005 }
6006 return resultobj;
6007 fail:
6008 return NULL;
6009 }
6010
6011
6012 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6013 PyObject *resultobj;
6014 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6015 int arg2 ;
6016 PyObject * obj0 = 0 ;
6017 PyObject * obj1 = 0 ;
6018 char *kwnames[] = {
6019 (char *) "self",(char *) "width", NULL
6020 };
6021
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6025 arg2 = (int) SWIG_AsInt(obj1);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 (arg1)->SetSashSize(arg2);
6030
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 }
6034 Py_INCREF(Py_None); resultobj = Py_None;
6035 return resultobj;
6036 fail:
6037 return NULL;
6038 }
6039
6040
6041 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6042 PyObject *resultobj;
6043 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6044 int arg2 ;
6045 PyObject * obj0 = 0 ;
6046 PyObject * obj1 = 0 ;
6047 char *kwnames[] = {
6048 (char *) "self",(char *) "width", NULL
6049 };
6050
6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6054 arg2 = (int) SWIG_AsInt(obj1);
6055 if (PyErr_Occurred()) SWIG_fail;
6056 {
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
6058 (arg1)->SetBorderSize(arg2);
6059
6060 wxPyEndAllowThreads(__tstate);
6061 if (PyErr_Occurred()) SWIG_fail;
6062 }
6063 Py_INCREF(Py_None); resultobj = Py_None;
6064 return resultobj;
6065 fail:
6066 return NULL;
6067 }
6068
6069
6070 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6071 PyObject *resultobj;
6072 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6073 int result;
6074 PyObject * obj0 = 0 ;
6075 char *kwnames[] = {
6076 (char *) "self", NULL
6077 };
6078
6079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6082 {
6083 PyThreadState* __tstate = wxPyBeginAllowThreads();
6084 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6085
6086 wxPyEndAllowThreads(__tstate);
6087 if (PyErr_Occurred()) SWIG_fail;
6088 }
6089 resultobj = SWIG_FromInt((int)result);
6090 return resultobj;
6091 fail:
6092 return NULL;
6093 }
6094
6095
6096 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6097 PyObject *resultobj;
6098 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6099 int result;
6100 PyObject * obj0 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "self", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6108 {
6109 PyThreadState* __tstate = wxPyBeginAllowThreads();
6110 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6111
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 resultobj = SWIG_FromInt((int)result);
6116 return resultobj;
6117 fail:
6118 return NULL;
6119 }
6120
6121
6122 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6123 PyObject *resultobj;
6124 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6125 int arg2 ;
6126 bool arg3 = (bool) True ;
6127 PyObject * obj0 = 0 ;
6128 PyObject * obj1 = 0 ;
6129 PyObject * obj2 = 0 ;
6130 char *kwnames[] = {
6131 (char *) "self",(char *) "position",(char *) "redraw", NULL
6132 };
6133
6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6137 arg2 = (int) SWIG_AsInt(obj1);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 if (obj2) {
6140 arg3 = (bool) SWIG_AsBool(obj2);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 (arg1)->SetSashPosition(arg2,arg3);
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 Py_INCREF(Py_None); resultobj = Py_None;
6151 return resultobj;
6152 fail:
6153 return NULL;
6154 }
6155
6156
6157 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj;
6159 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6160 int result;
6161 PyObject * obj0 = 0 ;
6162 char *kwnames[] = {
6163 (char *) "self", NULL
6164 };
6165
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6169 {
6170 PyThreadState* __tstate = wxPyBeginAllowThreads();
6171 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6172
6173 wxPyEndAllowThreads(__tstate);
6174 if (PyErr_Occurred()) SWIG_fail;
6175 }
6176 resultobj = SWIG_FromInt((int)result);
6177 return resultobj;
6178 fail:
6179 return NULL;
6180 }
6181
6182
6183 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6184 PyObject *resultobj;
6185 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6186 int arg2 ;
6187 PyObject * obj0 = 0 ;
6188 PyObject * obj1 = 0 ;
6189 char *kwnames[] = {
6190 (char *) "self",(char *) "min", NULL
6191 };
6192
6193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6196 arg2 = (int) SWIG_AsInt(obj1);
6197 if (PyErr_Occurred()) SWIG_fail;
6198 {
6199 PyThreadState* __tstate = wxPyBeginAllowThreads();
6200 (arg1)->SetMinimumPaneSize(arg2);
6201
6202 wxPyEndAllowThreads(__tstate);
6203 if (PyErr_Occurred()) SWIG_fail;
6204 }
6205 Py_INCREF(Py_None); resultobj = Py_None;
6206 return resultobj;
6207 fail:
6208 return NULL;
6209 }
6210
6211
6212 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6213 PyObject *resultobj;
6214 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6215 int result;
6216 PyObject * obj0 = 0 ;
6217 char *kwnames[] = {
6218 (char *) "self", NULL
6219 };
6220
6221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6224 {
6225 PyThreadState* __tstate = wxPyBeginAllowThreads();
6226 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6227
6228 wxPyEndAllowThreads(__tstate);
6229 if (PyErr_Occurred()) SWIG_fail;
6230 }
6231 resultobj = SWIG_FromInt((int)result);
6232 return resultobj;
6233 fail:
6234 return NULL;
6235 }
6236
6237
6238 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6239 PyObject *resultobj;
6240 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6241 int arg2 ;
6242 int arg3 ;
6243 int arg4 = (int) 5 ;
6244 bool result;
6245 PyObject * obj0 = 0 ;
6246 PyObject * obj1 = 0 ;
6247 PyObject * obj2 = 0 ;
6248 PyObject * obj3 = 0 ;
6249 char *kwnames[] = {
6250 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6251 };
6252
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6256 arg2 = (int) SWIG_AsInt(obj1);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 arg3 = (int) SWIG_AsInt(obj2);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 if (obj3) {
6261 arg4 = (int) SWIG_AsInt(obj3);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 }
6264 {
6265 PyThreadState* __tstate = wxPyBeginAllowThreads();
6266 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6267
6268 wxPyEndAllowThreads(__tstate);
6269 if (PyErr_Occurred()) SWIG_fail;
6270 }
6271 {
6272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6273 }
6274 return resultobj;
6275 fail:
6276 return NULL;
6277 }
6278
6279
6280 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj;
6282 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6283 PyObject * obj0 = 0 ;
6284 char *kwnames[] = {
6285 (char *) "self", NULL
6286 };
6287
6288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6291 {
6292 PyThreadState* __tstate = wxPyBeginAllowThreads();
6293 (arg1)->SizeWindows();
6294
6295 wxPyEndAllowThreads(__tstate);
6296 if (PyErr_Occurred()) SWIG_fail;
6297 }
6298 Py_INCREF(Py_None); resultobj = Py_None;
6299 return resultobj;
6300 fail:
6301 return NULL;
6302 }
6303
6304
6305 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6306 PyObject *resultobj;
6307 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6308 bool arg2 ;
6309 PyObject * obj0 = 0 ;
6310 PyObject * obj1 = 0 ;
6311 char *kwnames[] = {
6312 (char *) "self",(char *) "needUpdating", NULL
6313 };
6314
6315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6318 arg2 = (bool) SWIG_AsBool(obj1);
6319 if (PyErr_Occurred()) SWIG_fail;
6320 {
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 (arg1)->SetNeedUpdating(arg2);
6323
6324 wxPyEndAllowThreads(__tstate);
6325 if (PyErr_Occurred()) SWIG_fail;
6326 }
6327 Py_INCREF(Py_None); resultobj = Py_None;
6328 return resultobj;
6329 fail:
6330 return NULL;
6331 }
6332
6333
6334 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj;
6336 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6337 bool result;
6338 PyObject * obj0 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "self", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6346 {
6347 PyThreadState* __tstate = wxPyBeginAllowThreads();
6348 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6349
6350 wxPyEndAllowThreads(__tstate);
6351 if (PyErr_Occurred()) SWIG_fail;
6352 }
6353 {
6354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6355 }
6356 return resultobj;
6357 fail:
6358 return NULL;
6359 }
6360
6361
6362 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6363 PyObject *obj;
6364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6365 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6366 Py_INCREF(obj);
6367 return Py_BuildValue((char *)"");
6368 }
6369 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6370 PyObject *resultobj;
6371 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6372 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6373 wxSplitterEvent *result;
6374 PyObject * obj0 = 0 ;
6375 PyObject * obj1 = 0 ;
6376 char *kwnames[] = {
6377 (char *) "type",(char *) "splitter", NULL
6378 };
6379
6380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6381 if (obj0) {
6382 arg1 = (wxEventType) SWIG_AsInt(obj0);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 }
6385 if (obj1) {
6386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6388 }
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6397 return resultobj;
6398 fail:
6399 return NULL;
6400 }
6401
6402
6403 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6404 PyObject *resultobj;
6405 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6406 int arg2 ;
6407 PyObject * obj0 = 0 ;
6408 PyObject * obj1 = 0 ;
6409 char *kwnames[] = {
6410 (char *) "self",(char *) "pos", NULL
6411 };
6412
6413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6416 arg2 = (int) SWIG_AsInt(obj1);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 (arg1)->SetSashPosition(arg2);
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 Py_INCREF(Py_None); resultobj = Py_None;
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj;
6434 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6435 int result;
6436 PyObject * obj0 = 0 ;
6437 char *kwnames[] = {
6438 (char *) "self", NULL
6439 };
6440
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6444 {
6445 PyThreadState* __tstate = wxPyBeginAllowThreads();
6446 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6447
6448 wxPyEndAllowThreads(__tstate);
6449 if (PyErr_Occurred()) SWIG_fail;
6450 }
6451 resultobj = SWIG_FromInt((int)result);
6452 return resultobj;
6453 fail:
6454 return NULL;
6455 }
6456
6457
6458 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6459 PyObject *resultobj;
6460 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6461 wxWindow *result;
6462 PyObject * obj0 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "self", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6470 {
6471 PyThreadState* __tstate = wxPyBeginAllowThreads();
6472 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6473
6474 wxPyEndAllowThreads(__tstate);
6475 if (PyErr_Occurred()) SWIG_fail;
6476 }
6477 {
6478 resultobj = wxPyMake_wxObject(result);
6479 }
6480 return resultobj;
6481 fail:
6482 return NULL;
6483 }
6484
6485
6486 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6487 PyObject *resultobj;
6488 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6489 int result;
6490 PyObject * obj0 = 0 ;
6491 char *kwnames[] = {
6492 (char *) "self", NULL
6493 };
6494
6495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6498 {
6499 PyThreadState* __tstate = wxPyBeginAllowThreads();
6500 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6501
6502 wxPyEndAllowThreads(__tstate);
6503 if (PyErr_Occurred()) SWIG_fail;
6504 }
6505 resultobj = SWIG_FromInt((int)result);
6506 return resultobj;
6507 fail:
6508 return NULL;
6509 }
6510
6511
6512 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6513 PyObject *resultobj;
6514 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6515 int result;
6516 PyObject * obj0 = 0 ;
6517 char *kwnames[] = {
6518 (char *) "self", NULL
6519 };
6520
6521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 resultobj = SWIG_FromInt((int)result);
6532 return resultobj;
6533 fail:
6534 return NULL;
6535 }
6536
6537
6538 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
6539 PyObject *obj;
6540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6541 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6542 Py_INCREF(obj);
6543 return Py_BuildValue((char *)"");
6544 }
6545 static int _wrap_SashNameStr_set(PyObject *) {
6546 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6547 return 1;
6548 }
6549
6550
6551 static PyObject *_wrap_SashNameStr_get() {
6552 PyObject *pyobj;
6553
6554 {
6555 #if wxUSE_UNICODE
6556 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6557 #else
6558 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6559 #endif
6560 }
6561 return pyobj;
6562 }
6563
6564
6565 static int _wrap_SashLayoutNameStr_set(PyObject *) {
6566 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6567 return 1;
6568 }
6569
6570
6571 static PyObject *_wrap_SashLayoutNameStr_get() {
6572 PyObject *pyobj;
6573
6574 {
6575 #if wxUSE_UNICODE
6576 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6577 #else
6578 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6579 #endif
6580 }
6581 return pyobj;
6582 }
6583
6584
6585 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj;
6587 wxWindow *arg1 = (wxWindow *) 0 ;
6588 int arg2 ;
6589 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6590 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6591 wxSize const &arg4_defvalue = wxDefaultSize ;
6592 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6593 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6594 wxString const &arg6_defvalue = wxPySashNameStr ;
6595 wxString *arg6 = (wxString *) &arg6_defvalue ;
6596 wxSashWindow *result;
6597 wxPoint temp3 ;
6598 wxSize temp4 ;
6599 bool temp6 = False ;
6600 PyObject * obj0 = 0 ;
6601 PyObject * obj1 = 0 ;
6602 PyObject * obj2 = 0 ;
6603 PyObject * obj3 = 0 ;
6604 PyObject * obj4 = 0 ;
6605 PyObject * obj5 = 0 ;
6606 char *kwnames[] = {
6607 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6608 };
6609
6610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6613 arg2 = (int) SWIG_AsInt(obj1);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 if (obj2) {
6616 {
6617 arg3 = &temp3;
6618 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6619 }
6620 }
6621 if (obj3) {
6622 {
6623 arg4 = &temp4;
6624 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6625 }
6626 }
6627 if (obj4) {
6628 arg5 = (long) SWIG_AsLong(obj4);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 if (obj5) {
6632 {
6633 arg6 = wxString_in_helper(obj5);
6634 if (arg6 == NULL) SWIG_fail;
6635 temp6 = True;
6636 }
6637 }
6638 {
6639 PyThreadState* __tstate = wxPyBeginAllowThreads();
6640 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6641
6642 wxPyEndAllowThreads(__tstate);
6643 if (PyErr_Occurred()) SWIG_fail;
6644 }
6645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6646 {
6647 if (temp6)
6648 delete arg6;
6649 }
6650 return resultobj;
6651 fail:
6652 {
6653 if (temp6)
6654 delete arg6;
6655 }
6656 return NULL;
6657 }
6658
6659
6660 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6661 PyObject *resultobj;
6662 wxSashWindow *result;
6663 char *kwnames[] = {
6664 NULL
6665 };
6666
6667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6668 {
6669 PyThreadState* __tstate = wxPyBeginAllowThreads();
6670 result = (wxSashWindow *)new wxSashWindow();
6671
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
6675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6676 return resultobj;
6677 fail:
6678 return NULL;
6679 }
6680
6681
6682 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6683 PyObject *resultobj;
6684 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6685 wxWindow *arg2 = (wxWindow *) 0 ;
6686 int arg3 ;
6687 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6688 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6689 wxSize const &arg5_defvalue = wxDefaultSize ;
6690 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6691 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6692 wxString const &arg7_defvalue = wxPySashNameStr ;
6693 wxString *arg7 = (wxString *) &arg7_defvalue ;
6694 bool result;
6695 wxPoint temp4 ;
6696 wxSize temp5 ;
6697 bool temp7 = False ;
6698 PyObject * obj0 = 0 ;
6699 PyObject * obj1 = 0 ;
6700 PyObject * obj2 = 0 ;
6701 PyObject * obj3 = 0 ;
6702 PyObject * obj4 = 0 ;
6703 PyObject * obj5 = 0 ;
6704 PyObject * obj6 = 0 ;
6705 char *kwnames[] = {
6706 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6707 };
6708
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6714 arg3 = (int) SWIG_AsInt(obj2);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 if (obj3) {
6717 {
6718 arg4 = &temp4;
6719 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6720 }
6721 }
6722 if (obj4) {
6723 {
6724 arg5 = &temp5;
6725 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6726 }
6727 }
6728 if (obj5) {
6729 arg6 = (long) SWIG_AsLong(obj5);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 if (obj6) {
6733 {
6734 arg7 = wxString_in_helper(obj6);
6735 if (arg7 == NULL) SWIG_fail;
6736 temp7 = True;
6737 }
6738 }
6739 {
6740 PyThreadState* __tstate = wxPyBeginAllowThreads();
6741 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6742
6743 wxPyEndAllowThreads(__tstate);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 {
6747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6748 }
6749 {
6750 if (temp7)
6751 delete arg7;
6752 }
6753 return resultobj;
6754 fail:
6755 {
6756 if (temp7)
6757 delete arg7;
6758 }
6759 return NULL;
6760 }
6761
6762
6763 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6766 int arg2 ;
6767 bool arg3 ;
6768 PyObject * obj0 = 0 ;
6769 PyObject * obj1 = 0 ;
6770 PyObject * obj2 = 0 ;
6771 char *kwnames[] = {
6772 (char *) "self",(char *) "edge",(char *) "sash", NULL
6773 };
6774
6775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6778 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 arg3 = (bool) SWIG_AsBool(obj2);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 Py_INCREF(Py_None); resultobj = Py_None;
6790 return resultobj;
6791 fail:
6792 return NULL;
6793 }
6794
6795
6796 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6797 PyObject *resultobj;
6798 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6799 int arg2 ;
6800 bool result;
6801 PyObject * obj0 = 0 ;
6802 PyObject * obj1 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self",(char *) "edge", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6810 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 {
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6815
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 {
6820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6821 }
6822 return resultobj;
6823 fail:
6824 return NULL;
6825 }
6826
6827
6828 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
6829 PyObject *resultobj;
6830 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6831 int arg2 ;
6832 bool arg3 ;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 PyObject * obj2 = 0 ;
6836 char *kwnames[] = {
6837 (char *) "self",(char *) "edge",(char *) "border", NULL
6838 };
6839
6840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6843 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 arg3 = (bool) SWIG_AsBool(obj2);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 {
6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6849 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6850
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 Py_INCREF(Py_None); resultobj = Py_None;
6855 return resultobj;
6856 fail:
6857 return NULL;
6858 }
6859
6860
6861 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
6862 PyObject *resultobj;
6863 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6864 int arg2 ;
6865 bool result;
6866 PyObject * obj0 = 0 ;
6867 PyObject * obj1 = 0 ;
6868 char *kwnames[] = {
6869 (char *) "self",(char *) "edge", NULL
6870 };
6871
6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6875 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 {
6885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6886 }
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj;
6895 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6896 int arg2 ;
6897 int result;
6898 PyObject * obj0 = 0 ;
6899 PyObject * obj1 = 0 ;
6900 char *kwnames[] = {
6901 (char *) "self",(char *) "edge", NULL
6902 };
6903
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6907 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6912
6913 wxPyEndAllowThreads(__tstate);
6914 if (PyErr_Occurred()) SWIG_fail;
6915 }
6916 resultobj = SWIG_FromInt((int)result);
6917 return resultobj;
6918 fail:
6919 return NULL;
6920 }
6921
6922
6923 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6924 PyObject *resultobj;
6925 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6926 int arg2 ;
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
6929 char *kwnames[] = {
6930 (char *) "self",(char *) "width", NULL
6931 };
6932
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6936 arg2 = (int) SWIG_AsInt(obj1);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 {
6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6940 (arg1)->SetDefaultBorderSize(arg2);
6941
6942 wxPyEndAllowThreads(__tstate);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
6945 Py_INCREF(Py_None); resultobj = Py_None;
6946 return resultobj;
6947 fail:
6948 return NULL;
6949 }
6950
6951
6952 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6953 PyObject *resultobj;
6954 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6955 int result;
6956 PyObject * obj0 = 0 ;
6957 char *kwnames[] = {
6958 (char *) "self", NULL
6959 };
6960
6961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6964 {
6965 PyThreadState* __tstate = wxPyBeginAllowThreads();
6966 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6967
6968 wxPyEndAllowThreads(__tstate);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 }
6971 resultobj = SWIG_FromInt((int)result);
6972 return resultobj;
6973 fail:
6974 return NULL;
6975 }
6976
6977
6978 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6979 PyObject *resultobj;
6980 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6981 int arg2 ;
6982 PyObject * obj0 = 0 ;
6983 PyObject * obj1 = 0 ;
6984 char *kwnames[] = {
6985 (char *) "self",(char *) "width", NULL
6986 };
6987
6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6991 arg2 = (int) SWIG_AsInt(obj1);
6992 if (PyErr_Occurred()) SWIG_fail;
6993 {
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
6995 (arg1)->SetExtraBorderSize(arg2);
6996
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 Py_INCREF(Py_None); resultobj = Py_None;
7001 return resultobj;
7002 fail:
7003 return NULL;
7004 }
7005
7006
7007 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7008 PyObject *resultobj;
7009 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7010 int result;
7011 PyObject * obj0 = 0 ;
7012 char *kwnames[] = {
7013 (char *) "self", NULL
7014 };
7015
7016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7019 {
7020 PyThreadState* __tstate = wxPyBeginAllowThreads();
7021 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7022
7023 wxPyEndAllowThreads(__tstate);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 }
7026 resultobj = SWIG_FromInt((int)result);
7027 return resultobj;
7028 fail:
7029 return NULL;
7030 }
7031
7032
7033 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7034 PyObject *resultobj;
7035 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7036 int arg2 ;
7037 PyObject * obj0 = 0 ;
7038 PyObject * obj1 = 0 ;
7039 char *kwnames[] = {
7040 (char *) "self",(char *) "min", NULL
7041 };
7042
7043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7046 arg2 = (int) SWIG_AsInt(obj1);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 {
7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
7050 (arg1)->SetMinimumSizeX(arg2);
7051
7052 wxPyEndAllowThreads(__tstate);
7053 if (PyErr_Occurred()) SWIG_fail;
7054 }
7055 Py_INCREF(Py_None); resultobj = Py_None;
7056 return resultobj;
7057 fail:
7058 return NULL;
7059 }
7060
7061
7062 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7063 PyObject *resultobj;
7064 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7065 int arg2 ;
7066 PyObject * obj0 = 0 ;
7067 PyObject * obj1 = 0 ;
7068 char *kwnames[] = {
7069 (char *) "self",(char *) "min", NULL
7070 };
7071
7072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7075 arg2 = (int) SWIG_AsInt(obj1);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 (arg1)->SetMinimumSizeY(arg2);
7080
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 Py_INCREF(Py_None); resultobj = Py_None;
7085 return resultobj;
7086 fail:
7087 return NULL;
7088 }
7089
7090
7091 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7092 PyObject *resultobj;
7093 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7094 int result;
7095 PyObject * obj0 = 0 ;
7096 char *kwnames[] = {
7097 (char *) "self", NULL
7098 };
7099
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 resultobj = SWIG_FromInt((int)result);
7111 return resultobj;
7112 fail:
7113 return NULL;
7114 }
7115
7116
7117 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7118 PyObject *resultobj;
7119 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7120 int result;
7121 PyObject * obj0 = 0 ;
7122 char *kwnames[] = {
7123 (char *) "self", NULL
7124 };
7125
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7129 {
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7132
7133 wxPyEndAllowThreads(__tstate);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 resultobj = SWIG_FromInt((int)result);
7137 return resultobj;
7138 fail:
7139 return NULL;
7140 }
7141
7142
7143 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj;
7145 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7146 int arg2 ;
7147 PyObject * obj0 = 0 ;
7148 PyObject * obj1 = 0 ;
7149 char *kwnames[] = {
7150 (char *) "self",(char *) "max", NULL
7151 };
7152
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7156 arg2 = (int) SWIG_AsInt(obj1);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 {
7159 PyThreadState* __tstate = wxPyBeginAllowThreads();
7160 (arg1)->SetMaximumSizeX(arg2);
7161
7162 wxPyEndAllowThreads(__tstate);
7163 if (PyErr_Occurred()) SWIG_fail;
7164 }
7165 Py_INCREF(Py_None); resultobj = Py_None;
7166 return resultobj;
7167 fail:
7168 return NULL;
7169 }
7170
7171
7172 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7173 PyObject *resultobj;
7174 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7175 int arg2 ;
7176 PyObject * obj0 = 0 ;
7177 PyObject * obj1 = 0 ;
7178 char *kwnames[] = {
7179 (char *) "self",(char *) "max", NULL
7180 };
7181
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7185 arg2 = (int) SWIG_AsInt(obj1);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 {
7188 PyThreadState* __tstate = wxPyBeginAllowThreads();
7189 (arg1)->SetMaximumSizeY(arg2);
7190
7191 wxPyEndAllowThreads(__tstate);
7192 if (PyErr_Occurred()) SWIG_fail;
7193 }
7194 Py_INCREF(Py_None); resultobj = Py_None;
7195 return resultobj;
7196 fail:
7197 return NULL;
7198 }
7199
7200
7201 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7202 PyObject *resultobj;
7203 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7204 int result;
7205 PyObject * obj0 = 0 ;
7206 char *kwnames[] = {
7207 (char *) "self", NULL
7208 };
7209
7210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7213 {
7214 PyThreadState* __tstate = wxPyBeginAllowThreads();
7215 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7216
7217 wxPyEndAllowThreads(__tstate);
7218 if (PyErr_Occurred()) SWIG_fail;
7219 }
7220 resultobj = SWIG_FromInt((int)result);
7221 return resultobj;
7222 fail:
7223 return NULL;
7224 }
7225
7226
7227 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7228 PyObject *resultobj;
7229 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7230 int result;
7231 PyObject * obj0 = 0 ;
7232 char *kwnames[] = {
7233 (char *) "self", NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7239 {
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7242
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 resultobj = SWIG_FromInt((int)result);
7247 return resultobj;
7248 fail:
7249 return NULL;
7250 }
7251
7252
7253 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj;
7255 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7256 int arg2 ;
7257 int arg3 ;
7258 int arg4 = (int) 2 ;
7259 int result;
7260 PyObject * obj0 = 0 ;
7261 PyObject * obj1 = 0 ;
7262 PyObject * obj2 = 0 ;
7263 PyObject * obj3 = 0 ;
7264 char *kwnames[] = {
7265 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7266 };
7267
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7271 arg2 = (int) SWIG_AsInt(obj1);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 arg3 = (int) SWIG_AsInt(obj2);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 if (obj3) {
7276 arg4 = (int) SWIG_AsInt(obj3);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 {
7280 PyThreadState* __tstate = wxPyBeginAllowThreads();
7281 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7282
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 resultobj = SWIG_FromInt((int)result);
7287 return resultobj;
7288 fail:
7289 return NULL;
7290 }
7291
7292
7293 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj;
7295 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7296 PyObject * obj0 = 0 ;
7297 char *kwnames[] = {
7298 (char *) "self", NULL
7299 };
7300
7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7304 {
7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
7306 (arg1)->SizeWindows();
7307
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 Py_INCREF(Py_None); resultobj = Py_None;
7312 return resultobj;
7313 fail:
7314 return NULL;
7315 }
7316
7317
7318 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7319 PyObject *obj;
7320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7321 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7322 Py_INCREF(obj);
7323 return Py_BuildValue((char *)"");
7324 }
7325 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7326 PyObject *resultobj;
7327 int arg1 = (int) 0 ;
7328 int arg2 = (int) wxSASH_NONE ;
7329 wxSashEvent *result;
7330 PyObject * obj0 = 0 ;
7331 PyObject * obj1 = 0 ;
7332 char *kwnames[] = {
7333 (char *) "id",(char *) "edge", NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7337 if (obj0) {
7338 arg1 = (int) SWIG_AsInt(obj0);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 }
7341 if (obj1) {
7342 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7343 if (PyErr_Occurred()) SWIG_fail;
7344 }
7345 {
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7347 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7348
7349 wxPyEndAllowThreads(__tstate);
7350 if (PyErr_Occurred()) SWIG_fail;
7351 }
7352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7353 return resultobj;
7354 fail:
7355 return NULL;
7356 }
7357
7358
7359 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7360 PyObject *resultobj;
7361 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7362 int arg2 ;
7363 PyObject * obj0 = 0 ;
7364 PyObject * obj1 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self",(char *) "edge", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7372 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7373 if (PyErr_Occurred()) SWIG_fail;
7374 {
7375 PyThreadState* __tstate = wxPyBeginAllowThreads();
7376 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7377
7378 wxPyEndAllowThreads(__tstate);
7379 if (PyErr_Occurred()) SWIG_fail;
7380 }
7381 Py_INCREF(Py_None); resultobj = Py_None;
7382 return resultobj;
7383 fail:
7384 return NULL;
7385 }
7386
7387
7388 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7389 PyObject *resultobj;
7390 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7391 int result;
7392 PyObject * obj0 = 0 ;
7393 char *kwnames[] = {
7394 (char *) "self", NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7403
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 resultobj = SWIG_FromInt((int)result);
7408 return resultobj;
7409 fail:
7410 return NULL;
7411 }
7412
7413
7414 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7415 PyObject *resultobj;
7416 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7417 wxRect *arg2 = 0 ;
7418 wxRect temp2 ;
7419 PyObject * obj0 = 0 ;
7420 PyObject * obj1 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "self",(char *) "rect", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7428 {
7429 arg2 = &temp2;
7430 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7431 }
7432 {
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 (arg1)->SetDragRect((wxRect const &)*arg2);
7435
7436 wxPyEndAllowThreads(__tstate);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 Py_INCREF(Py_None); resultobj = Py_None;
7440 return resultobj;
7441 fail:
7442 return NULL;
7443 }
7444
7445
7446 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7447 PyObject *resultobj;
7448 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7449 wxRect result;
7450 PyObject * obj0 = 0 ;
7451 char *kwnames[] = {
7452 (char *) "self", NULL
7453 };
7454
7455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 result = ((wxSashEvent const *)arg1)->GetDragRect();
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 {
7466 wxRect * resultptr;
7467 resultptr = new wxRect((wxRect &) result);
7468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7469 }
7470 return resultobj;
7471 fail:
7472 return NULL;
7473 }
7474
7475
7476 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7477 PyObject *resultobj;
7478 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7479 int arg2 ;
7480 PyObject * obj0 = 0 ;
7481 PyObject * obj1 = 0 ;
7482 char *kwnames[] = {
7483 (char *) "self",(char *) "status", NULL
7484 };
7485
7486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7489 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7494
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 Py_INCREF(Py_None); resultobj = Py_None;
7499 return resultobj;
7500 fail:
7501 return NULL;
7502 }
7503
7504
7505 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7506 PyObject *resultobj;
7507 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7508 int result;
7509 PyObject * obj0 = 0 ;
7510 char *kwnames[] = {
7511 (char *) "self", NULL
7512 };
7513
7514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7517 {
7518 PyThreadState* __tstate = wxPyBeginAllowThreads();
7519 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7520
7521 wxPyEndAllowThreads(__tstate);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 }
7524 resultobj = SWIG_FromInt((int)result);
7525 return resultobj;
7526 fail:
7527 return NULL;
7528 }
7529
7530
7531 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
7532 PyObject *obj;
7533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7534 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7535 Py_INCREF(obj);
7536 return Py_BuildValue((char *)"");
7537 }
7538 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7539 PyObject *resultobj;
7540 int arg1 = (int) 0 ;
7541 wxQueryLayoutInfoEvent *result;
7542 PyObject * obj0 = 0 ;
7543 char *kwnames[] = {
7544 (char *) "id", NULL
7545 };
7546
7547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7548 if (obj0) {
7549 arg1 = (int) SWIG_AsInt(obj0);
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 {
7553 PyThreadState* __tstate = wxPyBeginAllowThreads();
7554 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7555
7556 wxPyEndAllowThreads(__tstate);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 }
7559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7560 return resultobj;
7561 fail:
7562 return NULL;
7563 }
7564
7565
7566 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7569 int arg2 ;
7570 PyObject * obj0 = 0 ;
7571 PyObject * obj1 = 0 ;
7572 char *kwnames[] = {
7573 (char *) "self",(char *) "length", NULL
7574 };
7575
7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7579 arg2 = (int) SWIG_AsInt(obj1);
7580 if (PyErr_Occurred()) SWIG_fail;
7581 {
7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7583 (arg1)->SetRequestedLength(arg2);
7584
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 Py_INCREF(Py_None); resultobj = Py_None;
7589 return resultobj;
7590 fail:
7591 return NULL;
7592 }
7593
7594
7595 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7596 PyObject *resultobj;
7597 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7598 int result;
7599 PyObject * obj0 = 0 ;
7600 char *kwnames[] = {
7601 (char *) "self", NULL
7602 };
7603
7604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7607 {
7608 PyThreadState* __tstate = wxPyBeginAllowThreads();
7609 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7610
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 resultobj = SWIG_FromInt((int)result);
7615 return resultobj;
7616 fail:
7617 return NULL;
7618 }
7619
7620
7621 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7622 PyObject *resultobj;
7623 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7624 int arg2 ;
7625 PyObject * obj0 = 0 ;
7626 PyObject * obj1 = 0 ;
7627 char *kwnames[] = {
7628 (char *) "self",(char *) "flags", NULL
7629 };
7630
7631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7634 arg2 = (int) SWIG_AsInt(obj1);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 {
7637 PyThreadState* __tstate = wxPyBeginAllowThreads();
7638 (arg1)->SetFlags(arg2);
7639
7640 wxPyEndAllowThreads(__tstate);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 }
7643 Py_INCREF(Py_None); resultobj = Py_None;
7644 return resultobj;
7645 fail:
7646 return NULL;
7647 }
7648
7649
7650 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7651 PyObject *resultobj;
7652 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7653 int result;
7654 PyObject * obj0 = 0 ;
7655 char *kwnames[] = {
7656 (char *) "self", NULL
7657 };
7658
7659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 resultobj = SWIG_FromInt((int)result);
7670 return resultobj;
7671 fail:
7672 return NULL;
7673 }
7674
7675
7676 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7679 wxSize *arg2 = 0 ;
7680 wxSize temp2 ;
7681 PyObject * obj0 = 0 ;
7682 PyObject * obj1 = 0 ;
7683 char *kwnames[] = {
7684 (char *) "self",(char *) "size", NULL
7685 };
7686
7687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7690 {
7691 arg2 = &temp2;
7692 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7693 }
7694 {
7695 PyThreadState* __tstate = wxPyBeginAllowThreads();
7696 (arg1)->SetSize((wxSize const &)*arg2);
7697
7698 wxPyEndAllowThreads(__tstate);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
7701 Py_INCREF(Py_None); resultobj = Py_None;
7702 return resultobj;
7703 fail:
7704 return NULL;
7705 }
7706
7707
7708 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7709 PyObject *resultobj;
7710 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7711 wxSize result;
7712 PyObject * obj0 = 0 ;
7713 char *kwnames[] = {
7714 (char *) "self", NULL
7715 };
7716
7717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 {
7728 wxSize * resultptr;
7729 resultptr = new wxSize((wxSize &) result);
7730 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7731 }
7732 return resultobj;
7733 fail:
7734 return NULL;
7735 }
7736
7737
7738 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7739 PyObject *resultobj;
7740 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7741 int arg2 ;
7742 PyObject * obj0 = 0 ;
7743 PyObject * obj1 = 0 ;
7744 char *kwnames[] = {
7745 (char *) "self",(char *) "orient", NULL
7746 };
7747
7748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7751 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 Py_INCREF(Py_None); resultobj = Py_None;
7761 return resultobj;
7762 fail:
7763 return NULL;
7764 }
7765
7766
7767 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7770 int result;
7771 PyObject * obj0 = 0 ;
7772 char *kwnames[] = {
7773 (char *) "self", NULL
7774 };
7775
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 resultobj = SWIG_FromInt((int)result);
7787 return resultobj;
7788 fail:
7789 return NULL;
7790 }
7791
7792
7793 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7794 PyObject *resultobj;
7795 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7796 int arg2 ;
7797 PyObject * obj0 = 0 ;
7798 PyObject * obj1 = 0 ;
7799 char *kwnames[] = {
7800 (char *) "self",(char *) "align", NULL
7801 };
7802
7803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7806 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7811
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 Py_INCREF(Py_None); resultobj = Py_None;
7816 return resultobj;
7817 fail:
7818 return NULL;
7819 }
7820
7821
7822 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7823 PyObject *resultobj;
7824 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7825 int result;
7826 PyObject * obj0 = 0 ;
7827 char *kwnames[] = {
7828 (char *) "self", NULL
7829 };
7830
7831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 resultobj = SWIG_FromInt((int)result);
7842 return resultobj;
7843 fail:
7844 return NULL;
7845 }
7846
7847
7848 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
7849 PyObject *obj;
7850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7851 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7852 Py_INCREF(obj);
7853 return Py_BuildValue((char *)"");
7854 }
7855 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7856 PyObject *resultobj;
7857 int arg1 = (int) 0 ;
7858 wxCalculateLayoutEvent *result;
7859 PyObject * obj0 = 0 ;
7860 char *kwnames[] = {
7861 (char *) "id", NULL
7862 };
7863
7864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7865 if (obj0) {
7866 arg1 = (int) SWIG_AsInt(obj0);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 {
7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
7871 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7872
7873 wxPyEndAllowThreads(__tstate);
7874 if (PyErr_Occurred()) SWIG_fail;
7875 }
7876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7877 return resultobj;
7878 fail:
7879 return NULL;
7880 }
7881
7882
7883 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7884 PyObject *resultobj;
7885 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7886 int arg2 ;
7887 PyObject * obj0 = 0 ;
7888 PyObject * obj1 = 0 ;
7889 char *kwnames[] = {
7890 (char *) "self",(char *) "flags", NULL
7891 };
7892
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7896 arg2 = (int) SWIG_AsInt(obj1);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 {
7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
7900 (arg1)->SetFlags(arg2);
7901
7902 wxPyEndAllowThreads(__tstate);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 Py_INCREF(Py_None); resultobj = Py_None;
7906 return resultobj;
7907 fail:
7908 return NULL;
7909 }
7910
7911
7912 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7913 PyObject *resultobj;
7914 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7915 int result;
7916 PyObject * obj0 = 0 ;
7917 char *kwnames[] = {
7918 (char *) "self", NULL
7919 };
7920
7921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7927
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 }
7931 resultobj = SWIG_FromInt((int)result);
7932 return resultobj;
7933 fail:
7934 return NULL;
7935 }
7936
7937
7938 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7939 PyObject *resultobj;
7940 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7941 wxRect *arg2 = 0 ;
7942 wxRect temp2 ;
7943 PyObject * obj0 = 0 ;
7944 PyObject * obj1 = 0 ;
7945 char *kwnames[] = {
7946 (char *) "self",(char *) "rect", NULL
7947 };
7948
7949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7952 {
7953 arg2 = &temp2;
7954 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7955 }
7956 {
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 (arg1)->SetRect((wxRect const &)*arg2);
7959
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 Py_INCREF(Py_None); resultobj = Py_None;
7964 return resultobj;
7965 fail:
7966 return NULL;
7967 }
7968
7969
7970 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7971 PyObject *resultobj;
7972 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7973 wxRect result;
7974 PyObject * obj0 = 0 ;
7975 char *kwnames[] = {
7976 (char *) "self", NULL
7977 };
7978
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
7989 {
7990 wxRect * resultptr;
7991 resultptr = new wxRect((wxRect &) result);
7992 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7993 }
7994 return resultobj;
7995 fail:
7996 return NULL;
7997 }
7998
7999
8000 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8001 PyObject *obj;
8002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8003 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8004 Py_INCREF(obj);
8005 return Py_BuildValue((char *)"");
8006 }
8007 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj;
8009 wxWindow *arg1 = (wxWindow *) 0 ;
8010 int arg2 ;
8011 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8012 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8013 wxSize const &arg4_defvalue = wxDefaultSize ;
8014 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8015 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8016 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8017 wxString *arg6 = (wxString *) &arg6_defvalue ;
8018 wxSashLayoutWindow *result;
8019 wxPoint temp3 ;
8020 wxSize temp4 ;
8021 bool temp6 = False ;
8022 PyObject * obj0 = 0 ;
8023 PyObject * obj1 = 0 ;
8024 PyObject * obj2 = 0 ;
8025 PyObject * obj3 = 0 ;
8026 PyObject * obj4 = 0 ;
8027 PyObject * obj5 = 0 ;
8028 char *kwnames[] = {
8029 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8030 };
8031
8032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8035 arg2 = (int) SWIG_AsInt(obj1);
8036 if (PyErr_Occurred()) SWIG_fail;
8037 if (obj2) {
8038 {
8039 arg3 = &temp3;
8040 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8041 }
8042 }
8043 if (obj3) {
8044 {
8045 arg4 = &temp4;
8046 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8047 }
8048 }
8049 if (obj4) {
8050 arg5 = (long) SWIG_AsLong(obj4);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 }
8053 if (obj5) {
8054 {
8055 arg6 = wxString_in_helper(obj5);
8056 if (arg6 == NULL) SWIG_fail;
8057 temp6 = True;
8058 }
8059 }
8060 {
8061 PyThreadState* __tstate = wxPyBeginAllowThreads();
8062 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8063
8064 wxPyEndAllowThreads(__tstate);
8065 if (PyErr_Occurred()) SWIG_fail;
8066 }
8067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8068 {
8069 if (temp6)
8070 delete arg6;
8071 }
8072 return resultobj;
8073 fail:
8074 {
8075 if (temp6)
8076 delete arg6;
8077 }
8078 return NULL;
8079 }
8080
8081
8082 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8083 PyObject *resultobj;
8084 wxSashLayoutWindow *result;
8085 char *kwnames[] = {
8086 NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8093
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8098 return resultobj;
8099 fail:
8100 return NULL;
8101 }
8102
8103
8104 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj;
8106 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8107 wxWindow *arg2 = (wxWindow *) 0 ;
8108 int arg3 ;
8109 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8110 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8111 wxSize const &arg5_defvalue = wxDefaultSize ;
8112 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8113 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8114 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8115 wxString *arg7 = (wxString *) &arg7_defvalue ;
8116 bool result;
8117 wxPoint temp4 ;
8118 wxSize temp5 ;
8119 bool temp7 = False ;
8120 PyObject * obj0 = 0 ;
8121 PyObject * obj1 = 0 ;
8122 PyObject * obj2 = 0 ;
8123 PyObject * obj3 = 0 ;
8124 PyObject * obj4 = 0 ;
8125 PyObject * obj5 = 0 ;
8126 PyObject * obj6 = 0 ;
8127 char *kwnames[] = {
8128 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8129 };
8130
8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8136 arg3 = (int) SWIG_AsInt(obj2);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 if (obj3) {
8139 {
8140 arg4 = &temp4;
8141 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8142 }
8143 }
8144 if (obj4) {
8145 {
8146 arg5 = &temp5;
8147 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8148 }
8149 }
8150 if (obj5) {
8151 arg6 = (long) SWIG_AsLong(obj5);
8152 if (PyErr_Occurred()) SWIG_fail;
8153 }
8154 if (obj6) {
8155 {
8156 arg7 = wxString_in_helper(obj6);
8157 if (arg7 == NULL) SWIG_fail;
8158 temp7 = True;
8159 }
8160 }
8161 {
8162 PyThreadState* __tstate = wxPyBeginAllowThreads();
8163 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8164
8165 wxPyEndAllowThreads(__tstate);
8166 if (PyErr_Occurred()) SWIG_fail;
8167 }
8168 {
8169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8170 }
8171 {
8172 if (temp7)
8173 delete arg7;
8174 }
8175 return resultobj;
8176 fail:
8177 {
8178 if (temp7)
8179 delete arg7;
8180 }
8181 return NULL;
8182 }
8183
8184
8185 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8186 PyObject *resultobj;
8187 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8188 int result;
8189 PyObject * obj0 = 0 ;
8190 char *kwnames[] = {
8191 (char *) "self", NULL
8192 };
8193
8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 result = (int)(arg1)->GetAlignment();
8200
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 resultobj = SWIG_FromInt((int)result);
8205 return resultobj;
8206 fail:
8207 return NULL;
8208 }
8209
8210
8211 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj;
8213 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8214 int result;
8215 PyObject * obj0 = 0 ;
8216 char *kwnames[] = {
8217 (char *) "self", NULL
8218 };
8219
8220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
8225 result = (int)(arg1)->GetOrientation();
8226
8227 wxPyEndAllowThreads(__tstate);
8228 if (PyErr_Occurred()) SWIG_fail;
8229 }
8230 resultobj = SWIG_FromInt((int)result);
8231 return resultobj;
8232 fail:
8233 return NULL;
8234 }
8235
8236
8237 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8238 PyObject *resultobj;
8239 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8240 int arg2 ;
8241 PyObject * obj0 = 0 ;
8242 PyObject * obj1 = 0 ;
8243 char *kwnames[] = {
8244 (char *) "self",(char *) "alignment", NULL
8245 };
8246
8247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8250 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8251 if (PyErr_Occurred()) SWIG_fail;
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 Py_INCREF(Py_None); resultobj = Py_None;
8260 return resultobj;
8261 fail:
8262 return NULL;
8263 }
8264
8265
8266 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8267 PyObject *resultobj;
8268 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8269 wxSize *arg2 = 0 ;
8270 wxSize temp2 ;
8271 PyObject * obj0 = 0 ;
8272 PyObject * obj1 = 0 ;
8273 char *kwnames[] = {
8274 (char *) "self",(char *) "size", NULL
8275 };
8276
8277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8280 {
8281 arg2 = &temp2;
8282 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8283 }
8284 {
8285 PyThreadState* __tstate = wxPyBeginAllowThreads();
8286 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8287
8288 wxPyEndAllowThreads(__tstate);
8289 if (PyErr_Occurred()) SWIG_fail;
8290 }
8291 Py_INCREF(Py_None); resultobj = Py_None;
8292 return resultobj;
8293 fail:
8294 return NULL;
8295 }
8296
8297
8298 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8299 PyObject *resultobj;
8300 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8301 int arg2 ;
8302 PyObject * obj0 = 0 ;
8303 PyObject * obj1 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "self",(char *) "orientation", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8311 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8312 if (PyErr_Occurred()) SWIG_fail;
8313 {
8314 PyThreadState* __tstate = wxPyBeginAllowThreads();
8315 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8316
8317 wxPyEndAllowThreads(__tstate);
8318 if (PyErr_Occurred()) SWIG_fail;
8319 }
8320 Py_INCREF(Py_None); resultobj = Py_None;
8321 return resultobj;
8322 fail:
8323 return NULL;
8324 }
8325
8326
8327 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8328 PyObject *obj;
8329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8330 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8331 Py_INCREF(obj);
8332 return Py_BuildValue((char *)"");
8333 }
8334 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8335 PyObject *resultobj;
8336 wxLayoutAlgorithm *result;
8337 char *kwnames[] = {
8338 NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8342 {
8343 PyThreadState* __tstate = wxPyBeginAllowThreads();
8344 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8345
8346 wxPyEndAllowThreads(__tstate);
8347 if (PyErr_Occurred()) SWIG_fail;
8348 }
8349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8350 return resultobj;
8351 fail:
8352 return NULL;
8353 }
8354
8355
8356 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8357 PyObject *resultobj;
8358 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8359 PyObject * obj0 = 0 ;
8360 char *kwnames[] = {
8361 (char *) "self", NULL
8362 };
8363
8364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8367 {
8368 PyThreadState* __tstate = wxPyBeginAllowThreads();
8369 delete arg1;
8370
8371 wxPyEndAllowThreads(__tstate);
8372 if (PyErr_Occurred()) SWIG_fail;
8373 }
8374 Py_INCREF(Py_None); resultobj = Py_None;
8375 return resultobj;
8376 fail:
8377 return NULL;
8378 }
8379
8380
8381 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8382 PyObject *resultobj;
8383 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8384 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8385 wxRect *arg3 = (wxRect *) NULL ;
8386 bool result;
8387 PyObject * obj0 = 0 ;
8388 PyObject * obj1 = 0 ;
8389 PyObject * obj2 = 0 ;
8390 char *kwnames[] = {
8391 (char *) "self",(char *) "frame",(char *) "rect", NULL
8392 };
8393
8394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8399 if (obj2) {
8400 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8402 }
8403 {
8404 PyThreadState* __tstate = wxPyBeginAllowThreads();
8405 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8406
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 {
8411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8412 }
8413 return resultobj;
8414 fail:
8415 return NULL;
8416 }
8417
8418
8419 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8420 PyObject *resultobj;
8421 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8422 wxFrame *arg2 = (wxFrame *) 0 ;
8423 wxWindow *arg3 = (wxWindow *) NULL ;
8424 bool result;
8425 PyObject * obj0 = 0 ;
8426 PyObject * obj1 = 0 ;
8427 PyObject * obj2 = 0 ;
8428 char *kwnames[] = {
8429 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8430 };
8431
8432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8437 if (obj2) {
8438 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8440 }
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 {
8449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8450 }
8451 return resultobj;
8452 fail:
8453 return NULL;
8454 }
8455
8456
8457 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj;
8459 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8460 wxWindow *arg2 = (wxWindow *) 0 ;
8461 wxWindow *arg3 = (wxWindow *) NULL ;
8462 bool result;
8463 PyObject * obj0 = 0 ;
8464 PyObject * obj1 = 0 ;
8465 PyObject * obj2 = 0 ;
8466 char *kwnames[] = {
8467 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8468 };
8469
8470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8473 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8475 if (obj2) {
8476 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8478 }
8479 {
8480 PyThreadState* __tstate = wxPyBeginAllowThreads();
8481 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8482
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 {
8487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8488 }
8489 return resultobj;
8490 fail:
8491 return NULL;
8492 }
8493
8494
8495 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8496 PyObject *obj;
8497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8498 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8499 Py_INCREF(obj);
8500 return Py_BuildValue((char *)"");
8501 }
8502 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8503 PyObject *resultobj;
8504 wxWindow *arg1 = (wxWindow *) 0 ;
8505 int arg2 = (int) wxBORDER_NONE ;
8506 wxPopupWindow *result;
8507 PyObject * obj0 = 0 ;
8508 PyObject * obj1 = 0 ;
8509 char *kwnames[] = {
8510 (char *) "parent",(char *) "flags", NULL
8511 };
8512
8513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8516 if (obj1) {
8517 arg2 = (int) SWIG_AsInt(obj1);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8528 return resultobj;
8529 fail:
8530 return NULL;
8531 }
8532
8533
8534 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8535 PyObject *resultobj;
8536 wxPopupWindow *result;
8537 char *kwnames[] = {
8538 NULL
8539 };
8540
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8542 {
8543 PyThreadState* __tstate = wxPyBeginAllowThreads();
8544 result = (wxPopupWindow *)new wxPopupWindow();
8545
8546 wxPyEndAllowThreads(__tstate);
8547 if (PyErr_Occurred()) SWIG_fail;
8548 }
8549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8550 return resultobj;
8551 fail:
8552 return NULL;
8553 }
8554
8555
8556 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
8557 PyObject *obj;
8558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8559 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8560 Py_INCREF(obj);
8561 return Py_BuildValue((char *)"");
8562 }
8563 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8564 PyObject *resultobj;
8565 wxWindow *arg1 = (wxWindow *) 0 ;
8566 int arg2 = (int) wxBORDER_NONE ;
8567 wxPyPopupTransientWindow *result;
8568 PyObject * obj0 = 0 ;
8569 PyObject * obj1 = 0 ;
8570 char *kwnames[] = {
8571 (char *) "parent",(char *) "style", NULL
8572 };
8573
8574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8577 if (obj1) {
8578 arg2 = (int) SWIG_AsInt(obj1);
8579 if (PyErr_Occurred()) SWIG_fail;
8580 }
8581 {
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8584
8585 wxPyEndAllowThreads(__tstate);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 }
8588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8589 return resultobj;
8590 fail:
8591 return NULL;
8592 }
8593
8594
8595 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8596 PyObject *resultobj;
8597 wxPyPopupTransientWindow *result;
8598 char *kwnames[] = {
8599 NULL
8600 };
8601
8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8603 {
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8606
8607 wxPyEndAllowThreads(__tstate);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 }
8610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8611 return resultobj;
8612 fail:
8613 return NULL;
8614 }
8615
8616
8617 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
8618 PyObject *obj;
8619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8620 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8621 Py_INCREF(obj);
8622 return Py_BuildValue((char *)"");
8623 }
8624 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8625 PyObject *resultobj;
8626 wxWindow *arg1 = (wxWindow *) 0 ;
8627 wxString *arg2 = 0 ;
8628 int arg3 = (int) 100 ;
8629 wxRect *arg4 = (wxRect *) NULL ;
8630 wxTipWindow *result;
8631 bool temp2 = False ;
8632 PyObject * obj0 = 0 ;
8633 PyObject * obj1 = 0 ;
8634 PyObject * obj2 = 0 ;
8635 PyObject * obj3 = 0 ;
8636 char *kwnames[] = {
8637 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8638 };
8639
8640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8643 {
8644 arg2 = wxString_in_helper(obj1);
8645 if (arg2 == NULL) SWIG_fail;
8646 temp2 = True;
8647 }
8648 if (obj2) {
8649 arg3 = (int) SWIG_AsInt(obj2);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
8652 if (obj3) {
8653 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8655 }
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8664 {
8665 if (temp2)
8666 delete arg2;
8667 }
8668 return resultobj;
8669 fail:
8670 {
8671 if (temp2)
8672 delete arg2;
8673 }
8674 return NULL;
8675 }
8676
8677
8678 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
8679 PyObject *resultobj;
8680 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8681 wxRect *arg2 = 0 ;
8682 wxRect temp2 ;
8683 PyObject * obj0 = 0 ;
8684 PyObject * obj1 = 0 ;
8685 char *kwnames[] = {
8686 (char *) "self",(char *) "rectBound", NULL
8687 };
8688
8689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8692 {
8693 arg2 = &temp2;
8694 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8695 }
8696 {
8697 PyThreadState* __tstate = wxPyBeginAllowThreads();
8698 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8699
8700 wxPyEndAllowThreads(__tstate);
8701 if (PyErr_Occurred()) SWIG_fail;
8702 }
8703 Py_INCREF(Py_None); resultobj = Py_None;
8704 return resultobj;
8705 fail:
8706 return NULL;
8707 }
8708
8709
8710 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
8711 PyObject *resultobj;
8712 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8713 PyObject * obj0 = 0 ;
8714 char *kwnames[] = {
8715 (char *) "self", NULL
8716 };
8717
8718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 (arg1)->Close();
8724
8725 wxPyEndAllowThreads(__tstate);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
8728 Py_INCREF(Py_None); resultobj = Py_None;
8729 return resultobj;
8730 fail:
8731 return NULL;
8732 }
8733
8734
8735 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
8736 PyObject *obj;
8737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8738 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8739 Py_INCREF(obj);
8740 return Py_BuildValue((char *)"");
8741 }
8742 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8743 PyObject *resultobj;
8744 wxWindow *arg1 = (wxWindow *) 0 ;
8745 int arg2 = (int) wxID_ANY ;
8746 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8747 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8748 wxSize const &arg4_defvalue = wxDefaultSize ;
8749 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8750 long arg5 = (long) 0 ;
8751 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8752 wxString *arg6 = (wxString *) &arg6_defvalue ;
8753 wxPyVScrolledWindow *result;
8754 wxPoint temp3 ;
8755 wxSize temp4 ;
8756 bool temp6 = False ;
8757 PyObject * obj0 = 0 ;
8758 PyObject * obj1 = 0 ;
8759 PyObject * obj2 = 0 ;
8760 PyObject * obj3 = 0 ;
8761 PyObject * obj4 = 0 ;
8762 PyObject * obj5 = 0 ;
8763 char *kwnames[] = {
8764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8765 };
8766
8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8770 if (obj1) {
8771 arg2 = (int) SWIG_AsInt(obj1);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 if (obj2) {
8775 {
8776 arg3 = &temp3;
8777 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8778 }
8779 }
8780 if (obj3) {
8781 {
8782 arg4 = &temp4;
8783 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8784 }
8785 }
8786 if (obj4) {
8787 arg5 = (long) SWIG_AsLong(obj4);
8788 if (PyErr_Occurred()) SWIG_fail;
8789 }
8790 if (obj5) {
8791 {
8792 arg6 = wxString_in_helper(obj5);
8793 if (arg6 == NULL) SWIG_fail;
8794 temp6 = True;
8795 }
8796 }
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8800
8801 wxPyEndAllowThreads(__tstate);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 }
8804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8805 {
8806 if (temp6)
8807 delete arg6;
8808 }
8809 return resultobj;
8810 fail:
8811 {
8812 if (temp6)
8813 delete arg6;
8814 }
8815 return NULL;
8816 }
8817
8818
8819 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8820 PyObject *resultobj;
8821 wxPyVScrolledWindow *result;
8822 char *kwnames[] = {
8823 NULL
8824 };
8825
8826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8827 {
8828 PyThreadState* __tstate = wxPyBeginAllowThreads();
8829 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8830
8831 wxPyEndAllowThreads(__tstate);
8832 if (PyErr_Occurred()) SWIG_fail;
8833 }
8834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8835 return resultobj;
8836 fail:
8837 return NULL;
8838 }
8839
8840
8841 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8842 PyObject *resultobj;
8843 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8844 PyObject *arg2 = (PyObject *) 0 ;
8845 PyObject *arg3 = (PyObject *) 0 ;
8846 PyObject * obj0 = 0 ;
8847 PyObject * obj1 = 0 ;
8848 PyObject * obj2 = 0 ;
8849 char *kwnames[] = {
8850 (char *) "self",(char *) "self",(char *) "_class", NULL
8851 };
8852
8853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8856 arg2 = obj1;
8857 arg3 = obj2;
8858 {
8859 PyThreadState* __tstate = wxPyBeginAllowThreads();
8860 (arg1)->_setCallbackInfo(arg2,arg3);
8861
8862 wxPyEndAllowThreads(__tstate);
8863 if (PyErr_Occurred()) SWIG_fail;
8864 }
8865 Py_INCREF(Py_None); resultobj = Py_None;
8866 return resultobj;
8867 fail:
8868 return NULL;
8869 }
8870
8871
8872 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8873 PyObject *resultobj;
8874 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8875 wxWindow *arg2 = (wxWindow *) 0 ;
8876 int arg3 = (int) wxID_ANY ;
8877 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8878 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8879 wxSize const &arg5_defvalue = wxDefaultSize ;
8880 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8881 long arg6 = (long) 0 ;
8882 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8883 wxString *arg7 = (wxString *) &arg7_defvalue ;
8884 bool result;
8885 wxPoint temp4 ;
8886 wxSize temp5 ;
8887 bool temp7 = False ;
8888 PyObject * obj0 = 0 ;
8889 PyObject * obj1 = 0 ;
8890 PyObject * obj2 = 0 ;
8891 PyObject * obj3 = 0 ;
8892 PyObject * obj4 = 0 ;
8893 PyObject * obj5 = 0 ;
8894 PyObject * obj6 = 0 ;
8895 char *kwnames[] = {
8896 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8897 };
8898
8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8902 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8904 if (obj2) {
8905 arg3 = (int) SWIG_AsInt(obj2);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 if (obj3) {
8909 {
8910 arg4 = &temp4;
8911 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8912 }
8913 }
8914 if (obj4) {
8915 {
8916 arg5 = &temp5;
8917 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8918 }
8919 }
8920 if (obj5) {
8921 arg6 = (long) SWIG_AsLong(obj5);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 }
8924 if (obj6) {
8925 {
8926 arg7 = wxString_in_helper(obj6);
8927 if (arg7 == NULL) SWIG_fail;
8928 temp7 = True;
8929 }
8930 }
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8934
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 {
8939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8940 }
8941 {
8942 if (temp7)
8943 delete arg7;
8944 }
8945 return resultobj;
8946 fail:
8947 {
8948 if (temp7)
8949 delete arg7;
8950 }
8951 return NULL;
8952 }
8953
8954
8955 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
8956 PyObject *resultobj;
8957 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8958 size_t arg2 ;
8959 PyObject * obj0 = 0 ;
8960 PyObject * obj1 = 0 ;
8961 char *kwnames[] = {
8962 (char *) "self",(char *) "count", NULL
8963 };
8964
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8968 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 (arg1)->SetLineCount(arg2);
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 Py_INCREF(Py_None); resultobj = Py_None;
8978 return resultobj;
8979 fail:
8980 return NULL;
8981 }
8982
8983
8984 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj;
8986 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8987 size_t arg2 ;
8988 bool result;
8989 PyObject * obj0 = 0 ;
8990 PyObject * obj1 = 0 ;
8991 char *kwnames[] = {
8992 (char *) "self",(char *) "line", NULL
8993 };
8994
8995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8998 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 result = (bool)(arg1)->ScrollToLine(arg2);
9003
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 {
9008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9009 }
9010 return resultobj;
9011 fail:
9012 return NULL;
9013 }
9014
9015
9016 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
9017 PyObject *resultobj;
9018 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9019 int arg2 ;
9020 bool result;
9021 PyObject * obj0 = 0 ;
9022 PyObject * obj1 = 0 ;
9023 char *kwnames[] = {
9024 (char *) "self",(char *) "lines", NULL
9025 };
9026
9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9030 arg2 = (int) SWIG_AsInt(obj1);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 {
9033 PyThreadState* __tstate = wxPyBeginAllowThreads();
9034 result = (bool)(arg1)->ScrollLines(arg2);
9035
9036 wxPyEndAllowThreads(__tstate);
9037 if (PyErr_Occurred()) SWIG_fail;
9038 }
9039 {
9040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9041 }
9042 return resultobj;
9043 fail:
9044 return NULL;
9045 }
9046
9047
9048 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9049 PyObject *resultobj;
9050 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9051 int arg2 ;
9052 bool result;
9053 PyObject * obj0 = 0 ;
9054 PyObject * obj1 = 0 ;
9055 char *kwnames[] = {
9056 (char *) "self",(char *) "pages", NULL
9057 };
9058
9059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9062 arg2 = (int) SWIG_AsInt(obj1);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 result = (bool)(arg1)->ScrollPages(arg2);
9067
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 {
9072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9073 }
9074 return resultobj;
9075 fail:
9076 return NULL;
9077 }
9078
9079
9080 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9081 PyObject *resultobj;
9082 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9083 size_t arg2 ;
9084 PyObject * obj0 = 0 ;
9085 PyObject * obj1 = 0 ;
9086 char *kwnames[] = {
9087 (char *) "self",(char *) "line", NULL
9088 };
9089
9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9093 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 {
9096 PyThreadState* __tstate = wxPyBeginAllowThreads();
9097 (arg1)->RefreshLine(arg2);
9098
9099 wxPyEndAllowThreads(__tstate);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 }
9102 Py_INCREF(Py_None); resultobj = Py_None;
9103 return resultobj;
9104 fail:
9105 return NULL;
9106 }
9107
9108
9109 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9110 PyObject *resultobj;
9111 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9112 size_t arg2 ;
9113 size_t arg3 ;
9114 PyObject * obj0 = 0 ;
9115 PyObject * obj1 = 0 ;
9116 PyObject * obj2 = 0 ;
9117 char *kwnames[] = {
9118 (char *) "self",(char *) "from",(char *) "to", NULL
9119 };
9120
9121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9124 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 (arg1)->RefreshLines(arg2,arg3);
9131
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 Py_INCREF(Py_None); resultobj = Py_None;
9136 return resultobj;
9137 fail:
9138 return NULL;
9139 }
9140
9141
9142 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9145 int arg2 ;
9146 int arg3 ;
9147 int result;
9148 PyObject * obj0 = 0 ;
9149 PyObject * obj1 = 0 ;
9150 PyObject * obj2 = 0 ;
9151 char *kwnames[] = {
9152 (char *) "self",(char *) "x",(char *) "y", NULL
9153 };
9154
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9158 arg2 = (int) SWIG_AsInt(obj1);
9159 if (PyErr_Occurred()) SWIG_fail;
9160 arg3 = (int) SWIG_AsInt(obj2);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 {
9163 PyThreadState* __tstate = wxPyBeginAllowThreads();
9164 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9165
9166 wxPyEndAllowThreads(__tstate);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
9169 resultobj = SWIG_FromInt((int)result);
9170 return resultobj;
9171 fail:
9172 return NULL;
9173 }
9174
9175
9176 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9177 PyObject *resultobj;
9178 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9179 wxPoint *arg2 = 0 ;
9180 int result;
9181 wxPoint temp2 ;
9182 PyObject * obj0 = 0 ;
9183 PyObject * obj1 = 0 ;
9184 char *kwnames[] = {
9185 (char *) "self",(char *) "pt", NULL
9186 };
9187
9188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9191 {
9192 arg2 = &temp2;
9193 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9194 }
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
9202 resultobj = SWIG_FromInt((int)result);
9203 return resultobj;
9204 fail:
9205 return NULL;
9206 }
9207
9208
9209 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9210 PyObject *resultobj;
9211 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9212 PyObject * obj0 = 0 ;
9213 char *kwnames[] = {
9214 (char *) "self", NULL
9215 };
9216
9217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 (arg1)->RefreshAll();
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 Py_INCREF(Py_None); resultobj = Py_None;
9228 return resultobj;
9229 fail:
9230 return NULL;
9231 }
9232
9233
9234 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9237 size_t result;
9238 PyObject * obj0 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9254 return resultobj;
9255 fail:
9256 return NULL;
9257 }
9258
9259
9260 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9261 PyObject *resultobj;
9262 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9263 size_t result;
9264 PyObject * obj0 = 0 ;
9265 char *kwnames[] = {
9266 (char *) "self", NULL
9267 };
9268
9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
9279 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9280 return resultobj;
9281 fail:
9282 return NULL;
9283 }
9284
9285
9286 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj;
9288 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9289 size_t result;
9290 PyObject * obj0 = 0 ;
9291 char *kwnames[] = {
9292 (char *) "self", NULL
9293 };
9294
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9298 {
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9301
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9306 return resultobj;
9307 fail:
9308 return NULL;
9309 }
9310
9311
9312 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9313 PyObject *resultobj;
9314 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9315 size_t arg2 ;
9316 bool result;
9317 PyObject * obj0 = 0 ;
9318 PyObject * obj1 = 0 ;
9319 char *kwnames[] = {
9320 (char *) "self",(char *) "line", NULL
9321 };
9322
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9326 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 {
9329 PyThreadState* __tstate = wxPyBeginAllowThreads();
9330 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9331
9332 wxPyEndAllowThreads(__tstate);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 {
9336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9337 }
9338 return resultobj;
9339 fail:
9340 return NULL;
9341 }
9342
9343
9344 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9345 PyObject *obj;
9346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9347 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9348 Py_INCREF(obj);
9349 return Py_BuildValue((char *)"");
9350 }
9351 static int _wrap_VListBoxNameStr_set(PyObject *) {
9352 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9353 return 1;
9354 }
9355
9356
9357 static PyObject *_wrap_VListBoxNameStr_get() {
9358 PyObject *pyobj;
9359
9360 {
9361 #if wxUSE_UNICODE
9362 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9363 #else
9364 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9365 #endif
9366 }
9367 return pyobj;
9368 }
9369
9370
9371 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj;
9373 wxWindow *arg1 = (wxWindow *) 0 ;
9374 int arg2 = (int) wxID_ANY ;
9375 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9376 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9377 wxSize const &arg4_defvalue = wxDefaultSize ;
9378 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9379 long arg5 = (long) 0 ;
9380 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9381 wxString *arg6 = (wxString *) &arg6_defvalue ;
9382 wxPyVListBox *result;
9383 wxPoint temp3 ;
9384 wxSize temp4 ;
9385 bool temp6 = False ;
9386 PyObject * obj0 = 0 ;
9387 PyObject * obj1 = 0 ;
9388 PyObject * obj2 = 0 ;
9389 PyObject * obj3 = 0 ;
9390 PyObject * obj4 = 0 ;
9391 PyObject * obj5 = 0 ;
9392 char *kwnames[] = {
9393 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9394 };
9395
9396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9399 if (obj1) {
9400 arg2 = (int) SWIG_AsInt(obj1);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 if (obj2) {
9404 {
9405 arg3 = &temp3;
9406 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9407 }
9408 }
9409 if (obj3) {
9410 {
9411 arg4 = &temp4;
9412 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9413 }
9414 }
9415 if (obj4) {
9416 arg5 = (long) SWIG_AsLong(obj4);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 if (obj5) {
9420 {
9421 arg6 = wxString_in_helper(obj5);
9422 if (arg6 == NULL) SWIG_fail;
9423 temp6 = True;
9424 }
9425 }
9426 {
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9429
9430 wxPyEndAllowThreads(__tstate);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
9433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9434 {
9435 if (temp6)
9436 delete arg6;
9437 }
9438 return resultobj;
9439 fail:
9440 {
9441 if (temp6)
9442 delete arg6;
9443 }
9444 return NULL;
9445 }
9446
9447
9448 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9449 PyObject *resultobj;
9450 wxPyVListBox *result;
9451 char *kwnames[] = {
9452 NULL
9453 };
9454
9455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9456 {
9457 PyThreadState* __tstate = wxPyBeginAllowThreads();
9458 result = (wxPyVListBox *)new wxPyVListBox();
9459
9460 wxPyEndAllowThreads(__tstate);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
9463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9464 return resultobj;
9465 fail:
9466 return NULL;
9467 }
9468
9469
9470 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9471 PyObject *resultobj;
9472 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9473 PyObject *arg2 = (PyObject *) 0 ;
9474 PyObject *arg3 = (PyObject *) 0 ;
9475 PyObject * obj0 = 0 ;
9476 PyObject * obj1 = 0 ;
9477 PyObject * obj2 = 0 ;
9478 char *kwnames[] = {
9479 (char *) "self",(char *) "self",(char *) "_class", NULL
9480 };
9481
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9485 arg2 = obj1;
9486 arg3 = obj2;
9487 {
9488 PyThreadState* __tstate = wxPyBeginAllowThreads();
9489 (arg1)->_setCallbackInfo(arg2,arg3);
9490
9491 wxPyEndAllowThreads(__tstate);
9492 if (PyErr_Occurred()) SWIG_fail;
9493 }
9494 Py_INCREF(Py_None); resultobj = Py_None;
9495 return resultobj;
9496 fail:
9497 return NULL;
9498 }
9499
9500
9501 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9502 PyObject *resultobj;
9503 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9504 wxWindow *arg2 = (wxWindow *) 0 ;
9505 int arg3 = (int) wxID_ANY ;
9506 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9507 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9508 wxSize const &arg5_defvalue = wxDefaultSize ;
9509 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9510 long arg6 = (long) 0 ;
9511 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9512 wxString *arg7 = (wxString *) &arg7_defvalue ;
9513 bool result;
9514 wxPoint temp4 ;
9515 wxSize temp5 ;
9516 bool temp7 = False ;
9517 PyObject * obj0 = 0 ;
9518 PyObject * obj1 = 0 ;
9519 PyObject * obj2 = 0 ;
9520 PyObject * obj3 = 0 ;
9521 PyObject * obj4 = 0 ;
9522 PyObject * obj5 = 0 ;
9523 PyObject * obj6 = 0 ;
9524 char *kwnames[] = {
9525 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9526 };
9527
9528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9533 if (obj2) {
9534 arg3 = (int) SWIG_AsInt(obj2);
9535 if (PyErr_Occurred()) SWIG_fail;
9536 }
9537 if (obj3) {
9538 {
9539 arg4 = &temp4;
9540 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9541 }
9542 }
9543 if (obj4) {
9544 {
9545 arg5 = &temp5;
9546 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9547 }
9548 }
9549 if (obj5) {
9550 arg6 = (long) SWIG_AsLong(obj5);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 if (obj6) {
9554 {
9555 arg7 = wxString_in_helper(obj6);
9556 if (arg7 == NULL) SWIG_fail;
9557 temp7 = True;
9558 }
9559 }
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9563
9564 wxPyEndAllowThreads(__tstate);
9565 if (PyErr_Occurred()) SWIG_fail;
9566 }
9567 {
9568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9569 }
9570 {
9571 if (temp7)
9572 delete arg7;
9573 }
9574 return resultobj;
9575 fail:
9576 {
9577 if (temp7)
9578 delete arg7;
9579 }
9580 return NULL;
9581 }
9582
9583
9584 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
9585 PyObject *resultobj;
9586 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9587 size_t result;
9588 PyObject * obj0 = 0 ;
9589 char *kwnames[] = {
9590 (char *) "self", NULL
9591 };
9592
9593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9596 {
9597 PyThreadState* __tstate = wxPyBeginAllowThreads();
9598 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9599
9600 wxPyEndAllowThreads(__tstate);
9601 if (PyErr_Occurred()) SWIG_fail;
9602 }
9603 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9604 return resultobj;
9605 fail:
9606 return NULL;
9607 }
9608
9609
9610 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9611 PyObject *resultobj;
9612 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9613 bool result;
9614 PyObject * obj0 = 0 ;
9615 char *kwnames[] = {
9616 (char *) "self", NULL
9617 };
9618
9619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9625
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 {
9630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9631 }
9632 return resultobj;
9633 fail:
9634 return NULL;
9635 }
9636
9637
9638 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9639 PyObject *resultobj;
9640 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9641 int result;
9642 PyObject * obj0 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "self", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9653
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
9657 resultobj = SWIG_FromInt((int)result);
9658 return resultobj;
9659 fail:
9660 return NULL;
9661 }
9662
9663
9664 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
9665 PyObject *resultobj;
9666 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9667 size_t arg2 ;
9668 bool result;
9669 PyObject * obj0 = 0 ;
9670 PyObject * obj1 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "self",(char *) "item", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9678 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 {
9688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9689 }
9690 return resultobj;
9691 fail:
9692 return NULL;
9693 }
9694
9695
9696 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9697 PyObject *resultobj;
9698 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9699 size_t arg2 ;
9700 bool result;
9701 PyObject * obj0 = 0 ;
9702 PyObject * obj1 = 0 ;
9703 char *kwnames[] = {
9704 (char *) "self",(char *) "item", NULL
9705 };
9706
9707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9710 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9711 if (PyErr_Occurred()) SWIG_fail;
9712 {
9713 PyThreadState* __tstate = wxPyBeginAllowThreads();
9714 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9715
9716 wxPyEndAllowThreads(__tstate);
9717 if (PyErr_Occurred()) SWIG_fail;
9718 }
9719 {
9720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9721 }
9722 return resultobj;
9723 fail:
9724 return NULL;
9725 }
9726
9727
9728 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
9729 PyObject *resultobj;
9730 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9731 size_t result;
9732 PyObject * obj0 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "self", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9740 {
9741 PyThreadState* __tstate = wxPyBeginAllowThreads();
9742 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9743
9744 wxPyEndAllowThreads(__tstate);
9745 if (PyErr_Occurred()) SWIG_fail;
9746 }
9747 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9748 return resultobj;
9749 fail:
9750 return NULL;
9751 }
9752
9753
9754 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9755 PyObject *resultobj;
9756 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9757 unsigned long *arg2 = 0 ;
9758 int result;
9759 PyObject * obj0 = 0 ;
9760 PyObject * obj1 = 0 ;
9761 char *kwnames[] = {
9762 (char *) "self",(char *) "cookie", NULL
9763 };
9764
9765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9768 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9769 SWIG_POINTER_EXCEPTION | 0)) == -1)
9770 SWIG_fail;
9771 if (arg2 == NULL) {
9772 PyErr_SetString(PyExc_TypeError,"null reference");
9773 SWIG_fail;
9774 }
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 resultobj = SWIG_FromInt((int)result);
9783 return resultobj;
9784 fail:
9785 return NULL;
9786 }
9787
9788
9789 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9790 PyObject *resultobj;
9791 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9792 unsigned long *arg2 = 0 ;
9793 int result;
9794 PyObject * obj0 = 0 ;
9795 PyObject * obj1 = 0 ;
9796 char *kwnames[] = {
9797 (char *) "self",(char *) "cookie", NULL
9798 };
9799
9800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9804 SWIG_POINTER_EXCEPTION | 0)) == -1)
9805 SWIG_fail;
9806 if (arg2 == NULL) {
9807 PyErr_SetString(PyExc_TypeError,"null reference");
9808 SWIG_fail;
9809 }
9810 {
9811 PyThreadState* __tstate = wxPyBeginAllowThreads();
9812 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9813
9814 wxPyEndAllowThreads(__tstate);
9815 if (PyErr_Occurred()) SWIG_fail;
9816 }
9817 resultobj = SWIG_FromInt((int)result);
9818 return resultobj;
9819 fail:
9820 return NULL;
9821 }
9822
9823
9824 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
9825 PyObject *resultobj;
9826 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9827 wxPoint result;
9828 PyObject * obj0 = 0 ;
9829 char *kwnames[] = {
9830 (char *) "self", NULL
9831 };
9832
9833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9836 {
9837 PyThreadState* __tstate = wxPyBeginAllowThreads();
9838 result = ((wxPyVListBox const *)arg1)->GetMargins();
9839
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
9843 {
9844 wxPoint * resultptr;
9845 resultptr = new wxPoint((wxPoint &) result);
9846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9847 }
9848 return resultobj;
9849 fail:
9850 return NULL;
9851 }
9852
9853
9854 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
9855 PyObject *resultobj;
9856 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9857 wxColour *result;
9858 PyObject * obj0 = 0 ;
9859 char *kwnames[] = {
9860 (char *) "self", NULL
9861 };
9862
9863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9866 {
9867 PyThreadState* __tstate = wxPyBeginAllowThreads();
9868 {
9869 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9870 result = (wxColour *) &_result_ref;
9871 }
9872
9873 wxPyEndAllowThreads(__tstate);
9874 if (PyErr_Occurred()) SWIG_fail;
9875 }
9876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9877 return resultobj;
9878 fail:
9879 return NULL;
9880 }
9881
9882
9883 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
9884 PyObject *resultobj;
9885 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9886 size_t arg2 ;
9887 PyObject * obj0 = 0 ;
9888 PyObject * obj1 = 0 ;
9889 char *kwnames[] = {
9890 (char *) "self",(char *) "count", NULL
9891 };
9892
9893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9896 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9897 if (PyErr_Occurred()) SWIG_fail;
9898 {
9899 PyThreadState* __tstate = wxPyBeginAllowThreads();
9900 (arg1)->SetItemCount(arg2);
9901
9902 wxPyEndAllowThreads(__tstate);
9903 if (PyErr_Occurred()) SWIG_fail;
9904 }
9905 Py_INCREF(Py_None); resultobj = Py_None;
9906 return resultobj;
9907 fail:
9908 return NULL;
9909 }
9910
9911
9912 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
9913 PyObject *resultobj;
9914 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9915 PyObject * obj0 = 0 ;
9916 char *kwnames[] = {
9917 (char *) "self", NULL
9918 };
9919
9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9923 {
9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
9925 (arg1)->Clear();
9926
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
9930 Py_INCREF(Py_None); resultobj = Py_None;
9931 return resultobj;
9932 fail:
9933 return NULL;
9934 }
9935
9936
9937 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9938 PyObject *resultobj;
9939 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9940 int arg2 ;
9941 PyObject * obj0 = 0 ;
9942 PyObject * obj1 = 0 ;
9943 char *kwnames[] = {
9944 (char *) "self",(char *) "selection", NULL
9945 };
9946
9947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9950 arg2 = (int) SWIG_AsInt(obj1);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 (arg1)->SetSelection(arg2);
9955
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 Py_INCREF(Py_None); resultobj = Py_None;
9960 return resultobj;
9961 fail:
9962 return NULL;
9963 }
9964
9965
9966 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
9967 PyObject *resultobj;
9968 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9969 size_t arg2 ;
9970 bool arg3 = (bool) True ;
9971 bool result;
9972 PyObject * obj0 = 0 ;
9973 PyObject * obj1 = 0 ;
9974 PyObject * obj2 = 0 ;
9975 char *kwnames[] = {
9976 (char *) "self",(char *) "item",(char *) "select", NULL
9977 };
9978
9979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9982 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 if (obj2) {
9985 arg3 = (bool) SWIG_AsBool(obj2);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 }
9988 {
9989 PyThreadState* __tstate = wxPyBeginAllowThreads();
9990 result = (bool)(arg1)->Select(arg2,arg3);
9991
9992 wxPyEndAllowThreads(__tstate);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 {
9996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9997 }
9998 return resultobj;
9999 fail:
10000 return NULL;
10001 }
10002
10003
10004 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj;
10006 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10007 size_t arg2 ;
10008 size_t arg3 ;
10009 bool result;
10010 PyObject * obj0 = 0 ;
10011 PyObject * obj1 = 0 ;
10012 PyObject * obj2 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self",(char *) "from",(char *) "to", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10020 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10021 if (PyErr_Occurred()) SWIG_fail;
10022 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 {
10025 PyThreadState* __tstate = wxPyBeginAllowThreads();
10026 result = (bool)(arg1)->SelectRange(arg2,arg3);
10027
10028 wxPyEndAllowThreads(__tstate);
10029 if (PyErr_Occurred()) SWIG_fail;
10030 }
10031 {
10032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10033 }
10034 return resultobj;
10035 fail:
10036 return NULL;
10037 }
10038
10039
10040 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10041 PyObject *resultobj;
10042 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10043 size_t arg2 ;
10044 PyObject * obj0 = 0 ;
10045 PyObject * obj1 = 0 ;
10046 char *kwnames[] = {
10047 (char *) "self",(char *) "item", NULL
10048 };
10049
10050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10053 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10054 if (PyErr_Occurred()) SWIG_fail;
10055 {
10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
10057 (arg1)->Toggle(arg2);
10058
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 Py_INCREF(Py_None); resultobj = Py_None;
10063 return resultobj;
10064 fail:
10065 return NULL;
10066 }
10067
10068
10069 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10070 PyObject *resultobj;
10071 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10072 bool result;
10073 PyObject * obj0 = 0 ;
10074 char *kwnames[] = {
10075 (char *) "self", NULL
10076 };
10077
10078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 result = (bool)(arg1)->SelectAll();
10084
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 {
10089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10090 }
10091 return resultobj;
10092 fail:
10093 return NULL;
10094 }
10095
10096
10097 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj;
10099 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10100 bool result;
10101 PyObject * obj0 = 0 ;
10102 char *kwnames[] = {
10103 (char *) "self", NULL
10104 };
10105
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = (bool)(arg1)->DeselectAll();
10112
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 {
10117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10118 }
10119 return resultobj;
10120 fail:
10121 return NULL;
10122 }
10123
10124
10125 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10126 PyObject *resultobj;
10127 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10128 wxPoint *arg2 = 0 ;
10129 wxPoint temp2 ;
10130 PyObject * obj0 = 0 ;
10131 PyObject * obj1 = 0 ;
10132 char *kwnames[] = {
10133 (char *) "self",(char *) "pt", NULL
10134 };
10135
10136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10139 {
10140 arg2 = &temp2;
10141 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10142 }
10143 {
10144 PyThreadState* __tstate = wxPyBeginAllowThreads();
10145 (arg1)->SetMargins((wxPoint const &)*arg2);
10146
10147 wxPyEndAllowThreads(__tstate);
10148 if (PyErr_Occurred()) SWIG_fail;
10149 }
10150 Py_INCREF(Py_None); resultobj = Py_None;
10151 return resultobj;
10152 fail:
10153 return NULL;
10154 }
10155
10156
10157 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10158 PyObject *resultobj;
10159 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10160 int arg2 ;
10161 int arg3 ;
10162 PyObject * obj0 = 0 ;
10163 PyObject * obj1 = 0 ;
10164 PyObject * obj2 = 0 ;
10165 char *kwnames[] = {
10166 (char *) "self",(char *) "x",(char *) "y", NULL
10167 };
10168
10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10172 arg2 = (int) SWIG_AsInt(obj1);
10173 if (PyErr_Occurred()) SWIG_fail;
10174 arg3 = (int) SWIG_AsInt(obj2);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 (arg1)->SetMargins(arg2,arg3);
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 Py_INCREF(Py_None); resultobj = Py_None;
10184 return resultobj;
10185 fail:
10186 return NULL;
10187 }
10188
10189
10190 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10191 PyObject *resultobj;
10192 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10193 wxColour *arg2 = 0 ;
10194 wxColour temp2 ;
10195 PyObject * obj0 = 0 ;
10196 PyObject * obj1 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self",(char *) "col", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10204 {
10205 arg2 = &temp2;
10206 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10207 }
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 Py_INCREF(Py_None); resultobj = Py_None;
10216 return resultobj;
10217 fail:
10218 return NULL;
10219 }
10220
10221
10222 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10223 PyObject *obj;
10224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10225 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10226 Py_INCREF(obj);
10227 return Py_BuildValue((char *)"");
10228 }
10229 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj;
10231 wxWindow *arg1 = (wxWindow *) 0 ;
10232 int arg2 = (int) wxID_ANY ;
10233 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10234 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10235 wxSize const &arg4_defvalue = wxDefaultSize ;
10236 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10237 long arg5 = (long) 0 ;
10238 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10239 wxString *arg6 = (wxString *) &arg6_defvalue ;
10240 wxPyHtmlListBox *result;
10241 wxPoint temp3 ;
10242 wxSize temp4 ;
10243 bool temp6 = False ;
10244 PyObject * obj0 = 0 ;
10245 PyObject * obj1 = 0 ;
10246 PyObject * obj2 = 0 ;
10247 PyObject * obj3 = 0 ;
10248 PyObject * obj4 = 0 ;
10249 PyObject * obj5 = 0 ;
10250 char *kwnames[] = {
10251 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10252 };
10253
10254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10257 if (obj1) {
10258 arg2 = (int) SWIG_AsInt(obj1);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 if (obj2) {
10262 {
10263 arg3 = &temp3;
10264 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10265 }
10266 }
10267 if (obj3) {
10268 {
10269 arg4 = &temp4;
10270 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10271 }
10272 }
10273 if (obj4) {
10274 arg5 = (long) SWIG_AsLong(obj4);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 if (obj5) {
10278 {
10279 arg6 = wxString_in_helper(obj5);
10280 if (arg6 == NULL) SWIG_fail;
10281 temp6 = True;
10282 }
10283 }
10284 {
10285 PyThreadState* __tstate = wxPyBeginAllowThreads();
10286 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10287
10288 wxPyEndAllowThreads(__tstate);
10289 if (PyErr_Occurred()) SWIG_fail;
10290 }
10291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10292 {
10293 if (temp6)
10294 delete arg6;
10295 }
10296 return resultobj;
10297 fail:
10298 {
10299 if (temp6)
10300 delete arg6;
10301 }
10302 return NULL;
10303 }
10304
10305
10306 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10307 PyObject *resultobj;
10308 wxPyHtmlListBox *result;
10309 char *kwnames[] = {
10310 NULL
10311 };
10312
10313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10314 {
10315 PyThreadState* __tstate = wxPyBeginAllowThreads();
10316 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10317
10318 wxPyEndAllowThreads(__tstate);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 }
10321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10322 return resultobj;
10323 fail:
10324 return NULL;
10325 }
10326
10327
10328 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10329 PyObject *resultobj;
10330 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10331 PyObject *arg2 = (PyObject *) 0 ;
10332 PyObject *arg3 = (PyObject *) 0 ;
10333 PyObject * obj0 = 0 ;
10334 PyObject * obj1 = 0 ;
10335 PyObject * obj2 = 0 ;
10336 char *kwnames[] = {
10337 (char *) "self",(char *) "self",(char *) "_class", NULL
10338 };
10339
10340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10343 arg2 = obj1;
10344 arg3 = obj2;
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 (arg1)->_setCallbackInfo(arg2,arg3);
10348
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 Py_INCREF(Py_None); resultobj = Py_None;
10353 return resultobj;
10354 fail:
10355 return NULL;
10356 }
10357
10358
10359 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10360 PyObject *resultobj;
10361 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10362 wxWindow *arg2 = (wxWindow *) 0 ;
10363 int arg3 = (int) wxID_ANY ;
10364 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10365 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10366 wxSize const &arg5_defvalue = wxDefaultSize ;
10367 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10368 long arg6 = (long) 0 ;
10369 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10370 wxString *arg7 = (wxString *) &arg7_defvalue ;
10371 bool result;
10372 wxPoint temp4 ;
10373 wxSize temp5 ;
10374 bool temp7 = False ;
10375 PyObject * obj0 = 0 ;
10376 PyObject * obj1 = 0 ;
10377 PyObject * obj2 = 0 ;
10378 PyObject * obj3 = 0 ;
10379 PyObject * obj4 = 0 ;
10380 PyObject * obj5 = 0 ;
10381 PyObject * obj6 = 0 ;
10382 char *kwnames[] = {
10383 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10384 };
10385
10386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10391 if (obj2) {
10392 arg3 = (int) SWIG_AsInt(obj2);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 if (obj3) {
10396 {
10397 arg4 = &temp4;
10398 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10399 }
10400 }
10401 if (obj4) {
10402 {
10403 arg5 = &temp5;
10404 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10405 }
10406 }
10407 if (obj5) {
10408 arg6 = (long) SWIG_AsLong(obj5);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 if (obj6) {
10412 {
10413 arg7 = wxString_in_helper(obj6);
10414 if (arg7 == NULL) SWIG_fail;
10415 temp7 = True;
10416 }
10417 }
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
10425 {
10426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10427 }
10428 {
10429 if (temp7)
10430 delete arg7;
10431 }
10432 return resultobj;
10433 fail:
10434 {
10435 if (temp7)
10436 delete arg7;
10437 }
10438 return NULL;
10439 }
10440
10441
10442 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
10443 PyObject *resultobj;
10444 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10445 PyObject * obj0 = 0 ;
10446 char *kwnames[] = {
10447 (char *) "self", NULL
10448 };
10449
10450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10453 {
10454 PyThreadState* __tstate = wxPyBeginAllowThreads();
10455 (arg1)->RefreshAll();
10456
10457 wxPyEndAllowThreads(__tstate);
10458 if (PyErr_Occurred()) SWIG_fail;
10459 }
10460 Py_INCREF(Py_None); resultobj = Py_None;
10461 return resultobj;
10462 fail:
10463 return NULL;
10464 }
10465
10466
10467 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10468 PyObject *resultobj;
10469 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10470 size_t arg2 ;
10471 PyObject * obj0 = 0 ;
10472 PyObject * obj1 = 0 ;
10473 char *kwnames[] = {
10474 (char *) "self",(char *) "count", NULL
10475 };
10476
10477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10480 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10481 if (PyErr_Occurred()) SWIG_fail;
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 (arg1)->SetItemCount(arg2);
10485
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 Py_INCREF(Py_None); resultobj = Py_None;
10490 return resultobj;
10491 fail:
10492 return NULL;
10493 }
10494
10495
10496 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
10497 PyObject *obj;
10498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10499 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10500 Py_INCREF(obj);
10501 return Py_BuildValue((char *)"");
10502 }
10503 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
10504 PyObject *resultobj;
10505 wxTaskBarIcon *result;
10506 char *kwnames[] = {
10507 NULL
10508 };
10509
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10519 return resultobj;
10520 fail:
10521 return NULL;
10522 }
10523
10524
10525 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
10526 PyObject *resultobj;
10527 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10528 PyObject * obj0 = 0 ;
10529 char *kwnames[] = {
10530 (char *) "self", NULL
10531 };
10532
10533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10536 {
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 delete arg1;
10539
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 Py_INCREF(Py_None); resultobj = Py_None;
10544 return resultobj;
10545 fail:
10546 return NULL;
10547 }
10548
10549
10550 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
10551 PyObject *resultobj;
10552 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10553 PyObject * obj0 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 wxTaskBarIcon_Destroy(arg1);
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 Py_INCREF(Py_None); resultobj = Py_None;
10569 return resultobj;
10570 fail:
10571 return NULL;
10572 }
10573
10574
10575 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
10576 PyObject *obj;
10577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10578 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10579 Py_INCREF(obj);
10580 return Py_BuildValue((char *)"");
10581 }
10582 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10583 PyObject *resultobj;
10584 wxEventType arg1 ;
10585 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10586 wxTaskBarIconEvent *result;
10587 PyObject * obj0 = 0 ;
10588 PyObject * obj1 = 0 ;
10589 char *kwnames[] = {
10590 (char *) "evtType",(char *) "tbIcon", NULL
10591 };
10592
10593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10594 arg1 = (wxEventType) SWIG_AsInt(obj0);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10598 {
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10601
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
10605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10606 return resultobj;
10607 fail:
10608 return NULL;
10609 }
10610
10611
10612 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
10613 PyObject *obj;
10614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10615 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10616 Py_INCREF(obj);
10617 return Py_BuildValue((char *)"");
10618 }
10619 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
10620 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10621 return 1;
10622 }
10623
10624
10625 static PyObject *_wrap_FileSelectorPromptStr_get() {
10626 PyObject *pyobj;
10627
10628 {
10629 #if wxUSE_UNICODE
10630 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10631 #else
10632 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10633 #endif
10634 }
10635 return pyobj;
10636 }
10637
10638
10639 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
10640 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10641 return 1;
10642 }
10643
10644
10645 static PyObject *_wrap_DirSelectorPromptStr_get() {
10646 PyObject *pyobj;
10647
10648 {
10649 #if wxUSE_UNICODE
10650 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10651 #else
10652 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10653 #endif
10654 }
10655 return pyobj;
10656 }
10657
10658
10659 static int _wrap_DirDialogNameStr_set(PyObject *) {
10660 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10661 return 1;
10662 }
10663
10664
10665 static PyObject *_wrap_DirDialogNameStr_get() {
10666 PyObject *pyobj;
10667
10668 {
10669 #if wxUSE_UNICODE
10670 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10671 #else
10672 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10673 #endif
10674 }
10675 return pyobj;
10676 }
10677
10678
10679 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
10680 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10681 return 1;
10682 }
10683
10684
10685 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10686 PyObject *pyobj;
10687
10688 {
10689 #if wxUSE_UNICODE
10690 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10691 #else
10692 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10693 #endif
10694 }
10695 return pyobj;
10696 }
10697
10698
10699 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
10700 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10701 return 1;
10702 }
10703
10704
10705 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10706 PyObject *pyobj;
10707
10708 {
10709 #if wxUSE_UNICODE
10710 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10711 #else
10712 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10713 #endif
10714 }
10715 return pyobj;
10716 }
10717
10718
10719 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
10720 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10721 return 1;
10722 }
10723
10724
10725 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10726 PyObject *pyobj;
10727
10728 {
10729 #if wxUSE_UNICODE
10730 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10731 #else
10732 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10733 #endif
10734 }
10735 return pyobj;
10736 }
10737
10738
10739 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10740 PyObject *resultobj;
10741 wxColourData *result;
10742 char *kwnames[] = {
10743 NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 result = (wxColourData *)new wxColourData();
10750
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10755 return resultobj;
10756 fail:
10757 return NULL;
10758 }
10759
10760
10761 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10762 PyObject *resultobj;
10763 wxColourData *arg1 = (wxColourData *) 0 ;
10764 PyObject * obj0 = 0 ;
10765 char *kwnames[] = {
10766 (char *) "self", NULL
10767 };
10768
10769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 delete arg1;
10775
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
10779 Py_INCREF(Py_None); resultobj = Py_None;
10780 return resultobj;
10781 fail:
10782 return NULL;
10783 }
10784
10785
10786 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
10787 PyObject *resultobj;
10788 wxColourData *arg1 = (wxColourData *) 0 ;
10789 bool result;
10790 PyObject * obj0 = 0 ;
10791 char *kwnames[] = {
10792 (char *) "self", NULL
10793 };
10794
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",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 result = (bool)(arg1)->GetChooseFull();
10801
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 {
10806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10807 }
10808 return resultobj;
10809 fail:
10810 return NULL;
10811 }
10812
10813
10814 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
10815 PyObject *resultobj;
10816 wxColourData *arg1 = (wxColourData *) 0 ;
10817 wxColour result;
10818 PyObject * obj0 = 0 ;
10819 char *kwnames[] = {
10820 (char *) "self", NULL
10821 };
10822
10823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 result = (arg1)->GetColour();
10829
10830 wxPyEndAllowThreads(__tstate);
10831 if (PyErr_Occurred()) SWIG_fail;
10832 }
10833 {
10834 wxColour * resultptr;
10835 resultptr = new wxColour((wxColour &) result);
10836 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10837 }
10838 return resultobj;
10839 fail:
10840 return NULL;
10841 }
10842
10843
10844 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
10845 PyObject *resultobj;
10846 wxColourData *arg1 = (wxColourData *) 0 ;
10847 int arg2 ;
10848 wxColour result;
10849 PyObject * obj0 = 0 ;
10850 PyObject * obj1 = 0 ;
10851 char *kwnames[] = {
10852 (char *) "self",(char *) "i", NULL
10853 };
10854
10855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10858 arg2 = (int) SWIG_AsInt(obj1);
10859 if (PyErr_Occurred()) SWIG_fail;
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
10862 result = (arg1)->GetCustomColour(arg2);
10863
10864 wxPyEndAllowThreads(__tstate);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 {
10868 wxColour * resultptr;
10869 resultptr = new wxColour((wxColour &) result);
10870 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10871 }
10872 return resultobj;
10873 fail:
10874 return NULL;
10875 }
10876
10877
10878 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
10879 PyObject *resultobj;
10880 wxColourData *arg1 = (wxColourData *) 0 ;
10881 int arg2 ;
10882 PyObject * obj0 = 0 ;
10883 PyObject * obj1 = 0 ;
10884 char *kwnames[] = {
10885 (char *) "self",(char *) "flag", NULL
10886 };
10887
10888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10891 arg2 = (int) SWIG_AsInt(obj1);
10892 if (PyErr_Occurred()) SWIG_fail;
10893 {
10894 PyThreadState* __tstate = wxPyBeginAllowThreads();
10895 (arg1)->SetChooseFull(arg2);
10896
10897 wxPyEndAllowThreads(__tstate);
10898 if (PyErr_Occurred()) SWIG_fail;
10899 }
10900 Py_INCREF(Py_None); resultobj = Py_None;
10901 return resultobj;
10902 fail:
10903 return NULL;
10904 }
10905
10906
10907 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
10908 PyObject *resultobj;
10909 wxColourData *arg1 = (wxColourData *) 0 ;
10910 wxColour *arg2 = 0 ;
10911 wxColour temp2 ;
10912 PyObject * obj0 = 0 ;
10913 PyObject * obj1 = 0 ;
10914 char *kwnames[] = {
10915 (char *) "self",(char *) "colour", NULL
10916 };
10917
10918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10921 {
10922 arg2 = &temp2;
10923 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10924 }
10925 {
10926 PyThreadState* __tstate = wxPyBeginAllowThreads();
10927 (arg1)->SetColour((wxColour const &)*arg2);
10928
10929 wxPyEndAllowThreads(__tstate);
10930 if (PyErr_Occurred()) SWIG_fail;
10931 }
10932 Py_INCREF(Py_None); resultobj = Py_None;
10933 return resultobj;
10934 fail:
10935 return NULL;
10936 }
10937
10938
10939 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
10940 PyObject *resultobj;
10941 wxColourData *arg1 = (wxColourData *) 0 ;
10942 int arg2 ;
10943 wxColour *arg3 = 0 ;
10944 wxColour temp3 ;
10945 PyObject * obj0 = 0 ;
10946 PyObject * obj1 = 0 ;
10947 PyObject * obj2 = 0 ;
10948 char *kwnames[] = {
10949 (char *) "self",(char *) "i",(char *) "colour", NULL
10950 };
10951
10952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10955 arg2 = (int) SWIG_AsInt(obj1);
10956 if (PyErr_Occurred()) SWIG_fail;
10957 {
10958 arg3 = &temp3;
10959 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10960 }
10961 {
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10964
10965 wxPyEndAllowThreads(__tstate);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 Py_INCREF(Py_None); resultobj = Py_None;
10969 return resultobj;
10970 fail:
10971 return NULL;
10972 }
10973
10974
10975 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
10976 PyObject *obj;
10977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10978 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10979 Py_INCREF(obj);
10980 return Py_BuildValue((char *)"");
10981 }
10982 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj;
10984 wxWindow *arg1 = (wxWindow *) 0 ;
10985 wxColourData *arg2 = (wxColourData *) NULL ;
10986 wxColourDialog *result;
10987 PyObject * obj0 = 0 ;
10988 PyObject * obj1 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "parent",(char *) "data", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10996 if (obj1) {
10997 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
10998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10999 }
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11003
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
11007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11008 return resultobj;
11009 fail:
11010 return NULL;
11011 }
11012
11013
11014 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11015 PyObject *resultobj;
11016 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11017 wxColourData *result;
11018 PyObject * obj0 = 0 ;
11019 char *kwnames[] = {
11020 (char *) "self", NULL
11021 };
11022
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 {
11029 wxColourData &_result_ref = (arg1)->GetColourData();
11030 result = (wxColourData *) &_result_ref;
11031 }
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
11044 PyObject *obj;
11045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11046 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11047 Py_INCREF(obj);
11048 return Py_BuildValue((char *)"");
11049 }
11050 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj;
11052 wxWindow *arg1 = (wxWindow *) 0 ;
11053 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11054 wxString *arg2 = (wxString *) &arg2_defvalue ;
11055 wxString const &arg3_defvalue = wxPyEmptyString ;
11056 wxString *arg3 = (wxString *) &arg3_defvalue ;
11057 long arg4 = (long) 0 ;
11058 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11059 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11060 wxSize const &arg6_defvalue = wxDefaultSize ;
11061 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11062 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11063 wxString *arg7 = (wxString *) &arg7_defvalue ;
11064 wxDirDialog *result;
11065 bool temp2 = False ;
11066 bool temp3 = False ;
11067 wxPoint temp5 ;
11068 wxSize temp6 ;
11069 bool temp7 = False ;
11070 PyObject * obj0 = 0 ;
11071 PyObject * obj1 = 0 ;
11072 PyObject * obj2 = 0 ;
11073 PyObject * obj3 = 0 ;
11074 PyObject * obj4 = 0 ;
11075 PyObject * obj5 = 0 ;
11076 PyObject * obj6 = 0 ;
11077 char *kwnames[] = {
11078 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11079 };
11080
11081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11084 if (obj1) {
11085 {
11086 arg2 = wxString_in_helper(obj1);
11087 if (arg2 == NULL) SWIG_fail;
11088 temp2 = True;
11089 }
11090 }
11091 if (obj2) {
11092 {
11093 arg3 = wxString_in_helper(obj2);
11094 if (arg3 == NULL) SWIG_fail;
11095 temp3 = True;
11096 }
11097 }
11098 if (obj3) {
11099 arg4 = (long) SWIG_AsLong(obj3);
11100 if (PyErr_Occurred()) SWIG_fail;
11101 }
11102 if (obj4) {
11103 {
11104 arg5 = &temp5;
11105 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11106 }
11107 }
11108 if (obj5) {
11109 {
11110 arg6 = &temp6;
11111 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11112 }
11113 }
11114 if (obj6) {
11115 {
11116 arg7 = wxString_in_helper(obj6);
11117 if (arg7 == NULL) SWIG_fail;
11118 temp7 = True;
11119 }
11120 }
11121 {
11122 PyThreadState* __tstate = wxPyBeginAllowThreads();
11123 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11124
11125 wxPyEndAllowThreads(__tstate);
11126 if (PyErr_Occurred()) SWIG_fail;
11127 }
11128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11129 {
11130 if (temp2)
11131 delete arg2;
11132 }
11133 {
11134 if (temp3)
11135 delete arg3;
11136 }
11137 {
11138 if (temp7)
11139 delete arg7;
11140 }
11141 return resultobj;
11142 fail:
11143 {
11144 if (temp2)
11145 delete arg2;
11146 }
11147 {
11148 if (temp3)
11149 delete arg3;
11150 }
11151 {
11152 if (temp7)
11153 delete arg7;
11154 }
11155 return NULL;
11156 }
11157
11158
11159 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11160 PyObject *resultobj;
11161 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11162 wxString result;
11163 PyObject * obj0 = 0 ;
11164 char *kwnames[] = {
11165 (char *) "self", NULL
11166 };
11167
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 result = (arg1)->GetPath();
11174
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 {
11179 #if wxUSE_UNICODE
11180 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11181 #else
11182 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11183 #endif
11184 }
11185 return resultobj;
11186 fail:
11187 return NULL;
11188 }
11189
11190
11191 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj;
11193 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11194 wxString result;
11195 PyObject * obj0 = 0 ;
11196 char *kwnames[] = {
11197 (char *) "self", NULL
11198 };
11199
11200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11203 {
11204 PyThreadState* __tstate = wxPyBeginAllowThreads();
11205 result = (arg1)->GetMessage();
11206
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 {
11211 #if wxUSE_UNICODE
11212 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11213 #else
11214 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11215 #endif
11216 }
11217 return resultobj;
11218 fail:
11219 return NULL;
11220 }
11221
11222
11223 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11224 PyObject *resultobj;
11225 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11226 long result;
11227 PyObject * obj0 = 0 ;
11228 char *kwnames[] = {
11229 (char *) "self", NULL
11230 };
11231
11232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 result = (long)(arg1)->GetStyle();
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 resultobj = SWIG_FromLong((long)result);
11243 return resultobj;
11244 fail:
11245 return NULL;
11246 }
11247
11248
11249 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj;
11251 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11252 wxString *arg2 = 0 ;
11253 bool temp2 = False ;
11254 PyObject * obj0 = 0 ;
11255 PyObject * obj1 = 0 ;
11256 char *kwnames[] = {
11257 (char *) "self",(char *) "message", NULL
11258 };
11259
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11263 {
11264 arg2 = wxString_in_helper(obj1);
11265 if (arg2 == NULL) SWIG_fail;
11266 temp2 = True;
11267 }
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 (arg1)->SetMessage((wxString const &)*arg2);
11271
11272 wxPyEndAllowThreads(__tstate);
11273 if (PyErr_Occurred()) SWIG_fail;
11274 }
11275 Py_INCREF(Py_None); resultobj = Py_None;
11276 {
11277 if (temp2)
11278 delete arg2;
11279 }
11280 return resultobj;
11281 fail:
11282 {
11283 if (temp2)
11284 delete arg2;
11285 }
11286 return NULL;
11287 }
11288
11289
11290 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11291 PyObject *resultobj;
11292 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11293 wxString *arg2 = 0 ;
11294 bool temp2 = False ;
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
11297 char *kwnames[] = {
11298 (char *) "self",(char *) "path", NULL
11299 };
11300
11301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11304 {
11305 arg2 = wxString_in_helper(obj1);
11306 if (arg2 == NULL) SWIG_fail;
11307 temp2 = True;
11308 }
11309 {
11310 PyThreadState* __tstate = wxPyBeginAllowThreads();
11311 (arg1)->SetPath((wxString const &)*arg2);
11312
11313 wxPyEndAllowThreads(__tstate);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 }
11316 Py_INCREF(Py_None); resultobj = Py_None;
11317 {
11318 if (temp2)
11319 delete arg2;
11320 }
11321 return resultobj;
11322 fail:
11323 {
11324 if (temp2)
11325 delete arg2;
11326 }
11327 return NULL;
11328 }
11329
11330
11331 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
11332 PyObject *obj;
11333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11334 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11335 Py_INCREF(obj);
11336 return Py_BuildValue((char *)"");
11337 }
11338 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11339 PyObject *resultobj;
11340 wxWindow *arg1 = (wxWindow *) 0 ;
11341 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11342 wxString *arg2 = (wxString *) &arg2_defvalue ;
11343 wxString const &arg3_defvalue = wxPyEmptyString ;
11344 wxString *arg3 = (wxString *) &arg3_defvalue ;
11345 wxString const &arg4_defvalue = wxPyEmptyString ;
11346 wxString *arg4 = (wxString *) &arg4_defvalue ;
11347 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11348 wxString *arg5 = (wxString *) &arg5_defvalue ;
11349 long arg6 = (long) 0 ;
11350 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11351 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11352 wxFileDialog *result;
11353 bool temp2 = False ;
11354 bool temp3 = False ;
11355 bool temp4 = False ;
11356 bool temp5 = False ;
11357 wxPoint temp7 ;
11358 PyObject * obj0 = 0 ;
11359 PyObject * obj1 = 0 ;
11360 PyObject * obj2 = 0 ;
11361 PyObject * obj3 = 0 ;
11362 PyObject * obj4 = 0 ;
11363 PyObject * obj5 = 0 ;
11364 PyObject * obj6 = 0 ;
11365 char *kwnames[] = {
11366 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11367 };
11368
11369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11372 if (obj1) {
11373 {
11374 arg2 = wxString_in_helper(obj1);
11375 if (arg2 == NULL) SWIG_fail;
11376 temp2 = True;
11377 }
11378 }
11379 if (obj2) {
11380 {
11381 arg3 = wxString_in_helper(obj2);
11382 if (arg3 == NULL) SWIG_fail;
11383 temp3 = True;
11384 }
11385 }
11386 if (obj3) {
11387 {
11388 arg4 = wxString_in_helper(obj3);
11389 if (arg4 == NULL) SWIG_fail;
11390 temp4 = True;
11391 }
11392 }
11393 if (obj4) {
11394 {
11395 arg5 = wxString_in_helper(obj4);
11396 if (arg5 == NULL) SWIG_fail;
11397 temp5 = True;
11398 }
11399 }
11400 if (obj5) {
11401 arg6 = (long) SWIG_AsLong(obj5);
11402 if (PyErr_Occurred()) SWIG_fail;
11403 }
11404 if (obj6) {
11405 {
11406 arg7 = &temp7;
11407 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11408 }
11409 }
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11418 {
11419 if (temp2)
11420 delete arg2;
11421 }
11422 {
11423 if (temp3)
11424 delete arg3;
11425 }
11426 {
11427 if (temp4)
11428 delete arg4;
11429 }
11430 {
11431 if (temp5)
11432 delete arg5;
11433 }
11434 return resultobj;
11435 fail:
11436 {
11437 if (temp2)
11438 delete arg2;
11439 }
11440 {
11441 if (temp3)
11442 delete arg3;
11443 }
11444 {
11445 if (temp4)
11446 delete arg4;
11447 }
11448 {
11449 if (temp5)
11450 delete arg5;
11451 }
11452 return NULL;
11453 }
11454
11455
11456 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11457 PyObject *resultobj;
11458 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11459 wxString *arg2 = 0 ;
11460 bool temp2 = False ;
11461 PyObject * obj0 = 0 ;
11462 PyObject * obj1 = 0 ;
11463 char *kwnames[] = {
11464 (char *) "self",(char *) "message", NULL
11465 };
11466
11467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11470 {
11471 arg2 = wxString_in_helper(obj1);
11472 if (arg2 == NULL) SWIG_fail;
11473 temp2 = True;
11474 }
11475 {
11476 PyThreadState* __tstate = wxPyBeginAllowThreads();
11477 (arg1)->SetMessage((wxString const &)*arg2);
11478
11479 wxPyEndAllowThreads(__tstate);
11480 if (PyErr_Occurred()) SWIG_fail;
11481 }
11482 Py_INCREF(Py_None); resultobj = Py_None;
11483 {
11484 if (temp2)
11485 delete arg2;
11486 }
11487 return resultobj;
11488 fail:
11489 {
11490 if (temp2)
11491 delete arg2;
11492 }
11493 return NULL;
11494 }
11495
11496
11497 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11498 PyObject *resultobj;
11499 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11500 wxString *arg2 = 0 ;
11501 bool temp2 = False ;
11502 PyObject * obj0 = 0 ;
11503 PyObject * obj1 = 0 ;
11504 char *kwnames[] = {
11505 (char *) "self",(char *) "path", NULL
11506 };
11507
11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11511 {
11512 arg2 = wxString_in_helper(obj1);
11513 if (arg2 == NULL) SWIG_fail;
11514 temp2 = True;
11515 }
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 (arg1)->SetPath((wxString const &)*arg2);
11519
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
11523 Py_INCREF(Py_None); resultobj = Py_None;
11524 {
11525 if (temp2)
11526 delete arg2;
11527 }
11528 return resultobj;
11529 fail:
11530 {
11531 if (temp2)
11532 delete arg2;
11533 }
11534 return NULL;
11535 }
11536
11537
11538 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
11539 PyObject *resultobj;
11540 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11541 wxString *arg2 = 0 ;
11542 bool temp2 = False ;
11543 PyObject * obj0 = 0 ;
11544 PyObject * obj1 = 0 ;
11545 char *kwnames[] = {
11546 (char *) "self",(char *) "dir", NULL
11547 };
11548
11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11552 {
11553 arg2 = wxString_in_helper(obj1);
11554 if (arg2 == NULL) SWIG_fail;
11555 temp2 = True;
11556 }
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 (arg1)->SetDirectory((wxString const &)*arg2);
11560
11561 wxPyEndAllowThreads(__tstate);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 Py_INCREF(Py_None); resultobj = Py_None;
11565 {
11566 if (temp2)
11567 delete arg2;
11568 }
11569 return resultobj;
11570 fail:
11571 {
11572 if (temp2)
11573 delete arg2;
11574 }
11575 return NULL;
11576 }
11577
11578
11579 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
11580 PyObject *resultobj;
11581 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11582 wxString *arg2 = 0 ;
11583 bool temp2 = False ;
11584 PyObject * obj0 = 0 ;
11585 PyObject * obj1 = 0 ;
11586 char *kwnames[] = {
11587 (char *) "self",(char *) "name", NULL
11588 };
11589
11590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11593 {
11594 arg2 = wxString_in_helper(obj1);
11595 if (arg2 == NULL) SWIG_fail;
11596 temp2 = True;
11597 }
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 (arg1)->SetFilename((wxString const &)*arg2);
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
11605 Py_INCREF(Py_None); resultobj = Py_None;
11606 {
11607 if (temp2)
11608 delete arg2;
11609 }
11610 return resultobj;
11611 fail:
11612 {
11613 if (temp2)
11614 delete arg2;
11615 }
11616 return NULL;
11617 }
11618
11619
11620 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
11621 PyObject *resultobj;
11622 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11623 wxString *arg2 = 0 ;
11624 bool temp2 = False ;
11625 PyObject * obj0 = 0 ;
11626 PyObject * obj1 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self",(char *) "wildCard", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11634 {
11635 arg2 = wxString_in_helper(obj1);
11636 if (arg2 == NULL) SWIG_fail;
11637 temp2 = True;
11638 }
11639 {
11640 PyThreadState* __tstate = wxPyBeginAllowThreads();
11641 (arg1)->SetWildcard((wxString const &)*arg2);
11642
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 Py_INCREF(Py_None); resultobj = Py_None;
11647 {
11648 if (temp2)
11649 delete arg2;
11650 }
11651 return resultobj;
11652 fail:
11653 {
11654 if (temp2)
11655 delete arg2;
11656 }
11657 return NULL;
11658 }
11659
11660
11661 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11662 PyObject *resultobj;
11663 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11664 long arg2 ;
11665 PyObject * obj0 = 0 ;
11666 PyObject * obj1 = 0 ;
11667 char *kwnames[] = {
11668 (char *) "self",(char *) "style", NULL
11669 };
11670
11671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11674 arg2 = (long) SWIG_AsLong(obj1);
11675 if (PyErr_Occurred()) SWIG_fail;
11676 {
11677 PyThreadState* __tstate = wxPyBeginAllowThreads();
11678 (arg1)->SetStyle(arg2);
11679
11680 wxPyEndAllowThreads(__tstate);
11681 if (PyErr_Occurred()) SWIG_fail;
11682 }
11683 Py_INCREF(Py_None); resultobj = Py_None;
11684 return resultobj;
11685 fail:
11686 return NULL;
11687 }
11688
11689
11690 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11691 PyObject *resultobj;
11692 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11693 int arg2 ;
11694 PyObject * obj0 = 0 ;
11695 PyObject * obj1 = 0 ;
11696 char *kwnames[] = {
11697 (char *) "self",(char *) "filterIndex", NULL
11698 };
11699
11700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11703 arg2 = (int) SWIG_AsInt(obj1);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 {
11706 PyThreadState* __tstate = wxPyBeginAllowThreads();
11707 (arg1)->SetFilterIndex(arg2);
11708
11709 wxPyEndAllowThreads(__tstate);
11710 if (PyErr_Occurred()) SWIG_fail;
11711 }
11712 Py_INCREF(Py_None); resultobj = Py_None;
11713 return resultobj;
11714 fail:
11715 return NULL;
11716 }
11717
11718
11719 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11720 PyObject *resultobj;
11721 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11722 wxString result;
11723 PyObject * obj0 = 0 ;
11724 char *kwnames[] = {
11725 (char *) "self", NULL
11726 };
11727
11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 result = ((wxFileDialog const *)arg1)->GetMessage();
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 {
11739 #if wxUSE_UNICODE
11740 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11741 #else
11742 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11743 #endif
11744 }
11745 return resultobj;
11746 fail:
11747 return NULL;
11748 }
11749
11750
11751 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11752 PyObject *resultobj;
11753 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11754 wxString result;
11755 PyObject * obj0 = 0 ;
11756 char *kwnames[] = {
11757 (char *) "self", NULL
11758 };
11759
11760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11763 {
11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
11765 result = ((wxFileDialog const *)arg1)->GetPath();
11766
11767 wxPyEndAllowThreads(__tstate);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 }
11770 {
11771 #if wxUSE_UNICODE
11772 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11773 #else
11774 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11775 #endif
11776 }
11777 return resultobj;
11778 fail:
11779 return NULL;
11780 }
11781
11782
11783 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj;
11785 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11786 wxString result;
11787 PyObject * obj0 = 0 ;
11788 char *kwnames[] = {
11789 (char *) "self", NULL
11790 };
11791
11792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11795 {
11796 PyThreadState* __tstate = wxPyBeginAllowThreads();
11797 result = ((wxFileDialog const *)arg1)->GetDirectory();
11798
11799 wxPyEndAllowThreads(__tstate);
11800 if (PyErr_Occurred()) SWIG_fail;
11801 }
11802 {
11803 #if wxUSE_UNICODE
11804 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11805 #else
11806 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11807 #endif
11808 }
11809 return resultobj;
11810 fail:
11811 return NULL;
11812 }
11813
11814
11815 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
11816 PyObject *resultobj;
11817 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11818 wxString result;
11819 PyObject * obj0 = 0 ;
11820 char *kwnames[] = {
11821 (char *) "self", NULL
11822 };
11823
11824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11827 {
11828 PyThreadState* __tstate = wxPyBeginAllowThreads();
11829 result = ((wxFileDialog const *)arg1)->GetFilename();
11830
11831 wxPyEndAllowThreads(__tstate);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 {
11835 #if wxUSE_UNICODE
11836 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11837 #else
11838 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11839 #endif
11840 }
11841 return resultobj;
11842 fail:
11843 return NULL;
11844 }
11845
11846
11847 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
11848 PyObject *resultobj;
11849 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11850 wxString result;
11851 PyObject * obj0 = 0 ;
11852 char *kwnames[] = {
11853 (char *) "self", NULL
11854 };
11855
11856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 result = ((wxFileDialog const *)arg1)->GetWildcard();
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 {
11867 #if wxUSE_UNICODE
11868 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11869 #else
11870 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11871 #endif
11872 }
11873 return resultobj;
11874 fail:
11875 return NULL;
11876 }
11877
11878
11879 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11880 PyObject *resultobj;
11881 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11882 long result;
11883 PyObject * obj0 = 0 ;
11884 char *kwnames[] = {
11885 (char *) "self", NULL
11886 };
11887
11888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11891 {
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11894
11895 wxPyEndAllowThreads(__tstate);
11896 if (PyErr_Occurred()) SWIG_fail;
11897 }
11898 resultobj = SWIG_FromLong((long)result);
11899 return resultobj;
11900 fail:
11901 return NULL;
11902 }
11903
11904
11905 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11906 PyObject *resultobj;
11907 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11908 int result;
11909 PyObject * obj0 = 0 ;
11910 char *kwnames[] = {
11911 (char *) "self", NULL
11912 };
11913
11914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11920
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 resultobj = SWIG_FromInt((int)result);
11925 return resultobj;
11926 fail:
11927 return NULL;
11928 }
11929
11930
11931 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
11932 PyObject *resultobj;
11933 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11934 PyObject *result;
11935 PyObject * obj0 = 0 ;
11936 char *kwnames[] = {
11937 (char *) "self", NULL
11938 };
11939
11940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 resultobj = result;
11951 return resultobj;
11952 fail:
11953 return NULL;
11954 }
11955
11956
11957 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
11958 PyObject *resultobj;
11959 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11960 PyObject *result;
11961 PyObject * obj0 = 0 ;
11962 char *kwnames[] = {
11963 (char *) "self", NULL
11964 };
11965
11966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11969 {
11970 PyThreadState* __tstate = wxPyBeginAllowThreads();
11971 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11972
11973 wxPyEndAllowThreads(__tstate);
11974 if (PyErr_Occurred()) SWIG_fail;
11975 }
11976 resultobj = result;
11977 return resultobj;
11978 fail:
11979 return NULL;
11980 }
11981
11982
11983 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
11984 PyObject *obj;
11985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11986 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11987 Py_INCREF(obj);
11988 return Py_BuildValue((char *)"");
11989 }
11990 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11991 PyObject *resultobj;
11992 wxWindow *arg1 = (wxWindow *) 0 ;
11993 wxString *arg2 = 0 ;
11994 wxString *arg3 = 0 ;
11995 int arg4 = (int) 0 ;
11996 wxString *arg5 = (wxString *) 0 ;
11997 long arg6 = (long) wxCHOICEDLG_STYLE ;
11998 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11999 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12000 wxMultiChoiceDialog *result;
12001 bool temp2 = False ;
12002 bool temp3 = False ;
12003 wxPoint temp6 ;
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 PyObject * obj2 = 0 ;
12007 PyObject * obj3 = 0 ;
12008 PyObject * obj4 = 0 ;
12009 PyObject * obj5 = 0 ;
12010 char *kwnames[] = {
12011 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12012 };
12013
12014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12017 {
12018 arg2 = wxString_in_helper(obj1);
12019 if (arg2 == NULL) SWIG_fail;
12020 temp2 = True;
12021 }
12022 {
12023 arg3 = wxString_in_helper(obj2);
12024 if (arg3 == NULL) SWIG_fail;
12025 temp3 = True;
12026 }
12027 if (obj3) {
12028 {
12029 arg4 = PyList_Size(obj3);
12030 arg5 = wxString_LIST_helper(obj3);
12031 if (arg5 == NULL) SWIG_fail;
12032 }
12033 }
12034 if (obj4) {
12035 arg6 = (long) SWIG_AsLong(obj4);
12036 if (PyErr_Occurred()) SWIG_fail;
12037 }
12038 if (obj5) {
12039 {
12040 arg7 = &temp6;
12041 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12042 }
12043 }
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
12051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12052 {
12053 if (temp2)
12054 delete arg2;
12055 }
12056 {
12057 if (temp3)
12058 delete arg3;
12059 }
12060 {
12061 if (arg5) delete [] arg5;
12062 }
12063 return resultobj;
12064 fail:
12065 {
12066 if (temp2)
12067 delete arg2;
12068 }
12069 {
12070 if (temp3)
12071 delete arg3;
12072 }
12073 {
12074 if (arg5) delete [] arg5;
12075 }
12076 return NULL;
12077 }
12078
12079
12080 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12081 PyObject *resultobj;
12082 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12083 wxArrayInt *arg2 = 0 ;
12084 bool temp2 = False ;
12085 PyObject * obj0 = 0 ;
12086 PyObject * obj1 = 0 ;
12087 char *kwnames[] = {
12088 (char *) "self",(char *) "selections", NULL
12089 };
12090
12091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12094 {
12095 if (! PySequence_Check(obj1)) {
12096 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12097 SWIG_fail;
12098 }
12099 arg2 = new wxArrayInt;
12100 temp2 = True;
12101 int i, len=PySequence_Length(obj1);
12102 for (i=0; i<len; i++) {
12103 PyObject* item = PySequence_GetItem(obj1, i);
12104 PyObject* number = PyNumber_Int(item);
12105 arg2->Add(PyInt_AS_LONG(number));
12106 Py_DECREF(item);
12107 Py_DECREF(number);
12108 }
12109 }
12110 {
12111 PyThreadState* __tstate = wxPyBeginAllowThreads();
12112 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12113
12114 wxPyEndAllowThreads(__tstate);
12115 if (PyErr_Occurred()) SWIG_fail;
12116 }
12117 Py_INCREF(Py_None); resultobj = Py_None;
12118 {
12119 if (temp2) delete arg2;
12120 }
12121 return resultobj;
12122 fail:
12123 {
12124 if (temp2) delete arg2;
12125 }
12126 return NULL;
12127 }
12128
12129
12130 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj;
12132 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12133 PyObject *result;
12134 PyObject * obj0 = 0 ;
12135 char *kwnames[] = {
12136 (char *) "self", NULL
12137 };
12138
12139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12142 {
12143 PyThreadState* __tstate = wxPyBeginAllowThreads();
12144 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12145
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
12149 resultobj = result;
12150 return resultobj;
12151 fail:
12152 return NULL;
12153 }
12154
12155
12156 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
12157 PyObject *obj;
12158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12159 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12160 Py_INCREF(obj);
12161 return Py_BuildValue((char *)"");
12162 }
12163 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12164 PyObject *resultobj;
12165 wxWindow *arg1 = (wxWindow *) 0 ;
12166 wxString *arg2 = 0 ;
12167 wxString *arg3 = 0 ;
12168 int arg4 ;
12169 wxString *arg5 = (wxString *) 0 ;
12170 long arg6 = (long) wxCHOICEDLG_STYLE ;
12171 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12172 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12173 wxSingleChoiceDialog *result;
12174 bool temp2 = False ;
12175 bool temp3 = False ;
12176 wxPoint temp6 ;
12177 PyObject * obj0 = 0 ;
12178 PyObject * obj1 = 0 ;
12179 PyObject * obj2 = 0 ;
12180 PyObject * obj3 = 0 ;
12181 PyObject * obj4 = 0 ;
12182 PyObject * obj5 = 0 ;
12183 char *kwnames[] = {
12184 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12185 };
12186
12187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12190 {
12191 arg2 = wxString_in_helper(obj1);
12192 if (arg2 == NULL) SWIG_fail;
12193 temp2 = True;
12194 }
12195 {
12196 arg3 = wxString_in_helper(obj2);
12197 if (arg3 == NULL) SWIG_fail;
12198 temp3 = True;
12199 }
12200 {
12201 arg4 = PyList_Size(obj3);
12202 arg5 = wxString_LIST_helper(obj3);
12203 if (arg5 == NULL) SWIG_fail;
12204 }
12205 if (obj4) {
12206 arg6 = (long) SWIG_AsLong(obj4);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
12209 if (obj5) {
12210 {
12211 arg7 = &temp6;
12212 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12213 }
12214 }
12215 {
12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
12217 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12218
12219 wxPyEndAllowThreads(__tstate);
12220 if (PyErr_Occurred()) SWIG_fail;
12221 }
12222 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12223 {
12224 if (temp2)
12225 delete arg2;
12226 }
12227 {
12228 if (temp3)
12229 delete arg3;
12230 }
12231 {
12232 if (arg5) delete [] arg5;
12233 }
12234 return resultobj;
12235 fail:
12236 {
12237 if (temp2)
12238 delete arg2;
12239 }
12240 {
12241 if (temp3)
12242 delete arg3;
12243 }
12244 {
12245 if (arg5) delete [] arg5;
12246 }
12247 return NULL;
12248 }
12249
12250
12251 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12252 PyObject *resultobj;
12253 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12254 int result;
12255 PyObject * obj0 = 0 ;
12256 char *kwnames[] = {
12257 (char *) "self", NULL
12258 };
12259
12260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12263 {
12264 PyThreadState* __tstate = wxPyBeginAllowThreads();
12265 result = (int)(arg1)->GetSelection();
12266
12267 wxPyEndAllowThreads(__tstate);
12268 if (PyErr_Occurred()) SWIG_fail;
12269 }
12270 resultobj = SWIG_FromInt((int)result);
12271 return resultobj;
12272 fail:
12273 return NULL;
12274 }
12275
12276
12277 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12278 PyObject *resultobj;
12279 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12280 wxString result;
12281 PyObject * obj0 = 0 ;
12282 char *kwnames[] = {
12283 (char *) "self", NULL
12284 };
12285
12286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 result = (arg1)->GetStringSelection();
12292
12293 wxPyEndAllowThreads(__tstate);
12294 if (PyErr_Occurred()) SWIG_fail;
12295 }
12296 {
12297 #if wxUSE_UNICODE
12298 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12299 #else
12300 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12301 #endif
12302 }
12303 return resultobj;
12304 fail:
12305 return NULL;
12306 }
12307
12308
12309 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12310 PyObject *resultobj;
12311 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12312 int arg2 ;
12313 PyObject * obj0 = 0 ;
12314 PyObject * obj1 = 0 ;
12315 char *kwnames[] = {
12316 (char *) "self",(char *) "sel", NULL
12317 };
12318
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12322 arg2 = (int) SWIG_AsInt(obj1);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 {
12325 PyThreadState* __tstate = wxPyBeginAllowThreads();
12326 (arg1)->SetSelection(arg2);
12327
12328 wxPyEndAllowThreads(__tstate);
12329 if (PyErr_Occurred()) SWIG_fail;
12330 }
12331 Py_INCREF(Py_None); resultobj = Py_None;
12332 return resultobj;
12333 fail:
12334 return NULL;
12335 }
12336
12337
12338 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
12339 PyObject *obj;
12340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12341 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12342 Py_INCREF(obj);
12343 return Py_BuildValue((char *)"");
12344 }
12345 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12346 PyObject *resultobj;
12347 wxWindow *arg1 = (wxWindow *) 0 ;
12348 wxString *arg2 = 0 ;
12349 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12350 wxString *arg3 = (wxString *) &arg3_defvalue ;
12351 wxString const &arg4_defvalue = wxPyEmptyString ;
12352 wxString *arg4 = (wxString *) &arg4_defvalue ;
12353 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12354 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12355 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12356 wxTextEntryDialog *result;
12357 bool temp2 = False ;
12358 bool temp3 = False ;
12359 bool temp4 = False ;
12360 wxPoint temp6 ;
12361 PyObject * obj0 = 0 ;
12362 PyObject * obj1 = 0 ;
12363 PyObject * obj2 = 0 ;
12364 PyObject * obj3 = 0 ;
12365 PyObject * obj4 = 0 ;
12366 PyObject * obj5 = 0 ;
12367 char *kwnames[] = {
12368 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12369 };
12370
12371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12374 {
12375 arg2 = wxString_in_helper(obj1);
12376 if (arg2 == NULL) SWIG_fail;
12377 temp2 = True;
12378 }
12379 if (obj2) {
12380 {
12381 arg3 = wxString_in_helper(obj2);
12382 if (arg3 == NULL) SWIG_fail;
12383 temp3 = True;
12384 }
12385 }
12386 if (obj3) {
12387 {
12388 arg4 = wxString_in_helper(obj3);
12389 if (arg4 == NULL) SWIG_fail;
12390 temp4 = True;
12391 }
12392 }
12393 if (obj4) {
12394 arg5 = (long) SWIG_AsLong(obj4);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 if (obj5) {
12398 {
12399 arg6 = &temp6;
12400 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12401 }
12402 }
12403 {
12404 PyThreadState* __tstate = wxPyBeginAllowThreads();
12405 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12406
12407 wxPyEndAllowThreads(__tstate);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 }
12410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12411 {
12412 if (temp2)
12413 delete arg2;
12414 }
12415 {
12416 if (temp3)
12417 delete arg3;
12418 }
12419 {
12420 if (temp4)
12421 delete arg4;
12422 }
12423 return resultobj;
12424 fail:
12425 {
12426 if (temp2)
12427 delete arg2;
12428 }
12429 {
12430 if (temp3)
12431 delete arg3;
12432 }
12433 {
12434 if (temp4)
12435 delete arg4;
12436 }
12437 return NULL;
12438 }
12439
12440
12441 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12442 PyObject *resultobj;
12443 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12444 wxString result;
12445 PyObject * obj0 = 0 ;
12446 char *kwnames[] = {
12447 (char *) "self", NULL
12448 };
12449
12450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12453 {
12454 PyThreadState* __tstate = wxPyBeginAllowThreads();
12455 result = (arg1)->GetValue();
12456
12457 wxPyEndAllowThreads(__tstate);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 {
12461 #if wxUSE_UNICODE
12462 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12463 #else
12464 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12465 #endif
12466 }
12467 return resultobj;
12468 fail:
12469 return NULL;
12470 }
12471
12472
12473 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12474 PyObject *resultobj;
12475 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12476 wxString *arg2 = 0 ;
12477 bool temp2 = False ;
12478 PyObject * obj0 = 0 ;
12479 PyObject * obj1 = 0 ;
12480 char *kwnames[] = {
12481 (char *) "self",(char *) "value", NULL
12482 };
12483
12484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12487 {
12488 arg2 = wxString_in_helper(obj1);
12489 if (arg2 == NULL) SWIG_fail;
12490 temp2 = True;
12491 }
12492 {
12493 PyThreadState* __tstate = wxPyBeginAllowThreads();
12494 (arg1)->SetValue((wxString const &)*arg2);
12495
12496 wxPyEndAllowThreads(__tstate);
12497 if (PyErr_Occurred()) SWIG_fail;
12498 }
12499 Py_INCREF(Py_None); resultobj = Py_None;
12500 {
12501 if (temp2)
12502 delete arg2;
12503 }
12504 return resultobj;
12505 fail:
12506 {
12507 if (temp2)
12508 delete arg2;
12509 }
12510 return NULL;
12511 }
12512
12513
12514 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
12515 PyObject *obj;
12516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12517 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12518 Py_INCREF(obj);
12519 return Py_BuildValue((char *)"");
12520 }
12521 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
12522 PyObject *resultobj;
12523 wxFontData *result;
12524 char *kwnames[] = {
12525 NULL
12526 };
12527
12528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12529 {
12530 PyThreadState* __tstate = wxPyBeginAllowThreads();
12531 result = (wxFontData *)new wxFontData();
12532
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12537 return resultobj;
12538 fail:
12539 return NULL;
12540 }
12541
12542
12543 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
12544 PyObject *resultobj;
12545 wxFontData *arg1 = (wxFontData *) 0 ;
12546 PyObject * obj0 = 0 ;
12547 char *kwnames[] = {
12548 (char *) "self", NULL
12549 };
12550
12551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12554 {
12555 PyThreadState* __tstate = wxPyBeginAllowThreads();
12556 delete arg1;
12557
12558 wxPyEndAllowThreads(__tstate);
12559 if (PyErr_Occurred()) SWIG_fail;
12560 }
12561 Py_INCREF(Py_None); resultobj = Py_None;
12562 return resultobj;
12563 fail:
12564 return NULL;
12565 }
12566
12567
12568 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
12569 PyObject *resultobj;
12570 wxFontData *arg1 = (wxFontData *) 0 ;
12571 bool arg2 ;
12572 PyObject * obj0 = 0 ;
12573 PyObject * obj1 = 0 ;
12574 char *kwnames[] = {
12575 (char *) "self",(char *) "enable", NULL
12576 };
12577
12578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12581 arg2 = (bool) SWIG_AsBool(obj1);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 {
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 (arg1)->EnableEffects(arg2);
12586
12587 wxPyEndAllowThreads(__tstate);
12588 if (PyErr_Occurred()) SWIG_fail;
12589 }
12590 Py_INCREF(Py_None); resultobj = Py_None;
12591 return resultobj;
12592 fail:
12593 return NULL;
12594 }
12595
12596
12597 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
12598 PyObject *resultobj;
12599 wxFontData *arg1 = (wxFontData *) 0 ;
12600 bool result;
12601 PyObject * obj0 = 0 ;
12602 char *kwnames[] = {
12603 (char *) "self", NULL
12604 };
12605
12606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12609 {
12610 PyThreadState* __tstate = wxPyBeginAllowThreads();
12611 result = (bool)(arg1)->GetAllowSymbols();
12612
12613 wxPyEndAllowThreads(__tstate);
12614 if (PyErr_Occurred()) SWIG_fail;
12615 }
12616 {
12617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12618 }
12619 return resultobj;
12620 fail:
12621 return NULL;
12622 }
12623
12624
12625 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
12626 PyObject *resultobj;
12627 wxFontData *arg1 = (wxFontData *) 0 ;
12628 wxColour result;
12629 PyObject * obj0 = 0 ;
12630 char *kwnames[] = {
12631 (char *) "self", NULL
12632 };
12633
12634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12637 {
12638 PyThreadState* __tstate = wxPyBeginAllowThreads();
12639 result = (arg1)->GetColour();
12640
12641 wxPyEndAllowThreads(__tstate);
12642 if (PyErr_Occurred()) SWIG_fail;
12643 }
12644 {
12645 wxColour * resultptr;
12646 resultptr = new wxColour((wxColour &) result);
12647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12648 }
12649 return resultobj;
12650 fail:
12651 return NULL;
12652 }
12653
12654
12655 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
12656 PyObject *resultobj;
12657 wxFontData *arg1 = (wxFontData *) 0 ;
12658 wxFont result;
12659 PyObject * obj0 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "self", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12667 {
12668 PyThreadState* __tstate = wxPyBeginAllowThreads();
12669 result = (arg1)->GetChosenFont();
12670
12671 wxPyEndAllowThreads(__tstate);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 }
12674 {
12675 wxFont * resultptr;
12676 resultptr = new wxFont((wxFont &) result);
12677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12678 }
12679 return resultobj;
12680 fail:
12681 return NULL;
12682 }
12683
12684
12685 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
12686 PyObject *resultobj;
12687 wxFontData *arg1 = (wxFontData *) 0 ;
12688 bool result;
12689 PyObject * obj0 = 0 ;
12690 char *kwnames[] = {
12691 (char *) "self", NULL
12692 };
12693
12694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12697 {
12698 PyThreadState* __tstate = wxPyBeginAllowThreads();
12699 result = (bool)(arg1)->GetEnableEffects();
12700
12701 wxPyEndAllowThreads(__tstate);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 }
12704 {
12705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12706 }
12707 return resultobj;
12708 fail:
12709 return NULL;
12710 }
12711
12712
12713 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
12714 PyObject *resultobj;
12715 wxFontData *arg1 = (wxFontData *) 0 ;
12716 wxFont result;
12717 PyObject * obj0 = 0 ;
12718 char *kwnames[] = {
12719 (char *) "self", NULL
12720 };
12721
12722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12725 {
12726 PyThreadState* __tstate = wxPyBeginAllowThreads();
12727 result = (arg1)->GetInitialFont();
12728
12729 wxPyEndAllowThreads(__tstate);
12730 if (PyErr_Occurred()) SWIG_fail;
12731 }
12732 {
12733 wxFont * resultptr;
12734 resultptr = new wxFont((wxFont &) result);
12735 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12736 }
12737 return resultobj;
12738 fail:
12739 return NULL;
12740 }
12741
12742
12743 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
12744 PyObject *resultobj;
12745 wxFontData *arg1 = (wxFontData *) 0 ;
12746 bool result;
12747 PyObject * obj0 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "self", NULL
12750 };
12751
12752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 result = (bool)(arg1)->GetShowHelp();
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 {
12763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12764 }
12765 return resultobj;
12766 fail:
12767 return NULL;
12768 }
12769
12770
12771 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
12772 PyObject *resultobj;
12773 wxFontData *arg1 = (wxFontData *) 0 ;
12774 bool arg2 ;
12775 PyObject * obj0 = 0 ;
12776 PyObject * obj1 = 0 ;
12777 char *kwnames[] = {
12778 (char *) "self",(char *) "allowSymbols", NULL
12779 };
12780
12781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12784 arg2 = (bool) SWIG_AsBool(obj1);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 (arg1)->SetAllowSymbols(arg2);
12789
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 Py_INCREF(Py_None); resultobj = Py_None;
12794 return resultobj;
12795 fail:
12796 return NULL;
12797 }
12798
12799
12800 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
12801 PyObject *resultobj;
12802 wxFontData *arg1 = (wxFontData *) 0 ;
12803 wxFont *arg2 = 0 ;
12804 PyObject * obj0 = 0 ;
12805 PyObject * obj1 = 0 ;
12806 char *kwnames[] = {
12807 (char *) "self",(char *) "font", NULL
12808 };
12809
12810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12814 SWIG_POINTER_EXCEPTION | 0)) == -1)
12815 SWIG_fail;
12816 if (arg2 == NULL) {
12817 PyErr_SetString(PyExc_TypeError,"null reference");
12818 SWIG_fail;
12819 }
12820 {
12821 PyThreadState* __tstate = wxPyBeginAllowThreads();
12822 (arg1)->SetChosenFont((wxFont const &)*arg2);
12823
12824 wxPyEndAllowThreads(__tstate);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
12827 Py_INCREF(Py_None); resultobj = Py_None;
12828 return resultobj;
12829 fail:
12830 return NULL;
12831 }
12832
12833
12834 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
12835 PyObject *resultobj;
12836 wxFontData *arg1 = (wxFontData *) 0 ;
12837 wxColour *arg2 = 0 ;
12838 wxColour temp2 ;
12839 PyObject * obj0 = 0 ;
12840 PyObject * obj1 = 0 ;
12841 char *kwnames[] = {
12842 (char *) "self",(char *) "colour", NULL
12843 };
12844
12845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12848 {
12849 arg2 = &temp2;
12850 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12851 }
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 (arg1)->SetColour((wxColour const &)*arg2);
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
12859 Py_INCREF(Py_None); resultobj = Py_None;
12860 return resultobj;
12861 fail:
12862 return NULL;
12863 }
12864
12865
12866 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
12867 PyObject *resultobj;
12868 wxFontData *arg1 = (wxFontData *) 0 ;
12869 wxFont *arg2 = 0 ;
12870 PyObject * obj0 = 0 ;
12871 PyObject * obj1 = 0 ;
12872 char *kwnames[] = {
12873 (char *) "self",(char *) "font", NULL
12874 };
12875
12876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12880 SWIG_POINTER_EXCEPTION | 0)) == -1)
12881 SWIG_fail;
12882 if (arg2 == NULL) {
12883 PyErr_SetString(PyExc_TypeError,"null reference");
12884 SWIG_fail;
12885 }
12886 {
12887 PyThreadState* __tstate = wxPyBeginAllowThreads();
12888 (arg1)->SetInitialFont((wxFont const &)*arg2);
12889
12890 wxPyEndAllowThreads(__tstate);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 }
12893 Py_INCREF(Py_None); resultobj = Py_None;
12894 return resultobj;
12895 fail:
12896 return NULL;
12897 }
12898
12899
12900 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12901 PyObject *resultobj;
12902 wxFontData *arg1 = (wxFontData *) 0 ;
12903 int arg2 ;
12904 int arg3 ;
12905 PyObject * obj0 = 0 ;
12906 PyObject * obj1 = 0 ;
12907 PyObject * obj2 = 0 ;
12908 char *kwnames[] = {
12909 (char *) "self",(char *) "min",(char *) "max", NULL
12910 };
12911
12912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12915 arg2 = (int) SWIG_AsInt(obj1);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 arg3 = (int) SWIG_AsInt(obj2);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 {
12920 PyThreadState* __tstate = wxPyBeginAllowThreads();
12921 (arg1)->SetRange(arg2,arg3);
12922
12923 wxPyEndAllowThreads(__tstate);
12924 if (PyErr_Occurred()) SWIG_fail;
12925 }
12926 Py_INCREF(Py_None); resultobj = Py_None;
12927 return resultobj;
12928 fail:
12929 return NULL;
12930 }
12931
12932
12933 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
12934 PyObject *resultobj;
12935 wxFontData *arg1 = (wxFontData *) 0 ;
12936 bool arg2 ;
12937 PyObject * obj0 = 0 ;
12938 PyObject * obj1 = 0 ;
12939 char *kwnames[] = {
12940 (char *) "self",(char *) "showHelp", NULL
12941 };
12942
12943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12946 arg2 = (bool) SWIG_AsBool(obj1);
12947 if (PyErr_Occurred()) SWIG_fail;
12948 {
12949 PyThreadState* __tstate = wxPyBeginAllowThreads();
12950 (arg1)->SetShowHelp(arg2);
12951
12952 wxPyEndAllowThreads(__tstate);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
12955 Py_INCREF(Py_None); resultobj = Py_None;
12956 return resultobj;
12957 fail:
12958 return NULL;
12959 }
12960
12961
12962 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
12963 PyObject *obj;
12964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12965 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12966 Py_INCREF(obj);
12967 return Py_BuildValue((char *)"");
12968 }
12969 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12970 PyObject *resultobj;
12971 wxWindow *arg1 = (wxWindow *) 0 ;
12972 wxFontData *arg2 = 0 ;
12973 wxFontDialog *result;
12974 PyObject * obj0 = 0 ;
12975 PyObject * obj1 = 0 ;
12976 char *kwnames[] = {
12977 (char *) "parent",(char *) "data", NULL
12978 };
12979
12980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
12984 SWIG_POINTER_EXCEPTION | 0)) == -1)
12985 SWIG_fail;
12986 if (arg2 == NULL) {
12987 PyErr_SetString(PyExc_TypeError,"null reference");
12988 SWIG_fail;
12989 }
12990 {
12991 PyThreadState* __tstate = wxPyBeginAllowThreads();
12992 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12993
12994 wxPyEndAllowThreads(__tstate);
12995 if (PyErr_Occurred()) SWIG_fail;
12996 }
12997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
12998 return resultobj;
12999 fail:
13000 return NULL;
13001 }
13002
13003
13004 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
13005 PyObject *resultobj;
13006 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13007 wxFontData *result;
13008 PyObject * obj0 = 0 ;
13009 char *kwnames[] = {
13010 (char *) "self", NULL
13011 };
13012
13013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
13018 {
13019 wxFontData &_result_ref = (arg1)->GetFontData();
13020 result = (wxFontData *) &_result_ref;
13021 }
13022
13023 wxPyEndAllowThreads(__tstate);
13024 if (PyErr_Occurred()) SWIG_fail;
13025 }
13026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13027 return resultobj;
13028 fail:
13029 return NULL;
13030 }
13031
13032
13033 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
13034 PyObject *obj;
13035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13036 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13037 Py_INCREF(obj);
13038 return Py_BuildValue((char *)"");
13039 }
13040 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13041 PyObject *resultobj;
13042 wxWindow *arg1 = (wxWindow *) 0 ;
13043 wxString *arg2 = 0 ;
13044 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13045 wxString *arg3 = (wxString *) &arg3_defvalue ;
13046 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13047 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13048 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13049 wxMessageDialog *result;
13050 bool temp2 = False ;
13051 bool temp3 = False ;
13052 wxPoint temp5 ;
13053 PyObject * obj0 = 0 ;
13054 PyObject * obj1 = 0 ;
13055 PyObject * obj2 = 0 ;
13056 PyObject * obj3 = 0 ;
13057 PyObject * obj4 = 0 ;
13058 char *kwnames[] = {
13059 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13060 };
13061
13062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13065 {
13066 arg2 = wxString_in_helper(obj1);
13067 if (arg2 == NULL) SWIG_fail;
13068 temp2 = True;
13069 }
13070 if (obj2) {
13071 {
13072 arg3 = wxString_in_helper(obj2);
13073 if (arg3 == NULL) SWIG_fail;
13074 temp3 = True;
13075 }
13076 }
13077 if (obj3) {
13078 arg4 = (long) SWIG_AsLong(obj3);
13079 if (PyErr_Occurred()) SWIG_fail;
13080 }
13081 if (obj4) {
13082 {
13083 arg5 = &temp5;
13084 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13085 }
13086 }
13087 {
13088 PyThreadState* __tstate = wxPyBeginAllowThreads();
13089 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13090
13091 wxPyEndAllowThreads(__tstate);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
13094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13095 {
13096 if (temp2)
13097 delete arg2;
13098 }
13099 {
13100 if (temp3)
13101 delete arg3;
13102 }
13103 return resultobj;
13104 fail:
13105 {
13106 if (temp2)
13107 delete arg2;
13108 }
13109 {
13110 if (temp3)
13111 delete arg3;
13112 }
13113 return NULL;
13114 }
13115
13116
13117 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
13118 PyObject *obj;
13119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13120 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13121 Py_INCREF(obj);
13122 return Py_BuildValue((char *)"");
13123 }
13124 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13125 PyObject *resultobj;
13126 wxString *arg1 = 0 ;
13127 wxString *arg2 = 0 ;
13128 int arg3 = (int) 100 ;
13129 wxWindow *arg4 = (wxWindow *) NULL ;
13130 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13131 wxProgressDialog *result;
13132 bool temp1 = False ;
13133 bool temp2 = False ;
13134 PyObject * obj0 = 0 ;
13135 PyObject * obj1 = 0 ;
13136 PyObject * obj2 = 0 ;
13137 PyObject * obj3 = 0 ;
13138 PyObject * obj4 = 0 ;
13139 char *kwnames[] = {
13140 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13141 };
13142
13143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13144 {
13145 arg1 = wxString_in_helper(obj0);
13146 if (arg1 == NULL) SWIG_fail;
13147 temp1 = True;
13148 }
13149 {
13150 arg2 = wxString_in_helper(obj1);
13151 if (arg2 == NULL) SWIG_fail;
13152 temp2 = True;
13153 }
13154 if (obj2) {
13155 arg3 = (int) SWIG_AsInt(obj2);
13156 if (PyErr_Occurred()) SWIG_fail;
13157 }
13158 if (obj3) {
13159 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13161 }
13162 if (obj4) {
13163 arg5 = (int) SWIG_AsInt(obj4);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 }
13166 {
13167 PyThreadState* __tstate = wxPyBeginAllowThreads();
13168 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13169
13170 wxPyEndAllowThreads(__tstate);
13171 if (PyErr_Occurred()) SWIG_fail;
13172 }
13173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13174 {
13175 if (temp1)
13176 delete arg1;
13177 }
13178 {
13179 if (temp2)
13180 delete arg2;
13181 }
13182 return resultobj;
13183 fail:
13184 {
13185 if (temp1)
13186 delete arg1;
13187 }
13188 {
13189 if (temp2)
13190 delete arg2;
13191 }
13192 return NULL;
13193 }
13194
13195
13196 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
13197 PyObject *resultobj;
13198 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13199 int arg2 ;
13200 wxString const &arg3_defvalue = wxPyEmptyString ;
13201 wxString *arg3 = (wxString *) &arg3_defvalue ;
13202 bool result;
13203 bool temp3 = False ;
13204 PyObject * obj0 = 0 ;
13205 PyObject * obj1 = 0 ;
13206 PyObject * obj2 = 0 ;
13207 char *kwnames[] = {
13208 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13209 };
13210
13211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13214 arg2 = (int) SWIG_AsInt(obj1);
13215 if (PyErr_Occurred()) SWIG_fail;
13216 if (obj2) {
13217 {
13218 arg3 = wxString_in_helper(obj2);
13219 if (arg3 == NULL) SWIG_fail;
13220 temp3 = True;
13221 }
13222 }
13223 {
13224 PyThreadState* __tstate = wxPyBeginAllowThreads();
13225 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13226
13227 wxPyEndAllowThreads(__tstate);
13228 if (PyErr_Occurred()) SWIG_fail;
13229 }
13230 {
13231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13232 }
13233 {
13234 if (temp3)
13235 delete arg3;
13236 }
13237 return resultobj;
13238 fail:
13239 {
13240 if (temp3)
13241 delete arg3;
13242 }
13243 return NULL;
13244 }
13245
13246
13247 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
13248 PyObject *resultobj;
13249 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13250 PyObject * obj0 = 0 ;
13251 char *kwnames[] = {
13252 (char *) "self", NULL
13253 };
13254
13255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13258 {
13259 PyThreadState* __tstate = wxPyBeginAllowThreads();
13260 (arg1)->Resume();
13261
13262 wxPyEndAllowThreads(__tstate);
13263 if (PyErr_Occurred()) SWIG_fail;
13264 }
13265 Py_INCREF(Py_None); resultobj = Py_None;
13266 return resultobj;
13267 fail:
13268 return NULL;
13269 }
13270
13271
13272 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
13273 PyObject *obj;
13274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13275 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13276 Py_INCREF(obj);
13277 return Py_BuildValue((char *)"");
13278 }
13279 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13280 PyObject *resultobj;
13281 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13282 int arg2 = (int) 0 ;
13283 wxFindDialogEvent *result;
13284 PyObject * obj0 = 0 ;
13285 PyObject * obj1 = 0 ;
13286 char *kwnames[] = {
13287 (char *) "commandType",(char *) "id", NULL
13288 };
13289
13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13291 if (obj0) {
13292 arg1 = (wxEventType) SWIG_AsInt(obj0);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
13295 if (obj1) {
13296 arg2 = (int) SWIG_AsInt(obj1);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 }
13299 {
13300 PyThreadState* __tstate = wxPyBeginAllowThreads();
13301 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13302
13303 wxPyEndAllowThreads(__tstate);
13304 if (PyErr_Occurred()) SWIG_fail;
13305 }
13306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13307 return resultobj;
13308 fail:
13309 return NULL;
13310 }
13311
13312
13313 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13314 PyObject *resultobj;
13315 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13316 int result;
13317 PyObject * obj0 = 0 ;
13318 char *kwnames[] = {
13319 (char *) "self", NULL
13320 };
13321
13322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13325 {
13326 PyThreadState* __tstate = wxPyBeginAllowThreads();
13327 result = (int)(arg1)->GetFlags();
13328
13329 wxPyEndAllowThreads(__tstate);
13330 if (PyErr_Occurred()) SWIG_fail;
13331 }
13332 resultobj = SWIG_FromInt((int)result);
13333 return resultobj;
13334 fail:
13335 return NULL;
13336 }
13337
13338
13339 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13340 PyObject *resultobj;
13341 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13342 wxString *result;
13343 PyObject * obj0 = 0 ;
13344 char *kwnames[] = {
13345 (char *) "self", NULL
13346 };
13347
13348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
13353 {
13354 wxString const &_result_ref = (arg1)->GetFindString();
13355 result = (wxString *) &_result_ref;
13356 }
13357
13358 wxPyEndAllowThreads(__tstate);
13359 if (PyErr_Occurred()) SWIG_fail;
13360 }
13361 {
13362 #if wxUSE_UNICODE
13363 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13364 #else
13365 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13366 #endif
13367 }
13368 return resultobj;
13369 fail:
13370 return NULL;
13371 }
13372
13373
13374 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13375 PyObject *resultobj;
13376 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13377 wxString *result;
13378 PyObject * obj0 = 0 ;
13379 char *kwnames[] = {
13380 (char *) "self", NULL
13381 };
13382
13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13386 {
13387 PyThreadState* __tstate = wxPyBeginAllowThreads();
13388 {
13389 wxString const &_result_ref = (arg1)->GetReplaceString();
13390 result = (wxString *) &_result_ref;
13391 }
13392
13393 wxPyEndAllowThreads(__tstate);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 }
13396 {
13397 #if wxUSE_UNICODE
13398 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13399 #else
13400 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13401 #endif
13402 }
13403 return resultobj;
13404 fail:
13405 return NULL;
13406 }
13407
13408
13409 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13410 PyObject *resultobj;
13411 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13412 wxFindReplaceDialog *result;
13413 PyObject * obj0 = 0 ;
13414 char *kwnames[] = {
13415 (char *) "self", NULL
13416 };
13417
13418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13421 {
13422 PyThreadState* __tstate = wxPyBeginAllowThreads();
13423 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13424
13425 wxPyEndAllowThreads(__tstate);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 }
13428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13429 return resultobj;
13430 fail:
13431 return NULL;
13432 }
13433
13434
13435 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13436 PyObject *resultobj;
13437 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13438 int arg2 ;
13439 PyObject * obj0 = 0 ;
13440 PyObject * obj1 = 0 ;
13441 char *kwnames[] = {
13442 (char *) "self",(char *) "flags", NULL
13443 };
13444
13445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13448 arg2 = (int) SWIG_AsInt(obj1);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 {
13451 PyThreadState* __tstate = wxPyBeginAllowThreads();
13452 (arg1)->SetFlags(arg2);
13453
13454 wxPyEndAllowThreads(__tstate);
13455 if (PyErr_Occurred()) SWIG_fail;
13456 }
13457 Py_INCREF(Py_None); resultobj = Py_None;
13458 return resultobj;
13459 fail:
13460 return NULL;
13461 }
13462
13463
13464 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13465 PyObject *resultobj;
13466 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13467 wxString *arg2 = 0 ;
13468 bool temp2 = False ;
13469 PyObject * obj0 = 0 ;
13470 PyObject * obj1 = 0 ;
13471 char *kwnames[] = {
13472 (char *) "self",(char *) "str", NULL
13473 };
13474
13475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13478 {
13479 arg2 = wxString_in_helper(obj1);
13480 if (arg2 == NULL) SWIG_fail;
13481 temp2 = True;
13482 }
13483 {
13484 PyThreadState* __tstate = wxPyBeginAllowThreads();
13485 (arg1)->SetFindString((wxString const &)*arg2);
13486
13487 wxPyEndAllowThreads(__tstate);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 }
13490 Py_INCREF(Py_None); resultobj = Py_None;
13491 {
13492 if (temp2)
13493 delete arg2;
13494 }
13495 return resultobj;
13496 fail:
13497 {
13498 if (temp2)
13499 delete arg2;
13500 }
13501 return NULL;
13502 }
13503
13504
13505 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13506 PyObject *resultobj;
13507 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13508 wxString *arg2 = 0 ;
13509 bool temp2 = False ;
13510 PyObject * obj0 = 0 ;
13511 PyObject * obj1 = 0 ;
13512 char *kwnames[] = {
13513 (char *) "self",(char *) "str", NULL
13514 };
13515
13516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13519 {
13520 arg2 = wxString_in_helper(obj1);
13521 if (arg2 == NULL) SWIG_fail;
13522 temp2 = True;
13523 }
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 (arg1)->SetReplaceString((wxString const &)*arg2);
13527
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 Py_INCREF(Py_None); resultobj = Py_None;
13532 {
13533 if (temp2)
13534 delete arg2;
13535 }
13536 return resultobj;
13537 fail:
13538 {
13539 if (temp2)
13540 delete arg2;
13541 }
13542 return NULL;
13543 }
13544
13545
13546 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
13547 PyObject *obj;
13548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13549 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13550 Py_INCREF(obj);
13551 return Py_BuildValue((char *)"");
13552 }
13553 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
13554 PyObject *resultobj;
13555 int arg1 = (int) 0 ;
13556 wxFindReplaceData *result;
13557 PyObject * obj0 = 0 ;
13558 char *kwnames[] = {
13559 (char *) "flags", NULL
13560 };
13561
13562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13563 if (obj0) {
13564 arg1 = (int) SWIG_AsInt(obj0);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
13567 {
13568 PyThreadState* __tstate = wxPyBeginAllowThreads();
13569 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13570
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13575 return resultobj;
13576 fail:
13577 return NULL;
13578 }
13579
13580
13581 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
13582 PyObject *resultobj;
13583 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13584 PyObject * obj0 = 0 ;
13585 char *kwnames[] = {
13586 (char *) "self", NULL
13587 };
13588
13589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13592 {
13593 PyThreadState* __tstate = wxPyBeginAllowThreads();
13594 delete arg1;
13595
13596 wxPyEndAllowThreads(__tstate);
13597 if (PyErr_Occurred()) SWIG_fail;
13598 }
13599 Py_INCREF(Py_None); resultobj = Py_None;
13600 return resultobj;
13601 fail:
13602 return NULL;
13603 }
13604
13605
13606 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13607 PyObject *resultobj;
13608 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13609 wxString *result;
13610 PyObject * obj0 = 0 ;
13611 char *kwnames[] = {
13612 (char *) "self", NULL
13613 };
13614
13615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13618 {
13619 PyThreadState* __tstate = wxPyBeginAllowThreads();
13620 {
13621 wxString const &_result_ref = (arg1)->GetFindString();
13622 result = (wxString *) &_result_ref;
13623 }
13624
13625 wxPyEndAllowThreads(__tstate);
13626 if (PyErr_Occurred()) SWIG_fail;
13627 }
13628 {
13629 #if wxUSE_UNICODE
13630 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13631 #else
13632 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13633 #endif
13634 }
13635 return resultobj;
13636 fail:
13637 return NULL;
13638 }
13639
13640
13641 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13642 PyObject *resultobj;
13643 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13644 wxString *result;
13645 PyObject * obj0 = 0 ;
13646 char *kwnames[] = {
13647 (char *) "self", NULL
13648 };
13649
13650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13653 {
13654 PyThreadState* __tstate = wxPyBeginAllowThreads();
13655 {
13656 wxString const &_result_ref = (arg1)->GetReplaceString();
13657 result = (wxString *) &_result_ref;
13658 }
13659
13660 wxPyEndAllowThreads(__tstate);
13661 if (PyErr_Occurred()) SWIG_fail;
13662 }
13663 {
13664 #if wxUSE_UNICODE
13665 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13666 #else
13667 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13668 #endif
13669 }
13670 return resultobj;
13671 fail:
13672 return NULL;
13673 }
13674
13675
13676 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13677 PyObject *resultobj;
13678 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13679 int result;
13680 PyObject * obj0 = 0 ;
13681 char *kwnames[] = {
13682 (char *) "self", NULL
13683 };
13684
13685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13688 {
13689 PyThreadState* __tstate = wxPyBeginAllowThreads();
13690 result = (int)(arg1)->GetFlags();
13691
13692 wxPyEndAllowThreads(__tstate);
13693 if (PyErr_Occurred()) SWIG_fail;
13694 }
13695 resultobj = SWIG_FromInt((int)result);
13696 return resultobj;
13697 fail:
13698 return NULL;
13699 }
13700
13701
13702 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13703 PyObject *resultobj;
13704 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13705 int arg2 ;
13706 PyObject * obj0 = 0 ;
13707 PyObject * obj1 = 0 ;
13708 char *kwnames[] = {
13709 (char *) "self",(char *) "flags", NULL
13710 };
13711
13712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13715 arg2 = (int) SWIG_AsInt(obj1);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 {
13718 PyThreadState* __tstate = wxPyBeginAllowThreads();
13719 (arg1)->SetFlags(arg2);
13720
13721 wxPyEndAllowThreads(__tstate);
13722 if (PyErr_Occurred()) SWIG_fail;
13723 }
13724 Py_INCREF(Py_None); resultobj = Py_None;
13725 return resultobj;
13726 fail:
13727 return NULL;
13728 }
13729
13730
13731 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13732 PyObject *resultobj;
13733 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13734 wxString *arg2 = 0 ;
13735 bool temp2 = False ;
13736 PyObject * obj0 = 0 ;
13737 PyObject * obj1 = 0 ;
13738 char *kwnames[] = {
13739 (char *) "self",(char *) "str", NULL
13740 };
13741
13742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13745 {
13746 arg2 = wxString_in_helper(obj1);
13747 if (arg2 == NULL) SWIG_fail;
13748 temp2 = True;
13749 }
13750 {
13751 PyThreadState* __tstate = wxPyBeginAllowThreads();
13752 (arg1)->SetFindString((wxString const &)*arg2);
13753
13754 wxPyEndAllowThreads(__tstate);
13755 if (PyErr_Occurred()) SWIG_fail;
13756 }
13757 Py_INCREF(Py_None); resultobj = Py_None;
13758 {
13759 if (temp2)
13760 delete arg2;
13761 }
13762 return resultobj;
13763 fail:
13764 {
13765 if (temp2)
13766 delete arg2;
13767 }
13768 return NULL;
13769 }
13770
13771
13772 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13773 PyObject *resultobj;
13774 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13775 wxString *arg2 = 0 ;
13776 bool temp2 = False ;
13777 PyObject * obj0 = 0 ;
13778 PyObject * obj1 = 0 ;
13779 char *kwnames[] = {
13780 (char *) "self",(char *) "str", NULL
13781 };
13782
13783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13786 {
13787 arg2 = wxString_in_helper(obj1);
13788 if (arg2 == NULL) SWIG_fail;
13789 temp2 = True;
13790 }
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 (arg1)->SetReplaceString((wxString const &)*arg2);
13794
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 Py_INCREF(Py_None); resultobj = Py_None;
13799 {
13800 if (temp2)
13801 delete arg2;
13802 }
13803 return resultobj;
13804 fail:
13805 {
13806 if (temp2)
13807 delete arg2;
13808 }
13809 return NULL;
13810 }
13811
13812
13813 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
13814 PyObject *obj;
13815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13816 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13817 Py_INCREF(obj);
13818 return Py_BuildValue((char *)"");
13819 }
13820 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13821 PyObject *resultobj;
13822 wxWindow *arg1 = (wxWindow *) 0 ;
13823 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13824 wxString *arg3 = 0 ;
13825 int arg4 = (int) 0 ;
13826 wxFindReplaceDialog *result;
13827 bool temp3 = False ;
13828 PyObject * obj0 = 0 ;
13829 PyObject * obj1 = 0 ;
13830 PyObject * obj2 = 0 ;
13831 PyObject * obj3 = 0 ;
13832 char *kwnames[] = {
13833 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13834 };
13835
13836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13841 {
13842 arg3 = wxString_in_helper(obj2);
13843 if (arg3 == NULL) SWIG_fail;
13844 temp3 = True;
13845 }
13846 if (obj3) {
13847 arg4 = (int) SWIG_AsInt(obj3);
13848 if (PyErr_Occurred()) SWIG_fail;
13849 }
13850 {
13851 PyThreadState* __tstate = wxPyBeginAllowThreads();
13852 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13853
13854 wxPyEndAllowThreads(__tstate);
13855 if (PyErr_Occurred()) SWIG_fail;
13856 }
13857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13858 {
13859 if (temp3)
13860 delete arg3;
13861 }
13862 return resultobj;
13863 fail:
13864 {
13865 if (temp3)
13866 delete arg3;
13867 }
13868 return NULL;
13869 }
13870
13871
13872 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13873 PyObject *resultobj;
13874 wxFindReplaceDialog *result;
13875 char *kwnames[] = {
13876 NULL
13877 };
13878
13879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13883
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
13887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13888 return resultobj;
13889 fail:
13890 return NULL;
13891 }
13892
13893
13894 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13895 PyObject *resultobj;
13896 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13897 wxWindow *arg2 = (wxWindow *) 0 ;
13898 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13899 wxString *arg4 = 0 ;
13900 int arg5 = (int) 0 ;
13901 bool result;
13902 bool temp4 = False ;
13903 PyObject * obj0 = 0 ;
13904 PyObject * obj1 = 0 ;
13905 PyObject * obj2 = 0 ;
13906 PyObject * obj3 = 0 ;
13907 PyObject * obj4 = 0 ;
13908 char *kwnames[] = {
13909 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13910 };
13911
13912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13917 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
13918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13919 {
13920 arg4 = wxString_in_helper(obj3);
13921 if (arg4 == NULL) SWIG_fail;
13922 temp4 = True;
13923 }
13924 if (obj4) {
13925 arg5 = (int) SWIG_AsInt(obj4);
13926 if (PyErr_Occurred()) SWIG_fail;
13927 }
13928 {
13929 PyThreadState* __tstate = wxPyBeginAllowThreads();
13930 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13931
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 {
13936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13937 }
13938 {
13939 if (temp4)
13940 delete arg4;
13941 }
13942 return resultobj;
13943 fail:
13944 {
13945 if (temp4)
13946 delete arg4;
13947 }
13948 return NULL;
13949 }
13950
13951
13952 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
13953 PyObject *resultobj;
13954 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13955 wxFindReplaceData *result;
13956 PyObject * obj0 = 0 ;
13957 char *kwnames[] = {
13958 (char *) "self", NULL
13959 };
13960
13961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13964 {
13965 PyThreadState* __tstate = wxPyBeginAllowThreads();
13966 result = (wxFindReplaceData *)(arg1)->GetData();
13967
13968 wxPyEndAllowThreads(__tstate);
13969 if (PyErr_Occurred()) SWIG_fail;
13970 }
13971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
13972 return resultobj;
13973 fail:
13974 return NULL;
13975 }
13976
13977
13978 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
13979 PyObject *resultobj;
13980 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13981 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13982 PyObject * obj0 = 0 ;
13983 PyObject * obj1 = 0 ;
13984 char *kwnames[] = {
13985 (char *) "self",(char *) "data", NULL
13986 };
13987
13988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13993 {
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
13995 (arg1)->SetData(arg2);
13996
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
14000 Py_INCREF(Py_None); resultobj = Py_None;
14001 return resultobj;
14002 fail:
14003 return NULL;
14004 }
14005
14006
14007 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
14008 PyObject *obj;
14009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14010 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14011 Py_INCREF(obj);
14012 return Py_BuildValue((char *)"");
14013 }
14014 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14015 PyObject *resultobj;
14016 wxWindow *arg1 = (wxWindow *) 0 ;
14017 int arg2 ;
14018 wxString *arg3 = 0 ;
14019 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14020 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14021 wxSize const &arg5_defvalue = wxDefaultSize ;
14022 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14023 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14024 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14025 wxString *arg7 = (wxString *) &arg7_defvalue ;
14026 wxMDIParentFrame *result;
14027 bool temp3 = False ;
14028 wxPoint temp4 ;
14029 wxSize temp5 ;
14030 bool temp7 = False ;
14031 PyObject * obj0 = 0 ;
14032 PyObject * obj1 = 0 ;
14033 PyObject * obj2 = 0 ;
14034 PyObject * obj3 = 0 ;
14035 PyObject * obj4 = 0 ;
14036 PyObject * obj5 = 0 ;
14037 PyObject * obj6 = 0 ;
14038 char *kwnames[] = {
14039 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14040 };
14041
14042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14045 arg2 = (int const) SWIG_AsInt(obj1);
14046 if (PyErr_Occurred()) SWIG_fail;
14047 {
14048 arg3 = wxString_in_helper(obj2);
14049 if (arg3 == NULL) SWIG_fail;
14050 temp3 = True;
14051 }
14052 if (obj3) {
14053 {
14054 arg4 = &temp4;
14055 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14056 }
14057 }
14058 if (obj4) {
14059 {
14060 arg5 = &temp5;
14061 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14062 }
14063 }
14064 if (obj5) {
14065 arg6 = (long) SWIG_AsLong(obj5);
14066 if (PyErr_Occurred()) SWIG_fail;
14067 }
14068 if (obj6) {
14069 {
14070 arg7 = wxString_in_helper(obj6);
14071 if (arg7 == NULL) SWIG_fail;
14072 temp7 = True;
14073 }
14074 }
14075 {
14076 PyThreadState* __tstate = wxPyBeginAllowThreads();
14077 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14078
14079 wxPyEndAllowThreads(__tstate);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14083 {
14084 if (temp3)
14085 delete arg3;
14086 }
14087 {
14088 if (temp7)
14089 delete arg7;
14090 }
14091 return resultobj;
14092 fail:
14093 {
14094 if (temp3)
14095 delete arg3;
14096 }
14097 {
14098 if (temp7)
14099 delete arg7;
14100 }
14101 return NULL;
14102 }
14103
14104
14105 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14106 PyObject *resultobj;
14107 wxMDIParentFrame *result;
14108 char *kwnames[] = {
14109 NULL
14110 };
14111
14112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14113 {
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14116
14117 wxPyEndAllowThreads(__tstate);
14118 if (PyErr_Occurred()) SWIG_fail;
14119 }
14120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14121 return resultobj;
14122 fail:
14123 return NULL;
14124 }
14125
14126
14127 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14128 PyObject *resultobj;
14129 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14130 wxWindow *arg2 = (wxWindow *) 0 ;
14131 int arg3 ;
14132 wxString *arg4 = 0 ;
14133 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14134 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14135 wxSize const &arg6_defvalue = wxDefaultSize ;
14136 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14137 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14138 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14139 wxString *arg8 = (wxString *) &arg8_defvalue ;
14140 bool result;
14141 bool temp4 = False ;
14142 wxPoint temp5 ;
14143 wxSize temp6 ;
14144 bool temp8 = False ;
14145 PyObject * obj0 = 0 ;
14146 PyObject * obj1 = 0 ;
14147 PyObject * obj2 = 0 ;
14148 PyObject * obj3 = 0 ;
14149 PyObject * obj4 = 0 ;
14150 PyObject * obj5 = 0 ;
14151 PyObject * obj6 = 0 ;
14152 PyObject * obj7 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14155 };
14156
14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14162 arg3 = (int const) SWIG_AsInt(obj2);
14163 if (PyErr_Occurred()) SWIG_fail;
14164 {
14165 arg4 = wxString_in_helper(obj3);
14166 if (arg4 == NULL) SWIG_fail;
14167 temp4 = True;
14168 }
14169 if (obj4) {
14170 {
14171 arg5 = &temp5;
14172 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14173 }
14174 }
14175 if (obj5) {
14176 {
14177 arg6 = &temp6;
14178 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14179 }
14180 }
14181 if (obj6) {
14182 arg7 = (long) SWIG_AsLong(obj6);
14183 if (PyErr_Occurred()) SWIG_fail;
14184 }
14185 if (obj7) {
14186 {
14187 arg8 = wxString_in_helper(obj7);
14188 if (arg8 == NULL) SWIG_fail;
14189 temp8 = True;
14190 }
14191 }
14192 {
14193 PyThreadState* __tstate = wxPyBeginAllowThreads();
14194 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14195
14196 wxPyEndAllowThreads(__tstate);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 }
14199 {
14200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14201 }
14202 {
14203 if (temp4)
14204 delete arg4;
14205 }
14206 {
14207 if (temp8)
14208 delete arg8;
14209 }
14210 return resultobj;
14211 fail:
14212 {
14213 if (temp4)
14214 delete arg4;
14215 }
14216 {
14217 if (temp8)
14218 delete arg8;
14219 }
14220 return NULL;
14221 }
14222
14223
14224 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
14225 PyObject *resultobj;
14226 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14227 PyObject * obj0 = 0 ;
14228 char *kwnames[] = {
14229 (char *) "self", NULL
14230 };
14231
14232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14235 {
14236 PyThreadState* __tstate = wxPyBeginAllowThreads();
14237 (arg1)->ActivateNext();
14238
14239 wxPyEndAllowThreads(__tstate);
14240 if (PyErr_Occurred()) SWIG_fail;
14241 }
14242 Py_INCREF(Py_None); resultobj = Py_None;
14243 return resultobj;
14244 fail:
14245 return NULL;
14246 }
14247
14248
14249 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
14250 PyObject *resultobj;
14251 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14252 PyObject * obj0 = 0 ;
14253 char *kwnames[] = {
14254 (char *) "self", NULL
14255 };
14256
14257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14260 {
14261 PyThreadState* __tstate = wxPyBeginAllowThreads();
14262 (arg1)->ActivatePrevious();
14263
14264 wxPyEndAllowThreads(__tstate);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 Py_INCREF(Py_None); resultobj = Py_None;
14268 return resultobj;
14269 fail:
14270 return NULL;
14271 }
14272
14273
14274 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
14275 PyObject *resultobj;
14276 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14277 PyObject * obj0 = 0 ;
14278 char *kwnames[] = {
14279 (char *) "self", NULL
14280 };
14281
14282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14285 {
14286 PyThreadState* __tstate = wxPyBeginAllowThreads();
14287 (arg1)->ArrangeIcons();
14288
14289 wxPyEndAllowThreads(__tstate);
14290 if (PyErr_Occurred()) SWIG_fail;
14291 }
14292 Py_INCREF(Py_None); resultobj = Py_None;
14293 return resultobj;
14294 fail:
14295 return NULL;
14296 }
14297
14298
14299 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
14300 PyObject *resultobj;
14301 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14302 PyObject * obj0 = 0 ;
14303 char *kwnames[] = {
14304 (char *) "self", NULL
14305 };
14306
14307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14310 {
14311 PyThreadState* __tstate = wxPyBeginAllowThreads();
14312 (arg1)->Cascade();
14313
14314 wxPyEndAllowThreads(__tstate);
14315 if (PyErr_Occurred()) SWIG_fail;
14316 }
14317 Py_INCREF(Py_None); resultobj = Py_None;
14318 return resultobj;
14319 fail:
14320 return NULL;
14321 }
14322
14323
14324 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
14325 PyObject *resultobj;
14326 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14327 wxMDIChildFrame *result;
14328 PyObject * obj0 = 0 ;
14329 char *kwnames[] = {
14330 (char *) "self", NULL
14331 };
14332
14333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14336 {
14337 PyThreadState* __tstate = wxPyBeginAllowThreads();
14338 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14339
14340 wxPyEndAllowThreads(__tstate);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 {
14344 resultobj = wxPyMake_wxObject(result);
14345 }
14346 return resultobj;
14347 fail:
14348 return NULL;
14349 }
14350
14351
14352 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14353 PyObject *resultobj;
14354 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14355 wxMDIClientWindow *result;
14356 PyObject * obj0 = 0 ;
14357 char *kwnames[] = {
14358 (char *) "self", NULL
14359 };
14360
14361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14364 {
14365 PyThreadState* __tstate = wxPyBeginAllowThreads();
14366 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14367
14368 wxPyEndAllowThreads(__tstate);
14369 if (PyErr_Occurred()) SWIG_fail;
14370 }
14371 {
14372 resultobj = wxPyMake_wxObject(result);
14373 }
14374 return resultobj;
14375 fail:
14376 return NULL;
14377 }
14378
14379
14380 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
14381 PyObject *resultobj;
14382 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14383 wxWindow *result;
14384 PyObject * obj0 = 0 ;
14385 char *kwnames[] = {
14386 (char *) "self", NULL
14387 };
14388
14389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = (wxWindow *)(arg1)->GetToolBar();
14395
14396 wxPyEndAllowThreads(__tstate);
14397 if (PyErr_Occurred()) SWIG_fail;
14398 }
14399 {
14400 resultobj = wxPyMake_wxObject(result);
14401 }
14402 return resultobj;
14403 fail:
14404 return NULL;
14405 }
14406
14407
14408 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
14409 PyObject *resultobj;
14410 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14411 PyObject * obj0 = 0 ;
14412 char *kwnames[] = {
14413 (char *) "self", NULL
14414 };
14415
14416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14419 {
14420 PyThreadState* __tstate = wxPyBeginAllowThreads();
14421 (arg1)->Tile();
14422
14423 wxPyEndAllowThreads(__tstate);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
14426 Py_INCREF(Py_None); resultobj = Py_None;
14427 return resultobj;
14428 fail:
14429 return NULL;
14430 }
14431
14432
14433 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
14434 PyObject *obj;
14435 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14436 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14437 Py_INCREF(obj);
14438 return Py_BuildValue((char *)"");
14439 }
14440 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj;
14442 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14443 int arg2 ;
14444 wxString *arg3 = 0 ;
14445 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14446 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14447 wxSize const &arg5_defvalue = wxDefaultSize ;
14448 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14449 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14450 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14451 wxString *arg7 = (wxString *) &arg7_defvalue ;
14452 wxMDIChildFrame *result;
14453 bool temp3 = False ;
14454 wxPoint temp4 ;
14455 wxSize temp5 ;
14456 bool temp7 = False ;
14457 PyObject * obj0 = 0 ;
14458 PyObject * obj1 = 0 ;
14459 PyObject * obj2 = 0 ;
14460 PyObject * obj3 = 0 ;
14461 PyObject * obj4 = 0 ;
14462 PyObject * obj5 = 0 ;
14463 PyObject * obj6 = 0 ;
14464 char *kwnames[] = {
14465 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14466 };
14467
14468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14471 arg2 = (int const) SWIG_AsInt(obj1);
14472 if (PyErr_Occurred()) SWIG_fail;
14473 {
14474 arg3 = wxString_in_helper(obj2);
14475 if (arg3 == NULL) SWIG_fail;
14476 temp3 = True;
14477 }
14478 if (obj3) {
14479 {
14480 arg4 = &temp4;
14481 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14482 }
14483 }
14484 if (obj4) {
14485 {
14486 arg5 = &temp5;
14487 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14488 }
14489 }
14490 if (obj5) {
14491 arg6 = (long) SWIG_AsLong(obj5);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 if (obj6) {
14495 {
14496 arg7 = wxString_in_helper(obj6);
14497 if (arg7 == NULL) SWIG_fail;
14498 temp7 = True;
14499 }
14500 }
14501 {
14502 PyThreadState* __tstate = wxPyBeginAllowThreads();
14503 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14504
14505 wxPyEndAllowThreads(__tstate);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 {
14509 resultobj = wxPyMake_wxObject(result);
14510 }
14511 {
14512 if (temp3)
14513 delete arg3;
14514 }
14515 {
14516 if (temp7)
14517 delete arg7;
14518 }
14519 return resultobj;
14520 fail:
14521 {
14522 if (temp3)
14523 delete arg3;
14524 }
14525 {
14526 if (temp7)
14527 delete arg7;
14528 }
14529 return NULL;
14530 }
14531
14532
14533 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14534 PyObject *resultobj;
14535 wxMDIChildFrame *result;
14536 char *kwnames[] = {
14537 NULL
14538 };
14539
14540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14541 {
14542 PyThreadState* __tstate = wxPyBeginAllowThreads();
14543 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14544
14545 wxPyEndAllowThreads(__tstate);
14546 if (PyErr_Occurred()) SWIG_fail;
14547 }
14548 {
14549 resultobj = wxPyMake_wxObject(result);
14550 }
14551 return resultobj;
14552 fail:
14553 return NULL;
14554 }
14555
14556
14557 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14558 PyObject *resultobj;
14559 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14560 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14561 int arg3 ;
14562 wxString *arg4 = 0 ;
14563 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14564 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14565 wxSize const &arg6_defvalue = wxDefaultSize ;
14566 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14567 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14568 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14569 wxString *arg8 = (wxString *) &arg8_defvalue ;
14570 bool result;
14571 bool temp4 = False ;
14572 wxPoint temp5 ;
14573 wxSize temp6 ;
14574 bool temp8 = False ;
14575 PyObject * obj0 = 0 ;
14576 PyObject * obj1 = 0 ;
14577 PyObject * obj2 = 0 ;
14578 PyObject * obj3 = 0 ;
14579 PyObject * obj4 = 0 ;
14580 PyObject * obj5 = 0 ;
14581 PyObject * obj6 = 0 ;
14582 PyObject * obj7 = 0 ;
14583 char *kwnames[] = {
14584 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14585 };
14586
14587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14592 arg3 = (int const) SWIG_AsInt(obj2);
14593 if (PyErr_Occurred()) SWIG_fail;
14594 {
14595 arg4 = wxString_in_helper(obj3);
14596 if (arg4 == NULL) SWIG_fail;
14597 temp4 = True;
14598 }
14599 if (obj4) {
14600 {
14601 arg5 = &temp5;
14602 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14603 }
14604 }
14605 if (obj5) {
14606 {
14607 arg6 = &temp6;
14608 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14609 }
14610 }
14611 if (obj6) {
14612 arg7 = (long) SWIG_AsLong(obj6);
14613 if (PyErr_Occurred()) SWIG_fail;
14614 }
14615 if (obj7) {
14616 {
14617 arg8 = wxString_in_helper(obj7);
14618 if (arg8 == NULL) SWIG_fail;
14619 temp8 = True;
14620 }
14621 }
14622 {
14623 PyThreadState* __tstate = wxPyBeginAllowThreads();
14624 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14625
14626 wxPyEndAllowThreads(__tstate);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
14629 {
14630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14631 }
14632 {
14633 if (temp4)
14634 delete arg4;
14635 }
14636 {
14637 if (temp8)
14638 delete arg8;
14639 }
14640 return resultobj;
14641 fail:
14642 {
14643 if (temp4)
14644 delete arg4;
14645 }
14646 {
14647 if (temp8)
14648 delete arg8;
14649 }
14650 return NULL;
14651 }
14652
14653
14654 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
14655 PyObject *resultobj;
14656 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14657 PyObject * obj0 = 0 ;
14658 char *kwnames[] = {
14659 (char *) "self", NULL
14660 };
14661
14662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14665 {
14666 PyThreadState* __tstate = wxPyBeginAllowThreads();
14667 (arg1)->Activate();
14668
14669 wxPyEndAllowThreads(__tstate);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 }
14672 Py_INCREF(Py_None); resultobj = Py_None;
14673 return resultobj;
14674 fail:
14675 return NULL;
14676 }
14677
14678
14679 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
14680 PyObject *resultobj;
14681 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14682 bool arg2 ;
14683 PyObject * obj0 = 0 ;
14684 PyObject * obj1 = 0 ;
14685 char *kwnames[] = {
14686 (char *) "self",(char *) "maximize", NULL
14687 };
14688
14689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14692 arg2 = (bool) SWIG_AsBool(obj1);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 {
14695 PyThreadState* __tstate = wxPyBeginAllowThreads();
14696 (arg1)->Maximize(arg2);
14697
14698 wxPyEndAllowThreads(__tstate);
14699 if (PyErr_Occurred()) SWIG_fail;
14700 }
14701 Py_INCREF(Py_None); resultobj = Py_None;
14702 return resultobj;
14703 fail:
14704 return NULL;
14705 }
14706
14707
14708 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
14709 PyObject *resultobj;
14710 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14711 PyObject * obj0 = 0 ;
14712 char *kwnames[] = {
14713 (char *) "self", NULL
14714 };
14715
14716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14719 {
14720 PyThreadState* __tstate = wxPyBeginAllowThreads();
14721 (arg1)->Restore();
14722
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 Py_INCREF(Py_None); resultobj = Py_None;
14727 return resultobj;
14728 fail:
14729 return NULL;
14730 }
14731
14732
14733 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
14734 PyObject *obj;
14735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14736 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14737 Py_INCREF(obj);
14738 return Py_BuildValue((char *)"");
14739 }
14740 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14741 PyObject *resultobj;
14742 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14743 long arg2 = (long) 0 ;
14744 wxMDIClientWindow *result;
14745 PyObject * obj0 = 0 ;
14746 PyObject * obj1 = 0 ;
14747 char *kwnames[] = {
14748 (char *) "parent",(char *) "style", NULL
14749 };
14750
14751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14754 if (obj1) {
14755 arg2 = (long) SWIG_AsLong(obj1);
14756 if (PyErr_Occurred()) SWIG_fail;
14757 }
14758 {
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14761
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 {
14766 resultobj = wxPyMake_wxObject(result);
14767 }
14768 return resultobj;
14769 fail:
14770 return NULL;
14771 }
14772
14773
14774 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14775 PyObject *resultobj;
14776 wxMDIClientWindow *result;
14777 char *kwnames[] = {
14778 NULL
14779 };
14780
14781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14782 {
14783 PyThreadState* __tstate = wxPyBeginAllowThreads();
14784 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14785
14786 wxPyEndAllowThreads(__tstate);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 }
14789 {
14790 resultobj = wxPyMake_wxObject(result);
14791 }
14792 return resultobj;
14793 fail:
14794 return NULL;
14795 }
14796
14797
14798 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14799 PyObject *resultobj;
14800 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14801 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14802 long arg3 = (long) 0 ;
14803 bool result;
14804 PyObject * obj0 = 0 ;
14805 PyObject * obj1 = 0 ;
14806 PyObject * obj2 = 0 ;
14807 char *kwnames[] = {
14808 (char *) "self",(char *) "parent",(char *) "style", NULL
14809 };
14810
14811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
14813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14816 if (obj2) {
14817 arg3 = (long) SWIG_AsLong(obj2);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 }
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (bool)(arg1)->Create(arg2,arg3);
14823
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 {
14828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14829 }
14830 return resultobj;
14831 fail:
14832 return NULL;
14833 }
14834
14835
14836 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
14837 PyObject *obj;
14838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14839 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14840 Py_INCREF(obj);
14841 return Py_BuildValue((char *)"");
14842 }
14843 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14844 PyObject *resultobj;
14845 wxWindow *arg1 = (wxWindow *) 0 ;
14846 int arg2 ;
14847 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14848 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14849 wxSize const &arg4_defvalue = wxDefaultSize ;
14850 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14851 long arg5 = (long) 0 ;
14852 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14853 wxString *arg6 = (wxString *) &arg6_defvalue ;
14854 wxPyWindow *result;
14855 wxPoint temp3 ;
14856 wxSize temp4 ;
14857 bool temp6 = False ;
14858 PyObject * obj0 = 0 ;
14859 PyObject * obj1 = 0 ;
14860 PyObject * obj2 = 0 ;
14861 PyObject * obj3 = 0 ;
14862 PyObject * obj4 = 0 ;
14863 PyObject * obj5 = 0 ;
14864 char *kwnames[] = {
14865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14866 };
14867
14868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14871 arg2 = (int const) SWIG_AsInt(obj1);
14872 if (PyErr_Occurred()) SWIG_fail;
14873 if (obj2) {
14874 {
14875 arg3 = &temp3;
14876 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14877 }
14878 }
14879 if (obj3) {
14880 {
14881 arg4 = &temp4;
14882 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14883 }
14884 }
14885 if (obj4) {
14886 arg5 = (long) SWIG_AsLong(obj4);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 if (obj5) {
14890 {
14891 arg6 = wxString_in_helper(obj5);
14892 if (arg6 == NULL) SWIG_fail;
14893 temp6 = True;
14894 }
14895 }
14896 {
14897 PyThreadState* __tstate = wxPyBeginAllowThreads();
14898 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14899
14900 wxPyEndAllowThreads(__tstate);
14901 if (PyErr_Occurred()) SWIG_fail;
14902 }
14903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14904 {
14905 if (temp6)
14906 delete arg6;
14907 }
14908 return resultobj;
14909 fail:
14910 {
14911 if (temp6)
14912 delete arg6;
14913 }
14914 return NULL;
14915 }
14916
14917
14918 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14919 PyObject *resultobj;
14920 wxPyWindow *result;
14921 char *kwnames[] = {
14922 NULL
14923 };
14924
14925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
14926 {
14927 PyThreadState* __tstate = wxPyBeginAllowThreads();
14928 result = (wxPyWindow *)new wxPyWindow();
14929
14930 wxPyEndAllowThreads(__tstate);
14931 if (PyErr_Occurred()) SWIG_fail;
14932 }
14933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14934 return resultobj;
14935 fail:
14936 return NULL;
14937 }
14938
14939
14940 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
14941 PyObject *resultobj;
14942 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14943 PyObject *arg2 = (PyObject *) 0 ;
14944 PyObject *arg3 = (PyObject *) 0 ;
14945 PyObject * obj0 = 0 ;
14946 PyObject * obj1 = 0 ;
14947 PyObject * obj2 = 0 ;
14948 char *kwnames[] = {
14949 (char *) "self",(char *) "self",(char *) "_class", NULL
14950 };
14951
14952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14955 arg2 = obj1;
14956 arg3 = obj2;
14957 {
14958 PyThreadState* __tstate = wxPyBeginAllowThreads();
14959 (arg1)->_setCallbackInfo(arg2,arg3);
14960
14961 wxPyEndAllowThreads(__tstate);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 Py_INCREF(Py_None); resultobj = Py_None;
14965 return resultobj;
14966 fail:
14967 return NULL;
14968 }
14969
14970
14971 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14972 PyObject *resultobj;
14973 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14974 int arg2 ;
14975 int arg3 ;
14976 int arg4 ;
14977 int arg5 ;
14978 PyObject * obj0 = 0 ;
14979 PyObject * obj1 = 0 ;
14980 PyObject * obj2 = 0 ;
14981 PyObject * obj3 = 0 ;
14982 PyObject * obj4 = 0 ;
14983 char *kwnames[] = {
14984 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14985 };
14986
14987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14990 arg2 = (int) SWIG_AsInt(obj1);
14991 if (PyErr_Occurred()) SWIG_fail;
14992 arg3 = (int) SWIG_AsInt(obj2);
14993 if (PyErr_Occurred()) SWIG_fail;
14994 arg4 = (int) SWIG_AsInt(obj3);
14995 if (PyErr_Occurred()) SWIG_fail;
14996 arg5 = (int) SWIG_AsInt(obj4);
14997 if (PyErr_Occurred()) SWIG_fail;
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15001
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 Py_INCREF(Py_None); resultobj = Py_None;
15006 return resultobj;
15007 fail:
15008 return NULL;
15009 }
15010
15011
15012 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15013 PyObject *resultobj;
15014 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15015 int arg2 ;
15016 int arg3 ;
15017 int arg4 ;
15018 int arg5 ;
15019 int arg6 = (int) wxSIZE_AUTO ;
15020 PyObject * obj0 = 0 ;
15021 PyObject * obj1 = 0 ;
15022 PyObject * obj2 = 0 ;
15023 PyObject * obj3 = 0 ;
15024 PyObject * obj4 = 0 ;
15025 PyObject * obj5 = 0 ;
15026 char *kwnames[] = {
15027 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15028 };
15029
15030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15033 arg2 = (int) SWIG_AsInt(obj1);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 arg3 = (int) SWIG_AsInt(obj2);
15036 if (PyErr_Occurred()) SWIG_fail;
15037 arg4 = (int) SWIG_AsInt(obj3);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 arg5 = (int) SWIG_AsInt(obj4);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 if (obj5) {
15042 arg6 = (int) SWIG_AsInt(obj5);
15043 if (PyErr_Occurred()) SWIG_fail;
15044 }
15045 {
15046 PyThreadState* __tstate = wxPyBeginAllowThreads();
15047 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15048
15049 wxPyEndAllowThreads(__tstate);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
15052 Py_INCREF(Py_None); resultobj = Py_None;
15053 return resultobj;
15054 fail:
15055 return NULL;
15056 }
15057
15058
15059 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15060 PyObject *resultobj;
15061 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15062 int arg2 ;
15063 int arg3 ;
15064 PyObject * obj0 = 0 ;
15065 PyObject * obj1 = 0 ;
15066 PyObject * obj2 = 0 ;
15067 char *kwnames[] = {
15068 (char *) "self",(char *) "width",(char *) "height", NULL
15069 };
15070
15071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15074 arg2 = (int) SWIG_AsInt(obj1);
15075 if (PyErr_Occurred()) SWIG_fail;
15076 arg3 = (int) SWIG_AsInt(obj2);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 (arg1)->base_DoSetClientSize(arg2,arg3);
15081
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 Py_INCREF(Py_None); resultobj = Py_None;
15086 return resultobj;
15087 fail:
15088 return NULL;
15089 }
15090
15091
15092 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj;
15094 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15095 int arg2 ;
15096 int arg3 ;
15097 PyObject * obj0 = 0 ;
15098 PyObject * obj1 = 0 ;
15099 PyObject * obj2 = 0 ;
15100 char *kwnames[] = {
15101 (char *) "self",(char *) "x",(char *) "y", NULL
15102 };
15103
15104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15107 arg2 = (int) SWIG_AsInt(obj1);
15108 if (PyErr_Occurred()) SWIG_fail;
15109 arg3 = (int) SWIG_AsInt(obj2);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 {
15112 PyThreadState* __tstate = wxPyBeginAllowThreads();
15113 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15114
15115 wxPyEndAllowThreads(__tstate);
15116 if (PyErr_Occurred()) SWIG_fail;
15117 }
15118 Py_INCREF(Py_None); resultobj = Py_None;
15119 return resultobj;
15120 fail:
15121 return NULL;
15122 }
15123
15124
15125 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15126 PyObject *resultobj;
15127 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15128 int *arg2 = (int *) 0 ;
15129 int *arg3 = (int *) 0 ;
15130 int temp2 ;
15131 int temp3 ;
15132 PyObject * obj0 = 0 ;
15133 char *kwnames[] = {
15134 (char *) "self", NULL
15135 };
15136
15137 arg2 = &temp2;
15138 arg3 = &temp3;
15139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15142 {
15143 PyThreadState* __tstate = wxPyBeginAllowThreads();
15144 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15145
15146 wxPyEndAllowThreads(__tstate);
15147 if (PyErr_Occurred()) SWIG_fail;
15148 }
15149 Py_INCREF(Py_None); resultobj = Py_None;
15150 {
15151 PyObject *o = PyInt_FromLong((long) (*arg2));
15152 resultobj = t_output_helper(resultobj,o);
15153 }
15154 {
15155 PyObject *o = PyInt_FromLong((long) (*arg3));
15156 resultobj = t_output_helper(resultobj,o);
15157 }
15158 return resultobj;
15159 fail:
15160 return NULL;
15161 }
15162
15163
15164 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15165 PyObject *resultobj;
15166 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15167 int *arg2 = (int *) 0 ;
15168 int *arg3 = (int *) 0 ;
15169 int temp2 ;
15170 int temp3 ;
15171 PyObject * obj0 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "self", NULL
15174 };
15175
15176 arg2 = &temp2;
15177 arg3 = &temp3;
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15181 {
15182 PyThreadState* __tstate = wxPyBeginAllowThreads();
15183 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15184
15185 wxPyEndAllowThreads(__tstate);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 Py_INCREF(Py_None); resultobj = Py_None;
15189 {
15190 PyObject *o = PyInt_FromLong((long) (*arg2));
15191 resultobj = t_output_helper(resultobj,o);
15192 }
15193 {
15194 PyObject *o = PyInt_FromLong((long) (*arg3));
15195 resultobj = t_output_helper(resultobj,o);
15196 }
15197 return resultobj;
15198 fail:
15199 return NULL;
15200 }
15201
15202
15203 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15204 PyObject *resultobj;
15205 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15206 int *arg2 = (int *) 0 ;
15207 int *arg3 = (int *) 0 ;
15208 int temp2 ;
15209 int temp3 ;
15210 PyObject * obj0 = 0 ;
15211 char *kwnames[] = {
15212 (char *) "self", NULL
15213 };
15214
15215 arg2 = &temp2;
15216 arg3 = &temp3;
15217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15220 {
15221 PyThreadState* __tstate = wxPyBeginAllowThreads();
15222 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15223
15224 wxPyEndAllowThreads(__tstate);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 Py_INCREF(Py_None); resultobj = Py_None;
15228 {
15229 PyObject *o = PyInt_FromLong((long) (*arg2));
15230 resultobj = t_output_helper(resultobj,o);
15231 }
15232 {
15233 PyObject *o = PyInt_FromLong((long) (*arg3));
15234 resultobj = t_output_helper(resultobj,o);
15235 }
15236 return resultobj;
15237 fail:
15238 return NULL;
15239 }
15240
15241
15242 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj;
15244 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15245 wxSize result;
15246 PyObject * obj0 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "self", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 {
15262 wxSize * resultptr;
15263 resultptr = new wxSize((wxSize &) result);
15264 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15265 }
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15275 wxSize result;
15276 PyObject * obj0 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "self", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15287
15288 wxPyEndAllowThreads(__tstate);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
15291 {
15292 wxSize * resultptr;
15293 resultptr = new wxSize((wxSize &) result);
15294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15295 }
15296 return resultobj;
15297 fail:
15298 return NULL;
15299 }
15300
15301
15302 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15303 PyObject *resultobj;
15304 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15305 PyObject * obj0 = 0 ;
15306 char *kwnames[] = {
15307 (char *) "self", NULL
15308 };
15309
15310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15313 {
15314 PyThreadState* __tstate = wxPyBeginAllowThreads();
15315 (arg1)->base_InitDialog();
15316
15317 wxPyEndAllowThreads(__tstate);
15318 if (PyErr_Occurred()) SWIG_fail;
15319 }
15320 Py_INCREF(Py_None); resultobj = Py_None;
15321 return resultobj;
15322 fail:
15323 return NULL;
15324 }
15325
15326
15327 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15328 PyObject *resultobj;
15329 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15330 bool result;
15331 PyObject * obj0 = 0 ;
15332 char *kwnames[] = {
15333 (char *) "self", NULL
15334 };
15335
15336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15339 {
15340 PyThreadState* __tstate = wxPyBeginAllowThreads();
15341 result = (bool)(arg1)->base_TransferDataToWindow();
15342
15343 wxPyEndAllowThreads(__tstate);
15344 if (PyErr_Occurred()) SWIG_fail;
15345 }
15346 {
15347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15348 }
15349 return resultobj;
15350 fail:
15351 return NULL;
15352 }
15353
15354
15355 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15356 PyObject *resultobj;
15357 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15358 bool result;
15359 PyObject * obj0 = 0 ;
15360 char *kwnames[] = {
15361 (char *) "self", NULL
15362 };
15363
15364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15367 {
15368 PyThreadState* __tstate = wxPyBeginAllowThreads();
15369 result = (bool)(arg1)->base_TransferDataFromWindow();
15370
15371 wxPyEndAllowThreads(__tstate);
15372 if (PyErr_Occurred()) SWIG_fail;
15373 }
15374 {
15375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15376 }
15377 return resultobj;
15378 fail:
15379 return NULL;
15380 }
15381
15382
15383 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
15384 PyObject *resultobj;
15385 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15386 bool result;
15387 PyObject * obj0 = 0 ;
15388 char *kwnames[] = {
15389 (char *) "self", NULL
15390 };
15391
15392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 result = (bool)(arg1)->base_Validate();
15398
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 {
15403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15404 }
15405 return resultobj;
15406 fail:
15407 return NULL;
15408 }
15409
15410
15411 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
15412 PyObject *resultobj;
15413 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15414 bool result;
15415 PyObject * obj0 = 0 ;
15416 char *kwnames[] = {
15417 (char *) "self", NULL
15418 };
15419
15420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15423 {
15424 PyThreadState* __tstate = wxPyBeginAllowThreads();
15425 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15426
15427 wxPyEndAllowThreads(__tstate);
15428 if (PyErr_Occurred()) SWIG_fail;
15429 }
15430 {
15431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15432 }
15433 return resultobj;
15434 fail:
15435 return NULL;
15436 }
15437
15438
15439 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
15440 PyObject *resultobj;
15441 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15442 bool result;
15443 PyObject * obj0 = 0 ;
15444 char *kwnames[] = {
15445 (char *) "self", NULL
15446 };
15447
15448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15451 {
15452 PyThreadState* __tstate = wxPyBeginAllowThreads();
15453 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15454
15455 wxPyEndAllowThreads(__tstate);
15456 if (PyErr_Occurred()) SWIG_fail;
15457 }
15458 {
15459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15460 }
15461 return resultobj;
15462 fail:
15463 return NULL;
15464 }
15465
15466
15467 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
15468 PyObject *resultobj;
15469 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15470 wxSize result;
15471 PyObject * obj0 = 0 ;
15472 char *kwnames[] = {
15473 (char *) "self", NULL
15474 };
15475
15476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15479 {
15480 PyThreadState* __tstate = wxPyBeginAllowThreads();
15481 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15482
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 {
15487 wxSize * resultptr;
15488 resultptr = new wxSize((wxSize &) result);
15489 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15490 }
15491 return resultobj;
15492 fail:
15493 return NULL;
15494 }
15495
15496
15497 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
15498 PyObject *resultobj;
15499 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15500 wxWindow *arg2 = (wxWindow *) 0 ;
15501 PyObject * obj0 = 0 ;
15502 PyObject * obj1 = 0 ;
15503 char *kwnames[] = {
15504 (char *) "self",(char *) "child", NULL
15505 };
15506
15507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 (arg1)->base_AddChild(arg2);
15515
15516 wxPyEndAllowThreads(__tstate);
15517 if (PyErr_Occurred()) SWIG_fail;
15518 }
15519 Py_INCREF(Py_None); resultobj = Py_None;
15520 return resultobj;
15521 fail:
15522 return NULL;
15523 }
15524
15525
15526 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15527 PyObject *resultobj;
15528 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15529 wxWindow *arg2 = (wxWindow *) 0 ;
15530 PyObject * obj0 = 0 ;
15531 PyObject * obj1 = 0 ;
15532 char *kwnames[] = {
15533 (char *) "self",(char *) "child", NULL
15534 };
15535
15536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15539 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15541 {
15542 PyThreadState* __tstate = wxPyBeginAllowThreads();
15543 (arg1)->base_RemoveChild(arg2);
15544
15545 wxPyEndAllowThreads(__tstate);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 }
15548 Py_INCREF(Py_None); resultobj = Py_None;
15549 return resultobj;
15550 fail:
15551 return NULL;
15552 }
15553
15554
15555 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
15556 PyObject *resultobj;
15557 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15558 bool result;
15559 PyObject * obj0 = 0 ;
15560 char *kwnames[] = {
15561 (char *) "self", NULL
15562 };
15563
15564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15567 {
15568 PyThreadState* __tstate = wxPyBeginAllowThreads();
15569 result = (bool)(arg1)->base_ShouldInheritColours();
15570
15571 wxPyEndAllowThreads(__tstate);
15572 if (PyErr_Occurred()) SWIG_fail;
15573 }
15574 {
15575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15576 }
15577 return resultobj;
15578 fail:
15579 return NULL;
15580 }
15581
15582
15583 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
15584 PyObject *resultobj;
15585 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15586 wxColour *arg2 = 0 ;
15587 wxColour temp2 ;
15588 PyObject * obj0 = 0 ;
15589 PyObject * obj1 = 0 ;
15590 char *kwnames[] = {
15591 (char *) "self",(char *) "c", NULL
15592 };
15593
15594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15597 {
15598 arg2 = &temp2;
15599 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15600 }
15601 {
15602 PyThreadState* __tstate = wxPyBeginAllowThreads();
15603 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15604
15605 wxPyEndAllowThreads(__tstate);
15606 if (PyErr_Occurred()) SWIG_fail;
15607 }
15608 Py_INCREF(Py_None); resultobj = Py_None;
15609 return resultobj;
15610 fail:
15611 return NULL;
15612 }
15613
15614
15615 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
15616 PyObject *obj;
15617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15618 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15619 Py_INCREF(obj);
15620 return Py_BuildValue((char *)"");
15621 }
15622 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
15623 PyObject *resultobj;
15624 wxWindow *arg1 = (wxWindow *) 0 ;
15625 int arg2 ;
15626 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15627 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15628 wxSize const &arg4_defvalue = wxDefaultSize ;
15629 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15630 long arg5 = (long) 0 ;
15631 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15632 wxString *arg6 = (wxString *) &arg6_defvalue ;
15633 wxPyPanel *result;
15634 wxPoint temp3 ;
15635 wxSize temp4 ;
15636 bool temp6 = False ;
15637 PyObject * obj0 = 0 ;
15638 PyObject * obj1 = 0 ;
15639 PyObject * obj2 = 0 ;
15640 PyObject * obj3 = 0 ;
15641 PyObject * obj4 = 0 ;
15642 PyObject * obj5 = 0 ;
15643 char *kwnames[] = {
15644 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15645 };
15646
15647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15650 arg2 = (int const) SWIG_AsInt(obj1);
15651 if (PyErr_Occurred()) SWIG_fail;
15652 if (obj2) {
15653 {
15654 arg3 = &temp3;
15655 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15656 }
15657 }
15658 if (obj3) {
15659 {
15660 arg4 = &temp4;
15661 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15662 }
15663 }
15664 if (obj4) {
15665 arg5 = (long) SWIG_AsLong(obj4);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 if (obj5) {
15669 {
15670 arg6 = wxString_in_helper(obj5);
15671 if (arg6 == NULL) SWIG_fail;
15672 temp6 = True;
15673 }
15674 }
15675 {
15676 PyThreadState* __tstate = wxPyBeginAllowThreads();
15677 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15678
15679 wxPyEndAllowThreads(__tstate);
15680 if (PyErr_Occurred()) SWIG_fail;
15681 }
15682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15683 {
15684 if (temp6)
15685 delete arg6;
15686 }
15687 return resultobj;
15688 fail:
15689 {
15690 if (temp6)
15691 delete arg6;
15692 }
15693 return NULL;
15694 }
15695
15696
15697 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
15698 PyObject *resultobj;
15699 wxPyPanel *result;
15700 char *kwnames[] = {
15701 NULL
15702 };
15703
15704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
15705 {
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
15707 result = (wxPyPanel *)new wxPyPanel();
15708
15709 wxPyEndAllowThreads(__tstate);
15710 if (PyErr_Occurred()) SWIG_fail;
15711 }
15712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15713 return resultobj;
15714 fail:
15715 return NULL;
15716 }
15717
15718
15719 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15720 PyObject *resultobj;
15721 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15722 PyObject *arg2 = (PyObject *) 0 ;
15723 PyObject *arg3 = (PyObject *) 0 ;
15724 PyObject * obj0 = 0 ;
15725 PyObject * obj1 = 0 ;
15726 PyObject * obj2 = 0 ;
15727 char *kwnames[] = {
15728 (char *) "self",(char *) "self",(char *) "_class", NULL
15729 };
15730
15731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15734 arg2 = obj1;
15735 arg3 = obj2;
15736 {
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 (arg1)->_setCallbackInfo(arg2,arg3);
15739
15740 wxPyEndAllowThreads(__tstate);
15741 if (PyErr_Occurred()) SWIG_fail;
15742 }
15743 Py_INCREF(Py_None); resultobj = Py_None;
15744 return resultobj;
15745 fail:
15746 return NULL;
15747 }
15748
15749
15750 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15751 PyObject *resultobj;
15752 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15753 int arg2 ;
15754 int arg3 ;
15755 int arg4 ;
15756 int arg5 ;
15757 PyObject * obj0 = 0 ;
15758 PyObject * obj1 = 0 ;
15759 PyObject * obj2 = 0 ;
15760 PyObject * obj3 = 0 ;
15761 PyObject * obj4 = 0 ;
15762 char *kwnames[] = {
15763 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15764 };
15765
15766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15769 arg2 = (int) SWIG_AsInt(obj1);
15770 if (PyErr_Occurred()) SWIG_fail;
15771 arg3 = (int) SWIG_AsInt(obj2);
15772 if (PyErr_Occurred()) SWIG_fail;
15773 arg4 = (int) SWIG_AsInt(obj3);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 arg5 = (int) SWIG_AsInt(obj4);
15776 if (PyErr_Occurred()) SWIG_fail;
15777 {
15778 PyThreadState* __tstate = wxPyBeginAllowThreads();
15779 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15780
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 Py_INCREF(Py_None); resultobj = Py_None;
15785 return resultobj;
15786 fail:
15787 return NULL;
15788 }
15789
15790
15791 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15792 PyObject *resultobj;
15793 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15794 int arg2 ;
15795 int arg3 ;
15796 int arg4 ;
15797 int arg5 ;
15798 int arg6 = (int) wxSIZE_AUTO ;
15799 PyObject * obj0 = 0 ;
15800 PyObject * obj1 = 0 ;
15801 PyObject * obj2 = 0 ;
15802 PyObject * obj3 = 0 ;
15803 PyObject * obj4 = 0 ;
15804 PyObject * obj5 = 0 ;
15805 char *kwnames[] = {
15806 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15807 };
15808
15809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15812 arg2 = (int) SWIG_AsInt(obj1);
15813 if (PyErr_Occurred()) SWIG_fail;
15814 arg3 = (int) SWIG_AsInt(obj2);
15815 if (PyErr_Occurred()) SWIG_fail;
15816 arg4 = (int) SWIG_AsInt(obj3);
15817 if (PyErr_Occurred()) SWIG_fail;
15818 arg5 = (int) SWIG_AsInt(obj4);
15819 if (PyErr_Occurred()) SWIG_fail;
15820 if (obj5) {
15821 arg6 = (int) SWIG_AsInt(obj5);
15822 if (PyErr_Occurred()) SWIG_fail;
15823 }
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 Py_INCREF(Py_None); resultobj = Py_None;
15832 return resultobj;
15833 fail:
15834 return NULL;
15835 }
15836
15837
15838 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15841 int arg2 ;
15842 int arg3 ;
15843 PyObject * obj0 = 0 ;
15844 PyObject * obj1 = 0 ;
15845 PyObject * obj2 = 0 ;
15846 char *kwnames[] = {
15847 (char *) "self",(char *) "width",(char *) "height", NULL
15848 };
15849
15850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15853 arg2 = (int) SWIG_AsInt(obj1);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 arg3 = (int) SWIG_AsInt(obj2);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 {
15858 PyThreadState* __tstate = wxPyBeginAllowThreads();
15859 (arg1)->base_DoSetClientSize(arg2,arg3);
15860
15861 wxPyEndAllowThreads(__tstate);
15862 if (PyErr_Occurred()) SWIG_fail;
15863 }
15864 Py_INCREF(Py_None); resultobj = Py_None;
15865 return resultobj;
15866 fail:
15867 return NULL;
15868 }
15869
15870
15871 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15872 PyObject *resultobj;
15873 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15874 int arg2 ;
15875 int arg3 ;
15876 PyObject * obj0 = 0 ;
15877 PyObject * obj1 = 0 ;
15878 PyObject * obj2 = 0 ;
15879 char *kwnames[] = {
15880 (char *) "self",(char *) "x",(char *) "y", NULL
15881 };
15882
15883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15886 arg2 = (int) SWIG_AsInt(obj1);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 arg3 = (int) SWIG_AsInt(obj2);
15889 if (PyErr_Occurred()) SWIG_fail;
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15893
15894 wxPyEndAllowThreads(__tstate);
15895 if (PyErr_Occurred()) SWIG_fail;
15896 }
15897 Py_INCREF(Py_None); resultobj = Py_None;
15898 return resultobj;
15899 fail:
15900 return NULL;
15901 }
15902
15903
15904 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15905 PyObject *resultobj;
15906 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15907 int *arg2 = (int *) 0 ;
15908 int *arg3 = (int *) 0 ;
15909 int temp2 ;
15910 int temp3 ;
15911 PyObject * obj0 = 0 ;
15912 char *kwnames[] = {
15913 (char *) "self", NULL
15914 };
15915
15916 arg2 = &temp2;
15917 arg3 = &temp3;
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15921 {
15922 PyThreadState* __tstate = wxPyBeginAllowThreads();
15923 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15924
15925 wxPyEndAllowThreads(__tstate);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 }
15928 Py_INCREF(Py_None); resultobj = Py_None;
15929 {
15930 PyObject *o = PyInt_FromLong((long) (*arg2));
15931 resultobj = t_output_helper(resultobj,o);
15932 }
15933 {
15934 PyObject *o = PyInt_FromLong((long) (*arg3));
15935 resultobj = t_output_helper(resultobj,o);
15936 }
15937 return resultobj;
15938 fail:
15939 return NULL;
15940 }
15941
15942
15943 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15944 PyObject *resultobj;
15945 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15946 int *arg2 = (int *) 0 ;
15947 int *arg3 = (int *) 0 ;
15948 int temp2 ;
15949 int temp3 ;
15950 PyObject * obj0 = 0 ;
15951 char *kwnames[] = {
15952 (char *) "self", NULL
15953 };
15954
15955 arg2 = &temp2;
15956 arg3 = &temp3;
15957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15960 {
15961 PyThreadState* __tstate = wxPyBeginAllowThreads();
15962 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15963
15964 wxPyEndAllowThreads(__tstate);
15965 if (PyErr_Occurred()) SWIG_fail;
15966 }
15967 Py_INCREF(Py_None); resultobj = Py_None;
15968 {
15969 PyObject *o = PyInt_FromLong((long) (*arg2));
15970 resultobj = t_output_helper(resultobj,o);
15971 }
15972 {
15973 PyObject *o = PyInt_FromLong((long) (*arg3));
15974 resultobj = t_output_helper(resultobj,o);
15975 }
15976 return resultobj;
15977 fail:
15978 return NULL;
15979 }
15980
15981
15982 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15983 PyObject *resultobj;
15984 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15985 int *arg2 = (int *) 0 ;
15986 int *arg3 = (int *) 0 ;
15987 int temp2 ;
15988 int temp3 ;
15989 PyObject * obj0 = 0 ;
15990 char *kwnames[] = {
15991 (char *) "self", NULL
15992 };
15993
15994 arg2 = &temp2;
15995 arg3 = &temp3;
15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 Py_INCREF(Py_None); resultobj = Py_None;
16007 {
16008 PyObject *o = PyInt_FromLong((long) (*arg2));
16009 resultobj = t_output_helper(resultobj,o);
16010 }
16011 {
16012 PyObject *o = PyInt_FromLong((long) (*arg3));
16013 resultobj = t_output_helper(resultobj,o);
16014 }
16015 return resultobj;
16016 fail:
16017 return NULL;
16018 }
16019
16020
16021 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16022 PyObject *resultobj;
16023 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16024 wxSize result;
16025 PyObject * obj0 = 0 ;
16026 char *kwnames[] = {
16027 (char *) "self", NULL
16028 };
16029
16030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16033 {
16034 PyThreadState* __tstate = wxPyBeginAllowThreads();
16035 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16036
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 {
16041 wxSize * resultptr;
16042 resultptr = new wxSize((wxSize &) result);
16043 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16044 }
16045 return resultobj;
16046 fail:
16047 return NULL;
16048 }
16049
16050
16051 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16052 PyObject *resultobj;
16053 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16054 wxSize result;
16055 PyObject * obj0 = 0 ;
16056 char *kwnames[] = {
16057 (char *) "self", NULL
16058 };
16059
16060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16063 {
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16066
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 {
16071 wxSize * resultptr;
16072 resultptr = new wxSize((wxSize &) result);
16073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16074 }
16075 return resultobj;
16076 fail:
16077 return NULL;
16078 }
16079
16080
16081 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16082 PyObject *resultobj;
16083 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16084 PyObject * obj0 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self", NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16092 {
16093 PyThreadState* __tstate = wxPyBeginAllowThreads();
16094 (arg1)->base_InitDialog();
16095
16096 wxPyEndAllowThreads(__tstate);
16097 if (PyErr_Occurred()) SWIG_fail;
16098 }
16099 Py_INCREF(Py_None); resultobj = Py_None;
16100 return resultobj;
16101 fail:
16102 return NULL;
16103 }
16104
16105
16106 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16107 PyObject *resultobj;
16108 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16109 bool result;
16110 PyObject * obj0 = 0 ;
16111 char *kwnames[] = {
16112 (char *) "self", NULL
16113 };
16114
16115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16118 {
16119 PyThreadState* __tstate = wxPyBeginAllowThreads();
16120 result = (bool)(arg1)->base_TransferDataToWindow();
16121
16122 wxPyEndAllowThreads(__tstate);
16123 if (PyErr_Occurred()) SWIG_fail;
16124 }
16125 {
16126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16127 }
16128 return resultobj;
16129 fail:
16130 return NULL;
16131 }
16132
16133
16134 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16135 PyObject *resultobj;
16136 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16137 bool result;
16138 PyObject * obj0 = 0 ;
16139 char *kwnames[] = {
16140 (char *) "self", NULL
16141 };
16142
16143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16146 {
16147 PyThreadState* __tstate = wxPyBeginAllowThreads();
16148 result = (bool)(arg1)->base_TransferDataFromWindow();
16149
16150 wxPyEndAllowThreads(__tstate);
16151 if (PyErr_Occurred()) SWIG_fail;
16152 }
16153 {
16154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16155 }
16156 return resultobj;
16157 fail:
16158 return NULL;
16159 }
16160
16161
16162 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16163 PyObject *resultobj;
16164 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16165 bool result;
16166 PyObject * obj0 = 0 ;
16167 char *kwnames[] = {
16168 (char *) "self", NULL
16169 };
16170
16171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16174 {
16175 PyThreadState* __tstate = wxPyBeginAllowThreads();
16176 result = (bool)(arg1)->base_Validate();
16177
16178 wxPyEndAllowThreads(__tstate);
16179 if (PyErr_Occurred()) SWIG_fail;
16180 }
16181 {
16182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16183 }
16184 return resultobj;
16185 fail:
16186 return NULL;
16187 }
16188
16189
16190 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, 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_AcceptsFocus",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_AcceptsFocus();
16205
16206 wxPyEndAllowThreads(__tstate);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 }
16209 {
16210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16211 }
16212 return resultobj;
16213 fail:
16214 return NULL;
16215 }
16216
16217
16218 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16219 PyObject *resultobj;
16220 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16221 bool result;
16222 PyObject * obj0 = 0 ;
16223 char *kwnames[] = {
16224 (char *) "self", NULL
16225 };
16226
16227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16230 {
16231 PyThreadState* __tstate = wxPyBeginAllowThreads();
16232 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16233
16234 wxPyEndAllowThreads(__tstate);
16235 if (PyErr_Occurred()) SWIG_fail;
16236 }
16237 {
16238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16239 }
16240 return resultobj;
16241 fail:
16242 return NULL;
16243 }
16244
16245
16246 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16247 PyObject *resultobj;
16248 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16249 wxSize result;
16250 PyObject * obj0 = 0 ;
16251 char *kwnames[] = {
16252 (char *) "self", NULL
16253 };
16254
16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
16265 {
16266 wxSize * resultptr;
16267 resultptr = new wxSize((wxSize &) result);
16268 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16269 }
16270 return resultobj;
16271 fail:
16272 return NULL;
16273 }
16274
16275
16276 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16277 PyObject *resultobj;
16278 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16279 wxWindow *arg2 = (wxWindow *) 0 ;
16280 PyObject * obj0 = 0 ;
16281 PyObject * obj1 = 0 ;
16282 char *kwnames[] = {
16283 (char *) "self",(char *) "child", NULL
16284 };
16285
16286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 (arg1)->base_AddChild(arg2);
16294
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 Py_INCREF(Py_None); resultobj = Py_None;
16299 return resultobj;
16300 fail:
16301 return NULL;
16302 }
16303
16304
16305 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16306 PyObject *resultobj;
16307 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16308 wxWindow *arg2 = (wxWindow *) 0 ;
16309 PyObject * obj0 = 0 ;
16310 PyObject * obj1 = 0 ;
16311 char *kwnames[] = {
16312 (char *) "self",(char *) "child", NULL
16313 };
16314
16315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16320 {
16321 PyThreadState* __tstate = wxPyBeginAllowThreads();
16322 (arg1)->base_RemoveChild(arg2);
16323
16324 wxPyEndAllowThreads(__tstate);
16325 if (PyErr_Occurred()) SWIG_fail;
16326 }
16327 Py_INCREF(Py_None); resultobj = Py_None;
16328 return resultobj;
16329 fail:
16330 return NULL;
16331 }
16332
16333
16334 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16335 PyObject *resultobj;
16336 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16337 bool result;
16338 PyObject * obj0 = 0 ;
16339 char *kwnames[] = {
16340 (char *) "self", NULL
16341 };
16342
16343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16346 {
16347 PyThreadState* __tstate = wxPyBeginAllowThreads();
16348 result = (bool)(arg1)->base_ShouldInheritColours();
16349
16350 wxPyEndAllowThreads(__tstate);
16351 if (PyErr_Occurred()) SWIG_fail;
16352 }
16353 {
16354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16355 }
16356 return resultobj;
16357 fail:
16358 return NULL;
16359 }
16360
16361
16362 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16363 PyObject *resultobj;
16364 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16365 wxColour *arg2 = 0 ;
16366 wxColour temp2 ;
16367 PyObject * obj0 = 0 ;
16368 PyObject * obj1 = 0 ;
16369 char *kwnames[] = {
16370 (char *) "self",(char *) "c", NULL
16371 };
16372
16373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16376 {
16377 arg2 = &temp2;
16378 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16379 }
16380 {
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16383
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 Py_INCREF(Py_None); resultobj = Py_None;
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
16395 PyObject *obj;
16396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16397 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16398 Py_INCREF(obj);
16399 return Py_BuildValue((char *)"");
16400 }
16401 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16402 PyObject *resultobj;
16403 wxWindow *arg1 = (wxWindow *) 0 ;
16404 int arg2 ;
16405 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16406 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16407 wxSize const &arg4_defvalue = wxDefaultSize ;
16408 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16409 long arg5 = (long) 0 ;
16410 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16411 wxString *arg6 = (wxString *) &arg6_defvalue ;
16412 wxPyScrolledWindow *result;
16413 wxPoint temp3 ;
16414 wxSize temp4 ;
16415 bool temp6 = False ;
16416 PyObject * obj0 = 0 ;
16417 PyObject * obj1 = 0 ;
16418 PyObject * obj2 = 0 ;
16419 PyObject * obj3 = 0 ;
16420 PyObject * obj4 = 0 ;
16421 PyObject * obj5 = 0 ;
16422 char *kwnames[] = {
16423 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16424 };
16425
16426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16429 arg2 = (int const) SWIG_AsInt(obj1);
16430 if (PyErr_Occurred()) SWIG_fail;
16431 if (obj2) {
16432 {
16433 arg3 = &temp3;
16434 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16435 }
16436 }
16437 if (obj3) {
16438 {
16439 arg4 = &temp4;
16440 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16441 }
16442 }
16443 if (obj4) {
16444 arg5 = (long) SWIG_AsLong(obj4);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 if (obj5) {
16448 {
16449 arg6 = wxString_in_helper(obj5);
16450 if (arg6 == NULL) SWIG_fail;
16451 temp6 = True;
16452 }
16453 }
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16462 {
16463 if (temp6)
16464 delete arg6;
16465 }
16466 return resultobj;
16467 fail:
16468 {
16469 if (temp6)
16470 delete arg6;
16471 }
16472 return NULL;
16473 }
16474
16475
16476 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxPyScrolledWindow *result;
16479 char *kwnames[] = {
16480 NULL
16481 };
16482
16483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16487
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16492 return resultobj;
16493 fail:
16494 return NULL;
16495 }
16496
16497
16498 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16499 PyObject *resultobj;
16500 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16501 PyObject *arg2 = (PyObject *) 0 ;
16502 PyObject *arg3 = (PyObject *) 0 ;
16503 PyObject * obj0 = 0 ;
16504 PyObject * obj1 = 0 ;
16505 PyObject * obj2 = 0 ;
16506 char *kwnames[] = {
16507 (char *) "self",(char *) "self",(char *) "_class", NULL
16508 };
16509
16510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16513 arg2 = obj1;
16514 arg3 = obj2;
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 (arg1)->_setCallbackInfo(arg2,arg3);
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 Py_INCREF(Py_None); resultobj = Py_None;
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16530 PyObject *resultobj;
16531 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16532 int arg2 ;
16533 int arg3 ;
16534 int arg4 ;
16535 int arg5 ;
16536 PyObject * obj0 = 0 ;
16537 PyObject * obj1 = 0 ;
16538 PyObject * obj2 = 0 ;
16539 PyObject * obj3 = 0 ;
16540 PyObject * obj4 = 0 ;
16541 char *kwnames[] = {
16542 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16543 };
16544
16545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16548 arg2 = (int) SWIG_AsInt(obj1);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 arg3 = (int) SWIG_AsInt(obj2);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 arg4 = (int) SWIG_AsInt(obj3);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 arg5 = (int) SWIG_AsInt(obj4);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 {
16557 PyThreadState* __tstate = wxPyBeginAllowThreads();
16558 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16559
16560 wxPyEndAllowThreads(__tstate);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 }
16563 Py_INCREF(Py_None); resultobj = Py_None;
16564 return resultobj;
16565 fail:
16566 return NULL;
16567 }
16568
16569
16570 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16571 PyObject *resultobj;
16572 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16573 int arg2 ;
16574 int arg3 ;
16575 int arg4 ;
16576 int arg5 ;
16577 int arg6 = (int) wxSIZE_AUTO ;
16578 PyObject * obj0 = 0 ;
16579 PyObject * obj1 = 0 ;
16580 PyObject * obj2 = 0 ;
16581 PyObject * obj3 = 0 ;
16582 PyObject * obj4 = 0 ;
16583 PyObject * obj5 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16586 };
16587
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16591 arg2 = (int) SWIG_AsInt(obj1);
16592 if (PyErr_Occurred()) SWIG_fail;
16593 arg3 = (int) SWIG_AsInt(obj2);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 arg4 = (int) SWIG_AsInt(obj3);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 arg5 = (int) SWIG_AsInt(obj4);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 if (obj5) {
16600 arg6 = (int) SWIG_AsInt(obj5);
16601 if (PyErr_Occurred()) SWIG_fail;
16602 }
16603 {
16604 PyThreadState* __tstate = wxPyBeginAllowThreads();
16605 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16606
16607 wxPyEndAllowThreads(__tstate);
16608 if (PyErr_Occurred()) SWIG_fail;
16609 }
16610 Py_INCREF(Py_None); resultobj = Py_None;
16611 return resultobj;
16612 fail:
16613 return NULL;
16614 }
16615
16616
16617 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16618 PyObject *resultobj;
16619 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16620 int arg2 ;
16621 int arg3 ;
16622 PyObject * obj0 = 0 ;
16623 PyObject * obj1 = 0 ;
16624 PyObject * obj2 = 0 ;
16625 char *kwnames[] = {
16626 (char *) "self",(char *) "width",(char *) "height", NULL
16627 };
16628
16629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16632 arg2 = (int) SWIG_AsInt(obj1);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 arg3 = (int) SWIG_AsInt(obj2);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 (arg1)->base_DoSetClientSize(arg2,arg3);
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 Py_INCREF(Py_None); resultobj = Py_None;
16644 return resultobj;
16645 fail:
16646 return NULL;
16647 }
16648
16649
16650 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16651 PyObject *resultobj;
16652 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16653 int arg2 ;
16654 int arg3 ;
16655 PyObject * obj0 = 0 ;
16656 PyObject * obj1 = 0 ;
16657 PyObject * obj2 = 0 ;
16658 char *kwnames[] = {
16659 (char *) "self",(char *) "x",(char *) "y", NULL
16660 };
16661
16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16665 arg2 = (int) SWIG_AsInt(obj1);
16666 if (PyErr_Occurred()) SWIG_fail;
16667 arg3 = (int) SWIG_AsInt(obj2);
16668 if (PyErr_Occurred()) SWIG_fail;
16669 {
16670 PyThreadState* __tstate = wxPyBeginAllowThreads();
16671 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16672
16673 wxPyEndAllowThreads(__tstate);
16674 if (PyErr_Occurred()) SWIG_fail;
16675 }
16676 Py_INCREF(Py_None); resultobj = Py_None;
16677 return resultobj;
16678 fail:
16679 return NULL;
16680 }
16681
16682
16683 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16684 PyObject *resultobj;
16685 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16686 int *arg2 = (int *) 0 ;
16687 int *arg3 = (int *) 0 ;
16688 int temp2 ;
16689 int temp3 ;
16690 PyObject * obj0 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "self", NULL
16693 };
16694
16695 arg2 = &temp2;
16696 arg3 = &temp3;
16697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16700 {
16701 PyThreadState* __tstate = wxPyBeginAllowThreads();
16702 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16703
16704 wxPyEndAllowThreads(__tstate);
16705 if (PyErr_Occurred()) SWIG_fail;
16706 }
16707 Py_INCREF(Py_None); resultobj = Py_None;
16708 {
16709 PyObject *o = PyInt_FromLong((long) (*arg2));
16710 resultobj = t_output_helper(resultobj,o);
16711 }
16712 {
16713 PyObject *o = PyInt_FromLong((long) (*arg3));
16714 resultobj = t_output_helper(resultobj,o);
16715 }
16716 return resultobj;
16717 fail:
16718 return NULL;
16719 }
16720
16721
16722 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16723 PyObject *resultobj;
16724 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16725 int *arg2 = (int *) 0 ;
16726 int *arg3 = (int *) 0 ;
16727 int temp2 ;
16728 int temp3 ;
16729 PyObject * obj0 = 0 ;
16730 char *kwnames[] = {
16731 (char *) "self", NULL
16732 };
16733
16734 arg2 = &temp2;
16735 arg3 = &temp3;
16736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16739 {
16740 PyThreadState* __tstate = wxPyBeginAllowThreads();
16741 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16742
16743 wxPyEndAllowThreads(__tstate);
16744 if (PyErr_Occurred()) SWIG_fail;
16745 }
16746 Py_INCREF(Py_None); resultobj = Py_None;
16747 {
16748 PyObject *o = PyInt_FromLong((long) (*arg2));
16749 resultobj = t_output_helper(resultobj,o);
16750 }
16751 {
16752 PyObject *o = PyInt_FromLong((long) (*arg3));
16753 resultobj = t_output_helper(resultobj,o);
16754 }
16755 return resultobj;
16756 fail:
16757 return NULL;
16758 }
16759
16760
16761 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16762 PyObject *resultobj;
16763 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16764 int *arg2 = (int *) 0 ;
16765 int *arg3 = (int *) 0 ;
16766 int temp2 ;
16767 int temp3 ;
16768 PyObject * obj0 = 0 ;
16769 char *kwnames[] = {
16770 (char *) "self", NULL
16771 };
16772
16773 arg2 = &temp2;
16774 arg3 = &temp3;
16775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16778 {
16779 PyThreadState* __tstate = wxPyBeginAllowThreads();
16780 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16781
16782 wxPyEndAllowThreads(__tstate);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 }
16785 Py_INCREF(Py_None); resultobj = Py_None;
16786 {
16787 PyObject *o = PyInt_FromLong((long) (*arg2));
16788 resultobj = t_output_helper(resultobj,o);
16789 }
16790 {
16791 PyObject *o = PyInt_FromLong((long) (*arg3));
16792 resultobj = t_output_helper(resultobj,o);
16793 }
16794 return resultobj;
16795 fail:
16796 return NULL;
16797 }
16798
16799
16800 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16801 PyObject *resultobj;
16802 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16803 wxSize result;
16804 PyObject * obj0 = 0 ;
16805 char *kwnames[] = {
16806 (char *) "self", NULL
16807 };
16808
16809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16812 {
16813 PyThreadState* __tstate = wxPyBeginAllowThreads();
16814 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
16815
16816 wxPyEndAllowThreads(__tstate);
16817 if (PyErr_Occurred()) SWIG_fail;
16818 }
16819 {
16820 wxSize * resultptr;
16821 resultptr = new wxSize((wxSize &) result);
16822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16823 }
16824 return resultobj;
16825 fail:
16826 return NULL;
16827 }
16828
16829
16830 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16831 PyObject *resultobj;
16832 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16833 wxSize result;
16834 PyObject * obj0 = 0 ;
16835 char *kwnames[] = {
16836 (char *) "self", NULL
16837 };
16838
16839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16842 {
16843 PyThreadState* __tstate = wxPyBeginAllowThreads();
16844 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
16845
16846 wxPyEndAllowThreads(__tstate);
16847 if (PyErr_Occurred()) SWIG_fail;
16848 }
16849 {
16850 wxSize * resultptr;
16851 resultptr = new wxSize((wxSize &) result);
16852 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16853 }
16854 return resultobj;
16855 fail:
16856 return NULL;
16857 }
16858
16859
16860 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16861 PyObject *resultobj;
16862 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16863 PyObject * obj0 = 0 ;
16864 char *kwnames[] = {
16865 (char *) "self", NULL
16866 };
16867
16868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16871 {
16872 PyThreadState* __tstate = wxPyBeginAllowThreads();
16873 (arg1)->base_InitDialog();
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_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16886 PyObject *resultobj;
16887 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16888 bool result;
16889 PyObject * obj0 = 0 ;
16890 char *kwnames[] = {
16891 (char *) "self", NULL
16892 };
16893
16894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16897 {
16898 PyThreadState* __tstate = wxPyBeginAllowThreads();
16899 result = (bool)(arg1)->base_TransferDataToWindow();
16900
16901 wxPyEndAllowThreads(__tstate);
16902 if (PyErr_Occurred()) SWIG_fail;
16903 }
16904 {
16905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16906 }
16907 return resultobj;
16908 fail:
16909 return NULL;
16910 }
16911
16912
16913 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16914 PyObject *resultobj;
16915 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16916 bool result;
16917 PyObject * obj0 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
16927 result = (bool)(arg1)->base_TransferDataFromWindow();
16928
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 {
16933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16934 }
16935 return resultobj;
16936 fail:
16937 return NULL;
16938 }
16939
16940
16941 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16942 PyObject *resultobj;
16943 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16944 bool result;
16945 PyObject * obj0 = 0 ;
16946 char *kwnames[] = {
16947 (char *) "self", NULL
16948 };
16949
16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
16951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 result = (bool)(arg1)->base_Validate();
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 {
16961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16962 }
16963 return resultobj;
16964 fail:
16965 return NULL;
16966 }
16967
16968
16969 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16970 PyObject *resultobj;
16971 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16972 bool result;
16973 PyObject * obj0 = 0 ;
16974 char *kwnames[] = {
16975 (char *) "self", NULL
16976 };
16977
16978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 {
16989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16990 }
16991 return resultobj;
16992 fail:
16993 return NULL;
16994 }
16995
16996
16997 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16998 PyObject *resultobj;
16999 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17000 bool result;
17001 PyObject * obj0 = 0 ;
17002 char *kwnames[] = {
17003 (char *) "self", NULL
17004 };
17005
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17009 {
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17012
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 {
17017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17018 }
17019 return resultobj;
17020 fail:
17021 return NULL;
17022 }
17023
17024
17025 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17026 PyObject *resultobj;
17027 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17028 wxSize result;
17029 PyObject * obj0 = 0 ;
17030 char *kwnames[] = {
17031 (char *) "self", NULL
17032 };
17033
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 {
17045 wxSize * resultptr;
17046 resultptr = new wxSize((wxSize &) result);
17047 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17048 }
17049 return resultobj;
17050 fail:
17051 return NULL;
17052 }
17053
17054
17055 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17056 PyObject *resultobj;
17057 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17058 wxWindow *arg2 = (wxWindow *) 0 ;
17059 PyObject * obj0 = 0 ;
17060 PyObject * obj1 = 0 ;
17061 char *kwnames[] = {
17062 (char *) "self",(char *) "child", NULL
17063 };
17064
17065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17068 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17070 {
17071 PyThreadState* __tstate = wxPyBeginAllowThreads();
17072 (arg1)->base_AddChild(arg2);
17073
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 Py_INCREF(Py_None); resultobj = Py_None;
17078 return resultobj;
17079 fail:
17080 return NULL;
17081 }
17082
17083
17084 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17085 PyObject *resultobj;
17086 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17087 wxWindow *arg2 = (wxWindow *) 0 ;
17088 PyObject * obj0 = 0 ;
17089 PyObject * obj1 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self",(char *) "child", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17099 {
17100 PyThreadState* __tstate = wxPyBeginAllowThreads();
17101 (arg1)->base_RemoveChild(arg2);
17102
17103 wxPyEndAllowThreads(__tstate);
17104 if (PyErr_Occurred()) SWIG_fail;
17105 }
17106 Py_INCREF(Py_None); resultobj = Py_None;
17107 return resultobj;
17108 fail:
17109 return NULL;
17110 }
17111
17112
17113 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17114 PyObject *resultobj;
17115 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17116 bool result;
17117 PyObject * obj0 = 0 ;
17118 char *kwnames[] = {
17119 (char *) "self", NULL
17120 };
17121
17122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17125 {
17126 PyThreadState* __tstate = wxPyBeginAllowThreads();
17127 result = (bool)(arg1)->base_ShouldInheritColours();
17128
17129 wxPyEndAllowThreads(__tstate);
17130 if (PyErr_Occurred()) SWIG_fail;
17131 }
17132 {
17133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17134 }
17135 return resultobj;
17136 fail:
17137 return NULL;
17138 }
17139
17140
17141 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17142 PyObject *resultobj;
17143 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17144 wxColour *arg2 = 0 ;
17145 wxColour temp2 ;
17146 PyObject * obj0 = 0 ;
17147 PyObject * obj1 = 0 ;
17148 char *kwnames[] = {
17149 (char *) "self",(char *) "c", NULL
17150 };
17151
17152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17155 {
17156 arg2 = &temp2;
17157 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17158 }
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17162
17163 wxPyEndAllowThreads(__tstate);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 Py_INCREF(Py_None); resultobj = Py_None;
17167 return resultobj;
17168 fail:
17169 return NULL;
17170 }
17171
17172
17173 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
17174 PyObject *obj;
17175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17176 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17177 Py_INCREF(obj);
17178 return Py_BuildValue((char *)"");
17179 }
17180 static int _wrap_PrintoutTitleStr_set(PyObject *) {
17181 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17182 return 1;
17183 }
17184
17185
17186 static PyObject *_wrap_PrintoutTitleStr_get() {
17187 PyObject *pyobj;
17188
17189 {
17190 #if wxUSE_UNICODE
17191 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17192 #else
17193 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17194 #endif
17195 }
17196 return pyobj;
17197 }
17198
17199
17200 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
17201 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17202 return 1;
17203 }
17204
17205
17206 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17207 PyObject *pyobj;
17208
17209 {
17210 #if wxUSE_UNICODE
17211 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17212 #else
17213 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17214 #endif
17215 }
17216 return pyobj;
17217 }
17218
17219
17220 static PyObject *_wrap_new_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
17221 PyObject *resultobj;
17222 wxPrintData *result;
17223 char *kwnames[] = {
17224 NULL
17225 };
17226
17227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
17230 result = (wxPrintData *)new wxPrintData();
17231
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17236 return resultobj;
17237 fail:
17238 return NULL;
17239 }
17240
17241
17242 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
17243 PyObject *resultobj;
17244 wxPrintData *arg1 = (wxPrintData *) 0 ;
17245 PyObject * obj0 = 0 ;
17246 char *kwnames[] = {
17247 (char *) "self", NULL
17248 };
17249
17250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 delete arg1;
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 Py_INCREF(Py_None); resultobj = Py_None;
17261 return resultobj;
17262 fail:
17263 return NULL;
17264 }
17265
17266
17267 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
17268 PyObject *resultobj;
17269 wxPrintData *arg1 = (wxPrintData *) 0 ;
17270 int result;
17271 PyObject * obj0 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "self", NULL
17274 };
17275
17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 result = (int)(arg1)->GetNoCopies();
17282
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
17286 resultobj = SWIG_FromInt((int)result);
17287 return resultobj;
17288 fail:
17289 return NULL;
17290 }
17291
17292
17293 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
17294 PyObject *resultobj;
17295 wxPrintData *arg1 = (wxPrintData *) 0 ;
17296 bool result;
17297 PyObject * obj0 = 0 ;
17298 char *kwnames[] = {
17299 (char *) "self", NULL
17300 };
17301
17302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17305 {
17306 PyThreadState* __tstate = wxPyBeginAllowThreads();
17307 result = (bool)(arg1)->GetCollate();
17308
17309 wxPyEndAllowThreads(__tstate);
17310 if (PyErr_Occurred()) SWIG_fail;
17311 }
17312 {
17313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17314 }
17315 return resultobj;
17316 fail:
17317 return NULL;
17318 }
17319
17320
17321 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
17322 PyObject *resultobj;
17323 wxPrintData *arg1 = (wxPrintData *) 0 ;
17324 int result;
17325 PyObject * obj0 = 0 ;
17326 char *kwnames[] = {
17327 (char *) "self", NULL
17328 };
17329
17330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17333 {
17334 PyThreadState* __tstate = wxPyBeginAllowThreads();
17335 result = (int)(arg1)->GetOrientation();
17336
17337 wxPyEndAllowThreads(__tstate);
17338 if (PyErr_Occurred()) SWIG_fail;
17339 }
17340 resultobj = SWIG_FromInt((int)result);
17341 return resultobj;
17342 fail:
17343 return NULL;
17344 }
17345
17346
17347 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
17348 PyObject *resultobj;
17349 wxPrintData *arg1 = (wxPrintData *) 0 ;
17350 bool result;
17351 PyObject * obj0 = 0 ;
17352 char *kwnames[] = {
17353 (char *) "self", NULL
17354 };
17355
17356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17359 {
17360 PyThreadState* __tstate = wxPyBeginAllowThreads();
17361 result = (bool)(arg1)->Ok();
17362
17363 wxPyEndAllowThreads(__tstate);
17364 if (PyErr_Occurred()) SWIG_fail;
17365 }
17366 {
17367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17368 }
17369 return resultobj;
17370 fail:
17371 return NULL;
17372 }
17373
17374
17375 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
17376 PyObject *resultobj;
17377 wxPrintData *arg1 = (wxPrintData *) 0 ;
17378 wxString *result;
17379 PyObject * obj0 = 0 ;
17380 char *kwnames[] = {
17381 (char *) "self", NULL
17382 };
17383
17384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17387 {
17388 PyThreadState* __tstate = wxPyBeginAllowThreads();
17389 {
17390 wxString const &_result_ref = (arg1)->GetPrinterName();
17391 result = (wxString *) &_result_ref;
17392 }
17393
17394 wxPyEndAllowThreads(__tstate);
17395 if (PyErr_Occurred()) SWIG_fail;
17396 }
17397 {
17398 #if wxUSE_UNICODE
17399 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17400 #else
17401 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17402 #endif
17403 }
17404 return resultobj;
17405 fail:
17406 return NULL;
17407 }
17408
17409
17410 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
17411 PyObject *resultobj;
17412 wxPrintData *arg1 = (wxPrintData *) 0 ;
17413 bool result;
17414 PyObject * obj0 = 0 ;
17415 char *kwnames[] = {
17416 (char *) "self", NULL
17417 };
17418
17419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17422 {
17423 PyThreadState* __tstate = wxPyBeginAllowThreads();
17424 result = (bool)(arg1)->GetColour();
17425
17426 wxPyEndAllowThreads(__tstate);
17427 if (PyErr_Occurred()) SWIG_fail;
17428 }
17429 {
17430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17431 }
17432 return resultobj;
17433 fail:
17434 return NULL;
17435 }
17436
17437
17438 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
17439 PyObject *resultobj;
17440 wxPrintData *arg1 = (wxPrintData *) 0 ;
17441 int result;
17442 PyObject * obj0 = 0 ;
17443 char *kwnames[] = {
17444 (char *) "self", NULL
17445 };
17446
17447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17450 {
17451 PyThreadState* __tstate = wxPyBeginAllowThreads();
17452 result = (int)(arg1)->GetDuplex();
17453
17454 wxPyEndAllowThreads(__tstate);
17455 if (PyErr_Occurred()) SWIG_fail;
17456 }
17457 resultobj = SWIG_FromInt((int)result);
17458 return resultobj;
17459 fail:
17460 return NULL;
17461 }
17462
17463
17464 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
17465 PyObject *resultobj;
17466 wxPrintData *arg1 = (wxPrintData *) 0 ;
17467 int result;
17468 PyObject * obj0 = 0 ;
17469 char *kwnames[] = {
17470 (char *) "self", NULL
17471 };
17472
17473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17476 {
17477 PyThreadState* __tstate = wxPyBeginAllowThreads();
17478 result = (int)(arg1)->GetPaperId();
17479
17480 wxPyEndAllowThreads(__tstate);
17481 if (PyErr_Occurred()) SWIG_fail;
17482 }
17483 resultobj = SWIG_FromInt((int)result);
17484 return resultobj;
17485 fail:
17486 return NULL;
17487 }
17488
17489
17490 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
17491 PyObject *resultobj;
17492 wxPrintData *arg1 = (wxPrintData *) 0 ;
17493 wxSize *result;
17494 PyObject * obj0 = 0 ;
17495 char *kwnames[] = {
17496 (char *) "self", NULL
17497 };
17498
17499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17502 {
17503 PyThreadState* __tstate = wxPyBeginAllowThreads();
17504 {
17505 wxSize const &_result_ref = (arg1)->GetPaperSize();
17506 result = (wxSize *) &_result_ref;
17507 }
17508
17509 wxPyEndAllowThreads(__tstate);
17510 if (PyErr_Occurred()) SWIG_fail;
17511 }
17512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17513 return resultobj;
17514 fail:
17515 return NULL;
17516 }
17517
17518
17519 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
17520 PyObject *resultobj;
17521 wxPrintData *arg1 = (wxPrintData *) 0 ;
17522 int result;
17523 PyObject * obj0 = 0 ;
17524 char *kwnames[] = {
17525 (char *) "self", NULL
17526 };
17527
17528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17531 {
17532 PyThreadState* __tstate = wxPyBeginAllowThreads();
17533 result = (int)(arg1)->GetQuality();
17534
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 resultobj = SWIG_FromInt((int)result);
17539 return resultobj;
17540 fail:
17541 return NULL;
17542 }
17543
17544
17545 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
17546 PyObject *resultobj;
17547 wxPrintData *arg1 = (wxPrintData *) 0 ;
17548 int arg2 ;
17549 PyObject * obj0 = 0 ;
17550 PyObject * obj1 = 0 ;
17551 char *kwnames[] = {
17552 (char *) "self",(char *) "v", NULL
17553 };
17554
17555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17558 arg2 = (int) SWIG_AsInt(obj1);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 {
17561 PyThreadState* __tstate = wxPyBeginAllowThreads();
17562 (arg1)->SetNoCopies(arg2);
17563
17564 wxPyEndAllowThreads(__tstate);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 }
17567 Py_INCREF(Py_None); resultobj = Py_None;
17568 return resultobj;
17569 fail:
17570 return NULL;
17571 }
17572
17573
17574 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
17575 PyObject *resultobj;
17576 wxPrintData *arg1 = (wxPrintData *) 0 ;
17577 bool arg2 ;
17578 PyObject * obj0 = 0 ;
17579 PyObject * obj1 = 0 ;
17580 char *kwnames[] = {
17581 (char *) "self",(char *) "flag", NULL
17582 };
17583
17584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17587 arg2 = (bool) SWIG_AsBool(obj1);
17588 if (PyErr_Occurred()) SWIG_fail;
17589 {
17590 PyThreadState* __tstate = wxPyBeginAllowThreads();
17591 (arg1)->SetCollate(arg2);
17592
17593 wxPyEndAllowThreads(__tstate);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 Py_INCREF(Py_None); resultobj = Py_None;
17597 return resultobj;
17598 fail:
17599 return NULL;
17600 }
17601
17602
17603 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
17604 PyObject *resultobj;
17605 wxPrintData *arg1 = (wxPrintData *) 0 ;
17606 int arg2 ;
17607 PyObject * obj0 = 0 ;
17608 PyObject * obj1 = 0 ;
17609 char *kwnames[] = {
17610 (char *) "self",(char *) "orient", NULL
17611 };
17612
17613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17616 arg2 = (int) SWIG_AsInt(obj1);
17617 if (PyErr_Occurred()) SWIG_fail;
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 (arg1)->SetOrientation(arg2);
17621
17622 wxPyEndAllowThreads(__tstate);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 }
17625 Py_INCREF(Py_None); resultobj = Py_None;
17626 return resultobj;
17627 fail:
17628 return NULL;
17629 }
17630
17631
17632 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
17633 PyObject *resultobj;
17634 wxPrintData *arg1 = (wxPrintData *) 0 ;
17635 wxString *arg2 = 0 ;
17636 bool temp2 = False ;
17637 PyObject * obj0 = 0 ;
17638 PyObject * obj1 = 0 ;
17639 char *kwnames[] = {
17640 (char *) "self",(char *) "name", NULL
17641 };
17642
17643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
17644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17646 {
17647 arg2 = wxString_in_helper(obj1);
17648 if (arg2 == NULL) SWIG_fail;
17649 temp2 = True;
17650 }
17651 {
17652 PyThreadState* __tstate = wxPyBeginAllowThreads();
17653 (arg1)->SetPrinterName((wxString const &)*arg2);
17654
17655 wxPyEndAllowThreads(__tstate);
17656 if (PyErr_Occurred()) SWIG_fail;
17657 }
17658 Py_INCREF(Py_None); resultobj = Py_None;
17659 {
17660 if (temp2)
17661 delete arg2;
17662 }
17663 return resultobj;
17664 fail:
17665 {
17666 if (temp2)
17667 delete arg2;
17668 }
17669 return NULL;
17670 }
17671
17672
17673 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
17674 PyObject *resultobj;
17675 wxPrintData *arg1 = (wxPrintData *) 0 ;
17676 bool arg2 ;
17677 PyObject * obj0 = 0 ;
17678 PyObject * obj1 = 0 ;
17679 char *kwnames[] = {
17680 (char *) "self",(char *) "colour", NULL
17681 };
17682
17683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
17684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17686 arg2 = (bool) SWIG_AsBool(obj1);
17687 if (PyErr_Occurred()) SWIG_fail;
17688 {
17689 PyThreadState* __tstate = wxPyBeginAllowThreads();
17690 (arg1)->SetColour(arg2);
17691
17692 wxPyEndAllowThreads(__tstate);
17693 if (PyErr_Occurred()) SWIG_fail;
17694 }
17695 Py_INCREF(Py_None); resultobj = Py_None;
17696 return resultobj;
17697 fail:
17698 return NULL;
17699 }
17700
17701
17702 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
17703 PyObject *resultobj;
17704 wxPrintData *arg1 = (wxPrintData *) 0 ;
17705 int arg2 ;
17706 PyObject * obj0 = 0 ;
17707 PyObject * obj1 = 0 ;
17708 char *kwnames[] = {
17709 (char *) "self",(char *) "duplex", NULL
17710 };
17711
17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
17713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17715 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
17716 if (PyErr_Occurred()) SWIG_fail;
17717 {
17718 PyThreadState* __tstate = wxPyBeginAllowThreads();
17719 (arg1)->SetDuplex((wxDuplexMode )arg2);
17720
17721 wxPyEndAllowThreads(__tstate);
17722 if (PyErr_Occurred()) SWIG_fail;
17723 }
17724 Py_INCREF(Py_None); resultobj = Py_None;
17725 return resultobj;
17726 fail:
17727 return NULL;
17728 }
17729
17730
17731 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
17732 PyObject *resultobj;
17733 wxPrintData *arg1 = (wxPrintData *) 0 ;
17734 int arg2 ;
17735 PyObject * obj0 = 0 ;
17736 PyObject * obj1 = 0 ;
17737 char *kwnames[] = {
17738 (char *) "self",(char *) "sizeId", NULL
17739 };
17740
17741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
17742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17744 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 {
17747 PyThreadState* __tstate = wxPyBeginAllowThreads();
17748 (arg1)->SetPaperId((wxPaperSize )arg2);
17749
17750 wxPyEndAllowThreads(__tstate);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 }
17753 Py_INCREF(Py_None); resultobj = Py_None;
17754 return resultobj;
17755 fail:
17756 return NULL;
17757 }
17758
17759
17760 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
17761 PyObject *resultobj;
17762 wxPrintData *arg1 = (wxPrintData *) 0 ;
17763 wxSize *arg2 = 0 ;
17764 wxSize temp2 ;
17765 PyObject * obj0 = 0 ;
17766 PyObject * obj1 = 0 ;
17767 char *kwnames[] = {
17768 (char *) "self",(char *) "sz", NULL
17769 };
17770
17771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17774 {
17775 arg2 = &temp2;
17776 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17777 }
17778 {
17779 PyThreadState* __tstate = wxPyBeginAllowThreads();
17780 (arg1)->SetPaperSize((wxSize const &)*arg2);
17781
17782 wxPyEndAllowThreads(__tstate);
17783 if (PyErr_Occurred()) SWIG_fail;
17784 }
17785 Py_INCREF(Py_None); resultobj = Py_None;
17786 return resultobj;
17787 fail:
17788 return NULL;
17789 }
17790
17791
17792 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
17793 PyObject *resultobj;
17794 wxPrintData *arg1 = (wxPrintData *) 0 ;
17795 int arg2 ;
17796 PyObject * obj0 = 0 ;
17797 PyObject * obj1 = 0 ;
17798 char *kwnames[] = {
17799 (char *) "self",(char *) "quality", NULL
17800 };
17801
17802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
17803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17805 arg2 = (int) SWIG_AsInt(obj1);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 {
17808 PyThreadState* __tstate = wxPyBeginAllowThreads();
17809 (arg1)->SetQuality(arg2);
17810
17811 wxPyEndAllowThreads(__tstate);
17812 if (PyErr_Occurred()) SWIG_fail;
17813 }
17814 Py_INCREF(Py_None); resultobj = Py_None;
17815 return resultobj;
17816 fail:
17817 return NULL;
17818 }
17819
17820
17821 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
17822 PyObject *resultobj;
17823 wxPrintData *arg1 = (wxPrintData *) 0 ;
17824 wxString *result;
17825 PyObject * obj0 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
17831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17833 {
17834 PyThreadState* __tstate = wxPyBeginAllowThreads();
17835 {
17836 wxString const &_result_ref = (arg1)->GetPrinterCommand();
17837 result = (wxString *) &_result_ref;
17838 }
17839
17840 wxPyEndAllowThreads(__tstate);
17841 if (PyErr_Occurred()) SWIG_fail;
17842 }
17843 {
17844 #if wxUSE_UNICODE
17845 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17846 #else
17847 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17848 #endif
17849 }
17850 return resultobj;
17851 fail:
17852 return NULL;
17853 }
17854
17855
17856 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
17857 PyObject *resultobj;
17858 wxPrintData *arg1 = (wxPrintData *) 0 ;
17859 wxString *result;
17860 PyObject * obj0 = 0 ;
17861 char *kwnames[] = {
17862 (char *) "self", NULL
17863 };
17864
17865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
17866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17868 {
17869 PyThreadState* __tstate = wxPyBeginAllowThreads();
17870 {
17871 wxString const &_result_ref = (arg1)->GetPrinterOptions();
17872 result = (wxString *) &_result_ref;
17873 }
17874
17875 wxPyEndAllowThreads(__tstate);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 }
17878 {
17879 #if wxUSE_UNICODE
17880 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17881 #else
17882 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17883 #endif
17884 }
17885 return resultobj;
17886 fail:
17887 return NULL;
17888 }
17889
17890
17891 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
17892 PyObject *resultobj;
17893 wxPrintData *arg1 = (wxPrintData *) 0 ;
17894 wxString *result;
17895 PyObject * obj0 = 0 ;
17896 char *kwnames[] = {
17897 (char *) "self", NULL
17898 };
17899
17900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
17901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17903 {
17904 PyThreadState* __tstate = wxPyBeginAllowThreads();
17905 {
17906 wxString const &_result_ref = (arg1)->GetPreviewCommand();
17907 result = (wxString *) &_result_ref;
17908 }
17909
17910 wxPyEndAllowThreads(__tstate);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 {
17914 #if wxUSE_UNICODE
17915 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17916 #else
17917 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17918 #endif
17919 }
17920 return resultobj;
17921 fail:
17922 return NULL;
17923 }
17924
17925
17926 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
17927 PyObject *resultobj;
17928 wxPrintData *arg1 = (wxPrintData *) 0 ;
17929 wxString *result;
17930 PyObject * obj0 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "self", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
17936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17938 {
17939 PyThreadState* __tstate = wxPyBeginAllowThreads();
17940 {
17941 wxString const &_result_ref = (arg1)->GetFilename();
17942 result = (wxString *) &_result_ref;
17943 }
17944
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 {
17949 #if wxUSE_UNICODE
17950 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17951 #else
17952 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17953 #endif
17954 }
17955 return resultobj;
17956 fail:
17957 return NULL;
17958 }
17959
17960
17961 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
17962 PyObject *resultobj;
17963 wxPrintData *arg1 = (wxPrintData *) 0 ;
17964 wxString *result;
17965 PyObject * obj0 = 0 ;
17966 char *kwnames[] = {
17967 (char *) "self", NULL
17968 };
17969
17970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
17971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17973 {
17974 PyThreadState* __tstate = wxPyBeginAllowThreads();
17975 {
17976 wxString const &_result_ref = (arg1)->GetFontMetricPath();
17977 result = (wxString *) &_result_ref;
17978 }
17979
17980 wxPyEndAllowThreads(__tstate);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 }
17983 {
17984 #if wxUSE_UNICODE
17985 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17986 #else
17987 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17988 #endif
17989 }
17990 return resultobj;
17991 fail:
17992 return NULL;
17993 }
17994
17995
17996 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
17997 PyObject *resultobj;
17998 wxPrintData *arg1 = (wxPrintData *) 0 ;
17999 double result;
18000 PyObject * obj0 = 0 ;
18001 char *kwnames[] = {
18002 (char *) "self", NULL
18003 };
18004
18005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18008 {
18009 PyThreadState* __tstate = wxPyBeginAllowThreads();
18010 result = (double)(arg1)->GetPrinterScaleX();
18011
18012 wxPyEndAllowThreads(__tstate);
18013 if (PyErr_Occurred()) SWIG_fail;
18014 }
18015 resultobj = SWIG_FromDouble((double)result);
18016 return resultobj;
18017 fail:
18018 return NULL;
18019 }
18020
18021
18022 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
18023 PyObject *resultobj;
18024 wxPrintData *arg1 = (wxPrintData *) 0 ;
18025 double result;
18026 PyObject * obj0 = 0 ;
18027 char *kwnames[] = {
18028 (char *) "self", NULL
18029 };
18030
18031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18034 {
18035 PyThreadState* __tstate = wxPyBeginAllowThreads();
18036 result = (double)(arg1)->GetPrinterScaleY();
18037
18038 wxPyEndAllowThreads(__tstate);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 }
18041 resultobj = SWIG_FromDouble((double)result);
18042 return resultobj;
18043 fail:
18044 return NULL;
18045 }
18046
18047
18048 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
18049 PyObject *resultobj;
18050 wxPrintData *arg1 = (wxPrintData *) 0 ;
18051 long result;
18052 PyObject * obj0 = 0 ;
18053 char *kwnames[] = {
18054 (char *) "self", NULL
18055 };
18056
18057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18060 {
18061 PyThreadState* __tstate = wxPyBeginAllowThreads();
18062 result = (long)(arg1)->GetPrinterTranslateX();
18063
18064 wxPyEndAllowThreads(__tstate);
18065 if (PyErr_Occurred()) SWIG_fail;
18066 }
18067 resultobj = SWIG_FromLong((long)result);
18068 return resultobj;
18069 fail:
18070 return NULL;
18071 }
18072
18073
18074 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
18075 PyObject *resultobj;
18076 wxPrintData *arg1 = (wxPrintData *) 0 ;
18077 long result;
18078 PyObject * obj0 = 0 ;
18079 char *kwnames[] = {
18080 (char *) "self", NULL
18081 };
18082
18083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18086 {
18087 PyThreadState* __tstate = wxPyBeginAllowThreads();
18088 result = (long)(arg1)->GetPrinterTranslateY();
18089
18090 wxPyEndAllowThreads(__tstate);
18091 if (PyErr_Occurred()) SWIG_fail;
18092 }
18093 resultobj = SWIG_FromLong((long)result);
18094 return resultobj;
18095 fail:
18096 return NULL;
18097 }
18098
18099
18100 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
18101 PyObject *resultobj;
18102 wxPrintData *arg1 = (wxPrintData *) 0 ;
18103 int result;
18104 PyObject * obj0 = 0 ;
18105 char *kwnames[] = {
18106 (char *) "self", NULL
18107 };
18108
18109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18112 {
18113 PyThreadState* __tstate = wxPyBeginAllowThreads();
18114 result = (int)(arg1)->GetPrintMode();
18115
18116 wxPyEndAllowThreads(__tstate);
18117 if (PyErr_Occurred()) SWIG_fail;
18118 }
18119 resultobj = SWIG_FromInt((int)result);
18120 return resultobj;
18121 fail:
18122 return NULL;
18123 }
18124
18125
18126 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18127 PyObject *resultobj;
18128 wxPrintData *arg1 = (wxPrintData *) 0 ;
18129 wxString *arg2 = 0 ;
18130 bool temp2 = False ;
18131 PyObject * obj0 = 0 ;
18132 PyObject * obj1 = 0 ;
18133 char *kwnames[] = {
18134 (char *) "self",(char *) "command", NULL
18135 };
18136
18137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18140 {
18141 arg2 = wxString_in_helper(obj1);
18142 if (arg2 == NULL) SWIG_fail;
18143 temp2 = True;
18144 }
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18148
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 Py_INCREF(Py_None); resultobj = Py_None;
18153 {
18154 if (temp2)
18155 delete arg2;
18156 }
18157 return resultobj;
18158 fail:
18159 {
18160 if (temp2)
18161 delete arg2;
18162 }
18163 return NULL;
18164 }
18165
18166
18167 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
18168 PyObject *resultobj;
18169 wxPrintData *arg1 = (wxPrintData *) 0 ;
18170 wxString *arg2 = 0 ;
18171 bool temp2 = False ;
18172 PyObject * obj0 = 0 ;
18173 PyObject * obj1 = 0 ;
18174 char *kwnames[] = {
18175 (char *) "self",(char *) "options", NULL
18176 };
18177
18178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18181 {
18182 arg2 = wxString_in_helper(obj1);
18183 if (arg2 == NULL) SWIG_fail;
18184 temp2 = True;
18185 }
18186 {
18187 PyThreadState* __tstate = wxPyBeginAllowThreads();
18188 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18189
18190 wxPyEndAllowThreads(__tstate);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 }
18193 Py_INCREF(Py_None); resultobj = Py_None;
18194 {
18195 if (temp2)
18196 delete arg2;
18197 }
18198 return resultobj;
18199 fail:
18200 {
18201 if (temp2)
18202 delete arg2;
18203 }
18204 return NULL;
18205 }
18206
18207
18208 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18209 PyObject *resultobj;
18210 wxPrintData *arg1 = (wxPrintData *) 0 ;
18211 wxString *arg2 = 0 ;
18212 bool temp2 = False ;
18213 PyObject * obj0 = 0 ;
18214 PyObject * obj1 = 0 ;
18215 char *kwnames[] = {
18216 (char *) "self",(char *) "command", NULL
18217 };
18218
18219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18222 {
18223 arg2 = wxString_in_helper(obj1);
18224 if (arg2 == NULL) SWIG_fail;
18225 temp2 = True;
18226 }
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18230
18231 wxPyEndAllowThreads(__tstate);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 }
18234 Py_INCREF(Py_None); resultobj = Py_None;
18235 {
18236 if (temp2)
18237 delete arg2;
18238 }
18239 return resultobj;
18240 fail:
18241 {
18242 if (temp2)
18243 delete arg2;
18244 }
18245 return NULL;
18246 }
18247
18248
18249 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
18250 PyObject *resultobj;
18251 wxPrintData *arg1 = (wxPrintData *) 0 ;
18252 wxString *arg2 = 0 ;
18253 bool temp2 = False ;
18254 PyObject * obj0 = 0 ;
18255 PyObject * obj1 = 0 ;
18256 char *kwnames[] = {
18257 (char *) "self",(char *) "filename", NULL
18258 };
18259
18260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18263 {
18264 arg2 = wxString_in_helper(obj1);
18265 if (arg2 == NULL) SWIG_fail;
18266 temp2 = True;
18267 }
18268 {
18269 PyThreadState* __tstate = wxPyBeginAllowThreads();
18270 (arg1)->SetFilename((wxString const &)*arg2);
18271
18272 wxPyEndAllowThreads(__tstate);
18273 if (PyErr_Occurred()) SWIG_fail;
18274 }
18275 Py_INCREF(Py_None); resultobj = Py_None;
18276 {
18277 if (temp2)
18278 delete arg2;
18279 }
18280 return resultobj;
18281 fail:
18282 {
18283 if (temp2)
18284 delete arg2;
18285 }
18286 return NULL;
18287 }
18288
18289
18290 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
18291 PyObject *resultobj;
18292 wxPrintData *arg1 = (wxPrintData *) 0 ;
18293 wxString *arg2 = 0 ;
18294 bool temp2 = False ;
18295 PyObject * obj0 = 0 ;
18296 PyObject * obj1 = 0 ;
18297 char *kwnames[] = {
18298 (char *) "self",(char *) "path", NULL
18299 };
18300
18301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18304 {
18305 arg2 = wxString_in_helper(obj1);
18306 if (arg2 == NULL) SWIG_fail;
18307 temp2 = True;
18308 }
18309 {
18310 PyThreadState* __tstate = wxPyBeginAllowThreads();
18311 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18312
18313 wxPyEndAllowThreads(__tstate);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 }
18316 Py_INCREF(Py_None); resultobj = Py_None;
18317 {
18318 if (temp2)
18319 delete arg2;
18320 }
18321 return resultobj;
18322 fail:
18323 {
18324 if (temp2)
18325 delete arg2;
18326 }
18327 return NULL;
18328 }
18329
18330
18331 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
18332 PyObject *resultobj;
18333 wxPrintData *arg1 = (wxPrintData *) 0 ;
18334 double arg2 ;
18335 PyObject * obj0 = 0 ;
18336 PyObject * obj1 = 0 ;
18337 char *kwnames[] = {
18338 (char *) "self",(char *) "x", NULL
18339 };
18340
18341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18344 arg2 = (double) SWIG_AsDouble(obj1);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 {
18347 PyThreadState* __tstate = wxPyBeginAllowThreads();
18348 (arg1)->SetPrinterScaleX(arg2);
18349
18350 wxPyEndAllowThreads(__tstate);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 }
18353 Py_INCREF(Py_None); resultobj = Py_None;
18354 return resultobj;
18355 fail:
18356 return NULL;
18357 }
18358
18359
18360 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
18361 PyObject *resultobj;
18362 wxPrintData *arg1 = (wxPrintData *) 0 ;
18363 double arg2 ;
18364 PyObject * obj0 = 0 ;
18365 PyObject * obj1 = 0 ;
18366 char *kwnames[] = {
18367 (char *) "self",(char *) "y", NULL
18368 };
18369
18370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18373 arg2 = (double) SWIG_AsDouble(obj1);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 {
18376 PyThreadState* __tstate = wxPyBeginAllowThreads();
18377 (arg1)->SetPrinterScaleY(arg2);
18378
18379 wxPyEndAllowThreads(__tstate);
18380 if (PyErr_Occurred()) SWIG_fail;
18381 }
18382 Py_INCREF(Py_None); resultobj = Py_None;
18383 return resultobj;
18384 fail:
18385 return NULL;
18386 }
18387
18388
18389 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
18390 PyObject *resultobj;
18391 wxPrintData *arg1 = (wxPrintData *) 0 ;
18392 double arg2 ;
18393 double arg3 ;
18394 PyObject * obj0 = 0 ;
18395 PyObject * obj1 = 0 ;
18396 PyObject * obj2 = 0 ;
18397 char *kwnames[] = {
18398 (char *) "self",(char *) "x",(char *) "y", NULL
18399 };
18400
18401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18404 arg2 = (double) SWIG_AsDouble(obj1);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 arg3 = (double) SWIG_AsDouble(obj2);
18407 if (PyErr_Occurred()) SWIG_fail;
18408 {
18409 PyThreadState* __tstate = wxPyBeginAllowThreads();
18410 (arg1)->SetPrinterScaling(arg2,arg3);
18411
18412 wxPyEndAllowThreads(__tstate);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 Py_INCREF(Py_None); resultobj = Py_None;
18416 return resultobj;
18417 fail:
18418 return NULL;
18419 }
18420
18421
18422 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
18423 PyObject *resultobj;
18424 wxPrintData *arg1 = (wxPrintData *) 0 ;
18425 long arg2 ;
18426 PyObject * obj0 = 0 ;
18427 PyObject * obj1 = 0 ;
18428 char *kwnames[] = {
18429 (char *) "self",(char *) "x", NULL
18430 };
18431
18432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18435 arg2 = (long) SWIG_AsLong(obj1);
18436 if (PyErr_Occurred()) SWIG_fail;
18437 {
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 (arg1)->SetPrinterTranslateX(arg2);
18440
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 Py_INCREF(Py_None); resultobj = Py_None;
18445 return resultobj;
18446 fail:
18447 return NULL;
18448 }
18449
18450
18451 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
18452 PyObject *resultobj;
18453 wxPrintData *arg1 = (wxPrintData *) 0 ;
18454 long arg2 ;
18455 PyObject * obj0 = 0 ;
18456 PyObject * obj1 = 0 ;
18457 char *kwnames[] = {
18458 (char *) "self",(char *) "y", NULL
18459 };
18460
18461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18464 arg2 = (long) SWIG_AsLong(obj1);
18465 if (PyErr_Occurred()) SWIG_fail;
18466 {
18467 PyThreadState* __tstate = wxPyBeginAllowThreads();
18468 (arg1)->SetPrinterTranslateY(arg2);
18469
18470 wxPyEndAllowThreads(__tstate);
18471 if (PyErr_Occurred()) SWIG_fail;
18472 }
18473 Py_INCREF(Py_None); resultobj = Py_None;
18474 return resultobj;
18475 fail:
18476 return NULL;
18477 }
18478
18479
18480 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
18481 PyObject *resultobj;
18482 wxPrintData *arg1 = (wxPrintData *) 0 ;
18483 long arg2 ;
18484 long arg3 ;
18485 PyObject * obj0 = 0 ;
18486 PyObject * obj1 = 0 ;
18487 PyObject * obj2 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self",(char *) "x",(char *) "y", NULL
18490 };
18491
18492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18495 arg2 = (long) SWIG_AsLong(obj1);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 arg3 = (long) SWIG_AsLong(obj2);
18498 if (PyErr_Occurred()) SWIG_fail;
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 (arg1)->SetPrinterTranslation(arg2,arg3);
18502
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 Py_INCREF(Py_None); resultobj = Py_None;
18507 return resultobj;
18508 fail:
18509 return NULL;
18510 }
18511
18512
18513 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
18514 PyObject *resultobj;
18515 wxPrintData *arg1 = (wxPrintData *) 0 ;
18516 int arg2 ;
18517 PyObject * obj0 = 0 ;
18518 PyObject * obj1 = 0 ;
18519 char *kwnames[] = {
18520 (char *) "self",(char *) "printMode", NULL
18521 };
18522
18523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18526 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 {
18529 PyThreadState* __tstate = wxPyBeginAllowThreads();
18530 (arg1)->SetPrintMode((wxPrintMode )arg2);
18531
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
18535 Py_INCREF(Py_None); resultobj = Py_None;
18536 return resultobj;
18537 fail:
18538 return NULL;
18539 }
18540
18541
18542 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj;
18544 wxPrintData *arg1 = (wxPrintData *) 0 ;
18545 wxOutputStream *result;
18546 PyObject * obj0 = 0 ;
18547 char *kwnames[] = {
18548 (char *) "self", NULL
18549 };
18550
18551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 result = (wxOutputStream *)(arg1)->GetOutputStream();
18557
18558 wxPyEndAllowThreads(__tstate);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18562 return resultobj;
18563 fail:
18564 return NULL;
18565 }
18566
18567
18568 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
18569 PyObject *resultobj;
18570 wxPrintData *arg1 = (wxPrintData *) 0 ;
18571 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18572 PyObject * obj0 = 0 ;
18573 PyObject * obj1 = 0 ;
18574 char *kwnames[] = {
18575 (char *) "self",(char *) "outputstream", NULL
18576 };
18577
18578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18583 {
18584 PyThreadState* __tstate = wxPyBeginAllowThreads();
18585 (arg1)->SetOutputStream(arg2);
18586
18587 wxPyEndAllowThreads(__tstate);
18588 if (PyErr_Occurred()) SWIG_fail;
18589 }
18590 Py_INCREF(Py_None); resultobj = Py_None;
18591 return resultobj;
18592 fail:
18593 return NULL;
18594 }
18595
18596
18597 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
18598 PyObject *obj;
18599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18600 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18601 Py_INCREF(obj);
18602 return Py_BuildValue((char *)"");
18603 }
18604 static PyObject *_wrap_new_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
18605 PyObject *resultobj;
18606 wxPageSetupDialogData *result;
18607 char *kwnames[] = {
18608 NULL
18609 };
18610
18611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18612 {
18613 PyThreadState* __tstate = wxPyBeginAllowThreads();
18614 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18615
18616 wxPyEndAllowThreads(__tstate);
18617 if (PyErr_Occurred()) SWIG_fail;
18618 }
18619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18620 return resultobj;
18621 fail:
18622 return NULL;
18623 }
18624
18625
18626 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
18627 PyObject *resultobj;
18628 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18629 PyObject * obj0 = 0 ;
18630 char *kwnames[] = {
18631 (char *) "self", NULL
18632 };
18633
18634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
18635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 delete arg1;
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 Py_INCREF(Py_None); resultobj = Py_None;
18645 return resultobj;
18646 fail:
18647 return NULL;
18648 }
18649
18650
18651 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18652 PyObject *resultobj;
18653 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18654 bool arg2 ;
18655 PyObject * obj0 = 0 ;
18656 PyObject * obj1 = 0 ;
18657 char *kwnames[] = {
18658 (char *) "self",(char *) "flag", NULL
18659 };
18660
18661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18664 arg2 = (bool) SWIG_AsBool(obj1);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 {
18667 PyThreadState* __tstate = wxPyBeginAllowThreads();
18668 (arg1)->EnableHelp(arg2);
18669
18670 wxPyEndAllowThreads(__tstate);
18671 if (PyErr_Occurred()) SWIG_fail;
18672 }
18673 Py_INCREF(Py_None); resultobj = Py_None;
18674 return resultobj;
18675 fail:
18676 return NULL;
18677 }
18678
18679
18680 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18681 PyObject *resultobj;
18682 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18683 bool arg2 ;
18684 PyObject * obj0 = 0 ;
18685 PyObject * obj1 = 0 ;
18686 char *kwnames[] = {
18687 (char *) "self",(char *) "flag", NULL
18688 };
18689
18690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
18691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18693 arg2 = (bool) SWIG_AsBool(obj1);
18694 if (PyErr_Occurred()) SWIG_fail;
18695 {
18696 PyThreadState* __tstate = wxPyBeginAllowThreads();
18697 (arg1)->EnableMargins(arg2);
18698
18699 wxPyEndAllowThreads(__tstate);
18700 if (PyErr_Occurred()) SWIG_fail;
18701 }
18702 Py_INCREF(Py_None); resultobj = Py_None;
18703 return resultobj;
18704 fail:
18705 return NULL;
18706 }
18707
18708
18709 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18710 PyObject *resultobj;
18711 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18712 bool arg2 ;
18713 PyObject * obj0 = 0 ;
18714 PyObject * obj1 = 0 ;
18715 char *kwnames[] = {
18716 (char *) "self",(char *) "flag", NULL
18717 };
18718
18719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
18720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18722 arg2 = (bool) SWIG_AsBool(obj1);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 {
18725 PyThreadState* __tstate = wxPyBeginAllowThreads();
18726 (arg1)->EnableOrientation(arg2);
18727
18728 wxPyEndAllowThreads(__tstate);
18729 if (PyErr_Occurred()) SWIG_fail;
18730 }
18731 Py_INCREF(Py_None); resultobj = Py_None;
18732 return resultobj;
18733 fail:
18734 return NULL;
18735 }
18736
18737
18738 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
18739 PyObject *resultobj;
18740 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18741 bool arg2 ;
18742 PyObject * obj0 = 0 ;
18743 PyObject * obj1 = 0 ;
18744 char *kwnames[] = {
18745 (char *) "self",(char *) "flag", NULL
18746 };
18747
18748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
18749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18751 arg2 = (bool) SWIG_AsBool(obj1);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 (arg1)->EnablePaper(arg2);
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 Py_INCREF(Py_None); resultobj = Py_None;
18761 return resultobj;
18762 fail:
18763 return NULL;
18764 }
18765
18766
18767 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
18768 PyObject *resultobj;
18769 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18770 bool arg2 ;
18771 PyObject * obj0 = 0 ;
18772 PyObject * obj1 = 0 ;
18773 char *kwnames[] = {
18774 (char *) "self",(char *) "flag", NULL
18775 };
18776
18777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
18778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18780 arg2 = (bool) SWIG_AsBool(obj1);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 {
18783 PyThreadState* __tstate = wxPyBeginAllowThreads();
18784 (arg1)->EnablePrinter(arg2);
18785
18786 wxPyEndAllowThreads(__tstate);
18787 if (PyErr_Occurred()) SWIG_fail;
18788 }
18789 Py_INCREF(Py_None); resultobj = Py_None;
18790 return resultobj;
18791 fail:
18792 return NULL;
18793 }
18794
18795
18796 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18797 PyObject *resultobj;
18798 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18799 bool result;
18800 PyObject * obj0 = 0 ;
18801 char *kwnames[] = {
18802 (char *) "self", NULL
18803 };
18804
18805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
18806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18808 {
18809 PyThreadState* __tstate = wxPyBeginAllowThreads();
18810 result = (bool)(arg1)->GetDefaultMinMargins();
18811
18812 wxPyEndAllowThreads(__tstate);
18813 if (PyErr_Occurred()) SWIG_fail;
18814 }
18815 {
18816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18817 }
18818 return resultobj;
18819 fail:
18820 return NULL;
18821 }
18822
18823
18824 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18825 PyObject *resultobj;
18826 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18827 bool result;
18828 PyObject * obj0 = 0 ;
18829 char *kwnames[] = {
18830 (char *) "self", NULL
18831 };
18832
18833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
18834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18836 {
18837 PyThreadState* __tstate = wxPyBeginAllowThreads();
18838 result = (bool)(arg1)->GetEnableMargins();
18839
18840 wxPyEndAllowThreads(__tstate);
18841 if (PyErr_Occurred()) SWIG_fail;
18842 }
18843 {
18844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18845 }
18846 return resultobj;
18847 fail:
18848 return NULL;
18849 }
18850
18851
18852 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18853 PyObject *resultobj;
18854 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18855 bool result;
18856 PyObject * obj0 = 0 ;
18857 char *kwnames[] = {
18858 (char *) "self", NULL
18859 };
18860
18861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
18862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 result = (bool)(arg1)->GetEnableOrientation();
18867
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 {
18872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18873 }
18874 return resultobj;
18875 fail:
18876 return NULL;
18877 }
18878
18879
18880 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
18881 PyObject *resultobj;
18882 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18883 bool result;
18884 PyObject * obj0 = 0 ;
18885 char *kwnames[] = {
18886 (char *) "self", NULL
18887 };
18888
18889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
18890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18892 {
18893 PyThreadState* __tstate = wxPyBeginAllowThreads();
18894 result = (bool)(arg1)->GetEnablePaper();
18895
18896 wxPyEndAllowThreads(__tstate);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 }
18899 {
18900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18901 }
18902 return resultobj;
18903 fail:
18904 return NULL;
18905 }
18906
18907
18908 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
18909 PyObject *resultobj;
18910 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18911 bool result;
18912 PyObject * obj0 = 0 ;
18913 char *kwnames[] = {
18914 (char *) "self", NULL
18915 };
18916
18917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
18918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18920 {
18921 PyThreadState* __tstate = wxPyBeginAllowThreads();
18922 result = (bool)(arg1)->GetEnablePrinter();
18923
18924 wxPyEndAllowThreads(__tstate);
18925 if (PyErr_Occurred()) SWIG_fail;
18926 }
18927 {
18928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18929 }
18930 return resultobj;
18931 fail:
18932 return NULL;
18933 }
18934
18935
18936 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18937 PyObject *resultobj;
18938 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18939 bool result;
18940 PyObject * obj0 = 0 ;
18941 char *kwnames[] = {
18942 (char *) "self", NULL
18943 };
18944
18945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18948 {
18949 PyThreadState* __tstate = wxPyBeginAllowThreads();
18950 result = (bool)(arg1)->GetEnableHelp();
18951
18952 wxPyEndAllowThreads(__tstate);
18953 if (PyErr_Occurred()) SWIG_fail;
18954 }
18955 {
18956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18957 }
18958 return resultobj;
18959 fail:
18960 return NULL;
18961 }
18962
18963
18964 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18965 PyObject *resultobj;
18966 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18967 bool result;
18968 PyObject * obj0 = 0 ;
18969 char *kwnames[] = {
18970 (char *) "self", NULL
18971 };
18972
18973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
18974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18976 {
18977 PyThreadState* __tstate = wxPyBeginAllowThreads();
18978 result = (bool)(arg1)->GetDefaultInfo();
18979
18980 wxPyEndAllowThreads(__tstate);
18981 if (PyErr_Occurred()) SWIG_fail;
18982 }
18983 {
18984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18985 }
18986 return resultobj;
18987 fail:
18988 return NULL;
18989 }
18990
18991
18992 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18995 wxPoint result;
18996 PyObject * obj0 = 0 ;
18997 char *kwnames[] = {
18998 (char *) "self", NULL
18999 };
19000
19001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19004 {
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 result = (arg1)->GetMarginTopLeft();
19007
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 {
19012 wxPoint * resultptr;
19013 resultptr = new wxPoint((wxPoint &) result);
19014 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19015 }
19016 return resultobj;
19017 fail:
19018 return NULL;
19019 }
19020
19021
19022 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
19023 PyObject *resultobj;
19024 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19025 wxPoint result;
19026 PyObject * obj0 = 0 ;
19027 char *kwnames[] = {
19028 (char *) "self", NULL
19029 };
19030
19031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19034 {
19035 PyThreadState* __tstate = wxPyBeginAllowThreads();
19036 result = (arg1)->GetMarginBottomRight();
19037
19038 wxPyEndAllowThreads(__tstate);
19039 if (PyErr_Occurred()) SWIG_fail;
19040 }
19041 {
19042 wxPoint * resultptr;
19043 resultptr = new wxPoint((wxPoint &) result);
19044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19045 }
19046 return resultobj;
19047 fail:
19048 return NULL;
19049 }
19050
19051
19052 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
19053 PyObject *resultobj;
19054 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19055 wxPoint result;
19056 PyObject * obj0 = 0 ;
19057 char *kwnames[] = {
19058 (char *) "self", NULL
19059 };
19060
19061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19064 {
19065 PyThreadState* __tstate = wxPyBeginAllowThreads();
19066 result = (arg1)->GetMinMarginTopLeft();
19067
19068 wxPyEndAllowThreads(__tstate);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 }
19071 {
19072 wxPoint * resultptr;
19073 resultptr = new wxPoint((wxPoint &) result);
19074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19075 }
19076 return resultobj;
19077 fail:
19078 return NULL;
19079 }
19080
19081
19082 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
19083 PyObject *resultobj;
19084 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19085 wxPoint result;
19086 PyObject * obj0 = 0 ;
19087 char *kwnames[] = {
19088 (char *) "self", NULL
19089 };
19090
19091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 result = (arg1)->GetMinMarginBottomRight();
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 {
19102 wxPoint * resultptr;
19103 resultptr = new wxPoint((wxPoint &) result);
19104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19105 }
19106 return resultobj;
19107 fail:
19108 return NULL;
19109 }
19110
19111
19112 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
19113 PyObject *resultobj;
19114 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19115 int result;
19116 PyObject * obj0 = 0 ;
19117 char *kwnames[] = {
19118 (char *) "self", NULL
19119 };
19120
19121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19124 {
19125 PyThreadState* __tstate = wxPyBeginAllowThreads();
19126 result = (int)(arg1)->GetPaperId();
19127
19128 wxPyEndAllowThreads(__tstate);
19129 if (PyErr_Occurred()) SWIG_fail;
19130 }
19131 resultobj = SWIG_FromInt((int)result);
19132 return resultobj;
19133 fail:
19134 return NULL;
19135 }
19136
19137
19138 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
19139 PyObject *resultobj;
19140 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19141 wxSize result;
19142 PyObject * obj0 = 0 ;
19143 char *kwnames[] = {
19144 (char *) "self", NULL
19145 };
19146
19147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19150 {
19151 PyThreadState* __tstate = wxPyBeginAllowThreads();
19152 result = (arg1)->GetPaperSize();
19153
19154 wxPyEndAllowThreads(__tstate);
19155 if (PyErr_Occurred()) SWIG_fail;
19156 }
19157 {
19158 wxSize * resultptr;
19159 resultptr = new wxSize((wxSize &) result);
19160 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19161 }
19162 return resultobj;
19163 fail:
19164 return NULL;
19165 }
19166
19167
19168 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
19169 PyObject *resultobj;
19170 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19171 wxPrintData *result;
19172 PyObject * obj0 = 0 ;
19173 char *kwnames[] = {
19174 (char *) "self", NULL
19175 };
19176
19177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19180 {
19181 PyThreadState* __tstate = wxPyBeginAllowThreads();
19182 {
19183 wxPrintData &_result_ref = (arg1)->GetPrintData();
19184 result = (wxPrintData *) &_result_ref;
19185 }
19186
19187 wxPyEndAllowThreads(__tstate);
19188 if (PyErr_Occurred()) SWIG_fail;
19189 }
19190 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19191 return resultobj;
19192 fail:
19193 return NULL;
19194 }
19195
19196
19197 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
19198 PyObject *resultobj;
19199 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19200 bool result;
19201 PyObject * obj0 = 0 ;
19202 char *kwnames[] = {
19203 (char *) "self", NULL
19204 };
19205
19206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 result = (bool)(arg1)->Ok();
19212
19213 wxPyEndAllowThreads(__tstate);
19214 if (PyErr_Occurred()) SWIG_fail;
19215 }
19216 {
19217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19218 }
19219 return resultobj;
19220 fail:
19221 return NULL;
19222 }
19223
19224
19225 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19226 PyObject *resultobj;
19227 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19228 bool arg2 ;
19229 PyObject * obj0 = 0 ;
19230 PyObject * obj1 = 0 ;
19231 char *kwnames[] = {
19232 (char *) "self",(char *) "flag", NULL
19233 };
19234
19235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19238 arg2 = (bool) SWIG_AsBool(obj1);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 (arg1)->SetDefaultInfo(arg2);
19243
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 Py_INCREF(Py_None); resultobj = Py_None;
19248 return resultobj;
19249 fail:
19250 return NULL;
19251 }
19252
19253
19254 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19257 bool arg2 ;
19258 PyObject * obj0 = 0 ;
19259 PyObject * obj1 = 0 ;
19260 char *kwnames[] = {
19261 (char *) "self",(char *) "flag", NULL
19262 };
19263
19264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19267 arg2 = (bool) SWIG_AsBool(obj1);
19268 if (PyErr_Occurred()) SWIG_fail;
19269 {
19270 PyThreadState* __tstate = wxPyBeginAllowThreads();
19271 (arg1)->SetDefaultMinMargins(arg2);
19272
19273 wxPyEndAllowThreads(__tstate);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 }
19276 Py_INCREF(Py_None); resultobj = Py_None;
19277 return resultobj;
19278 fail:
19279 return NULL;
19280 }
19281
19282
19283 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
19284 PyObject *resultobj;
19285 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19286 wxPoint *arg2 = 0 ;
19287 wxPoint temp2 ;
19288 PyObject * obj0 = 0 ;
19289 PyObject * obj1 = 0 ;
19290 char *kwnames[] = {
19291 (char *) "self",(char *) "pt", NULL
19292 };
19293
19294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19297 {
19298 arg2 = &temp2;
19299 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19300 }
19301 {
19302 PyThreadState* __tstate = wxPyBeginAllowThreads();
19303 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19304
19305 wxPyEndAllowThreads(__tstate);
19306 if (PyErr_Occurred()) SWIG_fail;
19307 }
19308 Py_INCREF(Py_None); resultobj = Py_None;
19309 return resultobj;
19310 fail:
19311 return NULL;
19312 }
19313
19314
19315 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19318 wxPoint *arg2 = 0 ;
19319 wxPoint temp2 ;
19320 PyObject * obj0 = 0 ;
19321 PyObject * obj1 = 0 ;
19322 char *kwnames[] = {
19323 (char *) "self",(char *) "pt", NULL
19324 };
19325
19326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19329 {
19330 arg2 = &temp2;
19331 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19332 }
19333 {
19334 PyThreadState* __tstate = wxPyBeginAllowThreads();
19335 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19336
19337 wxPyEndAllowThreads(__tstate);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 }
19340 Py_INCREF(Py_None); resultobj = Py_None;
19341 return resultobj;
19342 fail:
19343 return NULL;
19344 }
19345
19346
19347 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
19348 PyObject *resultobj;
19349 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19350 wxPoint *arg2 = 0 ;
19351 wxPoint temp2 ;
19352 PyObject * obj0 = 0 ;
19353 PyObject * obj1 = 0 ;
19354 char *kwnames[] = {
19355 (char *) "self",(char *) "pt", NULL
19356 };
19357
19358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19361 {
19362 arg2 = &temp2;
19363 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19364 }
19365 {
19366 PyThreadState* __tstate = wxPyBeginAllowThreads();
19367 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19368
19369 wxPyEndAllowThreads(__tstate);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 }
19372 Py_INCREF(Py_None); resultobj = Py_None;
19373 return resultobj;
19374 fail:
19375 return NULL;
19376 }
19377
19378
19379 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
19380 PyObject *resultobj;
19381 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19382 wxPoint *arg2 = 0 ;
19383 wxPoint temp2 ;
19384 PyObject * obj0 = 0 ;
19385 PyObject * obj1 = 0 ;
19386 char *kwnames[] = {
19387 (char *) "self",(char *) "pt", NULL
19388 };
19389
19390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19393 {
19394 arg2 = &temp2;
19395 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19396 }
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19400
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 Py_INCREF(Py_None); resultobj = Py_None;
19405 return resultobj;
19406 fail:
19407 return NULL;
19408 }
19409
19410
19411 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
19412 PyObject *resultobj;
19413 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19414 int arg2 ;
19415 PyObject * obj0 = 0 ;
19416 PyObject * obj1 = 0 ;
19417 char *kwnames[] = {
19418 (char *) "self",(char *) "id", NULL
19419 };
19420
19421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19424 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19425 if (PyErr_Occurred()) SWIG_fail;
19426 {
19427 PyThreadState* __tstate = wxPyBeginAllowThreads();
19428 (arg1)->SetPaperId((wxPaperSize )arg2);
19429
19430 wxPyEndAllowThreads(__tstate);
19431 if (PyErr_Occurred()) SWIG_fail;
19432 }
19433 Py_INCREF(Py_None); resultobj = Py_None;
19434 return resultobj;
19435 fail:
19436 return NULL;
19437 }
19438
19439
19440 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
19441 PyObject *resultobj;
19442 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19443 wxSize *arg2 = 0 ;
19444 wxSize temp2 ;
19445 PyObject * obj0 = 0 ;
19446 PyObject * obj1 = 0 ;
19447 char *kwnames[] = {
19448 (char *) "self",(char *) "size", NULL
19449 };
19450
19451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19454 {
19455 arg2 = &temp2;
19456 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19457 }
19458 {
19459 PyThreadState* __tstate = wxPyBeginAllowThreads();
19460 (arg1)->SetPaperSize((wxSize const &)*arg2);
19461
19462 wxPyEndAllowThreads(__tstate);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 }
19465 Py_INCREF(Py_None); resultobj = Py_None;
19466 return resultobj;
19467 fail:
19468 return NULL;
19469 }
19470
19471
19472 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
19473 PyObject *resultobj;
19474 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19475 wxPrintData *arg2 = 0 ;
19476 PyObject * obj0 = 0 ;
19477 PyObject * obj1 = 0 ;
19478 char *kwnames[] = {
19479 (char *) "self",(char *) "printData", NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19485 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19486 SWIG_POINTER_EXCEPTION | 0)) == -1)
19487 SWIG_fail;
19488 if (arg2 == NULL) {
19489 PyErr_SetString(PyExc_TypeError,"null reference");
19490 SWIG_fail;
19491 }
19492 {
19493 PyThreadState* __tstate = wxPyBeginAllowThreads();
19494 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19495
19496 wxPyEndAllowThreads(__tstate);
19497 if (PyErr_Occurred()) SWIG_fail;
19498 }
19499 Py_INCREF(Py_None); resultobj = Py_None;
19500 return resultobj;
19501 fail:
19502 return NULL;
19503 }
19504
19505
19506 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
19507 PyObject *obj;
19508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19509 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19510 Py_INCREF(obj);
19511 return Py_BuildValue((char *)"");
19512 }
19513 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19514 PyObject *resultobj;
19515 wxWindow *arg1 = (wxWindow *) 0 ;
19516 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19517 wxPageSetupDialog *result;
19518 PyObject * obj0 = 0 ;
19519 PyObject * obj1 = 0 ;
19520 char *kwnames[] = {
19521 (char *) "parent",(char *) "data", NULL
19522 };
19523
19524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19527 if (obj1) {
19528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19530 }
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19539 return resultobj;
19540 fail:
19541 return NULL;
19542 }
19543
19544
19545 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj;
19547 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19548 wxPageSetupDialogData *result;
19549 PyObject * obj0 = 0 ;
19550 char *kwnames[] = {
19551 (char *) "self", NULL
19552 };
19553
19554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19557 {
19558 PyThreadState* __tstate = wxPyBeginAllowThreads();
19559 {
19560 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19561 result = (wxPageSetupDialogData *) &_result_ref;
19562 }
19563
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19568 return resultobj;
19569 fail:
19570 return NULL;
19571 }
19572
19573
19574 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
19575 PyObject *resultobj;
19576 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19577 int result;
19578 PyObject * obj0 = 0 ;
19579 char *kwnames[] = {
19580 (char *) "self", NULL
19581 };
19582
19583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19586 {
19587 PyThreadState* __tstate = wxPyBeginAllowThreads();
19588 result = (int)(arg1)->ShowModal();
19589
19590 wxPyEndAllowThreads(__tstate);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
19593 resultobj = SWIG_FromInt((int)result);
19594 return resultobj;
19595 fail:
19596 return NULL;
19597 }
19598
19599
19600 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
19601 PyObject *obj;
19602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19603 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19604 Py_INCREF(obj);
19605 return Py_BuildValue((char *)"");
19606 }
19607 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
19608 PyObject *resultobj;
19609 wxPrintDialogData *result;
19610
19611 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19612 {
19613 PyThreadState* __tstate = wxPyBeginAllowThreads();
19614 result = (wxPrintDialogData *)new wxPrintDialogData();
19615
19616 wxPyEndAllowThreads(__tstate);
19617 if (PyErr_Occurred()) SWIG_fail;
19618 }
19619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19620 return resultobj;
19621 fail:
19622 return NULL;
19623 }
19624
19625
19626 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
19627 PyObject *resultobj;
19628 wxPrintData *arg1 = 0 ;
19629 wxPrintDialogData *result;
19630 PyObject * obj0 = 0 ;
19631
19632 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19634 SWIG_POINTER_EXCEPTION | 0)) == -1)
19635 SWIG_fail;
19636 if (arg1 == NULL) {
19637 PyErr_SetString(PyExc_TypeError,"null reference");
19638 SWIG_fail;
19639 }
19640 {
19641 PyThreadState* __tstate = wxPyBeginAllowThreads();
19642 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19643
19644 wxPyEndAllowThreads(__tstate);
19645 if (PyErr_Occurred()) SWIG_fail;
19646 }
19647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19648 return resultobj;
19649 fail:
19650 return NULL;
19651 }
19652
19653
19654 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19655 int argc;
19656 PyObject *argv[2];
19657 int ii;
19658
19659 argc = PyObject_Length(args);
19660 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19661 argv[ii] = PyTuple_GetItem(args,ii);
19662 }
19663 if (argc == 0) {
19664 return _wrap_new_PrintDialogData__SWIG_0(self,args);
19665 }
19666 if (argc == 1) {
19667 int _v;
19668 {
19669 void *ptr;
19670 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
19671 _v = 0;
19672 PyErr_Clear();
19673 } else {
19674 _v = 1;
19675 }
19676 }
19677 if (_v) {
19678 return _wrap_new_PrintDialogData__SWIG_1(self,args);
19679 }
19680 }
19681
19682 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
19683 return NULL;
19684 }
19685
19686
19687 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19688 PyObject *resultobj;
19689 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19690 PyObject * obj0 = 0 ;
19691 char *kwnames[] = {
19692 (char *) "self", NULL
19693 };
19694
19695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
19696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19698 {
19699 PyThreadState* __tstate = wxPyBeginAllowThreads();
19700 delete arg1;
19701
19702 wxPyEndAllowThreads(__tstate);
19703 if (PyErr_Occurred()) SWIG_fail;
19704 }
19705 Py_INCREF(Py_None); resultobj = Py_None;
19706 return resultobj;
19707 fail:
19708 return NULL;
19709 }
19710
19711
19712 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
19713 PyObject *resultobj;
19714 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19715 int result;
19716 PyObject * obj0 = 0 ;
19717 char *kwnames[] = {
19718 (char *) "self", NULL
19719 };
19720
19721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
19722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19724 {
19725 PyThreadState* __tstate = wxPyBeginAllowThreads();
19726 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
19727
19728 wxPyEndAllowThreads(__tstate);
19729 if (PyErr_Occurred()) SWIG_fail;
19730 }
19731 resultobj = SWIG_FromInt((int)result);
19732 return resultobj;
19733 fail:
19734 return NULL;
19735 }
19736
19737
19738 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
19739 PyObject *resultobj;
19740 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19741 int result;
19742 PyObject * obj0 = 0 ;
19743 char *kwnames[] = {
19744 (char *) "self", NULL
19745 };
19746
19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
19748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19750 {
19751 PyThreadState* __tstate = wxPyBeginAllowThreads();
19752 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
19753
19754 wxPyEndAllowThreads(__tstate);
19755 if (PyErr_Occurred()) SWIG_fail;
19756 }
19757 resultobj = SWIG_FromInt((int)result);
19758 return resultobj;
19759 fail:
19760 return NULL;
19761 }
19762
19763
19764 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
19765 PyObject *resultobj;
19766 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19767 int result;
19768 PyObject * obj0 = 0 ;
19769 char *kwnames[] = {
19770 (char *) "self", NULL
19771 };
19772
19773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
19774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
19778 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
19779
19780 wxPyEndAllowThreads(__tstate);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 }
19783 resultobj = SWIG_FromInt((int)result);
19784 return resultobj;
19785 fail:
19786 return NULL;
19787 }
19788
19789
19790 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
19791 PyObject *resultobj;
19792 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19793 int result;
19794 PyObject * obj0 = 0 ;
19795 char *kwnames[] = {
19796 (char *) "self", NULL
19797 };
19798
19799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
19800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19802 {
19803 PyThreadState* __tstate = wxPyBeginAllowThreads();
19804 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
19805
19806 wxPyEndAllowThreads(__tstate);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 resultobj = SWIG_FromInt((int)result);
19810 return resultobj;
19811 fail:
19812 return NULL;
19813 }
19814
19815
19816 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
19817 PyObject *resultobj;
19818 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19819 int result;
19820 PyObject * obj0 = 0 ;
19821 char *kwnames[] = {
19822 (char *) "self", NULL
19823 };
19824
19825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
19826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19828 {
19829 PyThreadState* __tstate = wxPyBeginAllowThreads();
19830 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
19831
19832 wxPyEndAllowThreads(__tstate);
19833 if (PyErr_Occurred()) SWIG_fail;
19834 }
19835 resultobj = SWIG_FromInt((int)result);
19836 return resultobj;
19837 fail:
19838 return NULL;
19839 }
19840
19841
19842 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
19843 PyObject *resultobj;
19844 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19845 bool result;
19846 PyObject * obj0 = 0 ;
19847 char *kwnames[] = {
19848 (char *) "self", NULL
19849 };
19850
19851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
19852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19854 {
19855 PyThreadState* __tstate = wxPyBeginAllowThreads();
19856 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
19857
19858 wxPyEndAllowThreads(__tstate);
19859 if (PyErr_Occurred()) SWIG_fail;
19860 }
19861 {
19862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19863 }
19864 return resultobj;
19865 fail:
19866 return NULL;
19867 }
19868
19869
19870 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
19871 PyObject *resultobj;
19872 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19873 bool result;
19874 PyObject * obj0 = 0 ;
19875 char *kwnames[] = {
19876 (char *) "self", NULL
19877 };
19878
19879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
19880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
19885
19886 wxPyEndAllowThreads(__tstate);
19887 if (PyErr_Occurred()) SWIG_fail;
19888 }
19889 {
19890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19891 }
19892 return resultobj;
19893 fail:
19894 return NULL;
19895 }
19896
19897
19898 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
19899 PyObject *resultobj;
19900 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19901 bool result;
19902 PyObject * obj0 = 0 ;
19903 char *kwnames[] = {
19904 (char *) "self", NULL
19905 };
19906
19907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
19908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19910 {
19911 PyThreadState* __tstate = wxPyBeginAllowThreads();
19912 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
19913
19914 wxPyEndAllowThreads(__tstate);
19915 if (PyErr_Occurred()) SWIG_fail;
19916 }
19917 {
19918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19919 }
19920 return resultobj;
19921 fail:
19922 return NULL;
19923 }
19924
19925
19926 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
19927 PyObject *resultobj;
19928 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19929 bool result;
19930 PyObject * obj0 = 0 ;
19931 char *kwnames[] = {
19932 (char *) "self", NULL
19933 };
19934
19935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
19936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19938 {
19939 PyThreadState* __tstate = wxPyBeginAllowThreads();
19940 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
19941
19942 wxPyEndAllowThreads(__tstate);
19943 if (PyErr_Occurred()) SWIG_fail;
19944 }
19945 {
19946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19947 }
19948 return resultobj;
19949 fail:
19950 return NULL;
19951 }
19952
19953
19954 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19955 PyObject *resultobj;
19956 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19957 bool result;
19958 PyObject * obj0 = 0 ;
19959 char *kwnames[] = {
19960 (char *) "self", NULL
19961 };
19962
19963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
19964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19966 {
19967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19968 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
19969
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 {
19974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19975 }
19976 return resultobj;
19977 fail:
19978 return NULL;
19979 }
19980
19981
19982 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
19983 PyObject *resultobj;
19984 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19985 int arg2 ;
19986 PyObject * obj0 = 0 ;
19987 PyObject * obj1 = 0 ;
19988 char *kwnames[] = {
19989 (char *) "self",(char *) "v", NULL
19990 };
19991
19992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
19993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19995 arg2 = (int) SWIG_AsInt(obj1);
19996 if (PyErr_Occurred()) SWIG_fail;
19997 {
19998 PyThreadState* __tstate = wxPyBeginAllowThreads();
19999 (arg1)->SetFromPage(arg2);
20000
20001 wxPyEndAllowThreads(__tstate);
20002 if (PyErr_Occurred()) SWIG_fail;
20003 }
20004 Py_INCREF(Py_None); resultobj = Py_None;
20005 return resultobj;
20006 fail:
20007 return NULL;
20008 }
20009
20010
20011 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
20012 PyObject *resultobj;
20013 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20014 int arg2 ;
20015 PyObject * obj0 = 0 ;
20016 PyObject * obj1 = 0 ;
20017 char *kwnames[] = {
20018 (char *) "self",(char *) "v", NULL
20019 };
20020
20021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20024 arg2 = (int) SWIG_AsInt(obj1);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 (arg1)->SetToPage(arg2);
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 Py_INCREF(Py_None); resultobj = Py_None;
20034 return resultobj;
20035 fail:
20036 return NULL;
20037 }
20038
20039
20040 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
20041 PyObject *resultobj;
20042 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20043 int arg2 ;
20044 PyObject * obj0 = 0 ;
20045 PyObject * obj1 = 0 ;
20046 char *kwnames[] = {
20047 (char *) "self",(char *) "v", NULL
20048 };
20049
20050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20053 arg2 = (int) SWIG_AsInt(obj1);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 {
20056 PyThreadState* __tstate = wxPyBeginAllowThreads();
20057 (arg1)->SetMinPage(arg2);
20058
20059 wxPyEndAllowThreads(__tstate);
20060 if (PyErr_Occurred()) SWIG_fail;
20061 }
20062 Py_INCREF(Py_None); resultobj = Py_None;
20063 return resultobj;
20064 fail:
20065 return NULL;
20066 }
20067
20068
20069 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
20070 PyObject *resultobj;
20071 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20072 int arg2 ;
20073 PyObject * obj0 = 0 ;
20074 PyObject * obj1 = 0 ;
20075 char *kwnames[] = {
20076 (char *) "self",(char *) "v", NULL
20077 };
20078
20079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20082 arg2 = (int) SWIG_AsInt(obj1);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 {
20085 PyThreadState* __tstate = wxPyBeginAllowThreads();
20086 (arg1)->SetMaxPage(arg2);
20087
20088 wxPyEndAllowThreads(__tstate);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 }
20091 Py_INCREF(Py_None); resultobj = Py_None;
20092 return resultobj;
20093 fail:
20094 return NULL;
20095 }
20096
20097
20098 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20099 PyObject *resultobj;
20100 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20101 int arg2 ;
20102 PyObject * obj0 = 0 ;
20103 PyObject * obj1 = 0 ;
20104 char *kwnames[] = {
20105 (char *) "self",(char *) "v", NULL
20106 };
20107
20108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20111 arg2 = (int) SWIG_AsInt(obj1);
20112 if (PyErr_Occurred()) SWIG_fail;
20113 {
20114 PyThreadState* __tstate = wxPyBeginAllowThreads();
20115 (arg1)->SetNoCopies(arg2);
20116
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 Py_INCREF(Py_None); resultobj = Py_None;
20121 return resultobj;
20122 fail:
20123 return NULL;
20124 }
20125
20126
20127 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
20128 PyObject *resultobj;
20129 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20130 bool arg2 ;
20131 PyObject * obj0 = 0 ;
20132 PyObject * obj1 = 0 ;
20133 char *kwnames[] = {
20134 (char *) "self",(char *) "flag", NULL
20135 };
20136
20137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20140 arg2 = (bool) SWIG_AsBool(obj1);
20141 if (PyErr_Occurred()) SWIG_fail;
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 (arg1)->SetAllPages(arg2);
20145
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 Py_INCREF(Py_None); resultobj = Py_None;
20150 return resultobj;
20151 fail:
20152 return NULL;
20153 }
20154
20155
20156 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20157 PyObject *resultobj;
20158 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20159 bool arg2 ;
20160 PyObject * obj0 = 0 ;
20161 PyObject * obj1 = 0 ;
20162 char *kwnames[] = {
20163 (char *) "self",(char *) "flag", NULL
20164 };
20165
20166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20169 arg2 = (bool) SWIG_AsBool(obj1);
20170 if (PyErr_Occurred()) SWIG_fail;
20171 {
20172 PyThreadState* __tstate = wxPyBeginAllowThreads();
20173 (arg1)->SetSelection(arg2);
20174
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
20178 Py_INCREF(Py_None); resultobj = Py_None;
20179 return resultobj;
20180 fail:
20181 return NULL;
20182 }
20183
20184
20185 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20186 PyObject *resultobj;
20187 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20188 bool arg2 ;
20189 PyObject * obj0 = 0 ;
20190 PyObject * obj1 = 0 ;
20191 char *kwnames[] = {
20192 (char *) "self",(char *) "flag", NULL
20193 };
20194
20195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20198 arg2 = (bool) SWIG_AsBool(obj1);
20199 if (PyErr_Occurred()) SWIG_fail;
20200 {
20201 PyThreadState* __tstate = wxPyBeginAllowThreads();
20202 (arg1)->SetCollate(arg2);
20203
20204 wxPyEndAllowThreads(__tstate);
20205 if (PyErr_Occurred()) SWIG_fail;
20206 }
20207 Py_INCREF(Py_None); resultobj = Py_None;
20208 return resultobj;
20209 fail:
20210 return NULL;
20211 }
20212
20213
20214 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
20215 PyObject *resultobj;
20216 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20217 bool arg2 ;
20218 PyObject * obj0 = 0 ;
20219 PyObject * obj1 = 0 ;
20220 char *kwnames[] = {
20221 (char *) "self",(char *) "flag", NULL
20222 };
20223
20224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20227 arg2 = (bool) SWIG_AsBool(obj1);
20228 if (PyErr_Occurred()) SWIG_fail;
20229 {
20230 PyThreadState* __tstate = wxPyBeginAllowThreads();
20231 (arg1)->SetPrintToFile(arg2);
20232
20233 wxPyEndAllowThreads(__tstate);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 }
20236 Py_INCREF(Py_None); resultobj = Py_None;
20237 return resultobj;
20238 fail:
20239 return NULL;
20240 }
20241
20242
20243 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20244 PyObject *resultobj;
20245 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20246 bool arg2 ;
20247 PyObject * obj0 = 0 ;
20248 PyObject * obj1 = 0 ;
20249 char *kwnames[] = {
20250 (char *) "self",(char *) "flag", NULL
20251 };
20252
20253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20256 arg2 = (bool) SWIG_AsBool(obj1);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 {
20259 PyThreadState* __tstate = wxPyBeginAllowThreads();
20260 (arg1)->SetSetupDialog(arg2);
20261
20262 wxPyEndAllowThreads(__tstate);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 }
20265 Py_INCREF(Py_None); resultobj = Py_None;
20266 return resultobj;
20267 fail:
20268 return NULL;
20269 }
20270
20271
20272 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
20273 PyObject *resultobj;
20274 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20275 bool arg2 ;
20276 PyObject * obj0 = 0 ;
20277 PyObject * obj1 = 0 ;
20278 char *kwnames[] = {
20279 (char *) "self",(char *) "flag", NULL
20280 };
20281
20282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20285 arg2 = (bool) SWIG_AsBool(obj1);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 {
20288 PyThreadState* __tstate = wxPyBeginAllowThreads();
20289 (arg1)->EnablePrintToFile(arg2);
20290
20291 wxPyEndAllowThreads(__tstate);
20292 if (PyErr_Occurred()) SWIG_fail;
20293 }
20294 Py_INCREF(Py_None); resultobj = Py_None;
20295 return resultobj;
20296 fail:
20297 return NULL;
20298 }
20299
20300
20301 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20302 PyObject *resultobj;
20303 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20304 bool arg2 ;
20305 PyObject * obj0 = 0 ;
20306 PyObject * obj1 = 0 ;
20307 char *kwnames[] = {
20308 (char *) "self",(char *) "flag", NULL
20309 };
20310
20311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20314 arg2 = (bool) SWIG_AsBool(obj1);
20315 if (PyErr_Occurred()) SWIG_fail;
20316 {
20317 PyThreadState* __tstate = wxPyBeginAllowThreads();
20318 (arg1)->EnableSelection(arg2);
20319
20320 wxPyEndAllowThreads(__tstate);
20321 if (PyErr_Occurred()) SWIG_fail;
20322 }
20323 Py_INCREF(Py_None); resultobj = Py_None;
20324 return resultobj;
20325 fail:
20326 return NULL;
20327 }
20328
20329
20330 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
20331 PyObject *resultobj;
20332 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20333 bool arg2 ;
20334 PyObject * obj0 = 0 ;
20335 PyObject * obj1 = 0 ;
20336 char *kwnames[] = {
20337 (char *) "self",(char *) "flag", NULL
20338 };
20339
20340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20343 arg2 = (bool) SWIG_AsBool(obj1);
20344 if (PyErr_Occurred()) SWIG_fail;
20345 {
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 (arg1)->EnablePageNumbers(arg2);
20348
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
20352 Py_INCREF(Py_None); resultobj = Py_None;
20353 return resultobj;
20354 fail:
20355 return NULL;
20356 }
20357
20358
20359 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20360 PyObject *resultobj;
20361 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20362 bool arg2 ;
20363 PyObject * obj0 = 0 ;
20364 PyObject * obj1 = 0 ;
20365 char *kwnames[] = {
20366 (char *) "self",(char *) "flag", NULL
20367 };
20368
20369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20372 arg2 = (bool) SWIG_AsBool(obj1);
20373 if (PyErr_Occurred()) SWIG_fail;
20374 {
20375 PyThreadState* __tstate = wxPyBeginAllowThreads();
20376 (arg1)->EnableHelp(arg2);
20377
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 Py_INCREF(Py_None); resultobj = Py_None;
20382 return resultobj;
20383 fail:
20384 return NULL;
20385 }
20386
20387
20388 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
20389 PyObject *resultobj;
20390 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20391 bool result;
20392 PyObject * obj0 = 0 ;
20393 char *kwnames[] = {
20394 (char *) "self", NULL
20395 };
20396
20397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20400 {
20401 PyThreadState* __tstate = wxPyBeginAllowThreads();
20402 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20403
20404 wxPyEndAllowThreads(__tstate);
20405 if (PyErr_Occurred()) SWIG_fail;
20406 }
20407 {
20408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20409 }
20410 return resultobj;
20411 fail:
20412 return NULL;
20413 }
20414
20415
20416 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20417 PyObject *resultobj;
20418 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20419 bool result;
20420 PyObject * obj0 = 0 ;
20421 char *kwnames[] = {
20422 (char *) "self", NULL
20423 };
20424
20425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20431
20432 wxPyEndAllowThreads(__tstate);
20433 if (PyErr_Occurred()) SWIG_fail;
20434 }
20435 {
20436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20437 }
20438 return resultobj;
20439 fail:
20440 return NULL;
20441 }
20442
20443
20444 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
20445 PyObject *resultobj;
20446 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20447 bool result;
20448 PyObject * obj0 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 {
20464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20465 }
20466 return resultobj;
20467 fail:
20468 return NULL;
20469 }
20470
20471
20472 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20473 PyObject *resultobj;
20474 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20475 bool result;
20476 PyObject * obj0 = 0 ;
20477 char *kwnames[] = {
20478 (char *) "self", NULL
20479 };
20480
20481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20484 {
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
20486 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
20491 {
20492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20493 }
20494 return resultobj;
20495 fail:
20496 return NULL;
20497 }
20498
20499
20500 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20501 PyObject *resultobj;
20502 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20503 bool result;
20504 PyObject * obj0 = 0 ;
20505 char *kwnames[] = {
20506 (char *) "self", NULL
20507 };
20508
20509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20512 {
20513 PyThreadState* __tstate = wxPyBeginAllowThreads();
20514 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20515
20516 wxPyEndAllowThreads(__tstate);
20517 if (PyErr_Occurred()) SWIG_fail;
20518 }
20519 {
20520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20521 }
20522 return resultobj;
20523 fail:
20524 return NULL;
20525 }
20526
20527
20528 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20529 PyObject *resultobj;
20530 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20531 wxPrintData *result;
20532 PyObject * obj0 = 0 ;
20533 char *kwnames[] = {
20534 (char *) "self", NULL
20535 };
20536
20537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20540 {
20541 PyThreadState* __tstate = wxPyBeginAllowThreads();
20542 {
20543 wxPrintData &_result_ref = (arg1)->GetPrintData();
20544 result = (wxPrintData *) &_result_ref;
20545 }
20546
20547 wxPyEndAllowThreads(__tstate);
20548 if (PyErr_Occurred()) SWIG_fail;
20549 }
20550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20551 return resultobj;
20552 fail:
20553 return NULL;
20554 }
20555
20556
20557 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20558 PyObject *resultobj;
20559 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20560 wxPrintData *arg2 = 0 ;
20561 PyObject * obj0 = 0 ;
20562 PyObject * obj1 = 0 ;
20563 char *kwnames[] = {
20564 (char *) "self",(char *) "printData", NULL
20565 };
20566
20567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20571 SWIG_POINTER_EXCEPTION | 0)) == -1)
20572 SWIG_fail;
20573 if (arg2 == NULL) {
20574 PyErr_SetString(PyExc_TypeError,"null reference");
20575 SWIG_fail;
20576 }
20577 {
20578 PyThreadState* __tstate = wxPyBeginAllowThreads();
20579 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20580
20581 wxPyEndAllowThreads(__tstate);
20582 if (PyErr_Occurred()) SWIG_fail;
20583 }
20584 Py_INCREF(Py_None); resultobj = Py_None;
20585 return resultobj;
20586 fail:
20587 return NULL;
20588 }
20589
20590
20591 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
20592 PyObject *obj;
20593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20594 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20595 Py_INCREF(obj);
20596 return Py_BuildValue((char *)"");
20597 }
20598 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20599 PyObject *resultobj;
20600 wxWindow *arg1 = (wxWindow *) 0 ;
20601 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20602 wxPrintDialog *result;
20603 PyObject * obj0 = 0 ;
20604 PyObject * obj1 = 0 ;
20605 char *kwnames[] = {
20606 (char *) "parent",(char *) "data", NULL
20607 };
20608
20609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20612 if (obj1) {
20613 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20615 }
20616 {
20617 PyThreadState* __tstate = wxPyBeginAllowThreads();
20618 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20619
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
20623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20624 return resultobj;
20625 fail:
20626 return NULL;
20627 }
20628
20629
20630 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20631 PyObject *resultobj;
20632 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20633 wxPrintDialogData *result;
20634 PyObject * obj0 = 0 ;
20635 char *kwnames[] = {
20636 (char *) "self", NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
20640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20642 {
20643 PyThreadState* __tstate = wxPyBeginAllowThreads();
20644 {
20645 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20646 result = (wxPrintDialogData *) &_result_ref;
20647 }
20648
20649 wxPyEndAllowThreads(__tstate);
20650 if (PyErr_Occurred()) SWIG_fail;
20651 }
20652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20653 return resultobj;
20654 fail:
20655 return NULL;
20656 }
20657
20658
20659 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
20660 PyObject *resultobj;
20661 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20662 wxDC *result;
20663 PyObject * obj0 = 0 ;
20664 char *kwnames[] = {
20665 (char *) "self", NULL
20666 };
20667
20668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
20669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20671 {
20672 PyThreadState* __tstate = wxPyBeginAllowThreads();
20673 result = (wxDC *)(arg1)->GetPrintDC();
20674
20675 wxPyEndAllowThreads(__tstate);
20676 if (PyErr_Occurred()) SWIG_fail;
20677 }
20678 {
20679 resultobj = wxPyMake_wxObject(result);
20680 }
20681 return resultobj;
20682 fail:
20683 return NULL;
20684 }
20685
20686
20687 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20688 PyObject *resultobj;
20689 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20690 int result;
20691 PyObject * obj0 = 0 ;
20692 char *kwnames[] = {
20693 (char *) "self", NULL
20694 };
20695
20696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
20697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20699 {
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 result = (int)(arg1)->ShowModal();
20702
20703 wxPyEndAllowThreads(__tstate);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
20706 resultobj = SWIG_FromInt((int)result);
20707 return resultobj;
20708 fail:
20709 return NULL;
20710 }
20711
20712
20713 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
20714 PyObject *obj;
20715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20716 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
20717 Py_INCREF(obj);
20718 return Py_BuildValue((char *)"");
20719 }
20720 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
20721 PyObject *resultobj;
20722 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
20723 wxPrinter *result;
20724 PyObject * obj0 = 0 ;
20725 char *kwnames[] = {
20726 (char *) "data", NULL
20727 };
20728
20729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
20730 if (obj0) {
20731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20733 }
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 result = (wxPrinter *)new wxPrinter(arg1);
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
20742 return resultobj;
20743 fail:
20744 return NULL;
20745 }
20746
20747
20748 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
20749 PyObject *resultobj;
20750 wxPrinter *arg1 = (wxPrinter *) 0 ;
20751 PyObject * obj0 = 0 ;
20752 char *kwnames[] = {
20753 (char *) "self", NULL
20754 };
20755
20756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
20757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20759 {
20760 PyThreadState* __tstate = wxPyBeginAllowThreads();
20761 delete arg1;
20762
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
20766 Py_INCREF(Py_None); resultobj = Py_None;
20767 return resultobj;
20768 fail:
20769 return NULL;
20770 }
20771
20772
20773 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20774 PyObject *resultobj;
20775 wxPrinter *arg1 = (wxPrinter *) 0 ;
20776 wxWindow *arg2 = (wxWindow *) 0 ;
20777 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20778 PyObject * obj0 = 0 ;
20779 PyObject * obj1 = 0 ;
20780 PyObject * obj2 = 0 ;
20781 char *kwnames[] = {
20782 (char *) "self",(char *) "parent",(char *) "printout", NULL
20783 };
20784
20785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
20786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20790 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20792 {
20793 PyThreadState* __tstate = wxPyBeginAllowThreads();
20794 (arg1)->CreateAbortWindow(arg2,arg3);
20795
20796 wxPyEndAllowThreads(__tstate);
20797 if (PyErr_Occurred()) SWIG_fail;
20798 }
20799 Py_INCREF(Py_None); resultobj = Py_None;
20800 return resultobj;
20801 fail:
20802 return NULL;
20803 }
20804
20805
20806 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20807 PyObject *resultobj;
20808 wxPrinter *arg1 = (wxPrinter *) 0 ;
20809 wxPrintDialogData *result;
20810 PyObject * obj0 = 0 ;
20811 char *kwnames[] = {
20812 (char *) "self", NULL
20813 };
20814
20815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
20816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 {
20821 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20822 result = (wxPrintDialogData *) &_result_ref;
20823 }
20824
20825 wxPyEndAllowThreads(__tstate);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 }
20828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20829 return resultobj;
20830 fail:
20831 return NULL;
20832 }
20833
20834
20835 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
20836 PyObject *resultobj;
20837 wxPrinter *arg1 = (wxPrinter *) 0 ;
20838 wxWindow *arg2 = (wxWindow *) 0 ;
20839 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20840 int arg4 = (int) True ;
20841 bool result;
20842 PyObject * obj0 = 0 ;
20843 PyObject * obj1 = 0 ;
20844 PyObject * obj2 = 0 ;
20845 PyObject * obj3 = 0 ;
20846 char *kwnames[] = {
20847 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
20848 };
20849
20850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20855 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20857 if (obj3) {
20858 arg4 = (int) SWIG_AsInt(obj3);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 {
20862 PyThreadState* __tstate = wxPyBeginAllowThreads();
20863 result = (bool)(arg1)->Print(arg2,arg3,arg4);
20864
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 {
20869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20870 }
20871 return resultobj;
20872 fail:
20873 return NULL;
20874 }
20875
20876
20877 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20878 PyObject *resultobj;
20879 wxPrinter *arg1 = (wxPrinter *) 0 ;
20880 wxWindow *arg2 = (wxWindow *) 0 ;
20881 wxDC *result;
20882 PyObject * obj0 = 0 ;
20883 PyObject * obj1 = 0 ;
20884 char *kwnames[] = {
20885 (char *) "self",(char *) "parent", NULL
20886 };
20887
20888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 result = (wxDC *)(arg1)->PrintDialog(arg2);
20896
20897 wxPyEndAllowThreads(__tstate);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 }
20900 {
20901 resultobj = wxPyMake_wxObject(result);
20902 }
20903 return resultobj;
20904 fail:
20905 return NULL;
20906 }
20907
20908
20909 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
20910 PyObject *resultobj;
20911 wxPrinter *arg1 = (wxPrinter *) 0 ;
20912 wxWindow *arg2 = (wxWindow *) 0 ;
20913 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20914 wxString *arg4 = 0 ;
20915 bool temp4 = False ;
20916 PyObject * obj0 = 0 ;
20917 PyObject * obj1 = 0 ;
20918 PyObject * obj2 = 0 ;
20919 PyObject * obj3 = 0 ;
20920 char *kwnames[] = {
20921 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20922 };
20923
20924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20927 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20929 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20931 {
20932 arg4 = wxString_in_helper(obj3);
20933 if (arg4 == NULL) SWIG_fail;
20934 temp4 = True;
20935 }
20936 {
20937 PyThreadState* __tstate = wxPyBeginAllowThreads();
20938 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
20939
20940 wxPyEndAllowThreads(__tstate);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 }
20943 Py_INCREF(Py_None); resultobj = Py_None;
20944 {
20945 if (temp4)
20946 delete arg4;
20947 }
20948 return resultobj;
20949 fail:
20950 {
20951 if (temp4)
20952 delete arg4;
20953 }
20954 return NULL;
20955 }
20956
20957
20958 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
20959 PyObject *resultobj;
20960 wxPrinter *arg1 = (wxPrinter *) 0 ;
20961 wxWindow *arg2 = (wxWindow *) 0 ;
20962 bool result;
20963 PyObject * obj0 = 0 ;
20964 PyObject * obj1 = 0 ;
20965 char *kwnames[] = {
20966 (char *) "self",(char *) "parent", NULL
20967 };
20968
20969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
20970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20972 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20974 {
20975 PyThreadState* __tstate = wxPyBeginAllowThreads();
20976 result = (bool)(arg1)->Setup(arg2);
20977
20978 wxPyEndAllowThreads(__tstate);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 }
20981 {
20982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20983 }
20984 return resultobj;
20985 fail:
20986 return NULL;
20987 }
20988
20989
20990 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
20991 PyObject *resultobj;
20992 wxPrinter *arg1 = (wxPrinter *) 0 ;
20993 bool result;
20994 PyObject * obj0 = 0 ;
20995 char *kwnames[] = {
20996 (char *) "self", NULL
20997 };
20998
20999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21002 {
21003 PyThreadState* __tstate = wxPyBeginAllowThreads();
21004 result = (bool)(arg1)->GetAbort();
21005
21006 wxPyEndAllowThreads(__tstate);
21007 if (PyErr_Occurred()) SWIG_fail;
21008 }
21009 {
21010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21011 }
21012 return resultobj;
21013 fail:
21014 return NULL;
21015 }
21016
21017
21018 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
21019 PyObject *resultobj;
21020 int result;
21021 char *kwnames[] = {
21022 NULL
21023 };
21024
21025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21026 {
21027 PyThreadState* __tstate = wxPyBeginAllowThreads();
21028 result = (int)wxPrinter::GetLastError();
21029
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 resultobj = SWIG_FromInt((int)result);
21034 return resultobj;
21035 fail:
21036 return NULL;
21037 }
21038
21039
21040 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
21041 PyObject *obj;
21042 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21043 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21044 Py_INCREF(obj);
21045 return Py_BuildValue((char *)"");
21046 }
21047 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
21048 PyObject *resultobj;
21049 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21050 wxString *arg1 = (wxString *) &arg1_defvalue ;
21051 wxPyPrintout *result;
21052 bool temp1 = False ;
21053 PyObject * obj0 = 0 ;
21054 char *kwnames[] = {
21055 (char *) "title", NULL
21056 };
21057
21058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21059 if (obj0) {
21060 {
21061 arg1 = wxString_in_helper(obj0);
21062 if (arg1 == NULL) SWIG_fail;
21063 temp1 = True;
21064 }
21065 }
21066 {
21067 PyThreadState* __tstate = wxPyBeginAllowThreads();
21068 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21069
21070 wxPyEndAllowThreads(__tstate);
21071 if (PyErr_Occurred()) SWIG_fail;
21072 }
21073 {
21074 resultobj = wxPyMake_wxObject(result);
21075 }
21076 {
21077 if (temp1)
21078 delete arg1;
21079 }
21080 return resultobj;
21081 fail:
21082 {
21083 if (temp1)
21084 delete arg1;
21085 }
21086 return NULL;
21087 }
21088
21089
21090 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21091 PyObject *resultobj;
21092 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21093 PyObject *arg2 = (PyObject *) 0 ;
21094 PyObject *arg3 = (PyObject *) 0 ;
21095 PyObject * obj0 = 0 ;
21096 PyObject * obj1 = 0 ;
21097 PyObject * obj2 = 0 ;
21098 char *kwnames[] = {
21099 (char *) "self",(char *) "self",(char *) "_class", NULL
21100 };
21101
21102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21105 arg2 = obj1;
21106 arg3 = obj2;
21107 {
21108 PyThreadState* __tstate = wxPyBeginAllowThreads();
21109 (arg1)->_setCallbackInfo(arg2,arg3);
21110
21111 wxPyEndAllowThreads(__tstate);
21112 if (PyErr_Occurred()) SWIG_fail;
21113 }
21114 Py_INCREF(Py_None); resultobj = Py_None;
21115 return resultobj;
21116 fail:
21117 return NULL;
21118 }
21119
21120
21121 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
21122 PyObject *resultobj;
21123 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21124 wxString result;
21125 PyObject * obj0 = 0 ;
21126 char *kwnames[] = {
21127 (char *) "self", NULL
21128 };
21129
21130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21133 {
21134 PyThreadState* __tstate = wxPyBeginAllowThreads();
21135 result = ((wxPyPrintout const *)arg1)->GetTitle();
21136
21137 wxPyEndAllowThreads(__tstate);
21138 if (PyErr_Occurred()) SWIG_fail;
21139 }
21140 {
21141 #if wxUSE_UNICODE
21142 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21143 #else
21144 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21145 #endif
21146 }
21147 return resultobj;
21148 fail:
21149 return NULL;
21150 }
21151
21152
21153 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
21154 PyObject *resultobj;
21155 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21156 wxDC *result;
21157 PyObject * obj0 = 0 ;
21158 char *kwnames[] = {
21159 (char *) "self", NULL
21160 };
21161
21162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21165 {
21166 PyThreadState* __tstate = wxPyBeginAllowThreads();
21167 result = (wxDC *)(arg1)->GetDC();
21168
21169 wxPyEndAllowThreads(__tstate);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 }
21172 {
21173 resultobj = wxPyMake_wxObject(result);
21174 }
21175 return resultobj;
21176 fail:
21177 return NULL;
21178 }
21179
21180
21181 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
21182 PyObject *resultobj;
21183 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21184 wxDC *arg2 = (wxDC *) 0 ;
21185 PyObject * obj0 = 0 ;
21186 PyObject * obj1 = 0 ;
21187 char *kwnames[] = {
21188 (char *) "self",(char *) "dc", NULL
21189 };
21190
21191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21196 {
21197 PyThreadState* __tstate = wxPyBeginAllowThreads();
21198 (arg1)->SetDC(arg2);
21199
21200 wxPyEndAllowThreads(__tstate);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 }
21203 Py_INCREF(Py_None); resultobj = Py_None;
21204 return resultobj;
21205 fail:
21206 return NULL;
21207 }
21208
21209
21210 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
21211 PyObject *resultobj;
21212 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21213 int arg2 ;
21214 int arg3 ;
21215 PyObject * obj0 = 0 ;
21216 PyObject * obj1 = 0 ;
21217 PyObject * obj2 = 0 ;
21218 char *kwnames[] = {
21219 (char *) "self",(char *) "w",(char *) "h", NULL
21220 };
21221
21222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21225 arg2 = (int) SWIG_AsInt(obj1);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 arg3 = (int) SWIG_AsInt(obj2);
21228 if (PyErr_Occurred()) SWIG_fail;
21229 {
21230 PyThreadState* __tstate = wxPyBeginAllowThreads();
21231 (arg1)->SetPageSizePixels(arg2,arg3);
21232
21233 wxPyEndAllowThreads(__tstate);
21234 if (PyErr_Occurred()) SWIG_fail;
21235 }
21236 Py_INCREF(Py_None); resultobj = Py_None;
21237 return resultobj;
21238 fail:
21239 return NULL;
21240 }
21241
21242
21243 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
21244 PyObject *resultobj;
21245 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21246 int *arg2 = (int *) 0 ;
21247 int *arg3 = (int *) 0 ;
21248 int temp2 ;
21249 int temp3 ;
21250 PyObject * obj0 = 0 ;
21251 char *kwnames[] = {
21252 (char *) "self", NULL
21253 };
21254
21255 arg2 = &temp2;
21256 arg3 = &temp3;
21257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21260 {
21261 PyThreadState* __tstate = wxPyBeginAllowThreads();
21262 (arg1)->GetPageSizePixels(arg2,arg3);
21263
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 Py_INCREF(Py_None); resultobj = Py_None;
21268 {
21269 PyObject *o = PyInt_FromLong((long) (*arg2));
21270 resultobj = t_output_helper(resultobj,o);
21271 }
21272 {
21273 PyObject *o = PyInt_FromLong((long) (*arg3));
21274 resultobj = t_output_helper(resultobj,o);
21275 }
21276 return resultobj;
21277 fail:
21278 return NULL;
21279 }
21280
21281
21282 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21285 int arg2 ;
21286 int arg3 ;
21287 PyObject * obj0 = 0 ;
21288 PyObject * obj1 = 0 ;
21289 PyObject * obj2 = 0 ;
21290 char *kwnames[] = {
21291 (char *) "self",(char *) "w",(char *) "h", NULL
21292 };
21293
21294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21297 arg2 = (int) SWIG_AsInt(obj1);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 arg3 = (int) SWIG_AsInt(obj2);
21300 if (PyErr_Occurred()) SWIG_fail;
21301 {
21302 PyThreadState* __tstate = wxPyBeginAllowThreads();
21303 (arg1)->SetPageSizeMM(arg2,arg3);
21304
21305 wxPyEndAllowThreads(__tstate);
21306 if (PyErr_Occurred()) SWIG_fail;
21307 }
21308 Py_INCREF(Py_None); resultobj = Py_None;
21309 return resultobj;
21310 fail:
21311 return NULL;
21312 }
21313
21314
21315 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
21316 PyObject *resultobj;
21317 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21318 int *arg2 = (int *) 0 ;
21319 int *arg3 = (int *) 0 ;
21320 int temp2 ;
21321 int temp3 ;
21322 PyObject * obj0 = 0 ;
21323 char *kwnames[] = {
21324 (char *) "self", NULL
21325 };
21326
21327 arg2 = &temp2;
21328 arg3 = &temp3;
21329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21332 {
21333 PyThreadState* __tstate = wxPyBeginAllowThreads();
21334 (arg1)->GetPageSizeMM(arg2,arg3);
21335
21336 wxPyEndAllowThreads(__tstate);
21337 if (PyErr_Occurred()) SWIG_fail;
21338 }
21339 Py_INCREF(Py_None); resultobj = Py_None;
21340 {
21341 PyObject *o = PyInt_FromLong((long) (*arg2));
21342 resultobj = t_output_helper(resultobj,o);
21343 }
21344 {
21345 PyObject *o = PyInt_FromLong((long) (*arg3));
21346 resultobj = t_output_helper(resultobj,o);
21347 }
21348 return resultobj;
21349 fail:
21350 return NULL;
21351 }
21352
21353
21354 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
21355 PyObject *resultobj;
21356 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21357 int arg2 ;
21358 int arg3 ;
21359 PyObject * obj0 = 0 ;
21360 PyObject * obj1 = 0 ;
21361 PyObject * obj2 = 0 ;
21362 char *kwnames[] = {
21363 (char *) "self",(char *) "x",(char *) "y", NULL
21364 };
21365
21366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21369 arg2 = (int) SWIG_AsInt(obj1);
21370 if (PyErr_Occurred()) SWIG_fail;
21371 arg3 = (int) SWIG_AsInt(obj2);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 {
21374 PyThreadState* __tstate = wxPyBeginAllowThreads();
21375 (arg1)->SetPPIScreen(arg2,arg3);
21376
21377 wxPyEndAllowThreads(__tstate);
21378 if (PyErr_Occurred()) SWIG_fail;
21379 }
21380 Py_INCREF(Py_None); resultobj = Py_None;
21381 return resultobj;
21382 fail:
21383 return NULL;
21384 }
21385
21386
21387 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
21388 PyObject *resultobj;
21389 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21390 int *arg2 = (int *) 0 ;
21391 int *arg3 = (int *) 0 ;
21392 int temp2 ;
21393 int temp3 ;
21394 PyObject * obj0 = 0 ;
21395 char *kwnames[] = {
21396 (char *) "self", NULL
21397 };
21398
21399 arg2 = &temp2;
21400 arg3 = &temp3;
21401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21404 {
21405 PyThreadState* __tstate = wxPyBeginAllowThreads();
21406 (arg1)->GetPPIScreen(arg2,arg3);
21407
21408 wxPyEndAllowThreads(__tstate);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 }
21411 Py_INCREF(Py_None); resultobj = Py_None;
21412 {
21413 PyObject *o = PyInt_FromLong((long) (*arg2));
21414 resultobj = t_output_helper(resultobj,o);
21415 }
21416 {
21417 PyObject *o = PyInt_FromLong((long) (*arg3));
21418 resultobj = t_output_helper(resultobj,o);
21419 }
21420 return resultobj;
21421 fail:
21422 return NULL;
21423 }
21424
21425
21426 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21427 PyObject *resultobj;
21428 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21429 int arg2 ;
21430 int arg3 ;
21431 PyObject * obj0 = 0 ;
21432 PyObject * obj1 = 0 ;
21433 PyObject * obj2 = 0 ;
21434 char *kwnames[] = {
21435 (char *) "self",(char *) "x",(char *) "y", NULL
21436 };
21437
21438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21441 arg2 = (int) SWIG_AsInt(obj1);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 arg3 = (int) SWIG_AsInt(obj2);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 {
21446 PyThreadState* __tstate = wxPyBeginAllowThreads();
21447 (arg1)->SetPPIPrinter(arg2,arg3);
21448
21449 wxPyEndAllowThreads(__tstate);
21450 if (PyErr_Occurred()) SWIG_fail;
21451 }
21452 Py_INCREF(Py_None); resultobj = Py_None;
21453 return resultobj;
21454 fail:
21455 return NULL;
21456 }
21457
21458
21459 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21460 PyObject *resultobj;
21461 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21462 int *arg2 = (int *) 0 ;
21463 int *arg3 = (int *) 0 ;
21464 int temp2 ;
21465 int temp3 ;
21466 PyObject * obj0 = 0 ;
21467 char *kwnames[] = {
21468 (char *) "self", NULL
21469 };
21470
21471 arg2 = &temp2;
21472 arg3 = &temp3;
21473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 (arg1)->GetPPIPrinter(arg2,arg3);
21479
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 Py_INCREF(Py_None); resultobj = Py_None;
21484 {
21485 PyObject *o = PyInt_FromLong((long) (*arg2));
21486 resultobj = t_output_helper(resultobj,o);
21487 }
21488 {
21489 PyObject *o = PyInt_FromLong((long) (*arg3));
21490 resultobj = t_output_helper(resultobj,o);
21491 }
21492 return resultobj;
21493 fail:
21494 return NULL;
21495 }
21496
21497
21498 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
21499 PyObject *resultobj;
21500 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21501 bool result;
21502 PyObject * obj0 = 0 ;
21503 char *kwnames[] = {
21504 (char *) "self", NULL
21505 };
21506
21507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21510 {
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
21512 result = (bool)(arg1)->IsPreview();
21513
21514 wxPyEndAllowThreads(__tstate);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 {
21518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21519 }
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj;
21528 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21529 bool arg2 ;
21530 PyObject * obj0 = 0 ;
21531 PyObject * obj1 = 0 ;
21532 char *kwnames[] = {
21533 (char *) "self",(char *) "p", NULL
21534 };
21535
21536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21539 arg2 = (bool) SWIG_AsBool(obj1);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 (arg1)->SetIsPreview(arg2);
21544
21545 wxPyEndAllowThreads(__tstate);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 }
21548 Py_INCREF(Py_None); resultobj = Py_None;
21549 return resultobj;
21550 fail:
21551 return NULL;
21552 }
21553
21554
21555 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
21556 PyObject *resultobj;
21557 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21558 int arg2 ;
21559 int arg3 ;
21560 bool result;
21561 PyObject * obj0 = 0 ;
21562 PyObject * obj1 = 0 ;
21563 PyObject * obj2 = 0 ;
21564 char *kwnames[] = {
21565 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21566 };
21567
21568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21571 arg2 = (int) SWIG_AsInt(obj1);
21572 if (PyErr_Occurred()) SWIG_fail;
21573 arg3 = (int) SWIG_AsInt(obj2);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 {
21576 PyThreadState* __tstate = wxPyBeginAllowThreads();
21577 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21578
21579 wxPyEndAllowThreads(__tstate);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
21582 {
21583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21584 }
21585 return resultobj;
21586 fail:
21587 return NULL;
21588 }
21589
21590
21591 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
21592 PyObject *resultobj;
21593 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21594 PyObject * obj0 = 0 ;
21595 char *kwnames[] = {
21596 (char *) "self", NULL
21597 };
21598
21599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21602 {
21603 PyThreadState* __tstate = wxPyBeginAllowThreads();
21604 (arg1)->base_OnEndDocument();
21605
21606 wxPyEndAllowThreads(__tstate);
21607 if (PyErr_Occurred()) SWIG_fail;
21608 }
21609 Py_INCREF(Py_None); resultobj = Py_None;
21610 return resultobj;
21611 fail:
21612 return NULL;
21613 }
21614
21615
21616 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
21617 PyObject *resultobj;
21618 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21619 PyObject * obj0 = 0 ;
21620 char *kwnames[] = {
21621 (char *) "self", NULL
21622 };
21623
21624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21627 {
21628 PyThreadState* __tstate = wxPyBeginAllowThreads();
21629 (arg1)->base_OnBeginPrinting();
21630
21631 wxPyEndAllowThreads(__tstate);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
21634 Py_INCREF(Py_None); resultobj = Py_None;
21635 return resultobj;
21636 fail:
21637 return NULL;
21638 }
21639
21640
21641 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
21642 PyObject *resultobj;
21643 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21644 PyObject * obj0 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
21650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 (arg1)->base_OnEndPrinting();
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 Py_INCREF(Py_None); resultobj = Py_None;
21660 return resultobj;
21661 fail:
21662 return NULL;
21663 }
21664
21665
21666 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
21667 PyObject *resultobj;
21668 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21669 PyObject * obj0 = 0 ;
21670 char *kwnames[] = {
21671 (char *) "self", NULL
21672 };
21673
21674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
21675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21677 {
21678 PyThreadState* __tstate = wxPyBeginAllowThreads();
21679 (arg1)->base_OnPreparePrinting();
21680
21681 wxPyEndAllowThreads(__tstate);
21682 if (PyErr_Occurred()) SWIG_fail;
21683 }
21684 Py_INCREF(Py_None); resultobj = Py_None;
21685 return resultobj;
21686 fail:
21687 return NULL;
21688 }
21689
21690
21691 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
21692 PyObject *resultobj;
21693 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21694 int arg2 ;
21695 bool result;
21696 PyObject * obj0 = 0 ;
21697 PyObject * obj1 = 0 ;
21698 char *kwnames[] = {
21699 (char *) "self",(char *) "page", NULL
21700 };
21701
21702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
21703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21705 arg2 = (int) SWIG_AsInt(obj1);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 {
21708 PyThreadState* __tstate = wxPyBeginAllowThreads();
21709 result = (bool)(arg1)->base_HasPage(arg2);
21710
21711 wxPyEndAllowThreads(__tstate);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 {
21715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21716 }
21717 return resultobj;
21718 fail:
21719 return NULL;
21720 }
21721
21722
21723 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21724 PyObject *resultobj;
21725 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21726 int *arg2 = (int *) 0 ;
21727 int *arg3 = (int *) 0 ;
21728 int *arg4 = (int *) 0 ;
21729 int *arg5 = (int *) 0 ;
21730 int temp2 ;
21731 int temp3 ;
21732 int temp4 ;
21733 int temp5 ;
21734 PyObject * obj0 = 0 ;
21735 char *kwnames[] = {
21736 (char *) "self", NULL
21737 };
21738
21739 arg2 = &temp2;
21740 arg3 = &temp3;
21741 arg4 = &temp4;
21742 arg5 = &temp5;
21743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
21744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21746 {
21747 PyThreadState* __tstate = wxPyBeginAllowThreads();
21748 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
21749
21750 wxPyEndAllowThreads(__tstate);
21751 if (PyErr_Occurred()) SWIG_fail;
21752 }
21753 Py_INCREF(Py_None); resultobj = Py_None;
21754 {
21755 PyObject *o = PyInt_FromLong((long) (*arg2));
21756 resultobj = t_output_helper(resultobj,o);
21757 }
21758 {
21759 PyObject *o = PyInt_FromLong((long) (*arg3));
21760 resultobj = t_output_helper(resultobj,o);
21761 }
21762 {
21763 PyObject *o = PyInt_FromLong((long) (*arg4));
21764 resultobj = t_output_helper(resultobj,o);
21765 }
21766 {
21767 PyObject *o = PyInt_FromLong((long) (*arg5));
21768 resultobj = t_output_helper(resultobj,o);
21769 }
21770 return resultobj;
21771 fail:
21772 return NULL;
21773 }
21774
21775
21776 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
21777 PyObject *obj;
21778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21779 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
21780 Py_INCREF(obj);
21781 return Py_BuildValue((char *)"");
21782 }
21783 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
21784 PyObject *resultobj;
21785 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21786 wxWindow *arg2 = (wxWindow *) 0 ;
21787 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21788 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21789 wxSize const &arg4_defvalue = wxDefaultSize ;
21790 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21791 long arg5 = (long) 0 ;
21792 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
21793 wxString *arg6 = (wxString *) &arg6_defvalue ;
21794 wxPreviewCanvas *result;
21795 wxPoint temp3 ;
21796 wxSize temp4 ;
21797 bool temp6 = False ;
21798 PyObject * obj0 = 0 ;
21799 PyObject * obj1 = 0 ;
21800 PyObject * obj2 = 0 ;
21801 PyObject * obj3 = 0 ;
21802 PyObject * obj4 = 0 ;
21803 PyObject * obj5 = 0 ;
21804 char *kwnames[] = {
21805 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21806 };
21807
21808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21813 if (obj2) {
21814 {
21815 arg3 = &temp3;
21816 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21817 }
21818 }
21819 if (obj3) {
21820 {
21821 arg4 = &temp4;
21822 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21823 }
21824 }
21825 if (obj4) {
21826 arg5 = (long) SWIG_AsLong(obj4);
21827 if (PyErr_Occurred()) SWIG_fail;
21828 }
21829 if (obj5) {
21830 {
21831 arg6 = wxString_in_helper(obj5);
21832 if (arg6 == NULL) SWIG_fail;
21833 temp6 = True;
21834 }
21835 }
21836 {
21837 PyThreadState* __tstate = wxPyBeginAllowThreads();
21838 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21839
21840 wxPyEndAllowThreads(__tstate);
21841 if (PyErr_Occurred()) SWIG_fail;
21842 }
21843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
21844 {
21845 if (temp6)
21846 delete arg6;
21847 }
21848 return resultobj;
21849 fail:
21850 {
21851 if (temp6)
21852 delete arg6;
21853 }
21854 return NULL;
21855 }
21856
21857
21858 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
21859 PyObject *obj;
21860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21861 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
21862 Py_INCREF(obj);
21863 return Py_BuildValue((char *)"");
21864 }
21865 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
21866 PyObject *resultobj;
21867 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21868 wxFrame *arg2 = (wxFrame *) 0 ;
21869 wxString *arg3 = 0 ;
21870 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21871 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21872 wxSize const &arg5_defvalue = wxDefaultSize ;
21873 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21874 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21875 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21876 wxString *arg7 = (wxString *) &arg7_defvalue ;
21877 wxPreviewFrame *result;
21878 bool temp3 = False ;
21879 wxPoint temp4 ;
21880 wxSize temp5 ;
21881 bool temp7 = False ;
21882 PyObject * obj0 = 0 ;
21883 PyObject * obj1 = 0 ;
21884 PyObject * obj2 = 0 ;
21885 PyObject * obj3 = 0 ;
21886 PyObject * obj4 = 0 ;
21887 PyObject * obj5 = 0 ;
21888 PyObject * obj6 = 0 ;
21889 char *kwnames[] = {
21890 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21891 };
21892
21893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21898 {
21899 arg3 = wxString_in_helper(obj2);
21900 if (arg3 == NULL) SWIG_fail;
21901 temp3 = True;
21902 }
21903 if (obj3) {
21904 {
21905 arg4 = &temp4;
21906 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21907 }
21908 }
21909 if (obj4) {
21910 {
21911 arg5 = &temp5;
21912 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21913 }
21914 }
21915 if (obj5) {
21916 arg6 = (long) SWIG_AsLong(obj5);
21917 if (PyErr_Occurred()) SWIG_fail;
21918 }
21919 if (obj6) {
21920 {
21921 arg7 = wxString_in_helper(obj6);
21922 if (arg7 == NULL) SWIG_fail;
21923 temp7 = True;
21924 }
21925 }
21926 {
21927 PyThreadState* __tstate = wxPyBeginAllowThreads();
21928 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21929
21930 wxPyEndAllowThreads(__tstate);
21931 if (PyErr_Occurred()) SWIG_fail;
21932 }
21933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
21934 {
21935 if (temp3)
21936 delete arg3;
21937 }
21938 {
21939 if (temp7)
21940 delete arg7;
21941 }
21942 return resultobj;
21943 fail:
21944 {
21945 if (temp3)
21946 delete arg3;
21947 }
21948 {
21949 if (temp7)
21950 delete arg7;
21951 }
21952 return NULL;
21953 }
21954
21955
21956 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
21957 PyObject *resultobj;
21958 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21959 PyObject * obj0 = 0 ;
21960 char *kwnames[] = {
21961 (char *) "self", NULL
21962 };
21963
21964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
21965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21967 {
21968 PyThreadState* __tstate = wxPyBeginAllowThreads();
21969 (arg1)->Initialize();
21970
21971 wxPyEndAllowThreads(__tstate);
21972 if (PyErr_Occurred()) SWIG_fail;
21973 }
21974 Py_INCREF(Py_None); resultobj = Py_None;
21975 return resultobj;
21976 fail:
21977 return NULL;
21978 }
21979
21980
21981 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
21982 PyObject *resultobj;
21983 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21984 PyObject * obj0 = 0 ;
21985 char *kwnames[] = {
21986 (char *) "self", NULL
21987 };
21988
21989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
21990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21992 {
21993 PyThreadState* __tstate = wxPyBeginAllowThreads();
21994 (arg1)->CreateControlBar();
21995
21996 wxPyEndAllowThreads(__tstate);
21997 if (PyErr_Occurred()) SWIG_fail;
21998 }
21999 Py_INCREF(Py_None); resultobj = Py_None;
22000 return resultobj;
22001 fail:
22002 return NULL;
22003 }
22004
22005
22006 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22007 PyObject *resultobj;
22008 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22009 PyObject * obj0 = 0 ;
22010 char *kwnames[] = {
22011 (char *) "self", NULL
22012 };
22013
22014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22017 {
22018 PyThreadState* __tstate = wxPyBeginAllowThreads();
22019 (arg1)->CreateCanvas();
22020
22021 wxPyEndAllowThreads(__tstate);
22022 if (PyErr_Occurred()) SWIG_fail;
22023 }
22024 Py_INCREF(Py_None); resultobj = Py_None;
22025 return resultobj;
22026 fail:
22027 return NULL;
22028 }
22029
22030
22031 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22032 PyObject *resultobj;
22033 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22034 wxPreviewControlBar *result;
22035 PyObject * obj0 = 0 ;
22036 char *kwnames[] = {
22037 (char *) "self", NULL
22038 };
22039
22040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22043 {
22044 PyThreadState* __tstate = wxPyBeginAllowThreads();
22045 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22046
22047 wxPyEndAllowThreads(__tstate);
22048 if (PyErr_Occurred()) SWIG_fail;
22049 }
22050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22051 return resultobj;
22052 fail:
22053 return NULL;
22054 }
22055
22056
22057 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
22058 PyObject *obj;
22059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22060 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22061 Py_INCREF(obj);
22062 return Py_BuildValue((char *)"");
22063 }
22064 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22065 PyObject *resultobj;
22066 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22067 long arg2 ;
22068 wxWindow *arg3 = (wxWindow *) 0 ;
22069 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22070 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22071 wxSize const &arg5_defvalue = wxDefaultSize ;
22072 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22073 long arg6 = (long) wxTAB_TRAVERSAL ;
22074 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22075 wxString *arg7 = (wxString *) &arg7_defvalue ;
22076 wxPreviewControlBar *result;
22077 wxPoint temp4 ;
22078 wxSize temp5 ;
22079 bool temp7 = False ;
22080 PyObject * obj0 = 0 ;
22081 PyObject * obj1 = 0 ;
22082 PyObject * obj2 = 0 ;
22083 PyObject * obj3 = 0 ;
22084 PyObject * obj4 = 0 ;
22085 PyObject * obj5 = 0 ;
22086 PyObject * obj6 = 0 ;
22087 char *kwnames[] = {
22088 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22089 };
22090
22091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22094 arg2 = (long) SWIG_AsLong(obj1);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22098 if (obj3) {
22099 {
22100 arg4 = &temp4;
22101 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22102 }
22103 }
22104 if (obj4) {
22105 {
22106 arg5 = &temp5;
22107 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22108 }
22109 }
22110 if (obj5) {
22111 arg6 = (long) SWIG_AsLong(obj5);
22112 if (PyErr_Occurred()) SWIG_fail;
22113 }
22114 if (obj6) {
22115 {
22116 arg7 = wxString_in_helper(obj6);
22117 if (arg7 == NULL) SWIG_fail;
22118 temp7 = True;
22119 }
22120 }
22121 {
22122 PyThreadState* __tstate = wxPyBeginAllowThreads();
22123 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22124
22125 wxPyEndAllowThreads(__tstate);
22126 if (PyErr_Occurred()) SWIG_fail;
22127 }
22128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22129 {
22130 if (temp7)
22131 delete arg7;
22132 }
22133 return resultobj;
22134 fail:
22135 {
22136 if (temp7)
22137 delete arg7;
22138 }
22139 return NULL;
22140 }
22141
22142
22143 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
22144 PyObject *resultobj;
22145 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22146 int result;
22147 PyObject * obj0 = 0 ;
22148 char *kwnames[] = {
22149 (char *) "self", NULL
22150 };
22151
22152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22155 {
22156 PyThreadState* __tstate = wxPyBeginAllowThreads();
22157 result = (int)(arg1)->GetZoomControl();
22158
22159 wxPyEndAllowThreads(__tstate);
22160 if (PyErr_Occurred()) SWIG_fail;
22161 }
22162 resultobj = SWIG_FromInt((int)result);
22163 return resultobj;
22164 fail:
22165 return NULL;
22166 }
22167
22168
22169 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
22170 PyObject *resultobj;
22171 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22172 int arg2 ;
22173 PyObject * obj0 = 0 ;
22174 PyObject * obj1 = 0 ;
22175 char *kwnames[] = {
22176 (char *) "self",(char *) "zoom", NULL
22177 };
22178
22179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22182 arg2 = (int) SWIG_AsInt(obj1);
22183 if (PyErr_Occurred()) SWIG_fail;
22184 {
22185 PyThreadState* __tstate = wxPyBeginAllowThreads();
22186 (arg1)->SetZoomControl(arg2);
22187
22188 wxPyEndAllowThreads(__tstate);
22189 if (PyErr_Occurred()) SWIG_fail;
22190 }
22191 Py_INCREF(Py_None); resultobj = Py_None;
22192 return resultobj;
22193 fail:
22194 return NULL;
22195 }
22196
22197
22198 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22199 PyObject *resultobj;
22200 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22201 wxPrintPreview *result;
22202 PyObject * obj0 = 0 ;
22203 char *kwnames[] = {
22204 (char *) "self", NULL
22205 };
22206
22207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22213
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22218 return resultobj;
22219 fail:
22220 return NULL;
22221 }
22222
22223
22224 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
22225 PyObject *resultobj;
22226 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22227 PyObject * obj0 = 0 ;
22228 char *kwnames[] = {
22229 (char *) "self", NULL
22230 };
22231
22232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22235 {
22236 PyThreadState* __tstate = wxPyBeginAllowThreads();
22237 (arg1)->OnNext();
22238
22239 wxPyEndAllowThreads(__tstate);
22240 if (PyErr_Occurred()) SWIG_fail;
22241 }
22242 Py_INCREF(Py_None); resultobj = Py_None;
22243 return resultobj;
22244 fail:
22245 return NULL;
22246 }
22247
22248
22249 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
22250 PyObject *resultobj;
22251 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22252 PyObject * obj0 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 (arg1)->OnPrevious();
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 Py_INCREF(Py_None); resultobj = Py_None;
22268 return resultobj;
22269 fail:
22270 return NULL;
22271 }
22272
22273
22274 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
22275 PyObject *resultobj;
22276 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22277 PyObject * obj0 = 0 ;
22278 char *kwnames[] = {
22279 (char *) "self", NULL
22280 };
22281
22282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22285 {
22286 PyThreadState* __tstate = wxPyBeginAllowThreads();
22287 (arg1)->OnFirst();
22288
22289 wxPyEndAllowThreads(__tstate);
22290 if (PyErr_Occurred()) SWIG_fail;
22291 }
22292 Py_INCREF(Py_None); resultobj = Py_None;
22293 return resultobj;
22294 fail:
22295 return NULL;
22296 }
22297
22298
22299 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
22300 PyObject *resultobj;
22301 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22302 PyObject * obj0 = 0 ;
22303 char *kwnames[] = {
22304 (char *) "self", NULL
22305 };
22306
22307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 (arg1)->OnLast();
22313
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
22317 Py_INCREF(Py_None); resultobj = Py_None;
22318 return resultobj;
22319 fail:
22320 return NULL;
22321 }
22322
22323
22324 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
22325 PyObject *resultobj;
22326 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22327 PyObject * obj0 = 0 ;
22328 char *kwnames[] = {
22329 (char *) "self", NULL
22330 };
22331
22332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22335 {
22336 PyThreadState* __tstate = wxPyBeginAllowThreads();
22337 (arg1)->OnGoto();
22338
22339 wxPyEndAllowThreads(__tstate);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 }
22342 Py_INCREF(Py_None); resultobj = Py_None;
22343 return resultobj;
22344 fail:
22345 return NULL;
22346 }
22347
22348
22349 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
22350 PyObject *obj;
22351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22352 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22353 Py_INCREF(obj);
22354 return Py_BuildValue((char *)"");
22355 }
22356 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
22357 PyObject *resultobj;
22358 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22359 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22360 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22361 wxPrintPreview *result;
22362 PyObject * obj0 = 0 ;
22363 PyObject * obj1 = 0 ;
22364 PyObject * obj2 = 0 ;
22365
22366 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22371 if (obj2) {
22372 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22374 }
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22378
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22383 return resultobj;
22384 fail:
22385 return NULL;
22386 }
22387
22388
22389 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
22390 PyObject *resultobj;
22391 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22392 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22393 wxPrintData *arg3 = (wxPrintData *) 0 ;
22394 wxPrintPreview *result;
22395 PyObject * obj0 = 0 ;
22396 PyObject * obj1 = 0 ;
22397 PyObject * obj2 = 0 ;
22398
22399 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22402 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22404 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22409
22410 wxPyEndAllowThreads(__tstate);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22414 return resultobj;
22415 fail:
22416 return NULL;
22417 }
22418
22419
22420 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22421 int argc;
22422 PyObject *argv[4];
22423 int ii;
22424
22425 argc = PyObject_Length(args);
22426 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22427 argv[ii] = PyTuple_GetItem(args,ii);
22428 }
22429 if ((argc >= 2) && (argc <= 3)) {
22430 int _v;
22431 {
22432 void *ptr;
22433 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22434 _v = 0;
22435 PyErr_Clear();
22436 } else {
22437 _v = 1;
22438 }
22439 }
22440 if (_v) {
22441 {
22442 void *ptr;
22443 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22444 _v = 0;
22445 PyErr_Clear();
22446 } else {
22447 _v = 1;
22448 }
22449 }
22450 if (_v) {
22451 if (argc <= 2) {
22452 return _wrap_new_PrintPreview__SWIG_0(self,args);
22453 }
22454 {
22455 void *ptr;
22456 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22457 _v = 0;
22458 PyErr_Clear();
22459 } else {
22460 _v = 1;
22461 }
22462 }
22463 if (_v) {
22464 return _wrap_new_PrintPreview__SWIG_0(self,args);
22465 }
22466 }
22467 }
22468 }
22469 if (argc == 3) {
22470 int _v;
22471 {
22472 void *ptr;
22473 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22474 _v = 0;
22475 PyErr_Clear();
22476 } else {
22477 _v = 1;
22478 }
22479 }
22480 if (_v) {
22481 {
22482 void *ptr;
22483 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22484 _v = 0;
22485 PyErr_Clear();
22486 } else {
22487 _v = 1;
22488 }
22489 }
22490 if (_v) {
22491 {
22492 void *ptr;
22493 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22494 _v = 0;
22495 PyErr_Clear();
22496 } else {
22497 _v = 1;
22498 }
22499 }
22500 if (_v) {
22501 return _wrap_new_PrintPreview__SWIG_1(self,args);
22502 }
22503 }
22504 }
22505 }
22506
22507 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22508 return NULL;
22509 }
22510
22511
22512 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
22513 PyObject *resultobj;
22514 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22515 int arg2 ;
22516 bool result;
22517 PyObject * obj0 = 0 ;
22518 PyObject * obj1 = 0 ;
22519 char *kwnames[] = {
22520 (char *) "self",(char *) "pageNum", NULL
22521 };
22522
22523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22526 arg2 = (int) SWIG_AsInt(obj1);
22527 if (PyErr_Occurred()) SWIG_fail;
22528 {
22529 PyThreadState* __tstate = wxPyBeginAllowThreads();
22530 result = (bool)(arg1)->SetCurrentPage(arg2);
22531
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 {
22536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22537 }
22538 return resultobj;
22539 fail:
22540 return NULL;
22541 }
22542
22543
22544 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
22545 PyObject *resultobj;
22546 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22547 int result;
22548 PyObject * obj0 = 0 ;
22549 char *kwnames[] = {
22550 (char *) "self", NULL
22551 };
22552
22553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22556 {
22557 PyThreadState* __tstate = wxPyBeginAllowThreads();
22558 result = (int)(arg1)->GetCurrentPage();
22559
22560 wxPyEndAllowThreads(__tstate);
22561 if (PyErr_Occurred()) SWIG_fail;
22562 }
22563 resultobj = SWIG_FromInt((int)result);
22564 return resultobj;
22565 fail:
22566 return NULL;
22567 }
22568
22569
22570 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
22571 PyObject *resultobj;
22572 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22573 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22574 PyObject * obj0 = 0 ;
22575 PyObject * obj1 = 0 ;
22576 char *kwnames[] = {
22577 (char *) "self",(char *) "printout", NULL
22578 };
22579
22580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22583 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22585 {
22586 PyThreadState* __tstate = wxPyBeginAllowThreads();
22587 (arg1)->SetPrintout(arg2);
22588
22589 wxPyEndAllowThreads(__tstate);
22590 if (PyErr_Occurred()) SWIG_fail;
22591 }
22592 Py_INCREF(Py_None); resultobj = Py_None;
22593 return resultobj;
22594 fail:
22595 return NULL;
22596 }
22597
22598
22599 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
22600 PyObject *resultobj;
22601 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22602 wxPyPrintout *result;
22603 PyObject * obj0 = 0 ;
22604 char *kwnames[] = {
22605 (char *) "self", NULL
22606 };
22607
22608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22611 {
22612 PyThreadState* __tstate = wxPyBeginAllowThreads();
22613 result = (wxPyPrintout *)(arg1)->GetPrintout();
22614
22615 wxPyEndAllowThreads(__tstate);
22616 if (PyErr_Occurred()) SWIG_fail;
22617 }
22618 {
22619 resultobj = wxPyMake_wxObject(result);
22620 }
22621 return resultobj;
22622 fail:
22623 return NULL;
22624 }
22625
22626
22627 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22628 PyObject *resultobj;
22629 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22630 wxPyPrintout *result;
22631 PyObject * obj0 = 0 ;
22632 char *kwnames[] = {
22633 (char *) "self", NULL
22634 };
22635
22636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
22637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22639 {
22640 PyThreadState* __tstate = wxPyBeginAllowThreads();
22641 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22642
22643 wxPyEndAllowThreads(__tstate);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 }
22646 {
22647 resultobj = wxPyMake_wxObject(result);
22648 }
22649 return resultobj;
22650 fail:
22651 return NULL;
22652 }
22653
22654
22655 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
22656 PyObject *resultobj;
22657 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22658 wxFrame *arg2 = (wxFrame *) 0 ;
22659 PyObject * obj0 = 0 ;
22660 PyObject * obj1 = 0 ;
22661 char *kwnames[] = {
22662 (char *) "self",(char *) "frame", NULL
22663 };
22664
22665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
22666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22670 {
22671 PyThreadState* __tstate = wxPyBeginAllowThreads();
22672 (arg1)->SetFrame(arg2);
22673
22674 wxPyEndAllowThreads(__tstate);
22675 if (PyErr_Occurred()) SWIG_fail;
22676 }
22677 Py_INCREF(Py_None); resultobj = Py_None;
22678 return resultobj;
22679 fail:
22680 return NULL;
22681 }
22682
22683
22684 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22685 PyObject *resultobj;
22686 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22687 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22688 PyObject * obj0 = 0 ;
22689 PyObject * obj1 = 0 ;
22690 char *kwnames[] = {
22691 (char *) "self",(char *) "canvas", NULL
22692 };
22693
22694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
22695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22699 {
22700 PyThreadState* __tstate = wxPyBeginAllowThreads();
22701 (arg1)->SetCanvas(arg2);
22702
22703 wxPyEndAllowThreads(__tstate);
22704 if (PyErr_Occurred()) SWIG_fail;
22705 }
22706 Py_INCREF(Py_None); resultobj = Py_None;
22707 return resultobj;
22708 fail:
22709 return NULL;
22710 }
22711
22712
22713 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
22714 PyObject *resultobj;
22715 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22716 wxFrame *result;
22717 PyObject * obj0 = 0 ;
22718 char *kwnames[] = {
22719 (char *) "self", NULL
22720 };
22721
22722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
22723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22725 {
22726 PyThreadState* __tstate = wxPyBeginAllowThreads();
22727 result = (wxFrame *)(arg1)->GetFrame();
22728
22729 wxPyEndAllowThreads(__tstate);
22730 if (PyErr_Occurred()) SWIG_fail;
22731 }
22732 {
22733 resultobj = wxPyMake_wxObject(result);
22734 }
22735 return resultobj;
22736 fail:
22737 return NULL;
22738 }
22739
22740
22741 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22742 PyObject *resultobj;
22743 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22744 wxPreviewCanvas *result;
22745 PyObject * obj0 = 0 ;
22746 char *kwnames[] = {
22747 (char *) "self", NULL
22748 };
22749
22750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
22751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22753 {
22754 PyThreadState* __tstate = wxPyBeginAllowThreads();
22755 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
22756
22757 wxPyEndAllowThreads(__tstate);
22758 if (PyErr_Occurred()) SWIG_fail;
22759 }
22760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
22761 return resultobj;
22762 fail:
22763 return NULL;
22764 }
22765
22766
22767 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
22768 PyObject *resultobj;
22769 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22770 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22771 wxDC *arg3 = 0 ;
22772 bool result;
22773 PyObject * obj0 = 0 ;
22774 PyObject * obj1 = 0 ;
22775 PyObject * obj2 = 0 ;
22776 char *kwnames[] = {
22777 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22778 };
22779
22780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22785 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22786 SWIG_POINTER_EXCEPTION | 0)) == -1)
22787 SWIG_fail;
22788 if (arg3 == NULL) {
22789 PyErr_SetString(PyExc_TypeError,"null reference");
22790 SWIG_fail;
22791 }
22792 {
22793 PyThreadState* __tstate = wxPyBeginAllowThreads();
22794 result = (bool)(arg1)->PaintPage(arg2,*arg3);
22795
22796 wxPyEndAllowThreads(__tstate);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
22799 {
22800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22801 }
22802 return resultobj;
22803 fail:
22804 return NULL;
22805 }
22806
22807
22808 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
22809 PyObject *resultobj;
22810 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22811 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22812 wxDC *arg3 = 0 ;
22813 bool result;
22814 PyObject * obj0 = 0 ;
22815 PyObject * obj1 = 0 ;
22816 PyObject * obj2 = 0 ;
22817 char *kwnames[] = {
22818 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22819 };
22820
22821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22824 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22826 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22827 SWIG_POINTER_EXCEPTION | 0)) == -1)
22828 SWIG_fail;
22829 if (arg3 == NULL) {
22830 PyErr_SetString(PyExc_TypeError,"null reference");
22831 SWIG_fail;
22832 }
22833 {
22834 PyThreadState* __tstate = wxPyBeginAllowThreads();
22835 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
22836
22837 wxPyEndAllowThreads(__tstate);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 }
22840 {
22841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22842 }
22843 return resultobj;
22844 fail:
22845 return NULL;
22846 }
22847
22848
22849 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj;
22851 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22852 int arg2 ;
22853 bool result;
22854 PyObject * obj0 = 0 ;
22855 PyObject * obj1 = 0 ;
22856 char *kwnames[] = {
22857 (char *) "self",(char *) "pageNum", NULL
22858 };
22859
22860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22863 arg2 = (int) SWIG_AsInt(obj1);
22864 if (PyErr_Occurred()) SWIG_fail;
22865 {
22866 PyThreadState* __tstate = wxPyBeginAllowThreads();
22867 result = (bool)(arg1)->RenderPage(arg2);
22868
22869 wxPyEndAllowThreads(__tstate);
22870 if (PyErr_Occurred()) SWIG_fail;
22871 }
22872 {
22873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22874 }
22875 return resultobj;
22876 fail:
22877 return NULL;
22878 }
22879
22880
22881 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
22882 PyObject *resultobj;
22883 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22884 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22885 PyObject * obj0 = 0 ;
22886 PyObject * obj1 = 0 ;
22887 char *kwnames[] = {
22888 (char *) "self",(char *) "canvas", NULL
22889 };
22890
22891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
22892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 (arg1)->AdjustScrollbars(arg2);
22899
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 Py_INCREF(Py_None); resultobj = Py_None;
22904 return resultobj;
22905 fail:
22906 return NULL;
22907 }
22908
22909
22910 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22911 PyObject *resultobj;
22912 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22913 wxPrintDialogData *result;
22914 PyObject * obj0 = 0 ;
22915 char *kwnames[] = {
22916 (char *) "self", NULL
22917 };
22918
22919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
22920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22922 {
22923 PyThreadState* __tstate = wxPyBeginAllowThreads();
22924 {
22925 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22926 result = (wxPrintDialogData *) &_result_ref;
22927 }
22928
22929 wxPyEndAllowThreads(__tstate);
22930 if (PyErr_Occurred()) SWIG_fail;
22931 }
22932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22933 return resultobj;
22934 fail:
22935 return NULL;
22936 }
22937
22938
22939 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
22940 PyObject *resultobj;
22941 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22942 int arg2 ;
22943 PyObject * obj0 = 0 ;
22944 PyObject * obj1 = 0 ;
22945 char *kwnames[] = {
22946 (char *) "self",(char *) "percent", NULL
22947 };
22948
22949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22952 arg2 = (int) SWIG_AsInt(obj1);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 {
22955 PyThreadState* __tstate = wxPyBeginAllowThreads();
22956 (arg1)->SetZoom(arg2);
22957
22958 wxPyEndAllowThreads(__tstate);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
22961 Py_INCREF(Py_None); resultobj = Py_None;
22962 return resultobj;
22963 fail:
22964 return NULL;
22965 }
22966
22967
22968 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
22969 PyObject *resultobj;
22970 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22971 int result;
22972 PyObject * obj0 = 0 ;
22973 char *kwnames[] = {
22974 (char *) "self", NULL
22975 };
22976
22977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
22978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22980 {
22981 PyThreadState* __tstate = wxPyBeginAllowThreads();
22982 result = (int)(arg1)->GetZoom();
22983
22984 wxPyEndAllowThreads(__tstate);
22985 if (PyErr_Occurred()) SWIG_fail;
22986 }
22987 resultobj = SWIG_FromInt((int)result);
22988 return resultobj;
22989 fail:
22990 return NULL;
22991 }
22992
22993
22994 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
22995 PyObject *resultobj;
22996 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22997 int result;
22998 PyObject * obj0 = 0 ;
22999 char *kwnames[] = {
23000 (char *) "self", NULL
23001 };
23002
23003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23006 {
23007 PyThreadState* __tstate = wxPyBeginAllowThreads();
23008 result = (int)(arg1)->GetMaxPage();
23009
23010 wxPyEndAllowThreads(__tstate);
23011 if (PyErr_Occurred()) SWIG_fail;
23012 }
23013 resultobj = SWIG_FromInt((int)result);
23014 return resultobj;
23015 fail:
23016 return NULL;
23017 }
23018
23019
23020 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23021 PyObject *resultobj;
23022 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23023 int result;
23024 PyObject * obj0 = 0 ;
23025 char *kwnames[] = {
23026 (char *) "self", NULL
23027 };
23028
23029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23032 {
23033 PyThreadState* __tstate = wxPyBeginAllowThreads();
23034 result = (int)(arg1)->GetMinPage();
23035
23036 wxPyEndAllowThreads(__tstate);
23037 if (PyErr_Occurred()) SWIG_fail;
23038 }
23039 resultobj = SWIG_FromInt((int)result);
23040 return resultobj;
23041 fail:
23042 return NULL;
23043 }
23044
23045
23046 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23047 PyObject *resultobj;
23048 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23049 bool result;
23050 PyObject * obj0 = 0 ;
23051 char *kwnames[] = {
23052 (char *) "self", NULL
23053 };
23054
23055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23058 {
23059 PyThreadState* __tstate = wxPyBeginAllowThreads();
23060 result = (bool)(arg1)->Ok();
23061
23062 wxPyEndAllowThreads(__tstate);
23063 if (PyErr_Occurred()) SWIG_fail;
23064 }
23065 {
23066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23067 }
23068 return resultobj;
23069 fail:
23070 return NULL;
23071 }
23072
23073
23074 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
23075 PyObject *resultobj;
23076 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23077 bool arg2 ;
23078 PyObject * obj0 = 0 ;
23079 PyObject * obj1 = 0 ;
23080 char *kwnames[] = {
23081 (char *) "self",(char *) "ok", NULL
23082 };
23083
23084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23087 arg2 = (bool) SWIG_AsBool(obj1);
23088 if (PyErr_Occurred()) SWIG_fail;
23089 {
23090 PyThreadState* __tstate = wxPyBeginAllowThreads();
23091 (arg1)->SetOk(arg2);
23092
23093 wxPyEndAllowThreads(__tstate);
23094 if (PyErr_Occurred()) SWIG_fail;
23095 }
23096 Py_INCREF(Py_None); resultobj = Py_None;
23097 return resultobj;
23098 fail:
23099 return NULL;
23100 }
23101
23102
23103 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
23104 PyObject *resultobj;
23105 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23106 bool arg2 ;
23107 bool result;
23108 PyObject * obj0 = 0 ;
23109 PyObject * obj1 = 0 ;
23110 char *kwnames[] = {
23111 (char *) "self",(char *) "interactive", NULL
23112 };
23113
23114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23117 arg2 = (bool) SWIG_AsBool(obj1);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 {
23120 PyThreadState* __tstate = wxPyBeginAllowThreads();
23121 result = (bool)(arg1)->Print(arg2);
23122
23123 wxPyEndAllowThreads(__tstate);
23124 if (PyErr_Occurred()) SWIG_fail;
23125 }
23126 {
23127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23128 }
23129 return resultobj;
23130 fail:
23131 return NULL;
23132 }
23133
23134
23135 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
23136 PyObject *resultobj;
23137 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23138 PyObject * obj0 = 0 ;
23139 char *kwnames[] = {
23140 (char *) "self", NULL
23141 };
23142
23143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23146 {
23147 PyThreadState* __tstate = wxPyBeginAllowThreads();
23148 (arg1)->DetermineScaling();
23149
23150 wxPyEndAllowThreads(__tstate);
23151 if (PyErr_Occurred()) SWIG_fail;
23152 }
23153 Py_INCREF(Py_None); resultobj = Py_None;
23154 return resultobj;
23155 fail:
23156 return NULL;
23157 }
23158
23159
23160 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
23161 PyObject *obj;
23162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23163 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23164 Py_INCREF(obj);
23165 return Py_BuildValue((char *)"");
23166 }
23167 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
23168 PyObject *resultobj;
23169 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23170 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23171 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23172 wxPyPrintPreview *result;
23173 PyObject * obj0 = 0 ;
23174 PyObject * obj1 = 0 ;
23175 PyObject * obj2 = 0 ;
23176
23177 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23180 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23182 if (obj2) {
23183 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23185 }
23186 {
23187 PyThreadState* __tstate = wxPyBeginAllowThreads();
23188 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23189
23190 wxPyEndAllowThreads(__tstate);
23191 if (PyErr_Occurred()) SWIG_fail;
23192 }
23193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23194 return resultobj;
23195 fail:
23196 return NULL;
23197 }
23198
23199
23200 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
23201 PyObject *resultobj;
23202 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23203 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23204 wxPrintData *arg3 = (wxPrintData *) 0 ;
23205 wxPyPrintPreview *result;
23206 PyObject * obj0 = 0 ;
23207 PyObject * obj1 = 0 ;
23208 PyObject * obj2 = 0 ;
23209
23210 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23215 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23217 {
23218 PyThreadState* __tstate = wxPyBeginAllowThreads();
23219 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23220
23221 wxPyEndAllowThreads(__tstate);
23222 if (PyErr_Occurred()) SWIG_fail;
23223 }
23224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23225 return resultobj;
23226 fail:
23227 return NULL;
23228 }
23229
23230
23231 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23232 int argc;
23233 PyObject *argv[4];
23234 int ii;
23235
23236 argc = PyObject_Length(args);
23237 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23238 argv[ii] = PyTuple_GetItem(args,ii);
23239 }
23240 if ((argc >= 2) && (argc <= 3)) {
23241 int _v;
23242 {
23243 void *ptr;
23244 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23245 _v = 0;
23246 PyErr_Clear();
23247 } else {
23248 _v = 1;
23249 }
23250 }
23251 if (_v) {
23252 {
23253 void *ptr;
23254 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23255 _v = 0;
23256 PyErr_Clear();
23257 } else {
23258 _v = 1;
23259 }
23260 }
23261 if (_v) {
23262 if (argc <= 2) {
23263 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23264 }
23265 {
23266 void *ptr;
23267 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23268 _v = 0;
23269 PyErr_Clear();
23270 } else {
23271 _v = 1;
23272 }
23273 }
23274 if (_v) {
23275 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23276 }
23277 }
23278 }
23279 }
23280 if (argc == 3) {
23281 int _v;
23282 {
23283 void *ptr;
23284 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23285 _v = 0;
23286 PyErr_Clear();
23287 } else {
23288 _v = 1;
23289 }
23290 }
23291 if (_v) {
23292 {
23293 void *ptr;
23294 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23295 _v = 0;
23296 PyErr_Clear();
23297 } else {
23298 _v = 1;
23299 }
23300 }
23301 if (_v) {
23302 {
23303 void *ptr;
23304 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23305 _v = 0;
23306 PyErr_Clear();
23307 } else {
23308 _v = 1;
23309 }
23310 }
23311 if (_v) {
23312 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23313 }
23314 }
23315 }
23316 }
23317
23318 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23319 return NULL;
23320 }
23321
23322
23323 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23324 PyObject *resultobj;
23325 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23326 PyObject *arg2 = (PyObject *) 0 ;
23327 PyObject *arg3 = (PyObject *) 0 ;
23328 PyObject * obj0 = 0 ;
23329 PyObject * obj1 = 0 ;
23330 PyObject * obj2 = 0 ;
23331 char *kwnames[] = {
23332 (char *) "self",(char *) "self",(char *) "_class", NULL
23333 };
23334
23335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23338 arg2 = obj1;
23339 arg3 = obj2;
23340 {
23341 PyThreadState* __tstate = wxPyBeginAllowThreads();
23342 (arg1)->_setCallbackInfo(arg2,arg3);
23343
23344 wxPyEndAllowThreads(__tstate);
23345 if (PyErr_Occurred()) SWIG_fail;
23346 }
23347 Py_INCREF(Py_None); resultobj = Py_None;
23348 return resultobj;
23349 fail:
23350 return NULL;
23351 }
23352
23353
23354 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23355 PyObject *resultobj;
23356 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23357 int arg2 ;
23358 bool result;
23359 PyObject * obj0 = 0 ;
23360 PyObject * obj1 = 0 ;
23361 char *kwnames[] = {
23362 (char *) "self",(char *) "pageNum", NULL
23363 };
23364
23365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23368 arg2 = (int) SWIG_AsInt(obj1);
23369 if (PyErr_Occurred()) SWIG_fail;
23370 {
23371 PyThreadState* __tstate = wxPyBeginAllowThreads();
23372 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23373
23374 wxPyEndAllowThreads(__tstate);
23375 if (PyErr_Occurred()) SWIG_fail;
23376 }
23377 {
23378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23379 }
23380 return resultobj;
23381 fail:
23382 return NULL;
23383 }
23384
23385
23386 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
23387 PyObject *resultobj;
23388 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23389 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23390 wxDC *arg3 = 0 ;
23391 bool result;
23392 PyObject * obj0 = 0 ;
23393 PyObject * obj1 = 0 ;
23394 PyObject * obj2 = 0 ;
23395 char *kwnames[] = {
23396 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23397 };
23398
23399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23402 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23404 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23405 SWIG_POINTER_EXCEPTION | 0)) == -1)
23406 SWIG_fail;
23407 if (arg3 == NULL) {
23408 PyErr_SetString(PyExc_TypeError,"null reference");
23409 SWIG_fail;
23410 }
23411 {
23412 PyThreadState* __tstate = wxPyBeginAllowThreads();
23413 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23414
23415 wxPyEndAllowThreads(__tstate);
23416 if (PyErr_Occurred()) SWIG_fail;
23417 }
23418 {
23419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23420 }
23421 return resultobj;
23422 fail:
23423 return NULL;
23424 }
23425
23426
23427 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
23428 PyObject *resultobj;
23429 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23430 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23431 wxDC *arg3 = 0 ;
23432 bool result;
23433 PyObject * obj0 = 0 ;
23434 PyObject * obj1 = 0 ;
23435 PyObject * obj2 = 0 ;
23436 char *kwnames[] = {
23437 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23438 };
23439
23440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23445 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23446 SWIG_POINTER_EXCEPTION | 0)) == -1)
23447 SWIG_fail;
23448 if (arg3 == NULL) {
23449 PyErr_SetString(PyExc_TypeError,"null reference");
23450 SWIG_fail;
23451 }
23452 {
23453 PyThreadState* __tstate = wxPyBeginAllowThreads();
23454 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23455
23456 wxPyEndAllowThreads(__tstate);
23457 if (PyErr_Occurred()) SWIG_fail;
23458 }
23459 {
23460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23461 }
23462 return resultobj;
23463 fail:
23464 return NULL;
23465 }
23466
23467
23468 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
23469 PyObject *resultobj;
23470 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23471 int arg2 ;
23472 bool result;
23473 PyObject * obj0 = 0 ;
23474 PyObject * obj1 = 0 ;
23475 char *kwnames[] = {
23476 (char *) "self",(char *) "pageNum", NULL
23477 };
23478
23479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23482 arg2 = (int) SWIG_AsInt(obj1);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 result = (bool)(arg1)->base_RenderPage(arg2);
23487
23488 wxPyEndAllowThreads(__tstate);
23489 if (PyErr_Occurred()) SWIG_fail;
23490 }
23491 {
23492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23493 }
23494 return resultobj;
23495 fail:
23496 return NULL;
23497 }
23498
23499
23500 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
23501 PyObject *resultobj;
23502 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23503 int arg2 ;
23504 PyObject * obj0 = 0 ;
23505 PyObject * obj1 = 0 ;
23506 char *kwnames[] = {
23507 (char *) "self",(char *) "percent", NULL
23508 };
23509
23510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23513 arg2 = (int) SWIG_AsInt(obj1);
23514 if (PyErr_Occurred()) SWIG_fail;
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 (arg1)->base_SetZoom(arg2);
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 Py_INCREF(Py_None); resultobj = Py_None;
23523 return resultobj;
23524 fail:
23525 return NULL;
23526 }
23527
23528
23529 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
23530 PyObject *resultobj;
23531 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23532 bool arg2 ;
23533 bool result;
23534 PyObject * obj0 = 0 ;
23535 PyObject * obj1 = 0 ;
23536 char *kwnames[] = {
23537 (char *) "self",(char *) "interactive", NULL
23538 };
23539
23540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23543 arg2 = (bool) SWIG_AsBool(obj1);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 {
23546 PyThreadState* __tstate = wxPyBeginAllowThreads();
23547 result = (bool)(arg1)->base_Print(arg2);
23548
23549 wxPyEndAllowThreads(__tstate);
23550 if (PyErr_Occurred()) SWIG_fail;
23551 }
23552 {
23553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23554 }
23555 return resultobj;
23556 fail:
23557 return NULL;
23558 }
23559
23560
23561 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
23562 PyObject *resultobj;
23563 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23564 PyObject * obj0 = 0 ;
23565 char *kwnames[] = {
23566 (char *) "self", NULL
23567 };
23568
23569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23572 {
23573 PyThreadState* __tstate = wxPyBeginAllowThreads();
23574 (arg1)->base_DetermineScaling();
23575
23576 wxPyEndAllowThreads(__tstate);
23577 if (PyErr_Occurred()) SWIG_fail;
23578 }
23579 Py_INCREF(Py_None); resultobj = Py_None;
23580 return resultobj;
23581 fail:
23582 return NULL;
23583 }
23584
23585
23586 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
23587 PyObject *obj;
23588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23589 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23590 Py_INCREF(obj);
23591 return Py_BuildValue((char *)"");
23592 }
23593 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23594 PyObject *resultobj;
23595 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23596 wxFrame *arg2 = (wxFrame *) 0 ;
23597 wxString *arg3 = 0 ;
23598 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23599 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23600 wxSize const &arg5_defvalue = wxDefaultSize ;
23601 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23602 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23603 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23604 wxString *arg7 = (wxString *) &arg7_defvalue ;
23605 wxPyPreviewFrame *result;
23606 bool temp3 = False ;
23607 wxPoint temp4 ;
23608 wxSize temp5 ;
23609 bool temp7 = False ;
23610 PyObject * obj0 = 0 ;
23611 PyObject * obj1 = 0 ;
23612 PyObject * obj2 = 0 ;
23613 PyObject * obj3 = 0 ;
23614 PyObject * obj4 = 0 ;
23615 PyObject * obj5 = 0 ;
23616 PyObject * obj6 = 0 ;
23617 char *kwnames[] = {
23618 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23619 };
23620
23621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23626 {
23627 arg3 = wxString_in_helper(obj2);
23628 if (arg3 == NULL) SWIG_fail;
23629 temp3 = True;
23630 }
23631 if (obj3) {
23632 {
23633 arg4 = &temp4;
23634 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23635 }
23636 }
23637 if (obj4) {
23638 {
23639 arg5 = &temp5;
23640 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23641 }
23642 }
23643 if (obj5) {
23644 arg6 = (long) SWIG_AsLong(obj5);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 if (obj6) {
23648 {
23649 arg7 = wxString_in_helper(obj6);
23650 if (arg7 == NULL) SWIG_fail;
23651 temp7 = True;
23652 }
23653 }
23654 {
23655 PyThreadState* __tstate = wxPyBeginAllowThreads();
23656 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23657
23658 wxPyEndAllowThreads(__tstate);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 }
23661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
23662 {
23663 if (temp3)
23664 delete arg3;
23665 }
23666 {
23667 if (temp7)
23668 delete arg7;
23669 }
23670 return resultobj;
23671 fail:
23672 {
23673 if (temp3)
23674 delete arg3;
23675 }
23676 {
23677 if (temp7)
23678 delete arg7;
23679 }
23680 return NULL;
23681 }
23682
23683
23684 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23685 PyObject *resultobj;
23686 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23687 PyObject *arg2 = (PyObject *) 0 ;
23688 PyObject *arg3 = (PyObject *) 0 ;
23689 PyObject * obj0 = 0 ;
23690 PyObject * obj1 = 0 ;
23691 PyObject * obj2 = 0 ;
23692 char *kwnames[] = {
23693 (char *) "self",(char *) "self",(char *) "_class", NULL
23694 };
23695
23696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23699 arg2 = obj1;
23700 arg3 = obj2;
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 (arg1)->_setCallbackInfo(arg2,arg3);
23704
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 Py_INCREF(Py_None); resultobj = Py_None;
23709 return resultobj;
23710 fail:
23711 return NULL;
23712 }
23713
23714
23715 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23716 PyObject *resultobj;
23717 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23718 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23719 PyObject * obj0 = 0 ;
23720 PyObject * obj1 = 0 ;
23721 char *kwnames[] = {
23722 (char *) "self",(char *) "canvas", NULL
23723 };
23724
23725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
23726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 (arg1)->SetPreviewCanvas(arg2);
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 Py_INCREF(Py_None); resultobj = Py_None;
23738 return resultobj;
23739 fail:
23740 return NULL;
23741 }
23742
23743
23744 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23745 PyObject *resultobj;
23746 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23747 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
23748 PyObject * obj0 = 0 ;
23749 PyObject * obj1 = 0 ;
23750 char *kwnames[] = {
23751 (char *) "self",(char *) "bar", NULL
23752 };
23753
23754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
23755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
23758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 (arg1)->SetControlBar(arg2);
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 Py_INCREF(Py_None); resultobj = Py_None;
23767 return resultobj;
23768 fail:
23769 return NULL;
23770 }
23771
23772
23773 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23774 PyObject *resultobj;
23775 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23776 PyObject * obj0 = 0 ;
23777 char *kwnames[] = {
23778 (char *) "self", NULL
23779 };
23780
23781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
23782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23784 {
23785 PyThreadState* __tstate = wxPyBeginAllowThreads();
23786 (arg1)->base_Initialize();
23787
23788 wxPyEndAllowThreads(__tstate);
23789 if (PyErr_Occurred()) SWIG_fail;
23790 }
23791 Py_INCREF(Py_None); resultobj = Py_None;
23792 return resultobj;
23793 fail:
23794 return NULL;
23795 }
23796
23797
23798 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23799 PyObject *resultobj;
23800 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23801 PyObject * obj0 = 0 ;
23802 char *kwnames[] = {
23803 (char *) "self", NULL
23804 };
23805
23806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
23807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23809 {
23810 PyThreadState* __tstate = wxPyBeginAllowThreads();
23811 (arg1)->base_CreateCanvas();
23812
23813 wxPyEndAllowThreads(__tstate);
23814 if (PyErr_Occurred()) SWIG_fail;
23815 }
23816 Py_INCREF(Py_None); resultobj = Py_None;
23817 return resultobj;
23818 fail:
23819 return NULL;
23820 }
23821
23822
23823 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23824 PyObject *resultobj;
23825 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23826 PyObject * obj0 = 0 ;
23827 char *kwnames[] = {
23828 (char *) "self", NULL
23829 };
23830
23831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
23832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23834 {
23835 PyThreadState* __tstate = wxPyBeginAllowThreads();
23836 (arg1)->base_CreateControlBar();
23837
23838 wxPyEndAllowThreads(__tstate);
23839 if (PyErr_Occurred()) SWIG_fail;
23840 }
23841 Py_INCREF(Py_None); resultobj = Py_None;
23842 return resultobj;
23843 fail:
23844 return NULL;
23845 }
23846
23847
23848 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
23849 PyObject *obj;
23850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23851 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
23852 Py_INCREF(obj);
23853 return Py_BuildValue((char *)"");
23854 }
23855 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23856 PyObject *resultobj;
23857 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23858 long arg2 ;
23859 wxWindow *arg3 = (wxWindow *) 0 ;
23860 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23861 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23862 wxSize const &arg5_defvalue = wxDefaultSize ;
23863 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23864 long arg6 = (long) 0 ;
23865 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23866 wxString *arg7 = (wxString *) &arg7_defvalue ;
23867 wxPyPreviewControlBar *result;
23868 wxPoint temp4 ;
23869 wxSize temp5 ;
23870 bool temp7 = False ;
23871 PyObject * obj0 = 0 ;
23872 PyObject * obj1 = 0 ;
23873 PyObject * obj2 = 0 ;
23874 PyObject * obj3 = 0 ;
23875 PyObject * obj4 = 0 ;
23876 PyObject * obj5 = 0 ;
23877 PyObject * obj6 = 0 ;
23878 char *kwnames[] = {
23879 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23880 };
23881
23882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23885 arg2 = (long) SWIG_AsLong(obj1);
23886 if (PyErr_Occurred()) SWIG_fail;
23887 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23889 if (obj3) {
23890 {
23891 arg4 = &temp4;
23892 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23893 }
23894 }
23895 if (obj4) {
23896 {
23897 arg5 = &temp5;
23898 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23899 }
23900 }
23901 if (obj5) {
23902 arg6 = (long) SWIG_AsLong(obj5);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 }
23905 if (obj6) {
23906 {
23907 arg7 = wxString_in_helper(obj6);
23908 if (arg7 == NULL) SWIG_fail;
23909 temp7 = True;
23910 }
23911 }
23912 {
23913 PyThreadState* __tstate = wxPyBeginAllowThreads();
23914 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23915
23916 wxPyEndAllowThreads(__tstate);
23917 if (PyErr_Occurred()) SWIG_fail;
23918 }
23919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
23920 {
23921 if (temp7)
23922 delete arg7;
23923 }
23924 return resultobj;
23925 fail:
23926 {
23927 if (temp7)
23928 delete arg7;
23929 }
23930 return NULL;
23931 }
23932
23933
23934 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23935 PyObject *resultobj;
23936 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23937 PyObject *arg2 = (PyObject *) 0 ;
23938 PyObject *arg3 = (PyObject *) 0 ;
23939 PyObject * obj0 = 0 ;
23940 PyObject * obj1 = 0 ;
23941 PyObject * obj2 = 0 ;
23942 char *kwnames[] = {
23943 (char *) "self",(char *) "self",(char *) "_class", NULL
23944 };
23945
23946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23949 arg2 = obj1;
23950 arg3 = obj2;
23951 {
23952 PyThreadState* __tstate = wxPyBeginAllowThreads();
23953 (arg1)->_setCallbackInfo(arg2,arg3);
23954
23955 wxPyEndAllowThreads(__tstate);
23956 if (PyErr_Occurred()) SWIG_fail;
23957 }
23958 Py_INCREF(Py_None); resultobj = Py_None;
23959 return resultobj;
23960 fail:
23961 return NULL;
23962 }
23963
23964
23965 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23966 PyObject *resultobj;
23967 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23968 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
23969 PyObject * obj0 = 0 ;
23970 PyObject * obj1 = 0 ;
23971 char *kwnames[] = {
23972 (char *) "self",(char *) "preview", NULL
23973 };
23974
23975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
23976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23978 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
23979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23980 {
23981 PyThreadState* __tstate = wxPyBeginAllowThreads();
23982 (arg1)->SetPrintPreview(arg2);
23983
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
23987 Py_INCREF(Py_None); resultobj = Py_None;
23988 return resultobj;
23989 fail:
23990 return NULL;
23991 }
23992
23993
23994 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
23995 PyObject *resultobj;
23996 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23997 PyObject * obj0 = 0 ;
23998 char *kwnames[] = {
23999 (char *) "self", NULL
24000 };
24001
24002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24005 {
24006 PyThreadState* __tstate = wxPyBeginAllowThreads();
24007 (arg1)->base_CreateButtons();
24008
24009 wxPyEndAllowThreads(__tstate);
24010 if (PyErr_Occurred()) SWIG_fail;
24011 }
24012 Py_INCREF(Py_None); resultobj = Py_None;
24013 return resultobj;
24014 fail:
24015 return NULL;
24016 }
24017
24018
24019 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
24020 PyObject *resultobj;
24021 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24022 int arg2 ;
24023 PyObject * obj0 = 0 ;
24024 PyObject * obj1 = 0 ;
24025 char *kwnames[] = {
24026 (char *) "self",(char *) "zoom", NULL
24027 };
24028
24029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24032 arg2 = (int) SWIG_AsInt(obj1);
24033 if (PyErr_Occurred()) SWIG_fail;
24034 {
24035 PyThreadState* __tstate = wxPyBeginAllowThreads();
24036 (arg1)->base_SetZoomControl(arg2);
24037
24038 wxPyEndAllowThreads(__tstate);
24039 if (PyErr_Occurred()) SWIG_fail;
24040 }
24041 Py_INCREF(Py_None); resultobj = Py_None;
24042 return resultobj;
24043 fail:
24044 return NULL;
24045 }
24046
24047
24048 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
24049 PyObject *obj;
24050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24051 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24052 Py_INCREF(obj);
24053 return Py_BuildValue((char *)"");
24054 }
24055 static PyMethodDef SwigMethods[] = {
24056 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
24057 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
24058 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24059 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24060 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
24061 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24062 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24063 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24064 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
24065 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
24066 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
24067 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
24068 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
24069 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
24070 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
24071 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
24072 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
24073 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
24074 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
24075 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
24076 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
24077 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
24078 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
24079 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24080 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24081 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
24082 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
24083 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
24084 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
24085 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
24086 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
24087 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
24088 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
24089 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
24090 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
24091 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
24092 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24093 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24094 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
24095 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
24096 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
24097 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
24098 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
24099 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
24100 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
24101 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24102 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24103 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
24104 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24105 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
24106 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
24107 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24108 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24109 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24110 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24111 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24112 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
24113 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24114 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24115 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
24116 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
24117 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24118 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24119 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24120 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24121 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
24122 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
24123 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
24124 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24125 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24126 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
24127 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
24128 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
24129 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
24130 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
24131 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
24132 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
24133 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS, NULL },
24134 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
24135 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24136 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24137 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24138 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
24139 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24140 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
24141 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
24142 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
24143 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24144 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24145 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24146 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
24147 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
24148 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24149 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24150 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24151 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
24152 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
24153 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24154 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24155 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24156 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24157 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
24158 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
24159 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
24160 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
24161 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
24162 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
24163 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24164 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24165 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24166 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
24167 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
24168 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
24169 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
24170 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
24171 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
24172 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
24173 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
24174 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24175 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
24176 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
24177 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
24178 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24179 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
24180 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24181 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24182 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24183 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
24184 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
24185 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
24186 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
24187 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
24188 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
24189 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
24190 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24191 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24192 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24193 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
24194 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
24195 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
24196 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
24197 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24198 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24199 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24200 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
24201 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
24202 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
24203 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
24204 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
24205 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24206 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24207 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24208 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24209 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
24210 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
24211 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
24212 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
24213 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
24214 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
24215 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
24216 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
24217 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
24218 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
24219 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
24220 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24221 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
24222 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
24223 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
24224 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
24225 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
24226 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
24227 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
24228 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24229 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
24230 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
24231 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24232 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24233 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24234 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24235 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24236 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24237 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
24238 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
24239 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
24240 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24241 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24242 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24243 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
24244 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
24245 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
24246 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24247 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24248 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24249 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
24250 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24251 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
24252 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
24253 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24254 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
24255 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
24256 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
24257 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24258 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24259 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24260 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
24261 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24262 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24263 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
24264 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24265 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24266 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
24267 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24268 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
24269 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
24270 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
24271 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24272 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24273 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24274 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24275 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
24276 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
24277 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
24278 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
24279 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
24280 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
24281 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS, NULL },
24282 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
24283 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
24284 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
24285 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
24286 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
24287 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
24288 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
24289 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
24290 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
24291 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24292 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24293 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
24294 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24295 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24296 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
24297 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
24298 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
24299 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
24300 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
24301 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24302 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24303 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
24304 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
24305 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24306 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
24307 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
24308 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
24309 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
24310 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
24311 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24312 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
24313 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24314 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
24315 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
24316 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
24317 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24318 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24319 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
24320 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
24321 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
24322 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
24323 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
24324 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
24325 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
24326 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24327 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
24328 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
24329 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
24330 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
24331 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24332 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
24333 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
24334 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24335 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
24336 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
24337 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24338 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
24339 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
24340 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24341 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
24342 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
24343 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24344 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
24345 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
24346 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
24347 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24348 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
24349 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
24350 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
24351 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
24352 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
24353 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24354 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
24355 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
24356 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
24357 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
24358 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
24359 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
24360 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24361 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
24362 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
24363 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
24364 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
24365 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24366 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
24367 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
24368 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
24369 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24370 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24371 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24372 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24373 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
24374 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24375 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
24376 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
24377 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
24378 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
24379 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
24380 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
24381 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
24382 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24383 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
24384 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
24385 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
24386 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24387 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
24388 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
24389 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24390 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
24391 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
24392 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24393 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
24394 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24395 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
24396 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
24397 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24398 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
24399 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24400 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
24401 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
24402 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
24403 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24404 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24405 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
24406 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
24407 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24408 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24409 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
24410 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
24411 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
24412 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
24413 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
24414 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
24415 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
24416 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24417 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24418 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
24419 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
24420 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
24421 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24422 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24423 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24424 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
24425 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
24426 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
24427 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24428 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24429 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24430 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
24431 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
24432 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
24433 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
24434 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
24435 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24436 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24437 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
24438 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
24439 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24440 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24441 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24442 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
24443 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
24444 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
24445 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
24446 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24447 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24448 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24449 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
24450 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24451 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24452 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24453 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24454 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24455 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24456 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24457 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24458 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24459 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24460 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24461 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
24462 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24463 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24464 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24465 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
24466 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
24467 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
24468 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
24469 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
24470 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
24471 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
24472 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24473 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
24474 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
24475 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
24476 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24477 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24478 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24479 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24480 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24481 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24482 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24483 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24484 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24485 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
24486 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24487 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24488 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24489 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
24490 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
24491 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
24492 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
24493 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
24494 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
24495 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
24496 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24497 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
24498 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24499 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24500 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24501 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24502 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24503 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24504 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24505 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24506 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24507 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24508 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24509 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
24510 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24511 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24512 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24513 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
24514 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
24515 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
24516 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
24517 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
24518 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
24519 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
24520 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24521 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
24522 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24523 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24524 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
24525 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
24526 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24527 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
24528 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
24529 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24530 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
24531 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
24532 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
24533 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
24534 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
24535 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
24536 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24537 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
24538 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24539 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
24540 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
24541 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
24542 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
24543 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24544 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
24545 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24546 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
24547 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
24548 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
24549 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
24550 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
24551 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
24552 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
24553 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24554 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
24555 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24556 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
24557 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
24558 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
24559 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
24560 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
24561 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
24562 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
24563 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
24564 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
24565 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
24566 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
24567 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
24568 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24569 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24570 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24571 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24572 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24573 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
24574 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
24575 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24576 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24577 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24578 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
24579 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
24580 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24581 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24582 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
24583 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
24584 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
24585 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
24586 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
24587 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
24588 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24589 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
24590 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24591 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24592 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
24593 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
24594 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
24595 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
24596 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
24597 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
24598 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24599 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
24600 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24601 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
24602 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
24603 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
24604 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
24605 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24606 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
24607 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
24608 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
24609 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
24610 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
24611 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
24612 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24613 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
24614 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
24615 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24616 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
24617 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
24618 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
24619 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
24620 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
24621 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
24622 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24623 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
24624 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
24625 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24626 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
24627 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24628 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
24629 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24630 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
24631 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24632 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
24633 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24634 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
24635 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24636 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24637 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
24638 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24639 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24640 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
24641 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
24642 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
24643 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
24644 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
24645 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24646 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24647 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
24648 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24649 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
24650 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
24651 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
24652 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
24653 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
24654 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
24655 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24656 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
24657 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
24658 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
24659 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
24660 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
24661 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
24662 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
24663 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24664 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24665 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
24666 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
24667 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
24668 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
24669 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
24670 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
24671 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
24672 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
24673 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
24674 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
24675 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24676 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
24677 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24678 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
24679 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24680 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
24681 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24682 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24683 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24684 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
24685 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24686 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
24687 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
24688 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
24689 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
24690 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
24691 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
24692 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
24693 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
24694 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
24695 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
24696 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
24697 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
24698 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
24699 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
24700 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
24701 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24702 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24703 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24704 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24705 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
24706 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
24707 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
24708 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
24709 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24710 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
24711 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
24712 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
24713 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
24714 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
24715 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
24716 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
24717 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
24718 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
24719 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
24720 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24721 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
24722 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
24723 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
24724 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
24725 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
24726 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
24727 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
24728 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
24729 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24730 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24731 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24732 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24733 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
24734 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24735 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24736 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
24737 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24738 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24739 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
24740 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
24741 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
24742 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
24743 { NULL, NULL, 0, NULL }
24744 };
24745
24746
24747 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24748
24749 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
24750 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24751 }
24752 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
24753 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
24754 }
24755 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
24756 return (void *)((wxEvent *) ((wxMenuEvent *) x));
24757 }
24758 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
24759 return (void *)((wxEvent *) ((wxCloseEvent *) x));
24760 }
24761 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
24762 return (void *)((wxEvent *) ((wxMouseEvent *) x));
24763 }
24764 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
24765 return (void *)((wxEvent *) ((wxEraseEvent *) x));
24766 }
24767 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
24768 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
24769 }
24770 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
24771 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
24772 }
24773 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
24774 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
24775 }
24776 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
24777 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
24778 }
24779 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
24780 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
24781 }
24782 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
24783 return (void *)((wxEvent *) ((wxPyEvent *) x));
24784 }
24785 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
24786 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
24787 }
24788 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
24789 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
24790 }
24791 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
24792 return (void *)((wxEvent *) ((wxIdleEvent *) x));
24793 }
24794 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
24795 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
24796 }
24797 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
24798 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
24799 }
24800 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
24801 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
24802 }
24803 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
24804 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
24805 }
24806 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
24807 return (void *)((wxEvent *) ((wxActivateEvent *) x));
24808 }
24809 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
24810 return (void *)((wxEvent *) ((wxSizeEvent *) x));
24811 }
24812 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
24813 return (void *)((wxEvent *) ((wxMoveEvent *) x));
24814 }
24815 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
24816 return (void *)((wxEvent *) ((wxPaintEvent *) x));
24817 }
24818 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
24819 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
24820 }
24821 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
24822 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
24823 }
24824 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
24825 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
24826 }
24827 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
24828 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
24829 }
24830 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
24831 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
24832 }
24833 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
24834 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
24835 }
24836 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
24837 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
24838 }
24839 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
24840 return (void *)((wxEvent *) ((wxFocusEvent *) x));
24841 }
24842 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
24843 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
24844 }
24845 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
24846 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
24847 }
24848 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
24849 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
24850 }
24851 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
24852 return (void *)((wxEvent *) ((wxShowEvent *) x));
24853 }
24854 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
24855 return (void *)((wxEvent *) ((wxCommandEvent *) x));
24856 }
24857 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
24858 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
24859 }
24860 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
24861 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24862 }
24863 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
24864 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
24865 }
24866 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
24867 return (void *)((wxEvent *) ((wxKeyEvent *) x));
24868 }
24869 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
24870 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
24871 }
24872 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
24873 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
24874 }
24875 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
24876 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
24877 }
24878 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
24879 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24880 }
24881 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
24882 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24883 }
24884 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
24885 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
24886 }
24887 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
24888 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
24889 }
24890 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
24891 return (void *)((wxEvtHandler *) ((wxValidator *) x));
24892 }
24893 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
24894 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
24895 }
24896 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
24897 return (void *)((wxEvtHandler *) ((wxMenu *) x));
24898 }
24899 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
24900 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24901 }
24902 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
24903 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24904 }
24905 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
24906 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24907 }
24908 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
24909 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24910 }
24911 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
24912 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24913 }
24914 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
24915 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24916 }
24917 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
24918 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24919 }
24920 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
24921 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
24922 }
24923 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
24924 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
24925 }
24926 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
24927 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
24928 }
24929 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
24930 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
24931 }
24932 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
24933 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24934 }
24935 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
24936 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
24937 }
24938 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
24939 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
24940 }
24941 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
24942 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
24943 }
24944 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
24945 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
24946 }
24947 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
24948 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
24949 }
24950 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
24951 return (void *)((wxEvtHandler *) ((wxWindow *) x));
24952 }
24953 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
24954 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
24955 }
24956 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
24957 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
24958 }
24959 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
24960 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
24961 }
24962 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
24963 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
24964 }
24965 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
24966 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
24967 }
24968 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
24969 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24970 }
24971 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
24972 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24973 }
24974 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
24975 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24976 }
24977 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
24978 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
24979 }
24980 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
24981 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
24982 }
24983 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
24984 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
24985 }
24986 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
24987 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24988 }
24989 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
24990 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24991 }
24992 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
24993 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24994 }
24995 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
24996 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
24997 }
24998 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
24999 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25000 }
25001 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25002 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25003 }
25004 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25005 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25006 }
25007 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25008 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25009 }
25010 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25011 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25012 }
25013 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25014 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25015 }
25016 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25017 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25018 }
25019 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25020 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25021 }
25022 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25023 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25024 }
25025 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25026 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25027 }
25028 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25029 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25030 }
25031 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25032 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25033 }
25034 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25035 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25036 }
25037 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
25038 return (void *)((wxFrame *) ((wxTipWindow *) x));
25039 }
25040 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25041 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25042 }
25043 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25044 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25045 }
25046 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25047 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25048 }
25049 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25050 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25051 }
25052 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25053 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25054 }
25055 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25056 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25057 }
25058 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25059 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25060 }
25061 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25063 }
25064 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25066 }
25067 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25068 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25069 }
25070 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25071 return (void *)((wxObject *) ((wxSizerItem *) x));
25072 }
25073 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25074 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25075 }
25076 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25077 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25078 }
25079 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25080 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25081 }
25082 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25083 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25084 }
25085 static void *_p_wxSizerTo_p_wxObject(void *x) {
25086 return (void *)((wxObject *) ((wxSizer *) x));
25087 }
25088 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25089 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25090 }
25091 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25092 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25093 }
25094 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25096 }
25097 static void *_p_wxEventTo_p_wxObject(void *x) {
25098 return (void *)((wxObject *) ((wxEvent *) x));
25099 }
25100 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25101 return (void *)((wxObject *) ((wxFontData *) x));
25102 }
25103 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25104 return (void *)((wxObject *) ((wxPrintData *) x));
25105 }
25106 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25107 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25108 }
25109 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25110 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25111 }
25112 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25113 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25114 }
25115 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25116 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25117 }
25118 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25119 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25120 }
25121 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25122 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25123 }
25124 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25125 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25126 }
25127 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25128 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25129 }
25130 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25131 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25132 }
25133 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25134 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25135 }
25136 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25137 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25138 }
25139 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25140 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25141 }
25142 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25143 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25144 }
25145 static void *_p_wxControlTo_p_wxObject(void *x) {
25146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25147 }
25148 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25149 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25150 }
25151 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25152 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25153 }
25154 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25155 return (void *)((wxObject *) ((wxFSFile *) x));
25156 }
25157 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25158 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25159 }
25160 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25161 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25162 }
25163 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25165 }
25166 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25167 return (void *)((wxObject *) ((wxColourData *) x));
25168 }
25169 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25170 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25171 }
25172 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25173 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25174 }
25175 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25177 }
25178 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25180 }
25181 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25183 }
25184 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25186 }
25187 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25189 }
25190 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25192 }
25193 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25195 }
25196 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25198 }
25199 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25201 }
25202 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25203 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25204 }
25205 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25206 return (void *)((wxObject *) ((wxPrinter *) x));
25207 }
25208 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25209 return (void *)((wxObject *) ((wxMenuItem *) x));
25210 }
25211 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25212 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25213 }
25214 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25215 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25216 }
25217 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25218 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25219 }
25220 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25221 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25222 }
25223 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25224 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25225 }
25226 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25227 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25228 }
25229 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25230 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25231 }
25232 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25233 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25234 }
25235 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25236 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25237 }
25238 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25239 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25240 }
25241 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25242 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25243 }
25244 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25245 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25246 }
25247 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25248 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25249 }
25250 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25251 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25252 }
25253 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25254 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25255 }
25256 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25257 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25258 }
25259 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25260 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25261 }
25262 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25263 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25264 }
25265 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25266 return (void *)((wxObject *) ((wxImageHandler *) x));
25267 }
25268 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25269 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25270 }
25271 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25272 return (void *)((wxObject *) ((wxEvtHandler *) x));
25273 }
25274 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25275 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25276 }
25277 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25279 }
25280 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25282 }
25283 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25284 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25285 }
25286 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25288 }
25289 static void *_p_wxImageTo_p_wxObject(void *x) {
25290 return (void *)((wxObject *) ((wxImage *) x));
25291 }
25292 static void *_p_wxFrameTo_p_wxObject(void *x) {
25293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25294 }
25295 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25296 return (void *)((wxObject *) ((wxPyPrintout *) x));
25297 }
25298 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25299 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25300 }
25301 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25302 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25303 }
25304 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25306 }
25307 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25309 }
25310 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25312 }
25313 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25314 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25315 }
25316 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25317 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25318 }
25319 static void *_p_wxWindowTo_p_wxObject(void *x) {
25320 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25321 }
25322 static void *_p_wxMenuTo_p_wxObject(void *x) {
25323 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25324 }
25325 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25327 }
25328 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25330 }
25331 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25333 }
25334 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25336 }
25337 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25339 }
25340 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25342 }
25343 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25345 }
25346 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25348 }
25349 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25351 }
25352 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25354 }
25355 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25357 }
25358 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25360 }
25361 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25363 }
25364 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25365 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25366 }
25367 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25368 return (void *)((wxObject *) ((wxPrintPreview *) x));
25369 }
25370 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25371 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25372 }
25373 static void *_p_wxPanelTo_p_wxObject(void *x) {
25374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25375 }
25376 static void *_p_wxDialogTo_p_wxObject(void *x) {
25377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25378 }
25379 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25381 }
25382 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25384 }
25385 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25387 }
25388 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25390 }
25391 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25393 }
25394 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25395 return (void *)((wxObject *) ((wxFileSystem *) x));
25396 }
25397 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25398 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25399 }
25400 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25401 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25402 }
25403 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25404 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25405 }
25406 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25407 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25408 }
25409 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25410 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25411 }
25412 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25413 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25414 }
25415 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25416 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25417 }
25418 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25419 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25420 }
25421 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25422 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25423 }
25424 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25426 }
25427 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25428 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25429 }
25430 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25431 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25432 }
25433 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25434 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25435 }
25436 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25438 }
25439 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25440 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25441 }
25442 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25443 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25444 }
25445 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25446 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25447 }
25448 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25449 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25450 }
25451 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25452 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25453 }
25454 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25455 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25456 }
25457 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25458 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25459 }
25460 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25461 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25462 }
25463 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25464 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25465 }
25466 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25467 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25468 }
25469 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25470 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25471 }
25472 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25473 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25474 }
25475 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25476 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25477 }
25478 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25479 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25480 }
25481 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25482 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25483 }
25484 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25485 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25486 }
25487 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25488 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25489 }
25490 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
25491 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
25492 }
25493 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25494 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25495 }
25496 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25497 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25498 }
25499 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25500 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25501 }
25502 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25503 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25504 }
25505 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25506 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25507 }
25508 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25509 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25510 }
25511 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25512 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25513 }
25514 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25515 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25516 }
25517 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25518 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25519 }
25520 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25521 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25522 }
25523 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25524 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25525 }
25526 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25527 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25528 }
25529 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25530 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25531 }
25532 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25533 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25534 }
25535 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25536 return (void *)((wxWindow *) ((wxMenuBar *) x));
25537 }
25538 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25539 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25540 }
25541 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25542 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25543 }
25544 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25545 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25546 }
25547 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25548 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25549 }
25550 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25551 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25552 }
25553 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25554 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25555 }
25556 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25557 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25558 }
25559 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25560 return (void *)((wxWindow *) ((wxPanel *) x));
25561 }
25562 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25563 return (void *)((wxWindow *) ((wxStatusBar *) x));
25564 }
25565 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25566 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25567 }
25568 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25569 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25570 }
25571 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25572 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25573 }
25574 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25575 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25576 }
25577 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25578 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25579 }
25580 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25581 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25582 }
25583 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25584 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25585 }
25586 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25587 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25588 }
25589 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25590 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25591 }
25592 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25593 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25594 }
25595 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25596 return (void *)((wxWindow *) ((wxSashWindow *) x));
25597 }
25598 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25599 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25600 }
25601 static void *_p_wxControlTo_p_wxWindow(void *x) {
25602 return (void *)((wxWindow *) ((wxControl *) x));
25603 }
25604 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25605 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25606 }
25607 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25608 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25609 }
25610 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25611 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25612 }
25613 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25614 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25615 }
25616 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25617 return (void *)((wxWindow *) ((wxPyWindow *) x));
25618 }
25619 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25620 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25621 }
25622 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25623 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25624 }
25625 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25626 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25627 }
25628 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25629 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25630 }
25631 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25632 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25633 }
25634 static void *_p_wxFrameTo_p_wxWindow(void *x) {
25635 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25636 }
25637 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25638 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25639 }
25640 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25641 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25642 }
25643 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25644 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25645 }
25646 static void *_p_wxDialogTo_p_wxWindow(void *x) {
25647 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25648 }
25649 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25650 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25651 }
25652 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25653 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25654 }
25655 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
25656 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25657 }
25658 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
25659 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25660 }
25661 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
25662 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
25663 }
25664 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
25665 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
25666 }
25667 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
25668 return (void *)((wxDialog *) ((wxColourDialog *) x));
25669 }
25670 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
25671 return (void *)((wxDialog *) ((wxDirDialog *) x));
25672 }
25673 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
25674 return (void *)((wxDialog *) ((wxFontDialog *) x));
25675 }
25676 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
25677 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
25678 }
25679 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
25680 return (void *)((wxDialog *) ((wxPrintDialog *) x));
25681 }
25682 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
25683 return (void *)((wxDialog *) ((wxFileDialog *) x));
25684 }
25685 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
25686 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
25687 }
25688 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
25689 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
25690 }
25691 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
25692 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
25693 }
25694 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
25695 return (void *)((wxDialog *) ((wxMessageDialog *) x));
25696 }
25697 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
25698 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
25699 }
25700 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
25701 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
25702 }
25703 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
25704 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
25705 }
25706 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
25707 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25708 }
25709 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
25710 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25711 }
25712 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
25713 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25714 }
25715 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
25716 return (void *)((wxPanel *) ((wxPyPanel *) x));
25717 }
25718 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
25719 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
25720 }
25721 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
25722 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
25723 }
25724 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
25725 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25726 }
25727 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
25728 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
25729 }
25730 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
25731 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
25732 }
25733 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
25734 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
25735 }
25736 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
25737 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
25738 }
25739 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
25740 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
25741 }
25742 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
25743 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25744 }
25745 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
25746 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
25747 }
25748 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
25749 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
25750 }
25751 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
25752 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
25753 }
25754 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
25755 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
25756 }
25757 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
25758 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
25759 }
25760 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
25761 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25762 }
25763 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}};
25764 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}};
25765 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}};
25766 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}};
25767 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}};
25768 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}};
25769 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}};
25770 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}};
25771 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}};
25772 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}};
25773 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}};
25774 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}};
25775 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}};
25776 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}};
25777 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}};
25778 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}};
25779 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}};
25780 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}};
25781 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}};
25782 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}};
25783 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}};
25784 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}};
25785 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}};
25786 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}};
25787 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}};
25788 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}};
25789 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}};
25790 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}};
25791 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}};
25792 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}};
25793 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}};
25794 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}};
25795 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}};
25796 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}};
25797 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}};
25798 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_wxTipWindow", _p_wxTipWindowTo_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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_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}};
25799 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}};
25800 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}};
25801 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}};
25802 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}};
25803 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}};
25804 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}};
25805 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_wxTipWindow", _p_wxTipWindowTo_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}};
25806 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}};
25807 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}};
25808 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}};
25809 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}};
25810 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}};
25811 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}};
25812 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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_wxTipWindow", _p_wxTipWindowTo_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_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}};
25813 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}};
25814 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}};
25815 static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25816 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}};
25817 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}};
25818 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25819 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}};
25820 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}};
25821 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}};
25822 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},{0, 0, 0, 0, 0, 0, 0}};
25823 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}};
25824 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_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_wxDirDialog", _p_wxDirDialogTo_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_wxTipWindow", _p_wxTipWindowTo_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}};
25825 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_wxTipWindow", _p_wxTipWindowTo_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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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_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_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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}};
25826 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25827 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}};
25828 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}};
25829 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}};
25830 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}};
25831 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}};
25832 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}};
25833 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}};
25834 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}};
25835 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}};
25836 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}};
25837 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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}};
25838 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}};
25839 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}};
25840 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}};
25841 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}};
25842 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}};
25843 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}};
25844 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}};
25845 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}};
25846 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}};
25847 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}};
25848
25849 static swig_type_info *swig_types_initial[] = {
25850 _swigt__p_wxQueryLayoutInfoEvent,
25851 _swigt__p_wxPreviewFrame,
25852 _swigt__p_wxPyPreviewFrame,
25853 _swigt__p_wxPyPanel,
25854 _swigt__p_wxMenu,
25855 _swigt__p_wxPrintData,
25856 _swigt__p_wxFontData,
25857 _swigt__p_wxEvent,
25858 _swigt__p_wxTaskBarIcon,
25859 _swigt__p_wxIconBundle,
25860 _swigt__p_wxLayoutAlgorithm,
25861 _swigt__p_wxFindDialogEvent,
25862 _swigt__p_wxPreviewCanvas,
25863 _swigt__p_wxFont,
25864 _swigt__p_wxSplitterEvent,
25865 _swigt__p_wxRegion,
25866 _swigt__p_wxFindReplaceData,
25867 _swigt__p_int,
25868 _swigt__p_wxSize,
25869 _swigt__p_wxDC,
25870 _swigt__p_wxIcon,
25871 _swigt__p_wxMDIChildFrame,
25872 _swigt__p_wxColourData,
25873 _swigt__p_wxNotifyEvent,
25874 _swigt__p_wxPyWindow,
25875 _swigt__p_wxSplashScreen,
25876 _swigt__p_wxFindReplaceDialog,
25877 _swigt__p_wxProgressDialog,
25878 _swigt__p_wxMessageDialog,
25879 _swigt__p_wxTextEntryDialog,
25880 _swigt__p_wxSingleChoiceDialog,
25881 _swigt__p_wxMultiChoiceDialog,
25882 _swigt__p_wxFileDialog,
25883 _swigt__p_wxPrinter,
25884 _swigt__p_wxArrayInt,
25885 _swigt__p_wxEvtHandler,
25886 _swigt__p_wxCalculateLayoutEvent,
25887 _swigt__p_wxPyHtmlListBox,
25888 _swigt__p_wxPyVListBox,
25889 _swigt__p_wxRect,
25890 _swigt__p_char,
25891 _swigt__p_wxMiniFrame,
25892 _swigt__p_wxFrame,
25893 _swigt__p_wxPyPrintout,
25894 _swigt__p_wxTaskBarIconEvent,
25895 _swigt__p_wxScrollWinEvent,
25896 _swigt__p_wxStatusBar,
25897 _swigt__p_wxMDIParentFrame,
25898 _swigt__p_wxPoint,
25899 _swigt__p_wxObject,
25900 _swigt__p_wxOutputStream,
25901 _swigt__p_unsigned_long,
25902 _swigt__p_wxPyScrolledWindow,
25903 _swigt__p_wxMDIClientWindow,
25904 _swigt__p_wxTipWindow,
25905 _swigt__p_wxPyPopupTransientWindow,
25906 _swigt__p_wxSashLayoutWindow,
25907 _swigt__p_wxSplitterWindow,
25908 _swigt__p_wxPyVScrolledWindow,
25909 _swigt__p_wxPopupWindow,
25910 _swigt__p_wxSashWindow,
25911 _swigt__p_wxTopLevelWindow,
25912 _swigt__p_wxWindow,
25913 _swigt__p_wxScrolledWindow,
25914 _swigt__p_wxSplashScreenWindow,
25915 _swigt__p_wxMenuBar,
25916 _swigt__p_wxPrintPreview,
25917 _swigt__p_wxSashEvent,
25918 _swigt__p_wxString,
25919 _swigt__p_wxPyPrintPreview,
25920 _swigt__p_wxFontDialog,
25921 _swigt__p_wxDirDialog,
25922 _swigt__p_wxColourDialog,
25923 _swigt__p_wxDialog,
25924 _swigt__p_wxPanel,
25925 _swigt__p_wxPageSetupDialog,
25926 _swigt__p_wxPrintDialog,
25927 _swigt__p_wxBitmap,
25928 _swigt__p_wxCommandEvent,
25929 _swigt__p_wxPreviewControlBar,
25930 _swigt__p_wxPyPreviewControlBar,
25931 _swigt__p_wxColour,
25932 _swigt__p_wxToolBar,
25933 _swigt__p_wxPageSetupDialogData,
25934 _swigt__p_wxPrintDialogData,
25935 0
25936 };
25937
25938
25939 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25940
25941 static swig_const_info swig_const_table[] = {
25942 {0, 0, 0, 0.0, 0, 0}};
25943
25944 #ifdef __cplusplus
25945 }
25946 #endif
25947
25948 #ifdef __cplusplus
25949 extern "C"
25950 #endif
25951 SWIGEXPORT(void) SWIG_init(void) {
25952 static PyObject *SWIG_globals = 0;
25953 static int typeinit = 0;
25954 PyObject *m, *d;
25955 int i;
25956 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
25957 m = Py_InitModule((char *) SWIG_name, SwigMethods);
25958 d = PyModule_GetDict(m);
25959
25960 if (!typeinit) {
25961 for (i = 0; swig_types_initial[i]; i++) {
25962 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
25963 }
25964 typeinit = 1;
25965 }
25966 SWIG_InstallConstants(d,swig_const_table);
25967
25968 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
25969 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
25970 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
25971 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
25972 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
25973 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
25974 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
25975 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
25976 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
25977 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
25978 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
25979 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
25980 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
25981 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
25982 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
25983 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
25984 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
25985 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
25986 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
25987 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
25988 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
25989 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
25990 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
25991 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
25992 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
25993 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
25994 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
25995 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
25996 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
25997 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
25998 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
25999 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26000 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26001 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26002 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26003 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26004 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26005 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26006 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26007 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26008 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26009 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26010 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26011 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26012 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26013 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26014 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26015 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26016 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26017 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26018 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26019 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26020 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26021 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26022 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26023 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26024 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26025 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26026 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26027 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26028 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26029 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26030 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26031 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26032 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26033 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26034 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26035 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26036 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26037 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26038 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26039 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26040 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26041 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26042 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26043 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26044 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26045 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26046 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26047 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26048 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26049 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26050 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26051 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26052 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26053 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26054 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26055 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26056 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26057
26058 // Map renamed classes back to their common name for OOR
26059 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26060 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26061 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26062
26063 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26064 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26065 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26066 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26067 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26068 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26069 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26070 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26071 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26072 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26073 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26074 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26075 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26076 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26077 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26078 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26079 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26080 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26081 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26082 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26083 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26084 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26085 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26086 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26087 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26088 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26089 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26090 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26091 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26092 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26093 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26094 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26095 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26096 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26097 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26098 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26099 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26100 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26101 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26102 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26103 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26104 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26105 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26106 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26107 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26108 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26109 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26110 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26111 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26112 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26113 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26114 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26115 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26116 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26117 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26118 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26119 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26120 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26121 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26122 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26123
26124 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26125
26126 }
26127