]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
some methods missing wxPyBeginBlockThreads/wxPyEndBlockThreads
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow 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
518
519 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
520 wxRect r;
521 self->GetFieldRect(i, r);
522 return r;
523 }
524 static const wxString wxPySplitterNameStr(wxT("splitter"));
525 static const wxString wxPySashNameStr(wxT("sashWindow"));
526 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
527
528 #include <wx/popupwin.h>
529
530
531 class wxPyPopupTransientWindow : public wxPopupTransientWindow
532 {
533 public:
534 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
535 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
536 : wxPopupTransientWindow(parent, style) {}
537
538 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
539 DEC_PYCALLBACK__(OnDismiss);
540 DEC_PYCALLBACK_BOOL_(CanDismiss);
541 PYPRIVATE;
542 };
543
544
545 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
546 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
547 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
548
549
550 #include <wx/tipwin.h>
551
552 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
553 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
554 }
555
556 #include <wx/tipwin.h>
557
558
559 #include <wx/vscroll.h>
560
561
562 class wxPyVScrolledWindow : public wxVScrolledWindow
563 {
564 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
565 public:
566 wxPyVScrolledWindow() : wxVScrolledWindow() {}
567
568 wxPyVScrolledWindow(wxWindow *parent,
569 wxWindowID id = wxID_ANY,
570 const wxPoint& pos = wxDefaultPosition,
571 const wxSize& size = wxDefaultSize,
572 long style = 0,
573 const wxString& name = wxPyPanelNameStr)
574 : wxVScrolledWindow(parent, id, pos, size, style, name)
575 {}
576
577 // Overridable virtuals
578
579 // this function must be overridden in the derived class and it should
580 // return the height of the given line in pixels
581 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
582
583
584 // this function doesn't have to be overridden but it may be useful to do
585 // it if calculating the lines heights is a relatively expensive operation
586 // as it gives the user code a possibility to calculate several of them at
587 // once
588 //
589 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
590 // shouldn't rely on the latter being called for all lines in the interval
591 // specified here. It is also possible that OnGetLineHeight() will be
592 // called for the lines outside of this interval, so this is really just a
593 // hint, not a promise.
594 //
595 // finally note that lineMin is inclusive, while lineMax is exclusive, as
596 // usual
597 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
598
599
600 // when the number of lines changes, we try to estimate the total height
601 // of all lines which is a rather expensive operation in terms of lines
602 // access, so if the user code may estimate the average height
603 // better/faster than we do, it should override this function to implement
604 // its own logic
605 //
606 // this function should return the best guess for the total height it may
607 // make
608 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
609
610
611 // Also expose some other interesting protected methods
612
613
614 // find the index of the line we need to show at the top of the window such
615 // that the last (fully or partially) visible line is the given one
616 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
617 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
618
619 // get the total height of the lines between lineMin (inclusive) and
620 // lineMax (exclusive)
621 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
622 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
623
624
625 PYPRIVATE;
626 };
627
628 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
629
630 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
631 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
632 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
633
634
635 SWIGSTATICINLINE(unsigned long)
636 SWIG_AsUnsignedLong(PyObject * obj)
637 {
638 if (PyLong_Check(obj)) {
639 return PyLong_AsUnsignedLong(obj);
640 } else {
641 long i = SWIG_AsLong(obj);
642 if ( !PyErr_Occurred() && (i < 0)) {
643 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
644 }
645 return i;
646 }
647 }
648
649
650 SWIGSTATICINLINE(int)
651 SWIG_CheckUnsignedLong(PyObject* obj)
652 {
653 SWIG_AsUnsignedLong(obj);
654 if (PyErr_Occurred()) {
655 PyErr_Clear();
656 return 0;
657 } else {
658 return 1;
659 }
660 }
661
662
663 SWIGSTATICINLINE(PyObject* )
664 SWIG_FromUnsignedLong(unsigned long value)
665 {
666 return (value > LONG_MAX) ?
667 PyLong_FromUnsignedLong(value)
668 : PyInt_FromLong(swig_numeric_cast(long,value));
669 }
670
671
672 #include <wx/vlbox.h>
673
674 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
675
676 class wxPyVListBox : public wxVListBox
677 {
678 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
679 public:
680 wxPyVListBox() : wxVListBox() {}
681
682 wxPyVListBox(wxWindow *parent,
683 wxWindowID id = wxID_ANY,
684 const wxPoint& pos = wxDefaultPosition,
685 const wxSize& size = wxDefaultSize,
686 long style = 0,
687 const wxString& name = wxPyVListBoxNameStr)
688 : wxVListBox(parent, id, pos, size, style, name)
689 {}
690
691 // Overridable virtuals
692
693 // the derived class must implement this function to actually draw the item
694 // with the given index on the provided DC
695 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
696 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
697
698
699 // the derived class must implement this method to return the height of the
700 // specified item
701 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
702 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
703
704
705 // this method may be used to draw separators between the lines; note that
706 // the rectangle may be modified, typically to deflate it a bit before
707 // passing to OnDrawItem()
708 //
709 // the base class version doesn't do anything
710 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
711 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
712
713
714 // this method is used to draw the items background and, maybe, a border
715 // around it
716 //
717 // the base class version implements a reasonable default behaviour which
718 // consists in drawing the selected item with the standard background
719 // colour and drawing a border around the item if it is either selected or
720 // current
721 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
722 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
723
724
725 PYPRIVATE;
726 };
727
728 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
729
730 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
731 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
733 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
734
735
736
737 #include <wx/htmllbox.h>
738
739
740 class wxPyHtmlListBox : public wxHtmlListBox
741 {
742 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
743 public:
744 wxPyHtmlListBox() : wxHtmlListBox() {}
745
746 wxPyHtmlListBox(wxWindow *parent,
747 wxWindowID id = wxID_ANY,
748 const wxPoint& pos = wxDefaultPosition,
749 const wxSize& size = wxDefaultSize,
750 long style = 0,
751 const wxString& name = wxPyVListBoxNameStr)
752 : wxHtmlListBox(parent, id, pos, size, style, name)
753 {}
754
755 // Overridable virtuals
756
757 // this method must be implemented in the derived class and should return
758 // the body (i.e. without <html>) of the HTML for the given item
759 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
760
761 // this function may be overridden to decorate HTML returned by OnGetItem()
762 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
763
764 // TODO:
765 // // this method allows to customize the selection appearance: it may be used
766 // // to specify the colour of the text which normally has the given colour
767 // // colFg when it is inside the selection
768 // //
769 // // by default, the original colour is not used at all and all text has the
770 // // same (default for this system) colour inside selection
771 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
772
773 // // this is the same as GetSelectedTextColour() but allows to customize the
774 // // background colour -- this is even more rarely used as you can change it
775 // // globally using SetSelectionBackground()
776 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
777
778
779 PYPRIVATE;
780 };
781
782
783 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
784
785 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
786 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
787
788
789
790
791
792 #ifdef __WXMAC__
793 // implement dummy classes and such for wxMac
794
795 class wxTaskBarIcon : public wxEvtHandler
796 {
797 public:
798 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
799 };
800
801
802 class wxTaskBarIconEvent : public wxEvent
803 {
804 public:
805 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
806 { wxPyRaiseNotImplemented(); }
807 virtual wxEvent* Clone() const { return NULL; }
808 };
809
810 enum {
811 wxEVT_TASKBAR_MOVE = 0,
812 wxEVT_TASKBAR_LEFT_DOWN = 0,
813 wxEVT_TASKBAR_LEFT_UP = 0,
814 wxEVT_TASKBAR_RIGHT_DOWN = 0,
815 wxEVT_TASKBAR_RIGHT_UP = 0,
816 wxEVT_TASKBAR_LEFT_DCLICK = 0,
817 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
818 };
819 #endif
820
821 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
822
823 self->RemoveIcon();
824
825 }
826 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
827 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
828 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
829 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
830 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
831 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
832 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
833 wxArrayString arr;
834 self->GetFilenames(arr);
835 return wxArrayString2PyList_helper(arr);
836 }
837 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
838 wxArrayString arr;
839 self->GetPaths(arr);
840 return wxArrayString2PyList_helper(arr);
841 }
842 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
843 return wxArrayInt2PyList_helper(self->GetSelections());
844 }
845 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
846 return new wxSingleChoiceDialog(parent, message, caption,
847 choices, choices_array, NULL, style, pos);
848 }
849
850 #include <wx/mdi.h>
851
852 // C++ version of Python aware wxWindow
853 class wxPyWindow : public wxWindow
854 {
855 DECLARE_DYNAMIC_CLASS(wxPyWindow)
856 public:
857 wxPyWindow() : wxWindow() {}
858 wxPyWindow(wxWindow* parent, const wxWindowID id,
859 const wxPoint& pos = wxDefaultPosition,
860 const wxSize& size = wxDefaultSize,
861 long style = 0,
862 const wxString& name = wxPyPanelNameStr)
863 : wxWindow(parent, id, pos, size, style, name) {}
864
865
866 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
867 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
868 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
869 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
870
871 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
872 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
873 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
874
875 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
876 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
877
878 DEC_PYCALLBACK__(InitDialog);
879 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
880 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
881 DEC_PYCALLBACK_BOOL_(Validate);
882
883 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
884 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
885 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
886
887 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
888 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
889
890 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
891 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
892
893 PYPRIVATE;
894 };
895
896 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
897
898 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
899 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
900 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
901 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
902
903 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
904 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
905 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
906
907 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
908 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
909
910 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
911 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
912 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
913 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
914
915 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
916 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
917 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
918
919 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
920 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
921
922 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
923 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
924
925
926 // C++ version of Python aware wxPanel
927 class wxPyPanel : public wxPanel
928 {
929 DECLARE_DYNAMIC_CLASS(wxPyPanel)
930 public:
931 wxPyPanel() : wxPanel() {}
932 wxPyPanel(wxWindow* parent, const wxWindowID id,
933 const wxPoint& pos = wxDefaultPosition,
934 const wxSize& size = wxDefaultSize,
935 long style = 0,
936 const wxString& name = wxPyPanelNameStr)
937 : wxPanel(parent, id, pos, size, style, name) {}
938
939
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
944
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
948
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
951
952 DEC_PYCALLBACK__(InitDialog);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
955 DEC_PYCALLBACK_BOOL_(Validate);
956
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
960
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
963
964 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
965 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
966
967 PYPRIVATE;
968 };
969
970 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
971
972 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
973 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
974 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
975 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
976
977 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
980
981 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
982 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
983
984 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
985 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
986 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
988
989 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
990 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
991 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
992
993 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
994 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
995
996 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
997 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
998
999 // C++ version of Python aware wxScrolledWindow
1000 class wxPyScrolledWindow : public wxScrolledWindow
1001 {
1002 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1003 public:
1004 wxPyScrolledWindow() : wxScrolledWindow() {}
1005 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1006 const wxPoint& pos = wxDefaultPosition,
1007 const wxSize& size = wxDefaultSize,
1008 long style = 0,
1009 const wxString& name = wxPyPanelNameStr)
1010 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1011
1012
1013 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1014 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1015 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1016 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1017
1018 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1019 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1020 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1021
1022 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1023 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1024
1025 DEC_PYCALLBACK__(InitDialog);
1026 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1027 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1028 DEC_PYCALLBACK_BOOL_(Validate);
1029
1030 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1031 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1032 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1033
1034 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1035 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1036
1037 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1038 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1039
1040 PYPRIVATE;
1041 };
1042
1043 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1044
1045 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1046 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1047 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1048 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1049
1050 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1051 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1052 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1053
1054 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1055 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1056
1057 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1058 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1059 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1060 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1061
1062 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1063 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1064 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1065
1066 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1067 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1068
1069 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1070 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1071
1072
1073 #include "wx/wxPython/printfw.h"
1074
1075
1076 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1077 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1078
1079
1080
1081 // Since this one would be tough and ugly to do with the Macros...
1082 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1083 bool hadErr = False;
1084 bool found;
1085
1086 bool blocked = wxPyBeginBlockThreads();
1087 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1088 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1089 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1090 PyObject* val;
1091
1092 val = PyTuple_GetItem(result, 0);
1093 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1094 else hadErr = True;
1095
1096 val = PyTuple_GetItem(result, 1);
1097 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1098 else hadErr = True;
1099
1100 val = PyTuple_GetItem(result, 2);
1101 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1102 else hadErr = True;
1103
1104 val = PyTuple_GetItem(result, 3);
1105 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1106 else hadErr = True;
1107 }
1108 else
1109 hadErr = True;
1110
1111 if (hadErr) {
1112 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1113 PyErr_Print();
1114 }
1115 Py_DECREF(result);
1116 }
1117 wxPyEndBlockThreads(blocked);
1118 if (! found)
1119 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1120 }
1121
1122 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1123 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1124 }
1125
1126
1127 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1128 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1129 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1130 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1131 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1132 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1133 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1134
1135
1136
1137
1138
1139 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1140 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1141 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1142
1143
1144 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1145 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1146 bool rval=False; \
1147 bool found; \
1148 bool blocked = wxPyBeginBlockThreads(); \
1149 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1150 PyObject* win = wxPyMake_wxObject(a); \
1151 PyObject* dc = wxPyMake_wxObject(&b); \
1152 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1153 Py_DECREF(win); \
1154 Py_DECREF(dc); \
1155 } \
1156 wxPyEndBlockThreads(blocked); \
1157 if (! found) \
1158 rval = PCLASS::CBNAME(a, b); \
1159 return rval; \
1160 } \
1161 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1162 return PCLASS::CBNAME(a, b); \
1163 }
1164
1165
1166
1167
1168 class wxPyPrintPreview : public wxPrintPreview
1169 {
1170 DECLARE_CLASS(wxPyPrintPreview)
1171 public:
1172 wxPyPrintPreview(wxPyPrintout* printout,
1173 wxPyPrintout* printoutForPrinting,
1174 wxPrintDialogData* data=NULL)
1175 : wxPrintPreview(printout, printoutForPrinting, data)
1176 {}
1177 wxPyPrintPreview(wxPyPrintout* printout,
1178 wxPyPrintout* printoutForPrinting,
1179 wxPrintData* data=NULL)
1180 : wxPrintPreview(printout, printoutForPrinting, data)
1181 {}
1182
1183 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1184 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1185 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1186 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1187 DEC_PYCALLBACK_VOID_INT(SetZoom);
1188 DEC_PYCALLBACK_BOOL_BOOL(Print);
1189 DEC_PYCALLBACK_VOID_(DetermineScaling);
1190
1191 PYPRIVATE;
1192 };
1193
1194 // Stupid renamed classes... Fix this in 2.5...
1195 #if defined(__WXMSW__)
1196 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1197 #elif defined(__WXMAC__)
1198 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1199 #else
1200 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1201 #endif
1202
1203 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1204 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1205 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1206 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1207 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1208 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1209 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1210
1211
1212 class wxPyPreviewFrame : public wxPreviewFrame
1213 {
1214 DECLARE_CLASS(wxPyPreviewFrame);
1215 public:
1216 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1217 const wxString& title,
1218 const wxPoint& pos = wxDefaultPosition,
1219 const wxSize& size = wxDefaultSize,
1220 long style = wxDEFAULT_FRAME_STYLE,
1221 const wxString& name = wxPyFrameNameStr)
1222 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1223 {}
1224
1225 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1226 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1227
1228 DEC_PYCALLBACK_VOID_(Initialize);
1229 DEC_PYCALLBACK_VOID_(CreateCanvas);
1230 DEC_PYCALLBACK_VOID_(CreateControlBar);
1231
1232 PYPRIVATE;
1233 };
1234
1235 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1236
1237 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1238 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1239 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1240
1241
1242 class wxPyPreviewControlBar : public wxPreviewControlBar
1243 {
1244 DECLARE_CLASS(wxPyPreviewControlBar);
1245 public:
1246 wxPyPreviewControlBar(wxPrintPreview *preview,
1247 long buttons,
1248 wxWindow *parent,
1249 const wxPoint& pos = wxDefaultPosition,
1250 const wxSize& size = wxDefaultSize,
1251 long style = 0,
1252 const wxString& name = wxPyPanelNameStr)
1253 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1254 {}
1255
1256 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1257
1258 DEC_PYCALLBACK_VOID_(CreateButtons);
1259 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1260
1261 PYPRIVATE;
1262 };
1263
1264 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1265 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1266 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1267
1268 #ifdef __cplusplus
1269 extern "C" {
1270 #endif
1271 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject *resultobj;
1273 wxWindow *arg1 = (wxWindow *) 0 ;
1274 int arg2 = (int) (int)-1 ;
1275 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1276 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1277 wxSize const &arg4_defvalue = wxDefaultSize ;
1278 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1279 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1280 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1281 wxString *arg6 = (wxString *) &arg6_defvalue ;
1282 wxPanel *result;
1283 wxPoint temp3 ;
1284 wxSize temp4 ;
1285 bool temp6 = False ;
1286 PyObject * obj0 = 0 ;
1287 PyObject * obj1 = 0 ;
1288 PyObject * obj2 = 0 ;
1289 PyObject * obj3 = 0 ;
1290 PyObject * obj4 = 0 ;
1291 PyObject * obj5 = 0 ;
1292 char *kwnames[] = {
1293 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1294 };
1295
1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1299 if (obj1) {
1300 arg2 = (int const) SWIG_AsInt(obj1);
1301 if (PyErr_Occurred()) SWIG_fail;
1302 }
1303 if (obj2) {
1304 {
1305 arg3 = &temp3;
1306 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1307 }
1308 }
1309 if (obj3) {
1310 {
1311 arg4 = &temp4;
1312 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1313 }
1314 }
1315 if (obj4) {
1316 arg5 = (long) SWIG_AsLong(obj4);
1317 if (PyErr_Occurred()) SWIG_fail;
1318 }
1319 if (obj5) {
1320 {
1321 arg6 = wxString_in_helper(obj5);
1322 if (arg6 == NULL) SWIG_fail;
1323 temp6 = True;
1324 }
1325 }
1326 {
1327 PyThreadState* __tstate = wxPyBeginAllowThreads();
1328 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1329
1330 wxPyEndAllowThreads(__tstate);
1331 if (PyErr_Occurred()) SWIG_fail;
1332 }
1333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1334 {
1335 if (temp6)
1336 delete arg6;
1337 }
1338 return resultobj;
1339 fail:
1340 {
1341 if (temp6)
1342 delete arg6;
1343 }
1344 return NULL;
1345 }
1346
1347
1348 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1349 PyObject *resultobj;
1350 wxPanel *result;
1351 char *kwnames[] = {
1352 NULL
1353 };
1354
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1356 {
1357 PyThreadState* __tstate = wxPyBeginAllowThreads();
1358 result = (wxPanel *)new wxPanel();
1359
1360 wxPyEndAllowThreads(__tstate);
1361 if (PyErr_Occurred()) SWIG_fail;
1362 }
1363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1364 return resultobj;
1365 fail:
1366 return NULL;
1367 }
1368
1369
1370 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1371 PyObject *resultobj;
1372 wxPanel *arg1 = (wxPanel *) 0 ;
1373 wxWindow *arg2 = (wxWindow *) 0 ;
1374 int arg3 = (int) (int)-1 ;
1375 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1376 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1377 wxSize const &arg5_defvalue = wxDefaultSize ;
1378 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1379 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1380 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1381 wxString *arg7 = (wxString *) &arg7_defvalue ;
1382 bool result;
1383 wxPoint temp4 ;
1384 wxSize temp5 ;
1385 bool temp7 = False ;
1386 PyObject * obj0 = 0 ;
1387 PyObject * obj1 = 0 ;
1388 PyObject * obj2 = 0 ;
1389 PyObject * obj3 = 0 ;
1390 PyObject * obj4 = 0 ;
1391 PyObject * obj5 = 0 ;
1392 PyObject * obj6 = 0 ;
1393 char *kwnames[] = {
1394 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1395 };
1396
1397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1402 if (obj2) {
1403 arg3 = (int const) SWIG_AsInt(obj2);
1404 if (PyErr_Occurred()) SWIG_fail;
1405 }
1406 if (obj3) {
1407 {
1408 arg4 = &temp4;
1409 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1410 }
1411 }
1412 if (obj4) {
1413 {
1414 arg5 = &temp5;
1415 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1416 }
1417 }
1418 if (obj5) {
1419 arg6 = (long) SWIG_AsLong(obj5);
1420 if (PyErr_Occurred()) SWIG_fail;
1421 }
1422 if (obj6) {
1423 {
1424 arg7 = wxString_in_helper(obj6);
1425 if (arg7 == NULL) SWIG_fail;
1426 temp7 = True;
1427 }
1428 }
1429 {
1430 PyThreadState* __tstate = wxPyBeginAllowThreads();
1431 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1432
1433 wxPyEndAllowThreads(__tstate);
1434 if (PyErr_Occurred()) SWIG_fail;
1435 }
1436 {
1437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1438 }
1439 {
1440 if (temp7)
1441 delete arg7;
1442 }
1443 return resultobj;
1444 fail:
1445 {
1446 if (temp7)
1447 delete arg7;
1448 }
1449 return NULL;
1450 }
1451
1452
1453 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject *resultobj;
1455 wxPanel *arg1 = (wxPanel *) 0 ;
1456 PyObject * obj0 = 0 ;
1457 char *kwnames[] = {
1458 (char *) "self", NULL
1459 };
1460
1461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1464 {
1465 PyThreadState* __tstate = wxPyBeginAllowThreads();
1466 (arg1)->InitDialog();
1467
1468 wxPyEndAllowThreads(__tstate);
1469 if (PyErr_Occurred()) SWIG_fail;
1470 }
1471 Py_INCREF(Py_None); resultobj = Py_None;
1472 return resultobj;
1473 fail:
1474 return NULL;
1475 }
1476
1477
1478 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1479 PyObject *obj;
1480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1481 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1482 Py_INCREF(obj);
1483 return Py_BuildValue((char *)"");
1484 }
1485 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1486 PyObject *resultobj;
1487 wxWindow *arg1 = (wxWindow *) 0 ;
1488 int arg2 = (int) (int)-1 ;
1489 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1490 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1491 wxSize const &arg4_defvalue = wxDefaultSize ;
1492 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1493 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1494 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1495 wxString *arg6 = (wxString *) &arg6_defvalue ;
1496 wxScrolledWindow *result;
1497 wxPoint temp3 ;
1498 wxSize temp4 ;
1499 bool temp6 = False ;
1500 PyObject * obj0 = 0 ;
1501 PyObject * obj1 = 0 ;
1502 PyObject * obj2 = 0 ;
1503 PyObject * obj3 = 0 ;
1504 PyObject * obj4 = 0 ;
1505 PyObject * obj5 = 0 ;
1506 char *kwnames[] = {
1507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1508 };
1509
1510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1513 if (obj1) {
1514 arg2 = (int const) SWIG_AsInt(obj1);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 if (obj2) {
1518 {
1519 arg3 = &temp3;
1520 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1521 }
1522 }
1523 if (obj3) {
1524 {
1525 arg4 = &temp4;
1526 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1527 }
1528 }
1529 if (obj4) {
1530 arg5 = (long) SWIG_AsLong(obj4);
1531 if (PyErr_Occurred()) SWIG_fail;
1532 }
1533 if (obj5) {
1534 {
1535 arg6 = wxString_in_helper(obj5);
1536 if (arg6 == NULL) SWIG_fail;
1537 temp6 = True;
1538 }
1539 }
1540 {
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
1547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1548 {
1549 if (temp6)
1550 delete arg6;
1551 }
1552 return resultobj;
1553 fail:
1554 {
1555 if (temp6)
1556 delete arg6;
1557 }
1558 return NULL;
1559 }
1560
1561
1562 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1563 PyObject *resultobj;
1564 wxScrolledWindow *result;
1565 char *kwnames[] = {
1566 NULL
1567 };
1568
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1570 {
1571 PyThreadState* __tstate = wxPyBeginAllowThreads();
1572 result = (wxScrolledWindow *)new wxScrolledWindow();
1573
1574 wxPyEndAllowThreads(__tstate);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1578 return resultobj;
1579 fail:
1580 return NULL;
1581 }
1582
1583
1584 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject *resultobj;
1586 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1587 wxWindow *arg2 = (wxWindow *) 0 ;
1588 int arg3 = (int) (int)-1 ;
1589 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1590 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1591 wxSize const &arg5_defvalue = wxDefaultSize ;
1592 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1593 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1594 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1595 wxString *arg7 = (wxString *) &arg7_defvalue ;
1596 bool result;
1597 wxPoint temp4 ;
1598 wxSize temp5 ;
1599 bool temp7 = False ;
1600 PyObject * obj0 = 0 ;
1601 PyObject * obj1 = 0 ;
1602 PyObject * obj2 = 0 ;
1603 PyObject * obj3 = 0 ;
1604 PyObject * obj4 = 0 ;
1605 PyObject * obj5 = 0 ;
1606 PyObject * obj6 = 0 ;
1607 char *kwnames[] = {
1608 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1609 };
1610
1611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1616 if (obj2) {
1617 arg3 = (int const) SWIG_AsInt(obj2);
1618 if (PyErr_Occurred()) SWIG_fail;
1619 }
1620 if (obj3) {
1621 {
1622 arg4 = &temp4;
1623 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1624 }
1625 }
1626 if (obj4) {
1627 {
1628 arg5 = &temp5;
1629 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1630 }
1631 }
1632 if (obj5) {
1633 arg6 = (long) SWIG_AsLong(obj5);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 if (obj6) {
1637 {
1638 arg7 = wxString_in_helper(obj6);
1639 if (arg7 == NULL) SWIG_fail;
1640 temp7 = True;
1641 }
1642 }
1643 {
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
1650 {
1651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1652 }
1653 {
1654 if (temp7)
1655 delete arg7;
1656 }
1657 return resultobj;
1658 fail:
1659 {
1660 if (temp7)
1661 delete arg7;
1662 }
1663 return NULL;
1664 }
1665
1666
1667 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject *resultobj;
1669 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1670 int arg2 ;
1671 int arg3 ;
1672 int arg4 ;
1673 int arg5 ;
1674 int arg6 = (int) 0 ;
1675 int arg7 = (int) 0 ;
1676 bool arg8 = (bool) False ;
1677 PyObject * obj0 = 0 ;
1678 PyObject * obj1 = 0 ;
1679 PyObject * obj2 = 0 ;
1680 PyObject * obj3 = 0 ;
1681 PyObject * obj4 = 0 ;
1682 PyObject * obj5 = 0 ;
1683 PyObject * obj6 = 0 ;
1684 PyObject * obj7 = 0 ;
1685 char *kwnames[] = {
1686 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1687 };
1688
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1692 arg2 = (int) SWIG_AsInt(obj1);
1693 if (PyErr_Occurred()) SWIG_fail;
1694 arg3 = (int) SWIG_AsInt(obj2);
1695 if (PyErr_Occurred()) SWIG_fail;
1696 arg4 = (int) SWIG_AsInt(obj3);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 arg5 = (int) SWIG_AsInt(obj4);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 if (obj5) {
1701 arg6 = (int) SWIG_AsInt(obj5);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 if (obj6) {
1705 arg7 = (int) SWIG_AsInt(obj6);
1706 if (PyErr_Occurred()) SWIG_fail;
1707 }
1708 if (obj7) {
1709 arg8 = (bool) SWIG_AsBool(obj7);
1710 if (PyErr_Occurred()) SWIG_fail;
1711 }
1712 {
1713 PyThreadState* __tstate = wxPyBeginAllowThreads();
1714 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1715
1716 wxPyEndAllowThreads(__tstate);
1717 if (PyErr_Occurred()) SWIG_fail;
1718 }
1719 Py_INCREF(Py_None); resultobj = Py_None;
1720 return resultobj;
1721 fail:
1722 return NULL;
1723 }
1724
1725
1726 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1727 PyObject *resultobj;
1728 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1729 int arg2 ;
1730 int arg3 ;
1731 PyObject * obj0 = 0 ;
1732 PyObject * obj1 = 0 ;
1733 PyObject * obj2 = 0 ;
1734 char *kwnames[] = {
1735 (char *) "self",(char *) "x",(char *) "y", NULL
1736 };
1737
1738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1741 arg2 = (int) SWIG_AsInt(obj1);
1742 if (PyErr_Occurred()) SWIG_fail;
1743 arg3 = (int) SWIG_AsInt(obj2);
1744 if (PyErr_Occurred()) SWIG_fail;
1745 {
1746 PyThreadState* __tstate = wxPyBeginAllowThreads();
1747 (arg1)->Scroll(arg2,arg3);
1748
1749 wxPyEndAllowThreads(__tstate);
1750 if (PyErr_Occurred()) SWIG_fail;
1751 }
1752 Py_INCREF(Py_None); resultobj = Py_None;
1753 return resultobj;
1754 fail:
1755 return NULL;
1756 }
1757
1758
1759 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1760 PyObject *resultobj;
1761 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1762 int arg2 ;
1763 int result;
1764 PyObject * obj0 = 0 ;
1765 PyObject * obj1 = 0 ;
1766 char *kwnames[] = {
1767 (char *) "self",(char *) "orient", NULL
1768 };
1769
1770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1773 arg2 = (int) SWIG_AsInt(obj1);
1774 if (PyErr_Occurred()) SWIG_fail;
1775 {
1776 PyThreadState* __tstate = wxPyBeginAllowThreads();
1777 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1778
1779 wxPyEndAllowThreads(__tstate);
1780 if (PyErr_Occurred()) SWIG_fail;
1781 }
1782 resultobj = SWIG_FromInt((int)result);
1783 return resultobj;
1784 fail:
1785 return NULL;
1786 }
1787
1788
1789 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1790 PyObject *resultobj;
1791 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1792 int arg2 ;
1793 int arg3 ;
1794 PyObject * obj0 = 0 ;
1795 PyObject * obj1 = 0 ;
1796 PyObject * obj2 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1804 arg2 = (int) SWIG_AsInt(obj1);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 arg3 = (int) SWIG_AsInt(obj2);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 (arg1)->SetScrollPageSize(arg2,arg3);
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 Py_INCREF(Py_None); resultobj = Py_None;
1816 return resultobj;
1817 fail:
1818 return NULL;
1819 }
1820
1821
1822 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1823 PyObject *resultobj;
1824 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1825 int arg2 ;
1826 int arg3 ;
1827 PyObject * obj0 = 0 ;
1828 PyObject * obj1 = 0 ;
1829 PyObject * obj2 = 0 ;
1830 char *kwnames[] = {
1831 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1832 };
1833
1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1837 arg2 = (int) SWIG_AsInt(obj1);
1838 if (PyErr_Occurred()) SWIG_fail;
1839 arg3 = (int) SWIG_AsInt(obj2);
1840 if (PyErr_Occurred()) SWIG_fail;
1841 {
1842 PyThreadState* __tstate = wxPyBeginAllowThreads();
1843 (arg1)->SetScrollRate(arg2,arg3);
1844
1845 wxPyEndAllowThreads(__tstate);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 }
1848 Py_INCREF(Py_None); resultobj = Py_None;
1849 return resultobj;
1850 fail:
1851 return NULL;
1852 }
1853
1854
1855 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1856 PyObject *resultobj;
1857 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1858 int *arg2 = (int *) 0 ;
1859 int *arg3 = (int *) 0 ;
1860 int temp2 ;
1861 int temp3 ;
1862 PyObject * obj0 = 0 ;
1863 char *kwnames[] = {
1864 (char *) "self", NULL
1865 };
1866
1867 arg2 = &temp2;
1868 arg3 = &temp3;
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1872 {
1873 PyThreadState* __tstate = wxPyBeginAllowThreads();
1874 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1875
1876 wxPyEndAllowThreads(__tstate);
1877 if (PyErr_Occurred()) SWIG_fail;
1878 }
1879 Py_INCREF(Py_None); resultobj = Py_None;
1880 {
1881 PyObject *o = PyInt_FromLong((long) (*arg2));
1882 resultobj = t_output_helper(resultobj,o);
1883 }
1884 {
1885 PyObject *o = PyInt_FromLong((long) (*arg3));
1886 resultobj = t_output_helper(resultobj,o);
1887 }
1888 return resultobj;
1889 fail:
1890 return NULL;
1891 }
1892
1893
1894 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1895 PyObject *resultobj;
1896 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1897 bool arg2 ;
1898 bool arg3 ;
1899 PyObject * obj0 = 0 ;
1900 PyObject * obj1 = 0 ;
1901 PyObject * obj2 = 0 ;
1902 char *kwnames[] = {
1903 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1904 };
1905
1906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1909 arg2 = (bool) SWIG_AsBool(obj1);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 arg3 = (bool) SWIG_AsBool(obj2);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 {
1914 PyThreadState* __tstate = wxPyBeginAllowThreads();
1915 (arg1)->EnableScrolling(arg2,arg3);
1916
1917 wxPyEndAllowThreads(__tstate);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 }
1920 Py_INCREF(Py_None); resultobj = Py_None;
1921 return resultobj;
1922 fail:
1923 return NULL;
1924 }
1925
1926
1927 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1928 PyObject *resultobj;
1929 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1930 int *arg2 = (int *) 0 ;
1931 int *arg3 = (int *) 0 ;
1932 int temp2 ;
1933 int temp3 ;
1934 PyObject * obj0 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self", NULL
1937 };
1938
1939 arg2 = &temp2;
1940 arg3 = &temp3;
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
1951 Py_INCREF(Py_None); resultobj = Py_None;
1952 {
1953 PyObject *o = PyInt_FromLong((long) (*arg2));
1954 resultobj = t_output_helper(resultobj,o);
1955 }
1956 {
1957 PyObject *o = PyInt_FromLong((long) (*arg3));
1958 resultobj = t_output_helper(resultobj,o);
1959 }
1960 return resultobj;
1961 fail:
1962 return NULL;
1963 }
1964
1965
1966 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1967 PyObject *resultobj;
1968 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1969 double arg2 ;
1970 double arg3 ;
1971 PyObject * obj0 = 0 ;
1972 PyObject * obj1 = 0 ;
1973 PyObject * obj2 = 0 ;
1974 char *kwnames[] = {
1975 (char *) "self",(char *) "xs",(char *) "ys", NULL
1976 };
1977
1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1981 arg2 = (double) SWIG_AsDouble(obj1);
1982 if (PyErr_Occurred()) SWIG_fail;
1983 arg3 = (double) SWIG_AsDouble(obj2);
1984 if (PyErr_Occurred()) SWIG_fail;
1985 {
1986 PyThreadState* __tstate = wxPyBeginAllowThreads();
1987 (arg1)->SetScale(arg2,arg3);
1988
1989 wxPyEndAllowThreads(__tstate);
1990 if (PyErr_Occurred()) SWIG_fail;
1991 }
1992 Py_INCREF(Py_None); resultobj = Py_None;
1993 return resultobj;
1994 fail:
1995 return NULL;
1996 }
1997
1998
1999 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2000 PyObject *resultobj;
2001 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2002 double result;
2003 PyObject * obj0 = 0 ;
2004 char *kwnames[] = {
2005 (char *) "self", NULL
2006 };
2007
2008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2011 {
2012 PyThreadState* __tstate = wxPyBeginAllowThreads();
2013 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2014
2015 wxPyEndAllowThreads(__tstate);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 }
2018 resultobj = SWIG_FromDouble((double)result);
2019 return resultobj;
2020 fail:
2021 return NULL;
2022 }
2023
2024
2025 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2026 PyObject *resultobj;
2027 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2028 double result;
2029 PyObject * obj0 = 0 ;
2030 char *kwnames[] = {
2031 (char *) "self", NULL
2032 };
2033
2034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2037 {
2038 PyThreadState* __tstate = wxPyBeginAllowThreads();
2039 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2040
2041 wxPyEndAllowThreads(__tstate);
2042 if (PyErr_Occurred()) SWIG_fail;
2043 }
2044 resultobj = SWIG_FromDouble((double)result);
2045 return resultobj;
2046 fail:
2047 return NULL;
2048 }
2049
2050
2051 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2052 PyObject *resultobj;
2053 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2054 wxPoint *arg2 = 0 ;
2055 wxPoint result;
2056 wxPoint temp2 ;
2057 PyObject * obj0 = 0 ;
2058 PyObject * obj1 = 0 ;
2059
2060 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2063 {
2064 arg2 = &temp2;
2065 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2066 }
2067 {
2068 PyThreadState* __tstate = wxPyBeginAllowThreads();
2069 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2070
2071 wxPyEndAllowThreads(__tstate);
2072 if (PyErr_Occurred()) SWIG_fail;
2073 }
2074 {
2075 wxPoint * resultptr;
2076 resultptr = new wxPoint((wxPoint &) result);
2077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2078 }
2079 return resultobj;
2080 fail:
2081 return NULL;
2082 }
2083
2084
2085 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2086 PyObject *resultobj;
2087 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2088 int arg2 ;
2089 int arg3 ;
2090 int *arg4 = (int *) 0 ;
2091 int *arg5 = (int *) 0 ;
2092 int temp4 ;
2093 int temp5 ;
2094 PyObject * obj0 = 0 ;
2095 PyObject * obj1 = 0 ;
2096 PyObject * obj2 = 0 ;
2097
2098 arg4 = &temp4;
2099 arg5 = &temp5;
2100 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2103 arg2 = (int) SWIG_AsInt(obj1);
2104 if (PyErr_Occurred()) SWIG_fail;
2105 arg3 = (int) SWIG_AsInt(obj2);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 {
2108 PyThreadState* __tstate = wxPyBeginAllowThreads();
2109 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2110
2111 wxPyEndAllowThreads(__tstate);
2112 if (PyErr_Occurred()) SWIG_fail;
2113 }
2114 Py_INCREF(Py_None); resultobj = Py_None;
2115 {
2116 PyObject *o = PyInt_FromLong((long) (*arg4));
2117 resultobj = t_output_helper(resultobj,o);
2118 }
2119 {
2120 PyObject *o = PyInt_FromLong((long) (*arg5));
2121 resultobj = t_output_helper(resultobj,o);
2122 }
2123 return resultobj;
2124 fail:
2125 return NULL;
2126 }
2127
2128
2129 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2130 int argc;
2131 PyObject *argv[4];
2132 int ii;
2133
2134 argc = PyObject_Length(args);
2135 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2136 argv[ii] = PyTuple_GetItem(args,ii);
2137 }
2138 if (argc == 2) {
2139 int _v;
2140 {
2141 void *ptr;
2142 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2143 _v = 0;
2144 PyErr_Clear();
2145 } else {
2146 _v = 1;
2147 }
2148 }
2149 if (_v) {
2150 {
2151 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2152 }
2153 if (_v) {
2154 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2155 }
2156 }
2157 }
2158 if (argc == 3) {
2159 int _v;
2160 {
2161 void *ptr;
2162 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2163 _v = 0;
2164 PyErr_Clear();
2165 } else {
2166 _v = 1;
2167 }
2168 }
2169 if (_v) {
2170 _v = SWIG_CheckInt(argv[1]);
2171 if (_v) {
2172 _v = SWIG_CheckInt(argv[2]);
2173 if (_v) {
2174 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2175 }
2176 }
2177 }
2178 }
2179
2180 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2181 return NULL;
2182 }
2183
2184
2185 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2186 PyObject *resultobj;
2187 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2188 wxPoint *arg2 = 0 ;
2189 wxPoint result;
2190 wxPoint temp2 ;
2191 PyObject * obj0 = 0 ;
2192 PyObject * obj1 = 0 ;
2193
2194 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2197 {
2198 arg2 = &temp2;
2199 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2200 }
2201 {
2202 PyThreadState* __tstate = wxPyBeginAllowThreads();
2203 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2204
2205 wxPyEndAllowThreads(__tstate);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 }
2208 {
2209 wxPoint * resultptr;
2210 resultptr = new wxPoint((wxPoint &) result);
2211 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2212 }
2213 return resultobj;
2214 fail:
2215 return NULL;
2216 }
2217
2218
2219 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2220 PyObject *resultobj;
2221 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2222 int arg2 ;
2223 int arg3 ;
2224 int *arg4 = (int *) 0 ;
2225 int *arg5 = (int *) 0 ;
2226 int temp4 ;
2227 int temp5 ;
2228 PyObject * obj0 = 0 ;
2229 PyObject * obj1 = 0 ;
2230 PyObject * obj2 = 0 ;
2231
2232 arg4 = &temp4;
2233 arg5 = &temp5;
2234 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2237 arg2 = (int) SWIG_AsInt(obj1);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 arg3 = (int) SWIG_AsInt(obj2);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 {
2242 PyThreadState* __tstate = wxPyBeginAllowThreads();
2243 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2244
2245 wxPyEndAllowThreads(__tstate);
2246 if (PyErr_Occurred()) SWIG_fail;
2247 }
2248 Py_INCREF(Py_None); resultobj = Py_None;
2249 {
2250 PyObject *o = PyInt_FromLong((long) (*arg4));
2251 resultobj = t_output_helper(resultobj,o);
2252 }
2253 {
2254 PyObject *o = PyInt_FromLong((long) (*arg5));
2255 resultobj = t_output_helper(resultobj,o);
2256 }
2257 return resultobj;
2258 fail:
2259 return NULL;
2260 }
2261
2262
2263 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2264 int argc;
2265 PyObject *argv[4];
2266 int ii;
2267
2268 argc = PyObject_Length(args);
2269 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2270 argv[ii] = PyTuple_GetItem(args,ii);
2271 }
2272 if (argc == 2) {
2273 int _v;
2274 {
2275 void *ptr;
2276 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2277 _v = 0;
2278 PyErr_Clear();
2279 } else {
2280 _v = 1;
2281 }
2282 }
2283 if (_v) {
2284 {
2285 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2286 }
2287 if (_v) {
2288 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2289 }
2290 }
2291 }
2292 if (argc == 3) {
2293 int _v;
2294 {
2295 void *ptr;
2296 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2297 _v = 0;
2298 PyErr_Clear();
2299 } else {
2300 _v = 1;
2301 }
2302 }
2303 if (_v) {
2304 _v = SWIG_CheckInt(argv[1]);
2305 if (_v) {
2306 _v = SWIG_CheckInt(argv[2]);
2307 if (_v) {
2308 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2309 }
2310 }
2311 }
2312 }
2313
2314 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2315 return NULL;
2316 }
2317
2318
2319 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject *resultobj;
2321 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2322 PyObject * obj0 = 0 ;
2323 char *kwnames[] = {
2324 (char *) "self", NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 (arg1)->AdjustScrollbars();
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 }
2337 Py_INCREF(Py_None); resultobj = Py_None;
2338 return resultobj;
2339 fail:
2340 return NULL;
2341 }
2342
2343
2344 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2345 PyObject *resultobj;
2346 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2347 wxScrollWinEvent *arg2 = 0 ;
2348 int result;
2349 PyObject * obj0 = 0 ;
2350 PyObject * obj1 = 0 ;
2351 char *kwnames[] = {
2352 (char *) "self",(char *) "event", NULL
2353 };
2354
2355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2358 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2359 SWIG_POINTER_EXCEPTION | 0)) == -1)
2360 SWIG_fail;
2361 if (arg2 == NULL) {
2362 PyErr_SetString(PyExc_TypeError,"null reference");
2363 SWIG_fail;
2364 }
2365 {
2366 PyThreadState* __tstate = wxPyBeginAllowThreads();
2367 result = (int)(arg1)->CalcScrollInc(*arg2);
2368
2369 wxPyEndAllowThreads(__tstate);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 }
2372 resultobj = SWIG_FromInt((int)result);
2373 return resultobj;
2374 fail:
2375 return NULL;
2376 }
2377
2378
2379 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2380 PyObject *resultobj;
2381 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2382 wxWindow *arg2 = (wxWindow *) 0 ;
2383 PyObject * obj0 = 0 ;
2384 PyObject * obj1 = 0 ;
2385 char *kwnames[] = {
2386 (char *) "self",(char *) "target", NULL
2387 };
2388
2389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2394 {
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 (arg1)->SetTargetWindow(arg2);
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) SWIG_fail;
2400 }
2401 Py_INCREF(Py_None); resultobj = Py_None;
2402 return resultobj;
2403 fail:
2404 return NULL;
2405 }
2406
2407
2408 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2409 PyObject *resultobj;
2410 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2411 wxWindow *result;
2412 PyObject * obj0 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 {
2428 resultobj = wxPyMake_wxObject(result);
2429 }
2430 return resultobj;
2431 fail:
2432 return NULL;
2433 }
2434
2435
2436 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2437 PyObject *resultobj;
2438 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2439 wxRect *arg2 = 0 ;
2440 wxRect temp2 ;
2441 PyObject * obj0 = 0 ;
2442 PyObject * obj1 = 0 ;
2443 char *kwnames[] = {
2444 (char *) "self",(char *) "rect", NULL
2445 };
2446
2447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2450 {
2451 arg2 = &temp2;
2452 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2453 }
2454 {
2455 PyThreadState* __tstate = wxPyBeginAllowThreads();
2456 (arg1)->SetTargetRect((wxRect const &)*arg2);
2457
2458 wxPyEndAllowThreads(__tstate);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 }
2461 Py_INCREF(Py_None); resultobj = Py_None;
2462 return resultobj;
2463 fail:
2464 return NULL;
2465 }
2466
2467
2468 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2469 PyObject *resultobj;
2470 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2471 wxRect result;
2472 PyObject * obj0 = 0 ;
2473 char *kwnames[] = {
2474 (char *) "self", NULL
2475 };
2476
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 {
2488 wxRect * resultptr;
2489 resultptr = new wxRect((wxRect &) result);
2490 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2491 }
2492 return resultobj;
2493 fail:
2494 return NULL;
2495 }
2496
2497
2498 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2499 PyObject *obj;
2500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2501 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2502 Py_INCREF(obj);
2503 return Py_BuildValue((char *)"");
2504 }
2505 static int _wrap_FrameNameStr_set(PyObject *_val) {
2506 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2507 return 1;
2508 }
2509
2510
2511 static PyObject *_wrap_FrameNameStr_get() {
2512 PyObject *pyobj;
2513
2514 {
2515 #if wxUSE_UNICODE
2516 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2517 #else
2518 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2519 #endif
2520 }
2521 return pyobj;
2522 }
2523
2524
2525 static int _wrap_DialogNameStr_set(PyObject *_val) {
2526 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2527 return 1;
2528 }
2529
2530
2531 static PyObject *_wrap_DialogNameStr_get() {
2532 PyObject *pyobj;
2533
2534 {
2535 #if wxUSE_UNICODE
2536 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2537 #else
2538 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2539 #endif
2540 }
2541 return pyobj;
2542 }
2543
2544
2545 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2546 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2547 return 1;
2548 }
2549
2550
2551 static PyObject *_wrap_StatusLineNameStr_get() {
2552 PyObject *pyobj;
2553
2554 {
2555 #if wxUSE_UNICODE
2556 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2557 #else
2558 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2559 #endif
2560 }
2561 return pyobj;
2562 }
2563
2564
2565 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2566 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2567 return 1;
2568 }
2569
2570
2571 static PyObject *_wrap_ToolBarNameStr_get() {
2572 PyObject *pyobj;
2573
2574 {
2575 #if wxUSE_UNICODE
2576 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2577 #else
2578 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2579 #endif
2580 }
2581 return pyobj;
2582 }
2583
2584
2585 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2586 PyObject *resultobj;
2587 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2588 bool arg2 = (bool) True ;
2589 PyObject * obj0 = 0 ;
2590 PyObject * obj1 = 0 ;
2591 char *kwnames[] = {
2592 (char *) "self",(char *) "maximize", NULL
2593 };
2594
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2598 if (obj1) {
2599 arg2 = (bool) SWIG_AsBool(obj1);
2600 if (PyErr_Occurred()) SWIG_fail;
2601 }
2602 {
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
2604 (arg1)->Maximize(arg2);
2605
2606 wxPyEndAllowThreads(__tstate);
2607 if (PyErr_Occurred()) SWIG_fail;
2608 }
2609 Py_INCREF(Py_None); resultobj = Py_None;
2610 return resultobj;
2611 fail:
2612 return NULL;
2613 }
2614
2615
2616 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2617 PyObject *resultobj;
2618 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2619 PyObject * obj0 = 0 ;
2620 char *kwnames[] = {
2621 (char *) "self", NULL
2622 };
2623
2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2627 {
2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
2629 (arg1)->Restore();
2630
2631 wxPyEndAllowThreads(__tstate);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 }
2634 Py_INCREF(Py_None); resultobj = Py_None;
2635 return resultobj;
2636 fail:
2637 return NULL;
2638 }
2639
2640
2641 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2642 PyObject *resultobj;
2643 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2644 bool arg2 = (bool) True ;
2645 PyObject * obj0 = 0 ;
2646 PyObject * obj1 = 0 ;
2647 char *kwnames[] = {
2648 (char *) "self",(char *) "iconize", NULL
2649 };
2650
2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2654 if (obj1) {
2655 arg2 = (bool) SWIG_AsBool(obj1);
2656 if (PyErr_Occurred()) SWIG_fail;
2657 }
2658 {
2659 PyThreadState* __tstate = wxPyBeginAllowThreads();
2660 (arg1)->Iconize(arg2);
2661
2662 wxPyEndAllowThreads(__tstate);
2663 if (PyErr_Occurred()) SWIG_fail;
2664 }
2665 Py_INCREF(Py_None); resultobj = Py_None;
2666 return resultobj;
2667 fail:
2668 return NULL;
2669 }
2670
2671
2672 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2673 PyObject *resultobj;
2674 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2675 bool result;
2676 PyObject * obj0 = 0 ;
2677 char *kwnames[] = {
2678 (char *) "self", NULL
2679 };
2680
2681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2684 {
2685 PyThreadState* __tstate = wxPyBeginAllowThreads();
2686 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2687
2688 wxPyEndAllowThreads(__tstate);
2689 if (PyErr_Occurred()) SWIG_fail;
2690 }
2691 {
2692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2693 }
2694 return resultobj;
2695 fail:
2696 return NULL;
2697 }
2698
2699
2700 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2701 PyObject *resultobj;
2702 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2703 bool result;
2704 PyObject * obj0 = 0 ;
2705 char *kwnames[] = {
2706 (char *) "self", NULL
2707 };
2708
2709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2712 {
2713 PyThreadState* __tstate = wxPyBeginAllowThreads();
2714 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2715
2716 wxPyEndAllowThreads(__tstate);
2717 if (PyErr_Occurred()) SWIG_fail;
2718 }
2719 {
2720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2721 }
2722 return resultobj;
2723 fail:
2724 return NULL;
2725 }
2726
2727
2728 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2729 PyObject *resultobj;
2730 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2731 wxIcon result;
2732 PyObject * obj0 = 0 ;
2733 char *kwnames[] = {
2734 (char *) "self", NULL
2735 };
2736
2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2740 {
2741 PyThreadState* __tstate = wxPyBeginAllowThreads();
2742 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2743
2744 wxPyEndAllowThreads(__tstate);
2745 if (PyErr_Occurred()) SWIG_fail;
2746 }
2747 {
2748 wxIcon * resultptr;
2749 resultptr = new wxIcon((wxIcon &) result);
2750 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2751 }
2752 return resultobj;
2753 fail:
2754 return NULL;
2755 }
2756
2757
2758 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2759 PyObject *resultobj;
2760 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2761 wxIcon *arg2 = 0 ;
2762 PyObject * obj0 = 0 ;
2763 PyObject * obj1 = 0 ;
2764 char *kwnames[] = {
2765 (char *) "self",(char *) "icon", NULL
2766 };
2767
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2772 SWIG_POINTER_EXCEPTION | 0)) == -1)
2773 SWIG_fail;
2774 if (arg2 == NULL) {
2775 PyErr_SetString(PyExc_TypeError,"null reference");
2776 SWIG_fail;
2777 }
2778 {
2779 PyThreadState* __tstate = wxPyBeginAllowThreads();
2780 (arg1)->SetIcon((wxIcon const &)*arg2);
2781
2782 wxPyEndAllowThreads(__tstate);
2783 if (PyErr_Occurred()) SWIG_fail;
2784 }
2785 Py_INCREF(Py_None); resultobj = Py_None;
2786 return resultobj;
2787 fail:
2788 return NULL;
2789 }
2790
2791
2792 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2793 PyObject *resultobj;
2794 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2795 wxIconBundle *arg2 = 0 ;
2796 PyObject * obj0 = 0 ;
2797 PyObject * obj1 = 0 ;
2798 char *kwnames[] = {
2799 (char *) "self",(char *) "icons", NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2805 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2806 SWIG_POINTER_EXCEPTION | 0)) == -1)
2807 SWIG_fail;
2808 if (arg2 == NULL) {
2809 PyErr_SetString(PyExc_TypeError,"null reference");
2810 SWIG_fail;
2811 }
2812 {
2813 PyThreadState* __tstate = wxPyBeginAllowThreads();
2814 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2815
2816 wxPyEndAllowThreads(__tstate);
2817 if (PyErr_Occurred()) SWIG_fail;
2818 }
2819 Py_INCREF(Py_None); resultobj = Py_None;
2820 return resultobj;
2821 fail:
2822 return NULL;
2823 }
2824
2825
2826 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2827 PyObject *resultobj;
2828 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2829 bool arg2 ;
2830 long arg3 = (long) wxFULLSCREEN_ALL ;
2831 bool result;
2832 PyObject * obj0 = 0 ;
2833 PyObject * obj1 = 0 ;
2834 PyObject * obj2 = 0 ;
2835 char *kwnames[] = {
2836 (char *) "self",(char *) "show",(char *) "style", NULL
2837 };
2838
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2842 arg2 = (bool) SWIG_AsBool(obj1);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 if (obj2) {
2845 arg3 = (long) SWIG_AsLong(obj2);
2846 if (PyErr_Occurred()) SWIG_fail;
2847 }
2848 {
2849 PyThreadState* __tstate = wxPyBeginAllowThreads();
2850 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2851
2852 wxPyEndAllowThreads(__tstate);
2853 if (PyErr_Occurred()) SWIG_fail;
2854 }
2855 {
2856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2857 }
2858 return resultobj;
2859 fail:
2860 return NULL;
2861 }
2862
2863
2864 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2865 PyObject *resultobj;
2866 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2867 bool result;
2868 PyObject * obj0 = 0 ;
2869 char *kwnames[] = {
2870 (char *) "self", NULL
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2883 {
2884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2885 }
2886 return resultobj;
2887 fail:
2888 return NULL;
2889 }
2890
2891
2892 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2893 PyObject *resultobj;
2894 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2895 wxString *arg2 = 0 ;
2896 bool temp2 = False ;
2897 PyObject * obj0 = 0 ;
2898 PyObject * obj1 = 0 ;
2899 char *kwnames[] = {
2900 (char *) "self",(char *) "title", NULL
2901 };
2902
2903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2906 {
2907 arg2 = wxString_in_helper(obj1);
2908 if (arg2 == NULL) SWIG_fail;
2909 temp2 = True;
2910 }
2911 {
2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
2913 (arg1)->SetTitle((wxString const &)*arg2);
2914
2915 wxPyEndAllowThreads(__tstate);
2916 if (PyErr_Occurred()) SWIG_fail;
2917 }
2918 Py_INCREF(Py_None); resultobj = Py_None;
2919 {
2920 if (temp2)
2921 delete arg2;
2922 }
2923 return resultobj;
2924 fail:
2925 {
2926 if (temp2)
2927 delete arg2;
2928 }
2929 return NULL;
2930 }
2931
2932
2933 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2934 PyObject *resultobj;
2935 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2936 wxString result;
2937 PyObject * obj0 = 0 ;
2938 char *kwnames[] = {
2939 (char *) "self", NULL
2940 };
2941
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2945 {
2946 PyThreadState* __tstate = wxPyBeginAllowThreads();
2947 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2948
2949 wxPyEndAllowThreads(__tstate);
2950 if (PyErr_Occurred()) SWIG_fail;
2951 }
2952 {
2953 #if wxUSE_UNICODE
2954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2955 #else
2956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2957 #endif
2958 }
2959 return resultobj;
2960 fail:
2961 return NULL;
2962 }
2963
2964
2965 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2966 PyObject *resultobj;
2967 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2968 wxRegion *arg2 = 0 ;
2969 bool result;
2970 PyObject * obj0 = 0 ;
2971 PyObject * obj1 = 0 ;
2972 char *kwnames[] = {
2973 (char *) "self",(char *) "region", NULL
2974 };
2975
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2980 SWIG_POINTER_EXCEPTION | 0)) == -1)
2981 SWIG_fail;
2982 if (arg2 == NULL) {
2983 PyErr_SetString(PyExc_TypeError,"null reference");
2984 SWIG_fail;
2985 }
2986 {
2987 PyThreadState* __tstate = wxPyBeginAllowThreads();
2988 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2989
2990 wxPyEndAllowThreads(__tstate);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 }
2993 {
2994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2995 }
2996 return resultobj;
2997 fail:
2998 return NULL;
2999 }
3000
3001
3002 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3003 PyObject *obj;
3004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3005 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3006 Py_INCREF(obj);
3007 return Py_BuildValue((char *)"");
3008 }
3009 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3010 PyObject *resultobj;
3011 wxWindow *arg1 = (wxWindow *) 0 ;
3012 int arg2 ;
3013 wxString *arg3 = 0 ;
3014 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3015 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3016 wxSize const &arg5_defvalue = wxDefaultSize ;
3017 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3018 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3019 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3020 wxString *arg7 = (wxString *) &arg7_defvalue ;
3021 wxFrame *result;
3022 bool temp3 = False ;
3023 wxPoint temp4 ;
3024 wxSize temp5 ;
3025 bool temp7 = False ;
3026 PyObject * obj0 = 0 ;
3027 PyObject * obj1 = 0 ;
3028 PyObject * obj2 = 0 ;
3029 PyObject * obj3 = 0 ;
3030 PyObject * obj4 = 0 ;
3031 PyObject * obj5 = 0 ;
3032 PyObject * obj6 = 0 ;
3033 char *kwnames[] = {
3034 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3035 };
3036
3037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3040 arg2 = (int const) SWIG_AsInt(obj1);
3041 if (PyErr_Occurred()) SWIG_fail;
3042 {
3043 arg3 = wxString_in_helper(obj2);
3044 if (arg3 == NULL) SWIG_fail;
3045 temp3 = True;
3046 }
3047 if (obj3) {
3048 {
3049 arg4 = &temp4;
3050 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3051 }
3052 }
3053 if (obj4) {
3054 {
3055 arg5 = &temp5;
3056 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3057 }
3058 }
3059 if (obj5) {
3060 arg6 = (long) SWIG_AsLong(obj5);
3061 if (PyErr_Occurred()) SWIG_fail;
3062 }
3063 if (obj6) {
3064 {
3065 arg7 = wxString_in_helper(obj6);
3066 if (arg7 == NULL) SWIG_fail;
3067 temp7 = True;
3068 }
3069 }
3070 {
3071 PyThreadState* __tstate = wxPyBeginAllowThreads();
3072 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3073
3074 wxPyEndAllowThreads(__tstate);
3075 if (PyErr_Occurred()) SWIG_fail;
3076 }
3077 {
3078 resultobj = wxPyMake_wxObject(result);
3079 }
3080 {
3081 if (temp3)
3082 delete arg3;
3083 }
3084 {
3085 if (temp7)
3086 delete arg7;
3087 }
3088 return resultobj;
3089 fail:
3090 {
3091 if (temp3)
3092 delete arg3;
3093 }
3094 {
3095 if (temp7)
3096 delete arg7;
3097 }
3098 return NULL;
3099 }
3100
3101
3102 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3103 PyObject *resultobj;
3104 wxFrame *result;
3105 char *kwnames[] = {
3106 NULL
3107 };
3108
3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3110 {
3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
3112 result = (wxFrame *)new wxFrame();
3113
3114 wxPyEndAllowThreads(__tstate);
3115 if (PyErr_Occurred()) SWIG_fail;
3116 }
3117 {
3118 resultobj = wxPyMake_wxObject(result);
3119 }
3120 return resultobj;
3121 fail:
3122 return NULL;
3123 }
3124
3125
3126 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3127 PyObject *resultobj;
3128 wxFrame *arg1 = (wxFrame *) 0 ;
3129 wxWindow *arg2 = (wxWindow *) 0 ;
3130 int arg3 ;
3131 wxString *arg4 = 0 ;
3132 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3133 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3134 wxSize const &arg6_defvalue = wxDefaultSize ;
3135 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3136 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3137 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3138 wxString *arg8 = (wxString *) &arg8_defvalue ;
3139 bool result;
3140 bool temp4 = False ;
3141 wxPoint temp5 ;
3142 wxSize temp6 ;
3143 bool temp8 = False ;
3144 PyObject * obj0 = 0 ;
3145 PyObject * obj1 = 0 ;
3146 PyObject * obj2 = 0 ;
3147 PyObject * obj3 = 0 ;
3148 PyObject * obj4 = 0 ;
3149 PyObject * obj5 = 0 ;
3150 PyObject * obj6 = 0 ;
3151 PyObject * obj7 = 0 ;
3152 char *kwnames[] = {
3153 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3154 };
3155
3156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3161 arg3 = (int const) SWIG_AsInt(obj2);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 {
3164 arg4 = wxString_in_helper(obj3);
3165 if (arg4 == NULL) SWIG_fail;
3166 temp4 = True;
3167 }
3168 if (obj4) {
3169 {
3170 arg5 = &temp5;
3171 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3172 }
3173 }
3174 if (obj5) {
3175 {
3176 arg6 = &temp6;
3177 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3178 }
3179 }
3180 if (obj6) {
3181 arg7 = (long) SWIG_AsLong(obj6);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 if (obj7) {
3185 {
3186 arg8 = wxString_in_helper(obj7);
3187 if (arg8 == NULL) SWIG_fail;
3188 temp8 = True;
3189 }
3190 }
3191 {
3192 PyThreadState* __tstate = wxPyBeginAllowThreads();
3193 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3194
3195 wxPyEndAllowThreads(__tstate);
3196 if (PyErr_Occurred()) SWIG_fail;
3197 }
3198 {
3199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3200 }
3201 {
3202 if (temp4)
3203 delete arg4;
3204 }
3205 {
3206 if (temp8)
3207 delete arg8;
3208 }
3209 return resultobj;
3210 fail:
3211 {
3212 if (temp4)
3213 delete arg4;
3214 }
3215 {
3216 if (temp8)
3217 delete arg8;
3218 }
3219 return NULL;
3220 }
3221
3222
3223 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3224 PyObject *resultobj;
3225 wxFrame *arg1 = (wxFrame *) 0 ;
3226 wxPoint result;
3227 PyObject * obj0 = 0 ;
3228 char *kwnames[] = {
3229 (char *) "self", NULL
3230 };
3231
3232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3235 {
3236 PyThreadState* __tstate = wxPyBeginAllowThreads();
3237 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3238
3239 wxPyEndAllowThreads(__tstate);
3240 if (PyErr_Occurred()) SWIG_fail;
3241 }
3242 {
3243 wxPoint * resultptr;
3244 resultptr = new wxPoint((wxPoint &) result);
3245 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3246 }
3247 return resultobj;
3248 fail:
3249 return NULL;
3250 }
3251
3252
3253 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3254 PyObject *resultobj;
3255 wxFrame *arg1 = (wxFrame *) 0 ;
3256 PyObject * obj0 = 0 ;
3257 char *kwnames[] = {
3258 (char *) "self", NULL
3259 };
3260
3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3264 {
3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
3266 (arg1)->SendSizeEvent();
3267
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 Py_INCREF(Py_None); resultobj = Py_None;
3272 return resultobj;
3273 fail:
3274 return NULL;
3275 }
3276
3277
3278 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3279 PyObject *resultobj;
3280 wxFrame *arg1 = (wxFrame *) 0 ;
3281 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3282 PyObject * obj0 = 0 ;
3283 PyObject * obj1 = 0 ;
3284 char *kwnames[] = {
3285 (char *) "self",(char *) "menubar", NULL
3286 };
3287
3288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3293 {
3294 PyThreadState* __tstate = wxPyBeginAllowThreads();
3295 (arg1)->SetMenuBar(arg2);
3296
3297 wxPyEndAllowThreads(__tstate);
3298 if (PyErr_Occurred()) SWIG_fail;
3299 }
3300 Py_INCREF(Py_None); resultobj = Py_None;
3301 return resultobj;
3302 fail:
3303 return NULL;
3304 }
3305
3306
3307 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3308 PyObject *resultobj;
3309 wxFrame *arg1 = (wxFrame *) 0 ;
3310 wxMenuBar *result;
3311 PyObject * obj0 = 0 ;
3312 char *kwnames[] = {
3313 (char *) "self", NULL
3314 };
3315
3316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3319 {
3320 PyThreadState* __tstate = wxPyBeginAllowThreads();
3321 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3322
3323 wxPyEndAllowThreads(__tstate);
3324 if (PyErr_Occurred()) SWIG_fail;
3325 }
3326 {
3327 resultobj = wxPyMake_wxObject(result);
3328 }
3329 return resultobj;
3330 fail:
3331 return NULL;
3332 }
3333
3334
3335 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3336 PyObject *resultobj;
3337 wxFrame *arg1 = (wxFrame *) 0 ;
3338 int arg2 ;
3339 bool result;
3340 PyObject * obj0 = 0 ;
3341 PyObject * obj1 = 0 ;
3342 char *kwnames[] = {
3343 (char *) "self",(char *) "winid", NULL
3344 };
3345
3346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3349 arg2 = (int) SWIG_AsInt(obj1);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 result = (bool)(arg1)->ProcessCommand(arg2);
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 {
3359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3360 }
3361 return resultobj;
3362 fail:
3363 return NULL;
3364 }
3365
3366
3367 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3368 PyObject *resultobj;
3369 wxFrame *arg1 = (wxFrame *) 0 ;
3370 int arg2 = (int) 1 ;
3371 long arg3 = (long) wxST_SIZEGRIP ;
3372 int arg4 = (int) 0 ;
3373 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3374 wxString *arg5 = (wxString *) &arg5_defvalue ;
3375 wxStatusBar *result;
3376 bool temp5 = False ;
3377 PyObject * obj0 = 0 ;
3378 PyObject * obj1 = 0 ;
3379 PyObject * obj2 = 0 ;
3380 PyObject * obj3 = 0 ;
3381 PyObject * obj4 = 0 ;
3382 char *kwnames[] = {
3383 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3384 };
3385
3386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3389 if (obj1) {
3390 arg2 = (int) SWIG_AsInt(obj1);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 if (obj2) {
3394 arg3 = (long) SWIG_AsLong(obj2);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 }
3397 if (obj3) {
3398 arg4 = (int) SWIG_AsInt(obj3);
3399 if (PyErr_Occurred()) SWIG_fail;
3400 }
3401 if (obj4) {
3402 {
3403 arg5 = wxString_in_helper(obj4);
3404 if (arg5 == NULL) SWIG_fail;
3405 temp5 = True;
3406 }
3407 }
3408 {
3409 PyThreadState* __tstate = wxPyBeginAllowThreads();
3410 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3411
3412 wxPyEndAllowThreads(__tstate);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 }
3415 {
3416 resultobj = wxPyMake_wxObject(result);
3417 }
3418 {
3419 if (temp5)
3420 delete arg5;
3421 }
3422 return resultobj;
3423 fail:
3424 {
3425 if (temp5)
3426 delete arg5;
3427 }
3428 return NULL;
3429 }
3430
3431
3432 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3433 PyObject *resultobj;
3434 wxFrame *arg1 = (wxFrame *) 0 ;
3435 wxStatusBar *result;
3436 PyObject * obj0 = 0 ;
3437 char *kwnames[] = {
3438 (char *) "self", NULL
3439 };
3440
3441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3444 {
3445 PyThreadState* __tstate = wxPyBeginAllowThreads();
3446 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3447
3448 wxPyEndAllowThreads(__tstate);
3449 if (PyErr_Occurred()) SWIG_fail;
3450 }
3451 {
3452 resultobj = wxPyMake_wxObject(result);
3453 }
3454 return resultobj;
3455 fail:
3456 return NULL;
3457 }
3458
3459
3460 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3461 PyObject *resultobj;
3462 wxFrame *arg1 = (wxFrame *) 0 ;
3463 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3464 PyObject * obj0 = 0 ;
3465 PyObject * obj1 = 0 ;
3466 char *kwnames[] = {
3467 (char *) "self",(char *) "statBar", NULL
3468 };
3469
3470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3473 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3475 {
3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
3477 (arg1)->SetStatusBar(arg2);
3478
3479 wxPyEndAllowThreads(__tstate);
3480 if (PyErr_Occurred()) SWIG_fail;
3481 }
3482 Py_INCREF(Py_None); resultobj = Py_None;
3483 return resultobj;
3484 fail:
3485 return NULL;
3486 }
3487
3488
3489 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3490 PyObject *resultobj;
3491 wxFrame *arg1 = (wxFrame *) 0 ;
3492 wxString *arg2 = 0 ;
3493 int arg3 = (int) 0 ;
3494 bool temp2 = False ;
3495 PyObject * obj0 = 0 ;
3496 PyObject * obj1 = 0 ;
3497 PyObject * obj2 = 0 ;
3498 char *kwnames[] = {
3499 (char *) "self",(char *) "text",(char *) "number", NULL
3500 };
3501
3502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3505 {
3506 arg2 = wxString_in_helper(obj1);
3507 if (arg2 == NULL) SWIG_fail;
3508 temp2 = True;
3509 }
3510 if (obj2) {
3511 arg3 = (int) SWIG_AsInt(obj2);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
3521 Py_INCREF(Py_None); resultobj = Py_None;
3522 {
3523 if (temp2)
3524 delete arg2;
3525 }
3526 return resultobj;
3527 fail:
3528 {
3529 if (temp2)
3530 delete arg2;
3531 }
3532 return NULL;
3533 }
3534
3535
3536 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3537 PyObject *resultobj;
3538 wxFrame *arg1 = (wxFrame *) 0 ;
3539 int arg2 ;
3540 int *arg3 = (int *) 0 ;
3541 PyObject * obj0 = 0 ;
3542 PyObject * obj1 = 0 ;
3543 char *kwnames[] = {
3544 (char *) "self",(char *) "widths", NULL
3545 };
3546
3547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3550 {
3551 arg2 = PyList_Size(obj1);
3552 arg3 = int_LIST_helper(obj1);
3553 if (arg3 == NULL) SWIG_fail;
3554 }
3555 {
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
3557 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3558
3559 wxPyEndAllowThreads(__tstate);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
3562 Py_INCREF(Py_None); resultobj = Py_None;
3563 {
3564 if (arg3) delete [] arg3;
3565 }
3566 return resultobj;
3567 fail:
3568 {
3569 if (arg3) delete [] arg3;
3570 }
3571 return NULL;
3572 }
3573
3574
3575 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3576 PyObject *resultobj;
3577 wxFrame *arg1 = (wxFrame *) 0 ;
3578 wxString *arg2 = 0 ;
3579 int arg3 = (int) 0 ;
3580 bool temp2 = False ;
3581 PyObject * obj0 = 0 ;
3582 PyObject * obj1 = 0 ;
3583 PyObject * obj2 = 0 ;
3584 char *kwnames[] = {
3585 (char *) "self",(char *) "text",(char *) "number", NULL
3586 };
3587
3588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3591 {
3592 arg2 = wxString_in_helper(obj1);
3593 if (arg2 == NULL) SWIG_fail;
3594 temp2 = True;
3595 }
3596 if (obj2) {
3597 arg3 = (int) SWIG_AsInt(obj2);
3598 if (PyErr_Occurred()) SWIG_fail;
3599 }
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
3602 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
3607 Py_INCREF(Py_None); resultobj = Py_None;
3608 {
3609 if (temp2)
3610 delete arg2;
3611 }
3612 return resultobj;
3613 fail:
3614 {
3615 if (temp2)
3616 delete arg2;
3617 }
3618 return NULL;
3619 }
3620
3621
3622 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3623 PyObject *resultobj;
3624 wxFrame *arg1 = (wxFrame *) 0 ;
3625 int arg2 = (int) 0 ;
3626 PyObject * obj0 = 0 ;
3627 PyObject * obj1 = 0 ;
3628 char *kwnames[] = {
3629 (char *) "self",(char *) "number", NULL
3630 };
3631
3632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3635 if (obj1) {
3636 arg2 = (int) SWIG_AsInt(obj1);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 {
3640 PyThreadState* __tstate = wxPyBeginAllowThreads();
3641 (arg1)->PopStatusText(arg2);
3642
3643 wxPyEndAllowThreads(__tstate);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 Py_INCREF(Py_None); resultobj = Py_None;
3647 return resultobj;
3648 fail:
3649 return NULL;
3650 }
3651
3652
3653 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3654 PyObject *resultobj;
3655 wxFrame *arg1 = (wxFrame *) 0 ;
3656 int arg2 ;
3657 PyObject * obj0 = 0 ;
3658 PyObject * obj1 = 0 ;
3659 char *kwnames[] = {
3660 (char *) "self",(char *) "n", NULL
3661 };
3662
3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3666 arg2 = (int) SWIG_AsInt(obj1);
3667 if (PyErr_Occurred()) SWIG_fail;
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 (arg1)->SetStatusBarPane(arg2);
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 Py_INCREF(Py_None); resultobj = Py_None;
3676 return resultobj;
3677 fail:
3678 return NULL;
3679 }
3680
3681
3682 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3683 PyObject *resultobj;
3684 wxFrame *arg1 = (wxFrame *) 0 ;
3685 int result;
3686 PyObject * obj0 = 0 ;
3687 char *kwnames[] = {
3688 (char *) "self", NULL
3689 };
3690
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3694 {
3695 PyThreadState* __tstate = wxPyBeginAllowThreads();
3696 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3697
3698 wxPyEndAllowThreads(__tstate);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 resultobj = SWIG_FromInt((int)result);
3702 return resultobj;
3703 fail:
3704 return NULL;
3705 }
3706
3707
3708 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3709 PyObject *resultobj;
3710 wxFrame *arg1 = (wxFrame *) 0 ;
3711 long arg2 = (long) -1 ;
3712 int arg3 = (int) -1 ;
3713 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3714 wxString *arg4 = (wxString *) &arg4_defvalue ;
3715 wxToolBar *result;
3716 bool temp4 = False ;
3717 PyObject * obj0 = 0 ;
3718 PyObject * obj1 = 0 ;
3719 PyObject * obj2 = 0 ;
3720 PyObject * obj3 = 0 ;
3721 char *kwnames[] = {
3722 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3723 };
3724
3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3728 if (obj1) {
3729 arg2 = (long) SWIG_AsLong(obj1);
3730 if (PyErr_Occurred()) SWIG_fail;
3731 }
3732 if (obj2) {
3733 arg3 = (int) SWIG_AsInt(obj2);
3734 if (PyErr_Occurred()) SWIG_fail;
3735 }
3736 if (obj3) {
3737 {
3738 arg4 = wxString_in_helper(obj3);
3739 if (arg4 == NULL) SWIG_fail;
3740 temp4 = True;
3741 }
3742 }
3743 {
3744 PyThreadState* __tstate = wxPyBeginAllowThreads();
3745 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3746
3747 wxPyEndAllowThreads(__tstate);
3748 if (PyErr_Occurred()) SWIG_fail;
3749 }
3750 {
3751 resultobj = wxPyMake_wxObject(result);
3752 }
3753 {
3754 if (temp4)
3755 delete arg4;
3756 }
3757 return resultobj;
3758 fail:
3759 {
3760 if (temp4)
3761 delete arg4;
3762 }
3763 return NULL;
3764 }
3765
3766
3767 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj;
3769 wxFrame *arg1 = (wxFrame *) 0 ;
3770 wxToolBar *result;
3771 PyObject * obj0 = 0 ;
3772 char *kwnames[] = {
3773 (char *) "self", NULL
3774 };
3775
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3779 {
3780 PyThreadState* __tstate = wxPyBeginAllowThreads();
3781 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3782
3783 wxPyEndAllowThreads(__tstate);
3784 if (PyErr_Occurred()) SWIG_fail;
3785 }
3786 {
3787 resultobj = wxPyMake_wxObject(result);
3788 }
3789 return resultobj;
3790 fail:
3791 return NULL;
3792 }
3793
3794
3795 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3796 PyObject *resultobj;
3797 wxFrame *arg1 = (wxFrame *) 0 ;
3798 wxToolBar *arg2 = (wxToolBar *) 0 ;
3799 PyObject * obj0 = 0 ;
3800 PyObject * obj1 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self",(char *) "toolbar", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3810 {
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 (arg1)->SetToolBar(arg2);
3813
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) SWIG_fail;
3816 }
3817 Py_INCREF(Py_None); resultobj = Py_None;
3818 return resultobj;
3819 fail:
3820 return NULL;
3821 }
3822
3823
3824 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3825 PyObject *resultobj;
3826 wxFrame *arg1 = (wxFrame *) 0 ;
3827 wxString *arg2 = 0 ;
3828 bool arg3 ;
3829 bool temp2 = False ;
3830 PyObject * obj0 = 0 ;
3831 PyObject * obj1 = 0 ;
3832 PyObject * obj2 = 0 ;
3833 char *kwnames[] = {
3834 (char *) "self",(char *) "text",(char *) "show", NULL
3835 };
3836
3837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3840 {
3841 arg2 = wxString_in_helper(obj1);
3842 if (arg2 == NULL) SWIG_fail;
3843 temp2 = True;
3844 }
3845 arg3 = (bool) SWIG_AsBool(obj2);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 {
3848 PyThreadState* __tstate = wxPyBeginAllowThreads();
3849 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3850
3851 wxPyEndAllowThreads(__tstate);
3852 if (PyErr_Occurred()) SWIG_fail;
3853 }
3854 Py_INCREF(Py_None); resultobj = Py_None;
3855 {
3856 if (temp2)
3857 delete arg2;
3858 }
3859 return resultobj;
3860 fail:
3861 {
3862 if (temp2)
3863 delete arg2;
3864 }
3865 return NULL;
3866 }
3867
3868
3869 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3870 PyObject *resultobj;
3871 wxFrame *arg1 = (wxFrame *) 0 ;
3872 wxMenu *arg2 = (wxMenu *) NULL ;
3873 PyObject * obj0 = 0 ;
3874 PyObject * obj1 = 0 ;
3875 char *kwnames[] = {
3876 (char *) "self",(char *) "menu", NULL
3877 };
3878
3879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3882 if (obj1) {
3883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3885 }
3886 {
3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
3888 (arg1)->DoMenuUpdates(arg2);
3889
3890 wxPyEndAllowThreads(__tstate);
3891 if (PyErr_Occurred()) SWIG_fail;
3892 }
3893 Py_INCREF(Py_None); resultobj = Py_None;
3894 return resultobj;
3895 fail:
3896 return NULL;
3897 }
3898
3899
3900 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3901 PyObject *obj;
3902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3903 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3904 Py_INCREF(obj);
3905 return Py_BuildValue((char *)"");
3906 }
3907 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3908 PyObject *resultobj;
3909 wxWindow *arg1 = (wxWindow *) 0 ;
3910 int arg2 ;
3911 wxString *arg3 = 0 ;
3912 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3913 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3914 wxSize const &arg5_defvalue = wxDefaultSize ;
3915 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3916 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3917 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3918 wxString *arg7 = (wxString *) &arg7_defvalue ;
3919 wxDialog *result;
3920 bool temp3 = False ;
3921 wxPoint temp4 ;
3922 wxSize temp5 ;
3923 bool temp7 = False ;
3924 PyObject * obj0 = 0 ;
3925 PyObject * obj1 = 0 ;
3926 PyObject * obj2 = 0 ;
3927 PyObject * obj3 = 0 ;
3928 PyObject * obj4 = 0 ;
3929 PyObject * obj5 = 0 ;
3930 PyObject * obj6 = 0 ;
3931 char *kwnames[] = {
3932 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3933 };
3934
3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3938 arg2 = (int const) SWIG_AsInt(obj1);
3939 if (PyErr_Occurred()) SWIG_fail;
3940 {
3941 arg3 = wxString_in_helper(obj2);
3942 if (arg3 == NULL) SWIG_fail;
3943 temp3 = True;
3944 }
3945 if (obj3) {
3946 {
3947 arg4 = &temp4;
3948 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3949 }
3950 }
3951 if (obj4) {
3952 {
3953 arg5 = &temp5;
3954 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3955 }
3956 }
3957 if (obj5) {
3958 arg6 = (long) SWIG_AsLong(obj5);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
3961 if (obj6) {
3962 {
3963 arg7 = wxString_in_helper(obj6);
3964 if (arg7 == NULL) SWIG_fail;
3965 temp7 = True;
3966 }
3967 }
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3971
3972 wxPyEndAllowThreads(__tstate);
3973 if (PyErr_Occurred()) SWIG_fail;
3974 }
3975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3976 {
3977 if (temp3)
3978 delete arg3;
3979 }
3980 {
3981 if (temp7)
3982 delete arg7;
3983 }
3984 return resultobj;
3985 fail:
3986 {
3987 if (temp3)
3988 delete arg3;
3989 }
3990 {
3991 if (temp7)
3992 delete arg7;
3993 }
3994 return NULL;
3995 }
3996
3997
3998 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3999 PyObject *resultobj;
4000 wxDialog *result;
4001 char *kwnames[] = {
4002 NULL
4003 };
4004
4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 result = (wxDialog *)new wxDialog();
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4014 return resultobj;
4015 fail:
4016 return NULL;
4017 }
4018
4019
4020 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxDialog *arg1 = (wxDialog *) 0 ;
4023 wxWindow *arg2 = (wxWindow *) 0 ;
4024 int arg3 ;
4025 wxString *arg4 = 0 ;
4026 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4027 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4028 wxSize const &arg6_defvalue = wxDefaultSize ;
4029 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4030 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4031 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4032 wxString *arg8 = (wxString *) &arg8_defvalue ;
4033 bool result;
4034 bool temp4 = False ;
4035 wxPoint temp5 ;
4036 wxSize temp6 ;
4037 bool temp8 = False ;
4038 PyObject * obj0 = 0 ;
4039 PyObject * obj1 = 0 ;
4040 PyObject * obj2 = 0 ;
4041 PyObject * obj3 = 0 ;
4042 PyObject * obj4 = 0 ;
4043 PyObject * obj5 = 0 ;
4044 PyObject * obj6 = 0 ;
4045 PyObject * obj7 = 0 ;
4046 char *kwnames[] = {
4047 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4048 };
4049
4050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4055 arg3 = (int const) SWIG_AsInt(obj2);
4056 if (PyErr_Occurred()) SWIG_fail;
4057 {
4058 arg4 = wxString_in_helper(obj3);
4059 if (arg4 == NULL) SWIG_fail;
4060 temp4 = True;
4061 }
4062 if (obj4) {
4063 {
4064 arg5 = &temp5;
4065 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4066 }
4067 }
4068 if (obj5) {
4069 {
4070 arg6 = &temp6;
4071 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4072 }
4073 }
4074 if (obj6) {
4075 arg7 = (long) SWIG_AsLong(obj6);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 if (obj7) {
4079 {
4080 arg8 = wxString_in_helper(obj7);
4081 if (arg8 == NULL) SWIG_fail;
4082 temp8 = True;
4083 }
4084 }
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
4092 {
4093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4094 }
4095 {
4096 if (temp4)
4097 delete arg4;
4098 }
4099 {
4100 if (temp8)
4101 delete arg8;
4102 }
4103 return resultobj;
4104 fail:
4105 {
4106 if (temp4)
4107 delete arg4;
4108 }
4109 {
4110 if (temp8)
4111 delete arg8;
4112 }
4113 return NULL;
4114 }
4115
4116
4117 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4118 PyObject *resultobj;
4119 wxDialog *arg1 = (wxDialog *) 0 ;
4120 int arg2 ;
4121 PyObject * obj0 = 0 ;
4122 PyObject * obj1 = 0 ;
4123 char *kwnames[] = {
4124 (char *) "self",(char *) "returnCode", NULL
4125 };
4126
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4130 arg2 = (int) SWIG_AsInt(obj1);
4131 if (PyErr_Occurred()) SWIG_fail;
4132 {
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 (arg1)->SetReturnCode(arg2);
4135
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 Py_INCREF(Py_None); resultobj = Py_None;
4140 return resultobj;
4141 fail:
4142 return NULL;
4143 }
4144
4145
4146 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj;
4148 wxDialog *arg1 = (wxDialog *) 0 ;
4149 int result;
4150 PyObject * obj0 = 0 ;
4151 char *kwnames[] = {
4152 (char *) "self", NULL
4153 };
4154
4155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4158 {
4159 PyThreadState* __tstate = wxPyBeginAllowThreads();
4160 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4161
4162 wxPyEndAllowThreads(__tstate);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 }
4165 resultobj = SWIG_FromInt((int)result);
4166 return resultobj;
4167 fail:
4168 return NULL;
4169 }
4170
4171
4172 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject *resultobj;
4174 wxDialog *arg1 = (wxDialog *) 0 ;
4175 wxString *arg2 = 0 ;
4176 wxSizer *result;
4177 bool temp2 = False ;
4178 PyObject * obj0 = 0 ;
4179 PyObject * obj1 = 0 ;
4180 char *kwnames[] = {
4181 (char *) "self",(char *) "message", NULL
4182 };
4183
4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4187 {
4188 arg2 = wxString_in_helper(obj1);
4189 if (arg2 == NULL) SWIG_fail;
4190 temp2 = True;
4191 }
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 {
4200 resultobj = wxPyMake_wxSizer(result);
4201 }
4202 {
4203 if (temp2)
4204 delete arg2;
4205 }
4206 return resultobj;
4207 fail:
4208 {
4209 if (temp2)
4210 delete arg2;
4211 }
4212 return NULL;
4213 }
4214
4215
4216 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject *resultobj;
4218 wxDialog *arg1 = (wxDialog *) 0 ;
4219 long arg2 ;
4220 wxSizer *result;
4221 PyObject * obj0 = 0 ;
4222 PyObject * obj1 = 0 ;
4223 char *kwnames[] = {
4224 (char *) "self",(char *) "flags", NULL
4225 };
4226
4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4230 arg2 = (long) SWIG_AsLong(obj1);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4235
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
4239 {
4240 resultobj = wxPyMake_wxSizer(result);
4241 }
4242 return resultobj;
4243 fail:
4244 return NULL;
4245 }
4246
4247
4248 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj;
4250 wxDialog *arg1 = (wxDialog *) 0 ;
4251 bool result;
4252 PyObject * obj0 = 0 ;
4253 char *kwnames[] = {
4254 (char *) "self", NULL
4255 };
4256
4257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 result = (bool)((wxDialog const *)arg1)->IsModal();
4263
4264 wxPyEndAllowThreads(__tstate);
4265 if (PyErr_Occurred()) SWIG_fail;
4266 }
4267 {
4268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4269 }
4270 return resultobj;
4271 fail:
4272 return NULL;
4273 }
4274
4275
4276 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4277 PyObject *resultobj;
4278 wxDialog *arg1 = (wxDialog *) 0 ;
4279 int result;
4280 PyObject * obj0 = 0 ;
4281 char *kwnames[] = {
4282 (char *) "self", NULL
4283 };
4284
4285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4288 {
4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
4290 result = (int)(arg1)->ShowModal();
4291
4292 wxPyEndAllowThreads(__tstate);
4293 if (PyErr_Occurred()) SWIG_fail;
4294 }
4295 resultobj = SWIG_FromInt((int)result);
4296 return resultobj;
4297 fail:
4298 return NULL;
4299 }
4300
4301
4302 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4303 PyObject *resultobj;
4304 wxDialog *arg1 = (wxDialog *) 0 ;
4305 int arg2 ;
4306 PyObject * obj0 = 0 ;
4307 PyObject * obj1 = 0 ;
4308 char *kwnames[] = {
4309 (char *) "self",(char *) "retCode", NULL
4310 };
4311
4312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4315 arg2 = (int) SWIG_AsInt(obj1);
4316 if (PyErr_Occurred()) SWIG_fail;
4317 {
4318 PyThreadState* __tstate = wxPyBeginAllowThreads();
4319 (arg1)->EndModal(arg2);
4320
4321 wxPyEndAllowThreads(__tstate);
4322 if (PyErr_Occurred()) SWIG_fail;
4323 }
4324 Py_INCREF(Py_None); resultobj = Py_None;
4325 return resultobj;
4326 fail:
4327 return NULL;
4328 }
4329
4330
4331 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4332 PyObject *obj;
4333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4334 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4335 Py_INCREF(obj);
4336 return Py_BuildValue((char *)"");
4337 }
4338 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4339 PyObject *resultobj;
4340 wxWindow *arg1 = (wxWindow *) 0 ;
4341 int arg2 ;
4342 wxString *arg3 = 0 ;
4343 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4344 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4345 wxSize const &arg5_defvalue = wxDefaultSize ;
4346 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4347 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4348 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4349 wxString *arg7 = (wxString *) &arg7_defvalue ;
4350 wxMiniFrame *result;
4351 bool temp3 = False ;
4352 wxPoint temp4 ;
4353 wxSize temp5 ;
4354 bool temp7 = False ;
4355 PyObject * obj0 = 0 ;
4356 PyObject * obj1 = 0 ;
4357 PyObject * obj2 = 0 ;
4358 PyObject * obj3 = 0 ;
4359 PyObject * obj4 = 0 ;
4360 PyObject * obj5 = 0 ;
4361 PyObject * obj6 = 0 ;
4362 char *kwnames[] = {
4363 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4364 };
4365
4366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4369 arg2 = (int const) SWIG_AsInt(obj1);
4370 if (PyErr_Occurred()) SWIG_fail;
4371 {
4372 arg3 = wxString_in_helper(obj2);
4373 if (arg3 == NULL) SWIG_fail;
4374 temp3 = True;
4375 }
4376 if (obj3) {
4377 {
4378 arg4 = &temp4;
4379 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4380 }
4381 }
4382 if (obj4) {
4383 {
4384 arg5 = &temp5;
4385 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4386 }
4387 }
4388 if (obj5) {
4389 arg6 = (long) SWIG_AsLong(obj5);
4390 if (PyErr_Occurred()) SWIG_fail;
4391 }
4392 if (obj6) {
4393 {
4394 arg7 = wxString_in_helper(obj6);
4395 if (arg7 == NULL) SWIG_fail;
4396 temp7 = True;
4397 }
4398 }
4399 {
4400 PyThreadState* __tstate = wxPyBeginAllowThreads();
4401 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4402
4403 wxPyEndAllowThreads(__tstate);
4404 if (PyErr_Occurred()) SWIG_fail;
4405 }
4406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4407 {
4408 if (temp3)
4409 delete arg3;
4410 }
4411 {
4412 if (temp7)
4413 delete arg7;
4414 }
4415 return resultobj;
4416 fail:
4417 {
4418 if (temp3)
4419 delete arg3;
4420 }
4421 {
4422 if (temp7)
4423 delete arg7;
4424 }
4425 return NULL;
4426 }
4427
4428
4429 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4430 PyObject *resultobj;
4431 wxMiniFrame *result;
4432 char *kwnames[] = {
4433 NULL
4434 };
4435
4436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 result = (wxMiniFrame *)new wxMiniFrame();
4440
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4445 return resultobj;
4446 fail:
4447 return NULL;
4448 }
4449
4450
4451 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4452 PyObject *resultobj;
4453 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4454 wxWindow *arg2 = (wxWindow *) 0 ;
4455 int arg3 ;
4456 wxString *arg4 = 0 ;
4457 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4458 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4459 wxSize const &arg6_defvalue = wxDefaultSize ;
4460 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4461 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4462 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4463 wxString *arg8 = (wxString *) &arg8_defvalue ;
4464 bool result;
4465 bool temp4 = False ;
4466 wxPoint temp5 ;
4467 wxSize temp6 ;
4468 bool temp8 = False ;
4469 PyObject * obj0 = 0 ;
4470 PyObject * obj1 = 0 ;
4471 PyObject * obj2 = 0 ;
4472 PyObject * obj3 = 0 ;
4473 PyObject * obj4 = 0 ;
4474 PyObject * obj5 = 0 ;
4475 PyObject * obj6 = 0 ;
4476 PyObject * obj7 = 0 ;
4477 char *kwnames[] = {
4478 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4479 };
4480
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4486 arg3 = (int const) SWIG_AsInt(obj2);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 {
4489 arg4 = wxString_in_helper(obj3);
4490 if (arg4 == NULL) SWIG_fail;
4491 temp4 = True;
4492 }
4493 if (obj4) {
4494 {
4495 arg5 = &temp5;
4496 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4497 }
4498 }
4499 if (obj5) {
4500 {
4501 arg6 = &temp6;
4502 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4503 }
4504 }
4505 if (obj6) {
4506 arg7 = (long) SWIG_AsLong(obj6);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 if (obj7) {
4510 {
4511 arg8 = wxString_in_helper(obj7);
4512 if (arg8 == NULL) SWIG_fail;
4513 temp8 = True;
4514 }
4515 }
4516 {
4517 PyThreadState* __tstate = wxPyBeginAllowThreads();
4518 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4519
4520 wxPyEndAllowThreads(__tstate);
4521 if (PyErr_Occurred()) SWIG_fail;
4522 }
4523 {
4524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4525 }
4526 {
4527 if (temp4)
4528 delete arg4;
4529 }
4530 {
4531 if (temp8)
4532 delete arg8;
4533 }
4534 return resultobj;
4535 fail:
4536 {
4537 if (temp4)
4538 delete arg4;
4539 }
4540 {
4541 if (temp8)
4542 delete arg8;
4543 }
4544 return NULL;
4545 }
4546
4547
4548 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4549 PyObject *obj;
4550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4551 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4552 Py_INCREF(obj);
4553 return Py_BuildValue((char *)"");
4554 }
4555 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4556 PyObject *resultobj;
4557 wxBitmap *arg1 = 0 ;
4558 wxWindow *arg2 = (wxWindow *) 0 ;
4559 int arg3 ;
4560 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4561 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4562 wxSize const &arg5_defvalue = wxDefaultSize ;
4563 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4564 long arg6 = (long) wxNO_BORDER ;
4565 wxSplashScreenWindow *result;
4566 wxPoint temp4 ;
4567 wxSize temp5 ;
4568 PyObject * obj0 = 0 ;
4569 PyObject * obj1 = 0 ;
4570 PyObject * obj2 = 0 ;
4571 PyObject * obj3 = 0 ;
4572 PyObject * obj4 = 0 ;
4573 PyObject * obj5 = 0 ;
4574 char *kwnames[] = {
4575 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4576 };
4577
4578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4580 SWIG_POINTER_EXCEPTION | 0)) == -1)
4581 SWIG_fail;
4582 if (arg1 == NULL) {
4583 PyErr_SetString(PyExc_TypeError,"null reference");
4584 SWIG_fail;
4585 }
4586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4588 arg3 = (int) SWIG_AsInt(obj2);
4589 if (PyErr_Occurred()) SWIG_fail;
4590 if (obj3) {
4591 {
4592 arg4 = &temp4;
4593 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4594 }
4595 }
4596 if (obj4) {
4597 {
4598 arg5 = &temp5;
4599 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4600 }
4601 }
4602 if (obj5) {
4603 arg6 = (long) SWIG_AsLong(obj5);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4609
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4614 return resultobj;
4615 fail:
4616 return NULL;
4617 }
4618
4619
4620 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4621 PyObject *resultobj;
4622 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4623 wxBitmap *arg2 = 0 ;
4624 PyObject * obj0 = 0 ;
4625 PyObject * obj1 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self",(char *) "bitmap", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4634 SWIG_POINTER_EXCEPTION | 0)) == -1)
4635 SWIG_fail;
4636 if (arg2 == NULL) {
4637 PyErr_SetString(PyExc_TypeError,"null reference");
4638 SWIG_fail;
4639 }
4640 {
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4643
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 Py_INCREF(Py_None); resultobj = Py_None;
4648 return resultobj;
4649 fail:
4650 return NULL;
4651 }
4652
4653
4654 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4655 PyObject *resultobj;
4656 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4657 wxBitmap *result;
4658 PyObject * obj0 = 0 ;
4659 char *kwnames[] = {
4660 (char *) "self", NULL
4661 };
4662
4663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4666 {
4667 PyThreadState* __tstate = wxPyBeginAllowThreads();
4668 {
4669 wxBitmap &_result_ref = (arg1)->GetBitmap();
4670 result = (wxBitmap *) &_result_ref;
4671 }
4672
4673 wxPyEndAllowThreads(__tstate);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 {
4677 wxBitmap* resultptr = new wxBitmap(*result);
4678 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4679 }
4680 return resultobj;
4681 fail:
4682 return NULL;
4683 }
4684
4685
4686 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4687 PyObject *obj;
4688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4689 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4690 Py_INCREF(obj);
4691 return Py_BuildValue((char *)"");
4692 }
4693 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4694 PyObject *resultobj;
4695 wxBitmap *arg1 = 0 ;
4696 long arg2 ;
4697 int arg3 ;
4698 wxWindow *arg4 = (wxWindow *) 0 ;
4699 int arg5 ;
4700 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4701 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4702 wxSize const &arg7_defvalue = wxDefaultSize ;
4703 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4704 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4705 wxSplashScreen *result;
4706 wxPoint temp6 ;
4707 wxSize temp7 ;
4708 PyObject * obj0 = 0 ;
4709 PyObject * obj1 = 0 ;
4710 PyObject * obj2 = 0 ;
4711 PyObject * obj3 = 0 ;
4712 PyObject * obj4 = 0 ;
4713 PyObject * obj5 = 0 ;
4714 PyObject * obj6 = 0 ;
4715 PyObject * obj7 = 0 ;
4716 char *kwnames[] = {
4717 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4718 };
4719
4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4722 SWIG_POINTER_EXCEPTION | 0)) == -1)
4723 SWIG_fail;
4724 if (arg1 == NULL) {
4725 PyErr_SetString(PyExc_TypeError,"null reference");
4726 SWIG_fail;
4727 }
4728 arg2 = (long) SWIG_AsLong(obj1);
4729 if (PyErr_Occurred()) SWIG_fail;
4730 arg3 = (int) SWIG_AsInt(obj2);
4731 if (PyErr_Occurred()) SWIG_fail;
4732 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4734 arg5 = (int) SWIG_AsInt(obj4);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 if (obj5) {
4737 {
4738 arg6 = &temp6;
4739 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4740 }
4741 }
4742 if (obj6) {
4743 {
4744 arg7 = &temp7;
4745 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4746 }
4747 }
4748 if (obj7) {
4749 arg8 = (long) SWIG_AsLong(obj7);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 {
4753 PyThreadState* __tstate = wxPyBeginAllowThreads();
4754 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4755
4756 wxPyEndAllowThreads(__tstate);
4757 if (PyErr_Occurred()) SWIG_fail;
4758 }
4759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4760 return resultobj;
4761 fail:
4762 return NULL;
4763 }
4764
4765
4766 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4767 PyObject *resultobj;
4768 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4769 long result;
4770 PyObject * obj0 = 0 ;
4771 char *kwnames[] = {
4772 (char *) "self", NULL
4773 };
4774
4775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4778 {
4779 PyThreadState* __tstate = wxPyBeginAllowThreads();
4780 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4781
4782 wxPyEndAllowThreads(__tstate);
4783 if (PyErr_Occurred()) SWIG_fail;
4784 }
4785 resultobj = SWIG_FromLong((long)result);
4786 return resultobj;
4787 fail:
4788 return NULL;
4789 }
4790
4791
4792 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4793 PyObject *resultobj;
4794 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4795 wxSplashScreenWindow *result;
4796 PyObject * obj0 = 0 ;
4797 char *kwnames[] = {
4798 (char *) "self", NULL
4799 };
4800
4801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4804 {
4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4806 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4807
4808 wxPyEndAllowThreads(__tstate);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4812 return resultobj;
4813 fail:
4814 return NULL;
4815 }
4816
4817
4818 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4819 PyObject *resultobj;
4820 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4821 int result;
4822 PyObject * obj0 = 0 ;
4823 char *kwnames[] = {
4824 (char *) "self", NULL
4825 };
4826
4827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4830 {
4831 PyThreadState* __tstate = wxPyBeginAllowThreads();
4832 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4833
4834 wxPyEndAllowThreads(__tstate);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 }
4837 resultobj = SWIG_FromInt((int)result);
4838 return resultobj;
4839 fail:
4840 return NULL;
4841 }
4842
4843
4844 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4845 PyObject *obj;
4846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4847 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4848 Py_INCREF(obj);
4849 return Py_BuildValue((char *)"");
4850 }
4851 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4852 PyObject *resultobj;
4853 wxWindow *arg1 = (wxWindow *) 0 ;
4854 int arg2 = (int) -1 ;
4855 long arg3 = (long) wxST_SIZEGRIP ;
4856 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4857 wxString *arg4 = (wxString *) &arg4_defvalue ;
4858 wxStatusBar *result;
4859 bool temp4 = False ;
4860 PyObject * obj0 = 0 ;
4861 PyObject * obj1 = 0 ;
4862 PyObject * obj2 = 0 ;
4863 PyObject * obj3 = 0 ;
4864 char *kwnames[] = {
4865 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4866 };
4867
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4871 if (obj1) {
4872 arg2 = (int) SWIG_AsInt(obj1);
4873 if (PyErr_Occurred()) SWIG_fail;
4874 }
4875 if (obj2) {
4876 arg3 = (long) SWIG_AsLong(obj2);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 if (obj3) {
4880 {
4881 arg4 = wxString_in_helper(obj3);
4882 if (arg4 == NULL) SWIG_fail;
4883 temp4 = True;
4884 }
4885 }
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 {
4894 resultobj = wxPyMake_wxObject(result);
4895 }
4896 {
4897 if (temp4)
4898 delete arg4;
4899 }
4900 return resultobj;
4901 fail:
4902 {
4903 if (temp4)
4904 delete arg4;
4905 }
4906 return NULL;
4907 }
4908
4909
4910 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4911 PyObject *resultobj;
4912 wxStatusBar *result;
4913 char *kwnames[] = {
4914 NULL
4915 };
4916
4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 result = (wxStatusBar *)new wxStatusBar();
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) SWIG_fail;
4924 }
4925 {
4926 resultobj = wxPyMake_wxObject(result);
4927 }
4928 return resultobj;
4929 fail:
4930 return NULL;
4931 }
4932
4933
4934 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4935 PyObject *resultobj;
4936 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4937 wxWindow *arg2 = (wxWindow *) 0 ;
4938 int arg3 ;
4939 long arg4 = (long) wxST_SIZEGRIP ;
4940 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4941 wxString *arg5 = (wxString *) &arg5_defvalue ;
4942 bool result;
4943 bool temp5 = False ;
4944 PyObject * obj0 = 0 ;
4945 PyObject * obj1 = 0 ;
4946 PyObject * obj2 = 0 ;
4947 PyObject * obj3 = 0 ;
4948 PyObject * obj4 = 0 ;
4949 char *kwnames[] = {
4950 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4951 };
4952
4953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4958 arg3 = (int) SWIG_AsInt(obj2);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 if (obj3) {
4961 arg4 = (long) SWIG_AsLong(obj3);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 if (obj4) {
4965 {
4966 arg5 = wxString_in_helper(obj4);
4967 if (arg5 == NULL) SWIG_fail;
4968 temp5 = True;
4969 }
4970 }
4971 {
4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
4973 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4974
4975 wxPyEndAllowThreads(__tstate);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 {
4979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4980 }
4981 {
4982 if (temp5)
4983 delete arg5;
4984 }
4985 return resultobj;
4986 fail:
4987 {
4988 if (temp5)
4989 delete arg5;
4990 }
4991 return NULL;
4992 }
4993
4994
4995 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4996 PyObject *resultobj;
4997 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4998 int arg2 = (int) 1 ;
4999 PyObject * obj0 = 0 ;
5000 PyObject * obj1 = 0 ;
5001 char *kwnames[] = {
5002 (char *) "self",(char *) "number", NULL
5003 };
5004
5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5008 if (obj1) {
5009 arg2 = (int) SWIG_AsInt(obj1);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 }
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 (arg1)->SetFieldsCount(arg2);
5015
5016 wxPyEndAllowThreads(__tstate);
5017 if (PyErr_Occurred()) SWIG_fail;
5018 }
5019 Py_INCREF(Py_None); resultobj = Py_None;
5020 return resultobj;
5021 fail:
5022 return NULL;
5023 }
5024
5025
5026 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5027 PyObject *resultobj;
5028 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5029 int result;
5030 PyObject * obj0 = 0 ;
5031 char *kwnames[] = {
5032 (char *) "self", NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5041
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 resultobj = SWIG_FromInt((int)result);
5046 return resultobj;
5047 fail:
5048 return NULL;
5049 }
5050
5051
5052 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5053 PyObject *resultobj;
5054 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5055 wxString *arg2 = 0 ;
5056 int arg3 = (int) 0 ;
5057 bool temp2 = False ;
5058 PyObject * obj0 = 0 ;
5059 PyObject * obj1 = 0 ;
5060 PyObject * obj2 = 0 ;
5061 char *kwnames[] = {
5062 (char *) "self",(char *) "text",(char *) "number", NULL
5063 };
5064
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5068 {
5069 arg2 = wxString_in_helper(obj1);
5070 if (arg2 == NULL) SWIG_fail;
5071 temp2 = True;
5072 }
5073 if (obj2) {
5074 arg3 = (int) SWIG_AsInt(obj2);
5075 if (PyErr_Occurred()) SWIG_fail;
5076 }
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5080
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
5084 Py_INCREF(Py_None); resultobj = Py_None;
5085 {
5086 if (temp2)
5087 delete arg2;
5088 }
5089 return resultobj;
5090 fail:
5091 {
5092 if (temp2)
5093 delete arg2;
5094 }
5095 return NULL;
5096 }
5097
5098
5099 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5100 PyObject *resultobj;
5101 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5102 int arg2 = (int) 0 ;
5103 wxString result;
5104 PyObject * obj0 = 0 ;
5105 PyObject * obj1 = 0 ;
5106 char *kwnames[] = {
5107 (char *) "self",(char *) "number", NULL
5108 };
5109
5110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5113 if (obj1) {
5114 arg2 = (int) SWIG_AsInt(obj1);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 }
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5120
5121 wxPyEndAllowThreads(__tstate);
5122 if (PyErr_Occurred()) SWIG_fail;
5123 }
5124 {
5125 #if wxUSE_UNICODE
5126 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5127 #else
5128 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5129 #endif
5130 }
5131 return resultobj;
5132 fail:
5133 return NULL;
5134 }
5135
5136
5137 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5138 PyObject *resultobj;
5139 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5140 wxString *arg2 = 0 ;
5141 int arg3 = (int) 0 ;
5142 bool temp2 = False ;
5143 PyObject * obj0 = 0 ;
5144 PyObject * obj1 = 0 ;
5145 PyObject * obj2 = 0 ;
5146 char *kwnames[] = {
5147 (char *) "self",(char *) "text",(char *) "number", NULL
5148 };
5149
5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5153 {
5154 arg2 = wxString_in_helper(obj1);
5155 if (arg2 == NULL) SWIG_fail;
5156 temp2 = True;
5157 }
5158 if (obj2) {
5159 arg3 = (int) SWIG_AsInt(obj2);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 }
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 Py_INCREF(Py_None); resultobj = Py_None;
5170 {
5171 if (temp2)
5172 delete arg2;
5173 }
5174 return resultobj;
5175 fail:
5176 {
5177 if (temp2)
5178 delete arg2;
5179 }
5180 return NULL;
5181 }
5182
5183
5184 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5185 PyObject *resultobj;
5186 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5187 int arg2 = (int) 0 ;
5188 PyObject * obj0 = 0 ;
5189 PyObject * obj1 = 0 ;
5190 char *kwnames[] = {
5191 (char *) "self",(char *) "number", NULL
5192 };
5193
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5197 if (obj1) {
5198 arg2 = (int) SWIG_AsInt(obj1);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 (arg1)->PopStatusText(arg2);
5204
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 Py_INCREF(Py_None); resultobj = Py_None;
5209 return resultobj;
5210 fail:
5211 return NULL;
5212 }
5213
5214
5215 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5216 PyObject *resultobj;
5217 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5218 int arg2 ;
5219 int *arg3 = (int *) 0 ;
5220 PyObject * obj0 = 0 ;
5221 PyObject * obj1 = 0 ;
5222 char *kwnames[] = {
5223 (char *) "self",(char *) "widths", NULL
5224 };
5225
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5229 {
5230 arg2 = PyList_Size(obj1);
5231 arg3 = int_LIST_helper(obj1);
5232 if (arg3 == NULL) SWIG_fail;
5233 }
5234 {
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5237
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
5241 Py_INCREF(Py_None); resultobj = Py_None;
5242 {
5243 if (arg3) delete [] arg3;
5244 }
5245 return resultobj;
5246 fail:
5247 {
5248 if (arg3) delete [] arg3;
5249 }
5250 return NULL;
5251 }
5252
5253
5254 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5255 PyObject *resultobj;
5256 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5257 int arg2 ;
5258 wxRect result;
5259 PyObject * obj0 = 0 ;
5260 PyObject * obj1 = 0 ;
5261 char *kwnames[] = {
5262 (char *) "self",(char *) "i", NULL
5263 };
5264
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5268 arg2 = (int) SWIG_AsInt(obj1);
5269 if (PyErr_Occurred()) SWIG_fail;
5270 {
5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5272 result = wxStatusBar_GetFieldRect(arg1,arg2);
5273
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 {
5278 wxRect * resultptr;
5279 resultptr = new wxRect((wxRect &) result);
5280 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5281 }
5282 return resultobj;
5283 fail:
5284 return NULL;
5285 }
5286
5287
5288 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5289 PyObject *resultobj;
5290 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5291 int arg2 ;
5292 PyObject * obj0 = 0 ;
5293 PyObject * obj1 = 0 ;
5294 char *kwnames[] = {
5295 (char *) "self",(char *) "height", NULL
5296 };
5297
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5301 arg2 = (int) SWIG_AsInt(obj1);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
5305 (arg1)->SetMinHeight(arg2);
5306
5307 wxPyEndAllowThreads(__tstate);
5308 if (PyErr_Occurred()) SWIG_fail;
5309 }
5310 Py_INCREF(Py_None); resultobj = Py_None;
5311 return resultobj;
5312 fail:
5313 return NULL;
5314 }
5315
5316
5317 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5318 PyObject *resultobj;
5319 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5320 int result;
5321 PyObject * obj0 = 0 ;
5322 char *kwnames[] = {
5323 (char *) "self", NULL
5324 };
5325
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5329 {
5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
5331 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5332
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
5336 resultobj = SWIG_FromInt((int)result);
5337 return resultobj;
5338 fail:
5339 return NULL;
5340 }
5341
5342
5343 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5344 PyObject *resultobj;
5345 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5346 int result;
5347 PyObject * obj0 = 0 ;
5348 char *kwnames[] = {
5349 (char *) "self", NULL
5350 };
5351
5352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 resultobj = SWIG_FromInt((int)result);
5363 return resultobj;
5364 fail:
5365 return NULL;
5366 }
5367
5368
5369 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5370 PyObject *obj;
5371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5372 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5373 Py_INCREF(obj);
5374 return Py_BuildValue((char *)"");
5375 }
5376 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5377 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5378 return 1;
5379 }
5380
5381
5382 static PyObject *_wrap_SplitterNameStr_get() {
5383 PyObject *pyobj;
5384
5385 {
5386 #if wxUSE_UNICODE
5387 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5388 #else
5389 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5390 #endif
5391 }
5392 return pyobj;
5393 }
5394
5395
5396 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5397 PyObject *resultobj;
5398 wxWindow *arg1 = (wxWindow *) 0 ;
5399 int arg2 = (int) -1 ;
5400 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5401 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5402 wxSize const &arg4_defvalue = wxDefaultSize ;
5403 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5404 long arg5 = (long) wxSP_3D ;
5405 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5406 wxString *arg6 = (wxString *) &arg6_defvalue ;
5407 wxSplitterWindow *result;
5408 wxPoint temp3 ;
5409 wxSize temp4 ;
5410 bool temp6 = False ;
5411 PyObject * obj0 = 0 ;
5412 PyObject * obj1 = 0 ;
5413 PyObject * obj2 = 0 ;
5414 PyObject * obj3 = 0 ;
5415 PyObject * obj4 = 0 ;
5416 PyObject * obj5 = 0 ;
5417 char *kwnames[] = {
5418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5419 };
5420
5421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5424 if (obj1) {
5425 arg2 = (int) SWIG_AsInt(obj1);
5426 if (PyErr_Occurred()) SWIG_fail;
5427 }
5428 if (obj2) {
5429 {
5430 arg3 = &temp3;
5431 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5432 }
5433 }
5434 if (obj3) {
5435 {
5436 arg4 = &temp4;
5437 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5438 }
5439 }
5440 if (obj4) {
5441 arg5 = (long) SWIG_AsLong(obj4);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 }
5444 if (obj5) {
5445 {
5446 arg6 = wxString_in_helper(obj5);
5447 if (arg6 == NULL) SWIG_fail;
5448 temp6 = True;
5449 }
5450 }
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5454
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5459 {
5460 if (temp6)
5461 delete arg6;
5462 }
5463 return resultobj;
5464 fail:
5465 {
5466 if (temp6)
5467 delete arg6;
5468 }
5469 return NULL;
5470 }
5471
5472
5473 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5474 PyObject *resultobj;
5475 wxSplitterWindow *result;
5476 char *kwnames[] = {
5477 NULL
5478 };
5479
5480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5481 {
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 result = (wxSplitterWindow *)new wxSplitterWindow();
5484
5485 wxPyEndAllowThreads(__tstate);
5486 if (PyErr_Occurred()) SWIG_fail;
5487 }
5488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5489 return resultobj;
5490 fail:
5491 return NULL;
5492 }
5493
5494
5495 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5496 PyObject *resultobj;
5497 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5498 wxWindow *arg2 = (wxWindow *) 0 ;
5499 int arg3 = (int) -1 ;
5500 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5501 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5502 wxSize const &arg5_defvalue = wxDefaultSize ;
5503 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5504 long arg6 = (long) wxSP_3D ;
5505 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5506 wxString *arg7 = (wxString *) &arg7_defvalue ;
5507 bool result;
5508 wxPoint temp4 ;
5509 wxSize temp5 ;
5510 bool temp7 = False ;
5511 PyObject * obj0 = 0 ;
5512 PyObject * obj1 = 0 ;
5513 PyObject * obj2 = 0 ;
5514 PyObject * obj3 = 0 ;
5515 PyObject * obj4 = 0 ;
5516 PyObject * obj5 = 0 ;
5517 PyObject * obj6 = 0 ;
5518 char *kwnames[] = {
5519 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5520 };
5521
5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5527 if (obj2) {
5528 arg3 = (int) SWIG_AsInt(obj2);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 if (obj3) {
5532 {
5533 arg4 = &temp4;
5534 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5535 }
5536 }
5537 if (obj4) {
5538 {
5539 arg5 = &temp5;
5540 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5541 }
5542 }
5543 if (obj5) {
5544 arg6 = (long) SWIG_AsLong(obj5);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 if (obj6) {
5548 {
5549 arg7 = wxString_in_helper(obj6);
5550 if (arg7 == NULL) SWIG_fail;
5551 temp7 = True;
5552 }
5553 }
5554 {
5555 PyThreadState* __tstate = wxPyBeginAllowThreads();
5556 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5557
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
5561 {
5562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5563 }
5564 {
5565 if (temp7)
5566 delete arg7;
5567 }
5568 return resultobj;
5569 fail:
5570 {
5571 if (temp7)
5572 delete arg7;
5573 }
5574 return NULL;
5575 }
5576
5577
5578 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5579 PyObject *resultobj;
5580 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5581 wxWindow *result;
5582 PyObject * obj0 = 0 ;
5583 char *kwnames[] = {
5584 (char *) "self", NULL
5585 };
5586
5587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 {
5598 resultobj = wxPyMake_wxObject(result);
5599 }
5600 return resultobj;
5601 fail:
5602 return NULL;
5603 }
5604
5605
5606 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5607 PyObject *resultobj;
5608 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5609 wxWindow *result;
5610 PyObject * obj0 = 0 ;
5611 char *kwnames[] = {
5612 (char *) "self", NULL
5613 };
5614
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5618 {
5619 PyThreadState* __tstate = wxPyBeginAllowThreads();
5620 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5621
5622 wxPyEndAllowThreads(__tstate);
5623 if (PyErr_Occurred()) SWIG_fail;
5624 }
5625 {
5626 resultobj = wxPyMake_wxObject(result);
5627 }
5628 return resultobj;
5629 fail:
5630 return NULL;
5631 }
5632
5633
5634 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5635 PyObject *resultobj;
5636 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5637 int arg2 ;
5638 PyObject * obj0 = 0 ;
5639 PyObject * obj1 = 0 ;
5640 char *kwnames[] = {
5641 (char *) "self",(char *) "mode", NULL
5642 };
5643
5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5647 arg2 = (int) SWIG_AsInt(obj1);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 {
5650 PyThreadState* __tstate = wxPyBeginAllowThreads();
5651 (arg1)->SetSplitMode(arg2);
5652
5653 wxPyEndAllowThreads(__tstate);
5654 if (PyErr_Occurred()) SWIG_fail;
5655 }
5656 Py_INCREF(Py_None); resultobj = Py_None;
5657 return resultobj;
5658 fail:
5659 return NULL;
5660 }
5661
5662
5663 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5664 PyObject *resultobj;
5665 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5666 int result;
5667 PyObject * obj0 = 0 ;
5668 char *kwnames[] = {
5669 (char *) "self", NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5675 {
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5678
5679 wxPyEndAllowThreads(__tstate);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
5682 resultobj = SWIG_FromInt((int)result);
5683 return resultobj;
5684 fail:
5685 return NULL;
5686 }
5687
5688
5689 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5690 PyObject *resultobj;
5691 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5692 wxWindow *arg2 = (wxWindow *) 0 ;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 char *kwnames[] = {
5696 (char *) "self",(char *) "window", NULL
5697 };
5698
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 (arg1)->Initialize(arg2);
5707
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 Py_INCREF(Py_None); resultobj = Py_None;
5712 return resultobj;
5713 fail:
5714 return NULL;
5715 }
5716
5717
5718 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5719 PyObject *resultobj;
5720 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5721 wxWindow *arg2 = (wxWindow *) 0 ;
5722 wxWindow *arg3 = (wxWindow *) 0 ;
5723 int arg4 = (int) 0 ;
5724 bool result;
5725 PyObject * obj0 = 0 ;
5726 PyObject * obj1 = 0 ;
5727 PyObject * obj2 = 0 ;
5728 PyObject * obj3 = 0 ;
5729 char *kwnames[] = {
5730 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5731 };
5732
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5738 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5740 if (obj3) {
5741 arg4 = (int) SWIG_AsInt(obj3);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5747
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 {
5752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5753 }
5754 return resultobj;
5755 fail:
5756 return NULL;
5757 }
5758
5759
5760 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5761 PyObject *resultobj;
5762 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5763 wxWindow *arg2 = (wxWindow *) 0 ;
5764 wxWindow *arg3 = (wxWindow *) 0 ;
5765 int arg4 = (int) 0 ;
5766 bool result;
5767 PyObject * obj0 = 0 ;
5768 PyObject * obj1 = 0 ;
5769 PyObject * obj2 = 0 ;
5770 PyObject * obj3 = 0 ;
5771 char *kwnames[] = {
5772 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5780 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5782 if (obj3) {
5783 arg4 = (int) SWIG_AsInt(obj3);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 {
5787 PyThreadState* __tstate = wxPyBeginAllowThreads();
5788 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5789
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 {
5794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5795 }
5796 return resultobj;
5797 fail:
5798 return NULL;
5799 }
5800
5801
5802 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj;
5804 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5805 wxWindow *arg2 = (wxWindow *) NULL ;
5806 bool result;
5807 PyObject * obj0 = 0 ;
5808 PyObject * obj1 = 0 ;
5809 char *kwnames[] = {
5810 (char *) "self",(char *) "toRemove", NULL
5811 };
5812
5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5816 if (obj1) {
5817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5819 }
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 result = (bool)(arg1)->Unsplit(arg2);
5823
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 {
5828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5829 }
5830 return resultobj;
5831 fail:
5832 return NULL;
5833 }
5834
5835
5836 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5837 PyObject *resultobj;
5838 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5839 wxWindow *arg2 = (wxWindow *) 0 ;
5840 wxWindow *arg3 = (wxWindow *) 0 ;
5841 bool result;
5842 PyObject * obj0 = 0 ;
5843 PyObject * obj1 = 0 ;
5844 PyObject * obj2 = 0 ;
5845 char *kwnames[] = {
5846 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5847 };
5848
5849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5854 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5859
5860 wxPyEndAllowThreads(__tstate);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 }
5863 {
5864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5865 }
5866 return resultobj;
5867 fail:
5868 return NULL;
5869 }
5870
5871
5872 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5873 PyObject *resultobj;
5874 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5875 PyObject * obj0 = 0 ;
5876 char *kwnames[] = {
5877 (char *) "self", NULL
5878 };
5879
5880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5883 {
5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
5885 (arg1)->UpdateSize();
5886
5887 wxPyEndAllowThreads(__tstate);
5888 if (PyErr_Occurred()) SWIG_fail;
5889 }
5890 Py_INCREF(Py_None); resultobj = Py_None;
5891 return resultobj;
5892 fail:
5893 return NULL;
5894 }
5895
5896
5897 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5898 PyObject *resultobj;
5899 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5900 bool result;
5901 PyObject * obj0 = 0 ;
5902 char *kwnames[] = {
5903 (char *) "self", NULL
5904 };
5905
5906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5909 {
5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
5911 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5912
5913 wxPyEndAllowThreads(__tstate);
5914 if (PyErr_Occurred()) SWIG_fail;
5915 }
5916 {
5917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5918 }
5919 return resultobj;
5920 fail:
5921 return NULL;
5922 }
5923
5924
5925 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj;
5927 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5928 int arg2 ;
5929 PyObject * obj0 = 0 ;
5930 PyObject * obj1 = 0 ;
5931 char *kwnames[] = {
5932 (char *) "self",(char *) "width", NULL
5933 };
5934
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5938 arg2 = (int) SWIG_AsInt(obj1);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 (arg1)->SetSashSize(arg2);
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 Py_INCREF(Py_None); resultobj = Py_None;
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5955 PyObject *resultobj;
5956 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5957 int arg2 ;
5958 PyObject * obj0 = 0 ;
5959 PyObject * obj1 = 0 ;
5960 char *kwnames[] = {
5961 (char *) "self",(char *) "width", NULL
5962 };
5963
5964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5967 arg2 = (int) SWIG_AsInt(obj1);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 (arg1)->SetBorderSize(arg2);
5972
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
5976 Py_INCREF(Py_None); resultobj = Py_None;
5977 return resultobj;
5978 fail:
5979 return NULL;
5980 }
5981
5982
5983 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5984 PyObject *resultobj;
5985 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5986 int result;
5987 PyObject * obj0 = 0 ;
5988 char *kwnames[] = {
5989 (char *) "self", NULL
5990 };
5991
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 resultobj = SWIG_FromInt((int)result);
6003 return resultobj;
6004 fail:
6005 return NULL;
6006 }
6007
6008
6009 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj;
6011 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6012 int result;
6013 PyObject * obj0 = 0 ;
6014 char *kwnames[] = {
6015 (char *) "self", NULL
6016 };
6017
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 resultobj = SWIG_FromInt((int)result);
6029 return resultobj;
6030 fail:
6031 return NULL;
6032 }
6033
6034
6035 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject *resultobj;
6037 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6038 int arg2 ;
6039 bool arg3 = (bool) True ;
6040 PyObject * obj0 = 0 ;
6041 PyObject * obj1 = 0 ;
6042 PyObject * obj2 = 0 ;
6043 char *kwnames[] = {
6044 (char *) "self",(char *) "position",(char *) "redraw", NULL
6045 };
6046
6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6050 arg2 = (int) SWIG_AsInt(obj1);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 if (obj2) {
6053 arg3 = (bool) SWIG_AsBool(obj2);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 {
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
6058 (arg1)->SetSashPosition(arg2,arg3);
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_GetSashPosition(PyObject *self, 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_GetSashPosition",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)->GetSashPosition();
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_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6097 PyObject *resultobj;
6098 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6099 int arg2 ;
6100 PyObject * obj0 = 0 ;
6101 PyObject * obj1 = 0 ;
6102 char *kwnames[] = {
6103 (char *) "self",(char *) "min", NULL
6104 };
6105
6106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6109 arg2 = (int) SWIG_AsInt(obj1);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 {
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
6113 (arg1)->SetMinimumPaneSize(arg2);
6114
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 Py_INCREF(Py_None); resultobj = Py_None;
6119 return resultobj;
6120 fail:
6121 return NULL;
6122 }
6123
6124
6125 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6126 PyObject *resultobj;
6127 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6128 int result;
6129 PyObject * obj0 = 0 ;
6130 char *kwnames[] = {
6131 (char *) "self", NULL
6132 };
6133
6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6137 {
6138 PyThreadState* __tstate = wxPyBeginAllowThreads();
6139 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6140
6141 wxPyEndAllowThreads(__tstate);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 }
6144 resultobj = SWIG_FromInt((int)result);
6145 return resultobj;
6146 fail:
6147 return NULL;
6148 }
6149
6150
6151 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6152 PyObject *resultobj;
6153 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6154 int arg2 ;
6155 int arg3 ;
6156 int arg4 = (int) 5 ;
6157 bool result;
6158 PyObject * obj0 = 0 ;
6159 PyObject * obj1 = 0 ;
6160 PyObject * obj2 = 0 ;
6161 PyObject * obj3 = 0 ;
6162 char *kwnames[] = {
6163 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6164 };
6165
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6169 arg2 = (int) SWIG_AsInt(obj1);
6170 if (PyErr_Occurred()) SWIG_fail;
6171 arg3 = (int) SWIG_AsInt(obj2);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 if (obj3) {
6174 arg4 = (int) SWIG_AsInt(obj3);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 {
6178 PyThreadState* __tstate = wxPyBeginAllowThreads();
6179 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6180
6181 wxPyEndAllowThreads(__tstate);
6182 if (PyErr_Occurred()) SWIG_fail;
6183 }
6184 {
6185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6186 }
6187 return resultobj;
6188 fail:
6189 return NULL;
6190 }
6191
6192
6193 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6194 PyObject *resultobj;
6195 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6196 PyObject * obj0 = 0 ;
6197 char *kwnames[] = {
6198 (char *) "self", NULL
6199 };
6200
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6204 {
6205 PyThreadState* __tstate = wxPyBeginAllowThreads();
6206 (arg1)->SizeWindows();
6207
6208 wxPyEndAllowThreads(__tstate);
6209 if (PyErr_Occurred()) SWIG_fail;
6210 }
6211 Py_INCREF(Py_None); resultobj = Py_None;
6212 return resultobj;
6213 fail:
6214 return NULL;
6215 }
6216
6217
6218 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6219 PyObject *resultobj;
6220 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6221 bool arg2 ;
6222 PyObject * obj0 = 0 ;
6223 PyObject * obj1 = 0 ;
6224 char *kwnames[] = {
6225 (char *) "self",(char *) "needUpdating", NULL
6226 };
6227
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6231 arg2 = (bool) SWIG_AsBool(obj1);
6232 if (PyErr_Occurred()) SWIG_fail;
6233 {
6234 PyThreadState* __tstate = wxPyBeginAllowThreads();
6235 (arg1)->SetNeedUpdating(arg2);
6236
6237 wxPyEndAllowThreads(__tstate);
6238 if (PyErr_Occurred()) SWIG_fail;
6239 }
6240 Py_INCREF(Py_None); resultobj = Py_None;
6241 return resultobj;
6242 fail:
6243 return NULL;
6244 }
6245
6246
6247 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6248 PyObject *resultobj;
6249 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6250 bool result;
6251 PyObject * obj0 = 0 ;
6252 char *kwnames[] = {
6253 (char *) "self", NULL
6254 };
6255
6256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6259 {
6260 PyThreadState* __tstate = wxPyBeginAllowThreads();
6261 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6262
6263 wxPyEndAllowThreads(__tstate);
6264 if (PyErr_Occurred()) SWIG_fail;
6265 }
6266 {
6267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6268 }
6269 return resultobj;
6270 fail:
6271 return NULL;
6272 }
6273
6274
6275 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6276 PyObject *obj;
6277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6278 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6279 Py_INCREF(obj);
6280 return Py_BuildValue((char *)"");
6281 }
6282 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6283 PyObject *resultobj;
6284 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6285 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6286 wxSplitterEvent *result;
6287 PyObject * obj0 = 0 ;
6288 PyObject * obj1 = 0 ;
6289 char *kwnames[] = {
6290 (char *) "type",(char *) "splitter", NULL
6291 };
6292
6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6294 if (obj0) {
6295 arg1 = (wxEventType) SWIG_AsInt(obj0);
6296 if (PyErr_Occurred()) SWIG_fail;
6297 }
6298 if (obj1) {
6299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6301 }
6302 {
6303 PyThreadState* __tstate = wxPyBeginAllowThreads();
6304 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6305
6306 wxPyEndAllowThreads(__tstate);
6307 if (PyErr_Occurred()) SWIG_fail;
6308 }
6309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6310 return resultobj;
6311 fail:
6312 return NULL;
6313 }
6314
6315
6316 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6317 PyObject *resultobj;
6318 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6319 int arg2 ;
6320 PyObject * obj0 = 0 ;
6321 PyObject * obj1 = 0 ;
6322 char *kwnames[] = {
6323 (char *) "self",(char *) "pos", NULL
6324 };
6325
6326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6329 arg2 = (int) SWIG_AsInt(obj1);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 {
6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
6333 (arg1)->SetSashPosition(arg2);
6334
6335 wxPyEndAllowThreads(__tstate);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
6338 Py_INCREF(Py_None); resultobj = Py_None;
6339 return resultobj;
6340 fail:
6341 return NULL;
6342 }
6343
6344
6345 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6346 PyObject *resultobj;
6347 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6348 int result;
6349 PyObject * obj0 = 0 ;
6350 char *kwnames[] = {
6351 (char *) "self", NULL
6352 };
6353
6354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 resultobj = SWIG_FromInt((int)result);
6365 return resultobj;
6366 fail:
6367 return NULL;
6368 }
6369
6370
6371 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6372 PyObject *resultobj;
6373 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6374 wxWindow *result;
6375 PyObject * obj0 = 0 ;
6376 char *kwnames[] = {
6377 (char *) "self", NULL
6378 };
6379
6380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 }
6390 {
6391 resultobj = wxPyMake_wxObject(result);
6392 }
6393 return resultobj;
6394 fail:
6395 return NULL;
6396 }
6397
6398
6399 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6400 PyObject *resultobj;
6401 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6402 int result;
6403 PyObject * obj0 = 0 ;
6404 char *kwnames[] = {
6405 (char *) "self", NULL
6406 };
6407
6408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6411 {
6412 PyThreadState* __tstate = wxPyBeginAllowThreads();
6413 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6414
6415 wxPyEndAllowThreads(__tstate);
6416 if (PyErr_Occurred()) SWIG_fail;
6417 }
6418 resultobj = SWIG_FromInt((int)result);
6419 return resultobj;
6420 fail:
6421 return NULL;
6422 }
6423
6424
6425 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6426 PyObject *resultobj;
6427 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6428 int result;
6429 PyObject * obj0 = 0 ;
6430 char *kwnames[] = {
6431 (char *) "self", NULL
6432 };
6433
6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6437 {
6438 PyThreadState* __tstate = wxPyBeginAllowThreads();
6439 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6440
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 resultobj = SWIG_FromInt((int)result);
6445 return resultobj;
6446 fail:
6447 return NULL;
6448 }
6449
6450
6451 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6452 PyObject *obj;
6453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6454 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6455 Py_INCREF(obj);
6456 return Py_BuildValue((char *)"");
6457 }
6458 static int _wrap_SashNameStr_set(PyObject *_val) {
6459 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6460 return 1;
6461 }
6462
6463
6464 static PyObject *_wrap_SashNameStr_get() {
6465 PyObject *pyobj;
6466
6467 {
6468 #if wxUSE_UNICODE
6469 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6470 #else
6471 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6472 #endif
6473 }
6474 return pyobj;
6475 }
6476
6477
6478 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6479 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6480 return 1;
6481 }
6482
6483
6484 static PyObject *_wrap_SashLayoutNameStr_get() {
6485 PyObject *pyobj;
6486
6487 {
6488 #if wxUSE_UNICODE
6489 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6490 #else
6491 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6492 #endif
6493 }
6494 return pyobj;
6495 }
6496
6497
6498 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6499 PyObject *resultobj;
6500 wxWindow *arg1 = (wxWindow *) 0 ;
6501 int arg2 ;
6502 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6503 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6504 wxSize const &arg4_defvalue = wxDefaultSize ;
6505 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6506 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6507 wxString const &arg6_defvalue = wxPySashNameStr ;
6508 wxString *arg6 = (wxString *) &arg6_defvalue ;
6509 wxSashWindow *result;
6510 wxPoint temp3 ;
6511 wxSize temp4 ;
6512 bool temp6 = False ;
6513 PyObject * obj0 = 0 ;
6514 PyObject * obj1 = 0 ;
6515 PyObject * obj2 = 0 ;
6516 PyObject * obj3 = 0 ;
6517 PyObject * obj4 = 0 ;
6518 PyObject * obj5 = 0 ;
6519 char *kwnames[] = {
6520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6521 };
6522
6523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6526 arg2 = (int) SWIG_AsInt(obj1);
6527 if (PyErr_Occurred()) SWIG_fail;
6528 if (obj2) {
6529 {
6530 arg3 = &temp3;
6531 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6532 }
6533 }
6534 if (obj3) {
6535 {
6536 arg4 = &temp4;
6537 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6538 }
6539 }
6540 if (obj4) {
6541 arg5 = (long) SWIG_AsLong(obj4);
6542 if (PyErr_Occurred()) SWIG_fail;
6543 }
6544 if (obj5) {
6545 {
6546 arg6 = wxString_in_helper(obj5);
6547 if (arg6 == NULL) SWIG_fail;
6548 temp6 = True;
6549 }
6550 }
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6554
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6559 {
6560 if (temp6)
6561 delete arg6;
6562 }
6563 return resultobj;
6564 fail:
6565 {
6566 if (temp6)
6567 delete arg6;
6568 }
6569 return NULL;
6570 }
6571
6572
6573 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6574 PyObject *resultobj;
6575 wxSashWindow *result;
6576 char *kwnames[] = {
6577 NULL
6578 };
6579
6580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6581 {
6582 PyThreadState* __tstate = wxPyBeginAllowThreads();
6583 result = (wxSashWindow *)new wxSashWindow();
6584
6585 wxPyEndAllowThreads(__tstate);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
6588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6589 return resultobj;
6590 fail:
6591 return NULL;
6592 }
6593
6594
6595 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6596 PyObject *resultobj;
6597 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6598 wxWindow *arg2 = (wxWindow *) 0 ;
6599 int arg3 ;
6600 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6601 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6602 wxSize const &arg5_defvalue = wxDefaultSize ;
6603 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6604 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6605 wxString const &arg7_defvalue = wxPySashNameStr ;
6606 wxString *arg7 = (wxString *) &arg7_defvalue ;
6607 bool result;
6608 wxPoint temp4 ;
6609 wxSize temp5 ;
6610 bool temp7 = False ;
6611 PyObject * obj0 = 0 ;
6612 PyObject * obj1 = 0 ;
6613 PyObject * obj2 = 0 ;
6614 PyObject * obj3 = 0 ;
6615 PyObject * obj4 = 0 ;
6616 PyObject * obj5 = 0 ;
6617 PyObject * obj6 = 0 ;
6618 char *kwnames[] = {
6619 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6620 };
6621
6622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6627 arg3 = (int) SWIG_AsInt(obj2);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 if (obj3) {
6630 {
6631 arg4 = &temp4;
6632 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6633 }
6634 }
6635 if (obj4) {
6636 {
6637 arg5 = &temp5;
6638 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6639 }
6640 }
6641 if (obj5) {
6642 arg6 = (long) SWIG_AsLong(obj5);
6643 if (PyErr_Occurred()) SWIG_fail;
6644 }
6645 if (obj6) {
6646 {
6647 arg7 = wxString_in_helper(obj6);
6648 if (arg7 == NULL) SWIG_fail;
6649 temp7 = True;
6650 }
6651 }
6652 {
6653 PyThreadState* __tstate = wxPyBeginAllowThreads();
6654 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6655
6656 wxPyEndAllowThreads(__tstate);
6657 if (PyErr_Occurred()) SWIG_fail;
6658 }
6659 {
6660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6661 }
6662 {
6663 if (temp7)
6664 delete arg7;
6665 }
6666 return resultobj;
6667 fail:
6668 {
6669 if (temp7)
6670 delete arg7;
6671 }
6672 return NULL;
6673 }
6674
6675
6676 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6677 PyObject *resultobj;
6678 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6679 int arg2 ;
6680 bool arg3 ;
6681 PyObject * obj0 = 0 ;
6682 PyObject * obj1 = 0 ;
6683 PyObject * obj2 = 0 ;
6684 char *kwnames[] = {
6685 (char *) "self",(char *) "edge",(char *) "sash", NULL
6686 };
6687
6688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6691 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 arg3 = (bool) SWIG_AsBool(obj2);
6694 if (PyErr_Occurred()) SWIG_fail;
6695 {
6696 PyThreadState* __tstate = wxPyBeginAllowThreads();
6697 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6698
6699 wxPyEndAllowThreads(__tstate);
6700 if (PyErr_Occurred()) SWIG_fail;
6701 }
6702 Py_INCREF(Py_None); resultobj = Py_None;
6703 return resultobj;
6704 fail:
6705 return NULL;
6706 }
6707
6708
6709 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6710 PyObject *resultobj;
6711 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6712 int arg2 ;
6713 bool result;
6714 PyObject * obj0 = 0 ;
6715 PyObject * obj1 = 0 ;
6716 char *kwnames[] = {
6717 (char *) "self",(char *) "edge", NULL
6718 };
6719
6720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6723 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 {
6733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6734 }
6735 return resultobj;
6736 fail:
6737 return NULL;
6738 }
6739
6740
6741 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj;
6743 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6744 int arg2 ;
6745 bool arg3 ;
6746 PyObject * obj0 = 0 ;
6747 PyObject * obj1 = 0 ;
6748 PyObject * obj2 = 0 ;
6749 char *kwnames[] = {
6750 (char *) "self",(char *) "edge",(char *) "border", NULL
6751 };
6752
6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6756 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6757 if (PyErr_Occurred()) SWIG_fail;
6758 arg3 = (bool) SWIG_AsBool(obj2);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 Py_INCREF(Py_None); resultobj = Py_None;
6768 return resultobj;
6769 fail:
6770 return NULL;
6771 }
6772
6773
6774 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6777 int arg2 ;
6778 bool result;
6779 PyObject * obj0 = 0 ;
6780 PyObject * obj1 = 0 ;
6781 char *kwnames[] = {
6782 (char *) "self",(char *) "edge", NULL
6783 };
6784
6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6788 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 {
6798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6799 }
6800 return resultobj;
6801 fail:
6802 return NULL;
6803 }
6804
6805
6806 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6807 PyObject *resultobj;
6808 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6809 int arg2 ;
6810 int result;
6811 PyObject * obj0 = 0 ;
6812 PyObject * obj1 = 0 ;
6813 char *kwnames[] = {
6814 (char *) "self",(char *) "edge", NULL
6815 };
6816
6817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6820 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 {
6823 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6825
6826 wxPyEndAllowThreads(__tstate);
6827 if (PyErr_Occurred()) SWIG_fail;
6828 }
6829 resultobj = SWIG_FromInt((int)result);
6830 return resultobj;
6831 fail:
6832 return NULL;
6833 }
6834
6835
6836 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6837 PyObject *resultobj;
6838 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6839 int arg2 ;
6840 PyObject * obj0 = 0 ;
6841 PyObject * obj1 = 0 ;
6842 char *kwnames[] = {
6843 (char *) "self",(char *) "width", NULL
6844 };
6845
6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6849 arg2 = (int) SWIG_AsInt(obj1);
6850 if (PyErr_Occurred()) SWIG_fail;
6851 {
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 (arg1)->SetDefaultBorderSize(arg2);
6854
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 Py_INCREF(Py_None); resultobj = Py_None;
6859 return resultobj;
6860 fail:
6861 return NULL;
6862 }
6863
6864
6865 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6866 PyObject *resultobj;
6867 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6868 int result;
6869 PyObject * obj0 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "self", NULL
6872 };
6873
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 resultobj = SWIG_FromInt((int)result);
6885 return resultobj;
6886 fail:
6887 return NULL;
6888 }
6889
6890
6891 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6892 PyObject *resultobj;
6893 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6894 int arg2 ;
6895 PyObject * obj0 = 0 ;
6896 PyObject * obj1 = 0 ;
6897 char *kwnames[] = {
6898 (char *) "self",(char *) "width", NULL
6899 };
6900
6901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6904 arg2 = (int) SWIG_AsInt(obj1);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 (arg1)->SetExtraBorderSize(arg2);
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 Py_INCREF(Py_None); resultobj = Py_None;
6914 return resultobj;
6915 fail:
6916 return NULL;
6917 }
6918
6919
6920 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6921 PyObject *resultobj;
6922 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6923 int result;
6924 PyObject * obj0 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6932 {
6933 PyThreadState* __tstate = wxPyBeginAllowThreads();
6934 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6935
6936 wxPyEndAllowThreads(__tstate);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 }
6939 resultobj = SWIG_FromInt((int)result);
6940 return resultobj;
6941 fail:
6942 return NULL;
6943 }
6944
6945
6946 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6947 PyObject *resultobj;
6948 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6949 int arg2 ;
6950 PyObject * obj0 = 0 ;
6951 PyObject * obj1 = 0 ;
6952 char *kwnames[] = {
6953 (char *) "self",(char *) "min", NULL
6954 };
6955
6956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6959 arg2 = (int) SWIG_AsInt(obj1);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 (arg1)->SetMinimumSizeX(arg2);
6964
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
6968 Py_INCREF(Py_None); resultobj = Py_None;
6969 return resultobj;
6970 fail:
6971 return NULL;
6972 }
6973
6974
6975 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6976 PyObject *resultobj;
6977 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6978 int arg2 ;
6979 PyObject * obj0 = 0 ;
6980 PyObject * obj1 = 0 ;
6981 char *kwnames[] = {
6982 (char *) "self",(char *) "min", NULL
6983 };
6984
6985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6988 arg2 = (int) SWIG_AsInt(obj1);
6989 if (PyErr_Occurred()) SWIG_fail;
6990 {
6991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6992 (arg1)->SetMinimumSizeY(arg2);
6993
6994 wxPyEndAllowThreads(__tstate);
6995 if (PyErr_Occurred()) SWIG_fail;
6996 }
6997 Py_INCREF(Py_None); resultobj = Py_None;
6998 return resultobj;
6999 fail:
7000 return NULL;
7001 }
7002
7003
7004 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7005 PyObject *resultobj;
7006 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7007 int result;
7008 PyObject * obj0 = 0 ;
7009 char *kwnames[] = {
7010 (char *) "self", NULL
7011 };
7012
7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7016 {
7017 PyThreadState* __tstate = wxPyBeginAllowThreads();
7018 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7019
7020 wxPyEndAllowThreads(__tstate);
7021 if (PyErr_Occurred()) SWIG_fail;
7022 }
7023 resultobj = SWIG_FromInt((int)result);
7024 return resultobj;
7025 fail:
7026 return NULL;
7027 }
7028
7029
7030 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7031 PyObject *resultobj;
7032 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7033 int result;
7034 PyObject * obj0 = 0 ;
7035 char *kwnames[] = {
7036 (char *) "self", NULL
7037 };
7038
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 resultobj = SWIG_FromInt((int)result);
7050 return resultobj;
7051 fail:
7052 return NULL;
7053 }
7054
7055
7056 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj;
7058 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7059 int arg2 ;
7060 PyObject * obj0 = 0 ;
7061 PyObject * obj1 = 0 ;
7062 char *kwnames[] = {
7063 (char *) "self",(char *) "max", NULL
7064 };
7065
7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7069 arg2 = (int) SWIG_AsInt(obj1);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 (arg1)->SetMaximumSizeX(arg2);
7074
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 Py_INCREF(Py_None); resultobj = Py_None;
7079 return resultobj;
7080 fail:
7081 return NULL;
7082 }
7083
7084
7085 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7086 PyObject *resultobj;
7087 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7088 int arg2 ;
7089 PyObject * obj0 = 0 ;
7090 PyObject * obj1 = 0 ;
7091 char *kwnames[] = {
7092 (char *) "self",(char *) "max", NULL
7093 };
7094
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7098 arg2 = (int) SWIG_AsInt(obj1);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 (arg1)->SetMaximumSizeY(arg2);
7103
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 Py_INCREF(Py_None); resultobj = Py_None;
7108 return resultobj;
7109 fail:
7110 return NULL;
7111 }
7112
7113
7114 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj;
7116 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7117 int result;
7118 PyObject * obj0 = 0 ;
7119 char *kwnames[] = {
7120 (char *) "self", NULL
7121 };
7122
7123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7126 {
7127 PyThreadState* __tstate = wxPyBeginAllowThreads();
7128 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7129
7130 wxPyEndAllowThreads(__tstate);
7131 if (PyErr_Occurred()) SWIG_fail;
7132 }
7133 resultobj = SWIG_FromInt((int)result);
7134 return resultobj;
7135 fail:
7136 return NULL;
7137 }
7138
7139
7140 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7141 PyObject *resultobj;
7142 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7143 int result;
7144 PyObject * obj0 = 0 ;
7145 char *kwnames[] = {
7146 (char *) "self", NULL
7147 };
7148
7149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 resultobj = SWIG_FromInt((int)result);
7160 return resultobj;
7161 fail:
7162 return NULL;
7163 }
7164
7165
7166 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7167 PyObject *resultobj;
7168 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7169 int arg2 ;
7170 int arg3 ;
7171 int arg4 = (int) 2 ;
7172 int result;
7173 PyObject * obj0 = 0 ;
7174 PyObject * obj1 = 0 ;
7175 PyObject * obj2 = 0 ;
7176 PyObject * obj3 = 0 ;
7177 char *kwnames[] = {
7178 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7179 };
7180
7181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7184 arg2 = (int) SWIG_AsInt(obj1);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 arg3 = (int) SWIG_AsInt(obj2);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 if (obj3) {
7189 arg4 = (int) SWIG_AsInt(obj3);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 {
7193 PyThreadState* __tstate = wxPyBeginAllowThreads();
7194 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7195
7196 wxPyEndAllowThreads(__tstate);
7197 if (PyErr_Occurred()) SWIG_fail;
7198 }
7199 resultobj = SWIG_FromInt((int)result);
7200 return resultobj;
7201 fail:
7202 return NULL;
7203 }
7204
7205
7206 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7207 PyObject *resultobj;
7208 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7209 PyObject * obj0 = 0 ;
7210 char *kwnames[] = {
7211 (char *) "self", NULL
7212 };
7213
7214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7217 {
7218 PyThreadState* __tstate = wxPyBeginAllowThreads();
7219 (arg1)->SizeWindows();
7220
7221 wxPyEndAllowThreads(__tstate);
7222 if (PyErr_Occurred()) SWIG_fail;
7223 }
7224 Py_INCREF(Py_None); resultobj = Py_None;
7225 return resultobj;
7226 fail:
7227 return NULL;
7228 }
7229
7230
7231 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7232 PyObject *obj;
7233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7234 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7235 Py_INCREF(obj);
7236 return Py_BuildValue((char *)"");
7237 }
7238 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7239 PyObject *resultobj;
7240 int arg1 = (int) 0 ;
7241 int arg2 = (int) wxSASH_NONE ;
7242 wxSashEvent *result;
7243 PyObject * obj0 = 0 ;
7244 PyObject * obj1 = 0 ;
7245 char *kwnames[] = {
7246 (char *) "id",(char *) "edge", NULL
7247 };
7248
7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7250 if (obj0) {
7251 arg1 = (int) SWIG_AsInt(obj0);
7252 if (PyErr_Occurred()) SWIG_fail;
7253 }
7254 if (obj1) {
7255 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7256 if (PyErr_Occurred()) SWIG_fail;
7257 }
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7261
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7266 return resultobj;
7267 fail:
7268 return NULL;
7269 }
7270
7271
7272 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7273 PyObject *resultobj;
7274 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7275 int arg2 ;
7276 PyObject * obj0 = 0 ;
7277 PyObject * obj1 = 0 ;
7278 char *kwnames[] = {
7279 (char *) "self",(char *) "edge", NULL
7280 };
7281
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7285 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 Py_INCREF(Py_None); resultobj = Py_None;
7295 return resultobj;
7296 fail:
7297 return NULL;
7298 }
7299
7300
7301 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7304 int result;
7305 PyObject * obj0 = 0 ;
7306 char *kwnames[] = {
7307 (char *) "self", NULL
7308 };
7309
7310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7313 {
7314 PyThreadState* __tstate = wxPyBeginAllowThreads();
7315 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7316
7317 wxPyEndAllowThreads(__tstate);
7318 if (PyErr_Occurred()) SWIG_fail;
7319 }
7320 resultobj = SWIG_FromInt((int)result);
7321 return resultobj;
7322 fail:
7323 return NULL;
7324 }
7325
7326
7327 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7328 PyObject *resultobj;
7329 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7330 wxRect *arg2 = 0 ;
7331 wxRect temp2 ;
7332 PyObject * obj0 = 0 ;
7333 PyObject * obj1 = 0 ;
7334 char *kwnames[] = {
7335 (char *) "self",(char *) "rect", NULL
7336 };
7337
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7341 {
7342 arg2 = &temp2;
7343 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7344 }
7345 {
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7347 (arg1)->SetDragRect((wxRect const &)*arg2);
7348
7349 wxPyEndAllowThreads(__tstate);
7350 if (PyErr_Occurred()) SWIG_fail;
7351 }
7352 Py_INCREF(Py_None); resultobj = Py_None;
7353 return resultobj;
7354 fail:
7355 return NULL;
7356 }
7357
7358
7359 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7360 PyObject *resultobj;
7361 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7362 wxRect result;
7363 PyObject * obj0 = 0 ;
7364 char *kwnames[] = {
7365 (char *) "self", NULL
7366 };
7367
7368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7371 {
7372 PyThreadState* __tstate = wxPyBeginAllowThreads();
7373 result = ((wxSashEvent const *)arg1)->GetDragRect();
7374
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
7378 {
7379 wxRect * resultptr;
7380 resultptr = new wxRect((wxRect &) result);
7381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7382 }
7383 return resultobj;
7384 fail:
7385 return NULL;
7386 }
7387
7388
7389 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7390 PyObject *resultobj;
7391 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7392 int arg2 ;
7393 PyObject * obj0 = 0 ;
7394 PyObject * obj1 = 0 ;
7395 char *kwnames[] = {
7396 (char *) "self",(char *) "status", NULL
7397 };
7398
7399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7402 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 {
7405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7406 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7407
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 Py_INCREF(Py_None); resultobj = Py_None;
7412 return resultobj;
7413 fail:
7414 return NULL;
7415 }
7416
7417
7418 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7419 PyObject *resultobj;
7420 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7421 int result;
7422 PyObject * obj0 = 0 ;
7423 char *kwnames[] = {
7424 (char *) "self", NULL
7425 };
7426
7427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7433
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
7437 resultobj = SWIG_FromInt((int)result);
7438 return resultobj;
7439 fail:
7440 return NULL;
7441 }
7442
7443
7444 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7445 PyObject *obj;
7446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7447 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7448 Py_INCREF(obj);
7449 return Py_BuildValue((char *)"");
7450 }
7451 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7452 PyObject *resultobj;
7453 int arg1 = (int) 0 ;
7454 wxQueryLayoutInfoEvent *result;
7455 PyObject * obj0 = 0 ;
7456 char *kwnames[] = {
7457 (char *) "id", NULL
7458 };
7459
7460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7461 if (obj0) {
7462 arg1 = (int) SWIG_AsInt(obj0);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 {
7466 PyThreadState* __tstate = wxPyBeginAllowThreads();
7467 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7468
7469 wxPyEndAllowThreads(__tstate);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 }
7472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7473 return resultobj;
7474 fail:
7475 return NULL;
7476 }
7477
7478
7479 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7480 PyObject *resultobj;
7481 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7482 int arg2 ;
7483 PyObject * obj0 = 0 ;
7484 PyObject * obj1 = 0 ;
7485 char *kwnames[] = {
7486 (char *) "self",(char *) "length", NULL
7487 };
7488
7489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7492 arg2 = (int) SWIG_AsInt(obj1);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 {
7495 PyThreadState* __tstate = wxPyBeginAllowThreads();
7496 (arg1)->SetRequestedLength(arg2);
7497
7498 wxPyEndAllowThreads(__tstate);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
7501 Py_INCREF(Py_None); resultobj = Py_None;
7502 return resultobj;
7503 fail:
7504 return NULL;
7505 }
7506
7507
7508 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7509 PyObject *resultobj;
7510 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7511 int result;
7512 PyObject * obj0 = 0 ;
7513 char *kwnames[] = {
7514 (char *) "self", NULL
7515 };
7516
7517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7520 {
7521 PyThreadState* __tstate = wxPyBeginAllowThreads();
7522 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7523
7524 wxPyEndAllowThreads(__tstate);
7525 if (PyErr_Occurred()) SWIG_fail;
7526 }
7527 resultobj = SWIG_FromInt((int)result);
7528 return resultobj;
7529 fail:
7530 return NULL;
7531 }
7532
7533
7534 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7535 PyObject *resultobj;
7536 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7537 int arg2 ;
7538 PyObject * obj0 = 0 ;
7539 PyObject * obj1 = 0 ;
7540 char *kwnames[] = {
7541 (char *) "self",(char *) "flags", NULL
7542 };
7543
7544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7547 arg2 = (int) SWIG_AsInt(obj1);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 {
7550 PyThreadState* __tstate = wxPyBeginAllowThreads();
7551 (arg1)->SetFlags(arg2);
7552
7553 wxPyEndAllowThreads(__tstate);
7554 if (PyErr_Occurred()) SWIG_fail;
7555 }
7556 Py_INCREF(Py_None); resultobj = Py_None;
7557 return resultobj;
7558 fail:
7559 return NULL;
7560 }
7561
7562
7563 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7564 PyObject *resultobj;
7565 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7566 int result;
7567 PyObject * obj0 = 0 ;
7568 char *kwnames[] = {
7569 (char *) "self", NULL
7570 };
7571
7572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7575 {
7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
7577 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7578
7579 wxPyEndAllowThreads(__tstate);
7580 if (PyErr_Occurred()) SWIG_fail;
7581 }
7582 resultobj = SWIG_FromInt((int)result);
7583 return resultobj;
7584 fail:
7585 return NULL;
7586 }
7587
7588
7589 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7590 PyObject *resultobj;
7591 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7592 wxSize *arg2 = 0 ;
7593 wxSize temp2 ;
7594 PyObject * obj0 = 0 ;
7595 PyObject * obj1 = 0 ;
7596 char *kwnames[] = {
7597 (char *) "self",(char *) "size", NULL
7598 };
7599
7600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7603 {
7604 arg2 = &temp2;
7605 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7606 }
7607 {
7608 PyThreadState* __tstate = wxPyBeginAllowThreads();
7609 (arg1)->SetSize((wxSize const &)*arg2);
7610
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 Py_INCREF(Py_None); resultobj = Py_None;
7615 return resultobj;
7616 fail:
7617 return NULL;
7618 }
7619
7620
7621 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7622 PyObject *resultobj;
7623 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7624 wxSize result;
7625 PyObject * obj0 = 0 ;
7626 char *kwnames[] = {
7627 (char *) "self", NULL
7628 };
7629
7630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7633 {
7634 PyThreadState* __tstate = wxPyBeginAllowThreads();
7635 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7636
7637 wxPyEndAllowThreads(__tstate);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 {
7641 wxSize * resultptr;
7642 resultptr = new wxSize((wxSize &) result);
7643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7644 }
7645 return resultobj;
7646 fail:
7647 return NULL;
7648 }
7649
7650
7651 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7652 PyObject *resultobj;
7653 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7654 int arg2 ;
7655 PyObject * obj0 = 0 ;
7656 PyObject * obj1 = 0 ;
7657 char *kwnames[] = {
7658 (char *) "self",(char *) "orient", NULL
7659 };
7660
7661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7664 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 {
7667 PyThreadState* __tstate = wxPyBeginAllowThreads();
7668 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7669
7670 wxPyEndAllowThreads(__tstate);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 }
7673 Py_INCREF(Py_None); resultobj = Py_None;
7674 return resultobj;
7675 fail:
7676 return NULL;
7677 }
7678
7679
7680 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7681 PyObject *resultobj;
7682 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7683 int result;
7684 PyObject * obj0 = 0 ;
7685 char *kwnames[] = {
7686 (char *) "self", NULL
7687 };
7688
7689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7692 {
7693 PyThreadState* __tstate = wxPyBeginAllowThreads();
7694 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7695
7696 wxPyEndAllowThreads(__tstate);
7697 if (PyErr_Occurred()) SWIG_fail;
7698 }
7699 resultobj = SWIG_FromInt((int)result);
7700 return resultobj;
7701 fail:
7702 return NULL;
7703 }
7704
7705
7706 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7707 PyObject *resultobj;
7708 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7709 int arg2 ;
7710 PyObject * obj0 = 0 ;
7711 PyObject * obj1 = 0 ;
7712 char *kwnames[] = {
7713 (char *) "self",(char *) "align", NULL
7714 };
7715
7716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7719 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7720 if (PyErr_Occurred()) SWIG_fail;
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7724
7725 wxPyEndAllowThreads(__tstate);
7726 if (PyErr_Occurred()) SWIG_fail;
7727 }
7728 Py_INCREF(Py_None); resultobj = Py_None;
7729 return resultobj;
7730 fail:
7731 return NULL;
7732 }
7733
7734
7735 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7736 PyObject *resultobj;
7737 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7738 int result;
7739 PyObject * obj0 = 0 ;
7740 char *kwnames[] = {
7741 (char *) "self", NULL
7742 };
7743
7744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7749 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7750
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
7754 resultobj = SWIG_FromInt((int)result);
7755 return resultobj;
7756 fail:
7757 return NULL;
7758 }
7759
7760
7761 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7762 PyObject *obj;
7763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7764 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7765 Py_INCREF(obj);
7766 return Py_BuildValue((char *)"");
7767 }
7768 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7769 PyObject *resultobj;
7770 int arg1 = (int) 0 ;
7771 wxCalculateLayoutEvent *result;
7772 PyObject * obj0 = 0 ;
7773 char *kwnames[] = {
7774 (char *) "id", NULL
7775 };
7776
7777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7778 if (obj0) {
7779 arg1 = (int) SWIG_AsInt(obj0);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
7782 {
7783 PyThreadState* __tstate = wxPyBeginAllowThreads();
7784 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7785
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7790 return resultobj;
7791 fail:
7792 return NULL;
7793 }
7794
7795
7796 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7797 PyObject *resultobj;
7798 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7799 int arg2 ;
7800 PyObject * obj0 = 0 ;
7801 PyObject * obj1 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self",(char *) "flags", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7809 arg2 = (int) SWIG_AsInt(obj1);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 (arg1)->SetFlags(arg2);
7814
7815 wxPyEndAllowThreads(__tstate);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 Py_INCREF(Py_None); resultobj = Py_None;
7819 return resultobj;
7820 fail:
7821 return NULL;
7822 }
7823
7824
7825 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7826 PyObject *resultobj;
7827 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7828 int result;
7829 PyObject * obj0 = 0 ;
7830 char *kwnames[] = {
7831 (char *) "self", NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7837 {
7838 PyThreadState* __tstate = wxPyBeginAllowThreads();
7839 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7840
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 resultobj = SWIG_FromInt((int)result);
7845 return resultobj;
7846 fail:
7847 return NULL;
7848 }
7849
7850
7851 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj;
7853 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7854 wxRect *arg2 = 0 ;
7855 wxRect temp2 ;
7856 PyObject * obj0 = 0 ;
7857 PyObject * obj1 = 0 ;
7858 char *kwnames[] = {
7859 (char *) "self",(char *) "rect", NULL
7860 };
7861
7862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7865 {
7866 arg2 = &temp2;
7867 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7868 }
7869 {
7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
7871 (arg1)->SetRect((wxRect const &)*arg2);
7872
7873 wxPyEndAllowThreads(__tstate);
7874 if (PyErr_Occurred()) SWIG_fail;
7875 }
7876 Py_INCREF(Py_None); resultobj = Py_None;
7877 return resultobj;
7878 fail:
7879 return NULL;
7880 }
7881
7882
7883 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7884 PyObject *resultobj;
7885 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7886 wxRect result;
7887 PyObject * obj0 = 0 ;
7888 char *kwnames[] = {
7889 (char *) "self", NULL
7890 };
7891
7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7895 {
7896 PyThreadState* __tstate = wxPyBeginAllowThreads();
7897 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7898
7899 wxPyEndAllowThreads(__tstate);
7900 if (PyErr_Occurred()) SWIG_fail;
7901 }
7902 {
7903 wxRect * resultptr;
7904 resultptr = new wxRect((wxRect &) result);
7905 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7906 }
7907 return resultobj;
7908 fail:
7909 return NULL;
7910 }
7911
7912
7913 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7914 PyObject *obj;
7915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7916 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7917 Py_INCREF(obj);
7918 return Py_BuildValue((char *)"");
7919 }
7920 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7921 PyObject *resultobj;
7922 wxWindow *arg1 = (wxWindow *) 0 ;
7923 int arg2 ;
7924 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7925 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7926 wxSize const &arg4_defvalue = wxDefaultSize ;
7927 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7928 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7929 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7930 wxString *arg6 = (wxString *) &arg6_defvalue ;
7931 wxSashLayoutWindow *result;
7932 wxPoint temp3 ;
7933 wxSize temp4 ;
7934 bool temp6 = False ;
7935 PyObject * obj0 = 0 ;
7936 PyObject * obj1 = 0 ;
7937 PyObject * obj2 = 0 ;
7938 PyObject * obj3 = 0 ;
7939 PyObject * obj4 = 0 ;
7940 PyObject * obj5 = 0 ;
7941 char *kwnames[] = {
7942 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7943 };
7944
7945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7948 arg2 = (int) SWIG_AsInt(obj1);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 if (obj2) {
7951 {
7952 arg3 = &temp3;
7953 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7954 }
7955 }
7956 if (obj3) {
7957 {
7958 arg4 = &temp4;
7959 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7960 }
7961 }
7962 if (obj4) {
7963 arg5 = (long) SWIG_AsLong(obj4);
7964 if (PyErr_Occurred()) SWIG_fail;
7965 }
7966 if (obj5) {
7967 {
7968 arg6 = wxString_in_helper(obj5);
7969 if (arg6 == NULL) SWIG_fail;
7970 temp6 = True;
7971 }
7972 }
7973 {
7974 PyThreadState* __tstate = wxPyBeginAllowThreads();
7975 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7976
7977 wxPyEndAllowThreads(__tstate);
7978 if (PyErr_Occurred()) SWIG_fail;
7979 }
7980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7981 {
7982 if (temp6)
7983 delete arg6;
7984 }
7985 return resultobj;
7986 fail:
7987 {
7988 if (temp6)
7989 delete arg6;
7990 }
7991 return NULL;
7992 }
7993
7994
7995 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7996 PyObject *resultobj;
7997 wxSashLayoutWindow *result;
7998 char *kwnames[] = {
7999 NULL
8000 };
8001
8002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8003 {
8004 PyThreadState* __tstate = wxPyBeginAllowThreads();
8005 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8006
8007 wxPyEndAllowThreads(__tstate);
8008 if (PyErr_Occurred()) SWIG_fail;
8009 }
8010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8011 return resultobj;
8012 fail:
8013 return NULL;
8014 }
8015
8016
8017 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8018 PyObject *resultobj;
8019 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8020 wxWindow *arg2 = (wxWindow *) 0 ;
8021 int arg3 ;
8022 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8023 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8024 wxSize const &arg5_defvalue = wxDefaultSize ;
8025 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8026 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8027 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8028 wxString *arg7 = (wxString *) &arg7_defvalue ;
8029 bool result;
8030 wxPoint temp4 ;
8031 wxSize temp5 ;
8032 bool temp7 = False ;
8033 PyObject * obj0 = 0 ;
8034 PyObject * obj1 = 0 ;
8035 PyObject * obj2 = 0 ;
8036 PyObject * obj3 = 0 ;
8037 PyObject * obj4 = 0 ;
8038 PyObject * obj5 = 0 ;
8039 PyObject * obj6 = 0 ;
8040 char *kwnames[] = {
8041 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8042 };
8043
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8049 arg3 = (int) SWIG_AsInt(obj2);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 if (obj3) {
8052 {
8053 arg4 = &temp4;
8054 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8055 }
8056 }
8057 if (obj4) {
8058 {
8059 arg5 = &temp5;
8060 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8061 }
8062 }
8063 if (obj5) {
8064 arg6 = (long) SWIG_AsLong(obj5);
8065 if (PyErr_Occurred()) SWIG_fail;
8066 }
8067 if (obj6) {
8068 {
8069 arg7 = wxString_in_helper(obj6);
8070 if (arg7 == NULL) SWIG_fail;
8071 temp7 = True;
8072 }
8073 }
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 {
8082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8083 }
8084 {
8085 if (temp7)
8086 delete arg7;
8087 }
8088 return resultobj;
8089 fail:
8090 {
8091 if (temp7)
8092 delete arg7;
8093 }
8094 return NULL;
8095 }
8096
8097
8098 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8099 PyObject *resultobj;
8100 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8101 int result;
8102 PyObject * obj0 = 0 ;
8103 char *kwnames[] = {
8104 (char *) "self", NULL
8105 };
8106
8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8110 {
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
8112 result = (int)(arg1)->GetAlignment();
8113
8114 wxPyEndAllowThreads(__tstate);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 }
8117 resultobj = SWIG_FromInt((int)result);
8118 return resultobj;
8119 fail:
8120 return NULL;
8121 }
8122
8123
8124 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8125 PyObject *resultobj;
8126 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8127 int result;
8128 PyObject * obj0 = 0 ;
8129 char *kwnames[] = {
8130 (char *) "self", NULL
8131 };
8132
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 result = (int)(arg1)->GetOrientation();
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 resultobj = SWIG_FromInt((int)result);
8144 return resultobj;
8145 fail:
8146 return NULL;
8147 }
8148
8149
8150 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj;
8152 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8153 int arg2 ;
8154 PyObject * obj0 = 0 ;
8155 PyObject * obj1 = 0 ;
8156 char *kwnames[] = {
8157 (char *) "self",(char *) "alignment", NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8163 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 {
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8168
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
8172 Py_INCREF(Py_None); resultobj = Py_None;
8173 return resultobj;
8174 fail:
8175 return NULL;
8176 }
8177
8178
8179 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8180 PyObject *resultobj;
8181 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8182 wxSize *arg2 = 0 ;
8183 wxSize temp2 ;
8184 PyObject * obj0 = 0 ;
8185 PyObject * obj1 = 0 ;
8186 char *kwnames[] = {
8187 (char *) "self",(char *) "size", NULL
8188 };
8189
8190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8193 {
8194 arg2 = &temp2;
8195 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8196 }
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8200
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 Py_INCREF(Py_None); resultobj = Py_None;
8205 return resultobj;
8206 fail:
8207 return NULL;
8208 }
8209
8210
8211 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj;
8213 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8214 int arg2 ;
8215 PyObject * obj0 = 0 ;
8216 PyObject * obj1 = 0 ;
8217 char *kwnames[] = {
8218 (char *) "self",(char *) "orientation", NULL
8219 };
8220
8221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8224 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8225 if (PyErr_Occurred()) SWIG_fail;
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 Py_INCREF(Py_None); resultobj = Py_None;
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8241 PyObject *obj;
8242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8243 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8244 Py_INCREF(obj);
8245 return Py_BuildValue((char *)"");
8246 }
8247 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8248 PyObject *resultobj;
8249 wxLayoutAlgorithm *result;
8250 char *kwnames[] = {
8251 NULL
8252 };
8253
8254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8255 {
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8258
8259 wxPyEndAllowThreads(__tstate);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
8262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8263 return resultobj;
8264 fail:
8265 return NULL;
8266 }
8267
8268
8269 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8270 PyObject *resultobj;
8271 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8272 PyObject * obj0 = 0 ;
8273 char *kwnames[] = {
8274 (char *) "self", NULL
8275 };
8276
8277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8280 {
8281 PyThreadState* __tstate = wxPyBeginAllowThreads();
8282 delete arg1;
8283
8284 wxPyEndAllowThreads(__tstate);
8285 if (PyErr_Occurred()) SWIG_fail;
8286 }
8287 Py_INCREF(Py_None); resultobj = Py_None;
8288 return resultobj;
8289 fail:
8290 return NULL;
8291 }
8292
8293
8294 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8295 PyObject *resultobj;
8296 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8297 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8298 wxRect *arg3 = (wxRect *) NULL ;
8299 bool result;
8300 PyObject * obj0 = 0 ;
8301 PyObject * obj1 = 0 ;
8302 PyObject * obj2 = 0 ;
8303 char *kwnames[] = {
8304 (char *) "self",(char *) "frame",(char *) "rect", NULL
8305 };
8306
8307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8312 if (obj2) {
8313 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8315 }
8316 {
8317 PyThreadState* __tstate = wxPyBeginAllowThreads();
8318 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8319
8320 wxPyEndAllowThreads(__tstate);
8321 if (PyErr_Occurred()) SWIG_fail;
8322 }
8323 {
8324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8325 }
8326 return resultobj;
8327 fail:
8328 return NULL;
8329 }
8330
8331
8332 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8333 PyObject *resultobj;
8334 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8335 wxFrame *arg2 = (wxFrame *) 0 ;
8336 wxWindow *arg3 = (wxWindow *) NULL ;
8337 bool result;
8338 PyObject * obj0 = 0 ;
8339 PyObject * obj1 = 0 ;
8340 PyObject * obj2 = 0 ;
8341 char *kwnames[] = {
8342 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8343 };
8344
8345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8348 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8350 if (obj2) {
8351 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8353 }
8354 {
8355 PyThreadState* __tstate = wxPyBeginAllowThreads();
8356 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8357
8358 wxPyEndAllowThreads(__tstate);
8359 if (PyErr_Occurred()) SWIG_fail;
8360 }
8361 {
8362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8363 }
8364 return resultobj;
8365 fail:
8366 return NULL;
8367 }
8368
8369
8370 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8371 PyObject *resultobj;
8372 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8373 wxWindow *arg2 = (wxWindow *) 0 ;
8374 wxWindow *arg3 = (wxWindow *) NULL ;
8375 bool result;
8376 PyObject * obj0 = 0 ;
8377 PyObject * obj1 = 0 ;
8378 PyObject * obj2 = 0 ;
8379 char *kwnames[] = {
8380 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8381 };
8382
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8388 if (obj2) {
8389 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8391 }
8392 {
8393 PyThreadState* __tstate = wxPyBeginAllowThreads();
8394 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8395
8396 wxPyEndAllowThreads(__tstate);
8397 if (PyErr_Occurred()) SWIG_fail;
8398 }
8399 {
8400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8401 }
8402 return resultobj;
8403 fail:
8404 return NULL;
8405 }
8406
8407
8408 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8409 PyObject *obj;
8410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8411 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8412 Py_INCREF(obj);
8413 return Py_BuildValue((char *)"");
8414 }
8415 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8416 PyObject *resultobj;
8417 wxWindow *arg1 = (wxWindow *) 0 ;
8418 int arg2 = (int) wxBORDER_NONE ;
8419 wxPopupWindow *result;
8420 PyObject * obj0 = 0 ;
8421 PyObject * obj1 = 0 ;
8422 char *kwnames[] = {
8423 (char *) "parent",(char *) "flags", NULL
8424 };
8425
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8429 if (obj1) {
8430 arg2 = (int) SWIG_AsInt(obj1);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 }
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8441 return resultobj;
8442 fail:
8443 return NULL;
8444 }
8445
8446
8447 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxPopupWindow *result;
8450 char *kwnames[] = {
8451 NULL
8452 };
8453
8454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8455 {
8456 PyThreadState* __tstate = wxPyBeginAllowThreads();
8457 result = (wxPopupWindow *)new wxPopupWindow();
8458
8459 wxPyEndAllowThreads(__tstate);
8460 if (PyErr_Occurred()) SWIG_fail;
8461 }
8462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8463 return resultobj;
8464 fail:
8465 return NULL;
8466 }
8467
8468
8469 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8470 PyObject *resultobj;
8471 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8472 wxWindow *arg2 = (wxWindow *) 0 ;
8473 int arg3 = (int) wxBORDER_NONE ;
8474 bool result;
8475 PyObject * obj0 = 0 ;
8476 PyObject * obj1 = 0 ;
8477 PyObject * obj2 = 0 ;
8478 char *kwnames[] = {
8479 (char *) "self",(char *) "parent",(char *) "flags", NULL
8480 };
8481
8482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8485 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8487 if (obj2) {
8488 arg3 = (int) SWIG_AsInt(obj2);
8489 if (PyErr_Occurred()) SWIG_fail;
8490 }
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 result = (bool)(arg1)->Create(arg2,arg3);
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 {
8499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8500 }
8501 return resultobj;
8502 fail:
8503 return NULL;
8504 }
8505
8506
8507 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8508 PyObject *resultobj;
8509 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8510 wxPoint *arg2 = 0 ;
8511 wxSize *arg3 = 0 ;
8512 wxPoint temp2 ;
8513 wxSize temp3 ;
8514 PyObject * obj0 = 0 ;
8515 PyObject * obj1 = 0 ;
8516 PyObject * obj2 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8524 {
8525 arg2 = &temp2;
8526 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8527 }
8528 {
8529 arg3 = &temp3;
8530 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8531 }
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 Py_INCREF(Py_None); resultobj = Py_None;
8540 return resultobj;
8541 fail:
8542 return NULL;
8543 }
8544
8545
8546 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8547 PyObject *obj;
8548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8549 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8550 Py_INCREF(obj);
8551 return Py_BuildValue((char *)"");
8552 }
8553 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8554 PyObject *resultobj;
8555 wxWindow *arg1 = (wxWindow *) 0 ;
8556 int arg2 = (int) wxBORDER_NONE ;
8557 wxPyPopupTransientWindow *result;
8558 PyObject * obj0 = 0 ;
8559 PyObject * obj1 = 0 ;
8560 char *kwnames[] = {
8561 (char *) "parent",(char *) "style", NULL
8562 };
8563
8564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8567 if (obj1) {
8568 arg2 = (int) SWIG_AsInt(obj1);
8569 if (PyErr_Occurred()) SWIG_fail;
8570 }
8571 {
8572 PyThreadState* __tstate = wxPyBeginAllowThreads();
8573 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8574
8575 wxPyEndAllowThreads(__tstate);
8576 if (PyErr_Occurred()) SWIG_fail;
8577 }
8578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8579 return resultobj;
8580 fail:
8581 return NULL;
8582 }
8583
8584
8585 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8586 PyObject *resultobj;
8587 wxPyPopupTransientWindow *result;
8588 char *kwnames[] = {
8589 NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8593 {
8594 PyThreadState* __tstate = wxPyBeginAllowThreads();
8595 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8596
8597 wxPyEndAllowThreads(__tstate);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8601 return resultobj;
8602 fail:
8603 return NULL;
8604 }
8605
8606
8607 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8608 PyObject *resultobj;
8609 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8610 PyObject *arg2 = (PyObject *) 0 ;
8611 PyObject *arg3 = (PyObject *) 0 ;
8612 PyObject * obj0 = 0 ;
8613 PyObject * obj1 = 0 ;
8614 PyObject * obj2 = 0 ;
8615 char *kwnames[] = {
8616 (char *) "self",(char *) "self",(char *) "_class", NULL
8617 };
8618
8619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8622 arg2 = obj1;
8623 arg3 = obj2;
8624 {
8625 PyThreadState* __tstate = wxPyBeginAllowThreads();
8626 (arg1)->_setCallbackInfo(arg2,arg3);
8627
8628 wxPyEndAllowThreads(__tstate);
8629 if (PyErr_Occurred()) SWIG_fail;
8630 }
8631 Py_INCREF(Py_None); resultobj = Py_None;
8632 return resultobj;
8633 fail:
8634 return NULL;
8635 }
8636
8637
8638 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8639 PyObject *resultobj;
8640 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8641 wxWindow *arg2 = (wxWindow *) NULL ;
8642 PyObject * obj0 = 0 ;
8643 PyObject * obj1 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "self",(char *) "focus", NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8651 if (obj1) {
8652 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8654 }
8655 {
8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
8657 (arg1)->Popup(arg2);
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 Py_INCREF(Py_None); resultobj = Py_None;
8663 return resultobj;
8664 fail:
8665 return NULL;
8666 }
8667
8668
8669 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8670 PyObject *resultobj;
8671 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8672 PyObject * obj0 = 0 ;
8673 char *kwnames[] = {
8674 (char *) "self", NULL
8675 };
8676
8677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 (arg1)->Dismiss();
8683
8684 wxPyEndAllowThreads(__tstate);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 Py_INCREF(Py_None); resultobj = Py_None;
8688 return resultobj;
8689 fail:
8690 return NULL;
8691 }
8692
8693
8694 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8695 PyObject *obj;
8696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8697 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8698 Py_INCREF(obj);
8699 return Py_BuildValue((char *)"");
8700 }
8701 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8702 PyObject *resultobj;
8703 wxWindow *arg1 = (wxWindow *) 0 ;
8704 wxString *arg2 = 0 ;
8705 int arg3 = (int) 100 ;
8706 wxRect *arg4 = (wxRect *) NULL ;
8707 wxTipWindow *result;
8708 bool temp2 = False ;
8709 PyObject * obj0 = 0 ;
8710 PyObject * obj1 = 0 ;
8711 PyObject * obj2 = 0 ;
8712 PyObject * obj3 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8720 {
8721 arg2 = wxString_in_helper(obj1);
8722 if (arg2 == NULL) SWIG_fail;
8723 temp2 = True;
8724 }
8725 if (obj2) {
8726 arg3 = (int) SWIG_AsInt(obj2);
8727 if (PyErr_Occurred()) SWIG_fail;
8728 }
8729 if (obj3) {
8730 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8732 }
8733 {
8734 PyThreadState* __tstate = wxPyBeginAllowThreads();
8735 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8736
8737 wxPyEndAllowThreads(__tstate);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 }
8740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8741 {
8742 if (temp2)
8743 delete arg2;
8744 }
8745 return resultobj;
8746 fail:
8747 {
8748 if (temp2)
8749 delete arg2;
8750 }
8751 return NULL;
8752 }
8753
8754
8755 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8756 PyObject *resultobj;
8757 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8758 wxRect *arg2 = 0 ;
8759 wxRect temp2 ;
8760 PyObject * obj0 = 0 ;
8761 PyObject * obj1 = 0 ;
8762 char *kwnames[] = {
8763 (char *) "self",(char *) "rectBound", NULL
8764 };
8765
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8769 {
8770 arg2 = &temp2;
8771 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8772 }
8773 {
8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
8775 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8776
8777 wxPyEndAllowThreads(__tstate);
8778 if (PyErr_Occurred()) SWIG_fail;
8779 }
8780 Py_INCREF(Py_None); resultobj = Py_None;
8781 return resultobj;
8782 fail:
8783 return NULL;
8784 }
8785
8786
8787 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8788 PyObject *resultobj;
8789 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8790 PyObject * obj0 = 0 ;
8791 char *kwnames[] = {
8792 (char *) "self", NULL
8793 };
8794
8795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 (arg1)->Close();
8801
8802 wxPyEndAllowThreads(__tstate);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 Py_INCREF(Py_None); resultobj = Py_None;
8806 return resultobj;
8807 fail:
8808 return NULL;
8809 }
8810
8811
8812 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8813 PyObject *obj;
8814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8815 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8816 Py_INCREF(obj);
8817 return Py_BuildValue((char *)"");
8818 }
8819 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8820 PyObject *resultobj;
8821 wxWindow *arg1 = (wxWindow *) 0 ;
8822 int arg2 = (int) wxID_ANY ;
8823 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8824 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8825 wxSize const &arg4_defvalue = wxDefaultSize ;
8826 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8827 long arg5 = (long) 0 ;
8828 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8829 wxString *arg6 = (wxString *) &arg6_defvalue ;
8830 wxPyVScrolledWindow *result;
8831 wxPoint temp3 ;
8832 wxSize temp4 ;
8833 bool temp6 = False ;
8834 PyObject * obj0 = 0 ;
8835 PyObject * obj1 = 0 ;
8836 PyObject * obj2 = 0 ;
8837 PyObject * obj3 = 0 ;
8838 PyObject * obj4 = 0 ;
8839 PyObject * obj5 = 0 ;
8840 char *kwnames[] = {
8841 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8842 };
8843
8844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8847 if (obj1) {
8848 arg2 = (int) SWIG_AsInt(obj1);
8849 if (PyErr_Occurred()) SWIG_fail;
8850 }
8851 if (obj2) {
8852 {
8853 arg3 = &temp3;
8854 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8855 }
8856 }
8857 if (obj3) {
8858 {
8859 arg4 = &temp4;
8860 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8861 }
8862 }
8863 if (obj4) {
8864 arg5 = (long) SWIG_AsLong(obj4);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 if (obj5) {
8868 {
8869 arg6 = wxString_in_helper(obj5);
8870 if (arg6 == NULL) SWIG_fail;
8871 temp6 = True;
8872 }
8873 }
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8877
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8882 {
8883 if (temp6)
8884 delete arg6;
8885 }
8886 return resultobj;
8887 fail:
8888 {
8889 if (temp6)
8890 delete arg6;
8891 }
8892 return NULL;
8893 }
8894
8895
8896 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8897 PyObject *resultobj;
8898 wxPyVScrolledWindow *result;
8899 char *kwnames[] = {
8900 NULL
8901 };
8902
8903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
8911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8912 return resultobj;
8913 fail:
8914 return NULL;
8915 }
8916
8917
8918 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8919 PyObject *resultobj;
8920 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8921 PyObject *arg2 = (PyObject *) 0 ;
8922 PyObject *arg3 = (PyObject *) 0 ;
8923 PyObject * obj0 = 0 ;
8924 PyObject * obj1 = 0 ;
8925 PyObject * obj2 = 0 ;
8926 char *kwnames[] = {
8927 (char *) "self",(char *) "self",(char *) "_class", NULL
8928 };
8929
8930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8933 arg2 = obj1;
8934 arg3 = obj2;
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 (arg1)->_setCallbackInfo(arg2,arg3);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 Py_INCREF(Py_None); resultobj = Py_None;
8943 return resultobj;
8944 fail:
8945 return NULL;
8946 }
8947
8948
8949 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8952 wxWindow *arg2 = (wxWindow *) 0 ;
8953 int arg3 = (int) wxID_ANY ;
8954 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8955 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8956 wxSize const &arg5_defvalue = wxDefaultSize ;
8957 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8958 long arg6 = (long) 0 ;
8959 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8960 wxString *arg7 = (wxString *) &arg7_defvalue ;
8961 bool result;
8962 wxPoint temp4 ;
8963 wxSize temp5 ;
8964 bool temp7 = False ;
8965 PyObject * obj0 = 0 ;
8966 PyObject * obj1 = 0 ;
8967 PyObject * obj2 = 0 ;
8968 PyObject * obj3 = 0 ;
8969 PyObject * obj4 = 0 ;
8970 PyObject * obj5 = 0 ;
8971 PyObject * obj6 = 0 ;
8972 char *kwnames[] = {
8973 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8974 };
8975
8976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8981 if (obj2) {
8982 arg3 = (int) SWIG_AsInt(obj2);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 }
8985 if (obj3) {
8986 {
8987 arg4 = &temp4;
8988 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8989 }
8990 }
8991 if (obj4) {
8992 {
8993 arg5 = &temp5;
8994 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8995 }
8996 }
8997 if (obj5) {
8998 arg6 = (long) SWIG_AsLong(obj5);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
9001 if (obj6) {
9002 {
9003 arg7 = wxString_in_helper(obj6);
9004 if (arg7 == NULL) SWIG_fail;
9005 temp7 = True;
9006 }
9007 }
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 {
9016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9017 }
9018 {
9019 if (temp7)
9020 delete arg7;
9021 }
9022 return resultobj;
9023 fail:
9024 {
9025 if (temp7)
9026 delete arg7;
9027 }
9028 return NULL;
9029 }
9030
9031
9032 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9033 PyObject *resultobj;
9034 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9035 size_t arg2 ;
9036 PyObject * obj0 = 0 ;
9037 PyObject * obj1 = 0 ;
9038 char *kwnames[] = {
9039 (char *) "self",(char *) "count", NULL
9040 };
9041
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9045 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 (arg1)->SetLineCount(arg2);
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 Py_INCREF(Py_None); resultobj = Py_None;
9055 return resultobj;
9056 fail:
9057 return NULL;
9058 }
9059
9060
9061 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9064 size_t arg2 ;
9065 bool result;
9066 PyObject * obj0 = 0 ;
9067 PyObject * obj1 = 0 ;
9068 char *kwnames[] = {
9069 (char *) "self",(char *) "line", NULL
9070 };
9071
9072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9075 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 {
9078 PyThreadState* __tstate = wxPyBeginAllowThreads();
9079 result = (bool)(arg1)->ScrollToLine(arg2);
9080
9081 wxPyEndAllowThreads(__tstate);
9082 if (PyErr_Occurred()) SWIG_fail;
9083 }
9084 {
9085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9086 }
9087 return resultobj;
9088 fail:
9089 return NULL;
9090 }
9091
9092
9093 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9094 PyObject *resultobj;
9095 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9096 int arg2 ;
9097 bool result;
9098 PyObject * obj0 = 0 ;
9099 PyObject * obj1 = 0 ;
9100 char *kwnames[] = {
9101 (char *) "self",(char *) "lines", NULL
9102 };
9103
9104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9107 arg2 = (int) SWIG_AsInt(obj1);
9108 if (PyErr_Occurred()) SWIG_fail;
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 result = (bool)(arg1)->ScrollLines(arg2);
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 {
9117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9118 }
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9126 PyObject *resultobj;
9127 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9128 int arg2 ;
9129 bool result;
9130 PyObject * obj0 = 0 ;
9131 PyObject * obj1 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self",(char *) "pages", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9139 arg2 = (int) SWIG_AsInt(obj1);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 result = (bool)(arg1)->ScrollPages(arg2);
9144
9145 wxPyEndAllowThreads(__tstate);
9146 if (PyErr_Occurred()) SWIG_fail;
9147 }
9148 {
9149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9150 }
9151 return resultobj;
9152 fail:
9153 return NULL;
9154 }
9155
9156
9157 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9158 PyObject *resultobj;
9159 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9160 size_t arg2 ;
9161 PyObject * obj0 = 0 ;
9162 PyObject * obj1 = 0 ;
9163 char *kwnames[] = {
9164 (char *) "self",(char *) "line", NULL
9165 };
9166
9167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9170 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 (arg1)->RefreshLine(arg2);
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 Py_INCREF(Py_None); resultobj = Py_None;
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj;
9188 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9189 size_t arg2 ;
9190 size_t arg3 ;
9191 PyObject * obj0 = 0 ;
9192 PyObject * obj1 = 0 ;
9193 PyObject * obj2 = 0 ;
9194 char *kwnames[] = {
9195 (char *) "self",(char *) "from",(char *) "to", NULL
9196 };
9197
9198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9201 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 {
9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
9207 (arg1)->RefreshLines(arg2,arg3);
9208
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 Py_INCREF(Py_None); resultobj = Py_None;
9213 return resultobj;
9214 fail:
9215 return NULL;
9216 }
9217
9218
9219 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9220 PyObject *resultobj;
9221 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9222 int arg2 ;
9223 int arg3 ;
9224 int result;
9225 PyObject * obj0 = 0 ;
9226 PyObject * obj1 = 0 ;
9227 PyObject * obj2 = 0 ;
9228 char *kwnames[] = {
9229 (char *) "self",(char *) "x",(char *) "y", NULL
9230 };
9231
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9235 arg2 = (int) SWIG_AsInt(obj1);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 arg3 = (int) SWIG_AsInt(obj2);
9238 if (PyErr_Occurred()) SWIG_fail;
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9242
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) SWIG_fail;
9245 }
9246 resultobj = SWIG_FromInt((int)result);
9247 return resultobj;
9248 fail:
9249 return NULL;
9250 }
9251
9252
9253 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9254 PyObject *resultobj;
9255 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9256 wxPoint *arg2 = 0 ;
9257 int result;
9258 wxPoint temp2 ;
9259 PyObject * obj0 = 0 ;
9260 PyObject * obj1 = 0 ;
9261 char *kwnames[] = {
9262 (char *) "self",(char *) "pt", NULL
9263 };
9264
9265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9268 {
9269 arg2 = &temp2;
9270 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9271 }
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
9279 resultobj = SWIG_FromInt((int)result);
9280 return resultobj;
9281 fail:
9282 return NULL;
9283 }
9284
9285
9286 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj;
9288 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9289 PyObject * obj0 = 0 ;
9290 char *kwnames[] = {
9291 (char *) "self", NULL
9292 };
9293
9294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9297 {
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
9299 (arg1)->RefreshAll();
9300
9301 wxPyEndAllowThreads(__tstate);
9302 if (PyErr_Occurred()) SWIG_fail;
9303 }
9304 Py_INCREF(Py_None); resultobj = Py_None;
9305 return resultobj;
9306 fail:
9307 return NULL;
9308 }
9309
9310
9311 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9312 PyObject *resultobj;
9313 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9314 size_t result;
9315 PyObject * obj0 = 0 ;
9316 char *kwnames[] = {
9317 (char *) "self", NULL
9318 };
9319
9320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9323 {
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9326
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 }
9330 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9331 return resultobj;
9332 fail:
9333 return NULL;
9334 }
9335
9336
9337 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj;
9339 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9340 size_t result;
9341 PyObject * obj0 = 0 ;
9342 char *kwnames[] = {
9343 (char *) "self", NULL
9344 };
9345
9346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9352
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9357 return resultobj;
9358 fail:
9359 return NULL;
9360 }
9361
9362
9363 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj;
9365 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9366 size_t result;
9367 PyObject * obj0 = 0 ;
9368 char *kwnames[] = {
9369 (char *) "self", NULL
9370 };
9371
9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9375 {
9376 PyThreadState* __tstate = wxPyBeginAllowThreads();
9377 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9378
9379 wxPyEndAllowThreads(__tstate);
9380 if (PyErr_Occurred()) SWIG_fail;
9381 }
9382 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9383 return resultobj;
9384 fail:
9385 return NULL;
9386 }
9387
9388
9389 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9390 PyObject *resultobj;
9391 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9392 size_t arg2 ;
9393 bool result;
9394 PyObject * obj0 = 0 ;
9395 PyObject * obj1 = 0 ;
9396 char *kwnames[] = {
9397 (char *) "self",(char *) "line", NULL
9398 };
9399
9400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9403 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 {
9413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9414 }
9415 return resultobj;
9416 fail:
9417 return NULL;
9418 }
9419
9420
9421 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9422 PyObject *obj;
9423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9424 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9425 Py_INCREF(obj);
9426 return Py_BuildValue((char *)"");
9427 }
9428 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9429 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9430 return 1;
9431 }
9432
9433
9434 static PyObject *_wrap_VListBoxNameStr_get() {
9435 PyObject *pyobj;
9436
9437 {
9438 #if wxUSE_UNICODE
9439 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9440 #else
9441 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9442 #endif
9443 }
9444 return pyobj;
9445 }
9446
9447
9448 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9449 PyObject *resultobj;
9450 wxWindow *arg1 = (wxWindow *) 0 ;
9451 int arg2 = (int) wxID_ANY ;
9452 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9453 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9454 wxSize const &arg4_defvalue = wxDefaultSize ;
9455 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9456 long arg5 = (long) 0 ;
9457 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9458 wxString *arg6 = (wxString *) &arg6_defvalue ;
9459 wxPyVListBox *result;
9460 wxPoint temp3 ;
9461 wxSize temp4 ;
9462 bool temp6 = False ;
9463 PyObject * obj0 = 0 ;
9464 PyObject * obj1 = 0 ;
9465 PyObject * obj2 = 0 ;
9466 PyObject * obj3 = 0 ;
9467 PyObject * obj4 = 0 ;
9468 PyObject * obj5 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9476 if (obj1) {
9477 arg2 = (int) SWIG_AsInt(obj1);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 if (obj2) {
9481 {
9482 arg3 = &temp3;
9483 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9484 }
9485 }
9486 if (obj3) {
9487 {
9488 arg4 = &temp4;
9489 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9490 }
9491 }
9492 if (obj4) {
9493 arg5 = (long) SWIG_AsLong(obj4);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 if (obj5) {
9497 {
9498 arg6 = wxString_in_helper(obj5);
9499 if (arg6 == NULL) SWIG_fail;
9500 temp6 = True;
9501 }
9502 }
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9511 {
9512 if (temp6)
9513 delete arg6;
9514 }
9515 return resultobj;
9516 fail:
9517 {
9518 if (temp6)
9519 delete arg6;
9520 }
9521 return NULL;
9522 }
9523
9524
9525 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9526 PyObject *resultobj;
9527 wxPyVListBox *result;
9528 char *kwnames[] = {
9529 NULL
9530 };
9531
9532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 result = (wxPyVListBox *)new wxPyVListBox();
9536
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9541 return resultobj;
9542 fail:
9543 return NULL;
9544 }
9545
9546
9547 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9548 PyObject *resultobj;
9549 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9550 PyObject *arg2 = (PyObject *) 0 ;
9551 PyObject *arg3 = (PyObject *) 0 ;
9552 PyObject * obj0 = 0 ;
9553 PyObject * obj1 = 0 ;
9554 PyObject * obj2 = 0 ;
9555 char *kwnames[] = {
9556 (char *) "self",(char *) "self",(char *) "_class", NULL
9557 };
9558
9559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9562 arg2 = obj1;
9563 arg3 = obj2;
9564 {
9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
9566 (arg1)->_setCallbackInfo(arg2,arg3);
9567
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
9571 Py_INCREF(Py_None); resultobj = Py_None;
9572 return resultobj;
9573 fail:
9574 return NULL;
9575 }
9576
9577
9578 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9579 PyObject *resultobj;
9580 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9581 wxWindow *arg2 = (wxWindow *) 0 ;
9582 int arg3 = (int) wxID_ANY ;
9583 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9584 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9585 wxSize const &arg5_defvalue = wxDefaultSize ;
9586 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9587 long arg6 = (long) 0 ;
9588 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9589 wxString *arg7 = (wxString *) &arg7_defvalue ;
9590 bool result;
9591 wxPoint temp4 ;
9592 wxSize temp5 ;
9593 bool temp7 = False ;
9594 PyObject * obj0 = 0 ;
9595 PyObject * obj1 = 0 ;
9596 PyObject * obj2 = 0 ;
9597 PyObject * obj3 = 0 ;
9598 PyObject * obj4 = 0 ;
9599 PyObject * obj5 = 0 ;
9600 PyObject * obj6 = 0 ;
9601 char *kwnames[] = {
9602 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9603 };
9604
9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9608 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9610 if (obj2) {
9611 arg3 = (int) SWIG_AsInt(obj2);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 if (obj3) {
9615 {
9616 arg4 = &temp4;
9617 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9618 }
9619 }
9620 if (obj4) {
9621 {
9622 arg5 = &temp5;
9623 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9624 }
9625 }
9626 if (obj5) {
9627 arg6 = (long) SWIG_AsLong(obj5);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 }
9630 if (obj6) {
9631 {
9632 arg7 = wxString_in_helper(obj6);
9633 if (arg7 == NULL) SWIG_fail;
9634 temp7 = True;
9635 }
9636 }
9637 {
9638 PyThreadState* __tstate = wxPyBeginAllowThreads();
9639 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9640
9641 wxPyEndAllowThreads(__tstate);
9642 if (PyErr_Occurred()) SWIG_fail;
9643 }
9644 {
9645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9646 }
9647 {
9648 if (temp7)
9649 delete arg7;
9650 }
9651 return resultobj;
9652 fail:
9653 {
9654 if (temp7)
9655 delete arg7;
9656 }
9657 return NULL;
9658 }
9659
9660
9661 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj;
9663 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9664 size_t result;
9665 PyObject * obj0 = 0 ;
9666 char *kwnames[] = {
9667 (char *) "self", NULL
9668 };
9669
9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9676
9677 wxPyEndAllowThreads(__tstate);
9678 if (PyErr_Occurred()) SWIG_fail;
9679 }
9680 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9681 return resultobj;
9682 fail:
9683 return NULL;
9684 }
9685
9686
9687 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9688 PyObject *resultobj;
9689 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9690 bool result;
9691 PyObject * obj0 = 0 ;
9692 char *kwnames[] = {
9693 (char *) "self", NULL
9694 };
9695
9696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9699 {
9700 PyThreadState* __tstate = wxPyBeginAllowThreads();
9701 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9702
9703 wxPyEndAllowThreads(__tstate);
9704 if (PyErr_Occurred()) SWIG_fail;
9705 }
9706 {
9707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9708 }
9709 return resultobj;
9710 fail:
9711 return NULL;
9712 }
9713
9714
9715 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9716 PyObject *resultobj;
9717 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9718 int result;
9719 PyObject * obj0 = 0 ;
9720 char *kwnames[] = {
9721 (char *) "self", NULL
9722 };
9723
9724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9727 {
9728 PyThreadState* __tstate = wxPyBeginAllowThreads();
9729 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9730
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 resultobj = SWIG_FromInt((int)result);
9735 return resultobj;
9736 fail:
9737 return NULL;
9738 }
9739
9740
9741 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9742 PyObject *resultobj;
9743 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9744 size_t arg2 ;
9745 bool result;
9746 PyObject * obj0 = 0 ;
9747 PyObject * obj1 = 0 ;
9748 char *kwnames[] = {
9749 (char *) "self",(char *) "item", NULL
9750 };
9751
9752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9755 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 {
9758 PyThreadState* __tstate = wxPyBeginAllowThreads();
9759 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9760
9761 wxPyEndAllowThreads(__tstate);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 }
9764 {
9765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9766 }
9767 return resultobj;
9768 fail:
9769 return NULL;
9770 }
9771
9772
9773 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9774 PyObject *resultobj;
9775 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9776 size_t arg2 ;
9777 bool result;
9778 PyObject * obj0 = 0 ;
9779 PyObject * obj1 = 0 ;
9780 char *kwnames[] = {
9781 (char *) "self",(char *) "item", NULL
9782 };
9783
9784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9787 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 {
9797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9798 }
9799 return resultobj;
9800 fail:
9801 return NULL;
9802 }
9803
9804
9805 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9806 PyObject *resultobj;
9807 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9808 size_t result;
9809 PyObject * obj0 = 0 ;
9810 char *kwnames[] = {
9811 (char *) "self", NULL
9812 };
9813
9814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9817 {
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9820
9821 wxPyEndAllowThreads(__tstate);
9822 if (PyErr_Occurred()) SWIG_fail;
9823 }
9824 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9825 return resultobj;
9826 fail:
9827 return NULL;
9828 }
9829
9830
9831 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9832 PyObject *resultobj;
9833 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9834 unsigned long *arg2 = 0 ;
9835 int result;
9836 PyObject * obj0 = 0 ;
9837 PyObject * obj1 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self",(char *) "cookie", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9846 SWIG_POINTER_EXCEPTION | 0)) == -1)
9847 SWIG_fail;
9848 if (arg2 == NULL) {
9849 PyErr_SetString(PyExc_TypeError,"null reference");
9850 SWIG_fail;
9851 }
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 resultobj = SWIG_FromInt((int)result);
9860 return resultobj;
9861 fail:
9862 return NULL;
9863 }
9864
9865
9866 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9867 PyObject *resultobj;
9868 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9869 unsigned long *arg2 = 0 ;
9870 int result;
9871 PyObject * obj0 = 0 ;
9872 PyObject * obj1 = 0 ;
9873 char *kwnames[] = {
9874 (char *) "self",(char *) "cookie", NULL
9875 };
9876
9877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9881 SWIG_POINTER_EXCEPTION | 0)) == -1)
9882 SWIG_fail;
9883 if (arg2 == NULL) {
9884 PyErr_SetString(PyExc_TypeError,"null reference");
9885 SWIG_fail;
9886 }
9887 {
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
9889 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9890
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 }
9894 resultobj = SWIG_FromInt((int)result);
9895 return resultobj;
9896 fail:
9897 return NULL;
9898 }
9899
9900
9901 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9902 PyObject *resultobj;
9903 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9904 wxPoint result;
9905 PyObject * obj0 = 0 ;
9906 char *kwnames[] = {
9907 (char *) "self", NULL
9908 };
9909
9910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9913 {
9914 PyThreadState* __tstate = wxPyBeginAllowThreads();
9915 result = ((wxPyVListBox const *)arg1)->GetMargins();
9916
9917 wxPyEndAllowThreads(__tstate);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 }
9920 {
9921 wxPoint * resultptr;
9922 resultptr = new wxPoint((wxPoint &) result);
9923 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9924 }
9925 return resultobj;
9926 fail:
9927 return NULL;
9928 }
9929
9930
9931 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9932 PyObject *resultobj;
9933 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9934 wxColour *result;
9935 PyObject * obj0 = 0 ;
9936 char *kwnames[] = {
9937 (char *) "self", NULL
9938 };
9939
9940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9943 {
9944 PyThreadState* __tstate = wxPyBeginAllowThreads();
9945 {
9946 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9947 result = (wxColour *) &_result_ref;
9948 }
9949
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
9953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9954 return resultobj;
9955 fail:
9956 return NULL;
9957 }
9958
9959
9960 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9961 PyObject *resultobj;
9962 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9963 size_t arg2 ;
9964 PyObject * obj0 = 0 ;
9965 PyObject * obj1 = 0 ;
9966 char *kwnames[] = {
9967 (char *) "self",(char *) "count", NULL
9968 };
9969
9970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9973 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 (arg1)->SetItemCount(arg2);
9978
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 Py_INCREF(Py_None); resultobj = Py_None;
9983 return resultobj;
9984 fail:
9985 return NULL;
9986 }
9987
9988
9989 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj;
9991 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9992 PyObject * obj0 = 0 ;
9993 char *kwnames[] = {
9994 (char *) "self", NULL
9995 };
9996
9997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10000 {
10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
10002 (arg1)->Clear();
10003
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
10007 Py_INCREF(Py_None); resultobj = Py_None;
10008 return resultobj;
10009 fail:
10010 return NULL;
10011 }
10012
10013
10014 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10015 PyObject *resultobj;
10016 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10017 int arg2 ;
10018 PyObject * obj0 = 0 ;
10019 PyObject * obj1 = 0 ;
10020 char *kwnames[] = {
10021 (char *) "self",(char *) "selection", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10027 arg2 = (int) SWIG_AsInt(obj1);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 {
10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
10031 (arg1)->SetSelection(arg2);
10032
10033 wxPyEndAllowThreads(__tstate);
10034 if (PyErr_Occurred()) SWIG_fail;
10035 }
10036 Py_INCREF(Py_None); resultobj = Py_None;
10037 return resultobj;
10038 fail:
10039 return NULL;
10040 }
10041
10042
10043 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10044 PyObject *resultobj;
10045 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10046 size_t arg2 ;
10047 bool arg3 = (bool) True ;
10048 bool result;
10049 PyObject * obj0 = 0 ;
10050 PyObject * obj1 = 0 ;
10051 PyObject * obj2 = 0 ;
10052 char *kwnames[] = {
10053 (char *) "self",(char *) "item",(char *) "select", NULL
10054 };
10055
10056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10059 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 if (obj2) {
10062 arg3 = (bool) SWIG_AsBool(obj2);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 result = (bool)(arg1)->Select(arg2,arg3);
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 {
10073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10074 }
10075 return resultobj;
10076 fail:
10077 return NULL;
10078 }
10079
10080
10081 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10082 PyObject *resultobj;
10083 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10084 size_t arg2 ;
10085 size_t arg3 ;
10086 bool result;
10087 PyObject * obj0 = 0 ;
10088 PyObject * obj1 = 0 ;
10089 PyObject * obj2 = 0 ;
10090 char *kwnames[] = {
10091 (char *) "self",(char *) "from",(char *) "to", NULL
10092 };
10093
10094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10097 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10098 if (PyErr_Occurred()) SWIG_fail;
10099 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 result = (bool)(arg1)->SelectRange(arg2,arg3);
10104
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) SWIG_fail;
10107 }
10108 {
10109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10110 }
10111 return resultobj;
10112 fail:
10113 return NULL;
10114 }
10115
10116
10117 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10118 PyObject *resultobj;
10119 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10120 size_t arg2 ;
10121 PyObject * obj0 = 0 ;
10122 PyObject * obj1 = 0 ;
10123 char *kwnames[] = {
10124 (char *) "self",(char *) "item", NULL
10125 };
10126
10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10130 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 {
10133 PyThreadState* __tstate = wxPyBeginAllowThreads();
10134 (arg1)->Toggle(arg2);
10135
10136 wxPyEndAllowThreads(__tstate);
10137 if (PyErr_Occurred()) SWIG_fail;
10138 }
10139 Py_INCREF(Py_None); resultobj = Py_None;
10140 return resultobj;
10141 fail:
10142 return NULL;
10143 }
10144
10145
10146 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10147 PyObject *resultobj;
10148 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10149 bool result;
10150 PyObject * obj0 = 0 ;
10151 char *kwnames[] = {
10152 (char *) "self", NULL
10153 };
10154
10155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
10160 result = (bool)(arg1)->SelectAll();
10161
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) SWIG_fail;
10164 }
10165 {
10166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10167 }
10168 return resultobj;
10169 fail:
10170 return NULL;
10171 }
10172
10173
10174 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10175 PyObject *resultobj;
10176 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10177 bool result;
10178 PyObject * obj0 = 0 ;
10179 char *kwnames[] = {
10180 (char *) "self", NULL
10181 };
10182
10183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 result = (bool)(arg1)->DeselectAll();
10189
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 {
10194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10195 }
10196 return resultobj;
10197 fail:
10198 return NULL;
10199 }
10200
10201
10202 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10203 PyObject *resultobj;
10204 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10205 wxPoint *arg2 = 0 ;
10206 wxPoint temp2 ;
10207 PyObject * obj0 = 0 ;
10208 PyObject * obj1 = 0 ;
10209 char *kwnames[] = {
10210 (char *) "self",(char *) "pt", NULL
10211 };
10212
10213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10216 {
10217 arg2 = &temp2;
10218 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10219 }
10220 {
10221 PyThreadState* __tstate = wxPyBeginAllowThreads();
10222 (arg1)->SetMargins((wxPoint const &)*arg2);
10223
10224 wxPyEndAllowThreads(__tstate);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 Py_INCREF(Py_None); resultobj = Py_None;
10228 return resultobj;
10229 fail:
10230 return NULL;
10231 }
10232
10233
10234 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10235 PyObject *resultobj;
10236 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10237 int arg2 ;
10238 int arg3 ;
10239 PyObject * obj0 = 0 ;
10240 PyObject * obj1 = 0 ;
10241 PyObject * obj2 = 0 ;
10242 char *kwnames[] = {
10243 (char *) "self",(char *) "x",(char *) "y", NULL
10244 };
10245
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10249 arg2 = (int) SWIG_AsInt(obj1);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 arg3 = (int) SWIG_AsInt(obj2);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 (arg1)->SetMargins(arg2,arg3);
10256
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
10260 Py_INCREF(Py_None); resultobj = Py_None;
10261 return resultobj;
10262 fail:
10263 return NULL;
10264 }
10265
10266
10267 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject *resultobj;
10269 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10270 wxColour *arg2 = 0 ;
10271 wxColour temp2 ;
10272 PyObject * obj0 = 0 ;
10273 PyObject * obj1 = 0 ;
10274 char *kwnames[] = {
10275 (char *) "self",(char *) "col", NULL
10276 };
10277
10278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10281 {
10282 arg2 = &temp2;
10283 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10284 }
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 Py_INCREF(Py_None); resultobj = Py_None;
10293 return resultobj;
10294 fail:
10295 return NULL;
10296 }
10297
10298
10299 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10300 PyObject *obj;
10301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10302 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10303 Py_INCREF(obj);
10304 return Py_BuildValue((char *)"");
10305 }
10306 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10307 PyObject *resultobj;
10308 wxWindow *arg1 = (wxWindow *) 0 ;
10309 int arg2 = (int) wxID_ANY ;
10310 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10311 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10312 wxSize const &arg4_defvalue = wxDefaultSize ;
10313 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10314 long arg5 = (long) 0 ;
10315 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10316 wxString *arg6 = (wxString *) &arg6_defvalue ;
10317 wxPyHtmlListBox *result;
10318 wxPoint temp3 ;
10319 wxSize temp4 ;
10320 bool temp6 = False ;
10321 PyObject * obj0 = 0 ;
10322 PyObject * obj1 = 0 ;
10323 PyObject * obj2 = 0 ;
10324 PyObject * obj3 = 0 ;
10325 PyObject * obj4 = 0 ;
10326 PyObject * obj5 = 0 ;
10327 char *kwnames[] = {
10328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10329 };
10330
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10334 if (obj1) {
10335 arg2 = (int) SWIG_AsInt(obj1);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 if (obj2) {
10339 {
10340 arg3 = &temp3;
10341 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10342 }
10343 }
10344 if (obj3) {
10345 {
10346 arg4 = &temp4;
10347 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10348 }
10349 }
10350 if (obj4) {
10351 arg5 = (long) SWIG_AsLong(obj4);
10352 if (PyErr_Occurred()) SWIG_fail;
10353 }
10354 if (obj5) {
10355 {
10356 arg6 = wxString_in_helper(obj5);
10357 if (arg6 == NULL) SWIG_fail;
10358 temp6 = True;
10359 }
10360 }
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10369 {
10370 if (temp6)
10371 delete arg6;
10372 }
10373 return resultobj;
10374 fail:
10375 {
10376 if (temp6)
10377 delete arg6;
10378 }
10379 return NULL;
10380 }
10381
10382
10383 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10384 PyObject *resultobj;
10385 wxPyHtmlListBox *result;
10386 char *kwnames[] = {
10387 NULL
10388 };
10389
10390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10391 {
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10394
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10399 return resultobj;
10400 fail:
10401 return NULL;
10402 }
10403
10404
10405 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10406 PyObject *resultobj;
10407 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10408 PyObject *arg2 = (PyObject *) 0 ;
10409 PyObject *arg3 = (PyObject *) 0 ;
10410 PyObject * obj0 = 0 ;
10411 PyObject * obj1 = 0 ;
10412 PyObject * obj2 = 0 ;
10413 char *kwnames[] = {
10414 (char *) "self",(char *) "self",(char *) "_class", NULL
10415 };
10416
10417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10420 arg2 = obj1;
10421 arg3 = obj2;
10422 {
10423 PyThreadState* __tstate = wxPyBeginAllowThreads();
10424 (arg1)->_setCallbackInfo(arg2,arg3);
10425
10426 wxPyEndAllowThreads(__tstate);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
10429 Py_INCREF(Py_None); resultobj = Py_None;
10430 return resultobj;
10431 fail:
10432 return NULL;
10433 }
10434
10435
10436 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj;
10438 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10439 wxWindow *arg2 = (wxWindow *) 0 ;
10440 int arg3 = (int) wxID_ANY ;
10441 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10442 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10443 wxSize const &arg5_defvalue = wxDefaultSize ;
10444 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10445 long arg6 = (long) 0 ;
10446 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10447 wxString *arg7 = (wxString *) &arg7_defvalue ;
10448 bool result;
10449 wxPoint temp4 ;
10450 wxSize temp5 ;
10451 bool temp7 = False ;
10452 PyObject * obj0 = 0 ;
10453 PyObject * obj1 = 0 ;
10454 PyObject * obj2 = 0 ;
10455 PyObject * obj3 = 0 ;
10456 PyObject * obj4 = 0 ;
10457 PyObject * obj5 = 0 ;
10458 PyObject * obj6 = 0 ;
10459 char *kwnames[] = {
10460 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10461 };
10462
10463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10468 if (obj2) {
10469 arg3 = (int) SWIG_AsInt(obj2);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 if (obj3) {
10473 {
10474 arg4 = &temp4;
10475 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10476 }
10477 }
10478 if (obj4) {
10479 {
10480 arg5 = &temp5;
10481 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10482 }
10483 }
10484 if (obj5) {
10485 arg6 = (long) SWIG_AsLong(obj5);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 if (obj6) {
10489 {
10490 arg7 = wxString_in_helper(obj6);
10491 if (arg7 == NULL) SWIG_fail;
10492 temp7 = True;
10493 }
10494 }
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 {
10503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10504 }
10505 {
10506 if (temp7)
10507 delete arg7;
10508 }
10509 return resultobj;
10510 fail:
10511 {
10512 if (temp7)
10513 delete arg7;
10514 }
10515 return NULL;
10516 }
10517
10518
10519 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10520 PyObject *resultobj;
10521 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10522 PyObject * obj0 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 (arg1)->RefreshAll();
10533
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 Py_INCREF(Py_None); resultobj = Py_None;
10538 return resultobj;
10539 fail:
10540 return NULL;
10541 }
10542
10543
10544 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10545 PyObject *resultobj;
10546 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10547 size_t arg2 ;
10548 PyObject * obj0 = 0 ;
10549 PyObject * obj1 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self",(char *) "count", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10557 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 (arg1)->SetItemCount(arg2);
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 Py_INCREF(Py_None); resultobj = Py_None;
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10574 PyObject *obj;
10575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10576 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10577 Py_INCREF(obj);
10578 return Py_BuildValue((char *)"");
10579 }
10580 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10581 PyObject *resultobj;
10582 wxTaskBarIcon *result;
10583 char *kwnames[] = {
10584 NULL
10585 };
10586
10587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10596 return resultobj;
10597 fail:
10598 return NULL;
10599 }
10600
10601
10602 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10603 PyObject *resultobj;
10604 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10605 PyObject * obj0 = 0 ;
10606 char *kwnames[] = {
10607 (char *) "self", NULL
10608 };
10609
10610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10613 {
10614 PyThreadState* __tstate = wxPyBeginAllowThreads();
10615 delete arg1;
10616
10617 wxPyEndAllowThreads(__tstate);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 Py_INCREF(Py_None); resultobj = Py_None;
10621 return resultobj;
10622 fail:
10623 return NULL;
10624 }
10625
10626
10627 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10628 PyObject *resultobj;
10629 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10630 PyObject * obj0 = 0 ;
10631 char *kwnames[] = {
10632 (char *) "self", NULL
10633 };
10634
10635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10638 {
10639 PyThreadState* __tstate = wxPyBeginAllowThreads();
10640 wxTaskBarIcon_Destroy(arg1);
10641
10642 wxPyEndAllowThreads(__tstate);
10643 if (PyErr_Occurred()) SWIG_fail;
10644 }
10645 Py_INCREF(Py_None); resultobj = Py_None;
10646 return resultobj;
10647 fail:
10648 return NULL;
10649 }
10650
10651
10652 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10653 PyObject *resultobj;
10654 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10655 bool result;
10656 PyObject * obj0 = 0 ;
10657 char *kwnames[] = {
10658 (char *) "self", NULL
10659 };
10660
10661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10664 {
10665 PyThreadState* __tstate = wxPyBeginAllowThreads();
10666 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10667
10668 wxPyEndAllowThreads(__tstate);
10669 if (PyErr_Occurred()) SWIG_fail;
10670 }
10671 {
10672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10673 }
10674 return resultobj;
10675 fail:
10676 return NULL;
10677 }
10678
10679
10680 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj;
10682 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10683 bool result;
10684 PyObject * obj0 = 0 ;
10685 char *kwnames[] = {
10686 (char *) "self", NULL
10687 };
10688
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10692 {
10693 PyThreadState* __tstate = wxPyBeginAllowThreads();
10694 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10695
10696 wxPyEndAllowThreads(__tstate);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 }
10699 {
10700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10701 }
10702 return resultobj;
10703 fail:
10704 return NULL;
10705 }
10706
10707
10708 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10709 PyObject *resultobj;
10710 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10711 wxIcon *arg2 = 0 ;
10712 wxString const &arg3_defvalue = wxPyEmptyString ;
10713 wxString *arg3 = (wxString *) &arg3_defvalue ;
10714 bool result;
10715 bool temp3 = False ;
10716 PyObject * obj0 = 0 ;
10717 PyObject * obj1 = 0 ;
10718 PyObject * obj2 = 0 ;
10719 char *kwnames[] = {
10720 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10721 };
10722
10723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10727 SWIG_POINTER_EXCEPTION | 0)) == -1)
10728 SWIG_fail;
10729 if (arg2 == NULL) {
10730 PyErr_SetString(PyExc_TypeError,"null reference");
10731 SWIG_fail;
10732 }
10733 if (obj2) {
10734 {
10735 arg3 = wxString_in_helper(obj2);
10736 if (arg3 == NULL) SWIG_fail;
10737 temp3 = True;
10738 }
10739 }
10740 {
10741 PyThreadState* __tstate = wxPyBeginAllowThreads();
10742 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10743
10744 wxPyEndAllowThreads(__tstate);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 {
10748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10749 }
10750 {
10751 if (temp3)
10752 delete arg3;
10753 }
10754 return resultobj;
10755 fail:
10756 {
10757 if (temp3)
10758 delete arg3;
10759 }
10760 return NULL;
10761 }
10762
10763
10764 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10765 PyObject *resultobj;
10766 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10767 bool result;
10768 PyObject * obj0 = 0 ;
10769 char *kwnames[] = {
10770 (char *) "self", NULL
10771 };
10772
10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 result = (bool)(arg1)->RemoveIcon();
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 {
10784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10785 }
10786 return resultobj;
10787 fail:
10788 return NULL;
10789 }
10790
10791
10792 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10793 PyObject *resultobj;
10794 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10795 wxMenu *arg2 = (wxMenu *) 0 ;
10796 bool result;
10797 PyObject * obj0 = 0 ;
10798 PyObject * obj1 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "self",(char *) "menu", NULL
10801 };
10802
10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10808 {
10809 PyThreadState* __tstate = wxPyBeginAllowThreads();
10810 result = (bool)(arg1)->PopupMenu(arg2);
10811
10812 wxPyEndAllowThreads(__tstate);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 }
10815 {
10816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10817 }
10818 return resultobj;
10819 fail:
10820 return NULL;
10821 }
10822
10823
10824 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10825 PyObject *obj;
10826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10827 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10828 Py_INCREF(obj);
10829 return Py_BuildValue((char *)"");
10830 }
10831 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10832 PyObject *resultobj;
10833 wxEventType arg1 ;
10834 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10835 wxTaskBarIconEvent *result;
10836 PyObject * obj0 = 0 ;
10837 PyObject * obj1 = 0 ;
10838 char *kwnames[] = {
10839 (char *) "evtType",(char *) "tbIcon", NULL
10840 };
10841
10842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10843 arg1 = (wxEventType) SWIG_AsInt(obj0);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10850
10851 wxPyEndAllowThreads(__tstate);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 }
10854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10855 return resultobj;
10856 fail:
10857 return NULL;
10858 }
10859
10860
10861 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10862 PyObject *obj;
10863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10864 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10865 Py_INCREF(obj);
10866 return Py_BuildValue((char *)"");
10867 }
10868 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10869 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10870 return 1;
10871 }
10872
10873
10874 static PyObject *_wrap_FileSelectorPromptStr_get() {
10875 PyObject *pyobj;
10876
10877 {
10878 #if wxUSE_UNICODE
10879 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10880 #else
10881 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10882 #endif
10883 }
10884 return pyobj;
10885 }
10886
10887
10888 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10889 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10890 return 1;
10891 }
10892
10893
10894 static PyObject *_wrap_DirSelectorPromptStr_get() {
10895 PyObject *pyobj;
10896
10897 {
10898 #if wxUSE_UNICODE
10899 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10900 #else
10901 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10902 #endif
10903 }
10904 return pyobj;
10905 }
10906
10907
10908 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10909 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10910 return 1;
10911 }
10912
10913
10914 static PyObject *_wrap_DirDialogNameStr_get() {
10915 PyObject *pyobj;
10916
10917 {
10918 #if wxUSE_UNICODE
10919 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10920 #else
10921 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10922 #endif
10923 }
10924 return pyobj;
10925 }
10926
10927
10928 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10929 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10930 return 1;
10931 }
10932
10933
10934 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10935 PyObject *pyobj;
10936
10937 {
10938 #if wxUSE_UNICODE
10939 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10940 #else
10941 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10942 #endif
10943 }
10944 return pyobj;
10945 }
10946
10947
10948 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10949 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10950 return 1;
10951 }
10952
10953
10954 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10955 PyObject *pyobj;
10956
10957 {
10958 #if wxUSE_UNICODE
10959 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10960 #else
10961 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10962 #endif
10963 }
10964 return pyobj;
10965 }
10966
10967
10968 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10969 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10970 return 1;
10971 }
10972
10973
10974 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10975 PyObject *pyobj;
10976
10977 {
10978 #if wxUSE_UNICODE
10979 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10980 #else
10981 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10982 #endif
10983 }
10984 return pyobj;
10985 }
10986
10987
10988 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10989 PyObject *resultobj;
10990 wxColourData *result;
10991 char *kwnames[] = {
10992 NULL
10993 };
10994
10995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 result = (wxColourData *)new wxColourData();
10999
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11004 return resultobj;
11005 fail:
11006 return NULL;
11007 }
11008
11009
11010 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11011 PyObject *resultobj;
11012 wxColourData *arg1 = (wxColourData *) 0 ;
11013 PyObject * obj0 = 0 ;
11014 char *kwnames[] = {
11015 (char *) "self", NULL
11016 };
11017
11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11021 {
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 delete arg1;
11024
11025 wxPyEndAllowThreads(__tstate);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 }
11028 Py_INCREF(Py_None); resultobj = Py_None;
11029 return resultobj;
11030 fail:
11031 return NULL;
11032 }
11033
11034
11035 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11036 PyObject *resultobj;
11037 wxColourData *arg1 = (wxColourData *) 0 ;
11038 bool result;
11039 PyObject * obj0 = 0 ;
11040 char *kwnames[] = {
11041 (char *) "self", NULL
11042 };
11043
11044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11047 {
11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
11049 result = (bool)(arg1)->GetChooseFull();
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
11054 {
11055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11056 }
11057 return resultobj;
11058 fail:
11059 return NULL;
11060 }
11061
11062
11063 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11064 PyObject *resultobj;
11065 wxColourData *arg1 = (wxColourData *) 0 ;
11066 wxColour result;
11067 PyObject * obj0 = 0 ;
11068 char *kwnames[] = {
11069 (char *) "self", NULL
11070 };
11071
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11075 {
11076 PyThreadState* __tstate = wxPyBeginAllowThreads();
11077 result = (arg1)->GetColour();
11078
11079 wxPyEndAllowThreads(__tstate);
11080 if (PyErr_Occurred()) SWIG_fail;
11081 }
11082 {
11083 wxColour * resultptr;
11084 resultptr = new wxColour((wxColour &) result);
11085 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11086 }
11087 return resultobj;
11088 fail:
11089 return NULL;
11090 }
11091
11092
11093 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11094 PyObject *resultobj;
11095 wxColourData *arg1 = (wxColourData *) 0 ;
11096 int arg2 ;
11097 wxColour result;
11098 PyObject * obj0 = 0 ;
11099 PyObject * obj1 = 0 ;
11100 char *kwnames[] = {
11101 (char *) "self",(char *) "i", NULL
11102 };
11103
11104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11107 arg2 = (int) SWIG_AsInt(obj1);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 result = (arg1)->GetCustomColour(arg2);
11112
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 {
11117 wxColour * resultptr;
11118 resultptr = new wxColour((wxColour &) result);
11119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11120 }
11121 return resultobj;
11122 fail:
11123 return NULL;
11124 }
11125
11126
11127 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11128 PyObject *resultobj;
11129 wxColourData *arg1 = (wxColourData *) 0 ;
11130 int arg2 ;
11131 PyObject * obj0 = 0 ;
11132 PyObject * obj1 = 0 ;
11133 char *kwnames[] = {
11134 (char *) "self",(char *) "flag", NULL
11135 };
11136
11137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11140 arg2 = (int) SWIG_AsInt(obj1);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 {
11143 PyThreadState* __tstate = wxPyBeginAllowThreads();
11144 (arg1)->SetChooseFull(arg2);
11145
11146 wxPyEndAllowThreads(__tstate);
11147 if (PyErr_Occurred()) SWIG_fail;
11148 }
11149 Py_INCREF(Py_None); resultobj = Py_None;
11150 return resultobj;
11151 fail:
11152 return NULL;
11153 }
11154
11155
11156 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11157 PyObject *resultobj;
11158 wxColourData *arg1 = (wxColourData *) 0 ;
11159 wxColour *arg2 = 0 ;
11160 wxColour temp2 ;
11161 PyObject * obj0 = 0 ;
11162 PyObject * obj1 = 0 ;
11163 char *kwnames[] = {
11164 (char *) "self",(char *) "colour", NULL
11165 };
11166
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11170 {
11171 arg2 = &temp2;
11172 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11173 }
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 (arg1)->SetColour((wxColour const &)*arg2);
11177
11178 wxPyEndAllowThreads(__tstate);
11179 if (PyErr_Occurred()) SWIG_fail;
11180 }
11181 Py_INCREF(Py_None); resultobj = Py_None;
11182 return resultobj;
11183 fail:
11184 return NULL;
11185 }
11186
11187
11188 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11189 PyObject *resultobj;
11190 wxColourData *arg1 = (wxColourData *) 0 ;
11191 int arg2 ;
11192 wxColour *arg3 = 0 ;
11193 wxColour temp3 ;
11194 PyObject * obj0 = 0 ;
11195 PyObject * obj1 = 0 ;
11196 PyObject * obj2 = 0 ;
11197 char *kwnames[] = {
11198 (char *) "self",(char *) "i",(char *) "colour", NULL
11199 };
11200
11201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11204 arg2 = (int) SWIG_AsInt(obj1);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 {
11207 arg3 = &temp3;
11208 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11209 }
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11213
11214 wxPyEndAllowThreads(__tstate);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 }
11217 Py_INCREF(Py_None); resultobj = Py_None;
11218 return resultobj;
11219 fail:
11220 return NULL;
11221 }
11222
11223
11224 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11225 PyObject *obj;
11226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11227 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11228 Py_INCREF(obj);
11229 return Py_BuildValue((char *)"");
11230 }
11231 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11232 PyObject *resultobj;
11233 wxWindow *arg1 = (wxWindow *) 0 ;
11234 wxColourData *arg2 = (wxColourData *) NULL ;
11235 wxColourDialog *result;
11236 PyObject * obj0 = 0 ;
11237 PyObject * obj1 = 0 ;
11238 char *kwnames[] = {
11239 (char *) "parent",(char *) "data", NULL
11240 };
11241
11242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11245 if (obj1) {
11246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11248 }
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
11251 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11257 return resultobj;
11258 fail:
11259 return NULL;
11260 }
11261
11262
11263 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11264 PyObject *resultobj;
11265 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11266 wxColourData *result;
11267 PyObject * obj0 = 0 ;
11268 char *kwnames[] = {
11269 (char *) "self", NULL
11270 };
11271
11272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
11277 {
11278 wxColourData &_result_ref = (arg1)->GetColourData();
11279 result = (wxColourData *) &_result_ref;
11280 }
11281
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11286 return resultobj;
11287 fail:
11288 return NULL;
11289 }
11290
11291
11292 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11293 PyObject *obj;
11294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11295 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11296 Py_INCREF(obj);
11297 return Py_BuildValue((char *)"");
11298 }
11299 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11300 PyObject *resultobj;
11301 wxWindow *arg1 = (wxWindow *) 0 ;
11302 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11303 wxString *arg2 = (wxString *) &arg2_defvalue ;
11304 wxString const &arg3_defvalue = wxPyEmptyString ;
11305 wxString *arg3 = (wxString *) &arg3_defvalue ;
11306 long arg4 = (long) 0 ;
11307 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11308 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11309 wxSize const &arg6_defvalue = wxDefaultSize ;
11310 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11311 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11312 wxString *arg7 = (wxString *) &arg7_defvalue ;
11313 wxDirDialog *result;
11314 bool temp2 = False ;
11315 bool temp3 = False ;
11316 wxPoint temp5 ;
11317 wxSize temp6 ;
11318 bool temp7 = False ;
11319 PyObject * obj0 = 0 ;
11320 PyObject * obj1 = 0 ;
11321 PyObject * obj2 = 0 ;
11322 PyObject * obj3 = 0 ;
11323 PyObject * obj4 = 0 ;
11324 PyObject * obj5 = 0 ;
11325 PyObject * obj6 = 0 ;
11326 char *kwnames[] = {
11327 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11328 };
11329
11330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11333 if (obj1) {
11334 {
11335 arg2 = wxString_in_helper(obj1);
11336 if (arg2 == NULL) SWIG_fail;
11337 temp2 = True;
11338 }
11339 }
11340 if (obj2) {
11341 {
11342 arg3 = wxString_in_helper(obj2);
11343 if (arg3 == NULL) SWIG_fail;
11344 temp3 = True;
11345 }
11346 }
11347 if (obj3) {
11348 arg4 = (long) SWIG_AsLong(obj3);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 if (obj4) {
11352 {
11353 arg5 = &temp5;
11354 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11355 }
11356 }
11357 if (obj5) {
11358 {
11359 arg6 = &temp6;
11360 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11361 }
11362 }
11363 if (obj6) {
11364 {
11365 arg7 = wxString_in_helper(obj6);
11366 if (arg7 == NULL) SWIG_fail;
11367 temp7 = True;
11368 }
11369 }
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
11372 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11373
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11378 {
11379 if (temp2)
11380 delete arg2;
11381 }
11382 {
11383 if (temp3)
11384 delete arg3;
11385 }
11386 {
11387 if (temp7)
11388 delete arg7;
11389 }
11390 return resultobj;
11391 fail:
11392 {
11393 if (temp2)
11394 delete arg2;
11395 }
11396 {
11397 if (temp3)
11398 delete arg3;
11399 }
11400 {
11401 if (temp7)
11402 delete arg7;
11403 }
11404 return NULL;
11405 }
11406
11407
11408 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11409 PyObject *resultobj;
11410 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11411 wxString result;
11412 PyObject * obj0 = 0 ;
11413 char *kwnames[] = {
11414 (char *) "self", NULL
11415 };
11416
11417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11420 {
11421 PyThreadState* __tstate = wxPyBeginAllowThreads();
11422 result = (arg1)->GetPath();
11423
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 {
11428 #if wxUSE_UNICODE
11429 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11430 #else
11431 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11432 #endif
11433 }
11434 return resultobj;
11435 fail:
11436 return NULL;
11437 }
11438
11439
11440 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11441 PyObject *resultobj;
11442 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11443 wxString result;
11444 PyObject * obj0 = 0 ;
11445 char *kwnames[] = {
11446 (char *) "self", NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11452 {
11453 PyThreadState* __tstate = wxPyBeginAllowThreads();
11454 result = (arg1)->GetMessage();
11455
11456 wxPyEndAllowThreads(__tstate);
11457 if (PyErr_Occurred()) SWIG_fail;
11458 }
11459 {
11460 #if wxUSE_UNICODE
11461 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11462 #else
11463 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11464 #endif
11465 }
11466 return resultobj;
11467 fail:
11468 return NULL;
11469 }
11470
11471
11472 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11473 PyObject *resultobj;
11474 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11475 long result;
11476 PyObject * obj0 = 0 ;
11477 char *kwnames[] = {
11478 (char *) "self", NULL
11479 };
11480
11481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11484 {
11485 PyThreadState* __tstate = wxPyBeginAllowThreads();
11486 result = (long)(arg1)->GetStyle();
11487
11488 wxPyEndAllowThreads(__tstate);
11489 if (PyErr_Occurred()) SWIG_fail;
11490 }
11491 resultobj = SWIG_FromLong((long)result);
11492 return resultobj;
11493 fail:
11494 return NULL;
11495 }
11496
11497
11498 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11499 PyObject *resultobj;
11500 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11501 wxString *arg2 = 0 ;
11502 bool temp2 = False ;
11503 PyObject * obj0 = 0 ;
11504 PyObject * obj1 = 0 ;
11505 char *kwnames[] = {
11506 (char *) "self",(char *) "message", NULL
11507 };
11508
11509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11512 {
11513 arg2 = wxString_in_helper(obj1);
11514 if (arg2 == NULL) SWIG_fail;
11515 temp2 = True;
11516 }
11517 {
11518 PyThreadState* __tstate = wxPyBeginAllowThreads();
11519 (arg1)->SetMessage((wxString const &)*arg2);
11520
11521 wxPyEndAllowThreads(__tstate);
11522 if (PyErr_Occurred()) SWIG_fail;
11523 }
11524 Py_INCREF(Py_None); resultobj = Py_None;
11525 {
11526 if (temp2)
11527 delete arg2;
11528 }
11529 return resultobj;
11530 fail:
11531 {
11532 if (temp2)
11533 delete arg2;
11534 }
11535 return NULL;
11536 }
11537
11538
11539 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11540 PyObject *resultobj;
11541 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11542 wxString *arg2 = 0 ;
11543 bool temp2 = False ;
11544 PyObject * obj0 = 0 ;
11545 PyObject * obj1 = 0 ;
11546 char *kwnames[] = {
11547 (char *) "self",(char *) "path", NULL
11548 };
11549
11550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11553 {
11554 arg2 = wxString_in_helper(obj1);
11555 if (arg2 == NULL) SWIG_fail;
11556 temp2 = True;
11557 }
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 (arg1)->SetPath((wxString const &)*arg2);
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 Py_INCREF(Py_None); resultobj = Py_None;
11566 {
11567 if (temp2)
11568 delete arg2;
11569 }
11570 return resultobj;
11571 fail:
11572 {
11573 if (temp2)
11574 delete arg2;
11575 }
11576 return NULL;
11577 }
11578
11579
11580 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11581 PyObject *obj;
11582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11583 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11584 Py_INCREF(obj);
11585 return Py_BuildValue((char *)"");
11586 }
11587 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11588 PyObject *resultobj;
11589 wxWindow *arg1 = (wxWindow *) 0 ;
11590 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11591 wxString *arg2 = (wxString *) &arg2_defvalue ;
11592 wxString const &arg3_defvalue = wxPyEmptyString ;
11593 wxString *arg3 = (wxString *) &arg3_defvalue ;
11594 wxString const &arg4_defvalue = wxPyEmptyString ;
11595 wxString *arg4 = (wxString *) &arg4_defvalue ;
11596 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11597 wxString *arg5 = (wxString *) &arg5_defvalue ;
11598 long arg6 = (long) 0 ;
11599 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11600 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11601 wxFileDialog *result;
11602 bool temp2 = False ;
11603 bool temp3 = False ;
11604 bool temp4 = False ;
11605 bool temp5 = False ;
11606 wxPoint temp7 ;
11607 PyObject * obj0 = 0 ;
11608 PyObject * obj1 = 0 ;
11609 PyObject * obj2 = 0 ;
11610 PyObject * obj3 = 0 ;
11611 PyObject * obj4 = 0 ;
11612 PyObject * obj5 = 0 ;
11613 PyObject * obj6 = 0 ;
11614 char *kwnames[] = {
11615 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11616 };
11617
11618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11621 if (obj1) {
11622 {
11623 arg2 = wxString_in_helper(obj1);
11624 if (arg2 == NULL) SWIG_fail;
11625 temp2 = True;
11626 }
11627 }
11628 if (obj2) {
11629 {
11630 arg3 = wxString_in_helper(obj2);
11631 if (arg3 == NULL) SWIG_fail;
11632 temp3 = True;
11633 }
11634 }
11635 if (obj3) {
11636 {
11637 arg4 = wxString_in_helper(obj3);
11638 if (arg4 == NULL) SWIG_fail;
11639 temp4 = True;
11640 }
11641 }
11642 if (obj4) {
11643 {
11644 arg5 = wxString_in_helper(obj4);
11645 if (arg5 == NULL) SWIG_fail;
11646 temp5 = True;
11647 }
11648 }
11649 if (obj5) {
11650 arg6 = (long) SWIG_AsLong(obj5);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 }
11653 if (obj6) {
11654 {
11655 arg7 = &temp7;
11656 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11657 }
11658 }
11659 {
11660 PyThreadState* __tstate = wxPyBeginAllowThreads();
11661 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11662
11663 wxPyEndAllowThreads(__tstate);
11664 if (PyErr_Occurred()) SWIG_fail;
11665 }
11666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11667 {
11668 if (temp2)
11669 delete arg2;
11670 }
11671 {
11672 if (temp3)
11673 delete arg3;
11674 }
11675 {
11676 if (temp4)
11677 delete arg4;
11678 }
11679 {
11680 if (temp5)
11681 delete arg5;
11682 }
11683 return resultobj;
11684 fail:
11685 {
11686 if (temp2)
11687 delete arg2;
11688 }
11689 {
11690 if (temp3)
11691 delete arg3;
11692 }
11693 {
11694 if (temp4)
11695 delete arg4;
11696 }
11697 {
11698 if (temp5)
11699 delete arg5;
11700 }
11701 return NULL;
11702 }
11703
11704
11705 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11706 PyObject *resultobj;
11707 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11708 wxString *arg2 = 0 ;
11709 bool temp2 = False ;
11710 PyObject * obj0 = 0 ;
11711 PyObject * obj1 = 0 ;
11712 char *kwnames[] = {
11713 (char *) "self",(char *) "message", NULL
11714 };
11715
11716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11719 {
11720 arg2 = wxString_in_helper(obj1);
11721 if (arg2 == NULL) SWIG_fail;
11722 temp2 = True;
11723 }
11724 {
11725 PyThreadState* __tstate = wxPyBeginAllowThreads();
11726 (arg1)->SetMessage((wxString const &)*arg2);
11727
11728 wxPyEndAllowThreads(__tstate);
11729 if (PyErr_Occurred()) SWIG_fail;
11730 }
11731 Py_INCREF(Py_None); resultobj = Py_None;
11732 {
11733 if (temp2)
11734 delete arg2;
11735 }
11736 return resultobj;
11737 fail:
11738 {
11739 if (temp2)
11740 delete arg2;
11741 }
11742 return NULL;
11743 }
11744
11745
11746 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11747 PyObject *resultobj;
11748 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11749 wxString *arg2 = 0 ;
11750 bool temp2 = False ;
11751 PyObject * obj0 = 0 ;
11752 PyObject * obj1 = 0 ;
11753 char *kwnames[] = {
11754 (char *) "self",(char *) "path", NULL
11755 };
11756
11757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11760 {
11761 arg2 = wxString_in_helper(obj1);
11762 if (arg2 == NULL) SWIG_fail;
11763 temp2 = True;
11764 }
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
11767 (arg1)->SetPath((wxString const &)*arg2);
11768
11769 wxPyEndAllowThreads(__tstate);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
11772 Py_INCREF(Py_None); resultobj = Py_None;
11773 {
11774 if (temp2)
11775 delete arg2;
11776 }
11777 return resultobj;
11778 fail:
11779 {
11780 if (temp2)
11781 delete arg2;
11782 }
11783 return NULL;
11784 }
11785
11786
11787 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11788 PyObject *resultobj;
11789 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11790 wxString *arg2 = 0 ;
11791 bool temp2 = False ;
11792 PyObject * obj0 = 0 ;
11793 PyObject * obj1 = 0 ;
11794 char *kwnames[] = {
11795 (char *) "self",(char *) "dir", NULL
11796 };
11797
11798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11801 {
11802 arg2 = wxString_in_helper(obj1);
11803 if (arg2 == NULL) SWIG_fail;
11804 temp2 = True;
11805 }
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 (arg1)->SetDirectory((wxString const &)*arg2);
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 Py_INCREF(Py_None); resultobj = Py_None;
11814 {
11815 if (temp2)
11816 delete arg2;
11817 }
11818 return resultobj;
11819 fail:
11820 {
11821 if (temp2)
11822 delete arg2;
11823 }
11824 return NULL;
11825 }
11826
11827
11828 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11829 PyObject *resultobj;
11830 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11831 wxString *arg2 = 0 ;
11832 bool temp2 = False ;
11833 PyObject * obj0 = 0 ;
11834 PyObject * obj1 = 0 ;
11835 char *kwnames[] = {
11836 (char *) "self",(char *) "name", NULL
11837 };
11838
11839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11842 {
11843 arg2 = wxString_in_helper(obj1);
11844 if (arg2 == NULL) SWIG_fail;
11845 temp2 = True;
11846 }
11847 {
11848 PyThreadState* __tstate = wxPyBeginAllowThreads();
11849 (arg1)->SetFilename((wxString const &)*arg2);
11850
11851 wxPyEndAllowThreads(__tstate);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 Py_INCREF(Py_None); resultobj = Py_None;
11855 {
11856 if (temp2)
11857 delete arg2;
11858 }
11859 return resultobj;
11860 fail:
11861 {
11862 if (temp2)
11863 delete arg2;
11864 }
11865 return NULL;
11866 }
11867
11868
11869 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11870 PyObject *resultobj;
11871 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11872 wxString *arg2 = 0 ;
11873 bool temp2 = False ;
11874 PyObject * obj0 = 0 ;
11875 PyObject * obj1 = 0 ;
11876 char *kwnames[] = {
11877 (char *) "self",(char *) "wildCard", NULL
11878 };
11879
11880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11883 {
11884 arg2 = wxString_in_helper(obj1);
11885 if (arg2 == NULL) SWIG_fail;
11886 temp2 = True;
11887 }
11888 {
11889 PyThreadState* __tstate = wxPyBeginAllowThreads();
11890 (arg1)->SetWildcard((wxString const &)*arg2);
11891
11892 wxPyEndAllowThreads(__tstate);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 }
11895 Py_INCREF(Py_None); resultobj = Py_None;
11896 {
11897 if (temp2)
11898 delete arg2;
11899 }
11900 return resultobj;
11901 fail:
11902 {
11903 if (temp2)
11904 delete arg2;
11905 }
11906 return NULL;
11907 }
11908
11909
11910 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11911 PyObject *resultobj;
11912 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11913 long arg2 ;
11914 PyObject * obj0 = 0 ;
11915 PyObject * obj1 = 0 ;
11916 char *kwnames[] = {
11917 (char *) "self",(char *) "style", NULL
11918 };
11919
11920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11923 arg2 = (long) SWIG_AsLong(obj1);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 {
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 (arg1)->SetStyle(arg2);
11928
11929 wxPyEndAllowThreads(__tstate);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 }
11932 Py_INCREF(Py_None); resultobj = Py_None;
11933 return resultobj;
11934 fail:
11935 return NULL;
11936 }
11937
11938
11939 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj;
11941 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11942 int arg2 ;
11943 PyObject * obj0 = 0 ;
11944 PyObject * obj1 = 0 ;
11945 char *kwnames[] = {
11946 (char *) "self",(char *) "filterIndex", NULL
11947 };
11948
11949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11952 arg2 = (int) SWIG_AsInt(obj1);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 {
11955 PyThreadState* __tstate = wxPyBeginAllowThreads();
11956 (arg1)->SetFilterIndex(arg2);
11957
11958 wxPyEndAllowThreads(__tstate);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
11961 Py_INCREF(Py_None); resultobj = Py_None;
11962 return resultobj;
11963 fail:
11964 return NULL;
11965 }
11966
11967
11968 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11969 PyObject *resultobj;
11970 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11971 wxString result;
11972 PyObject * obj0 = 0 ;
11973 char *kwnames[] = {
11974 (char *) "self", NULL
11975 };
11976
11977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
11982 result = ((wxFileDialog const *)arg1)->GetMessage();
11983
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
11987 {
11988 #if wxUSE_UNICODE
11989 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11990 #else
11991 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11992 #endif
11993 }
11994 return resultobj;
11995 fail:
11996 return NULL;
11997 }
11998
11999
12000 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12001 PyObject *resultobj;
12002 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12003 wxString result;
12004 PyObject * obj0 = 0 ;
12005 char *kwnames[] = {
12006 (char *) "self", NULL
12007 };
12008
12009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 result = ((wxFileDialog const *)arg1)->GetPath();
12015
12016 wxPyEndAllowThreads(__tstate);
12017 if (PyErr_Occurred()) SWIG_fail;
12018 }
12019 {
12020 #if wxUSE_UNICODE
12021 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12022 #else
12023 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12024 #endif
12025 }
12026 return resultobj;
12027 fail:
12028 return NULL;
12029 }
12030
12031
12032 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj;
12034 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12035 wxString result;
12036 PyObject * obj0 = 0 ;
12037 char *kwnames[] = {
12038 (char *) "self", NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 result = ((wxFileDialog const *)arg1)->GetDirectory();
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
12051 {
12052 #if wxUSE_UNICODE
12053 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12054 #else
12055 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12056 #endif
12057 }
12058 return resultobj;
12059 fail:
12060 return NULL;
12061 }
12062
12063
12064 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj;
12066 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12067 wxString result;
12068 PyObject * obj0 = 0 ;
12069 char *kwnames[] = {
12070 (char *) "self", NULL
12071 };
12072
12073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = ((wxFileDialog const *)arg1)->GetFilename();
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 {
12084 #if wxUSE_UNICODE
12085 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12086 #else
12087 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12088 #endif
12089 }
12090 return resultobj;
12091 fail:
12092 return NULL;
12093 }
12094
12095
12096 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12097 PyObject *resultobj;
12098 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12099 wxString result;
12100 PyObject * obj0 = 0 ;
12101 char *kwnames[] = {
12102 (char *) "self", NULL
12103 };
12104
12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12108 {
12109 PyThreadState* __tstate = wxPyBeginAllowThreads();
12110 result = ((wxFileDialog const *)arg1)->GetWildcard();
12111
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 {
12116 #if wxUSE_UNICODE
12117 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12118 #else
12119 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12120 #endif
12121 }
12122 return resultobj;
12123 fail:
12124 return NULL;
12125 }
12126
12127
12128 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12129 PyObject *resultobj;
12130 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12131 long result;
12132 PyObject * obj0 = 0 ;
12133 char *kwnames[] = {
12134 (char *) "self", NULL
12135 };
12136
12137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12143
12144 wxPyEndAllowThreads(__tstate);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
12147 resultobj = SWIG_FromLong((long)result);
12148 return resultobj;
12149 fail:
12150 return NULL;
12151 }
12152
12153
12154 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12155 PyObject *resultobj;
12156 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12157 int result;
12158 PyObject * obj0 = 0 ;
12159 char *kwnames[] = {
12160 (char *) "self", NULL
12161 };
12162
12163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12166 {
12167 PyThreadState* __tstate = wxPyBeginAllowThreads();
12168 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12169
12170 wxPyEndAllowThreads(__tstate);
12171 if (PyErr_Occurred()) SWIG_fail;
12172 }
12173 resultobj = SWIG_FromInt((int)result);
12174 return resultobj;
12175 fail:
12176 return NULL;
12177 }
12178
12179
12180 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12181 PyObject *resultobj;
12182 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12183 PyObject *result;
12184 PyObject * obj0 = 0 ;
12185 char *kwnames[] = {
12186 (char *) "self", NULL
12187 };
12188
12189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 resultobj = result;
12200 return resultobj;
12201 fail:
12202 return NULL;
12203 }
12204
12205
12206 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12207 PyObject *resultobj;
12208 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12209 PyObject *result;
12210 PyObject * obj0 = 0 ;
12211 char *kwnames[] = {
12212 (char *) "self", NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12221
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 resultobj = result;
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12233 PyObject *obj;
12234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12235 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12236 Py_INCREF(obj);
12237 return Py_BuildValue((char *)"");
12238 }
12239 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12240 PyObject *resultobj;
12241 wxWindow *arg1 = (wxWindow *) 0 ;
12242 wxString *arg2 = 0 ;
12243 wxString *arg3 = 0 ;
12244 int arg4 = (int) 0 ;
12245 wxString *arg5 = (wxString *) 0 ;
12246 long arg6 = (long) wxCHOICEDLG_STYLE ;
12247 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12248 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12249 wxMultiChoiceDialog *result;
12250 bool temp2 = False ;
12251 bool temp3 = False ;
12252 wxPoint temp6 ;
12253 PyObject * obj0 = 0 ;
12254 PyObject * obj1 = 0 ;
12255 PyObject * obj2 = 0 ;
12256 PyObject * obj3 = 0 ;
12257 PyObject * obj4 = 0 ;
12258 PyObject * obj5 = 0 ;
12259 char *kwnames[] = {
12260 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12261 };
12262
12263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12266 {
12267 arg2 = wxString_in_helper(obj1);
12268 if (arg2 == NULL) SWIG_fail;
12269 temp2 = True;
12270 }
12271 {
12272 arg3 = wxString_in_helper(obj2);
12273 if (arg3 == NULL) SWIG_fail;
12274 temp3 = True;
12275 }
12276 if (obj3) {
12277 {
12278 arg4 = PyList_Size(obj3);
12279 arg5 = wxString_LIST_helper(obj3);
12280 if (arg5 == NULL) SWIG_fail;
12281 }
12282 }
12283 if (obj4) {
12284 arg6 = (long) SWIG_AsLong(obj4);
12285 if (PyErr_Occurred()) SWIG_fail;
12286 }
12287 if (obj5) {
12288 {
12289 arg7 = &temp6;
12290 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12291 }
12292 }
12293 {
12294 PyThreadState* __tstate = wxPyBeginAllowThreads();
12295 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12296
12297 wxPyEndAllowThreads(__tstate);
12298 if (PyErr_Occurred()) SWIG_fail;
12299 }
12300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12301 {
12302 if (temp2)
12303 delete arg2;
12304 }
12305 {
12306 if (temp3)
12307 delete arg3;
12308 }
12309 {
12310 if (arg5) delete [] arg5;
12311 }
12312 return resultobj;
12313 fail:
12314 {
12315 if (temp2)
12316 delete arg2;
12317 }
12318 {
12319 if (temp3)
12320 delete arg3;
12321 }
12322 {
12323 if (arg5) delete [] arg5;
12324 }
12325 return NULL;
12326 }
12327
12328
12329 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12330 PyObject *resultobj;
12331 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12332 wxArrayInt *arg2 = 0 ;
12333 bool temp2 = False ;
12334 PyObject * obj0 = 0 ;
12335 PyObject * obj1 = 0 ;
12336 char *kwnames[] = {
12337 (char *) "self",(char *) "selections", NULL
12338 };
12339
12340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12343 {
12344 if (! PySequence_Check(obj1)) {
12345 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12346 SWIG_fail;
12347 }
12348 arg2 = new wxArrayInt;
12349 temp2 = True;
12350 int i, len=PySequence_Length(obj1);
12351 for (i=0; i<len; i++) {
12352 PyObject* item = PySequence_GetItem(obj1, i);
12353 PyObject* number = PyNumber_Int(item);
12354 arg2->Add(PyInt_AS_LONG(number));
12355 Py_DECREF(item);
12356 Py_DECREF(number);
12357 }
12358 }
12359 {
12360 PyThreadState* __tstate = wxPyBeginAllowThreads();
12361 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12362
12363 wxPyEndAllowThreads(__tstate);
12364 if (PyErr_Occurred()) SWIG_fail;
12365 }
12366 Py_INCREF(Py_None); resultobj = Py_None;
12367 {
12368 if (temp2) delete arg2;
12369 }
12370 return resultobj;
12371 fail:
12372 {
12373 if (temp2) delete arg2;
12374 }
12375 return NULL;
12376 }
12377
12378
12379 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12380 PyObject *resultobj;
12381 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12382 PyObject *result;
12383 PyObject * obj0 = 0 ;
12384 char *kwnames[] = {
12385 (char *) "self", NULL
12386 };
12387
12388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12391 {
12392 PyThreadState* __tstate = wxPyBeginAllowThreads();
12393 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12394
12395 wxPyEndAllowThreads(__tstate);
12396 if (PyErr_Occurred()) SWIG_fail;
12397 }
12398 resultobj = result;
12399 return resultobj;
12400 fail:
12401 return NULL;
12402 }
12403
12404
12405 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12406 PyObject *obj;
12407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12408 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12409 Py_INCREF(obj);
12410 return Py_BuildValue((char *)"");
12411 }
12412 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj;
12414 wxWindow *arg1 = (wxWindow *) 0 ;
12415 wxString *arg2 = 0 ;
12416 wxString *arg3 = 0 ;
12417 int arg4 ;
12418 wxString *arg5 = (wxString *) 0 ;
12419 long arg6 = (long) wxCHOICEDLG_STYLE ;
12420 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12421 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12422 wxSingleChoiceDialog *result;
12423 bool temp2 = False ;
12424 bool temp3 = False ;
12425 wxPoint temp6 ;
12426 PyObject * obj0 = 0 ;
12427 PyObject * obj1 = 0 ;
12428 PyObject * obj2 = 0 ;
12429 PyObject * obj3 = 0 ;
12430 PyObject * obj4 = 0 ;
12431 PyObject * obj5 = 0 ;
12432 char *kwnames[] = {
12433 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12434 };
12435
12436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12439 {
12440 arg2 = wxString_in_helper(obj1);
12441 if (arg2 == NULL) SWIG_fail;
12442 temp2 = True;
12443 }
12444 {
12445 arg3 = wxString_in_helper(obj2);
12446 if (arg3 == NULL) SWIG_fail;
12447 temp3 = True;
12448 }
12449 {
12450 arg4 = PyList_Size(obj3);
12451 arg5 = wxString_LIST_helper(obj3);
12452 if (arg5 == NULL) SWIG_fail;
12453 }
12454 if (obj4) {
12455 arg6 = (long) SWIG_AsLong(obj4);
12456 if (PyErr_Occurred()) SWIG_fail;
12457 }
12458 if (obj5) {
12459 {
12460 arg7 = &temp6;
12461 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12462 }
12463 }
12464 {
12465 PyThreadState* __tstate = wxPyBeginAllowThreads();
12466 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12467
12468 wxPyEndAllowThreads(__tstate);
12469 if (PyErr_Occurred()) SWIG_fail;
12470 }
12471 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12472 {
12473 if (temp2)
12474 delete arg2;
12475 }
12476 {
12477 if (temp3)
12478 delete arg3;
12479 }
12480 {
12481 if (arg5) delete [] arg5;
12482 }
12483 return resultobj;
12484 fail:
12485 {
12486 if (temp2)
12487 delete arg2;
12488 }
12489 {
12490 if (temp3)
12491 delete arg3;
12492 }
12493 {
12494 if (arg5) delete [] arg5;
12495 }
12496 return NULL;
12497 }
12498
12499
12500 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj;
12502 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12503 int result;
12504 PyObject * obj0 = 0 ;
12505 char *kwnames[] = {
12506 (char *) "self", NULL
12507 };
12508
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12512 {
12513 PyThreadState* __tstate = wxPyBeginAllowThreads();
12514 result = (int)(arg1)->GetSelection();
12515
12516 wxPyEndAllowThreads(__tstate);
12517 if (PyErr_Occurred()) SWIG_fail;
12518 }
12519 resultobj = SWIG_FromInt((int)result);
12520 return resultobj;
12521 fail:
12522 return NULL;
12523 }
12524
12525
12526 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12527 PyObject *resultobj;
12528 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12529 wxString result;
12530 PyObject * obj0 = 0 ;
12531 char *kwnames[] = {
12532 (char *) "self", NULL
12533 };
12534
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12538 {
12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
12540 result = (arg1)->GetStringSelection();
12541
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
12545 {
12546 #if wxUSE_UNICODE
12547 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12548 #else
12549 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12550 #endif
12551 }
12552 return resultobj;
12553 fail:
12554 return NULL;
12555 }
12556
12557
12558 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12559 PyObject *resultobj;
12560 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12561 int arg2 ;
12562 PyObject * obj0 = 0 ;
12563 PyObject * obj1 = 0 ;
12564 char *kwnames[] = {
12565 (char *) "self",(char *) "sel", NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12571 arg2 = (int) SWIG_AsInt(obj1);
12572 if (PyErr_Occurred()) SWIG_fail;
12573 {
12574 PyThreadState* __tstate = wxPyBeginAllowThreads();
12575 (arg1)->SetSelection(arg2);
12576
12577 wxPyEndAllowThreads(__tstate);
12578 if (PyErr_Occurred()) SWIG_fail;
12579 }
12580 Py_INCREF(Py_None); resultobj = Py_None;
12581 return resultobj;
12582 fail:
12583 return NULL;
12584 }
12585
12586
12587 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12588 PyObject *obj;
12589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12590 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12591 Py_INCREF(obj);
12592 return Py_BuildValue((char *)"");
12593 }
12594 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12595 PyObject *resultobj;
12596 wxWindow *arg1 = (wxWindow *) 0 ;
12597 wxString *arg2 = 0 ;
12598 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12599 wxString *arg3 = (wxString *) &arg3_defvalue ;
12600 wxString const &arg4_defvalue = wxPyEmptyString ;
12601 wxString *arg4 = (wxString *) &arg4_defvalue ;
12602 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12603 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12604 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12605 wxTextEntryDialog *result;
12606 bool temp2 = False ;
12607 bool temp3 = False ;
12608 bool temp4 = False ;
12609 wxPoint temp6 ;
12610 PyObject * obj0 = 0 ;
12611 PyObject * obj1 = 0 ;
12612 PyObject * obj2 = 0 ;
12613 PyObject * obj3 = 0 ;
12614 PyObject * obj4 = 0 ;
12615 PyObject * obj5 = 0 ;
12616 char *kwnames[] = {
12617 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12618 };
12619
12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12623 {
12624 arg2 = wxString_in_helper(obj1);
12625 if (arg2 == NULL) SWIG_fail;
12626 temp2 = True;
12627 }
12628 if (obj2) {
12629 {
12630 arg3 = wxString_in_helper(obj2);
12631 if (arg3 == NULL) SWIG_fail;
12632 temp3 = True;
12633 }
12634 }
12635 if (obj3) {
12636 {
12637 arg4 = wxString_in_helper(obj3);
12638 if (arg4 == NULL) SWIG_fail;
12639 temp4 = True;
12640 }
12641 }
12642 if (obj4) {
12643 arg5 = (long) SWIG_AsLong(obj4);
12644 if (PyErr_Occurred()) SWIG_fail;
12645 }
12646 if (obj5) {
12647 {
12648 arg6 = &temp6;
12649 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12650 }
12651 }
12652 {
12653 PyThreadState* __tstate = wxPyBeginAllowThreads();
12654 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12655
12656 wxPyEndAllowThreads(__tstate);
12657 if (PyErr_Occurred()) SWIG_fail;
12658 }
12659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12660 {
12661 if (temp2)
12662 delete arg2;
12663 }
12664 {
12665 if (temp3)
12666 delete arg3;
12667 }
12668 {
12669 if (temp4)
12670 delete arg4;
12671 }
12672 return resultobj;
12673 fail:
12674 {
12675 if (temp2)
12676 delete arg2;
12677 }
12678 {
12679 if (temp3)
12680 delete arg3;
12681 }
12682 {
12683 if (temp4)
12684 delete arg4;
12685 }
12686 return NULL;
12687 }
12688
12689
12690 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12691 PyObject *resultobj;
12692 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12693 wxString result;
12694 PyObject * obj0 = 0 ;
12695 char *kwnames[] = {
12696 (char *) "self", NULL
12697 };
12698
12699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12702 {
12703 PyThreadState* __tstate = wxPyBeginAllowThreads();
12704 result = (arg1)->GetValue();
12705
12706 wxPyEndAllowThreads(__tstate);
12707 if (PyErr_Occurred()) SWIG_fail;
12708 }
12709 {
12710 #if wxUSE_UNICODE
12711 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12712 #else
12713 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12714 #endif
12715 }
12716 return resultobj;
12717 fail:
12718 return NULL;
12719 }
12720
12721
12722 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12723 PyObject *resultobj;
12724 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12725 wxString *arg2 = 0 ;
12726 bool temp2 = False ;
12727 PyObject * obj0 = 0 ;
12728 PyObject * obj1 = 0 ;
12729 char *kwnames[] = {
12730 (char *) "self",(char *) "value", NULL
12731 };
12732
12733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12736 {
12737 arg2 = wxString_in_helper(obj1);
12738 if (arg2 == NULL) SWIG_fail;
12739 temp2 = True;
12740 }
12741 {
12742 PyThreadState* __tstate = wxPyBeginAllowThreads();
12743 (arg1)->SetValue((wxString const &)*arg2);
12744
12745 wxPyEndAllowThreads(__tstate);
12746 if (PyErr_Occurred()) SWIG_fail;
12747 }
12748 Py_INCREF(Py_None); resultobj = Py_None;
12749 {
12750 if (temp2)
12751 delete arg2;
12752 }
12753 return resultobj;
12754 fail:
12755 {
12756 if (temp2)
12757 delete arg2;
12758 }
12759 return NULL;
12760 }
12761
12762
12763 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12764 PyObject *obj;
12765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12766 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12767 Py_INCREF(obj);
12768 return Py_BuildValue((char *)"");
12769 }
12770 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12771 PyObject *resultobj;
12772 wxFontData *result;
12773 char *kwnames[] = {
12774 NULL
12775 };
12776
12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12778 {
12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
12780 result = (wxFontData *)new wxFontData();
12781
12782 wxPyEndAllowThreads(__tstate);
12783 if (PyErr_Occurred()) SWIG_fail;
12784 }
12785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12786 return resultobj;
12787 fail:
12788 return NULL;
12789 }
12790
12791
12792 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12793 PyObject *resultobj;
12794 wxFontData *arg1 = (wxFontData *) 0 ;
12795 PyObject * obj0 = 0 ;
12796 char *kwnames[] = {
12797 (char *) "self", NULL
12798 };
12799
12800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12803 {
12804 PyThreadState* __tstate = wxPyBeginAllowThreads();
12805 delete arg1;
12806
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
12810 Py_INCREF(Py_None); resultobj = Py_None;
12811 return resultobj;
12812 fail:
12813 return NULL;
12814 }
12815
12816
12817 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12818 PyObject *resultobj;
12819 wxFontData *arg1 = (wxFontData *) 0 ;
12820 bool arg2 ;
12821 PyObject * obj0 = 0 ;
12822 PyObject * obj1 = 0 ;
12823 char *kwnames[] = {
12824 (char *) "self",(char *) "enable", NULL
12825 };
12826
12827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12830 arg2 = (bool) SWIG_AsBool(obj1);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 {
12833 PyThreadState* __tstate = wxPyBeginAllowThreads();
12834 (arg1)->EnableEffects(arg2);
12835
12836 wxPyEndAllowThreads(__tstate);
12837 if (PyErr_Occurred()) SWIG_fail;
12838 }
12839 Py_INCREF(Py_None); resultobj = Py_None;
12840 return resultobj;
12841 fail:
12842 return NULL;
12843 }
12844
12845
12846 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12847 PyObject *resultobj;
12848 wxFontData *arg1 = (wxFontData *) 0 ;
12849 bool result;
12850 PyObject * obj0 = 0 ;
12851 char *kwnames[] = {
12852 (char *) "self", NULL
12853 };
12854
12855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 result = (bool)(arg1)->GetAllowSymbols();
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 {
12866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12867 }
12868 return resultobj;
12869 fail:
12870 return NULL;
12871 }
12872
12873
12874 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12875 PyObject *resultobj;
12876 wxFontData *arg1 = (wxFontData *) 0 ;
12877 wxColour result;
12878 PyObject * obj0 = 0 ;
12879 char *kwnames[] = {
12880 (char *) "self", NULL
12881 };
12882
12883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12886 {
12887 PyThreadState* __tstate = wxPyBeginAllowThreads();
12888 result = (arg1)->GetColour();
12889
12890 wxPyEndAllowThreads(__tstate);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 }
12893 {
12894 wxColour * resultptr;
12895 resultptr = new wxColour((wxColour &) result);
12896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12897 }
12898 return resultobj;
12899 fail:
12900 return NULL;
12901 }
12902
12903
12904 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12905 PyObject *resultobj;
12906 wxFontData *arg1 = (wxFontData *) 0 ;
12907 wxFont result;
12908 PyObject * obj0 = 0 ;
12909 char *kwnames[] = {
12910 (char *) "self", NULL
12911 };
12912
12913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
12918 result = (arg1)->GetChosenFont();
12919
12920 wxPyEndAllowThreads(__tstate);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 {
12924 wxFont * resultptr;
12925 resultptr = new wxFont((wxFont &) result);
12926 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12927 }
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj;
12936 wxFontData *arg1 = (wxFontData *) 0 ;
12937 bool result;
12938 PyObject * obj0 = 0 ;
12939 char *kwnames[] = {
12940 (char *) "self", NULL
12941 };
12942
12943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12946 {
12947 PyThreadState* __tstate = wxPyBeginAllowThreads();
12948 result = (bool)(arg1)->GetEnableEffects();
12949
12950 wxPyEndAllowThreads(__tstate);
12951 if (PyErr_Occurred()) SWIG_fail;
12952 }
12953 {
12954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12955 }
12956 return resultobj;
12957 fail:
12958 return NULL;
12959 }
12960
12961
12962 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12963 PyObject *resultobj;
12964 wxFontData *arg1 = (wxFontData *) 0 ;
12965 wxFont result;
12966 PyObject * obj0 = 0 ;
12967 char *kwnames[] = {
12968 (char *) "self", NULL
12969 };
12970
12971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12974 {
12975 PyThreadState* __tstate = wxPyBeginAllowThreads();
12976 result = (arg1)->GetInitialFont();
12977
12978 wxPyEndAllowThreads(__tstate);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
12981 {
12982 wxFont * resultptr;
12983 resultptr = new wxFont((wxFont &) result);
12984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12985 }
12986 return resultobj;
12987 fail:
12988 return NULL;
12989 }
12990
12991
12992 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12993 PyObject *resultobj;
12994 wxFontData *arg1 = (wxFontData *) 0 ;
12995 bool result;
12996 PyObject * obj0 = 0 ;
12997 char *kwnames[] = {
12998 (char *) "self", NULL
12999 };
13000
13001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13004 {
13005 PyThreadState* __tstate = wxPyBeginAllowThreads();
13006 result = (bool)(arg1)->GetShowHelp();
13007
13008 wxPyEndAllowThreads(__tstate);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 }
13011 {
13012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13013 }
13014 return resultobj;
13015 fail:
13016 return NULL;
13017 }
13018
13019
13020 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13021 PyObject *resultobj;
13022 wxFontData *arg1 = (wxFontData *) 0 ;
13023 bool arg2 ;
13024 PyObject * obj0 = 0 ;
13025 PyObject * obj1 = 0 ;
13026 char *kwnames[] = {
13027 (char *) "self",(char *) "allowSymbols", NULL
13028 };
13029
13030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13033 arg2 = (bool) SWIG_AsBool(obj1);
13034 if (PyErr_Occurred()) SWIG_fail;
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 (arg1)->SetAllowSymbols(arg2);
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 Py_INCREF(Py_None); resultobj = Py_None;
13043 return resultobj;
13044 fail:
13045 return NULL;
13046 }
13047
13048
13049 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13050 PyObject *resultobj;
13051 wxFontData *arg1 = (wxFontData *) 0 ;
13052 wxFont *arg2 = 0 ;
13053 PyObject * obj0 = 0 ;
13054 PyObject * obj1 = 0 ;
13055 char *kwnames[] = {
13056 (char *) "self",(char *) "font", NULL
13057 };
13058
13059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13063 SWIG_POINTER_EXCEPTION | 0)) == -1)
13064 SWIG_fail;
13065 if (arg2 == NULL) {
13066 PyErr_SetString(PyExc_TypeError,"null reference");
13067 SWIG_fail;
13068 }
13069 {
13070 PyThreadState* __tstate = wxPyBeginAllowThreads();
13071 (arg1)->SetChosenFont((wxFont const &)*arg2);
13072
13073 wxPyEndAllowThreads(__tstate);
13074 if (PyErr_Occurred()) SWIG_fail;
13075 }
13076 Py_INCREF(Py_None); resultobj = Py_None;
13077 return resultobj;
13078 fail:
13079 return NULL;
13080 }
13081
13082
13083 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13084 PyObject *resultobj;
13085 wxFontData *arg1 = (wxFontData *) 0 ;
13086 wxColour *arg2 = 0 ;
13087 wxColour temp2 ;
13088 PyObject * obj0 = 0 ;
13089 PyObject * obj1 = 0 ;
13090 char *kwnames[] = {
13091 (char *) "self",(char *) "colour", NULL
13092 };
13093
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13097 {
13098 arg2 = &temp2;
13099 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13100 }
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 (arg1)->SetColour((wxColour const &)*arg2);
13104
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 Py_INCREF(Py_None); resultobj = Py_None;
13109 return resultobj;
13110 fail:
13111 return NULL;
13112 }
13113
13114
13115 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13116 PyObject *resultobj;
13117 wxFontData *arg1 = (wxFontData *) 0 ;
13118 wxFont *arg2 = 0 ;
13119 PyObject * obj0 = 0 ;
13120 PyObject * obj1 = 0 ;
13121 char *kwnames[] = {
13122 (char *) "self",(char *) "font", NULL
13123 };
13124
13125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13128 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13129 SWIG_POINTER_EXCEPTION | 0)) == -1)
13130 SWIG_fail;
13131 if (arg2 == NULL) {
13132 PyErr_SetString(PyExc_TypeError,"null reference");
13133 SWIG_fail;
13134 }
13135 {
13136 PyThreadState* __tstate = wxPyBeginAllowThreads();
13137 (arg1)->SetInitialFont((wxFont const &)*arg2);
13138
13139 wxPyEndAllowThreads(__tstate);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
13142 Py_INCREF(Py_None); resultobj = Py_None;
13143 return resultobj;
13144 fail:
13145 return NULL;
13146 }
13147
13148
13149 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13150 PyObject *resultobj;
13151 wxFontData *arg1 = (wxFontData *) 0 ;
13152 int arg2 ;
13153 int arg3 ;
13154 PyObject * obj0 = 0 ;
13155 PyObject * obj1 = 0 ;
13156 PyObject * obj2 = 0 ;
13157 char *kwnames[] = {
13158 (char *) "self",(char *) "min",(char *) "max", NULL
13159 };
13160
13161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13164 arg2 = (int) SWIG_AsInt(obj1);
13165 if (PyErr_Occurred()) SWIG_fail;
13166 arg3 = (int) SWIG_AsInt(obj2);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 {
13169 PyThreadState* __tstate = wxPyBeginAllowThreads();
13170 (arg1)->SetRange(arg2,arg3);
13171
13172 wxPyEndAllowThreads(__tstate);
13173 if (PyErr_Occurred()) SWIG_fail;
13174 }
13175 Py_INCREF(Py_None); resultobj = Py_None;
13176 return resultobj;
13177 fail:
13178 return NULL;
13179 }
13180
13181
13182 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13183 PyObject *resultobj;
13184 wxFontData *arg1 = (wxFontData *) 0 ;
13185 bool arg2 ;
13186 PyObject * obj0 = 0 ;
13187 PyObject * obj1 = 0 ;
13188 char *kwnames[] = {
13189 (char *) "self",(char *) "showHelp", NULL
13190 };
13191
13192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13195 arg2 = (bool) SWIG_AsBool(obj1);
13196 if (PyErr_Occurred()) SWIG_fail;
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
13199 (arg1)->SetShowHelp(arg2);
13200
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 Py_INCREF(Py_None); resultobj = Py_None;
13205 return resultobj;
13206 fail:
13207 return NULL;
13208 }
13209
13210
13211 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13212 PyObject *obj;
13213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13214 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13215 Py_INCREF(obj);
13216 return Py_BuildValue((char *)"");
13217 }
13218 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13219 PyObject *resultobj;
13220 wxWindow *arg1 = (wxWindow *) 0 ;
13221 wxFontData *arg2 = 0 ;
13222 wxFontDialog *result;
13223 PyObject * obj0 = 0 ;
13224 PyObject * obj1 = 0 ;
13225 char *kwnames[] = {
13226 (char *) "parent",(char *) "data", NULL
13227 };
13228
13229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13233 SWIG_POINTER_EXCEPTION | 0)) == -1)
13234 SWIG_fail;
13235 if (arg2 == NULL) {
13236 PyErr_SetString(PyExc_TypeError,"null reference");
13237 SWIG_fail;
13238 }
13239 {
13240 PyThreadState* __tstate = wxPyBeginAllowThreads();
13241 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13242
13243 wxPyEndAllowThreads(__tstate);
13244 if (PyErr_Occurred()) SWIG_fail;
13245 }
13246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13247 return resultobj;
13248 fail:
13249 return NULL;
13250 }
13251
13252
13253 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj;
13255 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13256 wxFontData *result;
13257 PyObject * obj0 = 0 ;
13258 char *kwnames[] = {
13259 (char *) "self", NULL
13260 };
13261
13262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13265 {
13266 PyThreadState* __tstate = wxPyBeginAllowThreads();
13267 {
13268 wxFontData &_result_ref = (arg1)->GetFontData();
13269 result = (wxFontData *) &_result_ref;
13270 }
13271
13272 wxPyEndAllowThreads(__tstate);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 }
13275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13276 return resultobj;
13277 fail:
13278 return NULL;
13279 }
13280
13281
13282 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13283 PyObject *obj;
13284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13285 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13286 Py_INCREF(obj);
13287 return Py_BuildValue((char *)"");
13288 }
13289 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13290 PyObject *resultobj;
13291 wxWindow *arg1 = (wxWindow *) 0 ;
13292 wxString *arg2 = 0 ;
13293 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13294 wxString *arg3 = (wxString *) &arg3_defvalue ;
13295 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13296 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13297 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13298 wxMessageDialog *result;
13299 bool temp2 = False ;
13300 bool temp3 = False ;
13301 wxPoint temp5 ;
13302 PyObject * obj0 = 0 ;
13303 PyObject * obj1 = 0 ;
13304 PyObject * obj2 = 0 ;
13305 PyObject * obj3 = 0 ;
13306 PyObject * obj4 = 0 ;
13307 char *kwnames[] = {
13308 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13309 };
13310
13311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13314 {
13315 arg2 = wxString_in_helper(obj1);
13316 if (arg2 == NULL) SWIG_fail;
13317 temp2 = True;
13318 }
13319 if (obj2) {
13320 {
13321 arg3 = wxString_in_helper(obj2);
13322 if (arg3 == NULL) SWIG_fail;
13323 temp3 = True;
13324 }
13325 }
13326 if (obj3) {
13327 arg4 = (long) SWIG_AsLong(obj3);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 }
13330 if (obj4) {
13331 {
13332 arg5 = &temp5;
13333 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13334 }
13335 }
13336 {
13337 PyThreadState* __tstate = wxPyBeginAllowThreads();
13338 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13339
13340 wxPyEndAllowThreads(__tstate);
13341 if (PyErr_Occurred()) SWIG_fail;
13342 }
13343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13344 {
13345 if (temp2)
13346 delete arg2;
13347 }
13348 {
13349 if (temp3)
13350 delete arg3;
13351 }
13352 return resultobj;
13353 fail:
13354 {
13355 if (temp2)
13356 delete arg2;
13357 }
13358 {
13359 if (temp3)
13360 delete arg3;
13361 }
13362 return NULL;
13363 }
13364
13365
13366 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13367 PyObject *obj;
13368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13369 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13370 Py_INCREF(obj);
13371 return Py_BuildValue((char *)"");
13372 }
13373 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13374 PyObject *resultobj;
13375 wxString *arg1 = 0 ;
13376 wxString *arg2 = 0 ;
13377 int arg3 = (int) 100 ;
13378 wxWindow *arg4 = (wxWindow *) NULL ;
13379 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13380 wxProgressDialog *result;
13381 bool temp1 = False ;
13382 bool temp2 = False ;
13383 PyObject * obj0 = 0 ;
13384 PyObject * obj1 = 0 ;
13385 PyObject * obj2 = 0 ;
13386 PyObject * obj3 = 0 ;
13387 PyObject * obj4 = 0 ;
13388 char *kwnames[] = {
13389 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13390 };
13391
13392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13393 {
13394 arg1 = wxString_in_helper(obj0);
13395 if (arg1 == NULL) SWIG_fail;
13396 temp1 = True;
13397 }
13398 {
13399 arg2 = wxString_in_helper(obj1);
13400 if (arg2 == NULL) SWIG_fail;
13401 temp2 = True;
13402 }
13403 if (obj2) {
13404 arg3 = (int) SWIG_AsInt(obj2);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
13407 if (obj3) {
13408 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13410 }
13411 if (obj4) {
13412 arg5 = (int) SWIG_AsInt(obj4);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13418
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13423 {
13424 if (temp1)
13425 delete arg1;
13426 }
13427 {
13428 if (temp2)
13429 delete arg2;
13430 }
13431 return resultobj;
13432 fail:
13433 {
13434 if (temp1)
13435 delete arg1;
13436 }
13437 {
13438 if (temp2)
13439 delete arg2;
13440 }
13441 return NULL;
13442 }
13443
13444
13445 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13446 PyObject *resultobj;
13447 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13448 int arg2 ;
13449 wxString const &arg3_defvalue = wxPyEmptyString ;
13450 wxString *arg3 = (wxString *) &arg3_defvalue ;
13451 bool result;
13452 bool temp3 = False ;
13453 PyObject * obj0 = 0 ;
13454 PyObject * obj1 = 0 ;
13455 PyObject * obj2 = 0 ;
13456 char *kwnames[] = {
13457 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13458 };
13459
13460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13463 arg2 = (int) SWIG_AsInt(obj1);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 if (obj2) {
13466 {
13467 arg3 = wxString_in_helper(obj2);
13468 if (arg3 == NULL) SWIG_fail;
13469 temp3 = True;
13470 }
13471 }
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13475
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 {
13480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13481 }
13482 {
13483 if (temp3)
13484 delete arg3;
13485 }
13486 return resultobj;
13487 fail:
13488 {
13489 if (temp3)
13490 delete arg3;
13491 }
13492 return NULL;
13493 }
13494
13495
13496 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13497 PyObject *resultobj;
13498 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13499 PyObject * obj0 = 0 ;
13500 char *kwnames[] = {
13501 (char *) "self", NULL
13502 };
13503
13504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13507 {
13508 PyThreadState* __tstate = wxPyBeginAllowThreads();
13509 (arg1)->Resume();
13510
13511 wxPyEndAllowThreads(__tstate);
13512 if (PyErr_Occurred()) SWIG_fail;
13513 }
13514 Py_INCREF(Py_None); resultobj = Py_None;
13515 return resultobj;
13516 fail:
13517 return NULL;
13518 }
13519
13520
13521 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13522 PyObject *obj;
13523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13524 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13525 Py_INCREF(obj);
13526 return Py_BuildValue((char *)"");
13527 }
13528 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13529 PyObject *resultobj;
13530 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13531 int arg2 = (int) 0 ;
13532 wxFindDialogEvent *result;
13533 PyObject * obj0 = 0 ;
13534 PyObject * obj1 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "commandType",(char *) "id", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13540 if (obj0) {
13541 arg1 = (wxEventType) SWIG_AsInt(obj0);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
13544 if (obj1) {
13545 arg2 = (int) SWIG_AsInt(obj1);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 }
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13556 return resultobj;
13557 fail:
13558 return NULL;
13559 }
13560
13561
13562 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13563 PyObject *resultobj;
13564 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13565 int result;
13566 PyObject * obj0 = 0 ;
13567 char *kwnames[] = {
13568 (char *) "self", NULL
13569 };
13570
13571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13574 {
13575 PyThreadState* __tstate = wxPyBeginAllowThreads();
13576 result = (int)(arg1)->GetFlags();
13577
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 resultobj = SWIG_FromInt((int)result);
13582 return resultobj;
13583 fail:
13584 return NULL;
13585 }
13586
13587
13588 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13589 PyObject *resultobj;
13590 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13591 wxString *result;
13592 PyObject * obj0 = 0 ;
13593 char *kwnames[] = {
13594 (char *) "self", NULL
13595 };
13596
13597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13600 {
13601 PyThreadState* __tstate = wxPyBeginAllowThreads();
13602 {
13603 wxString const &_result_ref = (arg1)->GetFindString();
13604 result = (wxString *) &_result_ref;
13605 }
13606
13607 wxPyEndAllowThreads(__tstate);
13608 if (PyErr_Occurred()) SWIG_fail;
13609 }
13610 {
13611 #if wxUSE_UNICODE
13612 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13613 #else
13614 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13615 #endif
13616 }
13617 return resultobj;
13618 fail:
13619 return NULL;
13620 }
13621
13622
13623 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13624 PyObject *resultobj;
13625 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13626 wxString *result;
13627 PyObject * obj0 = 0 ;
13628 char *kwnames[] = {
13629 (char *) "self", NULL
13630 };
13631
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13635 {
13636 PyThreadState* __tstate = wxPyBeginAllowThreads();
13637 {
13638 wxString const &_result_ref = (arg1)->GetReplaceString();
13639 result = (wxString *) &_result_ref;
13640 }
13641
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 {
13646 #if wxUSE_UNICODE
13647 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13648 #else
13649 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13650 #endif
13651 }
13652 return resultobj;
13653 fail:
13654 return NULL;
13655 }
13656
13657
13658 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13659 PyObject *resultobj;
13660 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13661 wxFindReplaceDialog *result;
13662 PyObject * obj0 = 0 ;
13663 char *kwnames[] = {
13664 (char *) "self", NULL
13665 };
13666
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
13677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13678 return resultobj;
13679 fail:
13680 return NULL;
13681 }
13682
13683
13684 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13685 PyObject *resultobj;
13686 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13687 int arg2 ;
13688 PyObject * obj0 = 0 ;
13689 PyObject * obj1 = 0 ;
13690 char *kwnames[] = {
13691 (char *) "self",(char *) "flags", NULL
13692 };
13693
13694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13697 arg2 = (int) SWIG_AsInt(obj1);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 {
13700 PyThreadState* __tstate = wxPyBeginAllowThreads();
13701 (arg1)->SetFlags(arg2);
13702
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 Py_INCREF(Py_None); resultobj = Py_None;
13707 return resultobj;
13708 fail:
13709 return NULL;
13710 }
13711
13712
13713 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13714 PyObject *resultobj;
13715 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13716 wxString *arg2 = 0 ;
13717 bool temp2 = False ;
13718 PyObject * obj0 = 0 ;
13719 PyObject * obj1 = 0 ;
13720 char *kwnames[] = {
13721 (char *) "self",(char *) "str", NULL
13722 };
13723
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13727 {
13728 arg2 = wxString_in_helper(obj1);
13729 if (arg2 == NULL) SWIG_fail;
13730 temp2 = True;
13731 }
13732 {
13733 PyThreadState* __tstate = wxPyBeginAllowThreads();
13734 (arg1)->SetFindString((wxString const &)*arg2);
13735
13736 wxPyEndAllowThreads(__tstate);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 }
13739 Py_INCREF(Py_None); resultobj = Py_None;
13740 {
13741 if (temp2)
13742 delete arg2;
13743 }
13744 return resultobj;
13745 fail:
13746 {
13747 if (temp2)
13748 delete arg2;
13749 }
13750 return NULL;
13751 }
13752
13753
13754 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13755 PyObject *resultobj;
13756 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13757 wxString *arg2 = 0 ;
13758 bool temp2 = False ;
13759 PyObject * obj0 = 0 ;
13760 PyObject * obj1 = 0 ;
13761 char *kwnames[] = {
13762 (char *) "self",(char *) "str", NULL
13763 };
13764
13765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13768 {
13769 arg2 = wxString_in_helper(obj1);
13770 if (arg2 == NULL) SWIG_fail;
13771 temp2 = True;
13772 }
13773 {
13774 PyThreadState* __tstate = wxPyBeginAllowThreads();
13775 (arg1)->SetReplaceString((wxString const &)*arg2);
13776
13777 wxPyEndAllowThreads(__tstate);
13778 if (PyErr_Occurred()) SWIG_fail;
13779 }
13780 Py_INCREF(Py_None); resultobj = Py_None;
13781 {
13782 if (temp2)
13783 delete arg2;
13784 }
13785 return resultobj;
13786 fail:
13787 {
13788 if (temp2)
13789 delete arg2;
13790 }
13791 return NULL;
13792 }
13793
13794
13795 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13796 PyObject *obj;
13797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13798 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13799 Py_INCREF(obj);
13800 return Py_BuildValue((char *)"");
13801 }
13802 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13803 PyObject *resultobj;
13804 int arg1 = (int) 0 ;
13805 wxFindReplaceData *result;
13806 PyObject * obj0 = 0 ;
13807 char *kwnames[] = {
13808 (char *) "flags", NULL
13809 };
13810
13811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13812 if (obj0) {
13813 arg1 = (int) SWIG_AsInt(obj0);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13819
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13824 return resultobj;
13825 fail:
13826 return NULL;
13827 }
13828
13829
13830 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13831 PyObject *resultobj;
13832 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13833 PyObject * obj0 = 0 ;
13834 char *kwnames[] = {
13835 (char *) "self", NULL
13836 };
13837
13838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13841 {
13842 PyThreadState* __tstate = wxPyBeginAllowThreads();
13843 delete arg1;
13844
13845 wxPyEndAllowThreads(__tstate);
13846 if (PyErr_Occurred()) SWIG_fail;
13847 }
13848 Py_INCREF(Py_None); resultobj = Py_None;
13849 return resultobj;
13850 fail:
13851 return NULL;
13852 }
13853
13854
13855 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13856 PyObject *resultobj;
13857 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13858 wxString *result;
13859 PyObject * obj0 = 0 ;
13860 char *kwnames[] = {
13861 (char *) "self", NULL
13862 };
13863
13864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13867 {
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
13869 {
13870 wxString const &_result_ref = (arg1)->GetFindString();
13871 result = (wxString *) &_result_ref;
13872 }
13873
13874 wxPyEndAllowThreads(__tstate);
13875 if (PyErr_Occurred()) SWIG_fail;
13876 }
13877 {
13878 #if wxUSE_UNICODE
13879 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13880 #else
13881 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13882 #endif
13883 }
13884 return resultobj;
13885 fail:
13886 return NULL;
13887 }
13888
13889
13890 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13891 PyObject *resultobj;
13892 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13893 wxString *result;
13894 PyObject * obj0 = 0 ;
13895 char *kwnames[] = {
13896 (char *) "self", NULL
13897 };
13898
13899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13902 {
13903 PyThreadState* __tstate = wxPyBeginAllowThreads();
13904 {
13905 wxString const &_result_ref = (arg1)->GetReplaceString();
13906 result = (wxString *) &_result_ref;
13907 }
13908
13909 wxPyEndAllowThreads(__tstate);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 {
13913 #if wxUSE_UNICODE
13914 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13915 #else
13916 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13917 #endif
13918 }
13919 return resultobj;
13920 fail:
13921 return NULL;
13922 }
13923
13924
13925 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13926 PyObject *resultobj;
13927 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13928 int result;
13929 PyObject * obj0 = 0 ;
13930 char *kwnames[] = {
13931 (char *) "self", NULL
13932 };
13933
13934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13937 {
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
13939 result = (int)(arg1)->GetFlags();
13940
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 resultobj = SWIG_FromInt((int)result);
13945 return resultobj;
13946 fail:
13947 return NULL;
13948 }
13949
13950
13951 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13952 PyObject *resultobj;
13953 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13954 int arg2 ;
13955 PyObject * obj0 = 0 ;
13956 PyObject * obj1 = 0 ;
13957 char *kwnames[] = {
13958 (char *) "self",(char *) "flags", NULL
13959 };
13960
13961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13964 arg2 = (int) SWIG_AsInt(obj1);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 {
13967 PyThreadState* __tstate = wxPyBeginAllowThreads();
13968 (arg1)->SetFlags(arg2);
13969
13970 wxPyEndAllowThreads(__tstate);
13971 if (PyErr_Occurred()) SWIG_fail;
13972 }
13973 Py_INCREF(Py_None); resultobj = Py_None;
13974 return resultobj;
13975 fail:
13976 return NULL;
13977 }
13978
13979
13980 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13981 PyObject *resultobj;
13982 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13983 wxString *arg2 = 0 ;
13984 bool temp2 = False ;
13985 PyObject * obj0 = 0 ;
13986 PyObject * obj1 = 0 ;
13987 char *kwnames[] = {
13988 (char *) "self",(char *) "str", NULL
13989 };
13990
13991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13994 {
13995 arg2 = wxString_in_helper(obj1);
13996 if (arg2 == NULL) SWIG_fail;
13997 temp2 = True;
13998 }
13999 {
14000 PyThreadState* __tstate = wxPyBeginAllowThreads();
14001 (arg1)->SetFindString((wxString const &)*arg2);
14002
14003 wxPyEndAllowThreads(__tstate);
14004 if (PyErr_Occurred()) SWIG_fail;
14005 }
14006 Py_INCREF(Py_None); resultobj = Py_None;
14007 {
14008 if (temp2)
14009 delete arg2;
14010 }
14011 return resultobj;
14012 fail:
14013 {
14014 if (temp2)
14015 delete arg2;
14016 }
14017 return NULL;
14018 }
14019
14020
14021 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14022 PyObject *resultobj;
14023 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14024 wxString *arg2 = 0 ;
14025 bool temp2 = False ;
14026 PyObject * obj0 = 0 ;
14027 PyObject * obj1 = 0 ;
14028 char *kwnames[] = {
14029 (char *) "self",(char *) "str", NULL
14030 };
14031
14032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14035 {
14036 arg2 = wxString_in_helper(obj1);
14037 if (arg2 == NULL) SWIG_fail;
14038 temp2 = True;
14039 }
14040 {
14041 PyThreadState* __tstate = wxPyBeginAllowThreads();
14042 (arg1)->SetReplaceString((wxString const &)*arg2);
14043
14044 wxPyEndAllowThreads(__tstate);
14045 if (PyErr_Occurred()) SWIG_fail;
14046 }
14047 Py_INCREF(Py_None); resultobj = Py_None;
14048 {
14049 if (temp2)
14050 delete arg2;
14051 }
14052 return resultobj;
14053 fail:
14054 {
14055 if (temp2)
14056 delete arg2;
14057 }
14058 return NULL;
14059 }
14060
14061
14062 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14063 PyObject *obj;
14064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14065 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14066 Py_INCREF(obj);
14067 return Py_BuildValue((char *)"");
14068 }
14069 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14070 PyObject *resultobj;
14071 wxWindow *arg1 = (wxWindow *) 0 ;
14072 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14073 wxString *arg3 = 0 ;
14074 int arg4 = (int) 0 ;
14075 wxFindReplaceDialog *result;
14076 bool temp3 = False ;
14077 PyObject * obj0 = 0 ;
14078 PyObject * obj1 = 0 ;
14079 PyObject * obj2 = 0 ;
14080 PyObject * obj3 = 0 ;
14081 char *kwnames[] = {
14082 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14083 };
14084
14085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14090 {
14091 arg3 = wxString_in_helper(obj2);
14092 if (arg3 == NULL) SWIG_fail;
14093 temp3 = True;
14094 }
14095 if (obj3) {
14096 arg4 = (int) SWIG_AsInt(obj3);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 {
14100 PyThreadState* __tstate = wxPyBeginAllowThreads();
14101 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14102
14103 wxPyEndAllowThreads(__tstate);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 }
14106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14107 {
14108 if (temp3)
14109 delete arg3;
14110 }
14111 return resultobj;
14112 fail:
14113 {
14114 if (temp3)
14115 delete arg3;
14116 }
14117 return NULL;
14118 }
14119
14120
14121 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14122 PyObject *resultobj;
14123 wxFindReplaceDialog *result;
14124 char *kwnames[] = {
14125 NULL
14126 };
14127
14128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14129 {
14130 PyThreadState* __tstate = wxPyBeginAllowThreads();
14131 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14132
14133 wxPyEndAllowThreads(__tstate);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 }
14136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14137 return resultobj;
14138 fail:
14139 return NULL;
14140 }
14141
14142
14143 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14144 PyObject *resultobj;
14145 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14146 wxWindow *arg2 = (wxWindow *) 0 ;
14147 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14148 wxString *arg4 = 0 ;
14149 int arg5 = (int) 0 ;
14150 bool result;
14151 bool temp4 = False ;
14152 PyObject * obj0 = 0 ;
14153 PyObject * obj1 = 0 ;
14154 PyObject * obj2 = 0 ;
14155 PyObject * obj3 = 0 ;
14156 PyObject * obj4 = 0 ;
14157 char *kwnames[] = {
14158 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14159 };
14160
14161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14166 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14168 {
14169 arg4 = wxString_in_helper(obj3);
14170 if (arg4 == NULL) SWIG_fail;
14171 temp4 = True;
14172 }
14173 if (obj4) {
14174 arg5 = (int) SWIG_AsInt(obj4);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 }
14177 {
14178 PyThreadState* __tstate = wxPyBeginAllowThreads();
14179 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14180
14181 wxPyEndAllowThreads(__tstate);
14182 if (PyErr_Occurred()) SWIG_fail;
14183 }
14184 {
14185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14186 }
14187 {
14188 if (temp4)
14189 delete arg4;
14190 }
14191 return resultobj;
14192 fail:
14193 {
14194 if (temp4)
14195 delete arg4;
14196 }
14197 return NULL;
14198 }
14199
14200
14201 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14204 wxFindReplaceData *result;
14205 PyObject * obj0 = 0 ;
14206 char *kwnames[] = {
14207 (char *) "self", NULL
14208 };
14209
14210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14213 {
14214 PyThreadState* __tstate = wxPyBeginAllowThreads();
14215 result = (wxFindReplaceData *)(arg1)->GetData();
14216
14217 wxPyEndAllowThreads(__tstate);
14218 if (PyErr_Occurred()) SWIG_fail;
14219 }
14220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14221 return resultobj;
14222 fail:
14223 return NULL;
14224 }
14225
14226
14227 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14228 PyObject *resultobj;
14229 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14230 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14231 PyObject * obj0 = 0 ;
14232 PyObject * obj1 = 0 ;
14233 char *kwnames[] = {
14234 (char *) "self",(char *) "data", NULL
14235 };
14236
14237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14242 {
14243 PyThreadState* __tstate = wxPyBeginAllowThreads();
14244 (arg1)->SetData(arg2);
14245
14246 wxPyEndAllowThreads(__tstate);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 Py_INCREF(Py_None); resultobj = Py_None;
14250 return resultobj;
14251 fail:
14252 return NULL;
14253 }
14254
14255
14256 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14257 PyObject *obj;
14258 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14259 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14260 Py_INCREF(obj);
14261 return Py_BuildValue((char *)"");
14262 }
14263 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14264 PyObject *resultobj;
14265 wxWindow *arg1 = (wxWindow *) 0 ;
14266 int arg2 ;
14267 wxString *arg3 = 0 ;
14268 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14269 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14270 wxSize const &arg5_defvalue = wxDefaultSize ;
14271 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14272 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14273 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14274 wxString *arg7 = (wxString *) &arg7_defvalue ;
14275 wxMDIParentFrame *result;
14276 bool temp3 = False ;
14277 wxPoint temp4 ;
14278 wxSize temp5 ;
14279 bool temp7 = False ;
14280 PyObject * obj0 = 0 ;
14281 PyObject * obj1 = 0 ;
14282 PyObject * obj2 = 0 ;
14283 PyObject * obj3 = 0 ;
14284 PyObject * obj4 = 0 ;
14285 PyObject * obj5 = 0 ;
14286 PyObject * obj6 = 0 ;
14287 char *kwnames[] = {
14288 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14289 };
14290
14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14294 arg2 = (int const) SWIG_AsInt(obj1);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 {
14297 arg3 = wxString_in_helper(obj2);
14298 if (arg3 == NULL) SWIG_fail;
14299 temp3 = True;
14300 }
14301 if (obj3) {
14302 {
14303 arg4 = &temp4;
14304 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14305 }
14306 }
14307 if (obj4) {
14308 {
14309 arg5 = &temp5;
14310 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14311 }
14312 }
14313 if (obj5) {
14314 arg6 = (long) SWIG_AsLong(obj5);
14315 if (PyErr_Occurred()) SWIG_fail;
14316 }
14317 if (obj6) {
14318 {
14319 arg7 = wxString_in_helper(obj6);
14320 if (arg7 == NULL) SWIG_fail;
14321 temp7 = True;
14322 }
14323 }
14324 {
14325 PyThreadState* __tstate = wxPyBeginAllowThreads();
14326 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14327
14328 wxPyEndAllowThreads(__tstate);
14329 if (PyErr_Occurred()) SWIG_fail;
14330 }
14331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14332 {
14333 if (temp3)
14334 delete arg3;
14335 }
14336 {
14337 if (temp7)
14338 delete arg7;
14339 }
14340 return resultobj;
14341 fail:
14342 {
14343 if (temp3)
14344 delete arg3;
14345 }
14346 {
14347 if (temp7)
14348 delete arg7;
14349 }
14350 return NULL;
14351 }
14352
14353
14354 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj;
14356 wxMDIParentFrame *result;
14357 char *kwnames[] = {
14358 NULL
14359 };
14360
14361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14362 {
14363 PyThreadState* __tstate = wxPyBeginAllowThreads();
14364 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14365
14366 wxPyEndAllowThreads(__tstate);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 }
14369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14370 return resultobj;
14371 fail:
14372 return NULL;
14373 }
14374
14375
14376 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14377 PyObject *resultobj;
14378 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14379 wxWindow *arg2 = (wxWindow *) 0 ;
14380 int arg3 ;
14381 wxString *arg4 = 0 ;
14382 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14383 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14384 wxSize const &arg6_defvalue = wxDefaultSize ;
14385 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14386 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14387 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14388 wxString *arg8 = (wxString *) &arg8_defvalue ;
14389 bool result;
14390 bool temp4 = False ;
14391 wxPoint temp5 ;
14392 wxSize temp6 ;
14393 bool temp8 = False ;
14394 PyObject * obj0 = 0 ;
14395 PyObject * obj1 = 0 ;
14396 PyObject * obj2 = 0 ;
14397 PyObject * obj3 = 0 ;
14398 PyObject * obj4 = 0 ;
14399 PyObject * obj5 = 0 ;
14400 PyObject * obj6 = 0 ;
14401 PyObject * obj7 = 0 ;
14402 char *kwnames[] = {
14403 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14404 };
14405
14406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14411 arg3 = (int const) SWIG_AsInt(obj2);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 {
14414 arg4 = wxString_in_helper(obj3);
14415 if (arg4 == NULL) SWIG_fail;
14416 temp4 = True;
14417 }
14418 if (obj4) {
14419 {
14420 arg5 = &temp5;
14421 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14422 }
14423 }
14424 if (obj5) {
14425 {
14426 arg6 = &temp6;
14427 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14428 }
14429 }
14430 if (obj6) {
14431 arg7 = (long) SWIG_AsLong(obj6);
14432 if (PyErr_Occurred()) SWIG_fail;
14433 }
14434 if (obj7) {
14435 {
14436 arg8 = wxString_in_helper(obj7);
14437 if (arg8 == NULL) SWIG_fail;
14438 temp8 = True;
14439 }
14440 }
14441 {
14442 PyThreadState* __tstate = wxPyBeginAllowThreads();
14443 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14444
14445 wxPyEndAllowThreads(__tstate);
14446 if (PyErr_Occurred()) SWIG_fail;
14447 }
14448 {
14449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14450 }
14451 {
14452 if (temp4)
14453 delete arg4;
14454 }
14455 {
14456 if (temp8)
14457 delete arg8;
14458 }
14459 return resultobj;
14460 fail:
14461 {
14462 if (temp4)
14463 delete arg4;
14464 }
14465 {
14466 if (temp8)
14467 delete arg8;
14468 }
14469 return NULL;
14470 }
14471
14472
14473 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14474 PyObject *resultobj;
14475 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14476 PyObject * obj0 = 0 ;
14477 char *kwnames[] = {
14478 (char *) "self", NULL
14479 };
14480
14481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14484 {
14485 PyThreadState* __tstate = wxPyBeginAllowThreads();
14486 (arg1)->ActivateNext();
14487
14488 wxPyEndAllowThreads(__tstate);
14489 if (PyErr_Occurred()) SWIG_fail;
14490 }
14491 Py_INCREF(Py_None); resultobj = Py_None;
14492 return resultobj;
14493 fail:
14494 return NULL;
14495 }
14496
14497
14498 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14499 PyObject *resultobj;
14500 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14501 PyObject * obj0 = 0 ;
14502 char *kwnames[] = {
14503 (char *) "self", NULL
14504 };
14505
14506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14509 {
14510 PyThreadState* __tstate = wxPyBeginAllowThreads();
14511 (arg1)->ActivatePrevious();
14512
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 Py_INCREF(Py_None); resultobj = Py_None;
14517 return resultobj;
14518 fail:
14519 return NULL;
14520 }
14521
14522
14523 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14524 PyObject *resultobj;
14525 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14526 PyObject * obj0 = 0 ;
14527 char *kwnames[] = {
14528 (char *) "self", NULL
14529 };
14530
14531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 (arg1)->ArrangeIcons();
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 Py_INCREF(Py_None); resultobj = Py_None;
14542 return resultobj;
14543 fail:
14544 return NULL;
14545 }
14546
14547
14548 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14549 PyObject *resultobj;
14550 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14551 PyObject * obj0 = 0 ;
14552 char *kwnames[] = {
14553 (char *) "self", NULL
14554 };
14555
14556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 (arg1)->Cascade();
14562
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 Py_INCREF(Py_None); resultobj = Py_None;
14567 return resultobj;
14568 fail:
14569 return NULL;
14570 }
14571
14572
14573 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14574 PyObject *resultobj;
14575 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14576 wxMDIChildFrame *result;
14577 PyObject * obj0 = 0 ;
14578 char *kwnames[] = {
14579 (char *) "self", NULL
14580 };
14581
14582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14588
14589 wxPyEndAllowThreads(__tstate);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 {
14593 resultobj = wxPyMake_wxObject(result);
14594 }
14595 return resultobj;
14596 fail:
14597 return NULL;
14598 }
14599
14600
14601 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj;
14603 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14604 wxMDIClientWindow *result;
14605 PyObject * obj0 = 0 ;
14606 char *kwnames[] = {
14607 (char *) "self", NULL
14608 };
14609
14610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14613 {
14614 PyThreadState* __tstate = wxPyBeginAllowThreads();
14615 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14616
14617 wxPyEndAllowThreads(__tstate);
14618 if (PyErr_Occurred()) SWIG_fail;
14619 }
14620 {
14621 resultobj = wxPyMake_wxObject(result);
14622 }
14623 return resultobj;
14624 fail:
14625 return NULL;
14626 }
14627
14628
14629 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14630 PyObject *resultobj;
14631 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14632 wxWindow *result;
14633 PyObject * obj0 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self", NULL
14636 };
14637
14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14641 {
14642 PyThreadState* __tstate = wxPyBeginAllowThreads();
14643 result = (wxWindow *)(arg1)->GetToolBar();
14644
14645 wxPyEndAllowThreads(__tstate);
14646 if (PyErr_Occurred()) SWIG_fail;
14647 }
14648 {
14649 resultobj = wxPyMake_wxObject(result);
14650 }
14651 return resultobj;
14652 fail:
14653 return NULL;
14654 }
14655
14656
14657 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14658 PyObject *resultobj;
14659 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14660 wxMenu *result;
14661 PyObject * obj0 = 0 ;
14662 char *kwnames[] = {
14663 (char *) "self", NULL
14664 };
14665
14666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
14667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14669 {
14670 PyThreadState* __tstate = wxPyBeginAllowThreads();
14671 result = (wxMenu *)(arg1)->GetWindowMenu();
14672
14673 wxPyEndAllowThreads(__tstate);
14674 if (PyErr_Occurred()) SWIG_fail;
14675 }
14676 {
14677 resultobj = wxPyMake_wxObject(result);
14678 }
14679 return resultobj;
14680 fail:
14681 return NULL;
14682 }
14683
14684
14685 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14686 PyObject *resultobj;
14687 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14688 wxMenu *arg2 = (wxMenu *) 0 ;
14689 PyObject * obj0 = 0 ;
14690 PyObject * obj1 = 0 ;
14691 char *kwnames[] = {
14692 (char *) "self",(char *) "menu", NULL
14693 };
14694
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
14696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
14699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14700 {
14701 PyThreadState* __tstate = wxPyBeginAllowThreads();
14702 (arg1)->SetWindowMenu(arg2);
14703
14704 wxPyEndAllowThreads(__tstate);
14705 if (PyErr_Occurred()) SWIG_fail;
14706 }
14707 Py_INCREF(Py_None); resultobj = Py_None;
14708 return resultobj;
14709 fail:
14710 return NULL;
14711 }
14712
14713
14714 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14715 PyObject *resultobj;
14716 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14717 wxToolBar *arg2 = (wxToolBar *) 0 ;
14718 PyObject * obj0 = 0 ;
14719 PyObject * obj1 = 0 ;
14720 char *kwnames[] = {
14721 (char *) "self",(char *) "toolbar", NULL
14722 };
14723
14724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
14725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
14728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 (arg1)->SetToolBar(arg2);
14732
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 Py_INCREF(Py_None); resultobj = Py_None;
14737 return resultobj;
14738 fail:
14739 return NULL;
14740 }
14741
14742
14743 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14744 PyObject *resultobj;
14745 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14746 PyObject * obj0 = 0 ;
14747 char *kwnames[] = {
14748 (char *) "self", NULL
14749 };
14750
14751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14754 {
14755 PyThreadState* __tstate = wxPyBeginAllowThreads();
14756 (arg1)->Tile();
14757
14758 wxPyEndAllowThreads(__tstate);
14759 if (PyErr_Occurred()) SWIG_fail;
14760 }
14761 Py_INCREF(Py_None); resultobj = Py_None;
14762 return resultobj;
14763 fail:
14764 return NULL;
14765 }
14766
14767
14768 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14769 PyObject *obj;
14770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14771 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14772 Py_INCREF(obj);
14773 return Py_BuildValue((char *)"");
14774 }
14775 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14776 PyObject *resultobj;
14777 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14778 int arg2 ;
14779 wxString *arg3 = 0 ;
14780 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14781 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14782 wxSize const &arg5_defvalue = wxDefaultSize ;
14783 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14784 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14785 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14786 wxString *arg7 = (wxString *) &arg7_defvalue ;
14787 wxMDIChildFrame *result;
14788 bool temp3 = False ;
14789 wxPoint temp4 ;
14790 wxSize temp5 ;
14791 bool temp7 = False ;
14792 PyObject * obj0 = 0 ;
14793 PyObject * obj1 = 0 ;
14794 PyObject * obj2 = 0 ;
14795 PyObject * obj3 = 0 ;
14796 PyObject * obj4 = 0 ;
14797 PyObject * obj5 = 0 ;
14798 PyObject * obj6 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14806 arg2 = (int const) SWIG_AsInt(obj1);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 {
14809 arg3 = wxString_in_helper(obj2);
14810 if (arg3 == NULL) SWIG_fail;
14811 temp3 = True;
14812 }
14813 if (obj3) {
14814 {
14815 arg4 = &temp4;
14816 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14817 }
14818 }
14819 if (obj4) {
14820 {
14821 arg5 = &temp5;
14822 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14823 }
14824 }
14825 if (obj5) {
14826 arg6 = (long) SWIG_AsLong(obj5);
14827 if (PyErr_Occurred()) SWIG_fail;
14828 }
14829 if (obj6) {
14830 {
14831 arg7 = wxString_in_helper(obj6);
14832 if (arg7 == NULL) SWIG_fail;
14833 temp7 = True;
14834 }
14835 }
14836 {
14837 PyThreadState* __tstate = wxPyBeginAllowThreads();
14838 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14839
14840 wxPyEndAllowThreads(__tstate);
14841 if (PyErr_Occurred()) SWIG_fail;
14842 }
14843 {
14844 resultobj = wxPyMake_wxObject(result);
14845 }
14846 {
14847 if (temp3)
14848 delete arg3;
14849 }
14850 {
14851 if (temp7)
14852 delete arg7;
14853 }
14854 return resultobj;
14855 fail:
14856 {
14857 if (temp3)
14858 delete arg3;
14859 }
14860 {
14861 if (temp7)
14862 delete arg7;
14863 }
14864 return NULL;
14865 }
14866
14867
14868 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14869 PyObject *resultobj;
14870 wxMDIChildFrame *result;
14871 char *kwnames[] = {
14872 NULL
14873 };
14874
14875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14876 {
14877 PyThreadState* __tstate = wxPyBeginAllowThreads();
14878 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14879
14880 wxPyEndAllowThreads(__tstate);
14881 if (PyErr_Occurred()) SWIG_fail;
14882 }
14883 {
14884 resultobj = wxPyMake_wxObject(result);
14885 }
14886 return resultobj;
14887 fail:
14888 return NULL;
14889 }
14890
14891
14892 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14893 PyObject *resultobj;
14894 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14895 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14896 int arg3 ;
14897 wxString *arg4 = 0 ;
14898 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14899 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14900 wxSize const &arg6_defvalue = wxDefaultSize ;
14901 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14902 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14903 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14904 wxString *arg8 = (wxString *) &arg8_defvalue ;
14905 bool result;
14906 bool temp4 = False ;
14907 wxPoint temp5 ;
14908 wxSize temp6 ;
14909 bool temp8 = False ;
14910 PyObject * obj0 = 0 ;
14911 PyObject * obj1 = 0 ;
14912 PyObject * obj2 = 0 ;
14913 PyObject * obj3 = 0 ;
14914 PyObject * obj4 = 0 ;
14915 PyObject * obj5 = 0 ;
14916 PyObject * obj6 = 0 ;
14917 PyObject * obj7 = 0 ;
14918 char *kwnames[] = {
14919 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14920 };
14921
14922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14927 arg3 = (int const) SWIG_AsInt(obj2);
14928 if (PyErr_Occurred()) SWIG_fail;
14929 {
14930 arg4 = wxString_in_helper(obj3);
14931 if (arg4 == NULL) SWIG_fail;
14932 temp4 = True;
14933 }
14934 if (obj4) {
14935 {
14936 arg5 = &temp5;
14937 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14938 }
14939 }
14940 if (obj5) {
14941 {
14942 arg6 = &temp6;
14943 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14944 }
14945 }
14946 if (obj6) {
14947 arg7 = (long) SWIG_AsLong(obj6);
14948 if (PyErr_Occurred()) SWIG_fail;
14949 }
14950 if (obj7) {
14951 {
14952 arg8 = wxString_in_helper(obj7);
14953 if (arg8 == NULL) SWIG_fail;
14954 temp8 = True;
14955 }
14956 }
14957 {
14958 PyThreadState* __tstate = wxPyBeginAllowThreads();
14959 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14960
14961 wxPyEndAllowThreads(__tstate);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 {
14965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14966 }
14967 {
14968 if (temp4)
14969 delete arg4;
14970 }
14971 {
14972 if (temp8)
14973 delete arg8;
14974 }
14975 return resultobj;
14976 fail:
14977 {
14978 if (temp4)
14979 delete arg4;
14980 }
14981 {
14982 if (temp8)
14983 delete arg8;
14984 }
14985 return NULL;
14986 }
14987
14988
14989 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14990 PyObject *resultobj;
14991 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14992 PyObject * obj0 = 0 ;
14993 char *kwnames[] = {
14994 (char *) "self", NULL
14995 };
14996
14997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15000 {
15001 PyThreadState* __tstate = wxPyBeginAllowThreads();
15002 (arg1)->Activate();
15003
15004 wxPyEndAllowThreads(__tstate);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
15007 Py_INCREF(Py_None); resultobj = Py_None;
15008 return resultobj;
15009 fail:
15010 return NULL;
15011 }
15012
15013
15014 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15015 PyObject *resultobj;
15016 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15017 bool arg2 ;
15018 PyObject * obj0 = 0 ;
15019 PyObject * obj1 = 0 ;
15020 char *kwnames[] = {
15021 (char *) "self",(char *) "maximize", NULL
15022 };
15023
15024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15027 arg2 = (bool) SWIG_AsBool(obj1);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 {
15030 PyThreadState* __tstate = wxPyBeginAllowThreads();
15031 (arg1)->Maximize(arg2);
15032
15033 wxPyEndAllowThreads(__tstate);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
15036 Py_INCREF(Py_None); resultobj = Py_None;
15037 return resultobj;
15038 fail:
15039 return NULL;
15040 }
15041
15042
15043 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15044 PyObject *resultobj;
15045 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15046 PyObject * obj0 = 0 ;
15047 char *kwnames[] = {
15048 (char *) "self", NULL
15049 };
15050
15051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15054 {
15055 PyThreadState* __tstate = wxPyBeginAllowThreads();
15056 (arg1)->Restore();
15057
15058 wxPyEndAllowThreads(__tstate);
15059 if (PyErr_Occurred()) SWIG_fail;
15060 }
15061 Py_INCREF(Py_None); resultobj = Py_None;
15062 return resultobj;
15063 fail:
15064 return NULL;
15065 }
15066
15067
15068 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15069 PyObject *obj;
15070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15071 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15072 Py_INCREF(obj);
15073 return Py_BuildValue((char *)"");
15074 }
15075 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15076 PyObject *resultobj;
15077 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15078 long arg2 = (long) 0 ;
15079 wxMDIClientWindow *result;
15080 PyObject * obj0 = 0 ;
15081 PyObject * obj1 = 0 ;
15082 char *kwnames[] = {
15083 (char *) "parent",(char *) "style", NULL
15084 };
15085
15086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15089 if (obj1) {
15090 arg2 = (long) SWIG_AsLong(obj1);
15091 if (PyErr_Occurred()) SWIG_fail;
15092 }
15093 {
15094 PyThreadState* __tstate = wxPyBeginAllowThreads();
15095 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15096
15097 wxPyEndAllowThreads(__tstate);
15098 if (PyErr_Occurred()) SWIG_fail;
15099 }
15100 {
15101 resultobj = wxPyMake_wxObject(result);
15102 }
15103 return resultobj;
15104 fail:
15105 return NULL;
15106 }
15107
15108
15109 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15110 PyObject *resultobj;
15111 wxMDIClientWindow *result;
15112 char *kwnames[] = {
15113 NULL
15114 };
15115
15116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15117 {
15118 PyThreadState* __tstate = wxPyBeginAllowThreads();
15119 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15120
15121 wxPyEndAllowThreads(__tstate);
15122 if (PyErr_Occurred()) SWIG_fail;
15123 }
15124 {
15125 resultobj = wxPyMake_wxObject(result);
15126 }
15127 return resultobj;
15128 fail:
15129 return NULL;
15130 }
15131
15132
15133 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15134 PyObject *resultobj;
15135 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15136 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15137 long arg3 = (long) 0 ;
15138 bool result;
15139 PyObject * obj0 = 0 ;
15140 PyObject * obj1 = 0 ;
15141 PyObject * obj2 = 0 ;
15142 char *kwnames[] = {
15143 (char *) "self",(char *) "parent",(char *) "style", NULL
15144 };
15145
15146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15149 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15151 if (obj2) {
15152 arg3 = (long) SWIG_AsLong(obj2);
15153 if (PyErr_Occurred()) SWIG_fail;
15154 }
15155 {
15156 PyThreadState* __tstate = wxPyBeginAllowThreads();
15157 result = (bool)(arg1)->Create(arg2,arg3);
15158
15159 wxPyEndAllowThreads(__tstate);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
15162 {
15163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15164 }
15165 return resultobj;
15166 fail:
15167 return NULL;
15168 }
15169
15170
15171 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15172 PyObject *obj;
15173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15174 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15175 Py_INCREF(obj);
15176 return Py_BuildValue((char *)"");
15177 }
15178 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15179 PyObject *resultobj;
15180 wxWindow *arg1 = (wxWindow *) 0 ;
15181 int arg2 ;
15182 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15183 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15184 wxSize const &arg4_defvalue = wxDefaultSize ;
15185 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15186 long arg5 = (long) 0 ;
15187 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15188 wxString *arg6 = (wxString *) &arg6_defvalue ;
15189 wxPyWindow *result;
15190 wxPoint temp3 ;
15191 wxSize temp4 ;
15192 bool temp6 = False ;
15193 PyObject * obj0 = 0 ;
15194 PyObject * obj1 = 0 ;
15195 PyObject * obj2 = 0 ;
15196 PyObject * obj3 = 0 ;
15197 PyObject * obj4 = 0 ;
15198 PyObject * obj5 = 0 ;
15199 char *kwnames[] = {
15200 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15201 };
15202
15203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15206 arg2 = (int const) SWIG_AsInt(obj1);
15207 if (PyErr_Occurred()) SWIG_fail;
15208 if (obj2) {
15209 {
15210 arg3 = &temp3;
15211 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15212 }
15213 }
15214 if (obj3) {
15215 {
15216 arg4 = &temp4;
15217 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15218 }
15219 }
15220 if (obj4) {
15221 arg5 = (long) SWIG_AsLong(obj4);
15222 if (PyErr_Occurred()) SWIG_fail;
15223 }
15224 if (obj5) {
15225 {
15226 arg6 = wxString_in_helper(obj5);
15227 if (arg6 == NULL) SWIG_fail;
15228 temp6 = True;
15229 }
15230 }
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15234
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15239 {
15240 if (temp6)
15241 delete arg6;
15242 }
15243 return resultobj;
15244 fail:
15245 {
15246 if (temp6)
15247 delete arg6;
15248 }
15249 return NULL;
15250 }
15251
15252
15253 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15254 PyObject *resultobj;
15255 wxPyWindow *result;
15256 char *kwnames[] = {
15257 NULL
15258 };
15259
15260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (wxPyWindow *)new wxPyWindow();
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj;
15277 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15278 PyObject *arg2 = (PyObject *) 0 ;
15279 PyObject *arg3 = (PyObject *) 0 ;
15280 PyObject * obj0 = 0 ;
15281 PyObject * obj1 = 0 ;
15282 PyObject * obj2 = 0 ;
15283 char *kwnames[] = {
15284 (char *) "self",(char *) "self",(char *) "_class", NULL
15285 };
15286
15287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15290 arg2 = obj1;
15291 arg3 = obj2;
15292 {
15293 PyThreadState* __tstate = wxPyBeginAllowThreads();
15294 (arg1)->_setCallbackInfo(arg2,arg3);
15295
15296 wxPyEndAllowThreads(__tstate);
15297 if (PyErr_Occurred()) SWIG_fail;
15298 }
15299 Py_INCREF(Py_None); resultobj = Py_None;
15300 return resultobj;
15301 fail:
15302 return NULL;
15303 }
15304
15305
15306 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15307 PyObject *resultobj;
15308 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15309 int arg2 ;
15310 int arg3 ;
15311 int arg4 ;
15312 int arg5 ;
15313 PyObject * obj0 = 0 ;
15314 PyObject * obj1 = 0 ;
15315 PyObject * obj2 = 0 ;
15316 PyObject * obj3 = 0 ;
15317 PyObject * obj4 = 0 ;
15318 char *kwnames[] = {
15319 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15320 };
15321
15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15325 arg2 = (int) SWIG_AsInt(obj1);
15326 if (PyErr_Occurred()) SWIG_fail;
15327 arg3 = (int) SWIG_AsInt(obj2);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 arg4 = (int) SWIG_AsInt(obj3);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 arg5 = (int) SWIG_AsInt(obj4);
15332 if (PyErr_Occurred()) SWIG_fail;
15333 {
15334 PyThreadState* __tstate = wxPyBeginAllowThreads();
15335 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15336
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 Py_INCREF(Py_None); resultobj = Py_None;
15341 return resultobj;
15342 fail:
15343 return NULL;
15344 }
15345
15346
15347 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15348 PyObject *resultobj;
15349 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15350 int arg2 ;
15351 int arg3 ;
15352 int arg4 ;
15353 int arg5 ;
15354 int arg6 = (int) wxSIZE_AUTO ;
15355 PyObject * obj0 = 0 ;
15356 PyObject * obj1 = 0 ;
15357 PyObject * obj2 = 0 ;
15358 PyObject * obj3 = 0 ;
15359 PyObject * obj4 = 0 ;
15360 PyObject * obj5 = 0 ;
15361 char *kwnames[] = {
15362 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15363 };
15364
15365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15368 arg2 = (int) SWIG_AsInt(obj1);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 arg3 = (int) SWIG_AsInt(obj2);
15371 if (PyErr_Occurred()) SWIG_fail;
15372 arg4 = (int) SWIG_AsInt(obj3);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 arg5 = (int) SWIG_AsInt(obj4);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 if (obj5) {
15377 arg6 = (int) SWIG_AsInt(obj5);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 }
15380 {
15381 PyThreadState* __tstate = wxPyBeginAllowThreads();
15382 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15383
15384 wxPyEndAllowThreads(__tstate);
15385 if (PyErr_Occurred()) SWIG_fail;
15386 }
15387 Py_INCREF(Py_None); resultobj = Py_None;
15388 return resultobj;
15389 fail:
15390 return NULL;
15391 }
15392
15393
15394 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15395 PyObject *resultobj;
15396 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15397 int arg2 ;
15398 int arg3 ;
15399 PyObject * obj0 = 0 ;
15400 PyObject * obj1 = 0 ;
15401 PyObject * obj2 = 0 ;
15402 char *kwnames[] = {
15403 (char *) "self",(char *) "width",(char *) "height", NULL
15404 };
15405
15406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15409 arg2 = (int) SWIG_AsInt(obj1);
15410 if (PyErr_Occurred()) SWIG_fail;
15411 arg3 = (int) SWIG_AsInt(obj2);
15412 if (PyErr_Occurred()) SWIG_fail;
15413 {
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 (arg1)->base_DoSetClientSize(arg2,arg3);
15416
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 Py_INCREF(Py_None); resultobj = Py_None;
15421 return resultobj;
15422 fail:
15423 return NULL;
15424 }
15425
15426
15427 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15428 PyObject *resultobj;
15429 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15430 int arg2 ;
15431 int arg3 ;
15432 PyObject * obj0 = 0 ;
15433 PyObject * obj1 = 0 ;
15434 PyObject * obj2 = 0 ;
15435 char *kwnames[] = {
15436 (char *) "self",(char *) "x",(char *) "y", NULL
15437 };
15438
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15442 arg2 = (int) SWIG_AsInt(obj1);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 arg3 = (int) SWIG_AsInt(obj2);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 {
15447 PyThreadState* __tstate = wxPyBeginAllowThreads();
15448 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15449
15450 wxPyEndAllowThreads(__tstate);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
15453 Py_INCREF(Py_None); resultobj = Py_None;
15454 return resultobj;
15455 fail:
15456 return NULL;
15457 }
15458
15459
15460 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj;
15462 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15463 int *arg2 = (int *) 0 ;
15464 int *arg3 = (int *) 0 ;
15465 int temp2 ;
15466 int temp3 ;
15467 PyObject * obj0 = 0 ;
15468 char *kwnames[] = {
15469 (char *) "self", NULL
15470 };
15471
15472 arg2 = &temp2;
15473 arg3 = &temp3;
15474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15477 {
15478 PyThreadState* __tstate = wxPyBeginAllowThreads();
15479 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15480
15481 wxPyEndAllowThreads(__tstate);
15482 if (PyErr_Occurred()) SWIG_fail;
15483 }
15484 Py_INCREF(Py_None); resultobj = Py_None;
15485 {
15486 PyObject *o = PyInt_FromLong((long) (*arg2));
15487 resultobj = t_output_helper(resultobj,o);
15488 }
15489 {
15490 PyObject *o = PyInt_FromLong((long) (*arg3));
15491 resultobj = t_output_helper(resultobj,o);
15492 }
15493 return resultobj;
15494 fail:
15495 return NULL;
15496 }
15497
15498
15499 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15500 PyObject *resultobj;
15501 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15502 int *arg2 = (int *) 0 ;
15503 int *arg3 = (int *) 0 ;
15504 int temp2 ;
15505 int temp3 ;
15506 PyObject * obj0 = 0 ;
15507 char *kwnames[] = {
15508 (char *) "self", NULL
15509 };
15510
15511 arg2 = &temp2;
15512 arg3 = &temp3;
15513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15516 {
15517 PyThreadState* __tstate = wxPyBeginAllowThreads();
15518 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15519
15520 wxPyEndAllowThreads(__tstate);
15521 if (PyErr_Occurred()) SWIG_fail;
15522 }
15523 Py_INCREF(Py_None); resultobj = Py_None;
15524 {
15525 PyObject *o = PyInt_FromLong((long) (*arg2));
15526 resultobj = t_output_helper(resultobj,o);
15527 }
15528 {
15529 PyObject *o = PyInt_FromLong((long) (*arg3));
15530 resultobj = t_output_helper(resultobj,o);
15531 }
15532 return resultobj;
15533 fail:
15534 return NULL;
15535 }
15536
15537
15538 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15539 PyObject *resultobj;
15540 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15541 int *arg2 = (int *) 0 ;
15542 int *arg3 = (int *) 0 ;
15543 int temp2 ;
15544 int temp3 ;
15545 PyObject * obj0 = 0 ;
15546 char *kwnames[] = {
15547 (char *) "self", NULL
15548 };
15549
15550 arg2 = &temp2;
15551 arg3 = &temp3;
15552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15558
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
15562 Py_INCREF(Py_None); resultobj = Py_None;
15563 {
15564 PyObject *o = PyInt_FromLong((long) (*arg2));
15565 resultobj = t_output_helper(resultobj,o);
15566 }
15567 {
15568 PyObject *o = PyInt_FromLong((long) (*arg3));
15569 resultobj = t_output_helper(resultobj,o);
15570 }
15571 return resultobj;
15572 fail:
15573 return NULL;
15574 }
15575
15576
15577 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15578 PyObject *resultobj;
15579 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15580 wxSize result;
15581 PyObject * obj0 = 0 ;
15582 char *kwnames[] = {
15583 (char *) "self", NULL
15584 };
15585
15586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15592
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 {
15597 wxSize * resultptr;
15598 resultptr = new wxSize((wxSize &) result);
15599 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15600 }
15601 return resultobj;
15602 fail:
15603 return NULL;
15604 }
15605
15606
15607 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15608 PyObject *resultobj;
15609 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15610 wxSize result;
15611 PyObject * obj0 = 0 ;
15612 char *kwnames[] = {
15613 (char *) "self", NULL
15614 };
15615
15616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15622
15623 wxPyEndAllowThreads(__tstate);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 {
15627 wxSize * resultptr;
15628 resultptr = new wxSize((wxSize &) result);
15629 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15630 }
15631 return resultobj;
15632 fail:
15633 return NULL;
15634 }
15635
15636
15637 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15638 PyObject *resultobj;
15639 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15640 PyObject * obj0 = 0 ;
15641 char *kwnames[] = {
15642 (char *) "self", NULL
15643 };
15644
15645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15648 {
15649 PyThreadState* __tstate = wxPyBeginAllowThreads();
15650 (arg1)->base_InitDialog();
15651
15652 wxPyEndAllowThreads(__tstate);
15653 if (PyErr_Occurred()) SWIG_fail;
15654 }
15655 Py_INCREF(Py_None); resultobj = Py_None;
15656 return resultobj;
15657 fail:
15658 return NULL;
15659 }
15660
15661
15662 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15663 PyObject *resultobj;
15664 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15665 bool result;
15666 PyObject * obj0 = 0 ;
15667 char *kwnames[] = {
15668 (char *) "self", NULL
15669 };
15670
15671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15674 {
15675 PyThreadState* __tstate = wxPyBeginAllowThreads();
15676 result = (bool)(arg1)->base_TransferDataToWindow();
15677
15678 wxPyEndAllowThreads(__tstate);
15679 if (PyErr_Occurred()) SWIG_fail;
15680 }
15681 {
15682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15683 }
15684 return resultobj;
15685 fail:
15686 return NULL;
15687 }
15688
15689
15690 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15691 PyObject *resultobj;
15692 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15693 bool result;
15694 PyObject * obj0 = 0 ;
15695 char *kwnames[] = {
15696 (char *) "self", NULL
15697 };
15698
15699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15702 {
15703 PyThreadState* __tstate = wxPyBeginAllowThreads();
15704 result = (bool)(arg1)->base_TransferDataFromWindow();
15705
15706 wxPyEndAllowThreads(__tstate);
15707 if (PyErr_Occurred()) SWIG_fail;
15708 }
15709 {
15710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15711 }
15712 return resultobj;
15713 fail:
15714 return NULL;
15715 }
15716
15717
15718 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15719 PyObject *resultobj;
15720 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15721 bool result;
15722 PyObject * obj0 = 0 ;
15723 char *kwnames[] = {
15724 (char *) "self", NULL
15725 };
15726
15727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15730 {
15731 PyThreadState* __tstate = wxPyBeginAllowThreads();
15732 result = (bool)(arg1)->base_Validate();
15733
15734 wxPyEndAllowThreads(__tstate);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 }
15737 {
15738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15739 }
15740 return resultobj;
15741 fail:
15742 return NULL;
15743 }
15744
15745
15746 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15747 PyObject *resultobj;
15748 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15749 bool result;
15750 PyObject * obj0 = 0 ;
15751 char *kwnames[] = {
15752 (char *) "self", NULL
15753 };
15754
15755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15761
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 {
15766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15767 }
15768 return resultobj;
15769 fail:
15770 return NULL;
15771 }
15772
15773
15774 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15775 PyObject *resultobj;
15776 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15777 bool result;
15778 PyObject * obj0 = 0 ;
15779 char *kwnames[] = {
15780 (char *) "self", NULL
15781 };
15782
15783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15786 {
15787 PyThreadState* __tstate = wxPyBeginAllowThreads();
15788 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15789
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 {
15794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15795 }
15796 return resultobj;
15797 fail:
15798 return NULL;
15799 }
15800
15801
15802 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15803 PyObject *resultobj;
15804 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15805 wxSize result;
15806 PyObject * obj0 = 0 ;
15807 char *kwnames[] = {
15808 (char *) "self", NULL
15809 };
15810
15811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15814 {
15815 PyThreadState* __tstate = wxPyBeginAllowThreads();
15816 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15817
15818 wxPyEndAllowThreads(__tstate);
15819 if (PyErr_Occurred()) SWIG_fail;
15820 }
15821 {
15822 wxSize * resultptr;
15823 resultptr = new wxSize((wxSize &) result);
15824 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15825 }
15826 return resultobj;
15827 fail:
15828 return NULL;
15829 }
15830
15831
15832 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15833 PyObject *resultobj;
15834 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15835 wxWindow *arg2 = (wxWindow *) 0 ;
15836 PyObject * obj0 = 0 ;
15837 PyObject * obj1 = 0 ;
15838 char *kwnames[] = {
15839 (char *) "self",(char *) "child", NULL
15840 };
15841
15842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15847 {
15848 PyThreadState* __tstate = wxPyBeginAllowThreads();
15849 (arg1)->base_AddChild(arg2);
15850
15851 wxPyEndAllowThreads(__tstate);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 }
15854 Py_INCREF(Py_None); resultobj = Py_None;
15855 return resultobj;
15856 fail:
15857 return NULL;
15858 }
15859
15860
15861 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15862 PyObject *resultobj;
15863 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15864 wxWindow *arg2 = (wxWindow *) 0 ;
15865 PyObject * obj0 = 0 ;
15866 PyObject * obj1 = 0 ;
15867 char *kwnames[] = {
15868 (char *) "self",(char *) "child", NULL
15869 };
15870
15871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15874 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15876 {
15877 PyThreadState* __tstate = wxPyBeginAllowThreads();
15878 (arg1)->base_RemoveChild(arg2);
15879
15880 wxPyEndAllowThreads(__tstate);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 }
15883 Py_INCREF(Py_None); resultobj = Py_None;
15884 return resultobj;
15885 fail:
15886 return NULL;
15887 }
15888
15889
15890 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15891 PyObject *resultobj;
15892 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15893 bool result;
15894 PyObject * obj0 = 0 ;
15895 char *kwnames[] = {
15896 (char *) "self", NULL
15897 };
15898
15899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15902 {
15903 PyThreadState* __tstate = wxPyBeginAllowThreads();
15904 result = (bool)(arg1)->base_ShouldInheritColours();
15905
15906 wxPyEndAllowThreads(__tstate);
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
15909 {
15910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15911 }
15912 return resultobj;
15913 fail:
15914 return NULL;
15915 }
15916
15917
15918 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15919 PyObject *resultobj;
15920 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15921 wxColour *arg2 = 0 ;
15922 wxColour temp2 ;
15923 PyObject * obj0 = 0 ;
15924 PyObject * obj1 = 0 ;
15925 char *kwnames[] = {
15926 (char *) "self",(char *) "c", NULL
15927 };
15928
15929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15932 {
15933 arg2 = &temp2;
15934 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15935 }
15936 {
15937 PyThreadState* __tstate = wxPyBeginAllowThreads();
15938 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15939
15940 wxPyEndAllowThreads(__tstate);
15941 if (PyErr_Occurred()) SWIG_fail;
15942 }
15943 Py_INCREF(Py_None); resultobj = Py_None;
15944 return resultobj;
15945 fail:
15946 return NULL;
15947 }
15948
15949
15950 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15951 PyObject *obj;
15952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15953 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15954 Py_INCREF(obj);
15955 return Py_BuildValue((char *)"");
15956 }
15957 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15958 PyObject *resultobj;
15959 wxWindow *arg1 = (wxWindow *) 0 ;
15960 int arg2 ;
15961 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15962 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15963 wxSize const &arg4_defvalue = wxDefaultSize ;
15964 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15965 long arg5 = (long) 0 ;
15966 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15967 wxString *arg6 = (wxString *) &arg6_defvalue ;
15968 wxPyPanel *result;
15969 wxPoint temp3 ;
15970 wxSize temp4 ;
15971 bool temp6 = False ;
15972 PyObject * obj0 = 0 ;
15973 PyObject * obj1 = 0 ;
15974 PyObject * obj2 = 0 ;
15975 PyObject * obj3 = 0 ;
15976 PyObject * obj4 = 0 ;
15977 PyObject * obj5 = 0 ;
15978 char *kwnames[] = {
15979 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15980 };
15981
15982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15985 arg2 = (int const) SWIG_AsInt(obj1);
15986 if (PyErr_Occurred()) SWIG_fail;
15987 if (obj2) {
15988 {
15989 arg3 = &temp3;
15990 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15991 }
15992 }
15993 if (obj3) {
15994 {
15995 arg4 = &temp4;
15996 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15997 }
15998 }
15999 if (obj4) {
16000 arg5 = (long) SWIG_AsLong(obj4);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 if (obj5) {
16004 {
16005 arg6 = wxString_in_helper(obj5);
16006 if (arg6 == NULL) SWIG_fail;
16007 temp6 = True;
16008 }
16009 }
16010 {
16011 PyThreadState* __tstate = wxPyBeginAllowThreads();
16012 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16013
16014 wxPyEndAllowThreads(__tstate);
16015 if (PyErr_Occurred()) SWIG_fail;
16016 }
16017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16018 {
16019 if (temp6)
16020 delete arg6;
16021 }
16022 return resultobj;
16023 fail:
16024 {
16025 if (temp6)
16026 delete arg6;
16027 }
16028 return NULL;
16029 }
16030
16031
16032 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16033 PyObject *resultobj;
16034 wxPyPanel *result;
16035 char *kwnames[] = {
16036 NULL
16037 };
16038
16039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16040 {
16041 PyThreadState* __tstate = wxPyBeginAllowThreads();
16042 result = (wxPyPanel *)new wxPyPanel();
16043
16044 wxPyEndAllowThreads(__tstate);
16045 if (PyErr_Occurred()) SWIG_fail;
16046 }
16047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16048 return resultobj;
16049 fail:
16050 return NULL;
16051 }
16052
16053
16054 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16055 PyObject *resultobj;
16056 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16057 PyObject *arg2 = (PyObject *) 0 ;
16058 PyObject *arg3 = (PyObject *) 0 ;
16059 PyObject * obj0 = 0 ;
16060 PyObject * obj1 = 0 ;
16061 PyObject * obj2 = 0 ;
16062 char *kwnames[] = {
16063 (char *) "self",(char *) "self",(char *) "_class", NULL
16064 };
16065
16066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16069 arg2 = obj1;
16070 arg3 = obj2;
16071 {
16072 PyThreadState* __tstate = wxPyBeginAllowThreads();
16073 (arg1)->_setCallbackInfo(arg2,arg3);
16074
16075 wxPyEndAllowThreads(__tstate);
16076 if (PyErr_Occurred()) SWIG_fail;
16077 }
16078 Py_INCREF(Py_None); resultobj = Py_None;
16079 return resultobj;
16080 fail:
16081 return NULL;
16082 }
16083
16084
16085 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16086 PyObject *resultobj;
16087 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16088 int arg2 ;
16089 int arg3 ;
16090 int arg4 ;
16091 int arg5 ;
16092 PyObject * obj0 = 0 ;
16093 PyObject * obj1 = 0 ;
16094 PyObject * obj2 = 0 ;
16095 PyObject * obj3 = 0 ;
16096 PyObject * obj4 = 0 ;
16097 char *kwnames[] = {
16098 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16099 };
16100
16101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16104 arg2 = (int) SWIG_AsInt(obj1);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 arg3 = (int) SWIG_AsInt(obj2);
16107 if (PyErr_Occurred()) SWIG_fail;
16108 arg4 = (int) SWIG_AsInt(obj3);
16109 if (PyErr_Occurred()) SWIG_fail;
16110 arg5 = (int) SWIG_AsInt(obj4);
16111 if (PyErr_Occurred()) SWIG_fail;
16112 {
16113 PyThreadState* __tstate = wxPyBeginAllowThreads();
16114 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16115
16116 wxPyEndAllowThreads(__tstate);
16117 if (PyErr_Occurred()) SWIG_fail;
16118 }
16119 Py_INCREF(Py_None); resultobj = Py_None;
16120 return resultobj;
16121 fail:
16122 return NULL;
16123 }
16124
16125
16126 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16127 PyObject *resultobj;
16128 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16129 int arg2 ;
16130 int arg3 ;
16131 int arg4 ;
16132 int arg5 ;
16133 int arg6 = (int) wxSIZE_AUTO ;
16134 PyObject * obj0 = 0 ;
16135 PyObject * obj1 = 0 ;
16136 PyObject * obj2 = 0 ;
16137 PyObject * obj3 = 0 ;
16138 PyObject * obj4 = 0 ;
16139 PyObject * obj5 = 0 ;
16140 char *kwnames[] = {
16141 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16142 };
16143
16144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16147 arg2 = (int) SWIG_AsInt(obj1);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 arg3 = (int) SWIG_AsInt(obj2);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 arg4 = (int) SWIG_AsInt(obj3);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 arg5 = (int) SWIG_AsInt(obj4);
16154 if (PyErr_Occurred()) SWIG_fail;
16155 if (obj5) {
16156 arg6 = (int) SWIG_AsInt(obj5);
16157 if (PyErr_Occurred()) SWIG_fail;
16158 }
16159 {
16160 PyThreadState* __tstate = wxPyBeginAllowThreads();
16161 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16162
16163 wxPyEndAllowThreads(__tstate);
16164 if (PyErr_Occurred()) SWIG_fail;
16165 }
16166 Py_INCREF(Py_None); resultobj = Py_None;
16167 return resultobj;
16168 fail:
16169 return NULL;
16170 }
16171
16172
16173 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16174 PyObject *resultobj;
16175 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16176 int arg2 ;
16177 int arg3 ;
16178 PyObject * obj0 = 0 ;
16179 PyObject * obj1 = 0 ;
16180 PyObject * obj2 = 0 ;
16181 char *kwnames[] = {
16182 (char *) "self",(char *) "width",(char *) "height", NULL
16183 };
16184
16185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16188 arg2 = (int) SWIG_AsInt(obj1);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 arg3 = (int) SWIG_AsInt(obj2);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 {
16193 PyThreadState* __tstate = wxPyBeginAllowThreads();
16194 (arg1)->base_DoSetClientSize(arg2,arg3);
16195
16196 wxPyEndAllowThreads(__tstate);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 }
16199 Py_INCREF(Py_None); resultobj = Py_None;
16200 return resultobj;
16201 fail:
16202 return NULL;
16203 }
16204
16205
16206 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16207 PyObject *resultobj;
16208 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16209 int arg2 ;
16210 int arg3 ;
16211 PyObject * obj0 = 0 ;
16212 PyObject * obj1 = 0 ;
16213 PyObject * obj2 = 0 ;
16214 char *kwnames[] = {
16215 (char *) "self",(char *) "x",(char *) "y", NULL
16216 };
16217
16218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16221 arg2 = (int) SWIG_AsInt(obj1);
16222 if (PyErr_Occurred()) SWIG_fail;
16223 arg3 = (int) SWIG_AsInt(obj2);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16228
16229 wxPyEndAllowThreads(__tstate);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 }
16232 Py_INCREF(Py_None); resultobj = Py_None;
16233 return resultobj;
16234 fail:
16235 return NULL;
16236 }
16237
16238
16239 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16240 PyObject *resultobj;
16241 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16242 int *arg2 = (int *) 0 ;
16243 int *arg3 = (int *) 0 ;
16244 int temp2 ;
16245 int temp3 ;
16246 PyObject * obj0 = 0 ;
16247 char *kwnames[] = {
16248 (char *) "self", NULL
16249 };
16250
16251 arg2 = &temp2;
16252 arg3 = &temp3;
16253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16256 {
16257 PyThreadState* __tstate = wxPyBeginAllowThreads();
16258 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16259
16260 wxPyEndAllowThreads(__tstate);
16261 if (PyErr_Occurred()) SWIG_fail;
16262 }
16263 Py_INCREF(Py_None); resultobj = Py_None;
16264 {
16265 PyObject *o = PyInt_FromLong((long) (*arg2));
16266 resultobj = t_output_helper(resultobj,o);
16267 }
16268 {
16269 PyObject *o = PyInt_FromLong((long) (*arg3));
16270 resultobj = t_output_helper(resultobj,o);
16271 }
16272 return resultobj;
16273 fail:
16274 return NULL;
16275 }
16276
16277
16278 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16279 PyObject *resultobj;
16280 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16281 int *arg2 = (int *) 0 ;
16282 int *arg3 = (int *) 0 ;
16283 int temp2 ;
16284 int temp3 ;
16285 PyObject * obj0 = 0 ;
16286 char *kwnames[] = {
16287 (char *) "self", NULL
16288 };
16289
16290 arg2 = &temp2;
16291 arg3 = &temp3;
16292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16295 {
16296 PyThreadState* __tstate = wxPyBeginAllowThreads();
16297 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16298
16299 wxPyEndAllowThreads(__tstate);
16300 if (PyErr_Occurred()) SWIG_fail;
16301 }
16302 Py_INCREF(Py_None); resultobj = Py_None;
16303 {
16304 PyObject *o = PyInt_FromLong((long) (*arg2));
16305 resultobj = t_output_helper(resultobj,o);
16306 }
16307 {
16308 PyObject *o = PyInt_FromLong((long) (*arg3));
16309 resultobj = t_output_helper(resultobj,o);
16310 }
16311 return resultobj;
16312 fail:
16313 return NULL;
16314 }
16315
16316
16317 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj;
16319 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16320 int *arg2 = (int *) 0 ;
16321 int *arg3 = (int *) 0 ;
16322 int temp2 ;
16323 int temp3 ;
16324 PyObject * obj0 = 0 ;
16325 char *kwnames[] = {
16326 (char *) "self", NULL
16327 };
16328
16329 arg2 = &temp2;
16330 arg3 = &temp3;
16331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16334 {
16335 PyThreadState* __tstate = wxPyBeginAllowThreads();
16336 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16337
16338 wxPyEndAllowThreads(__tstate);
16339 if (PyErr_Occurred()) SWIG_fail;
16340 }
16341 Py_INCREF(Py_None); resultobj = Py_None;
16342 {
16343 PyObject *o = PyInt_FromLong((long) (*arg2));
16344 resultobj = t_output_helper(resultobj,o);
16345 }
16346 {
16347 PyObject *o = PyInt_FromLong((long) (*arg3));
16348 resultobj = t_output_helper(resultobj,o);
16349 }
16350 return resultobj;
16351 fail:
16352 return NULL;
16353 }
16354
16355
16356 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16357 PyObject *resultobj;
16358 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16359 wxSize result;
16360 PyObject * obj0 = 0 ;
16361 char *kwnames[] = {
16362 (char *) "self", NULL
16363 };
16364
16365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16368 {
16369 PyThreadState* __tstate = wxPyBeginAllowThreads();
16370 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16371
16372 wxPyEndAllowThreads(__tstate);
16373 if (PyErr_Occurred()) SWIG_fail;
16374 }
16375 {
16376 wxSize * resultptr;
16377 resultptr = new wxSize((wxSize &) result);
16378 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16379 }
16380 return resultobj;
16381 fail:
16382 return NULL;
16383 }
16384
16385
16386 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj;
16388 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16389 wxSize result;
16390 PyObject * obj0 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self", NULL
16393 };
16394
16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16398 {
16399 PyThreadState* __tstate = wxPyBeginAllowThreads();
16400 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16401
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 {
16406 wxSize * resultptr;
16407 resultptr = new wxSize((wxSize &) result);
16408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16409 }
16410 return resultobj;
16411 fail:
16412 return NULL;
16413 }
16414
16415
16416 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16417 PyObject *resultobj;
16418 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16419 PyObject * obj0 = 0 ;
16420 char *kwnames[] = {
16421 (char *) "self", NULL
16422 };
16423
16424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16427 {
16428 PyThreadState* __tstate = wxPyBeginAllowThreads();
16429 (arg1)->base_InitDialog();
16430
16431 wxPyEndAllowThreads(__tstate);
16432 if (PyErr_Occurred()) SWIG_fail;
16433 }
16434 Py_INCREF(Py_None); resultobj = Py_None;
16435 return resultobj;
16436 fail:
16437 return NULL;
16438 }
16439
16440
16441 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16442 PyObject *resultobj;
16443 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16444 bool result;
16445 PyObject * obj0 = 0 ;
16446 char *kwnames[] = {
16447 (char *) "self", NULL
16448 };
16449
16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16453 {
16454 PyThreadState* __tstate = wxPyBeginAllowThreads();
16455 result = (bool)(arg1)->base_TransferDataToWindow();
16456
16457 wxPyEndAllowThreads(__tstate);
16458 if (PyErr_Occurred()) SWIG_fail;
16459 }
16460 {
16461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16462 }
16463 return resultobj;
16464 fail:
16465 return NULL;
16466 }
16467
16468
16469 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16470 PyObject *resultobj;
16471 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16472 bool result;
16473 PyObject * obj0 = 0 ;
16474 char *kwnames[] = {
16475 (char *) "self", NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16481 {
16482 PyThreadState* __tstate = wxPyBeginAllowThreads();
16483 result = (bool)(arg1)->base_TransferDataFromWindow();
16484
16485 wxPyEndAllowThreads(__tstate);
16486 if (PyErr_Occurred()) SWIG_fail;
16487 }
16488 {
16489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16490 }
16491 return resultobj;
16492 fail:
16493 return NULL;
16494 }
16495
16496
16497 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16498 PyObject *resultobj;
16499 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16500 bool result;
16501 PyObject * obj0 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 result = (bool)(arg1)->base_Validate();
16512
16513 wxPyEndAllowThreads(__tstate);
16514 if (PyErr_Occurred()) SWIG_fail;
16515 }
16516 {
16517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16518 }
16519 return resultobj;
16520 fail:
16521 return NULL;
16522 }
16523
16524
16525 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16526 PyObject *resultobj;
16527 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16528 bool result;
16529 PyObject * obj0 = 0 ;
16530 char *kwnames[] = {
16531 (char *) "self", NULL
16532 };
16533
16534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 {
16545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16546 }
16547 return resultobj;
16548 fail:
16549 return NULL;
16550 }
16551
16552
16553 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16554 PyObject *resultobj;
16555 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16556 bool result;
16557 PyObject * obj0 = 0 ;
16558 char *kwnames[] = {
16559 (char *) "self", NULL
16560 };
16561
16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
16567 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16568
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
16572 {
16573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16574 }
16575 return resultobj;
16576 fail:
16577 return NULL;
16578 }
16579
16580
16581 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16582 PyObject *resultobj;
16583 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16584 wxSize result;
16585 PyObject * obj0 = 0 ;
16586 char *kwnames[] = {
16587 (char *) "self", NULL
16588 };
16589
16590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16593 {
16594 PyThreadState* __tstate = wxPyBeginAllowThreads();
16595 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16596
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 {
16601 wxSize * resultptr;
16602 resultptr = new wxSize((wxSize &) result);
16603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16604 }
16605 return resultobj;
16606 fail:
16607 return NULL;
16608 }
16609
16610
16611 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16612 PyObject *resultobj;
16613 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16614 wxWindow *arg2 = (wxWindow *) 0 ;
16615 PyObject * obj0 = 0 ;
16616 PyObject * obj1 = 0 ;
16617 char *kwnames[] = {
16618 (char *) "self",(char *) "child", NULL
16619 };
16620
16621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16626 {
16627 PyThreadState* __tstate = wxPyBeginAllowThreads();
16628 (arg1)->base_AddChild(arg2);
16629
16630 wxPyEndAllowThreads(__tstate);
16631 if (PyErr_Occurred()) SWIG_fail;
16632 }
16633 Py_INCREF(Py_None); resultobj = Py_None;
16634 return resultobj;
16635 fail:
16636 return NULL;
16637 }
16638
16639
16640 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16641 PyObject *resultobj;
16642 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16643 wxWindow *arg2 = (wxWindow *) 0 ;
16644 PyObject * obj0 = 0 ;
16645 PyObject * obj1 = 0 ;
16646 char *kwnames[] = {
16647 (char *) "self",(char *) "child", NULL
16648 };
16649
16650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16655 {
16656 PyThreadState* __tstate = wxPyBeginAllowThreads();
16657 (arg1)->base_RemoveChild(arg2);
16658
16659 wxPyEndAllowThreads(__tstate);
16660 if (PyErr_Occurred()) SWIG_fail;
16661 }
16662 Py_INCREF(Py_None); resultobj = Py_None;
16663 return resultobj;
16664 fail:
16665 return NULL;
16666 }
16667
16668
16669 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16670 PyObject *resultobj;
16671 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16672 bool result;
16673 PyObject * obj0 = 0 ;
16674 char *kwnames[] = {
16675 (char *) "self", NULL
16676 };
16677
16678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16681 {
16682 PyThreadState* __tstate = wxPyBeginAllowThreads();
16683 result = (bool)(arg1)->base_ShouldInheritColours();
16684
16685 wxPyEndAllowThreads(__tstate);
16686 if (PyErr_Occurred()) SWIG_fail;
16687 }
16688 {
16689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16690 }
16691 return resultobj;
16692 fail:
16693 return NULL;
16694 }
16695
16696
16697 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16698 PyObject *resultobj;
16699 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16700 wxColour *arg2 = 0 ;
16701 wxColour temp2 ;
16702 PyObject * obj0 = 0 ;
16703 PyObject * obj1 = 0 ;
16704 char *kwnames[] = {
16705 (char *) "self",(char *) "c", NULL
16706 };
16707
16708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16711 {
16712 arg2 = &temp2;
16713 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16714 }
16715 {
16716 PyThreadState* __tstate = wxPyBeginAllowThreads();
16717 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16718
16719 wxPyEndAllowThreads(__tstate);
16720 if (PyErr_Occurred()) SWIG_fail;
16721 }
16722 Py_INCREF(Py_None); resultobj = Py_None;
16723 return resultobj;
16724 fail:
16725 return NULL;
16726 }
16727
16728
16729 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16730 PyObject *obj;
16731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16732 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16733 Py_INCREF(obj);
16734 return Py_BuildValue((char *)"");
16735 }
16736 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16737 PyObject *resultobj;
16738 wxWindow *arg1 = (wxWindow *) 0 ;
16739 int arg2 ;
16740 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16741 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16742 wxSize const &arg4_defvalue = wxDefaultSize ;
16743 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16744 long arg5 = (long) 0 ;
16745 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16746 wxString *arg6 = (wxString *) &arg6_defvalue ;
16747 wxPyScrolledWindow *result;
16748 wxPoint temp3 ;
16749 wxSize temp4 ;
16750 bool temp6 = False ;
16751 PyObject * obj0 = 0 ;
16752 PyObject * obj1 = 0 ;
16753 PyObject * obj2 = 0 ;
16754 PyObject * obj3 = 0 ;
16755 PyObject * obj4 = 0 ;
16756 PyObject * obj5 = 0 ;
16757 char *kwnames[] = {
16758 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16759 };
16760
16761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16764 arg2 = (int const) SWIG_AsInt(obj1);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 if (obj2) {
16767 {
16768 arg3 = &temp3;
16769 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16770 }
16771 }
16772 if (obj3) {
16773 {
16774 arg4 = &temp4;
16775 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16776 }
16777 }
16778 if (obj4) {
16779 arg5 = (long) SWIG_AsLong(obj4);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 }
16782 if (obj5) {
16783 {
16784 arg6 = wxString_in_helper(obj5);
16785 if (arg6 == NULL) SWIG_fail;
16786 temp6 = True;
16787 }
16788 }
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16792
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
16796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16797 {
16798 if (temp6)
16799 delete arg6;
16800 }
16801 return resultobj;
16802 fail:
16803 {
16804 if (temp6)
16805 delete arg6;
16806 }
16807 return NULL;
16808 }
16809
16810
16811 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16812 PyObject *resultobj;
16813 wxPyScrolledWindow *result;
16814 char *kwnames[] = {
16815 NULL
16816 };
16817
16818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16827 return resultobj;
16828 fail:
16829 return NULL;
16830 }
16831
16832
16833 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16834 PyObject *resultobj;
16835 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16836 PyObject *arg2 = (PyObject *) 0 ;
16837 PyObject *arg3 = (PyObject *) 0 ;
16838 PyObject * obj0 = 0 ;
16839 PyObject * obj1 = 0 ;
16840 PyObject * obj2 = 0 ;
16841 char *kwnames[] = {
16842 (char *) "self",(char *) "self",(char *) "_class", NULL
16843 };
16844
16845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16848 arg2 = obj1;
16849 arg3 = obj2;
16850 {
16851 PyThreadState* __tstate = wxPyBeginAllowThreads();
16852 (arg1)->_setCallbackInfo(arg2,arg3);
16853
16854 wxPyEndAllowThreads(__tstate);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 }
16857 Py_INCREF(Py_None); resultobj = Py_None;
16858 return resultobj;
16859 fail:
16860 return NULL;
16861 }
16862
16863
16864 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16865 PyObject *resultobj;
16866 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16867 int arg2 ;
16868 int arg3 ;
16869 int arg4 ;
16870 int arg5 ;
16871 PyObject * obj0 = 0 ;
16872 PyObject * obj1 = 0 ;
16873 PyObject * obj2 = 0 ;
16874 PyObject * obj3 = 0 ;
16875 PyObject * obj4 = 0 ;
16876 char *kwnames[] = {
16877 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16878 };
16879
16880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16883 arg2 = (int) SWIG_AsInt(obj1);
16884 if (PyErr_Occurred()) SWIG_fail;
16885 arg3 = (int) SWIG_AsInt(obj2);
16886 if (PyErr_Occurred()) SWIG_fail;
16887 arg4 = (int) SWIG_AsInt(obj3);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 arg5 = (int) SWIG_AsInt(obj4);
16890 if (PyErr_Occurred()) SWIG_fail;
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16894
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 Py_INCREF(Py_None); resultobj = Py_None;
16899 return resultobj;
16900 fail:
16901 return NULL;
16902 }
16903
16904
16905 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16906 PyObject *resultobj;
16907 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16908 int arg2 ;
16909 int arg3 ;
16910 int arg4 ;
16911 int arg5 ;
16912 int arg6 = (int) wxSIZE_AUTO ;
16913 PyObject * obj0 = 0 ;
16914 PyObject * obj1 = 0 ;
16915 PyObject * obj2 = 0 ;
16916 PyObject * obj3 = 0 ;
16917 PyObject * obj4 = 0 ;
16918 PyObject * obj5 = 0 ;
16919 char *kwnames[] = {
16920 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16921 };
16922
16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16926 arg2 = (int) SWIG_AsInt(obj1);
16927 if (PyErr_Occurred()) SWIG_fail;
16928 arg3 = (int) SWIG_AsInt(obj2);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 arg4 = (int) SWIG_AsInt(obj3);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 arg5 = (int) SWIG_AsInt(obj4);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 if (obj5) {
16935 arg6 = (int) SWIG_AsInt(obj5);
16936 if (PyErr_Occurred()) SWIG_fail;
16937 }
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 Py_INCREF(Py_None); resultobj = Py_None;
16946 return resultobj;
16947 fail:
16948 return NULL;
16949 }
16950
16951
16952 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16953 PyObject *resultobj;
16954 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16955 int arg2 ;
16956 int arg3 ;
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
16959 PyObject * obj2 = 0 ;
16960 char *kwnames[] = {
16961 (char *) "self",(char *) "width",(char *) "height", NULL
16962 };
16963
16964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16967 arg2 = (int) SWIG_AsInt(obj1);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 arg3 = (int) SWIG_AsInt(obj2);
16970 if (PyErr_Occurred()) SWIG_fail;
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 (arg1)->base_DoSetClientSize(arg2,arg3);
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 Py_INCREF(Py_None); resultobj = Py_None;
16979 return resultobj;
16980 fail:
16981 return NULL;
16982 }
16983
16984
16985 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16986 PyObject *resultobj;
16987 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16988 int arg2 ;
16989 int arg3 ;
16990 PyObject * obj0 = 0 ;
16991 PyObject * obj1 = 0 ;
16992 PyObject * obj2 = 0 ;
16993 char *kwnames[] = {
16994 (char *) "self",(char *) "x",(char *) "y", NULL
16995 };
16996
16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17000 arg2 = (int) SWIG_AsInt(obj1);
17001 if (PyErr_Occurred()) SWIG_fail;
17002 arg3 = (int) SWIG_AsInt(obj2);
17003 if (PyErr_Occurred()) SWIG_fail;
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17007
17008 wxPyEndAllowThreads(__tstate);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 Py_INCREF(Py_None); resultobj = Py_None;
17012 return resultobj;
17013 fail:
17014 return NULL;
17015 }
17016
17017
17018 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17019 PyObject *resultobj;
17020 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17021 int *arg2 = (int *) 0 ;
17022 int *arg3 = (int *) 0 ;
17023 int temp2 ;
17024 int temp3 ;
17025 PyObject * obj0 = 0 ;
17026 char *kwnames[] = {
17027 (char *) "self", NULL
17028 };
17029
17030 arg2 = &temp2;
17031 arg3 = &temp3;
17032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17038
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 Py_INCREF(Py_None); resultobj = Py_None;
17043 {
17044 PyObject *o = PyInt_FromLong((long) (*arg2));
17045 resultobj = t_output_helper(resultobj,o);
17046 }
17047 {
17048 PyObject *o = PyInt_FromLong((long) (*arg3));
17049 resultobj = t_output_helper(resultobj,o);
17050 }
17051 return resultobj;
17052 fail:
17053 return NULL;
17054 }
17055
17056
17057 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17058 PyObject *resultobj;
17059 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17060 int *arg2 = (int *) 0 ;
17061 int *arg3 = (int *) 0 ;
17062 int temp2 ;
17063 int temp3 ;
17064 PyObject * obj0 = 0 ;
17065 char *kwnames[] = {
17066 (char *) "self", NULL
17067 };
17068
17069 arg2 = &temp2;
17070 arg3 = &temp3;
17071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17074 {
17075 PyThreadState* __tstate = wxPyBeginAllowThreads();
17076 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17077
17078 wxPyEndAllowThreads(__tstate);
17079 if (PyErr_Occurred()) SWIG_fail;
17080 }
17081 Py_INCREF(Py_None); resultobj = Py_None;
17082 {
17083 PyObject *o = PyInt_FromLong((long) (*arg2));
17084 resultobj = t_output_helper(resultobj,o);
17085 }
17086 {
17087 PyObject *o = PyInt_FromLong((long) (*arg3));
17088 resultobj = t_output_helper(resultobj,o);
17089 }
17090 return resultobj;
17091 fail:
17092 return NULL;
17093 }
17094
17095
17096 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17097 PyObject *resultobj;
17098 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17099 int *arg2 = (int *) 0 ;
17100 int *arg3 = (int *) 0 ;
17101 int temp2 ;
17102 int temp3 ;
17103 PyObject * obj0 = 0 ;
17104 char *kwnames[] = {
17105 (char *) "self", NULL
17106 };
17107
17108 arg2 = &temp2;
17109 arg3 = &temp3;
17110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17113 {
17114 PyThreadState* __tstate = wxPyBeginAllowThreads();
17115 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17116
17117 wxPyEndAllowThreads(__tstate);
17118 if (PyErr_Occurred()) SWIG_fail;
17119 }
17120 Py_INCREF(Py_None); resultobj = Py_None;
17121 {
17122 PyObject *o = PyInt_FromLong((long) (*arg2));
17123 resultobj = t_output_helper(resultobj,o);
17124 }
17125 {
17126 PyObject *o = PyInt_FromLong((long) (*arg3));
17127 resultobj = t_output_helper(resultobj,o);
17128 }
17129 return resultobj;
17130 fail:
17131 return NULL;
17132 }
17133
17134
17135 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj;
17137 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17138 wxSize result;
17139 PyObject * obj0 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "self", NULL
17142 };
17143
17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17147 {
17148 PyThreadState* __tstate = wxPyBeginAllowThreads();
17149 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17150
17151 wxPyEndAllowThreads(__tstate);
17152 if (PyErr_Occurred()) SWIG_fail;
17153 }
17154 {
17155 wxSize * resultptr;
17156 resultptr = new wxSize((wxSize &) result);
17157 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17158 }
17159 return resultobj;
17160 fail:
17161 return NULL;
17162 }
17163
17164
17165 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17166 PyObject *resultobj;
17167 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17168 wxSize result;
17169 PyObject * obj0 = 0 ;
17170 char *kwnames[] = {
17171 (char *) "self", NULL
17172 };
17173
17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17177 {
17178 PyThreadState* __tstate = wxPyBeginAllowThreads();
17179 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17180
17181 wxPyEndAllowThreads(__tstate);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 {
17185 wxSize * resultptr;
17186 resultptr = new wxSize((wxSize &) result);
17187 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17188 }
17189 return resultobj;
17190 fail:
17191 return NULL;
17192 }
17193
17194
17195 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17196 PyObject *resultobj;
17197 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17198 PyObject * obj0 = 0 ;
17199 char *kwnames[] = {
17200 (char *) "self", NULL
17201 };
17202
17203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17206 {
17207 PyThreadState* __tstate = wxPyBeginAllowThreads();
17208 (arg1)->base_InitDialog();
17209
17210 wxPyEndAllowThreads(__tstate);
17211 if (PyErr_Occurred()) SWIG_fail;
17212 }
17213 Py_INCREF(Py_None); resultobj = Py_None;
17214 return resultobj;
17215 fail:
17216 return NULL;
17217 }
17218
17219
17220 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17221 PyObject *resultobj;
17222 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17223 bool result;
17224 PyObject * obj0 = 0 ;
17225 char *kwnames[] = {
17226 (char *) "self", NULL
17227 };
17228
17229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17232 {
17233 PyThreadState* __tstate = wxPyBeginAllowThreads();
17234 result = (bool)(arg1)->base_TransferDataToWindow();
17235
17236 wxPyEndAllowThreads(__tstate);
17237 if (PyErr_Occurred()) SWIG_fail;
17238 }
17239 {
17240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17241 }
17242 return resultobj;
17243 fail:
17244 return NULL;
17245 }
17246
17247
17248 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17249 PyObject *resultobj;
17250 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17251 bool result;
17252 PyObject * obj0 = 0 ;
17253 char *kwnames[] = {
17254 (char *) "self", NULL
17255 };
17256
17257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17260 {
17261 PyThreadState* __tstate = wxPyBeginAllowThreads();
17262 result = (bool)(arg1)->base_TransferDataFromWindow();
17263
17264 wxPyEndAllowThreads(__tstate);
17265 if (PyErr_Occurred()) SWIG_fail;
17266 }
17267 {
17268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17269 }
17270 return resultobj;
17271 fail:
17272 return NULL;
17273 }
17274
17275
17276 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17277 PyObject *resultobj;
17278 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17279 bool result;
17280 PyObject * obj0 = 0 ;
17281 char *kwnames[] = {
17282 (char *) "self", NULL
17283 };
17284
17285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17288 {
17289 PyThreadState* __tstate = wxPyBeginAllowThreads();
17290 result = (bool)(arg1)->base_Validate();
17291
17292 wxPyEndAllowThreads(__tstate);
17293 if (PyErr_Occurred()) SWIG_fail;
17294 }
17295 {
17296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17297 }
17298 return resultobj;
17299 fail:
17300 return NULL;
17301 }
17302
17303
17304 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17305 PyObject *resultobj;
17306 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17307 bool result;
17308 PyObject * obj0 = 0 ;
17309 char *kwnames[] = {
17310 (char *) "self", NULL
17311 };
17312
17313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17316 {
17317 PyThreadState* __tstate = wxPyBeginAllowThreads();
17318 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17319
17320 wxPyEndAllowThreads(__tstate);
17321 if (PyErr_Occurred()) SWIG_fail;
17322 }
17323 {
17324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17325 }
17326 return resultobj;
17327 fail:
17328 return NULL;
17329 }
17330
17331
17332 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17333 PyObject *resultobj;
17334 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17335 bool result;
17336 PyObject * obj0 = 0 ;
17337 char *kwnames[] = {
17338 (char *) "self", NULL
17339 };
17340
17341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17344 {
17345 PyThreadState* __tstate = wxPyBeginAllowThreads();
17346 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17347
17348 wxPyEndAllowThreads(__tstate);
17349 if (PyErr_Occurred()) SWIG_fail;
17350 }
17351 {
17352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17353 }
17354 return resultobj;
17355 fail:
17356 return NULL;
17357 }
17358
17359
17360 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17361 PyObject *resultobj;
17362 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17363 wxSize result;
17364 PyObject * obj0 = 0 ;
17365 char *kwnames[] = {
17366 (char *) "self", NULL
17367 };
17368
17369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17372 {
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
17374 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17375
17376 wxPyEndAllowThreads(__tstate);
17377 if (PyErr_Occurred()) SWIG_fail;
17378 }
17379 {
17380 wxSize * resultptr;
17381 resultptr = new wxSize((wxSize &) result);
17382 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17383 }
17384 return resultobj;
17385 fail:
17386 return NULL;
17387 }
17388
17389
17390 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17391 PyObject *resultobj;
17392 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17393 wxWindow *arg2 = (wxWindow *) 0 ;
17394 PyObject * obj0 = 0 ;
17395 PyObject * obj1 = 0 ;
17396 char *kwnames[] = {
17397 (char *) "self",(char *) "child", NULL
17398 };
17399
17400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17403 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 (arg1)->base_AddChild(arg2);
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 Py_INCREF(Py_None); resultobj = Py_None;
17413 return resultobj;
17414 fail:
17415 return NULL;
17416 }
17417
17418
17419 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17420 PyObject *resultobj;
17421 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17422 wxWindow *arg2 = (wxWindow *) 0 ;
17423 PyObject * obj0 = 0 ;
17424 PyObject * obj1 = 0 ;
17425 char *kwnames[] = {
17426 (char *) "self",(char *) "child", NULL
17427 };
17428
17429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17432 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17434 {
17435 PyThreadState* __tstate = wxPyBeginAllowThreads();
17436 (arg1)->base_RemoveChild(arg2);
17437
17438 wxPyEndAllowThreads(__tstate);
17439 if (PyErr_Occurred()) SWIG_fail;
17440 }
17441 Py_INCREF(Py_None); resultobj = Py_None;
17442 return resultobj;
17443 fail:
17444 return NULL;
17445 }
17446
17447
17448 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17449 PyObject *resultobj;
17450 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17451 bool result;
17452 PyObject * obj0 = 0 ;
17453 char *kwnames[] = {
17454 (char *) "self", NULL
17455 };
17456
17457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17460 {
17461 PyThreadState* __tstate = wxPyBeginAllowThreads();
17462 result = (bool)(arg1)->base_ShouldInheritColours();
17463
17464 wxPyEndAllowThreads(__tstate);
17465 if (PyErr_Occurred()) SWIG_fail;
17466 }
17467 {
17468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17469 }
17470 return resultobj;
17471 fail:
17472 return NULL;
17473 }
17474
17475
17476 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17477 PyObject *resultobj;
17478 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17479 wxColour *arg2 = 0 ;
17480 wxColour temp2 ;
17481 PyObject * obj0 = 0 ;
17482 PyObject * obj1 = 0 ;
17483 char *kwnames[] = {
17484 (char *) "self",(char *) "c", NULL
17485 };
17486
17487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17490 {
17491 arg2 = &temp2;
17492 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17493 }
17494 {
17495 PyThreadState* __tstate = wxPyBeginAllowThreads();
17496 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17497
17498 wxPyEndAllowThreads(__tstate);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 }
17501 Py_INCREF(Py_None); resultobj = Py_None;
17502 return resultobj;
17503 fail:
17504 return NULL;
17505 }
17506
17507
17508 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17509 PyObject *obj;
17510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17511 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17512 Py_INCREF(obj);
17513 return Py_BuildValue((char *)"");
17514 }
17515 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17516 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17517 return 1;
17518 }
17519
17520
17521 static PyObject *_wrap_PrintoutTitleStr_get() {
17522 PyObject *pyobj;
17523
17524 {
17525 #if wxUSE_UNICODE
17526 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17527 #else
17528 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17529 #endif
17530 }
17531 return pyobj;
17532 }
17533
17534
17535 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17536 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17537 return 1;
17538 }
17539
17540
17541 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17542 PyObject *pyobj;
17543
17544 {
17545 #if wxUSE_UNICODE
17546 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17547 #else
17548 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17549 #endif
17550 }
17551 return pyobj;
17552 }
17553
17554
17555 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17556 PyObject *resultobj;
17557 wxPrintData *result;
17558 char *kwnames[] = {
17559 NULL
17560 };
17561
17562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17563 {
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 result = (wxPrintData *)new wxPrintData();
17566
17567 wxPyEndAllowThreads(__tstate);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17571 return resultobj;
17572 fail:
17573 return NULL;
17574 }
17575
17576
17577 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17578 PyObject *resultobj;
17579 wxPrintData *arg1 = (wxPrintData *) 0 ;
17580 PyObject * obj0 = 0 ;
17581 char *kwnames[] = {
17582 (char *) "self", NULL
17583 };
17584
17585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17588 {
17589 PyThreadState* __tstate = wxPyBeginAllowThreads();
17590 delete arg1;
17591
17592 wxPyEndAllowThreads(__tstate);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 }
17595 Py_INCREF(Py_None); resultobj = Py_None;
17596 return resultobj;
17597 fail:
17598 return NULL;
17599 }
17600
17601
17602 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17603 PyObject *resultobj;
17604 wxPrintData *arg1 = (wxPrintData *) 0 ;
17605 int result;
17606 PyObject * obj0 = 0 ;
17607 char *kwnames[] = {
17608 (char *) "self", NULL
17609 };
17610
17611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17614 {
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 result = (int)(arg1)->GetNoCopies();
17617
17618 wxPyEndAllowThreads(__tstate);
17619 if (PyErr_Occurred()) SWIG_fail;
17620 }
17621 resultobj = SWIG_FromInt((int)result);
17622 return resultobj;
17623 fail:
17624 return NULL;
17625 }
17626
17627
17628 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17629 PyObject *resultobj;
17630 wxPrintData *arg1 = (wxPrintData *) 0 ;
17631 bool result;
17632 PyObject * obj0 = 0 ;
17633 char *kwnames[] = {
17634 (char *) "self", NULL
17635 };
17636
17637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17640 {
17641 PyThreadState* __tstate = wxPyBeginAllowThreads();
17642 result = (bool)(arg1)->GetCollate();
17643
17644 wxPyEndAllowThreads(__tstate);
17645 if (PyErr_Occurred()) SWIG_fail;
17646 }
17647 {
17648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17649 }
17650 return resultobj;
17651 fail:
17652 return NULL;
17653 }
17654
17655
17656 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17657 PyObject *resultobj;
17658 wxPrintData *arg1 = (wxPrintData *) 0 ;
17659 int result;
17660 PyObject * obj0 = 0 ;
17661 char *kwnames[] = {
17662 (char *) "self", NULL
17663 };
17664
17665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 result = (int)(arg1)->GetOrientation();
17671
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 resultobj = SWIG_FromInt((int)result);
17676 return resultobj;
17677 fail:
17678 return NULL;
17679 }
17680
17681
17682 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17683 PyObject *resultobj;
17684 wxPrintData *arg1 = (wxPrintData *) 0 ;
17685 bool result;
17686 PyObject * obj0 = 0 ;
17687 char *kwnames[] = {
17688 (char *) "self", NULL
17689 };
17690
17691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17694 {
17695 PyThreadState* __tstate = wxPyBeginAllowThreads();
17696 result = (bool)(arg1)->Ok();
17697
17698 wxPyEndAllowThreads(__tstate);
17699 if (PyErr_Occurred()) SWIG_fail;
17700 }
17701 {
17702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17703 }
17704 return resultobj;
17705 fail:
17706 return NULL;
17707 }
17708
17709
17710 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17711 PyObject *resultobj;
17712 wxPrintData *arg1 = (wxPrintData *) 0 ;
17713 wxString *result;
17714 PyObject * obj0 = 0 ;
17715 char *kwnames[] = {
17716 (char *) "self", NULL
17717 };
17718
17719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17722 {
17723 PyThreadState* __tstate = wxPyBeginAllowThreads();
17724 {
17725 wxString const &_result_ref = (arg1)->GetPrinterName();
17726 result = (wxString *) &_result_ref;
17727 }
17728
17729 wxPyEndAllowThreads(__tstate);
17730 if (PyErr_Occurred()) SWIG_fail;
17731 }
17732 {
17733 #if wxUSE_UNICODE
17734 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17735 #else
17736 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17737 #endif
17738 }
17739 return resultobj;
17740 fail:
17741 return NULL;
17742 }
17743
17744
17745 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17746 PyObject *resultobj;
17747 wxPrintData *arg1 = (wxPrintData *) 0 ;
17748 bool result;
17749 PyObject * obj0 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "self", NULL
17752 };
17753
17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17757 {
17758 PyThreadState* __tstate = wxPyBeginAllowThreads();
17759 result = (bool)(arg1)->GetColour();
17760
17761 wxPyEndAllowThreads(__tstate);
17762 if (PyErr_Occurred()) SWIG_fail;
17763 }
17764 {
17765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17766 }
17767 return resultobj;
17768 fail:
17769 return NULL;
17770 }
17771
17772
17773 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17774 PyObject *resultobj;
17775 wxPrintData *arg1 = (wxPrintData *) 0 ;
17776 int result;
17777 PyObject * obj0 = 0 ;
17778 char *kwnames[] = {
17779 (char *) "self", NULL
17780 };
17781
17782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17785 {
17786 PyThreadState* __tstate = wxPyBeginAllowThreads();
17787 result = (int)(arg1)->GetDuplex();
17788
17789 wxPyEndAllowThreads(__tstate);
17790 if (PyErr_Occurred()) SWIG_fail;
17791 }
17792 resultobj = SWIG_FromInt((int)result);
17793 return resultobj;
17794 fail:
17795 return NULL;
17796 }
17797
17798
17799 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17800 PyObject *resultobj;
17801 wxPrintData *arg1 = (wxPrintData *) 0 ;
17802 int result;
17803 PyObject * obj0 = 0 ;
17804 char *kwnames[] = {
17805 (char *) "self", NULL
17806 };
17807
17808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 result = (int)(arg1)->GetPaperId();
17814
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 resultobj = SWIG_FromInt((int)result);
17819 return resultobj;
17820 fail:
17821 return NULL;
17822 }
17823
17824
17825 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17826 PyObject *resultobj;
17827 wxPrintData *arg1 = (wxPrintData *) 0 ;
17828 wxSize *result;
17829 PyObject * obj0 = 0 ;
17830 char *kwnames[] = {
17831 (char *) "self", NULL
17832 };
17833
17834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17837 {
17838 PyThreadState* __tstate = wxPyBeginAllowThreads();
17839 {
17840 wxSize const &_result_ref = (arg1)->GetPaperSize();
17841 result = (wxSize *) &_result_ref;
17842 }
17843
17844 wxPyEndAllowThreads(__tstate);
17845 if (PyErr_Occurred()) SWIG_fail;
17846 }
17847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17848 return resultobj;
17849 fail:
17850 return NULL;
17851 }
17852
17853
17854 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17855 PyObject *resultobj;
17856 wxPrintData *arg1 = (wxPrintData *) 0 ;
17857 int result;
17858 PyObject * obj0 = 0 ;
17859 char *kwnames[] = {
17860 (char *) "self", NULL
17861 };
17862
17863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17866 {
17867 PyThreadState* __tstate = wxPyBeginAllowThreads();
17868 result = (int)(arg1)->GetQuality();
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 resultobj = SWIG_FromInt((int)result);
17874 return resultobj;
17875 fail:
17876 return NULL;
17877 }
17878
17879
17880 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17881 PyObject *resultobj;
17882 wxPrintData *arg1 = (wxPrintData *) 0 ;
17883 int arg2 ;
17884 PyObject * obj0 = 0 ;
17885 PyObject * obj1 = 0 ;
17886 char *kwnames[] = {
17887 (char *) "self",(char *) "v", NULL
17888 };
17889
17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17893 arg2 = (int) SWIG_AsInt(obj1);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 {
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 (arg1)->SetNoCopies(arg2);
17898
17899 wxPyEndAllowThreads(__tstate);
17900 if (PyErr_Occurred()) SWIG_fail;
17901 }
17902 Py_INCREF(Py_None); resultobj = Py_None;
17903 return resultobj;
17904 fail:
17905 return NULL;
17906 }
17907
17908
17909 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17910 PyObject *resultobj;
17911 wxPrintData *arg1 = (wxPrintData *) 0 ;
17912 bool arg2 ;
17913 PyObject * obj0 = 0 ;
17914 PyObject * obj1 = 0 ;
17915 char *kwnames[] = {
17916 (char *) "self",(char *) "flag", NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17922 arg2 = (bool) SWIG_AsBool(obj1);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 {
17925 PyThreadState* __tstate = wxPyBeginAllowThreads();
17926 (arg1)->SetCollate(arg2);
17927
17928 wxPyEndAllowThreads(__tstate);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
17931 Py_INCREF(Py_None); resultobj = Py_None;
17932 return resultobj;
17933 fail:
17934 return NULL;
17935 }
17936
17937
17938 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17939 PyObject *resultobj;
17940 wxPrintData *arg1 = (wxPrintData *) 0 ;
17941 int arg2 ;
17942 PyObject * obj0 = 0 ;
17943 PyObject * obj1 = 0 ;
17944 char *kwnames[] = {
17945 (char *) "self",(char *) "orient", NULL
17946 };
17947
17948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17951 arg2 = (int) SWIG_AsInt(obj1);
17952 if (PyErr_Occurred()) SWIG_fail;
17953 {
17954 PyThreadState* __tstate = wxPyBeginAllowThreads();
17955 (arg1)->SetOrientation(arg2);
17956
17957 wxPyEndAllowThreads(__tstate);
17958 if (PyErr_Occurred()) SWIG_fail;
17959 }
17960 Py_INCREF(Py_None); resultobj = Py_None;
17961 return resultobj;
17962 fail:
17963 return NULL;
17964 }
17965
17966
17967 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17968 PyObject *resultobj;
17969 wxPrintData *arg1 = (wxPrintData *) 0 ;
17970 wxString *arg2 = 0 ;
17971 bool temp2 = False ;
17972 PyObject * obj0 = 0 ;
17973 PyObject * obj1 = 0 ;
17974 char *kwnames[] = {
17975 (char *) "self",(char *) "name", NULL
17976 };
17977
17978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
17979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17981 {
17982 arg2 = wxString_in_helper(obj1);
17983 if (arg2 == NULL) SWIG_fail;
17984 temp2 = True;
17985 }
17986 {
17987 PyThreadState* __tstate = wxPyBeginAllowThreads();
17988 (arg1)->SetPrinterName((wxString const &)*arg2);
17989
17990 wxPyEndAllowThreads(__tstate);
17991 if (PyErr_Occurred()) SWIG_fail;
17992 }
17993 Py_INCREF(Py_None); resultobj = Py_None;
17994 {
17995 if (temp2)
17996 delete arg2;
17997 }
17998 return resultobj;
17999 fail:
18000 {
18001 if (temp2)
18002 delete arg2;
18003 }
18004 return NULL;
18005 }
18006
18007
18008 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18009 PyObject *resultobj;
18010 wxPrintData *arg1 = (wxPrintData *) 0 ;
18011 bool arg2 ;
18012 PyObject * obj0 = 0 ;
18013 PyObject * obj1 = 0 ;
18014 char *kwnames[] = {
18015 (char *) "self",(char *) "colour", NULL
18016 };
18017
18018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18021 arg2 = (bool) SWIG_AsBool(obj1);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 {
18024 PyThreadState* __tstate = wxPyBeginAllowThreads();
18025 (arg1)->SetColour(arg2);
18026
18027 wxPyEndAllowThreads(__tstate);
18028 if (PyErr_Occurred()) SWIG_fail;
18029 }
18030 Py_INCREF(Py_None); resultobj = Py_None;
18031 return resultobj;
18032 fail:
18033 return NULL;
18034 }
18035
18036
18037 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18038 PyObject *resultobj;
18039 wxPrintData *arg1 = (wxPrintData *) 0 ;
18040 int arg2 ;
18041 PyObject * obj0 = 0 ;
18042 PyObject * obj1 = 0 ;
18043 char *kwnames[] = {
18044 (char *) "self",(char *) "duplex", NULL
18045 };
18046
18047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18050 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18051 if (PyErr_Occurred()) SWIG_fail;
18052 {
18053 PyThreadState* __tstate = wxPyBeginAllowThreads();
18054 (arg1)->SetDuplex((wxDuplexMode )arg2);
18055
18056 wxPyEndAllowThreads(__tstate);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 Py_INCREF(Py_None); resultobj = Py_None;
18060 return resultobj;
18061 fail:
18062 return NULL;
18063 }
18064
18065
18066 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18067 PyObject *resultobj;
18068 wxPrintData *arg1 = (wxPrintData *) 0 ;
18069 int arg2 ;
18070 PyObject * obj0 = 0 ;
18071 PyObject * obj1 = 0 ;
18072 char *kwnames[] = {
18073 (char *) "self",(char *) "sizeId", NULL
18074 };
18075
18076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18079 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 {
18082 PyThreadState* __tstate = wxPyBeginAllowThreads();
18083 (arg1)->SetPaperId((wxPaperSize )arg2);
18084
18085 wxPyEndAllowThreads(__tstate);
18086 if (PyErr_Occurred()) SWIG_fail;
18087 }
18088 Py_INCREF(Py_None); resultobj = Py_None;
18089 return resultobj;
18090 fail:
18091 return NULL;
18092 }
18093
18094
18095 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18096 PyObject *resultobj;
18097 wxPrintData *arg1 = (wxPrintData *) 0 ;
18098 wxSize *arg2 = 0 ;
18099 wxSize temp2 ;
18100 PyObject * obj0 = 0 ;
18101 PyObject * obj1 = 0 ;
18102 char *kwnames[] = {
18103 (char *) "self",(char *) "sz", NULL
18104 };
18105
18106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18109 {
18110 arg2 = &temp2;
18111 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18112 }
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 (arg1)->SetPaperSize((wxSize const &)*arg2);
18116
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 Py_INCREF(Py_None); resultobj = Py_None;
18121 return resultobj;
18122 fail:
18123 return NULL;
18124 }
18125
18126
18127 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18128 PyObject *resultobj;
18129 wxPrintData *arg1 = (wxPrintData *) 0 ;
18130 int arg2 ;
18131 PyObject * obj0 = 0 ;
18132 PyObject * obj1 = 0 ;
18133 char *kwnames[] = {
18134 (char *) "self",(char *) "quality", NULL
18135 };
18136
18137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18140 arg2 = (int) SWIG_AsInt(obj1);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 {
18143 PyThreadState* __tstate = wxPyBeginAllowThreads();
18144 (arg1)->SetQuality(arg2);
18145
18146 wxPyEndAllowThreads(__tstate);
18147 if (PyErr_Occurred()) SWIG_fail;
18148 }
18149 Py_INCREF(Py_None); resultobj = Py_None;
18150 return resultobj;
18151 fail:
18152 return NULL;
18153 }
18154
18155
18156 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18157 PyObject *resultobj;
18158 wxPrintData *arg1 = (wxPrintData *) 0 ;
18159 wxString *result;
18160 PyObject * obj0 = 0 ;
18161 char *kwnames[] = {
18162 (char *) "self", NULL
18163 };
18164
18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18168 {
18169 PyThreadState* __tstate = wxPyBeginAllowThreads();
18170 {
18171 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18172 result = (wxString *) &_result_ref;
18173 }
18174
18175 wxPyEndAllowThreads(__tstate);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 }
18178 {
18179 #if wxUSE_UNICODE
18180 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18181 #else
18182 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18183 #endif
18184 }
18185 return resultobj;
18186 fail:
18187 return NULL;
18188 }
18189
18190
18191 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18192 PyObject *resultobj;
18193 wxPrintData *arg1 = (wxPrintData *) 0 ;
18194 wxString *result;
18195 PyObject * obj0 = 0 ;
18196 char *kwnames[] = {
18197 (char *) "self", NULL
18198 };
18199
18200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18203 {
18204 PyThreadState* __tstate = wxPyBeginAllowThreads();
18205 {
18206 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18207 result = (wxString *) &_result_ref;
18208 }
18209
18210 wxPyEndAllowThreads(__tstate);
18211 if (PyErr_Occurred()) SWIG_fail;
18212 }
18213 {
18214 #if wxUSE_UNICODE
18215 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18216 #else
18217 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18218 #endif
18219 }
18220 return resultobj;
18221 fail:
18222 return NULL;
18223 }
18224
18225
18226 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18227 PyObject *resultobj;
18228 wxPrintData *arg1 = (wxPrintData *) 0 ;
18229 wxString *result;
18230 PyObject * obj0 = 0 ;
18231 char *kwnames[] = {
18232 (char *) "self", NULL
18233 };
18234
18235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 {
18241 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18242 result = (wxString *) &_result_ref;
18243 }
18244
18245 wxPyEndAllowThreads(__tstate);
18246 if (PyErr_Occurred()) SWIG_fail;
18247 }
18248 {
18249 #if wxUSE_UNICODE
18250 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18251 #else
18252 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18253 #endif
18254 }
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj;
18263 wxPrintData *arg1 = (wxPrintData *) 0 ;
18264 wxString *result;
18265 PyObject * obj0 = 0 ;
18266 char *kwnames[] = {
18267 (char *) "self", NULL
18268 };
18269
18270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18273 {
18274 PyThreadState* __tstate = wxPyBeginAllowThreads();
18275 {
18276 wxString const &_result_ref = (arg1)->GetFilename();
18277 result = (wxString *) &_result_ref;
18278 }
18279
18280 wxPyEndAllowThreads(__tstate);
18281 if (PyErr_Occurred()) SWIG_fail;
18282 }
18283 {
18284 #if wxUSE_UNICODE
18285 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18286 #else
18287 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18288 #endif
18289 }
18290 return resultobj;
18291 fail:
18292 return NULL;
18293 }
18294
18295
18296 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 wxPrintData *arg1 = (wxPrintData *) 0 ;
18299 wxString *result;
18300 PyObject * obj0 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "self", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 {
18311 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18312 result = (wxString *) &_result_ref;
18313 }
18314
18315 wxPyEndAllowThreads(__tstate);
18316 if (PyErr_Occurred()) SWIG_fail;
18317 }
18318 {
18319 #if wxUSE_UNICODE
18320 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18321 #else
18322 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18323 #endif
18324 }
18325 return resultobj;
18326 fail:
18327 return NULL;
18328 }
18329
18330
18331 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18332 PyObject *resultobj;
18333 wxPrintData *arg1 = (wxPrintData *) 0 ;
18334 double result;
18335 PyObject * obj0 = 0 ;
18336 char *kwnames[] = {
18337 (char *) "self", NULL
18338 };
18339
18340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18343 {
18344 PyThreadState* __tstate = wxPyBeginAllowThreads();
18345 result = (double)(arg1)->GetPrinterScaleX();
18346
18347 wxPyEndAllowThreads(__tstate);
18348 if (PyErr_Occurred()) SWIG_fail;
18349 }
18350 resultobj = SWIG_FromDouble((double)result);
18351 return resultobj;
18352 fail:
18353 return NULL;
18354 }
18355
18356
18357 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18358 PyObject *resultobj;
18359 wxPrintData *arg1 = (wxPrintData *) 0 ;
18360 double result;
18361 PyObject * obj0 = 0 ;
18362 char *kwnames[] = {
18363 (char *) "self", NULL
18364 };
18365
18366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
18371 result = (double)(arg1)->GetPrinterScaleY();
18372
18373 wxPyEndAllowThreads(__tstate);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 resultobj = SWIG_FromDouble((double)result);
18377 return resultobj;
18378 fail:
18379 return NULL;
18380 }
18381
18382
18383 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18384 PyObject *resultobj;
18385 wxPrintData *arg1 = (wxPrintData *) 0 ;
18386 long result;
18387 PyObject * obj0 = 0 ;
18388 char *kwnames[] = {
18389 (char *) "self", NULL
18390 };
18391
18392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18395 {
18396 PyThreadState* __tstate = wxPyBeginAllowThreads();
18397 result = (long)(arg1)->GetPrinterTranslateX();
18398
18399 wxPyEndAllowThreads(__tstate);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
18402 resultobj = SWIG_FromLong((long)result);
18403 return resultobj;
18404 fail:
18405 return NULL;
18406 }
18407
18408
18409 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18410 PyObject *resultobj;
18411 wxPrintData *arg1 = (wxPrintData *) 0 ;
18412 long result;
18413 PyObject * obj0 = 0 ;
18414 char *kwnames[] = {
18415 (char *) "self", NULL
18416 };
18417
18418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18421 {
18422 PyThreadState* __tstate = wxPyBeginAllowThreads();
18423 result = (long)(arg1)->GetPrinterTranslateY();
18424
18425 wxPyEndAllowThreads(__tstate);
18426 if (PyErr_Occurred()) SWIG_fail;
18427 }
18428 resultobj = SWIG_FromLong((long)result);
18429 return resultobj;
18430 fail:
18431 return NULL;
18432 }
18433
18434
18435 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18436 PyObject *resultobj;
18437 wxPrintData *arg1 = (wxPrintData *) 0 ;
18438 int result;
18439 PyObject * obj0 = 0 ;
18440 char *kwnames[] = {
18441 (char *) "self", NULL
18442 };
18443
18444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18447 {
18448 PyThreadState* __tstate = wxPyBeginAllowThreads();
18449 result = (int)(arg1)->GetPrintMode();
18450
18451 wxPyEndAllowThreads(__tstate);
18452 if (PyErr_Occurred()) SWIG_fail;
18453 }
18454 resultobj = SWIG_FromInt((int)result);
18455 return resultobj;
18456 fail:
18457 return NULL;
18458 }
18459
18460
18461 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18462 PyObject *resultobj;
18463 wxPrintData *arg1 = (wxPrintData *) 0 ;
18464 wxString *arg2 = 0 ;
18465 bool temp2 = False ;
18466 PyObject * obj0 = 0 ;
18467 PyObject * obj1 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "self",(char *) "command", NULL
18470 };
18471
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18475 {
18476 arg2 = wxString_in_helper(obj1);
18477 if (arg2 == NULL) SWIG_fail;
18478 temp2 = True;
18479 }
18480 {
18481 PyThreadState* __tstate = wxPyBeginAllowThreads();
18482 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18483
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 Py_INCREF(Py_None); resultobj = Py_None;
18488 {
18489 if (temp2)
18490 delete arg2;
18491 }
18492 return resultobj;
18493 fail:
18494 {
18495 if (temp2)
18496 delete arg2;
18497 }
18498 return NULL;
18499 }
18500
18501
18502 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18503 PyObject *resultobj;
18504 wxPrintData *arg1 = (wxPrintData *) 0 ;
18505 wxString *arg2 = 0 ;
18506 bool temp2 = False ;
18507 PyObject * obj0 = 0 ;
18508 PyObject * obj1 = 0 ;
18509 char *kwnames[] = {
18510 (char *) "self",(char *) "options", NULL
18511 };
18512
18513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18516 {
18517 arg2 = wxString_in_helper(obj1);
18518 if (arg2 == NULL) SWIG_fail;
18519 temp2 = True;
18520 }
18521 {
18522 PyThreadState* __tstate = wxPyBeginAllowThreads();
18523 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18524
18525 wxPyEndAllowThreads(__tstate);
18526 if (PyErr_Occurred()) SWIG_fail;
18527 }
18528 Py_INCREF(Py_None); resultobj = Py_None;
18529 {
18530 if (temp2)
18531 delete arg2;
18532 }
18533 return resultobj;
18534 fail:
18535 {
18536 if (temp2)
18537 delete arg2;
18538 }
18539 return NULL;
18540 }
18541
18542
18543 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18544 PyObject *resultobj;
18545 wxPrintData *arg1 = (wxPrintData *) 0 ;
18546 wxString *arg2 = 0 ;
18547 bool temp2 = False ;
18548 PyObject * obj0 = 0 ;
18549 PyObject * obj1 = 0 ;
18550 char *kwnames[] = {
18551 (char *) "self",(char *) "command", NULL
18552 };
18553
18554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18557 {
18558 arg2 = wxString_in_helper(obj1);
18559 if (arg2 == NULL) SWIG_fail;
18560 temp2 = True;
18561 }
18562 {
18563 PyThreadState* __tstate = wxPyBeginAllowThreads();
18564 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18565
18566 wxPyEndAllowThreads(__tstate);
18567 if (PyErr_Occurred()) SWIG_fail;
18568 }
18569 Py_INCREF(Py_None); resultobj = Py_None;
18570 {
18571 if (temp2)
18572 delete arg2;
18573 }
18574 return resultobj;
18575 fail:
18576 {
18577 if (temp2)
18578 delete arg2;
18579 }
18580 return NULL;
18581 }
18582
18583
18584 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18585 PyObject *resultobj;
18586 wxPrintData *arg1 = (wxPrintData *) 0 ;
18587 wxString *arg2 = 0 ;
18588 bool temp2 = False ;
18589 PyObject * obj0 = 0 ;
18590 PyObject * obj1 = 0 ;
18591 char *kwnames[] = {
18592 (char *) "self",(char *) "filename", NULL
18593 };
18594
18595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18598 {
18599 arg2 = wxString_in_helper(obj1);
18600 if (arg2 == NULL) SWIG_fail;
18601 temp2 = True;
18602 }
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 (arg1)->SetFilename((wxString const &)*arg2);
18606
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
18610 Py_INCREF(Py_None); resultobj = Py_None;
18611 {
18612 if (temp2)
18613 delete arg2;
18614 }
18615 return resultobj;
18616 fail:
18617 {
18618 if (temp2)
18619 delete arg2;
18620 }
18621 return NULL;
18622 }
18623
18624
18625 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18626 PyObject *resultobj;
18627 wxPrintData *arg1 = (wxPrintData *) 0 ;
18628 wxString *arg2 = 0 ;
18629 bool temp2 = False ;
18630 PyObject * obj0 = 0 ;
18631 PyObject * obj1 = 0 ;
18632 char *kwnames[] = {
18633 (char *) "self",(char *) "path", NULL
18634 };
18635
18636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18639 {
18640 arg2 = wxString_in_helper(obj1);
18641 if (arg2 == NULL) SWIG_fail;
18642 temp2 = True;
18643 }
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
18646 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18647
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
18651 Py_INCREF(Py_None); resultobj = Py_None;
18652 {
18653 if (temp2)
18654 delete arg2;
18655 }
18656 return resultobj;
18657 fail:
18658 {
18659 if (temp2)
18660 delete arg2;
18661 }
18662 return NULL;
18663 }
18664
18665
18666 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18667 PyObject *resultobj;
18668 wxPrintData *arg1 = (wxPrintData *) 0 ;
18669 double arg2 ;
18670 PyObject * obj0 = 0 ;
18671 PyObject * obj1 = 0 ;
18672 char *kwnames[] = {
18673 (char *) "self",(char *) "x", NULL
18674 };
18675
18676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18679 arg2 = (double) SWIG_AsDouble(obj1);
18680 if (PyErr_Occurred()) SWIG_fail;
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 (arg1)->SetPrinterScaleX(arg2);
18684
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 Py_INCREF(Py_None); resultobj = Py_None;
18689 return resultobj;
18690 fail:
18691 return NULL;
18692 }
18693
18694
18695 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18696 PyObject *resultobj;
18697 wxPrintData *arg1 = (wxPrintData *) 0 ;
18698 double arg2 ;
18699 PyObject * obj0 = 0 ;
18700 PyObject * obj1 = 0 ;
18701 char *kwnames[] = {
18702 (char *) "self",(char *) "y", NULL
18703 };
18704
18705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18708 arg2 = (double) SWIG_AsDouble(obj1);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 {
18711 PyThreadState* __tstate = wxPyBeginAllowThreads();
18712 (arg1)->SetPrinterScaleY(arg2);
18713
18714 wxPyEndAllowThreads(__tstate);
18715 if (PyErr_Occurred()) SWIG_fail;
18716 }
18717 Py_INCREF(Py_None); resultobj = Py_None;
18718 return resultobj;
18719 fail:
18720 return NULL;
18721 }
18722
18723
18724 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18725 PyObject *resultobj;
18726 wxPrintData *arg1 = (wxPrintData *) 0 ;
18727 double arg2 ;
18728 double arg3 ;
18729 PyObject * obj0 = 0 ;
18730 PyObject * obj1 = 0 ;
18731 PyObject * obj2 = 0 ;
18732 char *kwnames[] = {
18733 (char *) "self",(char *) "x",(char *) "y", NULL
18734 };
18735
18736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18739 arg2 = (double) SWIG_AsDouble(obj1);
18740 if (PyErr_Occurred()) SWIG_fail;
18741 arg3 = (double) SWIG_AsDouble(obj2);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 (arg1)->SetPrinterScaling(arg2,arg3);
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 Py_INCREF(Py_None); resultobj = Py_None;
18751 return resultobj;
18752 fail:
18753 return NULL;
18754 }
18755
18756
18757 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj;
18759 wxPrintData *arg1 = (wxPrintData *) 0 ;
18760 long arg2 ;
18761 PyObject * obj0 = 0 ;
18762 PyObject * obj1 = 0 ;
18763 char *kwnames[] = {
18764 (char *) "self",(char *) "x", NULL
18765 };
18766
18767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18770 arg2 = (long) SWIG_AsLong(obj1);
18771 if (PyErr_Occurred()) SWIG_fail;
18772 {
18773 PyThreadState* __tstate = wxPyBeginAllowThreads();
18774 (arg1)->SetPrinterTranslateX(arg2);
18775
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 Py_INCREF(Py_None); resultobj = Py_None;
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj;
18788 wxPrintData *arg1 = (wxPrintData *) 0 ;
18789 long arg2 ;
18790 PyObject * obj0 = 0 ;
18791 PyObject * obj1 = 0 ;
18792 char *kwnames[] = {
18793 (char *) "self",(char *) "y", NULL
18794 };
18795
18796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18799 arg2 = (long) SWIG_AsLong(obj1);
18800 if (PyErr_Occurred()) SWIG_fail;
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 (arg1)->SetPrinterTranslateY(arg2);
18804
18805 wxPyEndAllowThreads(__tstate);
18806 if (PyErr_Occurred()) SWIG_fail;
18807 }
18808 Py_INCREF(Py_None); resultobj = Py_None;
18809 return resultobj;
18810 fail:
18811 return NULL;
18812 }
18813
18814
18815 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18816 PyObject *resultobj;
18817 wxPrintData *arg1 = (wxPrintData *) 0 ;
18818 long arg2 ;
18819 long arg3 ;
18820 PyObject * obj0 = 0 ;
18821 PyObject * obj1 = 0 ;
18822 PyObject * obj2 = 0 ;
18823 char *kwnames[] = {
18824 (char *) "self",(char *) "x",(char *) "y", NULL
18825 };
18826
18827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18830 arg2 = (long) SWIG_AsLong(obj1);
18831 if (PyErr_Occurred()) SWIG_fail;
18832 arg3 = (long) SWIG_AsLong(obj2);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 (arg1)->SetPrinterTranslation(arg2,arg3);
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 Py_INCREF(Py_None); resultobj = Py_None;
18842 return resultobj;
18843 fail:
18844 return NULL;
18845 }
18846
18847
18848 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18849 PyObject *resultobj;
18850 wxPrintData *arg1 = (wxPrintData *) 0 ;
18851 int arg2 ;
18852 PyObject * obj0 = 0 ;
18853 PyObject * obj1 = 0 ;
18854 char *kwnames[] = {
18855 (char *) "self",(char *) "printMode", NULL
18856 };
18857
18858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18861 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18862 if (PyErr_Occurred()) SWIG_fail;
18863 {
18864 PyThreadState* __tstate = wxPyBeginAllowThreads();
18865 (arg1)->SetPrintMode((wxPrintMode )arg2);
18866
18867 wxPyEndAllowThreads(__tstate);
18868 if (PyErr_Occurred()) SWIG_fail;
18869 }
18870 Py_INCREF(Py_None); resultobj = Py_None;
18871 return resultobj;
18872 fail:
18873 return NULL;
18874 }
18875
18876
18877 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18878 PyObject *resultobj;
18879 wxPrintData *arg1 = (wxPrintData *) 0 ;
18880 wxOutputStream *result;
18881 PyObject * obj0 = 0 ;
18882 char *kwnames[] = {
18883 (char *) "self", NULL
18884 };
18885
18886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18889 {
18890 PyThreadState* __tstate = wxPyBeginAllowThreads();
18891 result = (wxOutputStream *)(arg1)->GetOutputStream();
18892
18893 wxPyEndAllowThreads(__tstate);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
18896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18897 return resultobj;
18898 fail:
18899 return NULL;
18900 }
18901
18902
18903 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj;
18905 wxPrintData *arg1 = (wxPrintData *) 0 ;
18906 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18907 PyObject * obj0 = 0 ;
18908 PyObject * obj1 = 0 ;
18909 char *kwnames[] = {
18910 (char *) "self",(char *) "outputstream", NULL
18911 };
18912
18913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18916 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18918 {
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
18920 (arg1)->SetOutputStream(arg2);
18921
18922 wxPyEndAllowThreads(__tstate);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 }
18925 Py_INCREF(Py_None); resultobj = Py_None;
18926 return resultobj;
18927 fail:
18928 return NULL;
18929 }
18930
18931
18932 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18933 PyObject *obj;
18934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18935 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18936 Py_INCREF(obj);
18937 return Py_BuildValue((char *)"");
18938 }
18939 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18940 PyObject *resultobj;
18941 wxPageSetupDialogData *result;
18942 char *kwnames[] = {
18943 NULL
18944 };
18945
18946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18947 {
18948 PyThreadState* __tstate = wxPyBeginAllowThreads();
18949 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18950
18951 wxPyEndAllowThreads(__tstate);
18952 if (PyErr_Occurred()) SWIG_fail;
18953 }
18954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18955 return resultobj;
18956 fail:
18957 return NULL;
18958 }
18959
18960
18961 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18962 PyObject *resultobj;
18963 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18964 PyObject * obj0 = 0 ;
18965 char *kwnames[] = {
18966 (char *) "self", NULL
18967 };
18968
18969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
18970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18972 {
18973 PyThreadState* __tstate = wxPyBeginAllowThreads();
18974 delete arg1;
18975
18976 wxPyEndAllowThreads(__tstate);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 }
18979 Py_INCREF(Py_None); resultobj = Py_None;
18980 return resultobj;
18981 fail:
18982 return NULL;
18983 }
18984
18985
18986 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18987 PyObject *resultobj;
18988 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18989 bool arg2 ;
18990 PyObject * obj0 = 0 ;
18991 PyObject * obj1 = 0 ;
18992 char *kwnames[] = {
18993 (char *) "self",(char *) "flag", NULL
18994 };
18995
18996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18999 arg2 = (bool) SWIG_AsBool(obj1);
19000 if (PyErr_Occurred()) SWIG_fail;
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 (arg1)->EnableHelp(arg2);
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 Py_INCREF(Py_None); resultobj = Py_None;
19009 return resultobj;
19010 fail:
19011 return NULL;
19012 }
19013
19014
19015 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19016 PyObject *resultobj;
19017 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19018 bool arg2 ;
19019 PyObject * obj0 = 0 ;
19020 PyObject * obj1 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self",(char *) "flag", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19028 arg2 = (bool) SWIG_AsBool(obj1);
19029 if (PyErr_Occurred()) SWIG_fail;
19030 {
19031 PyThreadState* __tstate = wxPyBeginAllowThreads();
19032 (arg1)->EnableMargins(arg2);
19033
19034 wxPyEndAllowThreads(__tstate);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 }
19037 Py_INCREF(Py_None); resultobj = Py_None;
19038 return resultobj;
19039 fail:
19040 return NULL;
19041 }
19042
19043
19044 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19045 PyObject *resultobj;
19046 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19047 bool arg2 ;
19048 PyObject * obj0 = 0 ;
19049 PyObject * obj1 = 0 ;
19050 char *kwnames[] = {
19051 (char *) "self",(char *) "flag", NULL
19052 };
19053
19054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19057 arg2 = (bool) SWIG_AsBool(obj1);
19058 if (PyErr_Occurred()) SWIG_fail;
19059 {
19060 PyThreadState* __tstate = wxPyBeginAllowThreads();
19061 (arg1)->EnableOrientation(arg2);
19062
19063 wxPyEndAllowThreads(__tstate);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
19066 Py_INCREF(Py_None); resultobj = Py_None;
19067 return resultobj;
19068 fail:
19069 return NULL;
19070 }
19071
19072
19073 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19074 PyObject *resultobj;
19075 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19076 bool arg2 ;
19077 PyObject * obj0 = 0 ;
19078 PyObject * obj1 = 0 ;
19079 char *kwnames[] = {
19080 (char *) "self",(char *) "flag", NULL
19081 };
19082
19083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19086 arg2 = (bool) SWIG_AsBool(obj1);
19087 if (PyErr_Occurred()) SWIG_fail;
19088 {
19089 PyThreadState* __tstate = wxPyBeginAllowThreads();
19090 (arg1)->EnablePaper(arg2);
19091
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
19095 Py_INCREF(Py_None); resultobj = Py_None;
19096 return resultobj;
19097 fail:
19098 return NULL;
19099 }
19100
19101
19102 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19103 PyObject *resultobj;
19104 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19105 bool arg2 ;
19106 PyObject * obj0 = 0 ;
19107 PyObject * obj1 = 0 ;
19108 char *kwnames[] = {
19109 (char *) "self",(char *) "flag", NULL
19110 };
19111
19112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19115 arg2 = (bool) SWIG_AsBool(obj1);
19116 if (PyErr_Occurred()) SWIG_fail;
19117 {
19118 PyThreadState* __tstate = wxPyBeginAllowThreads();
19119 (arg1)->EnablePrinter(arg2);
19120
19121 wxPyEndAllowThreads(__tstate);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 }
19124 Py_INCREF(Py_None); resultobj = Py_None;
19125 return resultobj;
19126 fail:
19127 return NULL;
19128 }
19129
19130
19131 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19132 PyObject *resultobj;
19133 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19134 bool result;
19135 PyObject * obj0 = 0 ;
19136 char *kwnames[] = {
19137 (char *) "self", NULL
19138 };
19139
19140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19143 {
19144 PyThreadState* __tstate = wxPyBeginAllowThreads();
19145 result = (bool)(arg1)->GetDefaultMinMargins();
19146
19147 wxPyEndAllowThreads(__tstate);
19148 if (PyErr_Occurred()) SWIG_fail;
19149 }
19150 {
19151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19152 }
19153 return resultobj;
19154 fail:
19155 return NULL;
19156 }
19157
19158
19159 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19160 PyObject *resultobj;
19161 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19162 bool result;
19163 PyObject * obj0 = 0 ;
19164 char *kwnames[] = {
19165 (char *) "self", NULL
19166 };
19167
19168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19171 {
19172 PyThreadState* __tstate = wxPyBeginAllowThreads();
19173 result = (bool)(arg1)->GetEnableMargins();
19174
19175 wxPyEndAllowThreads(__tstate);
19176 if (PyErr_Occurred()) SWIG_fail;
19177 }
19178 {
19179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19180 }
19181 return resultobj;
19182 fail:
19183 return NULL;
19184 }
19185
19186
19187 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19188 PyObject *resultobj;
19189 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19190 bool result;
19191 PyObject * obj0 = 0 ;
19192 char *kwnames[] = {
19193 (char *) "self", NULL
19194 };
19195
19196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19199 {
19200 PyThreadState* __tstate = wxPyBeginAllowThreads();
19201 result = (bool)(arg1)->GetEnableOrientation();
19202
19203 wxPyEndAllowThreads(__tstate);
19204 if (PyErr_Occurred()) SWIG_fail;
19205 }
19206 {
19207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19208 }
19209 return resultobj;
19210 fail:
19211 return NULL;
19212 }
19213
19214
19215 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19216 PyObject *resultobj;
19217 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19218 bool result;
19219 PyObject * obj0 = 0 ;
19220 char *kwnames[] = {
19221 (char *) "self", NULL
19222 };
19223
19224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19227 {
19228 PyThreadState* __tstate = wxPyBeginAllowThreads();
19229 result = (bool)(arg1)->GetEnablePaper();
19230
19231 wxPyEndAllowThreads(__tstate);
19232 if (PyErr_Occurred()) SWIG_fail;
19233 }
19234 {
19235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19236 }
19237 return resultobj;
19238 fail:
19239 return NULL;
19240 }
19241
19242
19243 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19244 PyObject *resultobj;
19245 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19246 bool result;
19247 PyObject * obj0 = 0 ;
19248 char *kwnames[] = {
19249 (char *) "self", NULL
19250 };
19251
19252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19255 {
19256 PyThreadState* __tstate = wxPyBeginAllowThreads();
19257 result = (bool)(arg1)->GetEnablePrinter();
19258
19259 wxPyEndAllowThreads(__tstate);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 }
19262 {
19263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19264 }
19265 return resultobj;
19266 fail:
19267 return NULL;
19268 }
19269
19270
19271 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19272 PyObject *resultobj;
19273 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19274 bool result;
19275 PyObject * obj0 = 0 ;
19276 char *kwnames[] = {
19277 (char *) "self", NULL
19278 };
19279
19280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19283 {
19284 PyThreadState* __tstate = wxPyBeginAllowThreads();
19285 result = (bool)(arg1)->GetEnableHelp();
19286
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
19290 {
19291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19292 }
19293 return resultobj;
19294 fail:
19295 return NULL;
19296 }
19297
19298
19299 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19300 PyObject *resultobj;
19301 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19302 bool result;
19303 PyObject * obj0 = 0 ;
19304 char *kwnames[] = {
19305 (char *) "self", NULL
19306 };
19307
19308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19311 {
19312 PyThreadState* __tstate = wxPyBeginAllowThreads();
19313 result = (bool)(arg1)->GetDefaultInfo();
19314
19315 wxPyEndAllowThreads(__tstate);
19316 if (PyErr_Occurred()) SWIG_fail;
19317 }
19318 {
19319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19320 }
19321 return resultobj;
19322 fail:
19323 return NULL;
19324 }
19325
19326
19327 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19328 PyObject *resultobj;
19329 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19330 wxPoint result;
19331 PyObject * obj0 = 0 ;
19332 char *kwnames[] = {
19333 (char *) "self", NULL
19334 };
19335
19336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19339 {
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 result = (arg1)->GetMarginTopLeft();
19342
19343 wxPyEndAllowThreads(__tstate);
19344 if (PyErr_Occurred()) SWIG_fail;
19345 }
19346 {
19347 wxPoint * resultptr;
19348 resultptr = new wxPoint((wxPoint &) result);
19349 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19350 }
19351 return resultobj;
19352 fail:
19353 return NULL;
19354 }
19355
19356
19357 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19358 PyObject *resultobj;
19359 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19360 wxPoint result;
19361 PyObject * obj0 = 0 ;
19362 char *kwnames[] = {
19363 (char *) "self", NULL
19364 };
19365
19366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19369 {
19370 PyThreadState* __tstate = wxPyBeginAllowThreads();
19371 result = (arg1)->GetMarginBottomRight();
19372
19373 wxPyEndAllowThreads(__tstate);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 }
19376 {
19377 wxPoint * resultptr;
19378 resultptr = new wxPoint((wxPoint &) result);
19379 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19380 }
19381 return resultobj;
19382 fail:
19383 return NULL;
19384 }
19385
19386
19387 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19388 PyObject *resultobj;
19389 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19390 wxPoint result;
19391 PyObject * obj0 = 0 ;
19392 char *kwnames[] = {
19393 (char *) "self", NULL
19394 };
19395
19396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19399 {
19400 PyThreadState* __tstate = wxPyBeginAllowThreads();
19401 result = (arg1)->GetMinMarginTopLeft();
19402
19403 wxPyEndAllowThreads(__tstate);
19404 if (PyErr_Occurred()) SWIG_fail;
19405 }
19406 {
19407 wxPoint * resultptr;
19408 resultptr = new wxPoint((wxPoint &) result);
19409 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19410 }
19411 return resultobj;
19412 fail:
19413 return NULL;
19414 }
19415
19416
19417 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19418 PyObject *resultobj;
19419 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19420 wxPoint result;
19421 PyObject * obj0 = 0 ;
19422 char *kwnames[] = {
19423 (char *) "self", NULL
19424 };
19425
19426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19429 {
19430 PyThreadState* __tstate = wxPyBeginAllowThreads();
19431 result = (arg1)->GetMinMarginBottomRight();
19432
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
19436 {
19437 wxPoint * resultptr;
19438 resultptr = new wxPoint((wxPoint &) result);
19439 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19440 }
19441 return resultobj;
19442 fail:
19443 return NULL;
19444 }
19445
19446
19447 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19448 PyObject *resultobj;
19449 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19450 int result;
19451 PyObject * obj0 = 0 ;
19452 char *kwnames[] = {
19453 (char *) "self", NULL
19454 };
19455
19456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19459 {
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
19461 result = (int)(arg1)->GetPaperId();
19462
19463 wxPyEndAllowThreads(__tstate);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 }
19466 resultobj = SWIG_FromInt((int)result);
19467 return resultobj;
19468 fail:
19469 return NULL;
19470 }
19471
19472
19473 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19474 PyObject *resultobj;
19475 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19476 wxSize result;
19477 PyObject * obj0 = 0 ;
19478 char *kwnames[] = {
19479 (char *) "self", NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 result = (arg1)->GetPaperSize();
19488
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 {
19493 wxSize * resultptr;
19494 resultptr = new wxSize((wxSize &) result);
19495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19496 }
19497 return resultobj;
19498 fail:
19499 return NULL;
19500 }
19501
19502
19503 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19504 PyObject *resultobj;
19505 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19506 wxPrintData *result;
19507 PyObject * obj0 = 0 ;
19508 char *kwnames[] = {
19509 (char *) "self", NULL
19510 };
19511
19512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19515 {
19516 PyThreadState* __tstate = wxPyBeginAllowThreads();
19517 {
19518 wxPrintData &_result_ref = (arg1)->GetPrintData();
19519 result = (wxPrintData *) &_result_ref;
19520 }
19521
19522 wxPyEndAllowThreads(__tstate);
19523 if (PyErr_Occurred()) SWIG_fail;
19524 }
19525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19526 return resultobj;
19527 fail:
19528 return NULL;
19529 }
19530
19531
19532 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19533 PyObject *resultobj;
19534 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19535 bool result;
19536 PyObject * obj0 = 0 ;
19537 char *kwnames[] = {
19538 (char *) "self", NULL
19539 };
19540
19541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19544 {
19545 PyThreadState* __tstate = wxPyBeginAllowThreads();
19546 result = (bool)(arg1)->Ok();
19547
19548 wxPyEndAllowThreads(__tstate);
19549 if (PyErr_Occurred()) SWIG_fail;
19550 }
19551 {
19552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19553 }
19554 return resultobj;
19555 fail:
19556 return NULL;
19557 }
19558
19559
19560 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19561 PyObject *resultobj;
19562 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19563 bool arg2 ;
19564 PyObject * obj0 = 0 ;
19565 PyObject * obj1 = 0 ;
19566 char *kwnames[] = {
19567 (char *) "self",(char *) "flag", NULL
19568 };
19569
19570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19573 arg2 = (bool) SWIG_AsBool(obj1);
19574 if (PyErr_Occurred()) SWIG_fail;
19575 {
19576 PyThreadState* __tstate = wxPyBeginAllowThreads();
19577 (arg1)->SetDefaultInfo(arg2);
19578
19579 wxPyEndAllowThreads(__tstate);
19580 if (PyErr_Occurred()) SWIG_fail;
19581 }
19582 Py_INCREF(Py_None); resultobj = Py_None;
19583 return resultobj;
19584 fail:
19585 return NULL;
19586 }
19587
19588
19589 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19590 PyObject *resultobj;
19591 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19592 bool arg2 ;
19593 PyObject * obj0 = 0 ;
19594 PyObject * obj1 = 0 ;
19595 char *kwnames[] = {
19596 (char *) "self",(char *) "flag", NULL
19597 };
19598
19599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19602 arg2 = (bool) SWIG_AsBool(obj1);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 {
19605 PyThreadState* __tstate = wxPyBeginAllowThreads();
19606 (arg1)->SetDefaultMinMargins(arg2);
19607
19608 wxPyEndAllowThreads(__tstate);
19609 if (PyErr_Occurred()) SWIG_fail;
19610 }
19611 Py_INCREF(Py_None); resultobj = Py_None;
19612 return resultobj;
19613 fail:
19614 return NULL;
19615 }
19616
19617
19618 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19619 PyObject *resultobj;
19620 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19621 wxPoint *arg2 = 0 ;
19622 wxPoint temp2 ;
19623 PyObject * obj0 = 0 ;
19624 PyObject * obj1 = 0 ;
19625 char *kwnames[] = {
19626 (char *) "self",(char *) "pt", NULL
19627 };
19628
19629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19632 {
19633 arg2 = &temp2;
19634 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19635 }
19636 {
19637 PyThreadState* __tstate = wxPyBeginAllowThreads();
19638 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19639
19640 wxPyEndAllowThreads(__tstate);
19641 if (PyErr_Occurred()) SWIG_fail;
19642 }
19643 Py_INCREF(Py_None); resultobj = Py_None;
19644 return resultobj;
19645 fail:
19646 return NULL;
19647 }
19648
19649
19650 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj;
19652 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19653 wxPoint *arg2 = 0 ;
19654 wxPoint temp2 ;
19655 PyObject * obj0 = 0 ;
19656 PyObject * obj1 = 0 ;
19657 char *kwnames[] = {
19658 (char *) "self",(char *) "pt", NULL
19659 };
19660
19661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19664 {
19665 arg2 = &temp2;
19666 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19667 }
19668 {
19669 PyThreadState* __tstate = wxPyBeginAllowThreads();
19670 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19671
19672 wxPyEndAllowThreads(__tstate);
19673 if (PyErr_Occurred()) SWIG_fail;
19674 }
19675 Py_INCREF(Py_None); resultobj = Py_None;
19676 return resultobj;
19677 fail:
19678 return NULL;
19679 }
19680
19681
19682 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19683 PyObject *resultobj;
19684 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19685 wxPoint *arg2 = 0 ;
19686 wxPoint temp2 ;
19687 PyObject * obj0 = 0 ;
19688 PyObject * obj1 = 0 ;
19689 char *kwnames[] = {
19690 (char *) "self",(char *) "pt", NULL
19691 };
19692
19693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19696 {
19697 arg2 = &temp2;
19698 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19699 }
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19703
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 Py_INCREF(Py_None); resultobj = Py_None;
19708 return resultobj;
19709 fail:
19710 return NULL;
19711 }
19712
19713
19714 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19715 PyObject *resultobj;
19716 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19717 wxPoint *arg2 = 0 ;
19718 wxPoint temp2 ;
19719 PyObject * obj0 = 0 ;
19720 PyObject * obj1 = 0 ;
19721 char *kwnames[] = {
19722 (char *) "self",(char *) "pt", NULL
19723 };
19724
19725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19728 {
19729 arg2 = &temp2;
19730 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19731 }
19732 {
19733 PyThreadState* __tstate = wxPyBeginAllowThreads();
19734 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19735
19736 wxPyEndAllowThreads(__tstate);
19737 if (PyErr_Occurred()) SWIG_fail;
19738 }
19739 Py_INCREF(Py_None); resultobj = Py_None;
19740 return resultobj;
19741 fail:
19742 return NULL;
19743 }
19744
19745
19746 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj;
19748 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19749 int arg2 ;
19750 PyObject * obj0 = 0 ;
19751 PyObject * obj1 = 0 ;
19752 char *kwnames[] = {
19753 (char *) "self",(char *) "id", NULL
19754 };
19755
19756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19759 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 {
19762 PyThreadState* __tstate = wxPyBeginAllowThreads();
19763 (arg1)->SetPaperId((wxPaperSize )arg2);
19764
19765 wxPyEndAllowThreads(__tstate);
19766 if (PyErr_Occurred()) SWIG_fail;
19767 }
19768 Py_INCREF(Py_None); resultobj = Py_None;
19769 return resultobj;
19770 fail:
19771 return NULL;
19772 }
19773
19774
19775 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19776 PyObject *resultobj;
19777 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19778 wxSize *arg2 = 0 ;
19779 wxSize temp2 ;
19780 PyObject * obj0 = 0 ;
19781 PyObject * obj1 = 0 ;
19782 char *kwnames[] = {
19783 (char *) "self",(char *) "size", NULL
19784 };
19785
19786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19789 {
19790 arg2 = &temp2;
19791 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19792 }
19793 {
19794 PyThreadState* __tstate = wxPyBeginAllowThreads();
19795 (arg1)->SetPaperSize((wxSize const &)*arg2);
19796
19797 wxPyEndAllowThreads(__tstate);
19798 if (PyErr_Occurred()) SWIG_fail;
19799 }
19800 Py_INCREF(Py_None); resultobj = Py_None;
19801 return resultobj;
19802 fail:
19803 return NULL;
19804 }
19805
19806
19807 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19808 PyObject *resultobj;
19809 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19810 wxPrintData *arg2 = 0 ;
19811 PyObject * obj0 = 0 ;
19812 PyObject * obj1 = 0 ;
19813 char *kwnames[] = {
19814 (char *) "self",(char *) "printData", NULL
19815 };
19816
19817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19821 SWIG_POINTER_EXCEPTION | 0)) == -1)
19822 SWIG_fail;
19823 if (arg2 == NULL) {
19824 PyErr_SetString(PyExc_TypeError,"null reference");
19825 SWIG_fail;
19826 }
19827 {
19828 PyThreadState* __tstate = wxPyBeginAllowThreads();
19829 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19830
19831 wxPyEndAllowThreads(__tstate);
19832 if (PyErr_Occurred()) SWIG_fail;
19833 }
19834 Py_INCREF(Py_None); resultobj = Py_None;
19835 return resultobj;
19836 fail:
19837 return NULL;
19838 }
19839
19840
19841 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19842 PyObject *obj;
19843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19844 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19845 Py_INCREF(obj);
19846 return Py_BuildValue((char *)"");
19847 }
19848 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19849 PyObject *resultobj;
19850 wxWindow *arg1 = (wxWindow *) 0 ;
19851 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19852 wxPageSetupDialog *result;
19853 PyObject * obj0 = 0 ;
19854 PyObject * obj1 = 0 ;
19855 char *kwnames[] = {
19856 (char *) "parent",(char *) "data", NULL
19857 };
19858
19859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19862 if (obj1) {
19863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19865 }
19866 {
19867 PyThreadState* __tstate = wxPyBeginAllowThreads();
19868 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19869
19870 wxPyEndAllowThreads(__tstate);
19871 if (PyErr_Occurred()) SWIG_fail;
19872 }
19873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19874 return resultobj;
19875 fail:
19876 return NULL;
19877 }
19878
19879
19880 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19881 PyObject *resultobj;
19882 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19883 wxPageSetupDialogData *result;
19884 PyObject * obj0 = 0 ;
19885 char *kwnames[] = {
19886 (char *) "self", NULL
19887 };
19888
19889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19892 {
19893 PyThreadState* __tstate = wxPyBeginAllowThreads();
19894 {
19895 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19896 result = (wxPageSetupDialogData *) &_result_ref;
19897 }
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19903 return resultobj;
19904 fail:
19905 return NULL;
19906 }
19907
19908
19909 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19910 PyObject *resultobj;
19911 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19912 int result;
19913 PyObject * obj0 = 0 ;
19914 char *kwnames[] = {
19915 (char *) "self", NULL
19916 };
19917
19918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19921 {
19922 PyThreadState* __tstate = wxPyBeginAllowThreads();
19923 result = (int)(arg1)->ShowModal();
19924
19925 wxPyEndAllowThreads(__tstate);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 }
19928 resultobj = SWIG_FromInt((int)result);
19929 return resultobj;
19930 fail:
19931 return NULL;
19932 }
19933
19934
19935 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19936 PyObject *obj;
19937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19938 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19939 Py_INCREF(obj);
19940 return Py_BuildValue((char *)"");
19941 }
19942 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
19943 PyObject *resultobj;
19944 wxPrintDialogData *result;
19945
19946 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19947 {
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 result = (wxPrintDialogData *)new wxPrintDialogData();
19950
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
19954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19955 return resultobj;
19956 fail:
19957 return NULL;
19958 }
19959
19960
19961 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19962 PyObject *resultobj;
19963 wxPrintData *arg1 = 0 ;
19964 wxPrintDialogData *result;
19965 PyObject * obj0 = 0 ;
19966
19967 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19969 SWIG_POINTER_EXCEPTION | 0)) == -1)
19970 SWIG_fail;
19971 if (arg1 == NULL) {
19972 PyErr_SetString(PyExc_TypeError,"null reference");
19973 SWIG_fail;
19974 }
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19978
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19983 return resultobj;
19984 fail:
19985 return NULL;
19986 }
19987
19988
19989 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19990 int argc;
19991 PyObject *argv[2];
19992 int ii;
19993
19994 argc = PyObject_Length(args);
19995 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19996 argv[ii] = PyTuple_GetItem(args,ii);
19997 }
19998 if (argc == 0) {
19999 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20000 }
20001 if (argc == 1) {
20002 int _v;
20003 {
20004 void *ptr;
20005 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20006 _v = 0;
20007 PyErr_Clear();
20008 } else {
20009 _v = 1;
20010 }
20011 }
20012 if (_v) {
20013 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20014 }
20015 }
20016
20017 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20018 return NULL;
20019 }
20020
20021
20022 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20023 PyObject *resultobj;
20024 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20025 PyObject * obj0 = 0 ;
20026 char *kwnames[] = {
20027 (char *) "self", NULL
20028 };
20029
20030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20033 {
20034 PyThreadState* __tstate = wxPyBeginAllowThreads();
20035 delete arg1;
20036
20037 wxPyEndAllowThreads(__tstate);
20038 if (PyErr_Occurred()) SWIG_fail;
20039 }
20040 Py_INCREF(Py_None); resultobj = Py_None;
20041 return resultobj;
20042 fail:
20043 return NULL;
20044 }
20045
20046
20047 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20048 PyObject *resultobj;
20049 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20050 int result;
20051 PyObject * obj0 = 0 ;
20052 char *kwnames[] = {
20053 (char *) "self", NULL
20054 };
20055
20056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20059 {
20060 PyThreadState* __tstate = wxPyBeginAllowThreads();
20061 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20062
20063 wxPyEndAllowThreads(__tstate);
20064 if (PyErr_Occurred()) SWIG_fail;
20065 }
20066 resultobj = SWIG_FromInt((int)result);
20067 return resultobj;
20068 fail:
20069 return NULL;
20070 }
20071
20072
20073 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20074 PyObject *resultobj;
20075 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20076 int result;
20077 PyObject * obj0 = 0 ;
20078 char *kwnames[] = {
20079 (char *) "self", NULL
20080 };
20081
20082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20085 {
20086 PyThreadState* __tstate = wxPyBeginAllowThreads();
20087 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20088
20089 wxPyEndAllowThreads(__tstate);
20090 if (PyErr_Occurred()) SWIG_fail;
20091 }
20092 resultobj = SWIG_FromInt((int)result);
20093 return resultobj;
20094 fail:
20095 return NULL;
20096 }
20097
20098
20099 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20100 PyObject *resultobj;
20101 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20102 int result;
20103 PyObject * obj0 = 0 ;
20104 char *kwnames[] = {
20105 (char *) "self", NULL
20106 };
20107
20108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20111 {
20112 PyThreadState* __tstate = wxPyBeginAllowThreads();
20113 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20114
20115 wxPyEndAllowThreads(__tstate);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 resultobj = SWIG_FromInt((int)result);
20119 return resultobj;
20120 fail:
20121 return NULL;
20122 }
20123
20124
20125 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20126 PyObject *resultobj;
20127 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20128 int result;
20129 PyObject * obj0 = 0 ;
20130 char *kwnames[] = {
20131 (char *) "self", NULL
20132 };
20133
20134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20137 {
20138 PyThreadState* __tstate = wxPyBeginAllowThreads();
20139 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20140
20141 wxPyEndAllowThreads(__tstate);
20142 if (PyErr_Occurred()) SWIG_fail;
20143 }
20144 resultobj = SWIG_FromInt((int)result);
20145 return resultobj;
20146 fail:
20147 return NULL;
20148 }
20149
20150
20151 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20152 PyObject *resultobj;
20153 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20154 int result;
20155 PyObject * obj0 = 0 ;
20156 char *kwnames[] = {
20157 (char *) "self", NULL
20158 };
20159
20160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20163 {
20164 PyThreadState* __tstate = wxPyBeginAllowThreads();
20165 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20166
20167 wxPyEndAllowThreads(__tstate);
20168 if (PyErr_Occurred()) SWIG_fail;
20169 }
20170 resultobj = SWIG_FromInt((int)result);
20171 return resultobj;
20172 fail:
20173 return NULL;
20174 }
20175
20176
20177 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20178 PyObject *resultobj;
20179 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20180 bool result;
20181 PyObject * obj0 = 0 ;
20182 char *kwnames[] = {
20183 (char *) "self", NULL
20184 };
20185
20186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20192
20193 wxPyEndAllowThreads(__tstate);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
20196 {
20197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20198 }
20199 return resultobj;
20200 fail:
20201 return NULL;
20202 }
20203
20204
20205 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20208 bool result;
20209 PyObject * obj0 = 0 ;
20210 char *kwnames[] = {
20211 (char *) "self", NULL
20212 };
20213
20214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
20224 {
20225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20226 }
20227 return resultobj;
20228 fail:
20229 return NULL;
20230 }
20231
20232
20233 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20234 PyObject *resultobj;
20235 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20236 bool result;
20237 PyObject * obj0 = 0 ;
20238 char *kwnames[] = {
20239 (char *) "self", NULL
20240 };
20241
20242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20245 {
20246 PyThreadState* __tstate = wxPyBeginAllowThreads();
20247 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20248
20249 wxPyEndAllowThreads(__tstate);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 }
20252 {
20253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20254 }
20255 return resultobj;
20256 fail:
20257 return NULL;
20258 }
20259
20260
20261 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj;
20263 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20264 bool result;
20265 PyObject * obj0 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self", NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20276
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
20280 {
20281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20282 }
20283 return resultobj;
20284 fail:
20285 return NULL;
20286 }
20287
20288
20289 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20290 PyObject *resultobj;
20291 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20292 bool result;
20293 PyObject * obj0 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "self", NULL
20296 };
20297
20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20301 {
20302 PyThreadState* __tstate = wxPyBeginAllowThreads();
20303 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20304
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 {
20309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20310 }
20311 return resultobj;
20312 fail:
20313 return NULL;
20314 }
20315
20316
20317 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20318 PyObject *resultobj;
20319 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20320 int arg2 ;
20321 PyObject * obj0 = 0 ;
20322 PyObject * obj1 = 0 ;
20323 char *kwnames[] = {
20324 (char *) "self",(char *) "v", NULL
20325 };
20326
20327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20330 arg2 = (int) SWIG_AsInt(obj1);
20331 if (PyErr_Occurred()) SWIG_fail;
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 (arg1)->SetFromPage(arg2);
20335
20336 wxPyEndAllowThreads(__tstate);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 }
20339 Py_INCREF(Py_None); resultobj = Py_None;
20340 return resultobj;
20341 fail:
20342 return NULL;
20343 }
20344
20345
20346 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20347 PyObject *resultobj;
20348 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20349 int arg2 ;
20350 PyObject * obj0 = 0 ;
20351 PyObject * obj1 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self",(char *) "v", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20359 arg2 = (int) SWIG_AsInt(obj1);
20360 if (PyErr_Occurred()) SWIG_fail;
20361 {
20362 PyThreadState* __tstate = wxPyBeginAllowThreads();
20363 (arg1)->SetToPage(arg2);
20364
20365 wxPyEndAllowThreads(__tstate);
20366 if (PyErr_Occurred()) SWIG_fail;
20367 }
20368 Py_INCREF(Py_None); resultobj = Py_None;
20369 return resultobj;
20370 fail:
20371 return NULL;
20372 }
20373
20374
20375 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj;
20377 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20378 int arg2 ;
20379 PyObject * obj0 = 0 ;
20380 PyObject * obj1 = 0 ;
20381 char *kwnames[] = {
20382 (char *) "self",(char *) "v", NULL
20383 };
20384
20385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20388 arg2 = (int) SWIG_AsInt(obj1);
20389 if (PyErr_Occurred()) SWIG_fail;
20390 {
20391 PyThreadState* __tstate = wxPyBeginAllowThreads();
20392 (arg1)->SetMinPage(arg2);
20393
20394 wxPyEndAllowThreads(__tstate);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 }
20397 Py_INCREF(Py_None); resultobj = Py_None;
20398 return resultobj;
20399 fail:
20400 return NULL;
20401 }
20402
20403
20404 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20405 PyObject *resultobj;
20406 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20407 int arg2 ;
20408 PyObject * obj0 = 0 ;
20409 PyObject * obj1 = 0 ;
20410 char *kwnames[] = {
20411 (char *) "self",(char *) "v", NULL
20412 };
20413
20414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20417 arg2 = (int) SWIG_AsInt(obj1);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 {
20420 PyThreadState* __tstate = wxPyBeginAllowThreads();
20421 (arg1)->SetMaxPage(arg2);
20422
20423 wxPyEndAllowThreads(__tstate);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 }
20426 Py_INCREF(Py_None); resultobj = Py_None;
20427 return resultobj;
20428 fail:
20429 return NULL;
20430 }
20431
20432
20433 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20434 PyObject *resultobj;
20435 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20436 int arg2 ;
20437 PyObject * obj0 = 0 ;
20438 PyObject * obj1 = 0 ;
20439 char *kwnames[] = {
20440 (char *) "self",(char *) "v", NULL
20441 };
20442
20443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20446 arg2 = (int) SWIG_AsInt(obj1);
20447 if (PyErr_Occurred()) SWIG_fail;
20448 {
20449 PyThreadState* __tstate = wxPyBeginAllowThreads();
20450 (arg1)->SetNoCopies(arg2);
20451
20452 wxPyEndAllowThreads(__tstate);
20453 if (PyErr_Occurred()) SWIG_fail;
20454 }
20455 Py_INCREF(Py_None); resultobj = Py_None;
20456 return resultobj;
20457 fail:
20458 return NULL;
20459 }
20460
20461
20462 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20463 PyObject *resultobj;
20464 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20465 bool arg2 ;
20466 PyObject * obj0 = 0 ;
20467 PyObject * obj1 = 0 ;
20468 char *kwnames[] = {
20469 (char *) "self",(char *) "flag", NULL
20470 };
20471
20472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20475 arg2 = (bool) SWIG_AsBool(obj1);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 {
20478 PyThreadState* __tstate = wxPyBeginAllowThreads();
20479 (arg1)->SetAllPages(arg2);
20480
20481 wxPyEndAllowThreads(__tstate);
20482 if (PyErr_Occurred()) SWIG_fail;
20483 }
20484 Py_INCREF(Py_None); resultobj = Py_None;
20485 return resultobj;
20486 fail:
20487 return NULL;
20488 }
20489
20490
20491 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20492 PyObject *resultobj;
20493 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20494 bool arg2 ;
20495 PyObject * obj0 = 0 ;
20496 PyObject * obj1 = 0 ;
20497 char *kwnames[] = {
20498 (char *) "self",(char *) "flag", NULL
20499 };
20500
20501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20504 arg2 = (bool) SWIG_AsBool(obj1);
20505 if (PyErr_Occurred()) SWIG_fail;
20506 {
20507 PyThreadState* __tstate = wxPyBeginAllowThreads();
20508 (arg1)->SetSelection(arg2);
20509
20510 wxPyEndAllowThreads(__tstate);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 }
20513 Py_INCREF(Py_None); resultobj = Py_None;
20514 return resultobj;
20515 fail:
20516 return NULL;
20517 }
20518
20519
20520 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj;
20522 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20523 bool arg2 ;
20524 PyObject * obj0 = 0 ;
20525 PyObject * obj1 = 0 ;
20526 char *kwnames[] = {
20527 (char *) "self",(char *) "flag", NULL
20528 };
20529
20530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20533 arg2 = (bool) SWIG_AsBool(obj1);
20534 if (PyErr_Occurred()) SWIG_fail;
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 (arg1)->SetCollate(arg2);
20538
20539 wxPyEndAllowThreads(__tstate);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 }
20542 Py_INCREF(Py_None); resultobj = Py_None;
20543 return resultobj;
20544 fail:
20545 return NULL;
20546 }
20547
20548
20549 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20550 PyObject *resultobj;
20551 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20552 bool arg2 ;
20553 PyObject * obj0 = 0 ;
20554 PyObject * obj1 = 0 ;
20555 char *kwnames[] = {
20556 (char *) "self",(char *) "flag", NULL
20557 };
20558
20559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20562 arg2 = (bool) SWIG_AsBool(obj1);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 {
20565 PyThreadState* __tstate = wxPyBeginAllowThreads();
20566 (arg1)->SetPrintToFile(arg2);
20567
20568 wxPyEndAllowThreads(__tstate);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 }
20571 Py_INCREF(Py_None); resultobj = Py_None;
20572 return resultobj;
20573 fail:
20574 return NULL;
20575 }
20576
20577
20578 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20579 PyObject *resultobj;
20580 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20581 bool arg2 ;
20582 PyObject * obj0 = 0 ;
20583 PyObject * obj1 = 0 ;
20584 char *kwnames[] = {
20585 (char *) "self",(char *) "flag", NULL
20586 };
20587
20588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20591 arg2 = (bool) SWIG_AsBool(obj1);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
20595 (arg1)->SetSetupDialog(arg2);
20596
20597 wxPyEndAllowThreads(__tstate);
20598 if (PyErr_Occurred()) SWIG_fail;
20599 }
20600 Py_INCREF(Py_None); resultobj = Py_None;
20601 return resultobj;
20602 fail:
20603 return NULL;
20604 }
20605
20606
20607 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20608 PyObject *resultobj;
20609 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20610 bool arg2 ;
20611 PyObject * obj0 = 0 ;
20612 PyObject * obj1 = 0 ;
20613 char *kwnames[] = {
20614 (char *) "self",(char *) "flag", NULL
20615 };
20616
20617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20620 arg2 = (bool) SWIG_AsBool(obj1);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 (arg1)->EnablePrintToFile(arg2);
20625
20626 wxPyEndAllowThreads(__tstate);
20627 if (PyErr_Occurred()) SWIG_fail;
20628 }
20629 Py_INCREF(Py_None); resultobj = Py_None;
20630 return resultobj;
20631 fail:
20632 return NULL;
20633 }
20634
20635
20636 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20637 PyObject *resultobj;
20638 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20639 bool arg2 ;
20640 PyObject * obj0 = 0 ;
20641 PyObject * obj1 = 0 ;
20642 char *kwnames[] = {
20643 (char *) "self",(char *) "flag", NULL
20644 };
20645
20646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20649 arg2 = (bool) SWIG_AsBool(obj1);
20650 if (PyErr_Occurred()) SWIG_fail;
20651 {
20652 PyThreadState* __tstate = wxPyBeginAllowThreads();
20653 (arg1)->EnableSelection(arg2);
20654
20655 wxPyEndAllowThreads(__tstate);
20656 if (PyErr_Occurred()) SWIG_fail;
20657 }
20658 Py_INCREF(Py_None); resultobj = Py_None;
20659 return resultobj;
20660 fail:
20661 return NULL;
20662 }
20663
20664
20665 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20666 PyObject *resultobj;
20667 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20668 bool arg2 ;
20669 PyObject * obj0 = 0 ;
20670 PyObject * obj1 = 0 ;
20671 char *kwnames[] = {
20672 (char *) "self",(char *) "flag", NULL
20673 };
20674
20675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20678 arg2 = (bool) SWIG_AsBool(obj1);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 {
20681 PyThreadState* __tstate = wxPyBeginAllowThreads();
20682 (arg1)->EnablePageNumbers(arg2);
20683
20684 wxPyEndAllowThreads(__tstate);
20685 if (PyErr_Occurred()) SWIG_fail;
20686 }
20687 Py_INCREF(Py_None); resultobj = Py_None;
20688 return resultobj;
20689 fail:
20690 return NULL;
20691 }
20692
20693
20694 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20695 PyObject *resultobj;
20696 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20697 bool arg2 ;
20698 PyObject * obj0 = 0 ;
20699 PyObject * obj1 = 0 ;
20700 char *kwnames[] = {
20701 (char *) "self",(char *) "flag", NULL
20702 };
20703
20704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20707 arg2 = (bool) SWIG_AsBool(obj1);
20708 if (PyErr_Occurred()) SWIG_fail;
20709 {
20710 PyThreadState* __tstate = wxPyBeginAllowThreads();
20711 (arg1)->EnableHelp(arg2);
20712
20713 wxPyEndAllowThreads(__tstate);
20714 if (PyErr_Occurred()) SWIG_fail;
20715 }
20716 Py_INCREF(Py_None); resultobj = Py_None;
20717 return resultobj;
20718 fail:
20719 return NULL;
20720 }
20721
20722
20723 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20724 PyObject *resultobj;
20725 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20726 bool result;
20727 PyObject * obj0 = 0 ;
20728 char *kwnames[] = {
20729 (char *) "self", NULL
20730 };
20731
20732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20735 {
20736 PyThreadState* __tstate = wxPyBeginAllowThreads();
20737 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20738
20739 wxPyEndAllowThreads(__tstate);
20740 if (PyErr_Occurred()) SWIG_fail;
20741 }
20742 {
20743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20744 }
20745 return resultobj;
20746 fail:
20747 return NULL;
20748 }
20749
20750
20751 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20752 PyObject *resultobj;
20753 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20754 bool result;
20755 PyObject * obj0 = 0 ;
20756 char *kwnames[] = {
20757 (char *) "self", NULL
20758 };
20759
20760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20763 {
20764 PyThreadState* __tstate = wxPyBeginAllowThreads();
20765 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20766
20767 wxPyEndAllowThreads(__tstate);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 {
20771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20772 }
20773 return resultobj;
20774 fail:
20775 return NULL;
20776 }
20777
20778
20779 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20780 PyObject *resultobj;
20781 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20782 bool result;
20783 PyObject * obj0 = 0 ;
20784 char *kwnames[] = {
20785 (char *) "self", NULL
20786 };
20787
20788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20791 {
20792 PyThreadState* __tstate = wxPyBeginAllowThreads();
20793 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20794
20795 wxPyEndAllowThreads(__tstate);
20796 if (PyErr_Occurred()) SWIG_fail;
20797 }
20798 {
20799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20800 }
20801 return resultobj;
20802 fail:
20803 return NULL;
20804 }
20805
20806
20807 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20808 PyObject *resultobj;
20809 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20810 bool result;
20811 PyObject * obj0 = 0 ;
20812 char *kwnames[] = {
20813 (char *) "self", NULL
20814 };
20815
20816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20819 {
20820 PyThreadState* __tstate = wxPyBeginAllowThreads();
20821 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20822
20823 wxPyEndAllowThreads(__tstate);
20824 if (PyErr_Occurred()) SWIG_fail;
20825 }
20826 {
20827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20828 }
20829 return resultobj;
20830 fail:
20831 return NULL;
20832 }
20833
20834
20835 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20836 PyObject *resultobj;
20837 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20838 bool result;
20839 PyObject * obj0 = 0 ;
20840 char *kwnames[] = {
20841 (char *) "self", NULL
20842 };
20843
20844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20847 {
20848 PyThreadState* __tstate = wxPyBeginAllowThreads();
20849 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20850
20851 wxPyEndAllowThreads(__tstate);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 }
20854 {
20855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20856 }
20857 return resultobj;
20858 fail:
20859 return NULL;
20860 }
20861
20862
20863 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20864 PyObject *resultobj;
20865 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20866 wxPrintData *result;
20867 PyObject * obj0 = 0 ;
20868 char *kwnames[] = {
20869 (char *) "self", NULL
20870 };
20871
20872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 {
20878 wxPrintData &_result_ref = (arg1)->GetPrintData();
20879 result = (wxPrintData *) &_result_ref;
20880 }
20881
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20886 return resultobj;
20887 fail:
20888 return NULL;
20889 }
20890
20891
20892 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20893 PyObject *resultobj;
20894 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20895 wxPrintData *arg2 = 0 ;
20896 PyObject * obj0 = 0 ;
20897 PyObject * obj1 = 0 ;
20898 char *kwnames[] = {
20899 (char *) "self",(char *) "printData", NULL
20900 };
20901
20902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20906 SWIG_POINTER_EXCEPTION | 0)) == -1)
20907 SWIG_fail;
20908 if (arg2 == NULL) {
20909 PyErr_SetString(PyExc_TypeError,"null reference");
20910 SWIG_fail;
20911 }
20912 {
20913 PyThreadState* __tstate = wxPyBeginAllowThreads();
20914 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20915
20916 wxPyEndAllowThreads(__tstate);
20917 if (PyErr_Occurred()) SWIG_fail;
20918 }
20919 Py_INCREF(Py_None); resultobj = Py_None;
20920 return resultobj;
20921 fail:
20922 return NULL;
20923 }
20924
20925
20926 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20927 PyObject *obj;
20928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20929 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20930 Py_INCREF(obj);
20931 return Py_BuildValue((char *)"");
20932 }
20933 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20934 PyObject *resultobj;
20935 wxWindow *arg1 = (wxWindow *) 0 ;
20936 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20937 wxPrintDialog *result;
20938 PyObject * obj0 = 0 ;
20939 PyObject * obj1 = 0 ;
20940 char *kwnames[] = {
20941 (char *) "parent",(char *) "data", NULL
20942 };
20943
20944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20947 if (obj1) {
20948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20950 }
20951 {
20952 PyThreadState* __tstate = wxPyBeginAllowThreads();
20953 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20954
20955 wxPyEndAllowThreads(__tstate);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20959 return resultobj;
20960 fail:
20961 return NULL;
20962 }
20963
20964
20965 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20966 PyObject *resultobj;
20967 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20968 wxPrintDialogData *result;
20969 PyObject * obj0 = 0 ;
20970 char *kwnames[] = {
20971 (char *) "self", NULL
20972 };
20973
20974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
20975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20977 {
20978 PyThreadState* __tstate = wxPyBeginAllowThreads();
20979 {
20980 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20981 result = (wxPrintDialogData *) &_result_ref;
20982 }
20983
20984 wxPyEndAllowThreads(__tstate);
20985 if (PyErr_Occurred()) SWIG_fail;
20986 }
20987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20988 return resultobj;
20989 fail:
20990 return NULL;
20991 }
20992
20993
20994 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20995 PyObject *resultobj;
20996 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20997 wxDC *result;
20998 PyObject * obj0 = 0 ;
20999 char *kwnames[] = {
21000 (char *) "self", NULL
21001 };
21002
21003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21006 {
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 result = (wxDC *)(arg1)->GetPrintDC();
21009
21010 wxPyEndAllowThreads(__tstate);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 }
21013 {
21014 resultobj = wxPyMake_wxObject(result);
21015 }
21016 return resultobj;
21017 fail:
21018 return NULL;
21019 }
21020
21021
21022 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21023 PyObject *resultobj;
21024 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21025 int result;
21026 PyObject * obj0 = 0 ;
21027 char *kwnames[] = {
21028 (char *) "self", NULL
21029 };
21030
21031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21034 {
21035 PyThreadState* __tstate = wxPyBeginAllowThreads();
21036 result = (int)(arg1)->ShowModal();
21037
21038 wxPyEndAllowThreads(__tstate);
21039 if (PyErr_Occurred()) SWIG_fail;
21040 }
21041 resultobj = SWIG_FromInt((int)result);
21042 return resultobj;
21043 fail:
21044 return NULL;
21045 }
21046
21047
21048 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21049 PyObject *obj;
21050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21051 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21052 Py_INCREF(obj);
21053 return Py_BuildValue((char *)"");
21054 }
21055 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21056 PyObject *resultobj;
21057 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21058 wxPrinter *result;
21059 PyObject * obj0 = 0 ;
21060 char *kwnames[] = {
21061 (char *) "data", NULL
21062 };
21063
21064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21065 if (obj0) {
21066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21068 }
21069 {
21070 PyThreadState* __tstate = wxPyBeginAllowThreads();
21071 result = (wxPrinter *)new wxPrinter(arg1);
21072
21073 wxPyEndAllowThreads(__tstate);
21074 if (PyErr_Occurred()) SWIG_fail;
21075 }
21076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21077 return resultobj;
21078 fail:
21079 return NULL;
21080 }
21081
21082
21083 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21084 PyObject *resultobj;
21085 wxPrinter *arg1 = (wxPrinter *) 0 ;
21086 PyObject * obj0 = 0 ;
21087 char *kwnames[] = {
21088 (char *) "self", NULL
21089 };
21090
21091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 delete arg1;
21097
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
21101 Py_INCREF(Py_None); resultobj = Py_None;
21102 return resultobj;
21103 fail:
21104 return NULL;
21105 }
21106
21107
21108 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21109 PyObject *resultobj;
21110 wxPrinter *arg1 = (wxPrinter *) 0 ;
21111 wxWindow *arg2 = (wxWindow *) 0 ;
21112 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21113 PyObject * obj0 = 0 ;
21114 PyObject * obj1 = 0 ;
21115 PyObject * obj2 = 0 ;
21116 char *kwnames[] = {
21117 (char *) "self",(char *) "parent",(char *) "printout", NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21123 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21125 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21127 {
21128 PyThreadState* __tstate = wxPyBeginAllowThreads();
21129 (arg1)->CreateAbortWindow(arg2,arg3);
21130
21131 wxPyEndAllowThreads(__tstate);
21132 if (PyErr_Occurred()) SWIG_fail;
21133 }
21134 Py_INCREF(Py_None); resultobj = Py_None;
21135 return resultobj;
21136 fail:
21137 return NULL;
21138 }
21139
21140
21141 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21142 PyObject *resultobj;
21143 wxPrinter *arg1 = (wxPrinter *) 0 ;
21144 wxPrintDialogData *result;
21145 PyObject * obj0 = 0 ;
21146 char *kwnames[] = {
21147 (char *) "self", NULL
21148 };
21149
21150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21153 {
21154 PyThreadState* __tstate = wxPyBeginAllowThreads();
21155 {
21156 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21157 result = (wxPrintDialogData *) &_result_ref;
21158 }
21159
21160 wxPyEndAllowThreads(__tstate);
21161 if (PyErr_Occurred()) SWIG_fail;
21162 }
21163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21164 return resultobj;
21165 fail:
21166 return NULL;
21167 }
21168
21169
21170 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21171 PyObject *resultobj;
21172 wxPrinter *arg1 = (wxPrinter *) 0 ;
21173 wxWindow *arg2 = (wxWindow *) 0 ;
21174 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21175 int arg4 = (int) True ;
21176 bool result;
21177 PyObject * obj0 = 0 ;
21178 PyObject * obj1 = 0 ;
21179 PyObject * obj2 = 0 ;
21180 PyObject * obj3 = 0 ;
21181 char *kwnames[] = {
21182 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21183 };
21184
21185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21190 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21192 if (obj3) {
21193 arg4 = (int) SWIG_AsInt(obj3);
21194 if (PyErr_Occurred()) SWIG_fail;
21195 }
21196 {
21197 PyThreadState* __tstate = wxPyBeginAllowThreads();
21198 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21199
21200 wxPyEndAllowThreads(__tstate);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 }
21203 {
21204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21205 }
21206 return resultobj;
21207 fail:
21208 return NULL;
21209 }
21210
21211
21212 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21213 PyObject *resultobj;
21214 wxPrinter *arg1 = (wxPrinter *) 0 ;
21215 wxWindow *arg2 = (wxWindow *) 0 ;
21216 wxDC *result;
21217 PyObject * obj0 = 0 ;
21218 PyObject * obj1 = 0 ;
21219 char *kwnames[] = {
21220 (char *) "self",(char *) "parent", NULL
21221 };
21222
21223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21226 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21228 {
21229 PyThreadState* __tstate = wxPyBeginAllowThreads();
21230 result = (wxDC *)(arg1)->PrintDialog(arg2);
21231
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 {
21236 resultobj = wxPyMake_wxObject(result);
21237 }
21238 return resultobj;
21239 fail:
21240 return NULL;
21241 }
21242
21243
21244 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21245 PyObject *resultobj;
21246 wxPrinter *arg1 = (wxPrinter *) 0 ;
21247 wxWindow *arg2 = (wxWindow *) 0 ;
21248 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21249 wxString *arg4 = 0 ;
21250 bool temp4 = False ;
21251 PyObject * obj0 = 0 ;
21252 PyObject * obj1 = 0 ;
21253 PyObject * obj2 = 0 ;
21254 PyObject * obj3 = 0 ;
21255 char *kwnames[] = {
21256 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21257 };
21258
21259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21262 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21264 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21266 {
21267 arg4 = wxString_in_helper(obj3);
21268 if (arg4 == NULL) SWIG_fail;
21269 temp4 = True;
21270 }
21271 {
21272 PyThreadState* __tstate = wxPyBeginAllowThreads();
21273 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21274
21275 wxPyEndAllowThreads(__tstate);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 }
21278 Py_INCREF(Py_None); resultobj = Py_None;
21279 {
21280 if (temp4)
21281 delete arg4;
21282 }
21283 return resultobj;
21284 fail:
21285 {
21286 if (temp4)
21287 delete arg4;
21288 }
21289 return NULL;
21290 }
21291
21292
21293 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj;
21295 wxPrinter *arg1 = (wxPrinter *) 0 ;
21296 wxWindow *arg2 = (wxWindow *) 0 ;
21297 bool result;
21298 PyObject * obj0 = 0 ;
21299 PyObject * obj1 = 0 ;
21300 char *kwnames[] = {
21301 (char *) "self",(char *) "parent", NULL
21302 };
21303
21304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21309 {
21310 PyThreadState* __tstate = wxPyBeginAllowThreads();
21311 result = (bool)(arg1)->Setup(arg2);
21312
21313 wxPyEndAllowThreads(__tstate);
21314 if (PyErr_Occurred()) SWIG_fail;
21315 }
21316 {
21317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21318 }
21319 return resultobj;
21320 fail:
21321 return NULL;
21322 }
21323
21324
21325 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21326 PyObject *resultobj;
21327 wxPrinter *arg1 = (wxPrinter *) 0 ;
21328 bool result;
21329 PyObject * obj0 = 0 ;
21330 char *kwnames[] = {
21331 (char *) "self", NULL
21332 };
21333
21334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21337 {
21338 PyThreadState* __tstate = wxPyBeginAllowThreads();
21339 result = (bool)(arg1)->GetAbort();
21340
21341 wxPyEndAllowThreads(__tstate);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 {
21345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21346 }
21347 return resultobj;
21348 fail:
21349 return NULL;
21350 }
21351
21352
21353 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21354 PyObject *resultobj;
21355 int result;
21356 char *kwnames[] = {
21357 NULL
21358 };
21359
21360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 result = (int)wxPrinter::GetLastError();
21364
21365 wxPyEndAllowThreads(__tstate);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 resultobj = SWIG_FromInt((int)result);
21369 return resultobj;
21370 fail:
21371 return NULL;
21372 }
21373
21374
21375 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21376 PyObject *obj;
21377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21378 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21379 Py_INCREF(obj);
21380 return Py_BuildValue((char *)"");
21381 }
21382 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21383 PyObject *resultobj;
21384 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21385 wxString *arg1 = (wxString *) &arg1_defvalue ;
21386 wxPyPrintout *result;
21387 bool temp1 = False ;
21388 PyObject * obj0 = 0 ;
21389 char *kwnames[] = {
21390 (char *) "title", NULL
21391 };
21392
21393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21394 if (obj0) {
21395 {
21396 arg1 = wxString_in_helper(obj0);
21397 if (arg1 == NULL) SWIG_fail;
21398 temp1 = True;
21399 }
21400 }
21401 {
21402 PyThreadState* __tstate = wxPyBeginAllowThreads();
21403 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21404
21405 wxPyEndAllowThreads(__tstate);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 {
21409 resultobj = wxPyMake_wxObject(result);
21410 }
21411 {
21412 if (temp1)
21413 delete arg1;
21414 }
21415 return resultobj;
21416 fail:
21417 {
21418 if (temp1)
21419 delete arg1;
21420 }
21421 return NULL;
21422 }
21423
21424
21425 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21426 PyObject *resultobj;
21427 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21428 PyObject *arg2 = (PyObject *) 0 ;
21429 PyObject *arg3 = (PyObject *) 0 ;
21430 PyObject * obj0 = 0 ;
21431 PyObject * obj1 = 0 ;
21432 PyObject * obj2 = 0 ;
21433 char *kwnames[] = {
21434 (char *) "self",(char *) "self",(char *) "_class", NULL
21435 };
21436
21437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21440 arg2 = obj1;
21441 arg3 = obj2;
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 (arg1)->_setCallbackInfo(arg2,arg3);
21445
21446 wxPyEndAllowThreads(__tstate);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 }
21449 Py_INCREF(Py_None); resultobj = Py_None;
21450 return resultobj;
21451 fail:
21452 return NULL;
21453 }
21454
21455
21456 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21457 PyObject *resultobj;
21458 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21459 wxString result;
21460 PyObject * obj0 = 0 ;
21461 char *kwnames[] = {
21462 (char *) "self", NULL
21463 };
21464
21465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21468 {
21469 PyThreadState* __tstate = wxPyBeginAllowThreads();
21470 result = ((wxPyPrintout const *)arg1)->GetTitle();
21471
21472 wxPyEndAllowThreads(__tstate);
21473 if (PyErr_Occurred()) SWIG_fail;
21474 }
21475 {
21476 #if wxUSE_UNICODE
21477 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21478 #else
21479 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21480 #endif
21481 }
21482 return resultobj;
21483 fail:
21484 return NULL;
21485 }
21486
21487
21488 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21489 PyObject *resultobj;
21490 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21491 wxDC *result;
21492 PyObject * obj0 = 0 ;
21493 char *kwnames[] = {
21494 (char *) "self", NULL
21495 };
21496
21497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21500 {
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 result = (wxDC *)(arg1)->GetDC();
21503
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 {
21508 resultobj = wxPyMake_wxObject(result);
21509 }
21510 return resultobj;
21511 fail:
21512 return NULL;
21513 }
21514
21515
21516 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21517 PyObject *resultobj;
21518 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21519 wxDC *arg2 = (wxDC *) 0 ;
21520 PyObject * obj0 = 0 ;
21521 PyObject * obj1 = 0 ;
21522 char *kwnames[] = {
21523 (char *) "self",(char *) "dc", NULL
21524 };
21525
21526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21531 {
21532 PyThreadState* __tstate = wxPyBeginAllowThreads();
21533 (arg1)->SetDC(arg2);
21534
21535 wxPyEndAllowThreads(__tstate);
21536 if (PyErr_Occurred()) SWIG_fail;
21537 }
21538 Py_INCREF(Py_None); resultobj = Py_None;
21539 return resultobj;
21540 fail:
21541 return NULL;
21542 }
21543
21544
21545 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21546 PyObject *resultobj;
21547 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21548 int arg2 ;
21549 int arg3 ;
21550 PyObject * obj0 = 0 ;
21551 PyObject * obj1 = 0 ;
21552 PyObject * obj2 = 0 ;
21553 char *kwnames[] = {
21554 (char *) "self",(char *) "w",(char *) "h", NULL
21555 };
21556
21557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21560 arg2 = (int) SWIG_AsInt(obj1);
21561 if (PyErr_Occurred()) SWIG_fail;
21562 arg3 = (int) SWIG_AsInt(obj2);
21563 if (PyErr_Occurred()) SWIG_fail;
21564 {
21565 PyThreadState* __tstate = wxPyBeginAllowThreads();
21566 (arg1)->SetPageSizePixels(arg2,arg3);
21567
21568 wxPyEndAllowThreads(__tstate);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 }
21571 Py_INCREF(Py_None); resultobj = Py_None;
21572 return resultobj;
21573 fail:
21574 return NULL;
21575 }
21576
21577
21578 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21579 PyObject *resultobj;
21580 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21581 int *arg2 = (int *) 0 ;
21582 int *arg3 = (int *) 0 ;
21583 int temp2 ;
21584 int temp3 ;
21585 PyObject * obj0 = 0 ;
21586 char *kwnames[] = {
21587 (char *) "self", NULL
21588 };
21589
21590 arg2 = &temp2;
21591 arg3 = &temp3;
21592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21595 {
21596 PyThreadState* __tstate = wxPyBeginAllowThreads();
21597 (arg1)->GetPageSizePixels(arg2,arg3);
21598
21599 wxPyEndAllowThreads(__tstate);
21600 if (PyErr_Occurred()) SWIG_fail;
21601 }
21602 Py_INCREF(Py_None); resultobj = Py_None;
21603 {
21604 PyObject *o = PyInt_FromLong((long) (*arg2));
21605 resultobj = t_output_helper(resultobj,o);
21606 }
21607 {
21608 PyObject *o = PyInt_FromLong((long) (*arg3));
21609 resultobj = t_output_helper(resultobj,o);
21610 }
21611 return resultobj;
21612 fail:
21613 return NULL;
21614 }
21615
21616
21617 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21618 PyObject *resultobj;
21619 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21620 int arg2 ;
21621 int arg3 ;
21622 PyObject * obj0 = 0 ;
21623 PyObject * obj1 = 0 ;
21624 PyObject * obj2 = 0 ;
21625 char *kwnames[] = {
21626 (char *) "self",(char *) "w",(char *) "h", NULL
21627 };
21628
21629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21632 arg2 = (int) SWIG_AsInt(obj1);
21633 if (PyErr_Occurred()) SWIG_fail;
21634 arg3 = (int) SWIG_AsInt(obj2);
21635 if (PyErr_Occurred()) SWIG_fail;
21636 {
21637 PyThreadState* __tstate = wxPyBeginAllowThreads();
21638 (arg1)->SetPageSizeMM(arg2,arg3);
21639
21640 wxPyEndAllowThreads(__tstate);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 }
21643 Py_INCREF(Py_None); resultobj = Py_None;
21644 return resultobj;
21645 fail:
21646 return NULL;
21647 }
21648
21649
21650 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21651 PyObject *resultobj;
21652 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21653 int *arg2 = (int *) 0 ;
21654 int *arg3 = (int *) 0 ;
21655 int temp2 ;
21656 int temp3 ;
21657 PyObject * obj0 = 0 ;
21658 char *kwnames[] = {
21659 (char *) "self", NULL
21660 };
21661
21662 arg2 = &temp2;
21663 arg3 = &temp3;
21664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21667 {
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
21669 (arg1)->GetPageSizeMM(arg2,arg3);
21670
21671 wxPyEndAllowThreads(__tstate);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 Py_INCREF(Py_None); resultobj = Py_None;
21675 {
21676 PyObject *o = PyInt_FromLong((long) (*arg2));
21677 resultobj = t_output_helper(resultobj,o);
21678 }
21679 {
21680 PyObject *o = PyInt_FromLong((long) (*arg3));
21681 resultobj = t_output_helper(resultobj,o);
21682 }
21683 return resultobj;
21684 fail:
21685 return NULL;
21686 }
21687
21688
21689 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21690 PyObject *resultobj;
21691 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21692 int arg2 ;
21693 int arg3 ;
21694 PyObject * obj0 = 0 ;
21695 PyObject * obj1 = 0 ;
21696 PyObject * obj2 = 0 ;
21697 char *kwnames[] = {
21698 (char *) "self",(char *) "x",(char *) "y", NULL
21699 };
21700
21701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21704 arg2 = (int) SWIG_AsInt(obj1);
21705 if (PyErr_Occurred()) SWIG_fail;
21706 arg3 = (int) SWIG_AsInt(obj2);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 (arg1)->SetPPIScreen(arg2,arg3);
21711
21712 wxPyEndAllowThreads(__tstate);
21713 if (PyErr_Occurred()) SWIG_fail;
21714 }
21715 Py_INCREF(Py_None); resultobj = Py_None;
21716 return resultobj;
21717 fail:
21718 return NULL;
21719 }
21720
21721
21722 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21723 PyObject *resultobj;
21724 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21725 int *arg2 = (int *) 0 ;
21726 int *arg3 = (int *) 0 ;
21727 int temp2 ;
21728 int temp3 ;
21729 PyObject * obj0 = 0 ;
21730 char *kwnames[] = {
21731 (char *) "self", NULL
21732 };
21733
21734 arg2 = &temp2;
21735 arg3 = &temp3;
21736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21739 {
21740 PyThreadState* __tstate = wxPyBeginAllowThreads();
21741 (arg1)->GetPPIScreen(arg2,arg3);
21742
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 Py_INCREF(Py_None); resultobj = Py_None;
21747 {
21748 PyObject *o = PyInt_FromLong((long) (*arg2));
21749 resultobj = t_output_helper(resultobj,o);
21750 }
21751 {
21752 PyObject *o = PyInt_FromLong((long) (*arg3));
21753 resultobj = t_output_helper(resultobj,o);
21754 }
21755 return resultobj;
21756 fail:
21757 return NULL;
21758 }
21759
21760
21761 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21762 PyObject *resultobj;
21763 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21764 int arg2 ;
21765 int arg3 ;
21766 PyObject * obj0 = 0 ;
21767 PyObject * obj1 = 0 ;
21768 PyObject * obj2 = 0 ;
21769 char *kwnames[] = {
21770 (char *) "self",(char *) "x",(char *) "y", NULL
21771 };
21772
21773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21776 arg2 = (int) SWIG_AsInt(obj1);
21777 if (PyErr_Occurred()) SWIG_fail;
21778 arg3 = (int) SWIG_AsInt(obj2);
21779 if (PyErr_Occurred()) SWIG_fail;
21780 {
21781 PyThreadState* __tstate = wxPyBeginAllowThreads();
21782 (arg1)->SetPPIPrinter(arg2,arg3);
21783
21784 wxPyEndAllowThreads(__tstate);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 }
21787 Py_INCREF(Py_None); resultobj = Py_None;
21788 return resultobj;
21789 fail:
21790 return NULL;
21791 }
21792
21793
21794 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21795 PyObject *resultobj;
21796 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21797 int *arg2 = (int *) 0 ;
21798 int *arg3 = (int *) 0 ;
21799 int temp2 ;
21800 int temp3 ;
21801 PyObject * obj0 = 0 ;
21802 char *kwnames[] = {
21803 (char *) "self", NULL
21804 };
21805
21806 arg2 = &temp2;
21807 arg3 = &temp3;
21808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21811 {
21812 PyThreadState* __tstate = wxPyBeginAllowThreads();
21813 (arg1)->GetPPIPrinter(arg2,arg3);
21814
21815 wxPyEndAllowThreads(__tstate);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
21818 Py_INCREF(Py_None); resultobj = Py_None;
21819 {
21820 PyObject *o = PyInt_FromLong((long) (*arg2));
21821 resultobj = t_output_helper(resultobj,o);
21822 }
21823 {
21824 PyObject *o = PyInt_FromLong((long) (*arg3));
21825 resultobj = t_output_helper(resultobj,o);
21826 }
21827 return resultobj;
21828 fail:
21829 return NULL;
21830 }
21831
21832
21833 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21834 PyObject *resultobj;
21835 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21836 bool result;
21837 PyObject * obj0 = 0 ;
21838 char *kwnames[] = {
21839 (char *) "self", NULL
21840 };
21841
21842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21845 {
21846 PyThreadState* __tstate = wxPyBeginAllowThreads();
21847 result = (bool)(arg1)->IsPreview();
21848
21849 wxPyEndAllowThreads(__tstate);
21850 if (PyErr_Occurred()) SWIG_fail;
21851 }
21852 {
21853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21854 }
21855 return resultobj;
21856 fail:
21857 return NULL;
21858 }
21859
21860
21861 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21862 PyObject *resultobj;
21863 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21864 bool arg2 ;
21865 PyObject * obj0 = 0 ;
21866 PyObject * obj1 = 0 ;
21867 char *kwnames[] = {
21868 (char *) "self",(char *) "p", NULL
21869 };
21870
21871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21874 arg2 = (bool) SWIG_AsBool(obj1);
21875 if (PyErr_Occurred()) SWIG_fail;
21876 {
21877 PyThreadState* __tstate = wxPyBeginAllowThreads();
21878 (arg1)->SetIsPreview(arg2);
21879
21880 wxPyEndAllowThreads(__tstate);
21881 if (PyErr_Occurred()) SWIG_fail;
21882 }
21883 Py_INCREF(Py_None); resultobj = Py_None;
21884 return resultobj;
21885 fail:
21886 return NULL;
21887 }
21888
21889
21890 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21891 PyObject *resultobj;
21892 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21893 int arg2 ;
21894 int arg3 ;
21895 bool result;
21896 PyObject * obj0 = 0 ;
21897 PyObject * obj1 = 0 ;
21898 PyObject * obj2 = 0 ;
21899 char *kwnames[] = {
21900 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21901 };
21902
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21906 arg2 = (int) SWIG_AsInt(obj1);
21907 if (PyErr_Occurred()) SWIG_fail;
21908 arg3 = (int) SWIG_AsInt(obj2);
21909 if (PyErr_Occurred()) SWIG_fail;
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
21912 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21913
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
21917 {
21918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21919 }
21920 return resultobj;
21921 fail:
21922 return NULL;
21923 }
21924
21925
21926 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21927 PyObject *resultobj;
21928 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21929 PyObject * obj0 = 0 ;
21930 char *kwnames[] = {
21931 (char *) "self", NULL
21932 };
21933
21934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21937 {
21938 PyThreadState* __tstate = wxPyBeginAllowThreads();
21939 (arg1)->base_OnEndDocument();
21940
21941 wxPyEndAllowThreads(__tstate);
21942 if (PyErr_Occurred()) SWIG_fail;
21943 }
21944 Py_INCREF(Py_None); resultobj = Py_None;
21945 return resultobj;
21946 fail:
21947 return NULL;
21948 }
21949
21950
21951 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21952 PyObject *resultobj;
21953 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21954 PyObject * obj0 = 0 ;
21955 char *kwnames[] = {
21956 (char *) "self", NULL
21957 };
21958
21959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21962 {
21963 PyThreadState* __tstate = wxPyBeginAllowThreads();
21964 (arg1)->base_OnBeginPrinting();
21965
21966 wxPyEndAllowThreads(__tstate);
21967 if (PyErr_Occurred()) SWIG_fail;
21968 }
21969 Py_INCREF(Py_None); resultobj = Py_None;
21970 return resultobj;
21971 fail:
21972 return NULL;
21973 }
21974
21975
21976 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21977 PyObject *resultobj;
21978 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21979 PyObject * obj0 = 0 ;
21980 char *kwnames[] = {
21981 (char *) "self", NULL
21982 };
21983
21984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
21985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21987 {
21988 PyThreadState* __tstate = wxPyBeginAllowThreads();
21989 (arg1)->base_OnEndPrinting();
21990
21991 wxPyEndAllowThreads(__tstate);
21992 if (PyErr_Occurred()) SWIG_fail;
21993 }
21994 Py_INCREF(Py_None); resultobj = Py_None;
21995 return resultobj;
21996 fail:
21997 return NULL;
21998 }
21999
22000
22001 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22002 PyObject *resultobj;
22003 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22004 PyObject * obj0 = 0 ;
22005 char *kwnames[] = {
22006 (char *) "self", NULL
22007 };
22008
22009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22012 {
22013 PyThreadState* __tstate = wxPyBeginAllowThreads();
22014 (arg1)->base_OnPreparePrinting();
22015
22016 wxPyEndAllowThreads(__tstate);
22017 if (PyErr_Occurred()) SWIG_fail;
22018 }
22019 Py_INCREF(Py_None); resultobj = Py_None;
22020 return resultobj;
22021 fail:
22022 return NULL;
22023 }
22024
22025
22026 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22027 PyObject *resultobj;
22028 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22029 int arg2 ;
22030 bool result;
22031 PyObject * obj0 = 0 ;
22032 PyObject * obj1 = 0 ;
22033 char *kwnames[] = {
22034 (char *) "self",(char *) "page", NULL
22035 };
22036
22037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22040 arg2 = (int) SWIG_AsInt(obj1);
22041 if (PyErr_Occurred()) SWIG_fail;
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 result = (bool)(arg1)->base_HasPage(arg2);
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 {
22050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22051 }
22052 return resultobj;
22053 fail:
22054 return NULL;
22055 }
22056
22057
22058 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22059 PyObject *resultobj;
22060 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22061 int *arg2 = (int *) 0 ;
22062 int *arg3 = (int *) 0 ;
22063 int *arg4 = (int *) 0 ;
22064 int *arg5 = (int *) 0 ;
22065 int temp2 ;
22066 int temp3 ;
22067 int temp4 ;
22068 int temp5 ;
22069 PyObject * obj0 = 0 ;
22070 char *kwnames[] = {
22071 (char *) "self", NULL
22072 };
22073
22074 arg2 = &temp2;
22075 arg3 = &temp3;
22076 arg4 = &temp4;
22077 arg5 = &temp5;
22078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22081 {
22082 PyThreadState* __tstate = wxPyBeginAllowThreads();
22083 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22084
22085 wxPyEndAllowThreads(__tstate);
22086 if (PyErr_Occurred()) SWIG_fail;
22087 }
22088 Py_INCREF(Py_None); resultobj = Py_None;
22089 {
22090 PyObject *o = PyInt_FromLong((long) (*arg2));
22091 resultobj = t_output_helper(resultobj,o);
22092 }
22093 {
22094 PyObject *o = PyInt_FromLong((long) (*arg3));
22095 resultobj = t_output_helper(resultobj,o);
22096 }
22097 {
22098 PyObject *o = PyInt_FromLong((long) (*arg4));
22099 resultobj = t_output_helper(resultobj,o);
22100 }
22101 {
22102 PyObject *o = PyInt_FromLong((long) (*arg5));
22103 resultobj = t_output_helper(resultobj,o);
22104 }
22105 return resultobj;
22106 fail:
22107 return NULL;
22108 }
22109
22110
22111 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22112 PyObject *obj;
22113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22114 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22115 Py_INCREF(obj);
22116 return Py_BuildValue((char *)"");
22117 }
22118 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22119 PyObject *resultobj;
22120 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22121 wxWindow *arg2 = (wxWindow *) 0 ;
22122 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22123 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22124 wxSize const &arg4_defvalue = wxDefaultSize ;
22125 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22126 long arg5 = (long) 0 ;
22127 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22128 wxString *arg6 = (wxString *) &arg6_defvalue ;
22129 wxPreviewCanvas *result;
22130 wxPoint temp3 ;
22131 wxSize temp4 ;
22132 bool temp6 = False ;
22133 PyObject * obj0 = 0 ;
22134 PyObject * obj1 = 0 ;
22135 PyObject * obj2 = 0 ;
22136 PyObject * obj3 = 0 ;
22137 PyObject * obj4 = 0 ;
22138 PyObject * obj5 = 0 ;
22139 char *kwnames[] = {
22140 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22141 };
22142
22143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22146 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22148 if (obj2) {
22149 {
22150 arg3 = &temp3;
22151 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22152 }
22153 }
22154 if (obj3) {
22155 {
22156 arg4 = &temp4;
22157 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22158 }
22159 }
22160 if (obj4) {
22161 arg5 = (long) SWIG_AsLong(obj4);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
22164 if (obj5) {
22165 {
22166 arg6 = wxString_in_helper(obj5);
22167 if (arg6 == NULL) SWIG_fail;
22168 temp6 = True;
22169 }
22170 }
22171 {
22172 PyThreadState* __tstate = wxPyBeginAllowThreads();
22173 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22174
22175 wxPyEndAllowThreads(__tstate);
22176 if (PyErr_Occurred()) SWIG_fail;
22177 }
22178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22179 {
22180 if (temp6)
22181 delete arg6;
22182 }
22183 return resultobj;
22184 fail:
22185 {
22186 if (temp6)
22187 delete arg6;
22188 }
22189 return NULL;
22190 }
22191
22192
22193 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22194 PyObject *obj;
22195 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22196 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22197 Py_INCREF(obj);
22198 return Py_BuildValue((char *)"");
22199 }
22200 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22201 PyObject *resultobj;
22202 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22203 wxFrame *arg2 = (wxFrame *) 0 ;
22204 wxString *arg3 = 0 ;
22205 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22206 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22207 wxSize const &arg5_defvalue = wxDefaultSize ;
22208 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22209 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22210 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22211 wxString *arg7 = (wxString *) &arg7_defvalue ;
22212 wxPreviewFrame *result;
22213 bool temp3 = False ;
22214 wxPoint temp4 ;
22215 wxSize temp5 ;
22216 bool temp7 = False ;
22217 PyObject * obj0 = 0 ;
22218 PyObject * obj1 = 0 ;
22219 PyObject * obj2 = 0 ;
22220 PyObject * obj3 = 0 ;
22221 PyObject * obj4 = 0 ;
22222 PyObject * obj5 = 0 ;
22223 PyObject * obj6 = 0 ;
22224 char *kwnames[] = {
22225 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22226 };
22227
22228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22233 {
22234 arg3 = wxString_in_helper(obj2);
22235 if (arg3 == NULL) SWIG_fail;
22236 temp3 = True;
22237 }
22238 if (obj3) {
22239 {
22240 arg4 = &temp4;
22241 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22242 }
22243 }
22244 if (obj4) {
22245 {
22246 arg5 = &temp5;
22247 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22248 }
22249 }
22250 if (obj5) {
22251 arg6 = (long) SWIG_AsLong(obj5);
22252 if (PyErr_Occurred()) SWIG_fail;
22253 }
22254 if (obj6) {
22255 {
22256 arg7 = wxString_in_helper(obj6);
22257 if (arg7 == NULL) SWIG_fail;
22258 temp7 = True;
22259 }
22260 }
22261 {
22262 PyThreadState* __tstate = wxPyBeginAllowThreads();
22263 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22264
22265 wxPyEndAllowThreads(__tstate);
22266 if (PyErr_Occurred()) SWIG_fail;
22267 }
22268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22269 {
22270 if (temp3)
22271 delete arg3;
22272 }
22273 {
22274 if (temp7)
22275 delete arg7;
22276 }
22277 return resultobj;
22278 fail:
22279 {
22280 if (temp3)
22281 delete arg3;
22282 }
22283 {
22284 if (temp7)
22285 delete arg7;
22286 }
22287 return NULL;
22288 }
22289
22290
22291 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22292 PyObject *resultobj;
22293 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22294 PyObject * obj0 = 0 ;
22295 char *kwnames[] = {
22296 (char *) "self", NULL
22297 };
22298
22299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22302 {
22303 PyThreadState* __tstate = wxPyBeginAllowThreads();
22304 (arg1)->Initialize();
22305
22306 wxPyEndAllowThreads(__tstate);
22307 if (PyErr_Occurred()) SWIG_fail;
22308 }
22309 Py_INCREF(Py_None); resultobj = Py_None;
22310 return resultobj;
22311 fail:
22312 return NULL;
22313 }
22314
22315
22316 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22317 PyObject *resultobj;
22318 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22319 PyObject * obj0 = 0 ;
22320 char *kwnames[] = {
22321 (char *) "self", NULL
22322 };
22323
22324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22327 {
22328 PyThreadState* __tstate = wxPyBeginAllowThreads();
22329 (arg1)->CreateControlBar();
22330
22331 wxPyEndAllowThreads(__tstate);
22332 if (PyErr_Occurred()) SWIG_fail;
22333 }
22334 Py_INCREF(Py_None); resultobj = Py_None;
22335 return resultobj;
22336 fail:
22337 return NULL;
22338 }
22339
22340
22341 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22342 PyObject *resultobj;
22343 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22344 PyObject * obj0 = 0 ;
22345 char *kwnames[] = {
22346 (char *) "self", NULL
22347 };
22348
22349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22352 {
22353 PyThreadState* __tstate = wxPyBeginAllowThreads();
22354 (arg1)->CreateCanvas();
22355
22356 wxPyEndAllowThreads(__tstate);
22357 if (PyErr_Occurred()) SWIG_fail;
22358 }
22359 Py_INCREF(Py_None); resultobj = Py_None;
22360 return resultobj;
22361 fail:
22362 return NULL;
22363 }
22364
22365
22366 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22367 PyObject *resultobj;
22368 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22369 wxPreviewControlBar *result;
22370 PyObject * obj0 = 0 ;
22371 char *kwnames[] = {
22372 (char *) "self", NULL
22373 };
22374
22375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22378 {
22379 PyThreadState* __tstate = wxPyBeginAllowThreads();
22380 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22381
22382 wxPyEndAllowThreads(__tstate);
22383 if (PyErr_Occurred()) SWIG_fail;
22384 }
22385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22386 return resultobj;
22387 fail:
22388 return NULL;
22389 }
22390
22391
22392 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22393 PyObject *obj;
22394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22395 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22396 Py_INCREF(obj);
22397 return Py_BuildValue((char *)"");
22398 }
22399 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22400 PyObject *resultobj;
22401 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22402 long arg2 ;
22403 wxWindow *arg3 = (wxWindow *) 0 ;
22404 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22405 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22406 wxSize const &arg5_defvalue = wxDefaultSize ;
22407 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22408 long arg6 = (long) wxTAB_TRAVERSAL ;
22409 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22410 wxString *arg7 = (wxString *) &arg7_defvalue ;
22411 wxPreviewControlBar *result;
22412 wxPoint temp4 ;
22413 wxSize temp5 ;
22414 bool temp7 = False ;
22415 PyObject * obj0 = 0 ;
22416 PyObject * obj1 = 0 ;
22417 PyObject * obj2 = 0 ;
22418 PyObject * obj3 = 0 ;
22419 PyObject * obj4 = 0 ;
22420 PyObject * obj5 = 0 ;
22421 PyObject * obj6 = 0 ;
22422 char *kwnames[] = {
22423 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22424 };
22425
22426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22429 arg2 = (long) SWIG_AsLong(obj1);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22433 if (obj3) {
22434 {
22435 arg4 = &temp4;
22436 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22437 }
22438 }
22439 if (obj4) {
22440 {
22441 arg5 = &temp5;
22442 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22443 }
22444 }
22445 if (obj5) {
22446 arg6 = (long) SWIG_AsLong(obj5);
22447 if (PyErr_Occurred()) SWIG_fail;
22448 }
22449 if (obj6) {
22450 {
22451 arg7 = wxString_in_helper(obj6);
22452 if (arg7 == NULL) SWIG_fail;
22453 temp7 = True;
22454 }
22455 }
22456 {
22457 PyThreadState* __tstate = wxPyBeginAllowThreads();
22458 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22459
22460 wxPyEndAllowThreads(__tstate);
22461 if (PyErr_Occurred()) SWIG_fail;
22462 }
22463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22464 {
22465 if (temp7)
22466 delete arg7;
22467 }
22468 return resultobj;
22469 fail:
22470 {
22471 if (temp7)
22472 delete arg7;
22473 }
22474 return NULL;
22475 }
22476
22477
22478 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22479 PyObject *resultobj;
22480 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22481 int result;
22482 PyObject * obj0 = 0 ;
22483 char *kwnames[] = {
22484 (char *) "self", NULL
22485 };
22486
22487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22490 {
22491 PyThreadState* __tstate = wxPyBeginAllowThreads();
22492 result = (int)(arg1)->GetZoomControl();
22493
22494 wxPyEndAllowThreads(__tstate);
22495 if (PyErr_Occurred()) SWIG_fail;
22496 }
22497 resultobj = SWIG_FromInt((int)result);
22498 return resultobj;
22499 fail:
22500 return NULL;
22501 }
22502
22503
22504 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22505 PyObject *resultobj;
22506 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22507 int arg2 ;
22508 PyObject * obj0 = 0 ;
22509 PyObject * obj1 = 0 ;
22510 char *kwnames[] = {
22511 (char *) "self",(char *) "zoom", NULL
22512 };
22513
22514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22517 arg2 = (int) SWIG_AsInt(obj1);
22518 if (PyErr_Occurred()) SWIG_fail;
22519 {
22520 PyThreadState* __tstate = wxPyBeginAllowThreads();
22521 (arg1)->SetZoomControl(arg2);
22522
22523 wxPyEndAllowThreads(__tstate);
22524 if (PyErr_Occurred()) SWIG_fail;
22525 }
22526 Py_INCREF(Py_None); resultobj = Py_None;
22527 return resultobj;
22528 fail:
22529 return NULL;
22530 }
22531
22532
22533 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22534 PyObject *resultobj;
22535 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22536 wxPrintPreview *result;
22537 PyObject * obj0 = 0 ;
22538 char *kwnames[] = {
22539 (char *) "self", NULL
22540 };
22541
22542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22545 {
22546 PyThreadState* __tstate = wxPyBeginAllowThreads();
22547 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22548
22549 wxPyEndAllowThreads(__tstate);
22550 if (PyErr_Occurred()) SWIG_fail;
22551 }
22552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22553 return resultobj;
22554 fail:
22555 return NULL;
22556 }
22557
22558
22559 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22560 PyObject *resultobj;
22561 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22562 PyObject * obj0 = 0 ;
22563 char *kwnames[] = {
22564 (char *) "self", NULL
22565 };
22566
22567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22570 {
22571 PyThreadState* __tstate = wxPyBeginAllowThreads();
22572 (arg1)->OnNext();
22573
22574 wxPyEndAllowThreads(__tstate);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 }
22577 Py_INCREF(Py_None); resultobj = Py_None;
22578 return resultobj;
22579 fail:
22580 return NULL;
22581 }
22582
22583
22584 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22585 PyObject *resultobj;
22586 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22587 PyObject * obj0 = 0 ;
22588 char *kwnames[] = {
22589 (char *) "self", NULL
22590 };
22591
22592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22595 {
22596 PyThreadState* __tstate = wxPyBeginAllowThreads();
22597 (arg1)->OnPrevious();
22598
22599 wxPyEndAllowThreads(__tstate);
22600 if (PyErr_Occurred()) SWIG_fail;
22601 }
22602 Py_INCREF(Py_None); resultobj = Py_None;
22603 return resultobj;
22604 fail:
22605 return NULL;
22606 }
22607
22608
22609 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22610 PyObject *resultobj;
22611 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22612 PyObject * obj0 = 0 ;
22613 char *kwnames[] = {
22614 (char *) "self", NULL
22615 };
22616
22617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22620 {
22621 PyThreadState* __tstate = wxPyBeginAllowThreads();
22622 (arg1)->OnFirst();
22623
22624 wxPyEndAllowThreads(__tstate);
22625 if (PyErr_Occurred()) SWIG_fail;
22626 }
22627 Py_INCREF(Py_None); resultobj = Py_None;
22628 return resultobj;
22629 fail:
22630 return NULL;
22631 }
22632
22633
22634 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22635 PyObject *resultobj;
22636 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22637 PyObject * obj0 = 0 ;
22638 char *kwnames[] = {
22639 (char *) "self", NULL
22640 };
22641
22642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22645 {
22646 PyThreadState* __tstate = wxPyBeginAllowThreads();
22647 (arg1)->OnLast();
22648
22649 wxPyEndAllowThreads(__tstate);
22650 if (PyErr_Occurred()) SWIG_fail;
22651 }
22652 Py_INCREF(Py_None); resultobj = Py_None;
22653 return resultobj;
22654 fail:
22655 return NULL;
22656 }
22657
22658
22659 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22660 PyObject *resultobj;
22661 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22662 PyObject * obj0 = 0 ;
22663 char *kwnames[] = {
22664 (char *) "self", NULL
22665 };
22666
22667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22670 {
22671 PyThreadState* __tstate = wxPyBeginAllowThreads();
22672 (arg1)->OnGoto();
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 * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22685 PyObject *obj;
22686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22687 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22688 Py_INCREF(obj);
22689 return Py_BuildValue((char *)"");
22690 }
22691 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22692 PyObject *resultobj;
22693 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22694 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22695 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22696 wxPrintPreview *result;
22697 PyObject * obj0 = 0 ;
22698 PyObject * obj1 = 0 ;
22699 PyObject * obj2 = 0 ;
22700
22701 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22706 if (obj2) {
22707 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22709 }
22710 {
22711 PyThreadState* __tstate = wxPyBeginAllowThreads();
22712 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22713
22714 wxPyEndAllowThreads(__tstate);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 }
22717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22718 return resultobj;
22719 fail:
22720 return NULL;
22721 }
22722
22723
22724 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22725 PyObject *resultobj;
22726 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22727 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22728 wxPrintData *arg3 = (wxPrintData *) 0 ;
22729 wxPrintPreview *result;
22730 PyObject * obj0 = 0 ;
22731 PyObject * obj1 = 0 ;
22732 PyObject * obj2 = 0 ;
22733
22734 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22739 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22741 {
22742 PyThreadState* __tstate = wxPyBeginAllowThreads();
22743 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22744
22745 wxPyEndAllowThreads(__tstate);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
22748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22749 return resultobj;
22750 fail:
22751 return NULL;
22752 }
22753
22754
22755 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22756 int argc;
22757 PyObject *argv[4];
22758 int ii;
22759
22760 argc = PyObject_Length(args);
22761 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22762 argv[ii] = PyTuple_GetItem(args,ii);
22763 }
22764 if ((argc >= 2) && (argc <= 3)) {
22765 int _v;
22766 {
22767 void *ptr;
22768 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22769 _v = 0;
22770 PyErr_Clear();
22771 } else {
22772 _v = 1;
22773 }
22774 }
22775 if (_v) {
22776 {
22777 void *ptr;
22778 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22779 _v = 0;
22780 PyErr_Clear();
22781 } else {
22782 _v = 1;
22783 }
22784 }
22785 if (_v) {
22786 if (argc <= 2) {
22787 return _wrap_new_PrintPreview__SWIG_0(self,args);
22788 }
22789 {
22790 void *ptr;
22791 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22792 _v = 0;
22793 PyErr_Clear();
22794 } else {
22795 _v = 1;
22796 }
22797 }
22798 if (_v) {
22799 return _wrap_new_PrintPreview__SWIG_0(self,args);
22800 }
22801 }
22802 }
22803 }
22804 if (argc == 3) {
22805 int _v;
22806 {
22807 void *ptr;
22808 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22809 _v = 0;
22810 PyErr_Clear();
22811 } else {
22812 _v = 1;
22813 }
22814 }
22815 if (_v) {
22816 {
22817 void *ptr;
22818 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22819 _v = 0;
22820 PyErr_Clear();
22821 } else {
22822 _v = 1;
22823 }
22824 }
22825 if (_v) {
22826 {
22827 void *ptr;
22828 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22829 _v = 0;
22830 PyErr_Clear();
22831 } else {
22832 _v = 1;
22833 }
22834 }
22835 if (_v) {
22836 return _wrap_new_PrintPreview__SWIG_1(self,args);
22837 }
22838 }
22839 }
22840 }
22841
22842 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22843 return NULL;
22844 }
22845
22846
22847 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22848 PyObject *resultobj;
22849 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22850 int arg2 ;
22851 bool result;
22852 PyObject * obj0 = 0 ;
22853 PyObject * obj1 = 0 ;
22854 char *kwnames[] = {
22855 (char *) "self",(char *) "pageNum", NULL
22856 };
22857
22858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22861 arg2 = (int) SWIG_AsInt(obj1);
22862 if (PyErr_Occurred()) SWIG_fail;
22863 {
22864 PyThreadState* __tstate = wxPyBeginAllowThreads();
22865 result = (bool)(arg1)->SetCurrentPage(arg2);
22866
22867 wxPyEndAllowThreads(__tstate);
22868 if (PyErr_Occurred()) SWIG_fail;
22869 }
22870 {
22871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22872 }
22873 return resultobj;
22874 fail:
22875 return NULL;
22876 }
22877
22878
22879 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22880 PyObject *resultobj;
22881 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22882 int result;
22883 PyObject * obj0 = 0 ;
22884 char *kwnames[] = {
22885 (char *) "self", NULL
22886 };
22887
22888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22891 {
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 result = (int)(arg1)->GetCurrentPage();
22894
22895 wxPyEndAllowThreads(__tstate);
22896 if (PyErr_Occurred()) SWIG_fail;
22897 }
22898 resultobj = SWIG_FromInt((int)result);
22899 return resultobj;
22900 fail:
22901 return NULL;
22902 }
22903
22904
22905 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22906 PyObject *resultobj;
22907 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22908 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22909 PyObject * obj0 = 0 ;
22910 PyObject * obj1 = 0 ;
22911 char *kwnames[] = {
22912 (char *) "self",(char *) "printout", NULL
22913 };
22914
22915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22920 {
22921 PyThreadState* __tstate = wxPyBeginAllowThreads();
22922 (arg1)->SetPrintout(arg2);
22923
22924 wxPyEndAllowThreads(__tstate);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 }
22927 Py_INCREF(Py_None); resultobj = Py_None;
22928 return resultobj;
22929 fail:
22930 return NULL;
22931 }
22932
22933
22934 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22935 PyObject *resultobj;
22936 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22937 wxPyPrintout *result;
22938 PyObject * obj0 = 0 ;
22939 char *kwnames[] = {
22940 (char *) "self", NULL
22941 };
22942
22943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22946 {
22947 PyThreadState* __tstate = wxPyBeginAllowThreads();
22948 result = (wxPyPrintout *)(arg1)->GetPrintout();
22949
22950 wxPyEndAllowThreads(__tstate);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 }
22953 {
22954 resultobj = wxPyMake_wxObject(result);
22955 }
22956 return resultobj;
22957 fail:
22958 return NULL;
22959 }
22960
22961
22962 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22965 wxPyPrintout *result;
22966 PyObject * obj0 = 0 ;
22967 char *kwnames[] = {
22968 (char *) "self", NULL
22969 };
22970
22971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
22972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22974 {
22975 PyThreadState* __tstate = wxPyBeginAllowThreads();
22976 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22977
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 {
22982 resultobj = wxPyMake_wxObject(result);
22983 }
22984 return resultobj;
22985 fail:
22986 return NULL;
22987 }
22988
22989
22990 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22991 PyObject *resultobj;
22992 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22993 wxFrame *arg2 = (wxFrame *) 0 ;
22994 PyObject * obj0 = 0 ;
22995 PyObject * obj1 = 0 ;
22996 char *kwnames[] = {
22997 (char *) "self",(char *) "frame", NULL
22998 };
22999
23000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23005 {
23006 PyThreadState* __tstate = wxPyBeginAllowThreads();
23007 (arg1)->SetFrame(arg2);
23008
23009 wxPyEndAllowThreads(__tstate);
23010 if (PyErr_Occurred()) SWIG_fail;
23011 }
23012 Py_INCREF(Py_None); resultobj = Py_None;
23013 return resultobj;
23014 fail:
23015 return NULL;
23016 }
23017
23018
23019 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23020 PyObject *resultobj;
23021 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23022 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23023 PyObject * obj0 = 0 ;
23024 PyObject * obj1 = 0 ;
23025 char *kwnames[] = {
23026 (char *) "self",(char *) "canvas", NULL
23027 };
23028
23029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23034 {
23035 PyThreadState* __tstate = wxPyBeginAllowThreads();
23036 (arg1)->SetCanvas(arg2);
23037
23038 wxPyEndAllowThreads(__tstate);
23039 if (PyErr_Occurred()) SWIG_fail;
23040 }
23041 Py_INCREF(Py_None); resultobj = Py_None;
23042 return resultobj;
23043 fail:
23044 return NULL;
23045 }
23046
23047
23048 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23049 PyObject *resultobj;
23050 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23051 wxFrame *result;
23052 PyObject * obj0 = 0 ;
23053 char *kwnames[] = {
23054 (char *) "self", NULL
23055 };
23056
23057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23060 {
23061 PyThreadState* __tstate = wxPyBeginAllowThreads();
23062 result = (wxFrame *)(arg1)->GetFrame();
23063
23064 wxPyEndAllowThreads(__tstate);
23065 if (PyErr_Occurred()) SWIG_fail;
23066 }
23067 {
23068 resultobj = wxPyMake_wxObject(result);
23069 }
23070 return resultobj;
23071 fail:
23072 return NULL;
23073 }
23074
23075
23076 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23077 PyObject *resultobj;
23078 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23079 wxPreviewCanvas *result;
23080 PyObject * obj0 = 0 ;
23081 char *kwnames[] = {
23082 (char *) "self", NULL
23083 };
23084
23085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23088 {
23089 PyThreadState* __tstate = wxPyBeginAllowThreads();
23090 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23091
23092 wxPyEndAllowThreads(__tstate);
23093 if (PyErr_Occurred()) SWIG_fail;
23094 }
23095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23096 return resultobj;
23097 fail:
23098 return NULL;
23099 }
23100
23101
23102 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23103 PyObject *resultobj;
23104 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23105 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23106 wxDC *arg3 = 0 ;
23107 bool result;
23108 PyObject * obj0 = 0 ;
23109 PyObject * obj1 = 0 ;
23110 PyObject * obj2 = 0 ;
23111 char *kwnames[] = {
23112 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23113 };
23114
23115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23120 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23121 SWIG_POINTER_EXCEPTION | 0)) == -1)
23122 SWIG_fail;
23123 if (arg3 == NULL) {
23124 PyErr_SetString(PyExc_TypeError,"null reference");
23125 SWIG_fail;
23126 }
23127 {
23128 PyThreadState* __tstate = wxPyBeginAllowThreads();
23129 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23130
23131 wxPyEndAllowThreads(__tstate);
23132 if (PyErr_Occurred()) SWIG_fail;
23133 }
23134 {
23135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23136 }
23137 return resultobj;
23138 fail:
23139 return NULL;
23140 }
23141
23142
23143 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23144 PyObject *resultobj;
23145 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23146 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23147 wxDC *arg3 = 0 ;
23148 bool result;
23149 PyObject * obj0 = 0 ;
23150 PyObject * obj1 = 0 ;
23151 PyObject * obj2 = 0 ;
23152 char *kwnames[] = {
23153 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23154 };
23155
23156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23161 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23162 SWIG_POINTER_EXCEPTION | 0)) == -1)
23163 SWIG_fail;
23164 if (arg3 == NULL) {
23165 PyErr_SetString(PyExc_TypeError,"null reference");
23166 SWIG_fail;
23167 }
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23171
23172 wxPyEndAllowThreads(__tstate);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 }
23175 {
23176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23177 }
23178 return resultobj;
23179 fail:
23180 return NULL;
23181 }
23182
23183
23184 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23185 PyObject *resultobj;
23186 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23187 int arg2 ;
23188 bool result;
23189 PyObject * obj0 = 0 ;
23190 PyObject * obj1 = 0 ;
23191 char *kwnames[] = {
23192 (char *) "self",(char *) "pageNum", NULL
23193 };
23194
23195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23198 arg2 = (int) SWIG_AsInt(obj1);
23199 if (PyErr_Occurred()) SWIG_fail;
23200 {
23201 PyThreadState* __tstate = wxPyBeginAllowThreads();
23202 result = (bool)(arg1)->RenderPage(arg2);
23203
23204 wxPyEndAllowThreads(__tstate);
23205 if (PyErr_Occurred()) SWIG_fail;
23206 }
23207 {
23208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23209 }
23210 return resultobj;
23211 fail:
23212 return NULL;
23213 }
23214
23215
23216 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23217 PyObject *resultobj;
23218 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23219 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23220 PyObject * obj0 = 0 ;
23221 PyObject * obj1 = 0 ;
23222 char *kwnames[] = {
23223 (char *) "self",(char *) "canvas", NULL
23224 };
23225
23226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23231 {
23232 PyThreadState* __tstate = wxPyBeginAllowThreads();
23233 (arg1)->AdjustScrollbars(arg2);
23234
23235 wxPyEndAllowThreads(__tstate);
23236 if (PyErr_Occurred()) SWIG_fail;
23237 }
23238 Py_INCREF(Py_None); resultobj = Py_None;
23239 return resultobj;
23240 fail:
23241 return NULL;
23242 }
23243
23244
23245 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23246 PyObject *resultobj;
23247 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23248 wxPrintDialogData *result;
23249 PyObject * obj0 = 0 ;
23250 char *kwnames[] = {
23251 (char *) "self", NULL
23252 };
23253
23254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23257 {
23258 PyThreadState* __tstate = wxPyBeginAllowThreads();
23259 {
23260 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23261 result = (wxPrintDialogData *) &_result_ref;
23262 }
23263
23264 wxPyEndAllowThreads(__tstate);
23265 if (PyErr_Occurred()) SWIG_fail;
23266 }
23267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23268 return resultobj;
23269 fail:
23270 return NULL;
23271 }
23272
23273
23274 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23275 PyObject *resultobj;
23276 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23277 int arg2 ;
23278 PyObject * obj0 = 0 ;
23279 PyObject * obj1 = 0 ;
23280 char *kwnames[] = {
23281 (char *) "self",(char *) "percent", NULL
23282 };
23283
23284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23287 arg2 = (int) SWIG_AsInt(obj1);
23288 if (PyErr_Occurred()) SWIG_fail;
23289 {
23290 PyThreadState* __tstate = wxPyBeginAllowThreads();
23291 (arg1)->SetZoom(arg2);
23292
23293 wxPyEndAllowThreads(__tstate);
23294 if (PyErr_Occurred()) SWIG_fail;
23295 }
23296 Py_INCREF(Py_None); resultobj = Py_None;
23297 return resultobj;
23298 fail:
23299 return NULL;
23300 }
23301
23302
23303 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23304 PyObject *resultobj;
23305 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23306 int result;
23307 PyObject * obj0 = 0 ;
23308 char *kwnames[] = {
23309 (char *) "self", NULL
23310 };
23311
23312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23315 {
23316 PyThreadState* __tstate = wxPyBeginAllowThreads();
23317 result = (int)(arg1)->GetZoom();
23318
23319 wxPyEndAllowThreads(__tstate);
23320 if (PyErr_Occurred()) SWIG_fail;
23321 }
23322 resultobj = SWIG_FromInt((int)result);
23323 return resultobj;
23324 fail:
23325 return NULL;
23326 }
23327
23328
23329 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23330 PyObject *resultobj;
23331 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23332 int result;
23333 PyObject * obj0 = 0 ;
23334 char *kwnames[] = {
23335 (char *) "self", NULL
23336 };
23337
23338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23341 {
23342 PyThreadState* __tstate = wxPyBeginAllowThreads();
23343 result = (int)(arg1)->GetMaxPage();
23344
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 resultobj = SWIG_FromInt((int)result);
23349 return resultobj;
23350 fail:
23351 return NULL;
23352 }
23353
23354
23355 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23356 PyObject *resultobj;
23357 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23358 int result;
23359 PyObject * obj0 = 0 ;
23360 char *kwnames[] = {
23361 (char *) "self", NULL
23362 };
23363
23364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23367 {
23368 PyThreadState* __tstate = wxPyBeginAllowThreads();
23369 result = (int)(arg1)->GetMinPage();
23370
23371 wxPyEndAllowThreads(__tstate);
23372 if (PyErr_Occurred()) SWIG_fail;
23373 }
23374 resultobj = SWIG_FromInt((int)result);
23375 return resultobj;
23376 fail:
23377 return NULL;
23378 }
23379
23380
23381 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23382 PyObject *resultobj;
23383 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23384 bool result;
23385 PyObject * obj0 = 0 ;
23386 char *kwnames[] = {
23387 (char *) "self", NULL
23388 };
23389
23390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23393 {
23394 PyThreadState* __tstate = wxPyBeginAllowThreads();
23395 result = (bool)(arg1)->Ok();
23396
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
23400 {
23401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23402 }
23403 return resultobj;
23404 fail:
23405 return NULL;
23406 }
23407
23408
23409 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23410 PyObject *resultobj;
23411 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23412 bool arg2 ;
23413 PyObject * obj0 = 0 ;
23414 PyObject * obj1 = 0 ;
23415 char *kwnames[] = {
23416 (char *) "self",(char *) "ok", NULL
23417 };
23418
23419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23422 arg2 = (bool) SWIG_AsBool(obj1);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 {
23425 PyThreadState* __tstate = wxPyBeginAllowThreads();
23426 (arg1)->SetOk(arg2);
23427
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 Py_INCREF(Py_None); resultobj = Py_None;
23432 return resultobj;
23433 fail:
23434 return NULL;
23435 }
23436
23437
23438 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23439 PyObject *resultobj;
23440 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23441 bool arg2 ;
23442 bool result;
23443 PyObject * obj0 = 0 ;
23444 PyObject * obj1 = 0 ;
23445 char *kwnames[] = {
23446 (char *) "self",(char *) "interactive", NULL
23447 };
23448
23449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23452 arg2 = (bool) SWIG_AsBool(obj1);
23453 if (PyErr_Occurred()) SWIG_fail;
23454 {
23455 PyThreadState* __tstate = wxPyBeginAllowThreads();
23456 result = (bool)(arg1)->Print(arg2);
23457
23458 wxPyEndAllowThreads(__tstate);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 {
23462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23463 }
23464 return resultobj;
23465 fail:
23466 return NULL;
23467 }
23468
23469
23470 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23471 PyObject *resultobj;
23472 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23473 PyObject * obj0 = 0 ;
23474 char *kwnames[] = {
23475 (char *) "self", NULL
23476 };
23477
23478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23481 {
23482 PyThreadState* __tstate = wxPyBeginAllowThreads();
23483 (arg1)->DetermineScaling();
23484
23485 wxPyEndAllowThreads(__tstate);
23486 if (PyErr_Occurred()) SWIG_fail;
23487 }
23488 Py_INCREF(Py_None); resultobj = Py_None;
23489 return resultobj;
23490 fail:
23491 return NULL;
23492 }
23493
23494
23495 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23496 PyObject *obj;
23497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23498 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23499 Py_INCREF(obj);
23500 return Py_BuildValue((char *)"");
23501 }
23502 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23503 PyObject *resultobj;
23504 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23505 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23506 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23507 wxPyPrintPreview *result;
23508 PyObject * obj0 = 0 ;
23509 PyObject * obj1 = 0 ;
23510 PyObject * obj2 = 0 ;
23511
23512 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23515 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23517 if (obj2) {
23518 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23520 }
23521 {
23522 PyThreadState* __tstate = wxPyBeginAllowThreads();
23523 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23524
23525 wxPyEndAllowThreads(__tstate);
23526 if (PyErr_Occurred()) SWIG_fail;
23527 }
23528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23529 return resultobj;
23530 fail:
23531 return NULL;
23532 }
23533
23534
23535 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23536 PyObject *resultobj;
23537 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23538 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23539 wxPrintData *arg3 = (wxPrintData *) 0 ;
23540 wxPyPrintPreview *result;
23541 PyObject * obj0 = 0 ;
23542 PyObject * obj1 = 0 ;
23543 PyObject * obj2 = 0 ;
23544
23545 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23550 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23552 {
23553 PyThreadState* __tstate = wxPyBeginAllowThreads();
23554 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23555
23556 wxPyEndAllowThreads(__tstate);
23557 if (PyErr_Occurred()) SWIG_fail;
23558 }
23559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23560 return resultobj;
23561 fail:
23562 return NULL;
23563 }
23564
23565
23566 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23567 int argc;
23568 PyObject *argv[4];
23569 int ii;
23570
23571 argc = PyObject_Length(args);
23572 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23573 argv[ii] = PyTuple_GetItem(args,ii);
23574 }
23575 if ((argc >= 2) && (argc <= 3)) {
23576 int _v;
23577 {
23578 void *ptr;
23579 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23580 _v = 0;
23581 PyErr_Clear();
23582 } else {
23583 _v = 1;
23584 }
23585 }
23586 if (_v) {
23587 {
23588 void *ptr;
23589 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23590 _v = 0;
23591 PyErr_Clear();
23592 } else {
23593 _v = 1;
23594 }
23595 }
23596 if (_v) {
23597 if (argc <= 2) {
23598 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23599 }
23600 {
23601 void *ptr;
23602 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23603 _v = 0;
23604 PyErr_Clear();
23605 } else {
23606 _v = 1;
23607 }
23608 }
23609 if (_v) {
23610 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23611 }
23612 }
23613 }
23614 }
23615 if (argc == 3) {
23616 int _v;
23617 {
23618 void *ptr;
23619 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23620 _v = 0;
23621 PyErr_Clear();
23622 } else {
23623 _v = 1;
23624 }
23625 }
23626 if (_v) {
23627 {
23628 void *ptr;
23629 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23630 _v = 0;
23631 PyErr_Clear();
23632 } else {
23633 _v = 1;
23634 }
23635 }
23636 if (_v) {
23637 {
23638 void *ptr;
23639 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23640 _v = 0;
23641 PyErr_Clear();
23642 } else {
23643 _v = 1;
23644 }
23645 }
23646 if (_v) {
23647 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23648 }
23649 }
23650 }
23651 }
23652
23653 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23654 return NULL;
23655 }
23656
23657
23658 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23659 PyObject *resultobj;
23660 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23661 PyObject *arg2 = (PyObject *) 0 ;
23662 PyObject *arg3 = (PyObject *) 0 ;
23663 PyObject * obj0 = 0 ;
23664 PyObject * obj1 = 0 ;
23665 PyObject * obj2 = 0 ;
23666 char *kwnames[] = {
23667 (char *) "self",(char *) "self",(char *) "_class", NULL
23668 };
23669
23670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23673 arg2 = obj1;
23674 arg3 = obj2;
23675 {
23676 PyThreadState* __tstate = wxPyBeginAllowThreads();
23677 (arg1)->_setCallbackInfo(arg2,arg3);
23678
23679 wxPyEndAllowThreads(__tstate);
23680 if (PyErr_Occurred()) SWIG_fail;
23681 }
23682 Py_INCREF(Py_None); resultobj = Py_None;
23683 return resultobj;
23684 fail:
23685 return NULL;
23686 }
23687
23688
23689 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23690 PyObject *resultobj;
23691 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23692 int arg2 ;
23693 bool result;
23694 PyObject * obj0 = 0 ;
23695 PyObject * obj1 = 0 ;
23696 char *kwnames[] = {
23697 (char *) "self",(char *) "pageNum", NULL
23698 };
23699
23700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23703 arg2 = (int) SWIG_AsInt(obj1);
23704 if (PyErr_Occurred()) SWIG_fail;
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23708
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 {
23713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23714 }
23715 return resultobj;
23716 fail:
23717 return NULL;
23718 }
23719
23720
23721 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23722 PyObject *resultobj;
23723 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23724 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23725 wxDC *arg3 = 0 ;
23726 bool result;
23727 PyObject * obj0 = 0 ;
23728 PyObject * obj1 = 0 ;
23729 PyObject * obj2 = 0 ;
23730 char *kwnames[] = {
23731 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23732 };
23733
23734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23739 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23740 SWIG_POINTER_EXCEPTION | 0)) == -1)
23741 SWIG_fail;
23742 if (arg3 == NULL) {
23743 PyErr_SetString(PyExc_TypeError,"null reference");
23744 SWIG_fail;
23745 }
23746 {
23747 PyThreadState* __tstate = wxPyBeginAllowThreads();
23748 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23749
23750 wxPyEndAllowThreads(__tstate);
23751 if (PyErr_Occurred()) SWIG_fail;
23752 }
23753 {
23754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23755 }
23756 return resultobj;
23757 fail:
23758 return NULL;
23759 }
23760
23761
23762 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23763 PyObject *resultobj;
23764 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23765 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23766 wxDC *arg3 = 0 ;
23767 bool result;
23768 PyObject * obj0 = 0 ;
23769 PyObject * obj1 = 0 ;
23770 PyObject * obj2 = 0 ;
23771 char *kwnames[] = {
23772 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23773 };
23774
23775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23780 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23781 SWIG_POINTER_EXCEPTION | 0)) == -1)
23782 SWIG_fail;
23783 if (arg3 == NULL) {
23784 PyErr_SetString(PyExc_TypeError,"null reference");
23785 SWIG_fail;
23786 }
23787 {
23788 PyThreadState* __tstate = wxPyBeginAllowThreads();
23789 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23790
23791 wxPyEndAllowThreads(__tstate);
23792 if (PyErr_Occurred()) SWIG_fail;
23793 }
23794 {
23795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23796 }
23797 return resultobj;
23798 fail:
23799 return NULL;
23800 }
23801
23802
23803 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23804 PyObject *resultobj;
23805 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23806 int arg2 ;
23807 bool result;
23808 PyObject * obj0 = 0 ;
23809 PyObject * obj1 = 0 ;
23810 char *kwnames[] = {
23811 (char *) "self",(char *) "pageNum", NULL
23812 };
23813
23814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23817 arg2 = (int) SWIG_AsInt(obj1);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 {
23820 PyThreadState* __tstate = wxPyBeginAllowThreads();
23821 result = (bool)(arg1)->base_RenderPage(arg2);
23822
23823 wxPyEndAllowThreads(__tstate);
23824 if (PyErr_Occurred()) SWIG_fail;
23825 }
23826 {
23827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23828 }
23829 return resultobj;
23830 fail:
23831 return NULL;
23832 }
23833
23834
23835 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23836 PyObject *resultobj;
23837 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23838 int arg2 ;
23839 PyObject * obj0 = 0 ;
23840 PyObject * obj1 = 0 ;
23841 char *kwnames[] = {
23842 (char *) "self",(char *) "percent", NULL
23843 };
23844
23845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23848 arg2 = (int) SWIG_AsInt(obj1);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 {
23851 PyThreadState* __tstate = wxPyBeginAllowThreads();
23852 (arg1)->base_SetZoom(arg2);
23853
23854 wxPyEndAllowThreads(__tstate);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 }
23857 Py_INCREF(Py_None); resultobj = Py_None;
23858 return resultobj;
23859 fail:
23860 return NULL;
23861 }
23862
23863
23864 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23865 PyObject *resultobj;
23866 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23867 bool arg2 ;
23868 bool result;
23869 PyObject * obj0 = 0 ;
23870 PyObject * obj1 = 0 ;
23871 char *kwnames[] = {
23872 (char *) "self",(char *) "interactive", NULL
23873 };
23874
23875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23878 arg2 = (bool) SWIG_AsBool(obj1);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 {
23881 PyThreadState* __tstate = wxPyBeginAllowThreads();
23882 result = (bool)(arg1)->base_Print(arg2);
23883
23884 wxPyEndAllowThreads(__tstate);
23885 if (PyErr_Occurred()) SWIG_fail;
23886 }
23887 {
23888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23889 }
23890 return resultobj;
23891 fail:
23892 return NULL;
23893 }
23894
23895
23896 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23897 PyObject *resultobj;
23898 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23899 PyObject * obj0 = 0 ;
23900 char *kwnames[] = {
23901 (char *) "self", NULL
23902 };
23903
23904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23907 {
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 (arg1)->base_DetermineScaling();
23910
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 Py_INCREF(Py_None); resultobj = Py_None;
23915 return resultobj;
23916 fail:
23917 return NULL;
23918 }
23919
23920
23921 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23922 PyObject *obj;
23923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23924 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23925 Py_INCREF(obj);
23926 return Py_BuildValue((char *)"");
23927 }
23928 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23929 PyObject *resultobj;
23930 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23931 wxFrame *arg2 = (wxFrame *) 0 ;
23932 wxString *arg3 = 0 ;
23933 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23934 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23935 wxSize const &arg5_defvalue = wxDefaultSize ;
23936 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23937 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23938 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23939 wxString *arg7 = (wxString *) &arg7_defvalue ;
23940 wxPyPreviewFrame *result;
23941 bool temp3 = False ;
23942 wxPoint temp4 ;
23943 wxSize temp5 ;
23944 bool temp7 = False ;
23945 PyObject * obj0 = 0 ;
23946 PyObject * obj1 = 0 ;
23947 PyObject * obj2 = 0 ;
23948 PyObject * obj3 = 0 ;
23949 PyObject * obj4 = 0 ;
23950 PyObject * obj5 = 0 ;
23951 PyObject * obj6 = 0 ;
23952 char *kwnames[] = {
23953 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23954 };
23955
23956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23961 {
23962 arg3 = wxString_in_helper(obj2);
23963 if (arg3 == NULL) SWIG_fail;
23964 temp3 = True;
23965 }
23966 if (obj3) {
23967 {
23968 arg4 = &temp4;
23969 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23970 }
23971 }
23972 if (obj4) {
23973 {
23974 arg5 = &temp5;
23975 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23976 }
23977 }
23978 if (obj5) {
23979 arg6 = (long) SWIG_AsLong(obj5);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 }
23982 if (obj6) {
23983 {
23984 arg7 = wxString_in_helper(obj6);
23985 if (arg7 == NULL) SWIG_fail;
23986 temp7 = True;
23987 }
23988 }
23989 {
23990 PyThreadState* __tstate = wxPyBeginAllowThreads();
23991 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23992
23993 wxPyEndAllowThreads(__tstate);
23994 if (PyErr_Occurred()) SWIG_fail;
23995 }
23996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
23997 {
23998 if (temp3)
23999 delete arg3;
24000 }
24001 {
24002 if (temp7)
24003 delete arg7;
24004 }
24005 return resultobj;
24006 fail:
24007 {
24008 if (temp3)
24009 delete arg3;
24010 }
24011 {
24012 if (temp7)
24013 delete arg7;
24014 }
24015 return NULL;
24016 }
24017
24018
24019 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24020 PyObject *resultobj;
24021 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24022 PyObject *arg2 = (PyObject *) 0 ;
24023 PyObject *arg3 = (PyObject *) 0 ;
24024 PyObject * obj0 = 0 ;
24025 PyObject * obj1 = 0 ;
24026 PyObject * obj2 = 0 ;
24027 char *kwnames[] = {
24028 (char *) "self",(char *) "self",(char *) "_class", NULL
24029 };
24030
24031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24034 arg2 = obj1;
24035 arg3 = obj2;
24036 {
24037 PyThreadState* __tstate = wxPyBeginAllowThreads();
24038 (arg1)->_setCallbackInfo(arg2,arg3);
24039
24040 wxPyEndAllowThreads(__tstate);
24041 if (PyErr_Occurred()) SWIG_fail;
24042 }
24043 Py_INCREF(Py_None); resultobj = Py_None;
24044 return resultobj;
24045 fail:
24046 return NULL;
24047 }
24048
24049
24050 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24051 PyObject *resultobj;
24052 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24053 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24054 PyObject * obj0 = 0 ;
24055 PyObject * obj1 = 0 ;
24056 char *kwnames[] = {
24057 (char *) "self",(char *) "canvas", NULL
24058 };
24059
24060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24065 {
24066 PyThreadState* __tstate = wxPyBeginAllowThreads();
24067 (arg1)->SetPreviewCanvas(arg2);
24068
24069 wxPyEndAllowThreads(__tstate);
24070 if (PyErr_Occurred()) SWIG_fail;
24071 }
24072 Py_INCREF(Py_None); resultobj = Py_None;
24073 return resultobj;
24074 fail:
24075 return NULL;
24076 }
24077
24078
24079 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24080 PyObject *resultobj;
24081 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24082 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24083 PyObject * obj0 = 0 ;
24084 PyObject * obj1 = 0 ;
24085 char *kwnames[] = {
24086 (char *) "self",(char *) "bar", NULL
24087 };
24088
24089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24094 {
24095 PyThreadState* __tstate = wxPyBeginAllowThreads();
24096 (arg1)->SetControlBar(arg2);
24097
24098 wxPyEndAllowThreads(__tstate);
24099 if (PyErr_Occurred()) SWIG_fail;
24100 }
24101 Py_INCREF(Py_None); resultobj = Py_None;
24102 return resultobj;
24103 fail:
24104 return NULL;
24105 }
24106
24107
24108 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24109 PyObject *resultobj;
24110 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24111 PyObject * obj0 = 0 ;
24112 char *kwnames[] = {
24113 (char *) "self", NULL
24114 };
24115
24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 (arg1)->base_Initialize();
24122
24123 wxPyEndAllowThreads(__tstate);
24124 if (PyErr_Occurred()) SWIG_fail;
24125 }
24126 Py_INCREF(Py_None); resultobj = Py_None;
24127 return resultobj;
24128 fail:
24129 return NULL;
24130 }
24131
24132
24133 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24134 PyObject *resultobj;
24135 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24136 PyObject * obj0 = 0 ;
24137 char *kwnames[] = {
24138 (char *) "self", NULL
24139 };
24140
24141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24144 {
24145 PyThreadState* __tstate = wxPyBeginAllowThreads();
24146 (arg1)->base_CreateCanvas();
24147
24148 wxPyEndAllowThreads(__tstate);
24149 if (PyErr_Occurred()) SWIG_fail;
24150 }
24151 Py_INCREF(Py_None); resultobj = Py_None;
24152 return resultobj;
24153 fail:
24154 return NULL;
24155 }
24156
24157
24158 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24159 PyObject *resultobj;
24160 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24161 PyObject * obj0 = 0 ;
24162 char *kwnames[] = {
24163 (char *) "self", NULL
24164 };
24165
24166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24169 {
24170 PyThreadState* __tstate = wxPyBeginAllowThreads();
24171 (arg1)->base_CreateControlBar();
24172
24173 wxPyEndAllowThreads(__tstate);
24174 if (PyErr_Occurred()) SWIG_fail;
24175 }
24176 Py_INCREF(Py_None); resultobj = Py_None;
24177 return resultobj;
24178 fail:
24179 return NULL;
24180 }
24181
24182
24183 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24184 PyObject *obj;
24185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24186 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24187 Py_INCREF(obj);
24188 return Py_BuildValue((char *)"");
24189 }
24190 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj;
24192 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24193 long arg2 ;
24194 wxWindow *arg3 = (wxWindow *) 0 ;
24195 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24196 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24197 wxSize const &arg5_defvalue = wxDefaultSize ;
24198 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24199 long arg6 = (long) 0 ;
24200 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24201 wxString *arg7 = (wxString *) &arg7_defvalue ;
24202 wxPyPreviewControlBar *result;
24203 wxPoint temp4 ;
24204 wxSize temp5 ;
24205 bool temp7 = False ;
24206 PyObject * obj0 = 0 ;
24207 PyObject * obj1 = 0 ;
24208 PyObject * obj2 = 0 ;
24209 PyObject * obj3 = 0 ;
24210 PyObject * obj4 = 0 ;
24211 PyObject * obj5 = 0 ;
24212 PyObject * obj6 = 0 ;
24213 char *kwnames[] = {
24214 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24215 };
24216
24217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24220 arg2 = (long) SWIG_AsLong(obj1);
24221 if (PyErr_Occurred()) SWIG_fail;
24222 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24224 if (obj3) {
24225 {
24226 arg4 = &temp4;
24227 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24228 }
24229 }
24230 if (obj4) {
24231 {
24232 arg5 = &temp5;
24233 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24234 }
24235 }
24236 if (obj5) {
24237 arg6 = (long) SWIG_AsLong(obj5);
24238 if (PyErr_Occurred()) SWIG_fail;
24239 }
24240 if (obj6) {
24241 {
24242 arg7 = wxString_in_helper(obj6);
24243 if (arg7 == NULL) SWIG_fail;
24244 temp7 = True;
24245 }
24246 }
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24255 {
24256 if (temp7)
24257 delete arg7;
24258 }
24259 return resultobj;
24260 fail:
24261 {
24262 if (temp7)
24263 delete arg7;
24264 }
24265 return NULL;
24266 }
24267
24268
24269 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24270 PyObject *resultobj;
24271 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24272 PyObject *arg2 = (PyObject *) 0 ;
24273 PyObject *arg3 = (PyObject *) 0 ;
24274 PyObject * obj0 = 0 ;
24275 PyObject * obj1 = 0 ;
24276 PyObject * obj2 = 0 ;
24277 char *kwnames[] = {
24278 (char *) "self",(char *) "self",(char *) "_class", NULL
24279 };
24280
24281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24284 arg2 = obj1;
24285 arg3 = obj2;
24286 {
24287 PyThreadState* __tstate = wxPyBeginAllowThreads();
24288 (arg1)->_setCallbackInfo(arg2,arg3);
24289
24290 wxPyEndAllowThreads(__tstate);
24291 if (PyErr_Occurred()) SWIG_fail;
24292 }
24293 Py_INCREF(Py_None); resultobj = Py_None;
24294 return resultobj;
24295 fail:
24296 return NULL;
24297 }
24298
24299
24300 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24301 PyObject *resultobj;
24302 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24303 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24304 PyObject * obj0 = 0 ;
24305 PyObject * obj1 = 0 ;
24306 char *kwnames[] = {
24307 (char *) "self",(char *) "preview", NULL
24308 };
24309
24310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24315 {
24316 PyThreadState* __tstate = wxPyBeginAllowThreads();
24317 (arg1)->SetPrintPreview(arg2);
24318
24319 wxPyEndAllowThreads(__tstate);
24320 if (PyErr_Occurred()) SWIG_fail;
24321 }
24322 Py_INCREF(Py_None); resultobj = Py_None;
24323 return resultobj;
24324 fail:
24325 return NULL;
24326 }
24327
24328
24329 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24330 PyObject *resultobj;
24331 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24332 PyObject * obj0 = 0 ;
24333 char *kwnames[] = {
24334 (char *) "self", NULL
24335 };
24336
24337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24340 {
24341 PyThreadState* __tstate = wxPyBeginAllowThreads();
24342 (arg1)->base_CreateButtons();
24343
24344 wxPyEndAllowThreads(__tstate);
24345 if (PyErr_Occurred()) SWIG_fail;
24346 }
24347 Py_INCREF(Py_None); resultobj = Py_None;
24348 return resultobj;
24349 fail:
24350 return NULL;
24351 }
24352
24353
24354 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24355 PyObject *resultobj;
24356 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24357 int arg2 ;
24358 PyObject * obj0 = 0 ;
24359 PyObject * obj1 = 0 ;
24360 char *kwnames[] = {
24361 (char *) "self",(char *) "zoom", NULL
24362 };
24363
24364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24367 arg2 = (int) SWIG_AsInt(obj1);
24368 if (PyErr_Occurred()) SWIG_fail;
24369 {
24370 PyThreadState* __tstate = wxPyBeginAllowThreads();
24371 (arg1)->base_SetZoomControl(arg2);
24372
24373 wxPyEndAllowThreads(__tstate);
24374 if (PyErr_Occurred()) SWIG_fail;
24375 }
24376 Py_INCREF(Py_None); resultobj = Py_None;
24377 return resultobj;
24378 fail:
24379 return NULL;
24380 }
24381
24382
24383 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24384 PyObject *obj;
24385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24386 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24387 Py_INCREF(obj);
24388 return Py_BuildValue((char *)"");
24389 }
24390 static PyMethodDef SwigMethods[] = {
24391 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24392 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24394 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24396 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24398 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24402 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24404 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24407 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24408 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24410 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24411 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24412 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24414 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24415 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24416 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24418 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24419 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24422 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24433 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24445 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24456 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24467 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24471 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24475 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24480 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24495 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24522 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24529 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24552 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24560 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24572 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24578 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24587 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24593 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24598 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24604 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24608 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24626 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24652 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24659 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24668 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24670 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24679 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24682 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24689 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24707 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24711 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24716 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24720 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24736 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24739 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24741 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24745 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24754 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24763 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24769 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24784 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24791 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24795 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24819 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24843 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24867 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24913 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24945 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
24949 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
24950 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
24983 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
24988 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
24999 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25022 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25024 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25030 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25040 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25041 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25064 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25065 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25074 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25082 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25088 { NULL, NULL }
25089 };
25090
25091
25092 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25093
25094 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25095 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25096 }
25097 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25098 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25099 }
25100 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25101 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25102 }
25103 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25104 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25105 }
25106 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25107 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25108 }
25109 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25110 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25111 }
25112 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25113 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25114 }
25115 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25116 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25117 }
25118 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25119 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25120 }
25121 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25122 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25123 }
25124 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25125 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25126 }
25127 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25128 return (void *)((wxEvent *) ((wxPyEvent *) x));
25129 }
25130 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25131 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25132 }
25133 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25134 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25135 }
25136 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25137 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25138 }
25139 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25140 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25141 }
25142 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25143 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25144 }
25145 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25146 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25147 }
25148 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25149 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25150 }
25151 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25152 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25153 }
25154 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25155 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25156 }
25157 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25158 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25159 }
25160 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25161 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25162 }
25163 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25164 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25165 }
25166 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25167 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25168 }
25169 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25170 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25171 }
25172 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25173 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25174 }
25175 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25176 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25177 }
25178 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25179 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25180 }
25181 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25182 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25183 }
25184 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25185 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25186 }
25187 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25188 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25189 }
25190 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25191 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25192 }
25193 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25194 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25195 }
25196 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25197 return (void *)((wxEvent *) ((wxShowEvent *) x));
25198 }
25199 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25200 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25201 }
25202 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25203 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25204 }
25205 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25206 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25207 }
25208 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25209 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25210 }
25211 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25212 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25213 }
25214 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25215 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25216 }
25217 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25218 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25219 }
25220 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25221 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25222 }
25223 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25224 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25225 }
25226 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25227 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25228 }
25229 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25230 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25231 }
25232 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25233 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25234 }
25235 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25236 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25237 }
25238 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25239 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25240 }
25241 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25242 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25243 }
25244 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25245 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25246 }
25247 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25248 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25249 }
25250 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25251 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25252 }
25253 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25254 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25255 }
25256 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25257 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25258 }
25259 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25260 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25261 }
25262 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25263 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25264 }
25265 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25266 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25267 }
25268 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25269 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25270 }
25271 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25272 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25273 }
25274 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25275 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25276 }
25277 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25278 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25279 }
25280 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25281 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25282 }
25283 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25284 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25285 }
25286 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25287 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25288 }
25289 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25290 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25291 }
25292 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25293 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25294 }
25295 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25296 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25297 }
25298 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25299 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25300 }
25301 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25302 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25303 }
25304 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25305 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25306 }
25307 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25308 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25309 }
25310 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25311 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25312 }
25313 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25314 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25315 }
25316 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25317 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25318 }
25319 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25320 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25321 }
25322 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25323 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25324 }
25325 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25326 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25327 }
25328 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25329 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25330 }
25331 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25332 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25333 }
25334 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25335 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25336 }
25337 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25338 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25339 }
25340 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25341 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25342 }
25343 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25344 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25345 }
25346 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25347 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25348 }
25349 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25350 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25351 }
25352 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25353 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25354 }
25355 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25356 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25357 }
25358 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25359 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25360 }
25361 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25362 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25363 }
25364 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25365 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25366 }
25367 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25368 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25369 }
25370 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25371 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25372 }
25373 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25374 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25375 }
25376 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25377 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25378 }
25379 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25380 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25381 }
25382 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25383 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25384 }
25385 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25386 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25387 }
25388 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25389 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25390 }
25391 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25392 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25393 }
25394 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25395 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25396 }
25397 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25398 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25399 }
25400 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25401 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25402 }
25403 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25405 }
25406 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25408 }
25409 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25410 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25411 }
25412 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25413 return (void *)((wxObject *) ((wxSizerItem *) x));
25414 }
25415 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25416 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25417 }
25418 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25419 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25420 }
25421 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25422 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25423 }
25424 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25425 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25426 }
25427 static void *_p_wxSizerTo_p_wxObject(void *x) {
25428 return (void *)((wxObject *) ((wxSizer *) x));
25429 }
25430 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25431 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25432 }
25433 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25434 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25435 }
25436 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25438 }
25439 static void *_p_wxEventTo_p_wxObject(void *x) {
25440 return (void *)((wxObject *) ((wxEvent *) x));
25441 }
25442 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25443 return (void *)((wxObject *) ((wxFontData *) x));
25444 }
25445 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25446 return (void *)((wxObject *) ((wxPrintData *) x));
25447 }
25448 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25449 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25450 }
25451 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25452 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25453 }
25454 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25455 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25456 }
25457 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25458 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25459 }
25460 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25461 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25462 }
25463 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25464 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25465 }
25466 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25467 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25468 }
25469 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25470 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25471 }
25472 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25473 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25474 }
25475 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25476 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25477 }
25478 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25479 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25480 }
25481 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25482 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25483 }
25484 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25486 }
25487 static void *_p_wxControlTo_p_wxObject(void *x) {
25488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25489 }
25490 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25491 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25492 }
25493 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25494 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25495 }
25496 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25497 return (void *)((wxObject *) ((wxFSFile *) x));
25498 }
25499 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25500 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25501 }
25502 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25503 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25504 }
25505 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25507 }
25508 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25509 return (void *)((wxObject *) ((wxColourData *) x));
25510 }
25511 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25512 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25513 }
25514 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25516 }
25517 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25519 }
25520 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25522 }
25523 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25525 }
25526 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25528 }
25529 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25531 }
25532 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25534 }
25535 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25537 }
25538 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25540 }
25541 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25543 }
25544 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25545 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25546 }
25547 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25548 return (void *)((wxObject *) ((wxPrinter *) x));
25549 }
25550 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25551 return (void *)((wxObject *) ((wxMenuItem *) x));
25552 }
25553 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25554 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25555 }
25556 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25557 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25558 }
25559 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25560 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25561 }
25562 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25563 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25564 }
25565 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25566 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25567 }
25568 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25569 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25570 }
25571 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25572 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25573 }
25574 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25575 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25576 }
25577 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25578 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25579 }
25580 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25581 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25582 }
25583 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25584 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25585 }
25586 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25587 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25588 }
25589 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25590 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25591 }
25592 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25593 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25594 }
25595 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25596 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25597 }
25598 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25599 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25600 }
25601 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25602 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25603 }
25604 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25605 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25606 }
25607 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25608 return (void *)((wxObject *) ((wxImageHandler *) x));
25609 }
25610 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25611 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25612 }
25613 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25614 return (void *)((wxObject *) ((wxEvtHandler *) x));
25615 }
25616 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25617 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25618 }
25619 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25621 }
25622 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25624 }
25625 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25626 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25627 }
25628 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25630 }
25631 static void *_p_wxImageTo_p_wxObject(void *x) {
25632 return (void *)((wxObject *) ((wxImage *) x));
25633 }
25634 static void *_p_wxFrameTo_p_wxObject(void *x) {
25635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25636 }
25637 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25638 return (void *)((wxObject *) ((wxPyPrintout *) x));
25639 }
25640 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25641 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25642 }
25643 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25644 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25645 }
25646 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25648 }
25649 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25651 }
25652 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25653 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25654 }
25655 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25656 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25657 }
25658 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25659 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25660 }
25661 static void *_p_wxWindowTo_p_wxObject(void *x) {
25662 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25663 }
25664 static void *_p_wxMenuTo_p_wxObject(void *x) {
25665 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25666 }
25667 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25669 }
25670 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25672 }
25673 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25674 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25675 }
25676 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25677 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25678 }
25679 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25681 }
25682 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25684 }
25685 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25687 }
25688 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25689 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25690 }
25691 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25693 }
25694 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25695 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25696 }
25697 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25699 }
25700 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25702 }
25703 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25705 }
25706 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25707 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25708 }
25709 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25710 return (void *)((wxObject *) ((wxPrintPreview *) x));
25711 }
25712 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25713 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25714 }
25715 static void *_p_wxPanelTo_p_wxObject(void *x) {
25716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25717 }
25718 static void *_p_wxDialogTo_p_wxObject(void *x) {
25719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25720 }
25721 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25723 }
25724 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25726 }
25727 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25729 }
25730 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25732 }
25733 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25735 }
25736 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25737 return (void *)((wxObject *) ((wxFileSystem *) x));
25738 }
25739 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25740 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25741 }
25742 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25743 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25744 }
25745 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25746 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25747 }
25748 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25749 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25750 }
25751 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25752 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25753 }
25754 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25755 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25756 }
25757 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25758 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25759 }
25760 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25761 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25762 }
25763 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25765 }
25766 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25768 }
25769 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25770 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25771 }
25772 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25773 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25774 }
25775 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25776 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25777 }
25778 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25780 }
25781 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25782 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25783 }
25784 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25785 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25786 }
25787 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25788 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25789 }
25790 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25791 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25792 }
25793 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25794 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25795 }
25796 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25797 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25798 }
25799 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
25800 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25801 }
25802 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25803 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25804 }
25805 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
25806 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25807 }
25808 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25809 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25810 }
25811 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25812 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25813 }
25814 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25815 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25816 }
25817 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25818 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25819 }
25820 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25821 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25822 }
25823 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25824 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25825 }
25826 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25827 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25828 }
25829 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25830 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25831 }
25832 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25833 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25834 }
25835 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25836 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25837 }
25838 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25839 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25840 }
25841 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25842 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25843 }
25844 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25845 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25846 }
25847 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25848 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25849 }
25850 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25851 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25852 }
25853 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25854 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25855 }
25856 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25857 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25858 }
25859 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25860 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25861 }
25862 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25863 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25864 }
25865 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25866 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25867 }
25868 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25869 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25870 }
25871 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25872 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25873 }
25874 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25875 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25876 }
25877 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25878 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25879 }
25880 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25881 return (void *)((wxWindow *) ((wxMenuBar *) x));
25882 }
25883 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25884 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25885 }
25886 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25887 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25888 }
25889 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25890 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25891 }
25892 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25893 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25894 }
25895 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25896 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25897 }
25898 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25899 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25900 }
25901 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25902 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25903 }
25904 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25905 return (void *)((wxWindow *) ((wxPanel *) x));
25906 }
25907 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25908 return (void *)((wxWindow *) ((wxStatusBar *) x));
25909 }
25910 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25911 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25912 }
25913 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25914 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25915 }
25916 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25917 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25918 }
25919 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25920 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25921 }
25922 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25923 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25924 }
25925 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25926 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25927 }
25928 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25929 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25930 }
25931 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25932 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25933 }
25934 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25935 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25936 }
25937 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25938 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25939 }
25940 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25941 return (void *)((wxWindow *) ((wxSashWindow *) x));
25942 }
25943 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25944 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25945 }
25946 static void *_p_wxControlTo_p_wxWindow(void *x) {
25947 return (void *)((wxWindow *) ((wxControl *) x));
25948 }
25949 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25950 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25951 }
25952 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25953 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25954 }
25955 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25956 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25957 }
25958 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25959 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25960 }
25961 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25962 return (void *)((wxWindow *) ((wxPyWindow *) x));
25963 }
25964 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25965 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25966 }
25967 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25968 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25969 }
25970 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25971 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25972 }
25973 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25974 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25975 }
25976 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25977 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25978 }
25979 static void *_p_wxFrameTo_p_wxWindow(void *x) {
25980 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25981 }
25982 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25983 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25984 }
25985 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25986 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25987 }
25988 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25989 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25990 }
25991 static void *_p_wxDialogTo_p_wxWindow(void *x) {
25992 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25993 }
25994 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25995 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25996 }
25997 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25998 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25999 }
26000 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26001 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26002 }
26003 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26004 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26005 }
26006 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26007 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26008 }
26009 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26010 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26011 }
26012 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26013 return (void *)((wxDialog *) ((wxColourDialog *) x));
26014 }
26015 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26016 return (void *)((wxDialog *) ((wxDirDialog *) x));
26017 }
26018 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26019 return (void *)((wxDialog *) ((wxFontDialog *) x));
26020 }
26021 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26022 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26023 }
26024 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26025 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26026 }
26027 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26028 return (void *)((wxDialog *) ((wxFileDialog *) x));
26029 }
26030 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26031 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26032 }
26033 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26034 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26035 }
26036 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26037 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26038 }
26039 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26040 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26041 }
26042 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26043 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26044 }
26045 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26046 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26047 }
26048 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26049 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26050 }
26051 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26052 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26053 }
26054 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26055 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26056 }
26057 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26058 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26059 }
26060 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26061 return (void *)((wxPanel *) ((wxPyPanel *) x));
26062 }
26063 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26064 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26065 }
26066 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26067 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26068 }
26069 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26070 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26071 }
26072 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26073 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26074 }
26075 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26076 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26077 }
26078 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26079 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26080 }
26081 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26082 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26083 }
26084 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26085 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26086 }
26087 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26088 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26089 }
26090 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26091 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26092 }
26093 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26094 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26095 }
26096 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26097 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26098 }
26099 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26100 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26101 }
26102 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26103 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26104 }
26105 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26106 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26107 }
26108 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}};
26109 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}};
26110 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}};
26111 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}};
26112 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}};
26113 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}};
26114 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}};
26115 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}};
26116 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}};
26117 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}};
26118 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}};
26119 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}};
26120 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}};
26121 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}};
26122 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}};
26123 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}};
26124 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}};
26125 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}};
26126 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}};
26127 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}};
26128 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}};
26129 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}};
26130 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}};
26131 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}};
26132 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}};
26133 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}};
26134 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}};
26135 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}};
26136 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}};
26137 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}};
26138 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}};
26139 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}};
26140 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}};
26141 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}};
26142 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}};
26143 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_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_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_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}};
26144 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}};
26145 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}};
26146 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}};
26147 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}};
26148 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}};
26149 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}};
26150 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26151 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}};
26152 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}};
26153 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}};
26154 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}};
26155 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}};
26156 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}};
26157 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_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26158 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}};
26159 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}};
26160 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}};
26161 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}};
26162 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}};
26163 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}};
26164 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}};
26165 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}};
26166 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26167 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26168 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}};
26169 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26170 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_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_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
26171 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}};
26172 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}};
26173 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}};
26174 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}};
26175 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}};
26176 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}};
26177 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}};
26178 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}};
26179 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}};
26180 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}};
26181 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}};
26182 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}};
26183 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}};
26184 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}};
26185 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}};
26186 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}};
26187 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}};
26188 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}};
26189 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}};
26190 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}};
26191 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}};
26192 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}};
26193
26194 static swig_type_info *swig_types_initial[] = {
26195 _swigt__p_wxQueryLayoutInfoEvent,
26196 _swigt__p_wxPreviewFrame,
26197 _swigt__p_wxPyPreviewFrame,
26198 _swigt__p_wxPyPanel,
26199 _swigt__p_wxMenu,
26200 _swigt__p_wxPrintData,
26201 _swigt__p_wxFontData,
26202 _swigt__p_wxEvent,
26203 _swigt__p_wxTaskBarIcon,
26204 _swigt__p_wxIconBundle,
26205 _swigt__p_wxLayoutAlgorithm,
26206 _swigt__p_wxFindDialogEvent,
26207 _swigt__p_wxPreviewCanvas,
26208 _swigt__p_wxFont,
26209 _swigt__p_wxSplitterEvent,
26210 _swigt__p_wxRegion,
26211 _swigt__p_wxFindReplaceData,
26212 _swigt__p_int,
26213 _swigt__p_wxSize,
26214 _swigt__p_wxDC,
26215 _swigt__p_wxIcon,
26216 _swigt__p_wxMDIChildFrame,
26217 _swigt__p_wxColourData,
26218 _swigt__p_wxNotifyEvent,
26219 _swigt__p_wxPyWindow,
26220 _swigt__p_wxSplashScreen,
26221 _swigt__p_wxFindReplaceDialog,
26222 _swigt__p_wxProgressDialog,
26223 _swigt__p_wxMessageDialog,
26224 _swigt__p_wxTextEntryDialog,
26225 _swigt__p_wxSingleChoiceDialog,
26226 _swigt__p_wxMultiChoiceDialog,
26227 _swigt__p_wxFileDialog,
26228 _swigt__p_wxPrinter,
26229 _swigt__p_wxArrayInt,
26230 _swigt__p_wxEvtHandler,
26231 _swigt__p_wxCalculateLayoutEvent,
26232 _swigt__p_wxPyHtmlListBox,
26233 _swigt__p_wxPyVListBox,
26234 _swigt__p_wxRect,
26235 _swigt__p_char,
26236 _swigt__p_wxMiniFrame,
26237 _swigt__p_wxFrame,
26238 _swigt__p_wxPyPrintout,
26239 _swigt__p_wxTaskBarIconEvent,
26240 _swigt__p_wxScrollWinEvent,
26241 _swigt__p_wxStatusBar,
26242 _swigt__p_wxMDIParentFrame,
26243 _swigt__p_wxPoint,
26244 _swigt__p_wxObject,
26245 _swigt__p_wxOutputStream,
26246 _swigt__p_unsigned_long,
26247 _swigt__p_wxPyScrolledWindow,
26248 _swigt__p_wxMDIClientWindow,
26249 _swigt__p_wxTipWindow,
26250 _swigt__p_wxSashLayoutWindow,
26251 _swigt__p_wxSplitterWindow,
26252 _swigt__p_wxPyVScrolledWindow,
26253 _swigt__p_wxPyPopupTransientWindow,
26254 _swigt__p_wxPopupWindow,
26255 _swigt__p_wxSashWindow,
26256 _swigt__p_wxTopLevelWindow,
26257 _swigt__p_wxWindow,
26258 _swigt__p_wxScrolledWindow,
26259 _swigt__p_wxSplashScreenWindow,
26260 _swigt__p_wxMenuBar,
26261 _swigt__p_wxPrintPreview,
26262 _swigt__p_wxSashEvent,
26263 _swigt__p_wxString,
26264 _swigt__p_wxPyPrintPreview,
26265 _swigt__p_wxFontDialog,
26266 _swigt__p_wxDirDialog,
26267 _swigt__p_wxColourDialog,
26268 _swigt__p_wxDialog,
26269 _swigt__p_wxPanel,
26270 _swigt__p_wxPageSetupDialog,
26271 _swigt__p_wxPrintDialog,
26272 _swigt__p_wxBitmap,
26273 _swigt__p_wxCommandEvent,
26274 _swigt__p_wxPreviewControlBar,
26275 _swigt__p_wxPyPreviewControlBar,
26276 _swigt__p_wxColour,
26277 _swigt__p_wxToolBar,
26278 _swigt__p_wxPageSetupDialogData,
26279 _swigt__p_wxPrintDialogData,
26280 0
26281 };
26282
26283
26284 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26285
26286 static swig_const_info swig_const_table[] = {
26287 {0}};
26288
26289 #ifdef __cplusplus
26290 }
26291 #endif
26292
26293 #ifdef __cplusplus
26294 extern "C"
26295 #endif
26296 SWIGEXPORT(void) SWIG_init(void) {
26297 static PyObject *SWIG_globals = 0;
26298 static int typeinit = 0;
26299 PyObject *m, *d;
26300 int i;
26301 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26302 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26303 d = PyModule_GetDict(m);
26304
26305 if (!typeinit) {
26306 for (i = 0; swig_types_initial[i]; i++) {
26307 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26308 }
26309 typeinit = 1;
26310 }
26311 SWIG_InstallConstants(d,swig_const_table);
26312
26313 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26314 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26315 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26316 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26317 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26318 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26319 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26320 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26321 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26322 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26323 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26324 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26325 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26326 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26327 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26328 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26329 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26330 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26331 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26332 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26333 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26334 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26335 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26336 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26337 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26338 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26339 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26340 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26341 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26342 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26343 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26344 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26345 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26346 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26347 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26348 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26349 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26350 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26351 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26352 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26353 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26354 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26355 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26356 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26357 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26358 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26359 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26360 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26361 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26362 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26363 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26364 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26365 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26366 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26367 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26368 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26369 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26370 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26371 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26372 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26373 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26374 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26375 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26376 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26377 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26378 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26379 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26380 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26381 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26382 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26383 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26384 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26385 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26386 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26387 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26388 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26389 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26390 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26391 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26392 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26393 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26394 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26395 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26396 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26397 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26398 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26399 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26400 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26401 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26402 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26403 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26404 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26405 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26406
26407 // Map renamed classes back to their common name for OOR
26408 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26409 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26410 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26411
26412 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26413 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26414 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26415 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26416 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26417 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26418 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26419 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26420 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26421 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26422 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26423 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26424 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26425 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26426 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26427 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26428 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26429 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26430 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26431 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26432 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26433 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26434 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26435 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26436 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26437 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26438 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26439 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26440 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26441 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26442 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26443 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26444 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26445 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26446 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26447 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26448 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26449 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26450 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26451 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26452 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26453 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26454 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26455 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26456 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26457 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26458 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26459 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26460 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26461 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26462 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26463 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26464 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26465 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26466 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26467 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26468 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26469 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26470 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26471 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26472
26473 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26474
26475 }
26476