]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxFileSystem swig_types[77]
287 #define SWIGTYPE_p_wxBitmap swig_types[78]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxToolBar swig_types[83]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
295 static swig_type_info *swig_types[87];
296
297 /* -------- TYPES TABLE (END) -------- */
298
299
300 /*-----------------------------------------------
301 @(target):= _windows_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows_
304
305 #define SWIG_name "_windows_"
306
307 /* Auxiliar swig macros */
308
309 #ifdef __cplusplus
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #else
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
322 #endif
323
324 #else /* C case */
325
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
334
335 #endif /* __cplusplus */
336
337
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
348
349
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
352
353
354 static const wxString wxPyEmptyString(wxEmptyString);
355 static const wxString wxPyPanelNameStr(wxPanelNameStr);
356
357
358
359 #include <limits.h>
360
361
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value, const char* type,
364 long min_value, long max_value)
365 {
366 if (!PyErr_Occurred()) {
367 if (value < min_value) {
368 PyObject *err =
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value, type, min_value);
371
372 PyErr_SetObject(PyExc_OverflowError, err);
373 Py_DECREF(err);
374 } else if (value > max_value) {
375 PyObject *err =
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value, type, max_value);
378 PyErr_SetObject(PyExc_OverflowError, err);
379 Py_DECREF(err);
380 }
381 }
382 return value;
383 }
384
385
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject * obj)
388 {
389 if (PyNumber_Check(obj))
390 return PyInt_AsLong(obj);
391 else {
392 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
393 obj->ob_type->tp_name);
394 PyErr_SetObject(PyExc_TypeError, errmsg);
395 Py_DECREF(errmsg);
396 return 0;
397 }
398 }
399
400
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject *obj)
404 {
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj),
407 "int", INT_MIN, INT_MAX));
408 }
409 #else
410 #define SWIG_AsInt SWIG_AsLong
411 #endif
412
413
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject* obj)
416 {
417 SWIG_AsInt(obj);
418 if (PyErr_Occurred()) {
419 PyErr_Clear();
420 return 0;
421 } else {
422 return 1;
423 }
424 }
425
426
427 SWIGSTATICINLINE(int)
428 SWIG_CheckLong(PyObject* obj)
429 {
430 SWIG_AsLong(obj);
431 if (PyErr_Occurred()) {
432 PyErr_Clear();
433 return 0;
434 } else {
435 return 1;
436 }
437 }
438
439
440 SWIGSTATICINLINE(bool)
441 SWIG_AsBool(PyObject *obj)
442 {
443 return PyObject_IsTrue(obj) ? true : false;
444 }
445
446
447 SWIGSTATICINLINE(int)
448 SWIG_CheckBool(PyObject* obj)
449 {
450 SWIG_AsBool(obj);
451 if (PyErr_Occurred()) {
452 PyErr_Clear();
453 return 0;
454 } else {
455 return 1;
456 }
457 }
458
459
460 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
461 PyObject* o2;
462 PyObject* o3;
463
464 if (!target) {
465 target = o;
466 } else if (target == Py_None) {
467 Py_DECREF(Py_None);
468 target = o;
469 } else {
470 if (!PyTuple_Check(target)) {
471 o2 = target;
472 target = PyTuple_New(1);
473 PyTuple_SetItem(target, 0, o2);
474 }
475 o3 = PyTuple_New(1);
476 PyTuple_SetItem(o3, 0, o);
477
478 o2 = target;
479 target = PySequence_Concat(o2, o3);
480 Py_DECREF(o2);
481 Py_DECREF(o3);
482 }
483 return target;
484 }
485
486
487 SWIGSTATICINLINE(double)
488 SWIG_AsDouble(PyObject *obj)
489 {
490 if (PyNumber_Check(obj))
491 return PyFloat_AsDouble(obj);
492 else {
493 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
494 obj->ob_type->tp_name);
495 PyErr_SetObject(PyExc_TypeError, errmsg);
496 Py_DECREF(errmsg);
497 return 0;
498 }
499 }
500
501
502 SWIGSTATICINLINE(int)
503 SWIG_CheckDouble(PyObject* obj)
504 {
505 SWIG_AsDouble(obj);
506 if (PyErr_Occurred()) {
507 PyErr_Clear();
508 return 0;
509 } else {
510 return 1;
511 }
512 }
513
514 static const wxString wxPyFrameNameStr(wxFrameNameStr);
515 static const wxString wxPyDialogNameStr(wxDialogNameStr);
516 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
517 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
518
519
520 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
521 wxRect r;
522 self->GetFieldRect(i, r);
523 return r;
524 }
525 static const wxString wxPySplitterNameStr(wxT("splitter"));
526 static const wxString wxPySashNameStr(wxT("sashWindow"));
527 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
528
529 #include <wx/popupwin.h>
530
531
532 class wxPopupWindow : public wxWindow {
533 public:
534 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
535 wxPopupWindow() { wxPyRaiseNotImplemented(); }
536 };
537
538 class wxPyPopupTransientWindow : public wxPopupWindow
539 {
540 public:
541 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
542 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
543 };
544
545
546 #include <wx/tipwin.h>
547
548 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
549 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
550 }
551
552 #include <wx/tipwin.h>
553
554
555 #include <wx/vscroll.h>
556
557
558 class wxPyVScrolledWindow : public wxVScrolledWindow
559 {
560 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
561 public:
562 wxPyVScrolledWindow() : wxVScrolledWindow() {}
563
564 wxPyVScrolledWindow(wxWindow *parent,
565 wxWindowID id = wxID_ANY,
566 const wxPoint& pos = wxDefaultPosition,
567 const wxSize& size = wxDefaultSize,
568 long style = 0,
569 const wxString& name = wxPyPanelNameStr)
570 : wxVScrolledWindow(parent, id, pos, size, style, name)
571 {}
572
573 // Overridable virtuals
574
575 // this function must be overridden in the derived class and it should
576 // return the height of the given line in pixels
577 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
578
579
580 // this function doesn't have to be overridden but it may be useful to do
581 // it if calculating the lines heights is a relatively expensive operation
582 // as it gives the user code a possibility to calculate several of them at
583 // once
584 //
585 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
586 // shouldn't rely on the latter being called for all lines in the interval
587 // specified here. It is also possible that OnGetLineHeight() will be
588 // called for the lines outside of this interval, so this is really just a
589 // hint, not a promise.
590 //
591 // finally note that lineMin is inclusive, while lineMax is exclusive, as
592 // usual
593 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
594
595
596 // when the number of lines changes, we try to estimate the total height
597 // of all lines which is a rather expensive operation in terms of lines
598 // access, so if the user code may estimate the average height
599 // better/faster than we do, it should override this function to implement
600 // its own logic
601 //
602 // this function should return the best guess for the total height it may
603 // make
604 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
605
606
607 // Also expose some other interesting protected methods
608
609
610 // find the index of the line we need to show at the top of the window such
611 // that the last (fully or partially) visible line is the given one
612 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
613 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
614
615 // get the total height of the lines between lineMin (inclusive) and
616 // lineMax (exclusive)
617 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
618 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
619
620
621 PYPRIVATE;
622 };
623
624 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
625
626 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
627 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
628 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
629
630
631 SWIGSTATICINLINE(unsigned long)
632 SWIG_AsUnsignedLong(PyObject * obj)
633 {
634 if (PyLong_Check(obj)) {
635 return PyLong_AsUnsignedLong(obj);
636 } else {
637 long i = SWIG_AsLong(obj);
638 if ( !PyErr_Occurred() && (i < 0)) {
639 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
640 }
641 return i;
642 }
643 }
644
645
646 SWIGSTATICINLINE(int)
647 SWIG_CheckUnsignedLong(PyObject* obj)
648 {
649 SWIG_AsUnsignedLong(obj);
650 if (PyErr_Occurred()) {
651 PyErr_Clear();
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658
659 SWIGSTATICINLINE(PyObject* )
660 SWIG_FromUnsignedLong(unsigned long value)
661 {
662 return (value > LONG_MAX) ?
663 PyLong_FromUnsignedLong(value)
664 : PyInt_FromLong(swig_numeric_cast(long,value));
665 }
666
667
668 #include <wx/vlbox.h>
669
670 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
671
672 class wxPyVListBox : public wxVListBox
673 {
674 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
675 public:
676 wxPyVListBox() : wxVListBox() {}
677
678 wxPyVListBox(wxWindow *parent,
679 wxWindowID id = wxID_ANY,
680 const wxPoint& pos = wxDefaultPosition,
681 const wxSize& size = wxDefaultSize,
682 long style = 0,
683 const wxString& name = wxPyVListBoxNameStr)
684 : wxVListBox(parent, id, pos, size, style, name)
685 {}
686
687 // Overridable virtuals
688
689 // the derived class must implement this function to actually draw the item
690 // with the given index on the provided DC
691 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
692 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
693
694
695 // the derived class must implement this method to return the height of the
696 // specified item
697 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
698 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
699
700
701 // this method may be used to draw separators between the lines; note that
702 // the rectangle may be modified, typically to deflate it a bit before
703 // passing to OnDrawItem()
704 //
705 // the base class version doesn't do anything
706 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
707 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
708
709
710 // this method is used to draw the items background and, maybe, a border
711 // around it
712 //
713 // the base class version implements a reasonable default behaviour which
714 // consists in drawing the selected item with the standard background
715 // colour and drawing a border around the item if it is either selected or
716 // current
717 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
718 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
719
720
721 PYPRIVATE;
722 };
723
724 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
725
726 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
727 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
728 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
729 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
730
731
732 PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
733 unsigned long cookie = 0;
734 int selected = self->GetFirstSelected(cookie);
735 bool blocked = wxPyBeginBlockThreads();
736 PyObject* tup = PyTuple_New(2);
737 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
738 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
739 wxPyEndBlockThreads(blocked);
740 return tup;
741 }
742 PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
743 int selected = self->GetNextSelected(cookie);
744 bool blocked = wxPyBeginBlockThreads();
745 PyObject* tup = PyTuple_New(2);
746 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
747 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
748 wxPyEndBlockThreads(blocked);
749 return tup;
750 }
751
752 #include <wx/htmllbox.h>
753
754
755 class wxPyHtmlListBox : public wxHtmlListBox
756 {
757 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
758 public:
759 wxPyHtmlListBox() : wxHtmlListBox() {}
760
761 wxPyHtmlListBox(wxWindow *parent,
762 wxWindowID id = wxID_ANY,
763 const wxPoint& pos = wxDefaultPosition,
764 const wxSize& size = wxDefaultSize,
765 long style = 0,
766 const wxString& name = wxPyVListBoxNameStr)
767 : wxHtmlListBox(parent, id, pos, size, style, name)
768 {}
769
770 // Overridable virtuals
771
772 // this method must be implemented in the derived class and should return
773 // the body (i.e. without <html>) of the HTML for the given item
774 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
775
776 // this function may be overridden to decorate HTML returned by OnGetItem()
777 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
778
779 // TODO:
780 // // this method allows to customize the selection appearance: it may be used
781 // // to specify the colour of the text which normally has the given colour
782 // // colFg when it is inside the selection
783 // //
784 // // by default, the original colour is not used at all and all text has the
785 // // same (default for this system) colour inside selection
786 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
787
788 // // this is the same as GetSelectedTextColour() but allows to customize the
789 // // background colour -- this is even more rarely used as you can change it
790 // // globally using SetSelectionBackground()
791 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
792
793
794 PYPRIVATE;
795 };
796
797
798 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
799
800 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
801 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
802
803
804
805
806
807 #ifdef __WXMAC__
808 // implement dummy classes and such for wxMac
809
810 class wxTaskBarIcon : public wxEvtHandler
811 {
812 public:
813 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
814 };
815
816
817 class wxTaskBarIconEvent : public wxEvent
818 {
819 public:
820 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
821 { wxPyRaiseNotImplemented(); }
822 virtual wxEvent* Clone() const { return NULL; }
823 };
824
825 enum {
826 wxEVT_TASKBAR_MOVE = 0,
827 wxEVT_TASKBAR_LEFT_DOWN = 0,
828 wxEVT_TASKBAR_LEFT_UP = 0,
829 wxEVT_TASKBAR_RIGHT_DOWN = 0,
830 wxEVT_TASKBAR_RIGHT_UP = 0,
831 wxEVT_TASKBAR_LEFT_DCLICK = 0,
832 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
833 };
834
835
836 #else
837 // // Otherwise make a class that can virtualize CreatePopupMenu
838 // class wxPyTaskBarIcon : public wxTaskBarIcon
839 // {
840 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
841 // public:
842 // wxPyTaskBarIcon() : wxTaskBarIcon()
843 // {}
844
845 // wxMenu* CreatePopupMenu() {
846 // wxMenu *rval = NULL;
847 // bool found;
848 // bool blocked = wxPyBeginBlockThreads();
849 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
850 // PyObject* ro;
851 // wxMenu* ptr;
852 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
853 // if (ro) {
854 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
855 // rval = ptr;
856 // Py_DECREF(ro);
857 // }
858 // }
859 // wxPyEndBlockThreads(blocked);
860 // if (! found)
861 // rval = wxTaskBarIcon::CreatePopupMenu();
862 // return rval;
863 // }
864
865 // PYPRIVATE;
866 // };
867
868 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
869
870 #endif
871
872 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
873
874
875
876 }
877 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
878 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
879 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
880 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
881 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
882 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
883 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
884 wxArrayString arr;
885 self->GetFilenames(arr);
886 return wxArrayString2PyList_helper(arr);
887 }
888 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
889 wxArrayString arr;
890 self->GetPaths(arr);
891 return wxArrayString2PyList_helper(arr);
892 }
893 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
894 return wxArrayInt2PyList_helper(self->GetSelections());
895 }
896 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
897 return new wxSingleChoiceDialog(parent, message, caption,
898 choices, choices_array, NULL, style, pos);
899 }
900
901 #include <wx/mdi.h>
902
903 // C++ version of Python aware wxWindow
904 class wxPyWindow : public wxWindow
905 {
906 DECLARE_DYNAMIC_CLASS(wxPyWindow)
907 public:
908 wxPyWindow() : wxWindow() {}
909 wxPyWindow(wxWindow* parent, const wxWindowID id,
910 const wxPoint& pos = wxDefaultPosition,
911 const wxSize& size = wxDefaultSize,
912 long style = 0,
913 const wxString& name = wxPyPanelNameStr)
914 : wxWindow(parent, id, pos, size, style, name) {}
915
916 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
917
918 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
919 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
920 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
921 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
922
923 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
924 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
925 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
926
927 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
928 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
929
930 DEC_PYCALLBACK__(InitDialog);
931 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
932 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
933 DEC_PYCALLBACK_BOOL_(Validate);
934
935 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
936 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
937 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
938
939 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
940 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
941
942 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
943 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
944 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
945
946 PYPRIVATE;
947 };
948
949 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
950
951 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
952 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
953 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
954 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
955
956 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
957 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
958 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
959
960 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
961 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
962
963 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
964 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
965 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
966 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
967
968 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
969 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
970 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
971
972 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
973 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
974
975 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
976 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
977 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
978
979
980 // C++ version of Python aware wxPanel
981 class wxPyPanel : public wxPanel
982 {
983 DECLARE_DYNAMIC_CLASS(wxPyPanel)
984 public:
985 wxPyPanel() : wxPanel() {}
986 wxPyPanel(wxWindow* parent, const wxWindowID id,
987 const wxPoint& pos = wxDefaultPosition,
988 const wxSize& size = wxDefaultSize,
989 long style = 0,
990 const wxString& name = wxPyPanelNameStr)
991 : wxPanel(parent, id, pos, size, style, name) {}
992
993 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
994
995
996 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
997 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
998 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
999 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1000
1001 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1002 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1003 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1004
1005 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1006 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1007
1008 DEC_PYCALLBACK__(InitDialog);
1009 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1010 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1011 DEC_PYCALLBACK_BOOL_(Validate);
1012
1013 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1014 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1015 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1016
1017 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1018 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1019
1020 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1021 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1022 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1023
1024 PYPRIVATE;
1025 };
1026
1027 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1028
1029 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1030 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1031 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1032 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1033
1034 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1035 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1036 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1037
1038 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1039 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1040
1041 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1042 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1043 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1044 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1045
1046 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1047 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1048 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1049
1050 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1051 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1052
1053 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1054 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1055 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1056
1057
1058 // C++ version of Python aware wxScrolledWindow
1059 class wxPyScrolledWindow : public wxScrolledWindow
1060 {
1061 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1062 public:
1063 wxPyScrolledWindow() : wxScrolledWindow() {}
1064 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1065 const wxPoint& pos = wxDefaultPosition,
1066 const wxSize& size = wxDefaultSize,
1067 long style = 0,
1068 const wxString& name = wxPyPanelNameStr)
1069 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1070
1071 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1072
1073 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1074 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1075 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1076 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1077
1078 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1079 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1080 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1081
1082 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1083 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1084
1085 DEC_PYCALLBACK__(InitDialog);
1086 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1087 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1088 DEC_PYCALLBACK_BOOL_(Validate);
1089
1090 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1091 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1092 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1093
1094 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1095 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1096
1097 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1098 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1099 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1100
1101 PYPRIVATE;
1102 };
1103
1104 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1105
1106 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1107 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1108 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1109 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1110
1111 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1112 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1113 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1114
1115 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1116 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1117
1118 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1119 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1120 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1121 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1122
1123 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1124 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1125 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1126
1127 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1128 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1129
1130 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1131 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1132 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1133
1134
1135
1136 #include "wx/wxPython/printfw.h"
1137
1138
1139 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1140 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1141
1142
1143
1144 // Since this one would be tough and ugly to do with the Macros...
1145 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1146 bool hadErr = False;
1147 bool found;
1148
1149 bool blocked = wxPyBeginBlockThreads();
1150 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1151 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1152 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1153 PyObject* val;
1154
1155 val = PyTuple_GetItem(result, 0);
1156 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1157 else hadErr = True;
1158
1159 val = PyTuple_GetItem(result, 1);
1160 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1161 else hadErr = True;
1162
1163 val = PyTuple_GetItem(result, 2);
1164 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1165 else hadErr = True;
1166
1167 val = PyTuple_GetItem(result, 3);
1168 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1169 else hadErr = True;
1170 }
1171 else
1172 hadErr = True;
1173
1174 if (hadErr) {
1175 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1176 PyErr_Print();
1177 }
1178 Py_DECREF(result);
1179 }
1180 wxPyEndBlockThreads(blocked);
1181 if (! found)
1182 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1183 }
1184
1185 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1186 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1187 }
1188
1189
1190 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1191 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1192 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1193 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1194 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1195 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1196 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1197
1198
1199
1200
1201
1202 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1203 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1204 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1205
1206
1207 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1208 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1209 bool rval=False; \
1210 bool found; \
1211 bool blocked = wxPyBeginBlockThreads(); \
1212 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1213 PyObject* win = wxPyMake_wxObject(a); \
1214 PyObject* dc = wxPyMake_wxObject(&b); \
1215 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1216 Py_DECREF(win); \
1217 Py_DECREF(dc); \
1218 } \
1219 wxPyEndBlockThreads(blocked); \
1220 if (! found) \
1221 rval = PCLASS::CBNAME(a, b); \
1222 return rval; \
1223 } \
1224 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1225 return PCLASS::CBNAME(a, b); \
1226 }
1227
1228
1229
1230
1231 class wxPyPrintPreview : public wxPrintPreview
1232 {
1233 DECLARE_CLASS(wxPyPrintPreview)
1234 public:
1235 wxPyPrintPreview(wxPyPrintout* printout,
1236 wxPyPrintout* printoutForPrinting,
1237 wxPrintDialogData* data=NULL)
1238 : wxPrintPreview(printout, printoutForPrinting, data)
1239 {}
1240 wxPyPrintPreview(wxPyPrintout* printout,
1241 wxPyPrintout* printoutForPrinting,
1242 wxPrintData* data=NULL)
1243 : wxPrintPreview(printout, printoutForPrinting, data)
1244 {}
1245
1246 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1247 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1248 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1249 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1250 DEC_PYCALLBACK_VOID_INT(SetZoom);
1251 DEC_PYCALLBACK_BOOL_BOOL(Print);
1252 DEC_PYCALLBACK_VOID_(DetermineScaling);
1253
1254 PYPRIVATE;
1255 };
1256
1257 // Stupid renamed classes... Fix this in 2.5...
1258 #if defined(__WXMSW__)
1259 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1260 #elif defined(__WXMAC__)
1261 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1262 #else
1263 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1264 #endif
1265
1266 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1267 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1268 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1269 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1270 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1271 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1272 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1273
1274
1275 class wxPyPreviewFrame : public wxPreviewFrame
1276 {
1277 DECLARE_CLASS(wxPyPreviewFrame);
1278 public:
1279 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1280 const wxString& title,
1281 const wxPoint& pos = wxDefaultPosition,
1282 const wxSize& size = wxDefaultSize,
1283 long style = wxDEFAULT_FRAME_STYLE,
1284 const wxString& name = wxPyFrameNameStr)
1285 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1286 {}
1287
1288 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1289 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1290
1291 DEC_PYCALLBACK_VOID_(Initialize);
1292 DEC_PYCALLBACK_VOID_(CreateCanvas);
1293 DEC_PYCALLBACK_VOID_(CreateControlBar);
1294
1295 PYPRIVATE;
1296 };
1297
1298 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1299
1300 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1301 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1302 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1303
1304
1305 class wxPyPreviewControlBar : public wxPreviewControlBar
1306 {
1307 DECLARE_CLASS(wxPyPreviewControlBar);
1308 public:
1309 wxPyPreviewControlBar(wxPrintPreview *preview,
1310 long buttons,
1311 wxWindow *parent,
1312 const wxPoint& pos = wxDefaultPosition,
1313 const wxSize& size = wxDefaultSize,
1314 long style = 0,
1315 const wxString& name = wxPyPanelNameStr)
1316 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1317 {}
1318
1319 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1320
1321 DEC_PYCALLBACK_VOID_(CreateButtons);
1322 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1323
1324 PYPRIVATE;
1325 };
1326
1327 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1328 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1329 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1330
1331 #ifdef __cplusplus
1332 extern "C" {
1333 #endif
1334 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1335 PyObject *resultobj;
1336 wxWindow *arg1 = (wxWindow *) 0 ;
1337 int arg2 = (int) (int)-1 ;
1338 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1339 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1340 wxSize const &arg4_defvalue = wxDefaultSize ;
1341 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1342 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1343 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1344 wxString *arg6 = (wxString *) &arg6_defvalue ;
1345 wxPanel *result;
1346 wxPoint temp3 ;
1347 wxSize temp4 ;
1348 bool temp6 = False ;
1349 PyObject * obj0 = 0 ;
1350 PyObject * obj1 = 0 ;
1351 PyObject * obj2 = 0 ;
1352 PyObject * obj3 = 0 ;
1353 PyObject * obj4 = 0 ;
1354 PyObject * obj5 = 0 ;
1355 char *kwnames[] = {
1356 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1357 };
1358
1359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1362 if (obj1) {
1363 arg2 = (int const) SWIG_AsInt(obj1);
1364 if (PyErr_Occurred()) SWIG_fail;
1365 }
1366 if (obj2) {
1367 {
1368 arg3 = &temp3;
1369 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1370 }
1371 }
1372 if (obj3) {
1373 {
1374 arg4 = &temp4;
1375 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1376 }
1377 }
1378 if (obj4) {
1379 arg5 = (long) SWIG_AsLong(obj4);
1380 if (PyErr_Occurred()) SWIG_fail;
1381 }
1382 if (obj5) {
1383 {
1384 arg6 = wxString_in_helper(obj5);
1385 if (arg6 == NULL) SWIG_fail;
1386 temp6 = True;
1387 }
1388 }
1389 {
1390 if (!wxPyCheckForApp()) SWIG_fail;
1391 PyThreadState* __tstate = wxPyBeginAllowThreads();
1392 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1393
1394 wxPyEndAllowThreads(__tstate);
1395 if (PyErr_Occurred()) SWIG_fail;
1396 }
1397 {
1398 resultobj = wxPyMake_wxObject(result);
1399 }
1400 {
1401 if (temp6)
1402 delete arg6;
1403 }
1404 return resultobj;
1405 fail:
1406 {
1407 if (temp6)
1408 delete arg6;
1409 }
1410 return NULL;
1411 }
1412
1413
1414 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1415 PyObject *resultobj;
1416 wxPanel *result;
1417 char *kwnames[] = {
1418 NULL
1419 };
1420
1421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1422 {
1423 if (!wxPyCheckForApp()) SWIG_fail;
1424 PyThreadState* __tstate = wxPyBeginAllowThreads();
1425 result = (wxPanel *)new wxPanel();
1426
1427 wxPyEndAllowThreads(__tstate);
1428 if (PyErr_Occurred()) SWIG_fail;
1429 }
1430 {
1431 resultobj = wxPyMake_wxObject(result);
1432 }
1433 return resultobj;
1434 fail:
1435 return NULL;
1436 }
1437
1438
1439 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1440 PyObject *resultobj;
1441 wxPanel *arg1 = (wxPanel *) 0 ;
1442 wxWindow *arg2 = (wxWindow *) 0 ;
1443 int arg3 = (int) (int)-1 ;
1444 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1445 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1446 wxSize const &arg5_defvalue = wxDefaultSize ;
1447 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1448 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1449 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1450 wxString *arg7 = (wxString *) &arg7_defvalue ;
1451 bool result;
1452 wxPoint temp4 ;
1453 wxSize temp5 ;
1454 bool temp7 = False ;
1455 PyObject * obj0 = 0 ;
1456 PyObject * obj1 = 0 ;
1457 PyObject * obj2 = 0 ;
1458 PyObject * obj3 = 0 ;
1459 PyObject * obj4 = 0 ;
1460 PyObject * obj5 = 0 ;
1461 PyObject * obj6 = 0 ;
1462 char *kwnames[] = {
1463 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1464 };
1465
1466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1471 if (obj2) {
1472 arg3 = (int const) SWIG_AsInt(obj2);
1473 if (PyErr_Occurred()) SWIG_fail;
1474 }
1475 if (obj3) {
1476 {
1477 arg4 = &temp4;
1478 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1479 }
1480 }
1481 if (obj4) {
1482 {
1483 arg5 = &temp5;
1484 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1485 }
1486 }
1487 if (obj5) {
1488 arg6 = (long) SWIG_AsLong(obj5);
1489 if (PyErr_Occurred()) SWIG_fail;
1490 }
1491 if (obj6) {
1492 {
1493 arg7 = wxString_in_helper(obj6);
1494 if (arg7 == NULL) SWIG_fail;
1495 temp7 = True;
1496 }
1497 }
1498 {
1499 PyThreadState* __tstate = wxPyBeginAllowThreads();
1500 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1501
1502 wxPyEndAllowThreads(__tstate);
1503 if (PyErr_Occurred()) SWIG_fail;
1504 }
1505 {
1506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1507 }
1508 {
1509 if (temp7)
1510 delete arg7;
1511 }
1512 return resultobj;
1513 fail:
1514 {
1515 if (temp7)
1516 delete arg7;
1517 }
1518 return NULL;
1519 }
1520
1521
1522 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1523 PyObject *resultobj;
1524 wxPanel *arg1 = (wxPanel *) 0 ;
1525 PyObject * obj0 = 0 ;
1526 char *kwnames[] = {
1527 (char *) "self", NULL
1528 };
1529
1530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1535 (arg1)->InitDialog();
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 Py_INCREF(Py_None); resultobj = Py_None;
1541 return resultobj;
1542 fail:
1543 return NULL;
1544 }
1545
1546
1547 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1548 PyObject *resultobj;
1549 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1550 wxVisualAttributes result;
1551 PyObject * obj0 = 0 ;
1552 char *kwnames[] = {
1553 (char *) "variant", NULL
1554 };
1555
1556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1557 if (obj0) {
1558 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1559 if (PyErr_Occurred()) SWIG_fail;
1560 }
1561 {
1562 if (!wxPyCheckForApp()) SWIG_fail;
1563 PyThreadState* __tstate = wxPyBeginAllowThreads();
1564 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1565
1566 wxPyEndAllowThreads(__tstate);
1567 if (PyErr_Occurred()) SWIG_fail;
1568 }
1569 {
1570 wxVisualAttributes * resultptr;
1571 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1573 }
1574 return resultobj;
1575 fail:
1576 return NULL;
1577 }
1578
1579
1580 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1581 PyObject *obj;
1582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1583 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1584 Py_INCREF(obj);
1585 return Py_BuildValue((char *)"");
1586 }
1587 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1588 PyObject *resultobj;
1589 wxWindow *arg1 = (wxWindow *) 0 ;
1590 int arg2 = (int) (int)-1 ;
1591 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1592 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1593 wxSize const &arg4_defvalue = wxDefaultSize ;
1594 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1595 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1596 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1597 wxString *arg6 = (wxString *) &arg6_defvalue ;
1598 wxScrolledWindow *result;
1599 wxPoint temp3 ;
1600 wxSize temp4 ;
1601 bool temp6 = False ;
1602 PyObject * obj0 = 0 ;
1603 PyObject * obj1 = 0 ;
1604 PyObject * obj2 = 0 ;
1605 PyObject * obj3 = 0 ;
1606 PyObject * obj4 = 0 ;
1607 PyObject * obj5 = 0 ;
1608 char *kwnames[] = {
1609 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1610 };
1611
1612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1615 if (obj1) {
1616 arg2 = (int const) SWIG_AsInt(obj1);
1617 if (PyErr_Occurred()) SWIG_fail;
1618 }
1619 if (obj2) {
1620 {
1621 arg3 = &temp3;
1622 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1623 }
1624 }
1625 if (obj3) {
1626 {
1627 arg4 = &temp4;
1628 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1629 }
1630 }
1631 if (obj4) {
1632 arg5 = (long) SWIG_AsLong(obj4);
1633 if (PyErr_Occurred()) SWIG_fail;
1634 }
1635 if (obj5) {
1636 {
1637 arg6 = wxString_in_helper(obj5);
1638 if (arg6 == NULL) SWIG_fail;
1639 temp6 = True;
1640 }
1641 }
1642 {
1643 if (!wxPyCheckForApp()) SWIG_fail;
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
1650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1651 {
1652 if (temp6)
1653 delete arg6;
1654 }
1655 return resultobj;
1656 fail:
1657 {
1658 if (temp6)
1659 delete arg6;
1660 }
1661 return NULL;
1662 }
1663
1664
1665 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1666 PyObject *resultobj;
1667 wxScrolledWindow *result;
1668 char *kwnames[] = {
1669 NULL
1670 };
1671
1672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1673 {
1674 if (!wxPyCheckForApp()) SWIG_fail;
1675 PyThreadState* __tstate = wxPyBeginAllowThreads();
1676 result = (wxScrolledWindow *)new wxScrolledWindow();
1677
1678 wxPyEndAllowThreads(__tstate);
1679 if (PyErr_Occurred()) SWIG_fail;
1680 }
1681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1682 return resultobj;
1683 fail:
1684 return NULL;
1685 }
1686
1687
1688 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1689 PyObject *resultobj;
1690 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1691 wxWindow *arg2 = (wxWindow *) 0 ;
1692 int arg3 = (int) (int)-1 ;
1693 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1694 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1695 wxSize const &arg5_defvalue = wxDefaultSize ;
1696 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1697 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1698 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1699 wxString *arg7 = (wxString *) &arg7_defvalue ;
1700 bool result;
1701 wxPoint temp4 ;
1702 wxSize temp5 ;
1703 bool temp7 = False ;
1704 PyObject * obj0 = 0 ;
1705 PyObject * obj1 = 0 ;
1706 PyObject * obj2 = 0 ;
1707 PyObject * obj3 = 0 ;
1708 PyObject * obj4 = 0 ;
1709 PyObject * obj5 = 0 ;
1710 PyObject * obj6 = 0 ;
1711 char *kwnames[] = {
1712 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1713 };
1714
1715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1718 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1720 if (obj2) {
1721 arg3 = (int const) SWIG_AsInt(obj2);
1722 if (PyErr_Occurred()) SWIG_fail;
1723 }
1724 if (obj3) {
1725 {
1726 arg4 = &temp4;
1727 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1728 }
1729 }
1730 if (obj4) {
1731 {
1732 arg5 = &temp5;
1733 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1734 }
1735 }
1736 if (obj5) {
1737 arg6 = (long) SWIG_AsLong(obj5);
1738 if (PyErr_Occurred()) SWIG_fail;
1739 }
1740 if (obj6) {
1741 {
1742 arg7 = wxString_in_helper(obj6);
1743 if (arg7 == NULL) SWIG_fail;
1744 temp7 = True;
1745 }
1746 }
1747 {
1748 PyThreadState* __tstate = wxPyBeginAllowThreads();
1749 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1750
1751 wxPyEndAllowThreads(__tstate);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 }
1754 {
1755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1756 }
1757 {
1758 if (temp7)
1759 delete arg7;
1760 }
1761 return resultobj;
1762 fail:
1763 {
1764 if (temp7)
1765 delete arg7;
1766 }
1767 return NULL;
1768 }
1769
1770
1771 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1772 PyObject *resultobj;
1773 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1774 int arg2 ;
1775 int arg3 ;
1776 int arg4 ;
1777 int arg5 ;
1778 int arg6 = (int) 0 ;
1779 int arg7 = (int) 0 ;
1780 bool arg8 = (bool) False ;
1781 PyObject * obj0 = 0 ;
1782 PyObject * obj1 = 0 ;
1783 PyObject * obj2 = 0 ;
1784 PyObject * obj3 = 0 ;
1785 PyObject * obj4 = 0 ;
1786 PyObject * obj5 = 0 ;
1787 PyObject * obj6 = 0 ;
1788 PyObject * obj7 = 0 ;
1789 char *kwnames[] = {
1790 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1791 };
1792
1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1796 arg2 = (int) SWIG_AsInt(obj1);
1797 if (PyErr_Occurred()) SWIG_fail;
1798 arg3 = (int) SWIG_AsInt(obj2);
1799 if (PyErr_Occurred()) SWIG_fail;
1800 arg4 = (int) SWIG_AsInt(obj3);
1801 if (PyErr_Occurred()) SWIG_fail;
1802 arg5 = (int) SWIG_AsInt(obj4);
1803 if (PyErr_Occurred()) SWIG_fail;
1804 if (obj5) {
1805 arg6 = (int) SWIG_AsInt(obj5);
1806 if (PyErr_Occurred()) SWIG_fail;
1807 }
1808 if (obj6) {
1809 arg7 = (int) SWIG_AsInt(obj6);
1810 if (PyErr_Occurred()) SWIG_fail;
1811 }
1812 if (obj7) {
1813 arg8 = (bool) SWIG_AsBool(obj7);
1814 if (PyErr_Occurred()) SWIG_fail;
1815 }
1816 {
1817 PyThreadState* __tstate = wxPyBeginAllowThreads();
1818 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1819
1820 wxPyEndAllowThreads(__tstate);
1821 if (PyErr_Occurred()) SWIG_fail;
1822 }
1823 Py_INCREF(Py_None); resultobj = Py_None;
1824 return resultobj;
1825 fail:
1826 return NULL;
1827 }
1828
1829
1830 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1831 PyObject *resultobj;
1832 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1833 int arg2 ;
1834 int arg3 ;
1835 PyObject * obj0 = 0 ;
1836 PyObject * obj1 = 0 ;
1837 PyObject * obj2 = 0 ;
1838 char *kwnames[] = {
1839 (char *) "self",(char *) "x",(char *) "y", NULL
1840 };
1841
1842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1845 arg2 = (int) SWIG_AsInt(obj1);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 arg3 = (int) SWIG_AsInt(obj2);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 {
1850 PyThreadState* __tstate = wxPyBeginAllowThreads();
1851 (arg1)->Scroll(arg2,arg3);
1852
1853 wxPyEndAllowThreads(__tstate);
1854 if (PyErr_Occurred()) SWIG_fail;
1855 }
1856 Py_INCREF(Py_None); resultobj = Py_None;
1857 return resultobj;
1858 fail:
1859 return NULL;
1860 }
1861
1862
1863 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1864 PyObject *resultobj;
1865 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1866 int arg2 ;
1867 int result;
1868 PyObject * obj0 = 0 ;
1869 PyObject * obj1 = 0 ;
1870 char *kwnames[] = {
1871 (char *) "self",(char *) "orient", NULL
1872 };
1873
1874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1877 arg2 = (int) SWIG_AsInt(obj1);
1878 if (PyErr_Occurred()) SWIG_fail;
1879 {
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 }
1886 resultobj = SWIG_FromInt((int)result);
1887 return resultobj;
1888 fail:
1889 return NULL;
1890 }
1891
1892
1893 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1894 PyObject *resultobj;
1895 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1896 int arg2 ;
1897 int arg3 ;
1898 PyObject * obj0 = 0 ;
1899 PyObject * obj1 = 0 ;
1900 PyObject * obj2 = 0 ;
1901 char *kwnames[] = {
1902 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1903 };
1904
1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1908 arg2 = (int) SWIG_AsInt(obj1);
1909 if (PyErr_Occurred()) SWIG_fail;
1910 arg3 = (int) SWIG_AsInt(obj2);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 {
1913 PyThreadState* __tstate = wxPyBeginAllowThreads();
1914 (arg1)->SetScrollPageSize(arg2,arg3);
1915
1916 wxPyEndAllowThreads(__tstate);
1917 if (PyErr_Occurred()) SWIG_fail;
1918 }
1919 Py_INCREF(Py_None); resultobj = Py_None;
1920 return resultobj;
1921 fail:
1922 return NULL;
1923 }
1924
1925
1926 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1927 PyObject *resultobj;
1928 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1929 int arg2 ;
1930 int arg3 ;
1931 PyObject * obj0 = 0 ;
1932 PyObject * obj1 = 0 ;
1933 PyObject * obj2 = 0 ;
1934 char *kwnames[] = {
1935 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1936 };
1937
1938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1941 arg2 = (int) SWIG_AsInt(obj1);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 arg3 = (int) SWIG_AsInt(obj2);
1944 if (PyErr_Occurred()) SWIG_fail;
1945 {
1946 PyThreadState* __tstate = wxPyBeginAllowThreads();
1947 (arg1)->SetScrollRate(arg2,arg3);
1948
1949 wxPyEndAllowThreads(__tstate);
1950 if (PyErr_Occurred()) SWIG_fail;
1951 }
1952 Py_INCREF(Py_None); resultobj = Py_None;
1953 return resultobj;
1954 fail:
1955 return NULL;
1956 }
1957
1958
1959 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1960 PyObject *resultobj;
1961 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1962 int *arg2 = (int *) 0 ;
1963 int *arg3 = (int *) 0 ;
1964 int temp2 ;
1965 int temp3 ;
1966 PyObject * obj0 = 0 ;
1967 char *kwnames[] = {
1968 (char *) "self", NULL
1969 };
1970
1971 arg2 = &temp2;
1972 arg3 = &temp3;
1973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1976 {
1977 PyThreadState* __tstate = wxPyBeginAllowThreads();
1978 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1979
1980 wxPyEndAllowThreads(__tstate);
1981 if (PyErr_Occurred()) SWIG_fail;
1982 }
1983 Py_INCREF(Py_None); resultobj = Py_None;
1984 {
1985 PyObject *o = PyInt_FromLong((long) (*arg2));
1986 resultobj = t_output_helper(resultobj,o);
1987 }
1988 {
1989 PyObject *o = PyInt_FromLong((long) (*arg3));
1990 resultobj = t_output_helper(resultobj,o);
1991 }
1992 return resultobj;
1993 fail:
1994 return NULL;
1995 }
1996
1997
1998 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1999 PyObject *resultobj;
2000 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2001 bool arg2 ;
2002 bool arg3 ;
2003 PyObject * obj0 = 0 ;
2004 PyObject * obj1 = 0 ;
2005 PyObject * obj2 = 0 ;
2006 char *kwnames[] = {
2007 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2008 };
2009
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2013 arg2 = (bool) SWIG_AsBool(obj1);
2014 if (PyErr_Occurred()) SWIG_fail;
2015 arg3 = (bool) SWIG_AsBool(obj2);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 {
2018 PyThreadState* __tstate = wxPyBeginAllowThreads();
2019 (arg1)->EnableScrolling(arg2,arg3);
2020
2021 wxPyEndAllowThreads(__tstate);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 }
2024 Py_INCREF(Py_None); resultobj = Py_None;
2025 return resultobj;
2026 fail:
2027 return NULL;
2028 }
2029
2030
2031 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject *resultobj;
2033 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2034 int *arg2 = (int *) 0 ;
2035 int *arg3 = (int *) 0 ;
2036 int temp2 ;
2037 int temp3 ;
2038 PyObject * obj0 = 0 ;
2039 char *kwnames[] = {
2040 (char *) "self", NULL
2041 };
2042
2043 arg2 = &temp2;
2044 arg3 = &temp3;
2045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2048 {
2049 PyThreadState* __tstate = wxPyBeginAllowThreads();
2050 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2051
2052 wxPyEndAllowThreads(__tstate);
2053 if (PyErr_Occurred()) SWIG_fail;
2054 }
2055 Py_INCREF(Py_None); resultobj = Py_None;
2056 {
2057 PyObject *o = PyInt_FromLong((long) (*arg2));
2058 resultobj = t_output_helper(resultobj,o);
2059 }
2060 {
2061 PyObject *o = PyInt_FromLong((long) (*arg3));
2062 resultobj = t_output_helper(resultobj,o);
2063 }
2064 return resultobj;
2065 fail:
2066 return NULL;
2067 }
2068
2069
2070 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
2071 PyObject *resultobj;
2072 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2073 double arg2 ;
2074 double arg3 ;
2075 PyObject * obj0 = 0 ;
2076 PyObject * obj1 = 0 ;
2077 PyObject * obj2 = 0 ;
2078 char *kwnames[] = {
2079 (char *) "self",(char *) "xs",(char *) "ys", NULL
2080 };
2081
2082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2085 arg2 = (double) SWIG_AsDouble(obj1);
2086 if (PyErr_Occurred()) SWIG_fail;
2087 arg3 = (double) SWIG_AsDouble(obj2);
2088 if (PyErr_Occurred()) SWIG_fail;
2089 {
2090 PyThreadState* __tstate = wxPyBeginAllowThreads();
2091 (arg1)->SetScale(arg2,arg3);
2092
2093 wxPyEndAllowThreads(__tstate);
2094 if (PyErr_Occurred()) SWIG_fail;
2095 }
2096 Py_INCREF(Py_None); resultobj = Py_None;
2097 return resultobj;
2098 fail:
2099 return NULL;
2100 }
2101
2102
2103 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2104 PyObject *resultobj;
2105 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2106 double result;
2107 PyObject * obj0 = 0 ;
2108 char *kwnames[] = {
2109 (char *) "self", NULL
2110 };
2111
2112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2115 {
2116 PyThreadState* __tstate = wxPyBeginAllowThreads();
2117 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2118
2119 wxPyEndAllowThreads(__tstate);
2120 if (PyErr_Occurred()) SWIG_fail;
2121 }
2122 resultobj = SWIG_FromDouble((double)result);
2123 return resultobj;
2124 fail:
2125 return NULL;
2126 }
2127
2128
2129 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2130 PyObject *resultobj;
2131 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2132 double result;
2133 PyObject * obj0 = 0 ;
2134 char *kwnames[] = {
2135 (char *) "self", NULL
2136 };
2137
2138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2141 {
2142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2143 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2144
2145 wxPyEndAllowThreads(__tstate);
2146 if (PyErr_Occurred()) SWIG_fail;
2147 }
2148 resultobj = SWIG_FromDouble((double)result);
2149 return resultobj;
2150 fail:
2151 return NULL;
2152 }
2153
2154
2155 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2156 PyObject *resultobj;
2157 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2158 wxPoint *arg2 = 0 ;
2159 wxPoint result;
2160 wxPoint temp2 ;
2161 PyObject * obj0 = 0 ;
2162 PyObject * obj1 = 0 ;
2163
2164 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2167 {
2168 arg2 = &temp2;
2169 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2170 }
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 {
2179 wxPoint * resultptr;
2180 resultptr = new wxPoint((wxPoint &) result);
2181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2182 }
2183 return resultobj;
2184 fail:
2185 return NULL;
2186 }
2187
2188
2189 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2190 PyObject *resultobj;
2191 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2192 int arg2 ;
2193 int arg3 ;
2194 int *arg4 = (int *) 0 ;
2195 int *arg5 = (int *) 0 ;
2196 int temp4 ;
2197 int temp5 ;
2198 PyObject * obj0 = 0 ;
2199 PyObject * obj1 = 0 ;
2200 PyObject * obj2 = 0 ;
2201
2202 arg4 = &temp4;
2203 arg5 = &temp5;
2204 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2207 arg2 = (int) SWIG_AsInt(obj1);
2208 if (PyErr_Occurred()) SWIG_fail;
2209 arg3 = (int) SWIG_AsInt(obj2);
2210 if (PyErr_Occurred()) SWIG_fail;
2211 {
2212 PyThreadState* __tstate = wxPyBeginAllowThreads();
2213 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2214
2215 wxPyEndAllowThreads(__tstate);
2216 if (PyErr_Occurred()) SWIG_fail;
2217 }
2218 Py_INCREF(Py_None); resultobj = Py_None;
2219 {
2220 PyObject *o = PyInt_FromLong((long) (*arg4));
2221 resultobj = t_output_helper(resultobj,o);
2222 }
2223 {
2224 PyObject *o = PyInt_FromLong((long) (*arg5));
2225 resultobj = t_output_helper(resultobj,o);
2226 }
2227 return resultobj;
2228 fail:
2229 return NULL;
2230 }
2231
2232
2233 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2234 int argc;
2235 PyObject *argv[4];
2236 int ii;
2237
2238 argc = PyObject_Length(args);
2239 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2240 argv[ii] = PyTuple_GetItem(args,ii);
2241 }
2242 if (argc == 2) {
2243 int _v;
2244 {
2245 void *ptr;
2246 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2247 _v = 0;
2248 PyErr_Clear();
2249 } else {
2250 _v = 1;
2251 }
2252 }
2253 if (_v) {
2254 {
2255 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2256 }
2257 if (_v) {
2258 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2259 }
2260 }
2261 }
2262 if (argc == 3) {
2263 int _v;
2264 {
2265 void *ptr;
2266 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2267 _v = 0;
2268 PyErr_Clear();
2269 } else {
2270 _v = 1;
2271 }
2272 }
2273 if (_v) {
2274 _v = SWIG_CheckInt(argv[1]);
2275 if (_v) {
2276 _v = SWIG_CheckInt(argv[2]);
2277 if (_v) {
2278 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2279 }
2280 }
2281 }
2282 }
2283
2284 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2285 return NULL;
2286 }
2287
2288
2289 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2290 PyObject *resultobj;
2291 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2292 wxPoint *arg2 = 0 ;
2293 wxPoint result;
2294 wxPoint temp2 ;
2295 PyObject * obj0 = 0 ;
2296 PyObject * obj1 = 0 ;
2297
2298 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2301 {
2302 arg2 = &temp2;
2303 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2304 }
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 {
2313 wxPoint * resultptr;
2314 resultptr = new wxPoint((wxPoint &) result);
2315 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2316 }
2317 return resultobj;
2318 fail:
2319 return NULL;
2320 }
2321
2322
2323 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2324 PyObject *resultobj;
2325 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2326 int arg2 ;
2327 int arg3 ;
2328 int *arg4 = (int *) 0 ;
2329 int *arg5 = (int *) 0 ;
2330 int temp4 ;
2331 int temp5 ;
2332 PyObject * obj0 = 0 ;
2333 PyObject * obj1 = 0 ;
2334 PyObject * obj2 = 0 ;
2335
2336 arg4 = &temp4;
2337 arg5 = &temp5;
2338 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2341 arg2 = (int) SWIG_AsInt(obj1);
2342 if (PyErr_Occurred()) SWIG_fail;
2343 arg3 = (int) SWIG_AsInt(obj2);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 {
2346 PyThreadState* __tstate = wxPyBeginAllowThreads();
2347 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2348
2349 wxPyEndAllowThreads(__tstate);
2350 if (PyErr_Occurred()) SWIG_fail;
2351 }
2352 Py_INCREF(Py_None); resultobj = Py_None;
2353 {
2354 PyObject *o = PyInt_FromLong((long) (*arg4));
2355 resultobj = t_output_helper(resultobj,o);
2356 }
2357 {
2358 PyObject *o = PyInt_FromLong((long) (*arg5));
2359 resultobj = t_output_helper(resultobj,o);
2360 }
2361 return resultobj;
2362 fail:
2363 return NULL;
2364 }
2365
2366
2367 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2368 int argc;
2369 PyObject *argv[4];
2370 int ii;
2371
2372 argc = PyObject_Length(args);
2373 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2374 argv[ii] = PyTuple_GetItem(args,ii);
2375 }
2376 if (argc == 2) {
2377 int _v;
2378 {
2379 void *ptr;
2380 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2381 _v = 0;
2382 PyErr_Clear();
2383 } else {
2384 _v = 1;
2385 }
2386 }
2387 if (_v) {
2388 {
2389 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2390 }
2391 if (_v) {
2392 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2393 }
2394 }
2395 }
2396 if (argc == 3) {
2397 int _v;
2398 {
2399 void *ptr;
2400 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2401 _v = 0;
2402 PyErr_Clear();
2403 } else {
2404 _v = 1;
2405 }
2406 }
2407 if (_v) {
2408 _v = SWIG_CheckInt(argv[1]);
2409 if (_v) {
2410 _v = SWIG_CheckInt(argv[2]);
2411 if (_v) {
2412 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2413 }
2414 }
2415 }
2416 }
2417
2418 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2419 return NULL;
2420 }
2421
2422
2423 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2424 PyObject *resultobj;
2425 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2426 PyObject * obj0 = 0 ;
2427 char *kwnames[] = {
2428 (char *) "self", NULL
2429 };
2430
2431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2434 {
2435 PyThreadState* __tstate = wxPyBeginAllowThreads();
2436 (arg1)->AdjustScrollbars();
2437
2438 wxPyEndAllowThreads(__tstate);
2439 if (PyErr_Occurred()) SWIG_fail;
2440 }
2441 Py_INCREF(Py_None); resultobj = Py_None;
2442 return resultobj;
2443 fail:
2444 return NULL;
2445 }
2446
2447
2448 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2449 PyObject *resultobj;
2450 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2451 wxScrollWinEvent *arg2 = 0 ;
2452 int result;
2453 PyObject * obj0 = 0 ;
2454 PyObject * obj1 = 0 ;
2455 char *kwnames[] = {
2456 (char *) "self",(char *) "event", NULL
2457 };
2458
2459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2463 SWIG_POINTER_EXCEPTION | 0)) == -1)
2464 SWIG_fail;
2465 if (arg2 == NULL) {
2466 PyErr_SetString(PyExc_TypeError,"null reference");
2467 SWIG_fail;
2468 }
2469 {
2470 PyThreadState* __tstate = wxPyBeginAllowThreads();
2471 result = (int)(arg1)->CalcScrollInc(*arg2);
2472
2473 wxPyEndAllowThreads(__tstate);
2474 if (PyErr_Occurred()) SWIG_fail;
2475 }
2476 resultobj = SWIG_FromInt((int)result);
2477 return resultobj;
2478 fail:
2479 return NULL;
2480 }
2481
2482
2483 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2484 PyObject *resultobj;
2485 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2486 wxWindow *arg2 = (wxWindow *) 0 ;
2487 PyObject * obj0 = 0 ;
2488 PyObject * obj1 = 0 ;
2489 char *kwnames[] = {
2490 (char *) "self",(char *) "target", NULL
2491 };
2492
2493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2498 {
2499 PyThreadState* __tstate = wxPyBeginAllowThreads();
2500 (arg1)->SetTargetWindow(arg2);
2501
2502 wxPyEndAllowThreads(__tstate);
2503 if (PyErr_Occurred()) SWIG_fail;
2504 }
2505 Py_INCREF(Py_None); resultobj = Py_None;
2506 return resultobj;
2507 fail:
2508 return NULL;
2509 }
2510
2511
2512 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2513 PyObject *resultobj;
2514 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2515 wxWindow *result;
2516 PyObject * obj0 = 0 ;
2517 char *kwnames[] = {
2518 (char *) "self", NULL
2519 };
2520
2521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2524 {
2525 PyThreadState* __tstate = wxPyBeginAllowThreads();
2526 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2527
2528 wxPyEndAllowThreads(__tstate);
2529 if (PyErr_Occurred()) SWIG_fail;
2530 }
2531 {
2532 resultobj = wxPyMake_wxObject(result);
2533 }
2534 return resultobj;
2535 fail:
2536 return NULL;
2537 }
2538
2539
2540 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2541 PyObject *resultobj;
2542 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2543 wxRect *arg2 = 0 ;
2544 wxRect temp2 ;
2545 PyObject * obj0 = 0 ;
2546 PyObject * obj1 = 0 ;
2547 char *kwnames[] = {
2548 (char *) "self",(char *) "rect", NULL
2549 };
2550
2551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2554 {
2555 arg2 = &temp2;
2556 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2557 }
2558 {
2559 PyThreadState* __tstate = wxPyBeginAllowThreads();
2560 (arg1)->SetTargetRect((wxRect const &)*arg2);
2561
2562 wxPyEndAllowThreads(__tstate);
2563 if (PyErr_Occurred()) SWIG_fail;
2564 }
2565 Py_INCREF(Py_None); resultobj = Py_None;
2566 return resultobj;
2567 fail:
2568 return NULL;
2569 }
2570
2571
2572 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2573 PyObject *resultobj;
2574 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2575 wxRect result;
2576 PyObject * obj0 = 0 ;
2577 char *kwnames[] = {
2578 (char *) "self", NULL
2579 };
2580
2581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2584 {
2585 PyThreadState* __tstate = wxPyBeginAllowThreads();
2586 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2587
2588 wxPyEndAllowThreads(__tstate);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 }
2591 {
2592 wxRect * resultptr;
2593 resultptr = new wxRect((wxRect &) result);
2594 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2595 }
2596 return resultobj;
2597 fail:
2598 return NULL;
2599 }
2600
2601
2602 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2603 PyObject *resultobj;
2604 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2605 wxVisualAttributes result;
2606 PyObject * obj0 = 0 ;
2607 char *kwnames[] = {
2608 (char *) "variant", NULL
2609 };
2610
2611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2612 if (obj0) {
2613 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2614 if (PyErr_Occurred()) SWIG_fail;
2615 }
2616 {
2617 if (!wxPyCheckForApp()) SWIG_fail;
2618 PyThreadState* __tstate = wxPyBeginAllowThreads();
2619 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2620
2621 wxPyEndAllowThreads(__tstate);
2622 if (PyErr_Occurred()) SWIG_fail;
2623 }
2624 {
2625 wxVisualAttributes * resultptr;
2626 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2628 }
2629 return resultobj;
2630 fail:
2631 return NULL;
2632 }
2633
2634
2635 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2636 PyObject *obj;
2637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2638 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2639 Py_INCREF(obj);
2640 return Py_BuildValue((char *)"");
2641 }
2642 static int _wrap_FrameNameStr_set(PyObject *_val) {
2643 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2644 return 1;
2645 }
2646
2647
2648 static PyObject *_wrap_FrameNameStr_get() {
2649 PyObject *pyobj;
2650
2651 {
2652 #if wxUSE_UNICODE
2653 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2654 #else
2655 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2656 #endif
2657 }
2658 return pyobj;
2659 }
2660
2661
2662 static int _wrap_DialogNameStr_set(PyObject *_val) {
2663 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2664 return 1;
2665 }
2666
2667
2668 static PyObject *_wrap_DialogNameStr_get() {
2669 PyObject *pyobj;
2670
2671 {
2672 #if wxUSE_UNICODE
2673 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2674 #else
2675 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2676 #endif
2677 }
2678 return pyobj;
2679 }
2680
2681
2682 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2683 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2684 return 1;
2685 }
2686
2687
2688 static PyObject *_wrap_StatusLineNameStr_get() {
2689 PyObject *pyobj;
2690
2691 {
2692 #if wxUSE_UNICODE
2693 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2694 #else
2695 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2696 #endif
2697 }
2698 return pyobj;
2699 }
2700
2701
2702 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2703 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2704 return 1;
2705 }
2706
2707
2708 static PyObject *_wrap_ToolBarNameStr_get() {
2709 PyObject *pyobj;
2710
2711 {
2712 #if wxUSE_UNICODE
2713 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2714 #else
2715 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2716 #endif
2717 }
2718 return pyobj;
2719 }
2720
2721
2722 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2723 PyObject *resultobj;
2724 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2725 bool arg2 = (bool) True ;
2726 PyObject * obj0 = 0 ;
2727 PyObject * obj1 = 0 ;
2728 char *kwnames[] = {
2729 (char *) "self",(char *) "maximize", NULL
2730 };
2731
2732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2735 if (obj1) {
2736 arg2 = (bool) SWIG_AsBool(obj1);
2737 if (PyErr_Occurred()) SWIG_fail;
2738 }
2739 {
2740 PyThreadState* __tstate = wxPyBeginAllowThreads();
2741 (arg1)->Maximize(arg2);
2742
2743 wxPyEndAllowThreads(__tstate);
2744 if (PyErr_Occurred()) SWIG_fail;
2745 }
2746 Py_INCREF(Py_None); resultobj = Py_None;
2747 return resultobj;
2748 fail:
2749 return NULL;
2750 }
2751
2752
2753 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2754 PyObject *resultobj;
2755 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2756 PyObject * obj0 = 0 ;
2757 char *kwnames[] = {
2758 (char *) "self", NULL
2759 };
2760
2761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2764 {
2765 PyThreadState* __tstate = wxPyBeginAllowThreads();
2766 (arg1)->Restore();
2767
2768 wxPyEndAllowThreads(__tstate);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
2771 Py_INCREF(Py_None); resultobj = Py_None;
2772 return resultobj;
2773 fail:
2774 return NULL;
2775 }
2776
2777
2778 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2779 PyObject *resultobj;
2780 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2781 bool arg2 = (bool) True ;
2782 PyObject * obj0 = 0 ;
2783 PyObject * obj1 = 0 ;
2784 char *kwnames[] = {
2785 (char *) "self",(char *) "iconize", NULL
2786 };
2787
2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2791 if (obj1) {
2792 arg2 = (bool) SWIG_AsBool(obj1);
2793 if (PyErr_Occurred()) SWIG_fail;
2794 }
2795 {
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 (arg1)->Iconize(arg2);
2798
2799 wxPyEndAllowThreads(__tstate);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 }
2802 Py_INCREF(Py_None); resultobj = Py_None;
2803 return resultobj;
2804 fail:
2805 return NULL;
2806 }
2807
2808
2809 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2810 PyObject *resultobj;
2811 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2812 bool result;
2813 PyObject * obj0 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "self", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2821 {
2822 PyThreadState* __tstate = wxPyBeginAllowThreads();
2823 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2824
2825 wxPyEndAllowThreads(__tstate);
2826 if (PyErr_Occurred()) SWIG_fail;
2827 }
2828 {
2829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2830 }
2831 return resultobj;
2832 fail:
2833 return NULL;
2834 }
2835
2836
2837 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2838 PyObject *resultobj;
2839 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2840 bool result;
2841 PyObject * obj0 = 0 ;
2842 char *kwnames[] = {
2843 (char *) "self", NULL
2844 };
2845
2846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2849 {
2850 PyThreadState* __tstate = wxPyBeginAllowThreads();
2851 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2852
2853 wxPyEndAllowThreads(__tstate);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 {
2857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2858 }
2859 return resultobj;
2860 fail:
2861 return NULL;
2862 }
2863
2864
2865 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2866 PyObject *resultobj;
2867 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2868 wxIcon result;
2869 PyObject * obj0 = 0 ;
2870 char *kwnames[] = {
2871 (char *) "self", NULL
2872 };
2873
2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2877 {
2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
2879 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2880
2881 wxPyEndAllowThreads(__tstate);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
2884 {
2885 wxIcon * resultptr;
2886 resultptr = new wxIcon((wxIcon &) result);
2887 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2888 }
2889 return resultobj;
2890 fail:
2891 return NULL;
2892 }
2893
2894
2895 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2896 PyObject *resultobj;
2897 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2898 wxIcon *arg2 = 0 ;
2899 PyObject * obj0 = 0 ;
2900 PyObject * obj1 = 0 ;
2901 char *kwnames[] = {
2902 (char *) "self",(char *) "icon", NULL
2903 };
2904
2905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2909 SWIG_POINTER_EXCEPTION | 0)) == -1)
2910 SWIG_fail;
2911 if (arg2 == NULL) {
2912 PyErr_SetString(PyExc_TypeError,"null reference");
2913 SWIG_fail;
2914 }
2915 {
2916 PyThreadState* __tstate = wxPyBeginAllowThreads();
2917 (arg1)->SetIcon((wxIcon const &)*arg2);
2918
2919 wxPyEndAllowThreads(__tstate);
2920 if (PyErr_Occurred()) SWIG_fail;
2921 }
2922 Py_INCREF(Py_None); resultobj = Py_None;
2923 return resultobj;
2924 fail:
2925 return NULL;
2926 }
2927
2928
2929 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2930 PyObject *resultobj;
2931 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2932 wxIconBundle *arg2 = 0 ;
2933 PyObject * obj0 = 0 ;
2934 PyObject * obj1 = 0 ;
2935 char *kwnames[] = {
2936 (char *) "self",(char *) "icons", NULL
2937 };
2938
2939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2943 SWIG_POINTER_EXCEPTION | 0)) == -1)
2944 SWIG_fail;
2945 if (arg2 == NULL) {
2946 PyErr_SetString(PyExc_TypeError,"null reference");
2947 SWIG_fail;
2948 }
2949 {
2950 PyThreadState* __tstate = wxPyBeginAllowThreads();
2951 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2952
2953 wxPyEndAllowThreads(__tstate);
2954 if (PyErr_Occurred()) SWIG_fail;
2955 }
2956 Py_INCREF(Py_None); resultobj = Py_None;
2957 return resultobj;
2958 fail:
2959 return NULL;
2960 }
2961
2962
2963 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2964 PyObject *resultobj;
2965 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2966 bool arg2 ;
2967 long arg3 = (long) wxFULLSCREEN_ALL ;
2968 bool result;
2969 PyObject * obj0 = 0 ;
2970 PyObject * obj1 = 0 ;
2971 PyObject * obj2 = 0 ;
2972 char *kwnames[] = {
2973 (char *) "self",(char *) "show",(char *) "style", NULL
2974 };
2975
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2979 arg2 = (bool) SWIG_AsBool(obj1);
2980 if (PyErr_Occurred()) SWIG_fail;
2981 if (obj2) {
2982 arg3 = (long) SWIG_AsLong(obj2);
2983 if (PyErr_Occurred()) SWIG_fail;
2984 }
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 {
2993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2994 }
2995 return resultobj;
2996 fail:
2997 return NULL;
2998 }
2999
3000
3001 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
3002 PyObject *resultobj;
3003 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3004 bool result;
3005 PyObject * obj0 = 0 ;
3006 char *kwnames[] = {
3007 (char *) "self", NULL
3008 };
3009
3010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3013 {
3014 PyThreadState* __tstate = wxPyBeginAllowThreads();
3015 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3016
3017 wxPyEndAllowThreads(__tstate);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 }
3020 {
3021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3022 }
3023 return resultobj;
3024 fail:
3025 return NULL;
3026 }
3027
3028
3029 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3030 PyObject *resultobj;
3031 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3032 wxString *arg2 = 0 ;
3033 bool temp2 = False ;
3034 PyObject * obj0 = 0 ;
3035 PyObject * obj1 = 0 ;
3036 char *kwnames[] = {
3037 (char *) "self",(char *) "title", NULL
3038 };
3039
3040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3043 {
3044 arg2 = wxString_in_helper(obj1);
3045 if (arg2 == NULL) SWIG_fail;
3046 temp2 = True;
3047 }
3048 {
3049 PyThreadState* __tstate = wxPyBeginAllowThreads();
3050 (arg1)->SetTitle((wxString const &)*arg2);
3051
3052 wxPyEndAllowThreads(__tstate);
3053 if (PyErr_Occurred()) SWIG_fail;
3054 }
3055 Py_INCREF(Py_None); resultobj = Py_None;
3056 {
3057 if (temp2)
3058 delete arg2;
3059 }
3060 return resultobj;
3061 fail:
3062 {
3063 if (temp2)
3064 delete arg2;
3065 }
3066 return NULL;
3067 }
3068
3069
3070 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3071 PyObject *resultobj;
3072 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3073 wxString result;
3074 PyObject * obj0 = 0 ;
3075 char *kwnames[] = {
3076 (char *) "self", NULL
3077 };
3078
3079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3082 {
3083 PyThreadState* __tstate = wxPyBeginAllowThreads();
3084 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3085
3086 wxPyEndAllowThreads(__tstate);
3087 if (PyErr_Occurred()) SWIG_fail;
3088 }
3089 {
3090 #if wxUSE_UNICODE
3091 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3092 #else
3093 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3094 #endif
3095 }
3096 return resultobj;
3097 fail:
3098 return NULL;
3099 }
3100
3101
3102 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3103 PyObject *resultobj;
3104 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3105 wxRegion *arg2 = 0 ;
3106 bool result;
3107 PyObject * obj0 = 0 ;
3108 PyObject * obj1 = 0 ;
3109 char *kwnames[] = {
3110 (char *) "self",(char *) "region", NULL
3111 };
3112
3113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3117 SWIG_POINTER_EXCEPTION | 0)) == -1)
3118 SWIG_fail;
3119 if (arg2 == NULL) {
3120 PyErr_SetString(PyExc_TypeError,"null reference");
3121 SWIG_fail;
3122 }
3123 {
3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
3125 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 {
3131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3132 }
3133 return resultobj;
3134 fail:
3135 return NULL;
3136 }
3137
3138
3139 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
3140 PyObject *resultobj;
3141 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3142 bool arg2 ;
3143 PyObject * obj0 = 0 ;
3144 PyObject * obj1 = 0 ;
3145 char *kwnames[] = {
3146 (char *) "self",(char *) "on", NULL
3147 };
3148
3149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3152 arg2 = (bool) SWIG_AsBool(obj1);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 {
3155 PyThreadState* __tstate = wxPyBeginAllowThreads();
3156 (arg1)->MacSetMetalAppearance(arg2);
3157
3158 wxPyEndAllowThreads(__tstate);
3159 if (PyErr_Occurred()) SWIG_fail;
3160 }
3161 Py_INCREF(Py_None); resultobj = Py_None;
3162 return resultobj;
3163 fail:
3164 return NULL;
3165 }
3166
3167
3168 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
3169 PyObject *resultobj;
3170 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3171 bool result;
3172 PyObject * obj0 = 0 ;
3173 char *kwnames[] = {
3174 (char *) "self", NULL
3175 };
3176
3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3180 {
3181 PyThreadState* __tstate = wxPyBeginAllowThreads();
3182 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
3183
3184 wxPyEndAllowThreads(__tstate);
3185 if (PyErr_Occurred()) SWIG_fail;
3186 }
3187 {
3188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3189 }
3190 return resultobj;
3191 fail:
3192 return NULL;
3193 }
3194
3195
3196 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3197 PyObject *obj;
3198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3199 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3200 Py_INCREF(obj);
3201 return Py_BuildValue((char *)"");
3202 }
3203 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3204 PyObject *resultobj;
3205 wxWindow *arg1 = (wxWindow *) 0 ;
3206 int arg2 = (int) (int)-1 ;
3207 wxString const &arg3_defvalue = wxPyEmptyString ;
3208 wxString *arg3 = (wxString *) &arg3_defvalue ;
3209 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3210 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3211 wxSize const &arg5_defvalue = wxDefaultSize ;
3212 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3213 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3214 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3215 wxString *arg7 = (wxString *) &arg7_defvalue ;
3216 wxFrame *result;
3217 bool temp3 = False ;
3218 wxPoint temp4 ;
3219 wxSize temp5 ;
3220 bool temp7 = False ;
3221 PyObject * obj0 = 0 ;
3222 PyObject * obj1 = 0 ;
3223 PyObject * obj2 = 0 ;
3224 PyObject * obj3 = 0 ;
3225 PyObject * obj4 = 0 ;
3226 PyObject * obj5 = 0 ;
3227 PyObject * obj6 = 0 ;
3228 char *kwnames[] = {
3229 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3230 };
3231
3232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3235 if (obj1) {
3236 arg2 = (int const) SWIG_AsInt(obj1);
3237 if (PyErr_Occurred()) SWIG_fail;
3238 }
3239 if (obj2) {
3240 {
3241 arg3 = wxString_in_helper(obj2);
3242 if (arg3 == NULL) SWIG_fail;
3243 temp3 = True;
3244 }
3245 }
3246 if (obj3) {
3247 {
3248 arg4 = &temp4;
3249 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3250 }
3251 }
3252 if (obj4) {
3253 {
3254 arg5 = &temp5;
3255 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3256 }
3257 }
3258 if (obj5) {
3259 arg6 = (long) SWIG_AsLong(obj5);
3260 if (PyErr_Occurred()) SWIG_fail;
3261 }
3262 if (obj6) {
3263 {
3264 arg7 = wxString_in_helper(obj6);
3265 if (arg7 == NULL) SWIG_fail;
3266 temp7 = True;
3267 }
3268 }
3269 {
3270 if (!wxPyCheckForApp()) SWIG_fail;
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3273
3274 wxPyEndAllowThreads(__tstate);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
3277 {
3278 resultobj = wxPyMake_wxObject(result);
3279 }
3280 {
3281 if (temp3)
3282 delete arg3;
3283 }
3284 {
3285 if (temp7)
3286 delete arg7;
3287 }
3288 return resultobj;
3289 fail:
3290 {
3291 if (temp3)
3292 delete arg3;
3293 }
3294 {
3295 if (temp7)
3296 delete arg7;
3297 }
3298 return NULL;
3299 }
3300
3301
3302 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3303 PyObject *resultobj;
3304 wxFrame *result;
3305 char *kwnames[] = {
3306 NULL
3307 };
3308
3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3310 {
3311 if (!wxPyCheckForApp()) SWIG_fail;
3312 PyThreadState* __tstate = wxPyBeginAllowThreads();
3313 result = (wxFrame *)new wxFrame();
3314
3315 wxPyEndAllowThreads(__tstate);
3316 if (PyErr_Occurred()) SWIG_fail;
3317 }
3318 {
3319 resultobj = wxPyMake_wxObject(result);
3320 }
3321 return resultobj;
3322 fail:
3323 return NULL;
3324 }
3325
3326
3327 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3328 PyObject *resultobj;
3329 wxFrame *arg1 = (wxFrame *) 0 ;
3330 wxWindow *arg2 = (wxWindow *) 0 ;
3331 int arg3 = (int) (int)-1 ;
3332 wxString const &arg4_defvalue = wxPyEmptyString ;
3333 wxString *arg4 = (wxString *) &arg4_defvalue ;
3334 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3335 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3336 wxSize const &arg6_defvalue = wxDefaultSize ;
3337 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3338 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3339 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3340 wxString *arg8 = (wxString *) &arg8_defvalue ;
3341 bool result;
3342 bool temp4 = False ;
3343 wxPoint temp5 ;
3344 wxSize temp6 ;
3345 bool temp8 = False ;
3346 PyObject * obj0 = 0 ;
3347 PyObject * obj1 = 0 ;
3348 PyObject * obj2 = 0 ;
3349 PyObject * obj3 = 0 ;
3350 PyObject * obj4 = 0 ;
3351 PyObject * obj5 = 0 ;
3352 PyObject * obj6 = 0 ;
3353 PyObject * obj7 = 0 ;
3354 char *kwnames[] = {
3355 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3356 };
3357
3358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3363 if (obj2) {
3364 arg3 = (int const) SWIG_AsInt(obj2);
3365 if (PyErr_Occurred()) SWIG_fail;
3366 }
3367 if (obj3) {
3368 {
3369 arg4 = wxString_in_helper(obj3);
3370 if (arg4 == NULL) SWIG_fail;
3371 temp4 = True;
3372 }
3373 }
3374 if (obj4) {
3375 {
3376 arg5 = &temp5;
3377 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3378 }
3379 }
3380 if (obj5) {
3381 {
3382 arg6 = &temp6;
3383 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3384 }
3385 }
3386 if (obj6) {
3387 arg7 = (long) SWIG_AsLong(obj6);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
3390 if (obj7) {
3391 {
3392 arg8 = wxString_in_helper(obj7);
3393 if (arg8 == NULL) SWIG_fail;
3394 temp8 = True;
3395 }
3396 }
3397 {
3398 PyThreadState* __tstate = wxPyBeginAllowThreads();
3399 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3400
3401 wxPyEndAllowThreads(__tstate);
3402 if (PyErr_Occurred()) SWIG_fail;
3403 }
3404 {
3405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3406 }
3407 {
3408 if (temp4)
3409 delete arg4;
3410 }
3411 {
3412 if (temp8)
3413 delete arg8;
3414 }
3415 return resultobj;
3416 fail:
3417 {
3418 if (temp4)
3419 delete arg4;
3420 }
3421 {
3422 if (temp8)
3423 delete arg8;
3424 }
3425 return NULL;
3426 }
3427
3428
3429 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3430 PyObject *resultobj;
3431 wxFrame *arg1 = (wxFrame *) 0 ;
3432 wxPoint result;
3433 PyObject * obj0 = 0 ;
3434 char *kwnames[] = {
3435 (char *) "self", NULL
3436 };
3437
3438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 {
3449 wxPoint * resultptr;
3450 resultptr = new wxPoint((wxPoint &) result);
3451 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3452 }
3453 return resultobj;
3454 fail:
3455 return NULL;
3456 }
3457
3458
3459 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3460 PyObject *resultobj;
3461 wxFrame *arg1 = (wxFrame *) 0 ;
3462 PyObject * obj0 = 0 ;
3463 char *kwnames[] = {
3464 (char *) "self", NULL
3465 };
3466
3467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 (arg1)->SendSizeEvent();
3473
3474 wxPyEndAllowThreads(__tstate);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 }
3477 Py_INCREF(Py_None); resultobj = Py_None;
3478 return resultobj;
3479 fail:
3480 return NULL;
3481 }
3482
3483
3484 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3485 PyObject *resultobj;
3486 wxFrame *arg1 = (wxFrame *) 0 ;
3487 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3488 PyObject * obj0 = 0 ;
3489 PyObject * obj1 = 0 ;
3490 char *kwnames[] = {
3491 (char *) "self",(char *) "menubar", NULL
3492 };
3493
3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3499 {
3500 PyThreadState* __tstate = wxPyBeginAllowThreads();
3501 (arg1)->SetMenuBar(arg2);
3502
3503 wxPyEndAllowThreads(__tstate);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
3506 Py_INCREF(Py_None); resultobj = Py_None;
3507 return resultobj;
3508 fail:
3509 return NULL;
3510 }
3511
3512
3513 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj;
3515 wxFrame *arg1 = (wxFrame *) 0 ;
3516 wxMenuBar *result;
3517 PyObject * obj0 = 0 ;
3518 char *kwnames[] = {
3519 (char *) "self", NULL
3520 };
3521
3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3525 {
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
3527 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 {
3533 resultobj = wxPyMake_wxObject(result);
3534 }
3535 return resultobj;
3536 fail:
3537 return NULL;
3538 }
3539
3540
3541 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3542 PyObject *resultobj;
3543 wxFrame *arg1 = (wxFrame *) 0 ;
3544 int arg2 ;
3545 bool result;
3546 PyObject * obj0 = 0 ;
3547 PyObject * obj1 = 0 ;
3548 char *kwnames[] = {
3549 (char *) "self",(char *) "winid", NULL
3550 };
3551
3552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3555 arg2 = (int) SWIG_AsInt(obj1);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 {
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 result = (bool)(arg1)->ProcessCommand(arg2);
3560
3561 wxPyEndAllowThreads(__tstate);
3562 if (PyErr_Occurred()) SWIG_fail;
3563 }
3564 {
3565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3566 }
3567 return resultobj;
3568 fail:
3569 return NULL;
3570 }
3571
3572
3573 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3574 PyObject *resultobj;
3575 wxFrame *arg1 = (wxFrame *) 0 ;
3576 int arg2 = (int) 1 ;
3577 long arg3 = (long) wxST_SIZEGRIP ;
3578 int arg4 = (int) 0 ;
3579 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3580 wxString *arg5 = (wxString *) &arg5_defvalue ;
3581 wxStatusBar *result;
3582 bool temp5 = False ;
3583 PyObject * obj0 = 0 ;
3584 PyObject * obj1 = 0 ;
3585 PyObject * obj2 = 0 ;
3586 PyObject * obj3 = 0 ;
3587 PyObject * obj4 = 0 ;
3588 char *kwnames[] = {
3589 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3595 if (obj1) {
3596 arg2 = (int) SWIG_AsInt(obj1);
3597 if (PyErr_Occurred()) SWIG_fail;
3598 }
3599 if (obj2) {
3600 arg3 = (long) SWIG_AsLong(obj2);
3601 if (PyErr_Occurred()) SWIG_fail;
3602 }
3603 if (obj3) {
3604 arg4 = (int) SWIG_AsInt(obj3);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
3607 if (obj4) {
3608 {
3609 arg5 = wxString_in_helper(obj4);
3610 if (arg5 == NULL) SWIG_fail;
3611 temp5 = True;
3612 }
3613 }
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
3616 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) SWIG_fail;
3620 }
3621 {
3622 resultobj = wxPyMake_wxObject(result);
3623 }
3624 {
3625 if (temp5)
3626 delete arg5;
3627 }
3628 return resultobj;
3629 fail:
3630 {
3631 if (temp5)
3632 delete arg5;
3633 }
3634 return NULL;
3635 }
3636
3637
3638 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3639 PyObject *resultobj;
3640 wxFrame *arg1 = (wxFrame *) 0 ;
3641 wxStatusBar *result;
3642 PyObject * obj0 = 0 ;
3643 char *kwnames[] = {
3644 (char *) "self", NULL
3645 };
3646
3647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3650 {
3651 PyThreadState* __tstate = wxPyBeginAllowThreads();
3652 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3653
3654 wxPyEndAllowThreads(__tstate);
3655 if (PyErr_Occurred()) SWIG_fail;
3656 }
3657 {
3658 resultobj = wxPyMake_wxObject(result);
3659 }
3660 return resultobj;
3661 fail:
3662 return NULL;
3663 }
3664
3665
3666 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3667 PyObject *resultobj;
3668 wxFrame *arg1 = (wxFrame *) 0 ;
3669 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3670 PyObject * obj0 = 0 ;
3671 PyObject * obj1 = 0 ;
3672 char *kwnames[] = {
3673 (char *) "self",(char *) "statBar", NULL
3674 };
3675
3676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3681 {
3682 PyThreadState* __tstate = wxPyBeginAllowThreads();
3683 (arg1)->SetStatusBar(arg2);
3684
3685 wxPyEndAllowThreads(__tstate);
3686 if (PyErr_Occurred()) SWIG_fail;
3687 }
3688 Py_INCREF(Py_None); resultobj = Py_None;
3689 return resultobj;
3690 fail:
3691 return NULL;
3692 }
3693
3694
3695 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3696 PyObject *resultobj;
3697 wxFrame *arg1 = (wxFrame *) 0 ;
3698 wxString *arg2 = 0 ;
3699 int arg3 = (int) 0 ;
3700 bool temp2 = False ;
3701 PyObject * obj0 = 0 ;
3702 PyObject * obj1 = 0 ;
3703 PyObject * obj2 = 0 ;
3704 char *kwnames[] = {
3705 (char *) "self",(char *) "text",(char *) "number", NULL
3706 };
3707
3708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3711 {
3712 arg2 = wxString_in_helper(obj1);
3713 if (arg2 == NULL) SWIG_fail;
3714 temp2 = True;
3715 }
3716 if (obj2) {
3717 arg3 = (int) SWIG_AsInt(obj2);
3718 if (PyErr_Occurred()) SWIG_fail;
3719 }
3720 {
3721 PyThreadState* __tstate = wxPyBeginAllowThreads();
3722 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3723
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 Py_INCREF(Py_None); resultobj = Py_None;
3728 {
3729 if (temp2)
3730 delete arg2;
3731 }
3732 return resultobj;
3733 fail:
3734 {
3735 if (temp2)
3736 delete arg2;
3737 }
3738 return NULL;
3739 }
3740
3741
3742 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3743 PyObject *resultobj;
3744 wxFrame *arg1 = (wxFrame *) 0 ;
3745 int arg2 ;
3746 int *arg3 = (int *) 0 ;
3747 PyObject * obj0 = 0 ;
3748 PyObject * obj1 = 0 ;
3749 char *kwnames[] = {
3750 (char *) "self",(char *) "widths", NULL
3751 };
3752
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3756 {
3757 arg2 = PyList_Size(obj1);
3758 arg3 = int_LIST_helper(obj1);
3759 if (arg3 == NULL) SWIG_fail;
3760 }
3761 {
3762 PyThreadState* __tstate = wxPyBeginAllowThreads();
3763 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3764
3765 wxPyEndAllowThreads(__tstate);
3766 if (PyErr_Occurred()) SWIG_fail;
3767 }
3768 Py_INCREF(Py_None); resultobj = Py_None;
3769 {
3770 if (arg3) delete [] arg3;
3771 }
3772 return resultobj;
3773 fail:
3774 {
3775 if (arg3) delete [] arg3;
3776 }
3777 return NULL;
3778 }
3779
3780
3781 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3782 PyObject *resultobj;
3783 wxFrame *arg1 = (wxFrame *) 0 ;
3784 wxString *arg2 = 0 ;
3785 int arg3 = (int) 0 ;
3786 bool temp2 = False ;
3787 PyObject * obj0 = 0 ;
3788 PyObject * obj1 = 0 ;
3789 PyObject * obj2 = 0 ;
3790 char *kwnames[] = {
3791 (char *) "self",(char *) "text",(char *) "number", NULL
3792 };
3793
3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3797 {
3798 arg2 = wxString_in_helper(obj1);
3799 if (arg2 == NULL) SWIG_fail;
3800 temp2 = True;
3801 }
3802 if (obj2) {
3803 arg3 = (int) SWIG_AsInt(obj2);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
3813 Py_INCREF(Py_None); resultobj = Py_None;
3814 {
3815 if (temp2)
3816 delete arg2;
3817 }
3818 return resultobj;
3819 fail:
3820 {
3821 if (temp2)
3822 delete arg2;
3823 }
3824 return NULL;
3825 }
3826
3827
3828 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3829 PyObject *resultobj;
3830 wxFrame *arg1 = (wxFrame *) 0 ;
3831 int arg2 = (int) 0 ;
3832 PyObject * obj0 = 0 ;
3833 PyObject * obj1 = 0 ;
3834 char *kwnames[] = {
3835 (char *) "self",(char *) "number", NULL
3836 };
3837
3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3841 if (obj1) {
3842 arg2 = (int) SWIG_AsInt(obj1);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 (arg1)->PopStatusText(arg2);
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 Py_INCREF(Py_None); resultobj = Py_None;
3853 return resultobj;
3854 fail:
3855 return NULL;
3856 }
3857
3858
3859 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3860 PyObject *resultobj;
3861 wxFrame *arg1 = (wxFrame *) 0 ;
3862 int arg2 ;
3863 PyObject * obj0 = 0 ;
3864 PyObject * obj1 = 0 ;
3865 char *kwnames[] = {
3866 (char *) "self",(char *) "n", NULL
3867 };
3868
3869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3872 arg2 = (int) SWIG_AsInt(obj1);
3873 if (PyErr_Occurred()) SWIG_fail;
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 (arg1)->SetStatusBarPane(arg2);
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
3881 Py_INCREF(Py_None); resultobj = Py_None;
3882 return resultobj;
3883 fail:
3884 return NULL;
3885 }
3886
3887
3888 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3889 PyObject *resultobj;
3890 wxFrame *arg1 = (wxFrame *) 0 ;
3891 int result;
3892 PyObject * obj0 = 0 ;
3893 char *kwnames[] = {
3894 (char *) "self", NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 resultobj = SWIG_FromInt((int)result);
3908 return resultobj;
3909 fail:
3910 return NULL;
3911 }
3912
3913
3914 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 wxFrame *arg1 = (wxFrame *) 0 ;
3917 long arg2 = (long) -1 ;
3918 int arg3 = (int) -1 ;
3919 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3920 wxString *arg4 = (wxString *) &arg4_defvalue ;
3921 wxToolBar *result;
3922 bool temp4 = False ;
3923 PyObject * obj0 = 0 ;
3924 PyObject * obj1 = 0 ;
3925 PyObject * obj2 = 0 ;
3926 PyObject * obj3 = 0 ;
3927 char *kwnames[] = {
3928 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3929 };
3930
3931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3934 if (obj1) {
3935 arg2 = (long) SWIG_AsLong(obj1);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 }
3938 if (obj2) {
3939 arg3 = (int) SWIG_AsInt(obj2);
3940 if (PyErr_Occurred()) SWIG_fail;
3941 }
3942 if (obj3) {
3943 {
3944 arg4 = wxString_in_helper(obj3);
3945 if (arg4 == NULL) SWIG_fail;
3946 temp4 = True;
3947 }
3948 }
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 {
3957 resultobj = wxPyMake_wxObject(result);
3958 }
3959 {
3960 if (temp4)
3961 delete arg4;
3962 }
3963 return resultobj;
3964 fail:
3965 {
3966 if (temp4)
3967 delete arg4;
3968 }
3969 return NULL;
3970 }
3971
3972
3973 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3974 PyObject *resultobj;
3975 wxFrame *arg1 = (wxFrame *) 0 ;
3976 wxToolBar *result;
3977 PyObject * obj0 = 0 ;
3978 char *kwnames[] = {
3979 (char *) "self", NULL
3980 };
3981
3982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3988
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 {
3993 resultobj = wxPyMake_wxObject(result);
3994 }
3995 return resultobj;
3996 fail:
3997 return NULL;
3998 }
3999
4000
4001 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4002 PyObject *resultobj;
4003 wxFrame *arg1 = (wxFrame *) 0 ;
4004 wxToolBar *arg2 = (wxToolBar *) 0 ;
4005 PyObject * obj0 = 0 ;
4006 PyObject * obj1 = 0 ;
4007 char *kwnames[] = {
4008 (char *) "self",(char *) "toolbar", NULL
4009 };
4010
4011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4016 {
4017 PyThreadState* __tstate = wxPyBeginAllowThreads();
4018 (arg1)->SetToolBar(arg2);
4019
4020 wxPyEndAllowThreads(__tstate);
4021 if (PyErr_Occurred()) SWIG_fail;
4022 }
4023 Py_INCREF(Py_None); resultobj = Py_None;
4024 return resultobj;
4025 fail:
4026 return NULL;
4027 }
4028
4029
4030 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
4031 PyObject *resultobj;
4032 wxFrame *arg1 = (wxFrame *) 0 ;
4033 wxString *arg2 = 0 ;
4034 bool arg3 ;
4035 bool temp2 = False ;
4036 PyObject * obj0 = 0 ;
4037 PyObject * obj1 = 0 ;
4038 PyObject * obj2 = 0 ;
4039 char *kwnames[] = {
4040 (char *) "self",(char *) "text",(char *) "show", NULL
4041 };
4042
4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4046 {
4047 arg2 = wxString_in_helper(obj1);
4048 if (arg2 == NULL) SWIG_fail;
4049 temp2 = True;
4050 }
4051 arg3 = (bool) SWIG_AsBool(obj2);
4052 if (PyErr_Occurred()) SWIG_fail;
4053 {
4054 PyThreadState* __tstate = wxPyBeginAllowThreads();
4055 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4056
4057 wxPyEndAllowThreads(__tstate);
4058 if (PyErr_Occurred()) SWIG_fail;
4059 }
4060 Py_INCREF(Py_None); resultobj = Py_None;
4061 {
4062 if (temp2)
4063 delete arg2;
4064 }
4065 return resultobj;
4066 fail:
4067 {
4068 if (temp2)
4069 delete arg2;
4070 }
4071 return NULL;
4072 }
4073
4074
4075 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
4076 PyObject *resultobj;
4077 wxFrame *arg1 = (wxFrame *) 0 ;
4078 wxMenu *arg2 = (wxMenu *) NULL ;
4079 PyObject * obj0 = 0 ;
4080 PyObject * obj1 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self",(char *) "menu", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4088 if (obj1) {
4089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4091 }
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 (arg1)->DoMenuUpdates(arg2);
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 Py_INCREF(Py_None); resultobj = Py_None;
4100 return resultobj;
4101 fail:
4102 return NULL;
4103 }
4104
4105
4106 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj;
4108 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4109 wxVisualAttributes result;
4110 PyObject * obj0 = 0 ;
4111 char *kwnames[] = {
4112 (char *) "variant", NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4116 if (obj0) {
4117 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 {
4121 if (!wxPyCheckForApp()) SWIG_fail;
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 {
4129 wxVisualAttributes * resultptr;
4130 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4131 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4132 }
4133 return resultobj;
4134 fail:
4135 return NULL;
4136 }
4137
4138
4139 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
4140 PyObject *obj;
4141 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4142 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4143 Py_INCREF(obj);
4144 return Py_BuildValue((char *)"");
4145 }
4146 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj;
4148 wxWindow *arg1 = (wxWindow *) 0 ;
4149 int arg2 = (int) (int)-1 ;
4150 wxString const &arg3_defvalue = wxPyEmptyString ;
4151 wxString *arg3 = (wxString *) &arg3_defvalue ;
4152 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4153 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4154 wxSize const &arg5_defvalue = wxDefaultSize ;
4155 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4156 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4157 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4158 wxString *arg7 = (wxString *) &arg7_defvalue ;
4159 wxDialog *result;
4160 bool temp3 = False ;
4161 wxPoint temp4 ;
4162 wxSize temp5 ;
4163 bool temp7 = False ;
4164 PyObject * obj0 = 0 ;
4165 PyObject * obj1 = 0 ;
4166 PyObject * obj2 = 0 ;
4167 PyObject * obj3 = 0 ;
4168 PyObject * obj4 = 0 ;
4169 PyObject * obj5 = 0 ;
4170 PyObject * obj6 = 0 ;
4171 char *kwnames[] = {
4172 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4173 };
4174
4175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4178 if (obj1) {
4179 arg2 = (int const) SWIG_AsInt(obj1);
4180 if (PyErr_Occurred()) SWIG_fail;
4181 }
4182 if (obj2) {
4183 {
4184 arg3 = wxString_in_helper(obj2);
4185 if (arg3 == NULL) SWIG_fail;
4186 temp3 = True;
4187 }
4188 }
4189 if (obj3) {
4190 {
4191 arg4 = &temp4;
4192 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4193 }
4194 }
4195 if (obj4) {
4196 {
4197 arg5 = &temp5;
4198 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4199 }
4200 }
4201 if (obj5) {
4202 arg6 = (long) SWIG_AsLong(obj5);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 if (obj6) {
4206 {
4207 arg7 = wxString_in_helper(obj6);
4208 if (arg7 == NULL) SWIG_fail;
4209 temp7 = True;
4210 }
4211 }
4212 {
4213 if (!wxPyCheckForApp()) SWIG_fail;
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4216
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 {
4221 resultobj = wxPyMake_wxObject(result);
4222 }
4223 {
4224 if (temp3)
4225 delete arg3;
4226 }
4227 {
4228 if (temp7)
4229 delete arg7;
4230 }
4231 return resultobj;
4232 fail:
4233 {
4234 if (temp3)
4235 delete arg3;
4236 }
4237 {
4238 if (temp7)
4239 delete arg7;
4240 }
4241 return NULL;
4242 }
4243
4244
4245 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4246 PyObject *resultobj;
4247 wxDialog *result;
4248 char *kwnames[] = {
4249 NULL
4250 };
4251
4252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4253 {
4254 if (!wxPyCheckForApp()) SWIG_fail;
4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
4256 result = (wxDialog *)new wxDialog();
4257
4258 wxPyEndAllowThreads(__tstate);
4259 if (PyErr_Occurred()) SWIG_fail;
4260 }
4261 {
4262 resultobj = wxPyMake_wxObject(result);
4263 }
4264 return resultobj;
4265 fail:
4266 return NULL;
4267 }
4268
4269
4270 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4271 PyObject *resultobj;
4272 wxDialog *arg1 = (wxDialog *) 0 ;
4273 wxWindow *arg2 = (wxWindow *) 0 ;
4274 int arg3 = (int) (int)-1 ;
4275 wxString const &arg4_defvalue = wxPyEmptyString ;
4276 wxString *arg4 = (wxString *) &arg4_defvalue ;
4277 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4278 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4279 wxSize const &arg6_defvalue = wxDefaultSize ;
4280 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4281 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4282 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4283 wxString *arg8 = (wxString *) &arg8_defvalue ;
4284 bool result;
4285 bool temp4 = False ;
4286 wxPoint temp5 ;
4287 wxSize temp6 ;
4288 bool temp8 = False ;
4289 PyObject * obj0 = 0 ;
4290 PyObject * obj1 = 0 ;
4291 PyObject * obj2 = 0 ;
4292 PyObject * obj3 = 0 ;
4293 PyObject * obj4 = 0 ;
4294 PyObject * obj5 = 0 ;
4295 PyObject * obj6 = 0 ;
4296 PyObject * obj7 = 0 ;
4297 char *kwnames[] = {
4298 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4299 };
4300
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4306 if (obj2) {
4307 arg3 = (int const) SWIG_AsInt(obj2);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 if (obj3) {
4311 {
4312 arg4 = wxString_in_helper(obj3);
4313 if (arg4 == NULL) SWIG_fail;
4314 temp4 = True;
4315 }
4316 }
4317 if (obj4) {
4318 {
4319 arg5 = &temp5;
4320 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4321 }
4322 }
4323 if (obj5) {
4324 {
4325 arg6 = &temp6;
4326 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4327 }
4328 }
4329 if (obj6) {
4330 arg7 = (long) SWIG_AsLong(obj6);
4331 if (PyErr_Occurred()) SWIG_fail;
4332 }
4333 if (obj7) {
4334 {
4335 arg8 = wxString_in_helper(obj7);
4336 if (arg8 == NULL) SWIG_fail;
4337 temp8 = True;
4338 }
4339 }
4340 {
4341 PyThreadState* __tstate = wxPyBeginAllowThreads();
4342 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4343
4344 wxPyEndAllowThreads(__tstate);
4345 if (PyErr_Occurred()) SWIG_fail;
4346 }
4347 {
4348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4349 }
4350 {
4351 if (temp4)
4352 delete arg4;
4353 }
4354 {
4355 if (temp8)
4356 delete arg8;
4357 }
4358 return resultobj;
4359 fail:
4360 {
4361 if (temp4)
4362 delete arg4;
4363 }
4364 {
4365 if (temp8)
4366 delete arg8;
4367 }
4368 return NULL;
4369 }
4370
4371
4372 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4373 PyObject *resultobj;
4374 wxDialog *arg1 = (wxDialog *) 0 ;
4375 int arg2 ;
4376 PyObject * obj0 = 0 ;
4377 PyObject * obj1 = 0 ;
4378 char *kwnames[] = {
4379 (char *) "self",(char *) "returnCode", NULL
4380 };
4381
4382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4385 arg2 = (int) SWIG_AsInt(obj1);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 (arg1)->SetReturnCode(arg2);
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 Py_INCREF(Py_None); resultobj = Py_None;
4395 return resultobj;
4396 fail:
4397 return NULL;
4398 }
4399
4400
4401 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj;
4403 wxDialog *arg1 = (wxDialog *) 0 ;
4404 int result;
4405 PyObject * obj0 = 0 ;
4406 char *kwnames[] = {
4407 (char *) "self", NULL
4408 };
4409
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4413 {
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4416
4417 wxPyEndAllowThreads(__tstate);
4418 if (PyErr_Occurred()) SWIG_fail;
4419 }
4420 resultobj = SWIG_FromInt((int)result);
4421 return resultobj;
4422 fail:
4423 return NULL;
4424 }
4425
4426
4427 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4428 PyObject *resultobj;
4429 wxDialog *arg1 = (wxDialog *) 0 ;
4430 wxString *arg2 = 0 ;
4431 wxSizer *result;
4432 bool temp2 = False ;
4433 PyObject * obj0 = 0 ;
4434 PyObject * obj1 = 0 ;
4435 char *kwnames[] = {
4436 (char *) "self",(char *) "message", NULL
4437 };
4438
4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4442 {
4443 arg2 = wxString_in_helper(obj1);
4444 if (arg2 == NULL) SWIG_fail;
4445 temp2 = True;
4446 }
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4450
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 {
4455 resultobj = wxPyMake_wxSizer(result);
4456 }
4457 {
4458 if (temp2)
4459 delete arg2;
4460 }
4461 return resultobj;
4462 fail:
4463 {
4464 if (temp2)
4465 delete arg2;
4466 }
4467 return NULL;
4468 }
4469
4470
4471 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4472 PyObject *resultobj;
4473 wxDialog *arg1 = (wxDialog *) 0 ;
4474 long arg2 ;
4475 wxSizer *result;
4476 PyObject * obj0 = 0 ;
4477 PyObject * obj1 = 0 ;
4478 char *kwnames[] = {
4479 (char *) "self",(char *) "flags", NULL
4480 };
4481
4482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4485 arg2 = (long) SWIG_AsLong(obj1);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 {
4495 resultobj = wxPyMake_wxSizer(result);
4496 }
4497 return resultobj;
4498 fail:
4499 return NULL;
4500 }
4501
4502
4503 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxDialog *arg1 = (wxDialog *) 0 ;
4506 bool result;
4507 PyObject * obj0 = 0 ;
4508 char *kwnames[] = {
4509 (char *) "self", NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4515 {
4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
4517 result = (bool)((wxDialog const *)arg1)->IsModal();
4518
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 }
4522 {
4523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4524 }
4525 return resultobj;
4526 fail:
4527 return NULL;
4528 }
4529
4530
4531 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4532 PyObject *resultobj;
4533 wxDialog *arg1 = (wxDialog *) 0 ;
4534 int result;
4535 PyObject * obj0 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self", NULL
4538 };
4539
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 result = (int)(arg1)->ShowModal();
4546
4547 wxPyEndAllowThreads(__tstate);
4548 if (PyErr_Occurred()) SWIG_fail;
4549 }
4550 resultobj = SWIG_FromInt((int)result);
4551 return resultobj;
4552 fail:
4553 return NULL;
4554 }
4555
4556
4557 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4558 PyObject *resultobj;
4559 wxDialog *arg1 = (wxDialog *) 0 ;
4560 int arg2 ;
4561 PyObject * obj0 = 0 ;
4562 PyObject * obj1 = 0 ;
4563 char *kwnames[] = {
4564 (char *) "self",(char *) "retCode", NULL
4565 };
4566
4567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4570 arg2 = (int) SWIG_AsInt(obj1);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 {
4573 PyThreadState* __tstate = wxPyBeginAllowThreads();
4574 (arg1)->EndModal(arg2);
4575
4576 wxPyEndAllowThreads(__tstate);
4577 if (PyErr_Occurred()) SWIG_fail;
4578 }
4579 Py_INCREF(Py_None); resultobj = Py_None;
4580 return resultobj;
4581 fail:
4582 return NULL;
4583 }
4584
4585
4586 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4587 PyObject *resultobj;
4588 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4589 wxVisualAttributes result;
4590 PyObject * obj0 = 0 ;
4591 char *kwnames[] = {
4592 (char *) "variant", NULL
4593 };
4594
4595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4596 if (obj0) {
4597 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4598 if (PyErr_Occurred()) SWIG_fail;
4599 }
4600 {
4601 if (!wxPyCheckForApp()) SWIG_fail;
4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
4603 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4604
4605 wxPyEndAllowThreads(__tstate);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 {
4609 wxVisualAttributes * resultptr;
4610 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4612 }
4613 return resultobj;
4614 fail:
4615 return NULL;
4616 }
4617
4618
4619 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4620 PyObject *obj;
4621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4622 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4623 Py_INCREF(obj);
4624 return Py_BuildValue((char *)"");
4625 }
4626 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4627 PyObject *resultobj;
4628 wxWindow *arg1 = (wxWindow *) 0 ;
4629 int arg2 = (int) (int)-1 ;
4630 wxString const &arg3_defvalue = wxPyEmptyString ;
4631 wxString *arg3 = (wxString *) &arg3_defvalue ;
4632 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4633 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4634 wxSize const &arg5_defvalue = wxDefaultSize ;
4635 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4636 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4637 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4638 wxString *arg7 = (wxString *) &arg7_defvalue ;
4639 wxMiniFrame *result;
4640 bool temp3 = False ;
4641 wxPoint temp4 ;
4642 wxSize temp5 ;
4643 bool temp7 = False ;
4644 PyObject * obj0 = 0 ;
4645 PyObject * obj1 = 0 ;
4646 PyObject * obj2 = 0 ;
4647 PyObject * obj3 = 0 ;
4648 PyObject * obj4 = 0 ;
4649 PyObject * obj5 = 0 ;
4650 PyObject * obj6 = 0 ;
4651 char *kwnames[] = {
4652 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4653 };
4654
4655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4658 if (obj1) {
4659 arg2 = (int const) SWIG_AsInt(obj1);
4660 if (PyErr_Occurred()) SWIG_fail;
4661 }
4662 if (obj2) {
4663 {
4664 arg3 = wxString_in_helper(obj2);
4665 if (arg3 == NULL) SWIG_fail;
4666 temp3 = True;
4667 }
4668 }
4669 if (obj3) {
4670 {
4671 arg4 = &temp4;
4672 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4673 }
4674 }
4675 if (obj4) {
4676 {
4677 arg5 = &temp5;
4678 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4679 }
4680 }
4681 if (obj5) {
4682 arg6 = (long) SWIG_AsLong(obj5);
4683 if (PyErr_Occurred()) SWIG_fail;
4684 }
4685 if (obj6) {
4686 {
4687 arg7 = wxString_in_helper(obj6);
4688 if (arg7 == NULL) SWIG_fail;
4689 temp7 = True;
4690 }
4691 }
4692 {
4693 if (!wxPyCheckForApp()) SWIG_fail;
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4701 {
4702 if (temp3)
4703 delete arg3;
4704 }
4705 {
4706 if (temp7)
4707 delete arg7;
4708 }
4709 return resultobj;
4710 fail:
4711 {
4712 if (temp3)
4713 delete arg3;
4714 }
4715 {
4716 if (temp7)
4717 delete arg7;
4718 }
4719 return NULL;
4720 }
4721
4722
4723 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4724 PyObject *resultobj;
4725 wxMiniFrame *result;
4726 char *kwnames[] = {
4727 NULL
4728 };
4729
4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4731 {
4732 if (!wxPyCheckForApp()) SWIG_fail;
4733 PyThreadState* __tstate = wxPyBeginAllowThreads();
4734 result = (wxMiniFrame *)new wxMiniFrame();
4735
4736 wxPyEndAllowThreads(__tstate);
4737 if (PyErr_Occurred()) SWIG_fail;
4738 }
4739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4740 return resultobj;
4741 fail:
4742 return NULL;
4743 }
4744
4745
4746 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4747 PyObject *resultobj;
4748 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4749 wxWindow *arg2 = (wxWindow *) 0 ;
4750 int arg3 = (int) (int)-1 ;
4751 wxString const &arg4_defvalue = wxPyEmptyString ;
4752 wxString *arg4 = (wxString *) &arg4_defvalue ;
4753 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4754 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4755 wxSize const &arg6_defvalue = wxDefaultSize ;
4756 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4757 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4758 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4759 wxString *arg8 = (wxString *) &arg8_defvalue ;
4760 bool result;
4761 bool temp4 = False ;
4762 wxPoint temp5 ;
4763 wxSize temp6 ;
4764 bool temp8 = False ;
4765 PyObject * obj0 = 0 ;
4766 PyObject * obj1 = 0 ;
4767 PyObject * obj2 = 0 ;
4768 PyObject * obj3 = 0 ;
4769 PyObject * obj4 = 0 ;
4770 PyObject * obj5 = 0 ;
4771 PyObject * obj6 = 0 ;
4772 PyObject * obj7 = 0 ;
4773 char *kwnames[] = {
4774 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4775 };
4776
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4782 if (obj2) {
4783 arg3 = (int const) SWIG_AsInt(obj2);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 }
4786 if (obj3) {
4787 {
4788 arg4 = wxString_in_helper(obj3);
4789 if (arg4 == NULL) SWIG_fail;
4790 temp4 = True;
4791 }
4792 }
4793 if (obj4) {
4794 {
4795 arg5 = &temp5;
4796 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4797 }
4798 }
4799 if (obj5) {
4800 {
4801 arg6 = &temp6;
4802 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4803 }
4804 }
4805 if (obj6) {
4806 arg7 = (long) SWIG_AsLong(obj6);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 if (obj7) {
4810 {
4811 arg8 = wxString_in_helper(obj7);
4812 if (arg8 == NULL) SWIG_fail;
4813 temp8 = True;
4814 }
4815 }
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4819
4820 wxPyEndAllowThreads(__tstate);
4821 if (PyErr_Occurred()) SWIG_fail;
4822 }
4823 {
4824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4825 }
4826 {
4827 if (temp4)
4828 delete arg4;
4829 }
4830 {
4831 if (temp8)
4832 delete arg8;
4833 }
4834 return resultobj;
4835 fail:
4836 {
4837 if (temp4)
4838 delete arg4;
4839 }
4840 {
4841 if (temp8)
4842 delete arg8;
4843 }
4844 return NULL;
4845 }
4846
4847
4848 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4849 PyObject *obj;
4850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4851 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4852 Py_INCREF(obj);
4853 return Py_BuildValue((char *)"");
4854 }
4855 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4856 PyObject *resultobj;
4857 wxBitmap *arg1 = 0 ;
4858 wxWindow *arg2 = (wxWindow *) 0 ;
4859 int arg3 ;
4860 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4861 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4862 wxSize const &arg5_defvalue = wxDefaultSize ;
4863 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4864 long arg6 = (long) wxNO_BORDER ;
4865 wxSplashScreenWindow *result;
4866 wxPoint temp4 ;
4867 wxSize temp5 ;
4868 PyObject * obj0 = 0 ;
4869 PyObject * obj1 = 0 ;
4870 PyObject * obj2 = 0 ;
4871 PyObject * obj3 = 0 ;
4872 PyObject * obj4 = 0 ;
4873 PyObject * obj5 = 0 ;
4874 char *kwnames[] = {
4875 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4876 };
4877
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4880 SWIG_POINTER_EXCEPTION | 0)) == -1)
4881 SWIG_fail;
4882 if (arg1 == NULL) {
4883 PyErr_SetString(PyExc_TypeError,"null reference");
4884 SWIG_fail;
4885 }
4886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4888 arg3 = (int) SWIG_AsInt(obj2);
4889 if (PyErr_Occurred()) SWIG_fail;
4890 if (obj3) {
4891 {
4892 arg4 = &temp4;
4893 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4894 }
4895 }
4896 if (obj4) {
4897 {
4898 arg5 = &temp5;
4899 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4900 }
4901 }
4902 if (obj5) {
4903 arg6 = (long) SWIG_AsLong(obj5);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 {
4907 if (!wxPyCheckForApp()) SWIG_fail;
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4915 return resultobj;
4916 fail:
4917 return NULL;
4918 }
4919
4920
4921 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4922 PyObject *resultobj;
4923 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4924 wxBitmap *arg2 = 0 ;
4925 PyObject * obj0 = 0 ;
4926 PyObject * obj1 = 0 ;
4927 char *kwnames[] = {
4928 (char *) "self",(char *) "bitmap", NULL
4929 };
4930
4931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4935 SWIG_POINTER_EXCEPTION | 0)) == -1)
4936 SWIG_fail;
4937 if (arg2 == NULL) {
4938 PyErr_SetString(PyExc_TypeError,"null reference");
4939 SWIG_fail;
4940 }
4941 {
4942 PyThreadState* __tstate = wxPyBeginAllowThreads();
4943 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4944
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 Py_INCREF(Py_None); resultobj = Py_None;
4949 return resultobj;
4950 fail:
4951 return NULL;
4952 }
4953
4954
4955 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4956 PyObject *resultobj;
4957 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4958 wxBitmap *result;
4959 PyObject * obj0 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "self", NULL
4962 };
4963
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4967 {
4968 PyThreadState* __tstate = wxPyBeginAllowThreads();
4969 {
4970 wxBitmap &_result_ref = (arg1)->GetBitmap();
4971 result = (wxBitmap *) &_result_ref;
4972 }
4973
4974 wxPyEndAllowThreads(__tstate);
4975 if (PyErr_Occurred()) SWIG_fail;
4976 }
4977 {
4978 wxBitmap* resultptr = new wxBitmap(*result);
4979 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4980 }
4981 return resultobj;
4982 fail:
4983 return NULL;
4984 }
4985
4986
4987 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4988 PyObject *obj;
4989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4990 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4991 Py_INCREF(obj);
4992 return Py_BuildValue((char *)"");
4993 }
4994 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4995 PyObject *resultobj;
4996 wxBitmap *arg1 = 0 ;
4997 long arg2 ;
4998 int arg3 ;
4999 wxWindow *arg4 = (wxWindow *) 0 ;
5000 int arg5 = (int) -1 ;
5001 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5002 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5003 wxSize const &arg7_defvalue = wxDefaultSize ;
5004 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5005 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5006 wxSplashScreen *result;
5007 wxPoint temp6 ;
5008 wxSize temp7 ;
5009 PyObject * obj0 = 0 ;
5010 PyObject * obj1 = 0 ;
5011 PyObject * obj2 = 0 ;
5012 PyObject * obj3 = 0 ;
5013 PyObject * obj4 = 0 ;
5014 PyObject * obj5 = 0 ;
5015 PyObject * obj6 = 0 ;
5016 PyObject * obj7 = 0 ;
5017 char *kwnames[] = {
5018 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5019 };
5020
5021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5023 SWIG_POINTER_EXCEPTION | 0)) == -1)
5024 SWIG_fail;
5025 if (arg1 == NULL) {
5026 PyErr_SetString(PyExc_TypeError,"null reference");
5027 SWIG_fail;
5028 }
5029 arg2 = (long) SWIG_AsLong(obj1);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 arg3 = (int) SWIG_AsInt(obj2);
5032 if (PyErr_Occurred()) SWIG_fail;
5033 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5035 if (obj4) {
5036 arg5 = (int) SWIG_AsInt(obj4);
5037 if (PyErr_Occurred()) SWIG_fail;
5038 }
5039 if (obj5) {
5040 {
5041 arg6 = &temp6;
5042 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5043 }
5044 }
5045 if (obj6) {
5046 {
5047 arg7 = &temp7;
5048 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5049 }
5050 }
5051 if (obj7) {
5052 arg8 = (long) SWIG_AsLong(obj7);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 {
5056 if (!wxPyCheckForApp()) SWIG_fail;
5057 PyThreadState* __tstate = wxPyBeginAllowThreads();
5058 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5059
5060 wxPyEndAllowThreads(__tstate);
5061 if (PyErr_Occurred()) SWIG_fail;
5062 }
5063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5064 return resultobj;
5065 fail:
5066 return NULL;
5067 }
5068
5069
5070 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
5071 PyObject *resultobj;
5072 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5073 long result;
5074 PyObject * obj0 = 0 ;
5075 char *kwnames[] = {
5076 (char *) "self", NULL
5077 };
5078
5079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5082 {
5083 PyThreadState* __tstate = wxPyBeginAllowThreads();
5084 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5085
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
5089 resultobj = SWIG_FromLong((long)result);
5090 return resultobj;
5091 fail:
5092 return NULL;
5093 }
5094
5095
5096 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5097 PyObject *resultobj;
5098 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5099 wxSplashScreenWindow *result;
5100 PyObject * obj0 = 0 ;
5101 char *kwnames[] = {
5102 (char *) "self", NULL
5103 };
5104
5105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5108 {
5109 PyThreadState* __tstate = wxPyBeginAllowThreads();
5110 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5111
5112 wxPyEndAllowThreads(__tstate);
5113 if (PyErr_Occurred()) SWIG_fail;
5114 }
5115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5116 return resultobj;
5117 fail:
5118 return NULL;
5119 }
5120
5121
5122 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5125 int result;
5126 PyObject * obj0 = 0 ;
5127 char *kwnames[] = {
5128 (char *) "self", NULL
5129 };
5130
5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5137
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 resultobj = SWIG_FromInt((int)result);
5142 return resultobj;
5143 fail:
5144 return NULL;
5145 }
5146
5147
5148 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
5149 PyObject *obj;
5150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5151 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5152 Py_INCREF(obj);
5153 return Py_BuildValue((char *)"");
5154 }
5155 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5156 PyObject *resultobj;
5157 wxWindow *arg1 = (wxWindow *) 0 ;
5158 int arg2 = (int) -1 ;
5159 long arg3 = (long) wxST_SIZEGRIP ;
5160 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5161 wxString *arg4 = (wxString *) &arg4_defvalue ;
5162 wxStatusBar *result;
5163 bool temp4 = False ;
5164 PyObject * obj0 = 0 ;
5165 PyObject * obj1 = 0 ;
5166 PyObject * obj2 = 0 ;
5167 PyObject * obj3 = 0 ;
5168 char *kwnames[] = {
5169 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5170 };
5171
5172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5175 if (obj1) {
5176 arg2 = (int) SWIG_AsInt(obj1);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 if (obj2) {
5180 arg3 = (long) SWIG_AsLong(obj2);
5181 if (PyErr_Occurred()) SWIG_fail;
5182 }
5183 if (obj3) {
5184 {
5185 arg4 = wxString_in_helper(obj3);
5186 if (arg4 == NULL) SWIG_fail;
5187 temp4 = True;
5188 }
5189 }
5190 {
5191 if (!wxPyCheckForApp()) SWIG_fail;
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5194
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 {
5199 resultobj = wxPyMake_wxObject(result);
5200 }
5201 {
5202 if (temp4)
5203 delete arg4;
5204 }
5205 return resultobj;
5206 fail:
5207 {
5208 if (temp4)
5209 delete arg4;
5210 }
5211 return NULL;
5212 }
5213
5214
5215 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5216 PyObject *resultobj;
5217 wxStatusBar *result;
5218 char *kwnames[] = {
5219 NULL
5220 };
5221
5222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5223 {
5224 if (!wxPyCheckForApp()) SWIG_fail;
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 result = (wxStatusBar *)new wxStatusBar();
5227
5228 wxPyEndAllowThreads(__tstate);
5229 if (PyErr_Occurred()) SWIG_fail;
5230 }
5231 {
5232 resultobj = wxPyMake_wxObject(result);
5233 }
5234 return resultobj;
5235 fail:
5236 return NULL;
5237 }
5238
5239
5240 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5241 PyObject *resultobj;
5242 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5243 wxWindow *arg2 = (wxWindow *) 0 ;
5244 int arg3 = (int) -1 ;
5245 long arg4 = (long) wxST_SIZEGRIP ;
5246 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5247 wxString *arg5 = (wxString *) &arg5_defvalue ;
5248 bool result;
5249 bool temp5 = False ;
5250 PyObject * obj0 = 0 ;
5251 PyObject * obj1 = 0 ;
5252 PyObject * obj2 = 0 ;
5253 PyObject * obj3 = 0 ;
5254 PyObject * obj4 = 0 ;
5255 char *kwnames[] = {
5256 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5257 };
5258
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5262 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5264 if (obj2) {
5265 arg3 = (int) SWIG_AsInt(obj2);
5266 if (PyErr_Occurred()) SWIG_fail;
5267 }
5268 if (obj3) {
5269 arg4 = (long) SWIG_AsLong(obj3);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 }
5272 if (obj4) {
5273 {
5274 arg5 = wxString_in_helper(obj4);
5275 if (arg5 == NULL) SWIG_fail;
5276 temp5 = True;
5277 }
5278 }
5279 {
5280 PyThreadState* __tstate = wxPyBeginAllowThreads();
5281 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5282
5283 wxPyEndAllowThreads(__tstate);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 }
5286 {
5287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5288 }
5289 {
5290 if (temp5)
5291 delete arg5;
5292 }
5293 return resultobj;
5294 fail:
5295 {
5296 if (temp5)
5297 delete arg5;
5298 }
5299 return NULL;
5300 }
5301
5302
5303 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5304 PyObject *resultobj;
5305 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5306 int arg2 = (int) 1 ;
5307 PyObject * obj0 = 0 ;
5308 PyObject * obj1 = 0 ;
5309 char *kwnames[] = {
5310 (char *) "self",(char *) "number", NULL
5311 };
5312
5313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5316 if (obj1) {
5317 arg2 = (int) SWIG_AsInt(obj1);
5318 if (PyErr_Occurred()) SWIG_fail;
5319 }
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 (arg1)->SetFieldsCount(arg2);
5323
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 Py_INCREF(Py_None); resultobj = Py_None;
5328 return resultobj;
5329 fail:
5330 return NULL;
5331 }
5332
5333
5334 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5335 PyObject *resultobj;
5336 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5337 int result;
5338 PyObject * obj0 = 0 ;
5339 char *kwnames[] = {
5340 (char *) "self", NULL
5341 };
5342
5343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5346 {
5347 PyThreadState* __tstate = wxPyBeginAllowThreads();
5348 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5349
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 resultobj = SWIG_FromInt((int)result);
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj;
5362 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5363 wxString *arg2 = 0 ;
5364 int arg3 = (int) 0 ;
5365 bool temp2 = False ;
5366 PyObject * obj0 = 0 ;
5367 PyObject * obj1 = 0 ;
5368 PyObject * obj2 = 0 ;
5369 char *kwnames[] = {
5370 (char *) "self",(char *) "text",(char *) "number", NULL
5371 };
5372
5373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5376 {
5377 arg2 = wxString_in_helper(obj1);
5378 if (arg2 == NULL) SWIG_fail;
5379 temp2 = True;
5380 }
5381 if (obj2) {
5382 arg3 = (int) SWIG_AsInt(obj2);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 }
5385 {
5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
5387 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5388
5389 wxPyEndAllowThreads(__tstate);
5390 if (PyErr_Occurred()) SWIG_fail;
5391 }
5392 Py_INCREF(Py_None); resultobj = Py_None;
5393 {
5394 if (temp2)
5395 delete arg2;
5396 }
5397 return resultobj;
5398 fail:
5399 {
5400 if (temp2)
5401 delete arg2;
5402 }
5403 return NULL;
5404 }
5405
5406
5407 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5408 PyObject *resultobj;
5409 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5410 int arg2 = (int) 0 ;
5411 wxString result;
5412 PyObject * obj0 = 0 ;
5413 PyObject * obj1 = 0 ;
5414 char *kwnames[] = {
5415 (char *) "self",(char *) "number", NULL
5416 };
5417
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5421 if (obj1) {
5422 arg2 = (int) SWIG_AsInt(obj1);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
5425 {
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5428
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 {
5433 #if wxUSE_UNICODE
5434 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5435 #else
5436 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5437 #endif
5438 }
5439 return resultobj;
5440 fail:
5441 return NULL;
5442 }
5443
5444
5445 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5446 PyObject *resultobj;
5447 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5448 wxString *arg2 = 0 ;
5449 int arg3 = (int) 0 ;
5450 bool temp2 = False ;
5451 PyObject * obj0 = 0 ;
5452 PyObject * obj1 = 0 ;
5453 PyObject * obj2 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self",(char *) "text",(char *) "number", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5461 {
5462 arg2 = wxString_in_helper(obj1);
5463 if (arg2 == NULL) SWIG_fail;
5464 temp2 = True;
5465 }
5466 if (obj2) {
5467 arg3 = (int) SWIG_AsInt(obj2);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 {
5471 PyThreadState* __tstate = wxPyBeginAllowThreads();
5472 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5473
5474 wxPyEndAllowThreads(__tstate);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 }
5477 Py_INCREF(Py_None); resultobj = Py_None;
5478 {
5479 if (temp2)
5480 delete arg2;
5481 }
5482 return resultobj;
5483 fail:
5484 {
5485 if (temp2)
5486 delete arg2;
5487 }
5488 return NULL;
5489 }
5490
5491
5492 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5493 PyObject *resultobj;
5494 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5495 int arg2 = (int) 0 ;
5496 PyObject * obj0 = 0 ;
5497 PyObject * obj1 = 0 ;
5498 char *kwnames[] = {
5499 (char *) "self",(char *) "number", NULL
5500 };
5501
5502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5505 if (obj1) {
5506 arg2 = (int) SWIG_AsInt(obj1);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 }
5509 {
5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
5511 (arg1)->PopStatusText(arg2);
5512
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 Py_INCREF(Py_None); resultobj = Py_None;
5517 return resultobj;
5518 fail:
5519 return NULL;
5520 }
5521
5522
5523 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5524 PyObject *resultobj;
5525 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5526 int arg2 ;
5527 int *arg3 = (int *) 0 ;
5528 PyObject * obj0 = 0 ;
5529 PyObject * obj1 = 0 ;
5530 char *kwnames[] = {
5531 (char *) "self",(char *) "widths", NULL
5532 };
5533
5534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5537 {
5538 arg2 = PyList_Size(obj1);
5539 arg3 = int_LIST_helper(obj1);
5540 if (arg3 == NULL) SWIG_fail;
5541 }
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5545
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 Py_INCREF(Py_None); resultobj = Py_None;
5550 {
5551 if (arg3) delete [] arg3;
5552 }
5553 return resultobj;
5554 fail:
5555 {
5556 if (arg3) delete [] arg3;
5557 }
5558 return NULL;
5559 }
5560
5561
5562 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5563 PyObject *resultobj;
5564 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5565 int arg2 ;
5566 wxRect result;
5567 PyObject * obj0 = 0 ;
5568 PyObject * obj1 = 0 ;
5569 char *kwnames[] = {
5570 (char *) "self",(char *) "i", NULL
5571 };
5572
5573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5576 arg2 = (int) SWIG_AsInt(obj1);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 {
5579 PyThreadState* __tstate = wxPyBeginAllowThreads();
5580 result = wxStatusBar_GetFieldRect(arg1,arg2);
5581
5582 wxPyEndAllowThreads(__tstate);
5583 if (PyErr_Occurred()) SWIG_fail;
5584 }
5585 {
5586 wxRect * resultptr;
5587 resultptr = new wxRect((wxRect &) result);
5588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5589 }
5590 return resultobj;
5591 fail:
5592 return NULL;
5593 }
5594
5595
5596 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5597 PyObject *resultobj;
5598 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5599 int arg2 ;
5600 PyObject * obj0 = 0 ;
5601 PyObject * obj1 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "self",(char *) "height", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5609 arg2 = (int) SWIG_AsInt(obj1);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 (arg1)->SetMinHeight(arg2);
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 Py_INCREF(Py_None); resultobj = Py_None;
5619 return resultobj;
5620 fail:
5621 return NULL;
5622 }
5623
5624
5625 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5626 PyObject *resultobj;
5627 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5628 int result;
5629 PyObject * obj0 = 0 ;
5630 char *kwnames[] = {
5631 (char *) "self", NULL
5632 };
5633
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5640
5641 wxPyEndAllowThreads(__tstate);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
5644 resultobj = SWIG_FromInt((int)result);
5645 return resultobj;
5646 fail:
5647 return NULL;
5648 }
5649
5650
5651 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5652 PyObject *resultobj;
5653 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5654 int result;
5655 PyObject * obj0 = 0 ;
5656 char *kwnames[] = {
5657 (char *) "self", NULL
5658 };
5659
5660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5666
5667 wxPyEndAllowThreads(__tstate);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
5670 resultobj = SWIG_FromInt((int)result);
5671 return resultobj;
5672 fail:
5673 return NULL;
5674 }
5675
5676
5677 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5678 PyObject *resultobj;
5679 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5680 wxVisualAttributes result;
5681 PyObject * obj0 = 0 ;
5682 char *kwnames[] = {
5683 (char *) "variant", NULL
5684 };
5685
5686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5687 if (obj0) {
5688 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5689 if (PyErr_Occurred()) SWIG_fail;
5690 }
5691 {
5692 if (!wxPyCheckForApp()) SWIG_fail;
5693 PyThreadState* __tstate = wxPyBeginAllowThreads();
5694 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5695
5696 wxPyEndAllowThreads(__tstate);
5697 if (PyErr_Occurred()) SWIG_fail;
5698 }
5699 {
5700 wxVisualAttributes * resultptr;
5701 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5702 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5703 }
5704 return resultobj;
5705 fail:
5706 return NULL;
5707 }
5708
5709
5710 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5711 PyObject *obj;
5712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5713 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5714 Py_INCREF(obj);
5715 return Py_BuildValue((char *)"");
5716 }
5717 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5718 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5719 return 1;
5720 }
5721
5722
5723 static PyObject *_wrap_SplitterNameStr_get() {
5724 PyObject *pyobj;
5725
5726 {
5727 #if wxUSE_UNICODE
5728 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5729 #else
5730 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5731 #endif
5732 }
5733 return pyobj;
5734 }
5735
5736
5737 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5738 PyObject *resultobj;
5739 wxWindow *arg1 = (wxWindow *) 0 ;
5740 int arg2 = (int) -1 ;
5741 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5742 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5743 wxSize const &arg4_defvalue = wxDefaultSize ;
5744 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5745 long arg5 = (long) wxSP_3D ;
5746 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5747 wxString *arg6 = (wxString *) &arg6_defvalue ;
5748 wxSplitterWindow *result;
5749 wxPoint temp3 ;
5750 wxSize temp4 ;
5751 bool temp6 = False ;
5752 PyObject * obj0 = 0 ;
5753 PyObject * obj1 = 0 ;
5754 PyObject * obj2 = 0 ;
5755 PyObject * obj3 = 0 ;
5756 PyObject * obj4 = 0 ;
5757 PyObject * obj5 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5765 if (obj1) {
5766 arg2 = (int) SWIG_AsInt(obj1);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
5769 if (obj2) {
5770 {
5771 arg3 = &temp3;
5772 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5773 }
5774 }
5775 if (obj3) {
5776 {
5777 arg4 = &temp4;
5778 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5779 }
5780 }
5781 if (obj4) {
5782 arg5 = (long) SWIG_AsLong(obj4);
5783 if (PyErr_Occurred()) SWIG_fail;
5784 }
5785 if (obj5) {
5786 {
5787 arg6 = wxString_in_helper(obj5);
5788 if (arg6 == NULL) SWIG_fail;
5789 temp6 = True;
5790 }
5791 }
5792 {
5793 if (!wxPyCheckForApp()) SWIG_fail;
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5801 {
5802 if (temp6)
5803 delete arg6;
5804 }
5805 return resultobj;
5806 fail:
5807 {
5808 if (temp6)
5809 delete arg6;
5810 }
5811 return NULL;
5812 }
5813
5814
5815 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5816 PyObject *resultobj;
5817 wxSplitterWindow *result;
5818 char *kwnames[] = {
5819 NULL
5820 };
5821
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5823 {
5824 if (!wxPyCheckForApp()) SWIG_fail;
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 result = (wxSplitterWindow *)new wxSplitterWindow();
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5832 return resultobj;
5833 fail:
5834 return NULL;
5835 }
5836
5837
5838 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5841 wxWindow *arg2 = (wxWindow *) 0 ;
5842 int arg3 = (int) -1 ;
5843 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5844 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5845 wxSize const &arg5_defvalue = wxDefaultSize ;
5846 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5847 long arg6 = (long) wxSP_3D ;
5848 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5849 wxString *arg7 = (wxString *) &arg7_defvalue ;
5850 bool result;
5851 wxPoint temp4 ;
5852 wxSize temp5 ;
5853 bool temp7 = False ;
5854 PyObject * obj0 = 0 ;
5855 PyObject * obj1 = 0 ;
5856 PyObject * obj2 = 0 ;
5857 PyObject * obj3 = 0 ;
5858 PyObject * obj4 = 0 ;
5859 PyObject * obj5 = 0 ;
5860 PyObject * obj6 = 0 ;
5861 char *kwnames[] = {
5862 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5863 };
5864
5865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5868 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5870 if (obj2) {
5871 arg3 = (int) SWIG_AsInt(obj2);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
5874 if (obj3) {
5875 {
5876 arg4 = &temp4;
5877 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5878 }
5879 }
5880 if (obj4) {
5881 {
5882 arg5 = &temp5;
5883 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5884 }
5885 }
5886 if (obj5) {
5887 arg6 = (long) SWIG_AsLong(obj5);
5888 if (PyErr_Occurred()) SWIG_fail;
5889 }
5890 if (obj6) {
5891 {
5892 arg7 = wxString_in_helper(obj6);
5893 if (arg7 == NULL) SWIG_fail;
5894 temp7 = True;
5895 }
5896 }
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5900
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 {
5905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5906 }
5907 {
5908 if (temp7)
5909 delete arg7;
5910 }
5911 return resultobj;
5912 fail:
5913 {
5914 if (temp7)
5915 delete arg7;
5916 }
5917 return NULL;
5918 }
5919
5920
5921 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj;
5923 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5924 wxWindow *result;
5925 PyObject * obj0 = 0 ;
5926 char *kwnames[] = {
5927 (char *) "self", NULL
5928 };
5929
5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5936
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
5940 {
5941 resultobj = wxPyMake_wxObject(result);
5942 }
5943 return resultobj;
5944 fail:
5945 return NULL;
5946 }
5947
5948
5949 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5950 PyObject *resultobj;
5951 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5952 wxWindow *result;
5953 PyObject * obj0 = 0 ;
5954 char *kwnames[] = {
5955 (char *) "self", NULL
5956 };
5957
5958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
5968 {
5969 resultobj = wxPyMake_wxObject(result);
5970 }
5971 return resultobj;
5972 fail:
5973 return NULL;
5974 }
5975
5976
5977 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5978 PyObject *resultobj;
5979 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5980 int arg2 ;
5981 PyObject * obj0 = 0 ;
5982 PyObject * obj1 = 0 ;
5983 char *kwnames[] = {
5984 (char *) "self",(char *) "mode", NULL
5985 };
5986
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5990 arg2 = (int) SWIG_AsInt(obj1);
5991 if (PyErr_Occurred()) SWIG_fail;
5992 {
5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
5994 (arg1)->SetSplitMode(arg2);
5995
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 Py_INCREF(Py_None); resultobj = Py_None;
6000 return resultobj;
6001 fail:
6002 return NULL;
6003 }
6004
6005
6006 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6007 PyObject *resultobj;
6008 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6009 int result;
6010 PyObject * obj0 = 0 ;
6011 char *kwnames[] = {
6012 (char *) "self", NULL
6013 };
6014
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6018 {
6019 PyThreadState* __tstate = wxPyBeginAllowThreads();
6020 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6021
6022 wxPyEndAllowThreads(__tstate);
6023 if (PyErr_Occurred()) SWIG_fail;
6024 }
6025 resultobj = SWIG_FromInt((int)result);
6026 return resultobj;
6027 fail:
6028 return NULL;
6029 }
6030
6031
6032 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
6033 PyObject *resultobj;
6034 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6035 wxWindow *arg2 = (wxWindow *) 0 ;
6036 PyObject * obj0 = 0 ;
6037 PyObject * obj1 = 0 ;
6038 char *kwnames[] = {
6039 (char *) "self",(char *) "window", NULL
6040 };
6041
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6045 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6047 {
6048 PyThreadState* __tstate = wxPyBeginAllowThreads();
6049 (arg1)->Initialize(arg2);
6050
6051 wxPyEndAllowThreads(__tstate);
6052 if (PyErr_Occurred()) SWIG_fail;
6053 }
6054 Py_INCREF(Py_None); resultobj = Py_None;
6055 return resultobj;
6056 fail:
6057 return NULL;
6058 }
6059
6060
6061 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
6062 PyObject *resultobj;
6063 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6064 wxWindow *arg2 = (wxWindow *) 0 ;
6065 wxWindow *arg3 = (wxWindow *) 0 ;
6066 int arg4 = (int) 0 ;
6067 bool result;
6068 PyObject * obj0 = 0 ;
6069 PyObject * obj1 = 0 ;
6070 PyObject * obj2 = 0 ;
6071 PyObject * obj3 = 0 ;
6072 char *kwnames[] = {
6073 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6074 };
6075
6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6079 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6081 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6083 if (obj3) {
6084 arg4 = (int) SWIG_AsInt(obj3);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 }
6087 {
6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
6089 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6090
6091 wxPyEndAllowThreads(__tstate);
6092 if (PyErr_Occurred()) SWIG_fail;
6093 }
6094 {
6095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6096 }
6097 return resultobj;
6098 fail:
6099 return NULL;
6100 }
6101
6102
6103 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
6104 PyObject *resultobj;
6105 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6106 wxWindow *arg2 = (wxWindow *) 0 ;
6107 wxWindow *arg3 = (wxWindow *) 0 ;
6108 int arg4 = (int) 0 ;
6109 bool result;
6110 PyObject * obj0 = 0 ;
6111 PyObject * obj1 = 0 ;
6112 PyObject * obj2 = 0 ;
6113 PyObject * obj3 = 0 ;
6114 char *kwnames[] = {
6115 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6116 };
6117
6118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6121 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6123 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6125 if (obj3) {
6126 arg4 = (int) SWIG_AsInt(obj3);
6127 if (PyErr_Occurred()) SWIG_fail;
6128 }
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 {
6137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6138 }
6139 return resultobj;
6140 fail:
6141 return NULL;
6142 }
6143
6144
6145 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj;
6147 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6148 wxWindow *arg2 = (wxWindow *) NULL ;
6149 bool result;
6150 PyObject * obj0 = 0 ;
6151 PyObject * obj1 = 0 ;
6152 char *kwnames[] = {
6153 (char *) "self",(char *) "toRemove", NULL
6154 };
6155
6156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6159 if (obj1) {
6160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6162 }
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 result = (bool)(arg1)->Unsplit(arg2);
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 {
6171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6172 }
6173 return resultobj;
6174 fail:
6175 return NULL;
6176 }
6177
6178
6179 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6180 PyObject *resultobj;
6181 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6182 wxWindow *arg2 = (wxWindow *) 0 ;
6183 wxWindow *arg3 = (wxWindow *) 0 ;
6184 bool result;
6185 PyObject * obj0 = 0 ;
6186 PyObject * obj1 = 0 ;
6187 PyObject * obj2 = 0 ;
6188 char *kwnames[] = {
6189 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6190 };
6191
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6197 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6199 {
6200 PyThreadState* __tstate = wxPyBeginAllowThreads();
6201 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6202
6203 wxPyEndAllowThreads(__tstate);
6204 if (PyErr_Occurred()) SWIG_fail;
6205 }
6206 {
6207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6208 }
6209 return resultobj;
6210 fail:
6211 return NULL;
6212 }
6213
6214
6215 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6216 PyObject *resultobj;
6217 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6218 PyObject * obj0 = 0 ;
6219 char *kwnames[] = {
6220 (char *) "self", NULL
6221 };
6222
6223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6226 {
6227 PyThreadState* __tstate = wxPyBeginAllowThreads();
6228 (arg1)->UpdateSize();
6229
6230 wxPyEndAllowThreads(__tstate);
6231 if (PyErr_Occurred()) SWIG_fail;
6232 }
6233 Py_INCREF(Py_None); resultobj = Py_None;
6234 return resultobj;
6235 fail:
6236 return NULL;
6237 }
6238
6239
6240 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6241 PyObject *resultobj;
6242 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6243 bool result;
6244 PyObject * obj0 = 0 ;
6245 char *kwnames[] = {
6246 (char *) "self", NULL
6247 };
6248
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6252 {
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 {
6260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6261 }
6262 return resultobj;
6263 fail:
6264 return NULL;
6265 }
6266
6267
6268 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj;
6270 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6271 int arg2 ;
6272 PyObject * obj0 = 0 ;
6273 PyObject * obj1 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "self",(char *) "width", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6281 arg2 = (int) SWIG_AsInt(obj1);
6282 if (PyErr_Occurred()) SWIG_fail;
6283 {
6284 PyThreadState* __tstate = wxPyBeginAllowThreads();
6285 (arg1)->SetSashSize(arg2);
6286
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 Py_INCREF(Py_None); resultobj = Py_None;
6291 return resultobj;
6292 fail:
6293 return NULL;
6294 }
6295
6296
6297 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6298 PyObject *resultobj;
6299 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6300 int arg2 ;
6301 PyObject * obj0 = 0 ;
6302 PyObject * obj1 = 0 ;
6303 char *kwnames[] = {
6304 (char *) "self",(char *) "width", NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6310 arg2 = (int) SWIG_AsInt(obj1);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 (arg1)->SetBorderSize(arg2);
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 Py_INCREF(Py_None); resultobj = Py_None;
6320 return resultobj;
6321 fail:
6322 return NULL;
6323 }
6324
6325
6326 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6327 PyObject *resultobj;
6328 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6329 int result;
6330 PyObject * obj0 = 0 ;
6331 char *kwnames[] = {
6332 (char *) "self", NULL
6333 };
6334
6335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6338 {
6339 PyThreadState* __tstate = wxPyBeginAllowThreads();
6340 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6341
6342 wxPyEndAllowThreads(__tstate);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 }
6345 resultobj = SWIG_FromInt((int)result);
6346 return resultobj;
6347 fail:
6348 return NULL;
6349 }
6350
6351
6352 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6353 PyObject *resultobj;
6354 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6355 int result;
6356 PyObject * obj0 = 0 ;
6357 char *kwnames[] = {
6358 (char *) "self", NULL
6359 };
6360
6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6367
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 }
6371 resultobj = SWIG_FromInt((int)result);
6372 return resultobj;
6373 fail:
6374 return NULL;
6375 }
6376
6377
6378 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6379 PyObject *resultobj;
6380 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6381 int arg2 ;
6382 bool arg3 = (bool) True ;
6383 PyObject * obj0 = 0 ;
6384 PyObject * obj1 = 0 ;
6385 PyObject * obj2 = 0 ;
6386 char *kwnames[] = {
6387 (char *) "self",(char *) "position",(char *) "redraw", NULL
6388 };
6389
6390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6393 arg2 = (int) SWIG_AsInt(obj1);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 if (obj2) {
6396 arg3 = (bool) SWIG_AsBool(obj2);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
6401 (arg1)->SetSashPosition(arg2,arg3);
6402
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 Py_INCREF(Py_None); resultobj = Py_None;
6407 return resultobj;
6408 fail:
6409 return NULL;
6410 }
6411
6412
6413 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj;
6415 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6416 int result;
6417 PyObject * obj0 = 0 ;
6418 char *kwnames[] = {
6419 (char *) "self", NULL
6420 };
6421
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6428
6429 wxPyEndAllowThreads(__tstate);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 }
6432 resultobj = SWIG_FromInt((int)result);
6433 return resultobj;
6434 fail:
6435 return NULL;
6436 }
6437
6438
6439 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6440 PyObject *resultobj;
6441 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6442 int arg2 ;
6443 PyObject * obj0 = 0 ;
6444 PyObject * obj1 = 0 ;
6445 char *kwnames[] = {
6446 (char *) "self",(char *) "min", NULL
6447 };
6448
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6452 arg2 = (int) SWIG_AsInt(obj1);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 {
6455 PyThreadState* __tstate = wxPyBeginAllowThreads();
6456 (arg1)->SetMinimumPaneSize(arg2);
6457
6458 wxPyEndAllowThreads(__tstate);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 }
6461 Py_INCREF(Py_None); resultobj = Py_None;
6462 return resultobj;
6463 fail:
6464 return NULL;
6465 }
6466
6467
6468 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6469 PyObject *resultobj;
6470 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6471 int result;
6472 PyObject * obj0 = 0 ;
6473 char *kwnames[] = {
6474 (char *) "self", NULL
6475 };
6476
6477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6480 {
6481 PyThreadState* __tstate = wxPyBeginAllowThreads();
6482 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6483
6484 wxPyEndAllowThreads(__tstate);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 }
6487 resultobj = SWIG_FromInt((int)result);
6488 return resultobj;
6489 fail:
6490 return NULL;
6491 }
6492
6493
6494 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6495 PyObject *resultobj;
6496 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6497 int arg2 ;
6498 int arg3 ;
6499 int arg4 = (int) 5 ;
6500 bool result;
6501 PyObject * obj0 = 0 ;
6502 PyObject * obj1 = 0 ;
6503 PyObject * obj2 = 0 ;
6504 PyObject * obj3 = 0 ;
6505 char *kwnames[] = {
6506 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6507 };
6508
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6512 arg2 = (int) SWIG_AsInt(obj1);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 arg3 = (int) SWIG_AsInt(obj2);
6515 if (PyErr_Occurred()) SWIG_fail;
6516 if (obj3) {
6517 arg4 = (int) SWIG_AsInt(obj3);
6518 if (PyErr_Occurred()) SWIG_fail;
6519 }
6520 {
6521 PyThreadState* __tstate = wxPyBeginAllowThreads();
6522 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6523
6524 wxPyEndAllowThreads(__tstate);
6525 if (PyErr_Occurred()) SWIG_fail;
6526 }
6527 {
6528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6529 }
6530 return resultobj;
6531 fail:
6532 return NULL;
6533 }
6534
6535
6536 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6537 PyObject *resultobj;
6538 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6539 PyObject * obj0 = 0 ;
6540 char *kwnames[] = {
6541 (char *) "self", NULL
6542 };
6543
6544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 (arg1)->SizeWindows();
6550
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 Py_INCREF(Py_None); resultobj = Py_None;
6555 return resultobj;
6556 fail:
6557 return NULL;
6558 }
6559
6560
6561 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6562 PyObject *resultobj;
6563 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6564 bool arg2 ;
6565 PyObject * obj0 = 0 ;
6566 PyObject * obj1 = 0 ;
6567 char *kwnames[] = {
6568 (char *) "self",(char *) "needUpdating", NULL
6569 };
6570
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6574 arg2 = (bool) SWIG_AsBool(obj1);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 {
6577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6578 (arg1)->SetNeedUpdating(arg2);
6579
6580 wxPyEndAllowThreads(__tstate);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 Py_INCREF(Py_None); resultobj = Py_None;
6584 return resultobj;
6585 fail:
6586 return NULL;
6587 }
6588
6589
6590 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6591 PyObject *resultobj;
6592 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6593 bool result;
6594 PyObject * obj0 = 0 ;
6595 char *kwnames[] = {
6596 (char *) "self", NULL
6597 };
6598
6599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6602 {
6603 PyThreadState* __tstate = wxPyBeginAllowThreads();
6604 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6605
6606 wxPyEndAllowThreads(__tstate);
6607 if (PyErr_Occurred()) SWIG_fail;
6608 }
6609 {
6610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6611 }
6612 return resultobj;
6613 fail:
6614 return NULL;
6615 }
6616
6617
6618 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6619 PyObject *resultobj;
6620 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6621 wxVisualAttributes result;
6622 PyObject * obj0 = 0 ;
6623 char *kwnames[] = {
6624 (char *) "variant", NULL
6625 };
6626
6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6628 if (obj0) {
6629 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 }
6632 {
6633 if (!wxPyCheckForApp()) SWIG_fail;
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6636
6637 wxPyEndAllowThreads(__tstate);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 }
6640 {
6641 wxVisualAttributes * resultptr;
6642 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6644 }
6645 return resultobj;
6646 fail:
6647 return NULL;
6648 }
6649
6650
6651 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6652 PyObject *obj;
6653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6654 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6655 Py_INCREF(obj);
6656 return Py_BuildValue((char *)"");
6657 }
6658 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6659 PyObject *resultobj;
6660 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6661 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6662 wxSplitterEvent *result;
6663 PyObject * obj0 = 0 ;
6664 PyObject * obj1 = 0 ;
6665 char *kwnames[] = {
6666 (char *) "type",(char *) "splitter", NULL
6667 };
6668
6669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6670 if (obj0) {
6671 arg1 = (wxEventType) SWIG_AsInt(obj0);
6672 if (PyErr_Occurred()) SWIG_fail;
6673 }
6674 if (obj1) {
6675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6677 }
6678 {
6679 PyThreadState* __tstate = wxPyBeginAllowThreads();
6680 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6681
6682 wxPyEndAllowThreads(__tstate);
6683 if (PyErr_Occurred()) SWIG_fail;
6684 }
6685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6686 return resultobj;
6687 fail:
6688 return NULL;
6689 }
6690
6691
6692 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6693 PyObject *resultobj;
6694 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6695 int arg2 ;
6696 PyObject * obj0 = 0 ;
6697 PyObject * obj1 = 0 ;
6698 char *kwnames[] = {
6699 (char *) "self",(char *) "pos", NULL
6700 };
6701
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6705 arg2 = (int) SWIG_AsInt(obj1);
6706 if (PyErr_Occurred()) SWIG_fail;
6707 {
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 (arg1)->SetSashPosition(arg2);
6710
6711 wxPyEndAllowThreads(__tstate);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 }
6714 Py_INCREF(Py_None); resultobj = Py_None;
6715 return resultobj;
6716 fail:
6717 return NULL;
6718 }
6719
6720
6721 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6722 PyObject *resultobj;
6723 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6724 int result;
6725 PyObject * obj0 = 0 ;
6726 char *kwnames[] = {
6727 (char *) "self", NULL
6728 };
6729
6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6733 {
6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
6735 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6736
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 resultobj = SWIG_FromInt((int)result);
6741 return resultobj;
6742 fail:
6743 return NULL;
6744 }
6745
6746
6747 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj;
6749 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6750 wxWindow *result;
6751 PyObject * obj0 = 0 ;
6752 char *kwnames[] = {
6753 (char *) "self", NULL
6754 };
6755
6756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6759 {
6760 PyThreadState* __tstate = wxPyBeginAllowThreads();
6761 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6762
6763 wxPyEndAllowThreads(__tstate);
6764 if (PyErr_Occurred()) SWIG_fail;
6765 }
6766 {
6767 resultobj = wxPyMake_wxObject(result);
6768 }
6769 return resultobj;
6770 fail:
6771 return NULL;
6772 }
6773
6774
6775 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj;
6777 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6778 int result;
6779 PyObject * obj0 = 0 ;
6780 char *kwnames[] = {
6781 (char *) "self", NULL
6782 };
6783
6784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6787 {
6788 PyThreadState* __tstate = wxPyBeginAllowThreads();
6789 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6790
6791 wxPyEndAllowThreads(__tstate);
6792 if (PyErr_Occurred()) SWIG_fail;
6793 }
6794 resultobj = SWIG_FromInt((int)result);
6795 return resultobj;
6796 fail:
6797 return NULL;
6798 }
6799
6800
6801 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6802 PyObject *resultobj;
6803 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6804 int result;
6805 PyObject * obj0 = 0 ;
6806 char *kwnames[] = {
6807 (char *) "self", NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 resultobj = SWIG_FromInt((int)result);
6821 return resultobj;
6822 fail:
6823 return NULL;
6824 }
6825
6826
6827 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6828 PyObject *obj;
6829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6830 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6831 Py_INCREF(obj);
6832 return Py_BuildValue((char *)"");
6833 }
6834 static int _wrap_SashNameStr_set(PyObject *_val) {
6835 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6836 return 1;
6837 }
6838
6839
6840 static PyObject *_wrap_SashNameStr_get() {
6841 PyObject *pyobj;
6842
6843 {
6844 #if wxUSE_UNICODE
6845 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6846 #else
6847 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6848 #endif
6849 }
6850 return pyobj;
6851 }
6852
6853
6854 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6855 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6856 return 1;
6857 }
6858
6859
6860 static PyObject *_wrap_SashLayoutNameStr_get() {
6861 PyObject *pyobj;
6862
6863 {
6864 #if wxUSE_UNICODE
6865 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6866 #else
6867 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6868 #endif
6869 }
6870 return pyobj;
6871 }
6872
6873
6874 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6875 PyObject *resultobj;
6876 wxWindow *arg1 = (wxWindow *) 0 ;
6877 int arg2 = (int) -1 ;
6878 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6879 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6880 wxSize const &arg4_defvalue = wxDefaultSize ;
6881 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6882 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6883 wxString const &arg6_defvalue = wxPySashNameStr ;
6884 wxString *arg6 = (wxString *) &arg6_defvalue ;
6885 wxSashWindow *result;
6886 wxPoint temp3 ;
6887 wxSize temp4 ;
6888 bool temp6 = False ;
6889 PyObject * obj0 = 0 ;
6890 PyObject * obj1 = 0 ;
6891 PyObject * obj2 = 0 ;
6892 PyObject * obj3 = 0 ;
6893 PyObject * obj4 = 0 ;
6894 PyObject * obj5 = 0 ;
6895 char *kwnames[] = {
6896 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6897 };
6898
6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6902 if (obj1) {
6903 arg2 = (int) SWIG_AsInt(obj1);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 if (obj2) {
6907 {
6908 arg3 = &temp3;
6909 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6910 }
6911 }
6912 if (obj3) {
6913 {
6914 arg4 = &temp4;
6915 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6916 }
6917 }
6918 if (obj4) {
6919 arg5 = (long) SWIG_AsLong(obj4);
6920 if (PyErr_Occurred()) SWIG_fail;
6921 }
6922 if (obj5) {
6923 {
6924 arg6 = wxString_in_helper(obj5);
6925 if (arg6 == NULL) SWIG_fail;
6926 temp6 = True;
6927 }
6928 }
6929 {
6930 if (!wxPyCheckForApp()) SWIG_fail;
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6933
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6938 {
6939 if (temp6)
6940 delete arg6;
6941 }
6942 return resultobj;
6943 fail:
6944 {
6945 if (temp6)
6946 delete arg6;
6947 }
6948 return NULL;
6949 }
6950
6951
6952 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6953 PyObject *resultobj;
6954 wxSashWindow *result;
6955 char *kwnames[] = {
6956 NULL
6957 };
6958
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6960 {
6961 if (!wxPyCheckForApp()) SWIG_fail;
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 result = (wxSashWindow *)new wxSashWindow();
6964
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
6968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6969 return resultobj;
6970 fail:
6971 return NULL;
6972 }
6973
6974
6975 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6976 PyObject *resultobj;
6977 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6978 wxWindow *arg2 = (wxWindow *) 0 ;
6979 int arg3 = (int) -1 ;
6980 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6981 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6982 wxSize const &arg5_defvalue = wxDefaultSize ;
6983 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6984 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6985 wxString const &arg7_defvalue = wxPySashNameStr ;
6986 wxString *arg7 = (wxString *) &arg7_defvalue ;
6987 bool result;
6988 wxPoint temp4 ;
6989 wxSize temp5 ;
6990 bool temp7 = False ;
6991 PyObject * obj0 = 0 ;
6992 PyObject * obj1 = 0 ;
6993 PyObject * obj2 = 0 ;
6994 PyObject * obj3 = 0 ;
6995 PyObject * obj4 = 0 ;
6996 PyObject * obj5 = 0 ;
6997 PyObject * obj6 = 0 ;
6998 char *kwnames[] = {
6999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7000 };
7001
7002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7007 if (obj2) {
7008 arg3 = (int) SWIG_AsInt(obj2);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 }
7011 if (obj3) {
7012 {
7013 arg4 = &temp4;
7014 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7015 }
7016 }
7017 if (obj4) {
7018 {
7019 arg5 = &temp5;
7020 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7021 }
7022 }
7023 if (obj5) {
7024 arg6 = (long) SWIG_AsLong(obj5);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 if (obj6) {
7028 {
7029 arg7 = wxString_in_helper(obj6);
7030 if (arg7 == NULL) SWIG_fail;
7031 temp7 = True;
7032 }
7033 }
7034 {
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7037
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
7041 {
7042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7043 }
7044 {
7045 if (temp7)
7046 delete arg7;
7047 }
7048 return resultobj;
7049 fail:
7050 {
7051 if (temp7)
7052 delete arg7;
7053 }
7054 return NULL;
7055 }
7056
7057
7058 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7059 PyObject *resultobj;
7060 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7061 int arg2 ;
7062 bool arg3 ;
7063 PyObject * obj0 = 0 ;
7064 PyObject * obj1 = 0 ;
7065 PyObject * obj2 = 0 ;
7066 char *kwnames[] = {
7067 (char *) "self",(char *) "edge",(char *) "sash", NULL
7068 };
7069
7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7073 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 arg3 = (bool) SWIG_AsBool(obj2);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7080
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 Py_INCREF(Py_None); resultobj = Py_None;
7085 return resultobj;
7086 fail:
7087 return NULL;
7088 }
7089
7090
7091 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7092 PyObject *resultobj;
7093 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7094 int arg2 ;
7095 bool result;
7096 PyObject * obj0 = 0 ;
7097 PyObject * obj1 = 0 ;
7098 char *kwnames[] = {
7099 (char *) "self",(char *) "edge", NULL
7100 };
7101
7102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7105 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 {
7108 PyThreadState* __tstate = wxPyBeginAllowThreads();
7109 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7110
7111 wxPyEndAllowThreads(__tstate);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 {
7115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7116 }
7117 return resultobj;
7118 fail:
7119 return NULL;
7120 }
7121
7122
7123 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7124 PyObject *resultobj;
7125 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7126 int arg2 ;
7127 bool arg3 ;
7128 PyObject * obj0 = 0 ;
7129 PyObject * obj1 = 0 ;
7130 PyObject * obj2 = 0 ;
7131 char *kwnames[] = {
7132 (char *) "self",(char *) "edge",(char *) "border", NULL
7133 };
7134
7135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7138 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7139 if (PyErr_Occurred()) SWIG_fail;
7140 arg3 = (bool) SWIG_AsBool(obj2);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7145
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 Py_INCREF(Py_None); resultobj = Py_None;
7150 return resultobj;
7151 fail:
7152 return NULL;
7153 }
7154
7155
7156 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7157 PyObject *resultobj;
7158 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7159 int arg2 ;
7160 bool result;
7161 PyObject * obj0 = 0 ;
7162 PyObject * obj1 = 0 ;
7163 char *kwnames[] = {
7164 (char *) "self",(char *) "edge", NULL
7165 };
7166
7167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7170 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7175
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 {
7180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7181 }
7182 return resultobj;
7183 fail:
7184 return NULL;
7185 }
7186
7187
7188 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
7189 PyObject *resultobj;
7190 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7191 int arg2 ;
7192 int result;
7193 PyObject * obj0 = 0 ;
7194 PyObject * obj1 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self",(char *) "edge", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7202 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 {
7205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7206 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7207
7208 wxPyEndAllowThreads(__tstate);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
7211 resultobj = SWIG_FromInt((int)result);
7212 return resultobj;
7213 fail:
7214 return NULL;
7215 }
7216
7217
7218 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7219 PyObject *resultobj;
7220 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7221 int arg2 ;
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj1 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "self",(char *) "width", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7231 arg2 = (int) SWIG_AsInt(obj1);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 {
7234 PyThreadState* __tstate = wxPyBeginAllowThreads();
7235 (arg1)->SetDefaultBorderSize(arg2);
7236
7237 wxPyEndAllowThreads(__tstate);
7238 if (PyErr_Occurred()) SWIG_fail;
7239 }
7240 Py_INCREF(Py_None); resultobj = Py_None;
7241 return resultobj;
7242 fail:
7243 return NULL;
7244 }
7245
7246
7247 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7248 PyObject *resultobj;
7249 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7250 int result;
7251 PyObject * obj0 = 0 ;
7252 char *kwnames[] = {
7253 (char *) "self", NULL
7254 };
7255
7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = SWIG_FromInt((int)result);
7267 return resultobj;
7268 fail:
7269 return NULL;
7270 }
7271
7272
7273 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj;
7275 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7276 int arg2 ;
7277 PyObject * obj0 = 0 ;
7278 PyObject * obj1 = 0 ;
7279 char *kwnames[] = {
7280 (char *) "self",(char *) "width", NULL
7281 };
7282
7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7286 arg2 = (int) SWIG_AsInt(obj1);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 (arg1)->SetExtraBorderSize(arg2);
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 Py_INCREF(Py_None); resultobj = Py_None;
7296 return resultobj;
7297 fail:
7298 return NULL;
7299 }
7300
7301
7302 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject *resultobj;
7304 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7305 int result;
7306 PyObject * obj0 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "self", NULL
7309 };
7310
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7317
7318 wxPyEndAllowThreads(__tstate);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 resultobj = SWIG_FromInt((int)result);
7322 return resultobj;
7323 fail:
7324 return NULL;
7325 }
7326
7327
7328 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj;
7330 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7331 int arg2 ;
7332 PyObject * obj0 = 0 ;
7333 PyObject * obj1 = 0 ;
7334 char *kwnames[] = {
7335 (char *) "self",(char *) "min", NULL
7336 };
7337
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7341 arg2 = (int) SWIG_AsInt(obj1);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 (arg1)->SetMinimumSizeX(arg2);
7346
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 Py_INCREF(Py_None); resultobj = Py_None;
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj;
7359 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7360 int arg2 ;
7361 PyObject * obj0 = 0 ;
7362 PyObject * obj1 = 0 ;
7363 char *kwnames[] = {
7364 (char *) "self",(char *) "min", NULL
7365 };
7366
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7370 arg2 = (int) SWIG_AsInt(obj1);
7371 if (PyErr_Occurred()) SWIG_fail;
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 (arg1)->SetMinimumSizeY(arg2);
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 Py_INCREF(Py_None); resultobj = Py_None;
7380 return resultobj;
7381 fail:
7382 return NULL;
7383 }
7384
7385
7386 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7387 PyObject *resultobj;
7388 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7389 int result;
7390 PyObject * obj0 = 0 ;
7391 char *kwnames[] = {
7392 (char *) "self", NULL
7393 };
7394
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7398 {
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7401
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 resultobj = SWIG_FromInt((int)result);
7406 return resultobj;
7407 fail:
7408 return NULL;
7409 }
7410
7411
7412 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7413 PyObject *resultobj;
7414 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7415 int result;
7416 PyObject * obj0 = 0 ;
7417 char *kwnames[] = {
7418 (char *) "self", NULL
7419 };
7420
7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
7431 resultobj = SWIG_FromInt((int)result);
7432 return resultobj;
7433 fail:
7434 return NULL;
7435 }
7436
7437
7438 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7439 PyObject *resultobj;
7440 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7441 int arg2 ;
7442 PyObject * obj0 = 0 ;
7443 PyObject * obj1 = 0 ;
7444 char *kwnames[] = {
7445 (char *) "self",(char *) "max", NULL
7446 };
7447
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7451 arg2 = (int) SWIG_AsInt(obj1);
7452 if (PyErr_Occurred()) SWIG_fail;
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 (arg1)->SetMaximumSizeX(arg2);
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 Py_INCREF(Py_None); resultobj = Py_None;
7461 return resultobj;
7462 fail:
7463 return NULL;
7464 }
7465
7466
7467 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7468 PyObject *resultobj;
7469 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7470 int arg2 ;
7471 PyObject * obj0 = 0 ;
7472 PyObject * obj1 = 0 ;
7473 char *kwnames[] = {
7474 (char *) "self",(char *) "max", NULL
7475 };
7476
7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7480 arg2 = (int) SWIG_AsInt(obj1);
7481 if (PyErr_Occurred()) SWIG_fail;
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 (arg1)->SetMaximumSizeY(arg2);
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 Py_INCREF(Py_None); resultobj = Py_None;
7490 return resultobj;
7491 fail:
7492 return NULL;
7493 }
7494
7495
7496 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7497 PyObject *resultobj;
7498 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7499 int result;
7500 PyObject * obj0 = 0 ;
7501 char *kwnames[] = {
7502 (char *) "self", NULL
7503 };
7504
7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 resultobj = SWIG_FromInt((int)result);
7516 return resultobj;
7517 fail:
7518 return NULL;
7519 }
7520
7521
7522 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7523 PyObject *resultobj;
7524 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7525 int result;
7526 PyObject * obj0 = 0 ;
7527 char *kwnames[] = {
7528 (char *) "self", NULL
7529 };
7530
7531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7537
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 resultobj = SWIG_FromInt((int)result);
7542 return resultobj;
7543 fail:
7544 return NULL;
7545 }
7546
7547
7548 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7549 PyObject *resultobj;
7550 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7551 int arg2 ;
7552 int arg3 ;
7553 int arg4 = (int) 2 ;
7554 int result;
7555 PyObject * obj0 = 0 ;
7556 PyObject * obj1 = 0 ;
7557 PyObject * obj2 = 0 ;
7558 PyObject * obj3 = 0 ;
7559 char *kwnames[] = {
7560 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7561 };
7562
7563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7566 arg2 = (int) SWIG_AsInt(obj1);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 arg3 = (int) SWIG_AsInt(obj2);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 if (obj3) {
7571 arg4 = (int) SWIG_AsInt(obj3);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
7574 {
7575 PyThreadState* __tstate = wxPyBeginAllowThreads();
7576 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7577
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 resultobj = SWIG_FromInt((int)result);
7582 return resultobj;
7583 fail:
7584 return NULL;
7585 }
7586
7587
7588 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj;
7590 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7591 PyObject * obj0 = 0 ;
7592 char *kwnames[] = {
7593 (char *) "self", NULL
7594 };
7595
7596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7599 {
7600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7601 (arg1)->SizeWindows();
7602
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 Py_INCREF(Py_None); resultobj = Py_None;
7607 return resultobj;
7608 fail:
7609 return NULL;
7610 }
7611
7612
7613 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7614 PyObject *obj;
7615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7616 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7617 Py_INCREF(obj);
7618 return Py_BuildValue((char *)"");
7619 }
7620 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7621 PyObject *resultobj;
7622 int arg1 = (int) 0 ;
7623 int arg2 = (int) wxSASH_NONE ;
7624 wxSashEvent *result;
7625 PyObject * obj0 = 0 ;
7626 PyObject * obj1 = 0 ;
7627 char *kwnames[] = {
7628 (char *) "id",(char *) "edge", NULL
7629 };
7630
7631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7632 if (obj0) {
7633 arg1 = (int) SWIG_AsInt(obj0);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
7636 if (obj1) {
7637 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7648 return resultobj;
7649 fail:
7650 return NULL;
7651 }
7652
7653
7654 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj;
7656 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7657 int arg2 ;
7658 PyObject * obj0 = 0 ;
7659 PyObject * obj1 = 0 ;
7660 char *kwnames[] = {
7661 (char *) "self",(char *) "edge", NULL
7662 };
7663
7664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7667 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7668 if (PyErr_Occurred()) SWIG_fail;
7669 {
7670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7671 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7672
7673 wxPyEndAllowThreads(__tstate);
7674 if (PyErr_Occurred()) SWIG_fail;
7675 }
7676 Py_INCREF(Py_None); resultobj = Py_None;
7677 return resultobj;
7678 fail:
7679 return NULL;
7680 }
7681
7682
7683 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7684 PyObject *resultobj;
7685 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7686 int result;
7687 PyObject * obj0 = 0 ;
7688 char *kwnames[] = {
7689 (char *) "self", NULL
7690 };
7691
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 resultobj = SWIG_FromInt((int)result);
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj;
7711 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7712 wxRect *arg2 = 0 ;
7713 wxRect temp2 ;
7714 PyObject * obj0 = 0 ;
7715 PyObject * obj1 = 0 ;
7716 char *kwnames[] = {
7717 (char *) "self",(char *) "rect", NULL
7718 };
7719
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7723 {
7724 arg2 = &temp2;
7725 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7726 }
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 (arg1)->SetDragRect((wxRect const &)*arg2);
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 Py_INCREF(Py_None); resultobj = Py_None;
7735 return resultobj;
7736 fail:
7737 return NULL;
7738 }
7739
7740
7741 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7742 PyObject *resultobj;
7743 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7744 wxRect result;
7745 PyObject * obj0 = 0 ;
7746 char *kwnames[] = {
7747 (char *) "self", NULL
7748 };
7749
7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 result = ((wxSashEvent const *)arg1)->GetDragRect();
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 {
7761 wxRect * resultptr;
7762 resultptr = new wxRect((wxRect &) result);
7763 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7764 }
7765 return resultobj;
7766 fail:
7767 return NULL;
7768 }
7769
7770
7771 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj;
7773 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7774 int arg2 ;
7775 PyObject * obj0 = 0 ;
7776 PyObject * obj1 = 0 ;
7777 char *kwnames[] = {
7778 (char *) "self",(char *) "status", NULL
7779 };
7780
7781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7784 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7785 if (PyErr_Occurred()) SWIG_fail;
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7789
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 Py_INCREF(Py_None); resultobj = Py_None;
7794 return resultobj;
7795 fail:
7796 return NULL;
7797 }
7798
7799
7800 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7801 PyObject *resultobj;
7802 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7803 int result;
7804 PyObject * obj0 = 0 ;
7805 char *kwnames[] = {
7806 (char *) "self", NULL
7807 };
7808
7809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7812 {
7813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7814 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7815
7816 wxPyEndAllowThreads(__tstate);
7817 if (PyErr_Occurred()) SWIG_fail;
7818 }
7819 resultobj = SWIG_FromInt((int)result);
7820 return resultobj;
7821 fail:
7822 return NULL;
7823 }
7824
7825
7826 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7827 PyObject *obj;
7828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7829 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7830 Py_INCREF(obj);
7831 return Py_BuildValue((char *)"");
7832 }
7833 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7834 PyObject *resultobj;
7835 int arg1 = (int) 0 ;
7836 wxQueryLayoutInfoEvent *result;
7837 PyObject * obj0 = 0 ;
7838 char *kwnames[] = {
7839 (char *) "id", NULL
7840 };
7841
7842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7843 if (obj0) {
7844 arg1 = (int) SWIG_AsInt(obj0);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 }
7847 {
7848 PyThreadState* __tstate = wxPyBeginAllowThreads();
7849 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7850
7851 wxPyEndAllowThreads(__tstate);
7852 if (PyErr_Occurred()) SWIG_fail;
7853 }
7854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7855 return resultobj;
7856 fail:
7857 return NULL;
7858 }
7859
7860
7861 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7862 PyObject *resultobj;
7863 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7864 int arg2 ;
7865 PyObject * obj0 = 0 ;
7866 PyObject * obj1 = 0 ;
7867 char *kwnames[] = {
7868 (char *) "self",(char *) "length", NULL
7869 };
7870
7871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7874 arg2 = (int) SWIG_AsInt(obj1);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 (arg1)->SetRequestedLength(arg2);
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 Py_INCREF(Py_None); resultobj = Py_None;
7884 return resultobj;
7885 fail:
7886 return NULL;
7887 }
7888
7889
7890 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7891 PyObject *resultobj;
7892 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7893 int result;
7894 PyObject * obj0 = 0 ;
7895 char *kwnames[] = {
7896 (char *) "self", NULL
7897 };
7898
7899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7902 {
7903 PyThreadState* __tstate = wxPyBeginAllowThreads();
7904 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7905
7906 wxPyEndAllowThreads(__tstate);
7907 if (PyErr_Occurred()) SWIG_fail;
7908 }
7909 resultobj = SWIG_FromInt((int)result);
7910 return resultobj;
7911 fail:
7912 return NULL;
7913 }
7914
7915
7916 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7917 PyObject *resultobj;
7918 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7919 int arg2 ;
7920 PyObject * obj0 = 0 ;
7921 PyObject * obj1 = 0 ;
7922 char *kwnames[] = {
7923 (char *) "self",(char *) "flags", NULL
7924 };
7925
7926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7929 arg2 = (int) SWIG_AsInt(obj1);
7930 if (PyErr_Occurred()) SWIG_fail;
7931 {
7932 PyThreadState* __tstate = wxPyBeginAllowThreads();
7933 (arg1)->SetFlags(arg2);
7934
7935 wxPyEndAllowThreads(__tstate);
7936 if (PyErr_Occurred()) SWIG_fail;
7937 }
7938 Py_INCREF(Py_None); resultobj = Py_None;
7939 return resultobj;
7940 fail:
7941 return NULL;
7942 }
7943
7944
7945 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7946 PyObject *resultobj;
7947 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7948 int result;
7949 PyObject * obj0 = 0 ;
7950 char *kwnames[] = {
7951 (char *) "self", NULL
7952 };
7953
7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7957 {
7958 PyThreadState* __tstate = wxPyBeginAllowThreads();
7959 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7960
7961 wxPyEndAllowThreads(__tstate);
7962 if (PyErr_Occurred()) SWIG_fail;
7963 }
7964 resultobj = SWIG_FromInt((int)result);
7965 return resultobj;
7966 fail:
7967 return NULL;
7968 }
7969
7970
7971 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7972 PyObject *resultobj;
7973 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7974 wxSize *arg2 = 0 ;
7975 wxSize temp2 ;
7976 PyObject * obj0 = 0 ;
7977 PyObject * obj1 = 0 ;
7978 char *kwnames[] = {
7979 (char *) "self",(char *) "size", NULL
7980 };
7981
7982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7985 {
7986 arg2 = &temp2;
7987 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7988 }
7989 {
7990 PyThreadState* __tstate = wxPyBeginAllowThreads();
7991 (arg1)->SetSize((wxSize const &)*arg2);
7992
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 Py_INCREF(Py_None); resultobj = Py_None;
7997 return resultobj;
7998 fail:
7999 return NULL;
8000 }
8001
8002
8003 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8004 PyObject *resultobj;
8005 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8006 wxSize result;
8007 PyObject * obj0 = 0 ;
8008 char *kwnames[] = {
8009 (char *) "self", NULL
8010 };
8011
8012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8018
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 {
8023 wxSize * resultptr;
8024 resultptr = new wxSize((wxSize &) result);
8025 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8026 }
8027 return resultobj;
8028 fail:
8029 return NULL;
8030 }
8031
8032
8033 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8034 PyObject *resultobj;
8035 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8036 int arg2 ;
8037 PyObject * obj0 = 0 ;
8038 PyObject * obj1 = 0 ;
8039 char *kwnames[] = {
8040 (char *) "self",(char *) "orient", NULL
8041 };
8042
8043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8046 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 {
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8051
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 Py_INCREF(Py_None); resultobj = Py_None;
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj;
8064 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8065 int result;
8066 PyObject * obj0 = 0 ;
8067 char *kwnames[] = {
8068 (char *) "self", NULL
8069 };
8070
8071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 resultobj = SWIG_FromInt((int)result);
8082 return resultobj;
8083 fail:
8084 return NULL;
8085 }
8086
8087
8088 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8089 PyObject *resultobj;
8090 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8091 int arg2 ;
8092 PyObject * obj0 = 0 ;
8093 PyObject * obj1 = 0 ;
8094 char *kwnames[] = {
8095 (char *) "self",(char *) "align", NULL
8096 };
8097
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8101 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8106
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 Py_INCREF(Py_None); resultobj = Py_None;
8111 return resultobj;
8112 fail:
8113 return NULL;
8114 }
8115
8116
8117 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8118 PyObject *resultobj;
8119 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8120 int result;
8121 PyObject * obj0 = 0 ;
8122 char *kwnames[] = {
8123 (char *) "self", NULL
8124 };
8125
8126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8129 {
8130 PyThreadState* __tstate = wxPyBeginAllowThreads();
8131 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8132
8133 wxPyEndAllowThreads(__tstate);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 }
8136 resultobj = SWIG_FromInt((int)result);
8137 return resultobj;
8138 fail:
8139 return NULL;
8140 }
8141
8142
8143 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
8144 PyObject *obj;
8145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8146 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8147 Py_INCREF(obj);
8148 return Py_BuildValue((char *)"");
8149 }
8150 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj;
8152 int arg1 = (int) 0 ;
8153 wxCalculateLayoutEvent *result;
8154 PyObject * obj0 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "id", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8160 if (obj0) {
8161 arg1 = (int) SWIG_AsInt(obj0);
8162 if (PyErr_Occurred()) SWIG_fail;
8163 }
8164 {
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8167
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8172 return resultobj;
8173 fail:
8174 return NULL;
8175 }
8176
8177
8178 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8181 int arg2 ;
8182 PyObject * obj0 = 0 ;
8183 PyObject * obj1 = 0 ;
8184 char *kwnames[] = {
8185 (char *) "self",(char *) "flags", NULL
8186 };
8187
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8191 arg2 = (int) SWIG_AsInt(obj1);
8192 if (PyErr_Occurred()) SWIG_fail;
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 (arg1)->SetFlags(arg2);
8196
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 Py_INCREF(Py_None); resultobj = Py_None;
8201 return resultobj;
8202 fail:
8203 return NULL;
8204 }
8205
8206
8207 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8208 PyObject *resultobj;
8209 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8210 int result;
8211 PyObject * obj0 = 0 ;
8212 char *kwnames[] = {
8213 (char *) "self", NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
8226 resultobj = SWIG_FromInt((int)result);
8227 return resultobj;
8228 fail:
8229 return NULL;
8230 }
8231
8232
8233 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8234 PyObject *resultobj;
8235 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8236 wxRect *arg2 = 0 ;
8237 wxRect temp2 ;
8238 PyObject * obj0 = 0 ;
8239 PyObject * obj1 = 0 ;
8240 char *kwnames[] = {
8241 (char *) "self",(char *) "rect", NULL
8242 };
8243
8244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8247 {
8248 arg2 = &temp2;
8249 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8250 }
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 (arg1)->SetRect((wxRect const &)*arg2);
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 Py_INCREF(Py_None); resultobj = Py_None;
8259 return resultobj;
8260 fail:
8261 return NULL;
8262 }
8263
8264
8265 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj;
8267 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8268 wxRect result;
8269 PyObject * obj0 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 {
8285 wxRect * resultptr;
8286 resultptr = new wxRect((wxRect &) result);
8287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8288 }
8289 return resultobj;
8290 fail:
8291 return NULL;
8292 }
8293
8294
8295 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8296 PyObject *obj;
8297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8298 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8299 Py_INCREF(obj);
8300 return Py_BuildValue((char *)"");
8301 }
8302 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8303 PyObject *resultobj;
8304 wxWindow *arg1 = (wxWindow *) 0 ;
8305 int arg2 = (int) -1 ;
8306 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8307 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8308 wxSize const &arg4_defvalue = wxDefaultSize ;
8309 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8310 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8311 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8312 wxString *arg6 = (wxString *) &arg6_defvalue ;
8313 wxSashLayoutWindow *result;
8314 wxPoint temp3 ;
8315 wxSize temp4 ;
8316 bool temp6 = False ;
8317 PyObject * obj0 = 0 ;
8318 PyObject * obj1 = 0 ;
8319 PyObject * obj2 = 0 ;
8320 PyObject * obj3 = 0 ;
8321 PyObject * obj4 = 0 ;
8322 PyObject * obj5 = 0 ;
8323 char *kwnames[] = {
8324 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8325 };
8326
8327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8330 if (obj1) {
8331 arg2 = (int) SWIG_AsInt(obj1);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 }
8334 if (obj2) {
8335 {
8336 arg3 = &temp3;
8337 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8338 }
8339 }
8340 if (obj3) {
8341 {
8342 arg4 = &temp4;
8343 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8344 }
8345 }
8346 if (obj4) {
8347 arg5 = (long) SWIG_AsLong(obj4);
8348 if (PyErr_Occurred()) SWIG_fail;
8349 }
8350 if (obj5) {
8351 {
8352 arg6 = wxString_in_helper(obj5);
8353 if (arg6 == NULL) SWIG_fail;
8354 temp6 = True;
8355 }
8356 }
8357 {
8358 if (!wxPyCheckForApp()) SWIG_fail;
8359 PyThreadState* __tstate = wxPyBeginAllowThreads();
8360 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8361
8362 wxPyEndAllowThreads(__tstate);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8366 {
8367 if (temp6)
8368 delete arg6;
8369 }
8370 return resultobj;
8371 fail:
8372 {
8373 if (temp6)
8374 delete arg6;
8375 }
8376 return NULL;
8377 }
8378
8379
8380 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8381 PyObject *resultobj;
8382 wxSashLayoutWindow *result;
8383 char *kwnames[] = {
8384 NULL
8385 };
8386
8387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8388 {
8389 if (!wxPyCheckForApp()) SWIG_fail;
8390 PyThreadState* __tstate = wxPyBeginAllowThreads();
8391 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8392
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8397 return resultobj;
8398 fail:
8399 return NULL;
8400 }
8401
8402
8403 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8404 PyObject *resultobj;
8405 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8406 wxWindow *arg2 = (wxWindow *) 0 ;
8407 int arg3 = (int) -1 ;
8408 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8409 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8410 wxSize const &arg5_defvalue = wxDefaultSize ;
8411 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8412 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8413 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8414 wxString *arg7 = (wxString *) &arg7_defvalue ;
8415 bool result;
8416 wxPoint temp4 ;
8417 wxSize temp5 ;
8418 bool temp7 = False ;
8419 PyObject * obj0 = 0 ;
8420 PyObject * obj1 = 0 ;
8421 PyObject * obj2 = 0 ;
8422 PyObject * obj3 = 0 ;
8423 PyObject * obj4 = 0 ;
8424 PyObject * obj5 = 0 ;
8425 PyObject * obj6 = 0 ;
8426 char *kwnames[] = {
8427 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8428 };
8429
8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8435 if (obj2) {
8436 arg3 = (int) SWIG_AsInt(obj2);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 }
8439 if (obj3) {
8440 {
8441 arg4 = &temp4;
8442 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8443 }
8444 }
8445 if (obj4) {
8446 {
8447 arg5 = &temp5;
8448 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8449 }
8450 }
8451 if (obj5) {
8452 arg6 = (long) SWIG_AsLong(obj5);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 }
8455 if (obj6) {
8456 {
8457 arg7 = wxString_in_helper(obj6);
8458 if (arg7 == NULL) SWIG_fail;
8459 temp7 = True;
8460 }
8461 }
8462 {
8463 PyThreadState* __tstate = wxPyBeginAllowThreads();
8464 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8465
8466 wxPyEndAllowThreads(__tstate);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 }
8469 {
8470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8471 }
8472 {
8473 if (temp7)
8474 delete arg7;
8475 }
8476 return resultobj;
8477 fail:
8478 {
8479 if (temp7)
8480 delete arg7;
8481 }
8482 return NULL;
8483 }
8484
8485
8486 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj;
8488 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8489 int result;
8490 PyObject * obj0 = 0 ;
8491 char *kwnames[] = {
8492 (char *) "self", NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8498 {
8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
8500 result = (int)(arg1)->GetAlignment();
8501
8502 wxPyEndAllowThreads(__tstate);
8503 if (PyErr_Occurred()) SWIG_fail;
8504 }
8505 resultobj = SWIG_FromInt((int)result);
8506 return resultobj;
8507 fail:
8508 return NULL;
8509 }
8510
8511
8512 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8513 PyObject *resultobj;
8514 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8515 int result;
8516 PyObject * obj0 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "self", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8524 {
8525 PyThreadState* __tstate = wxPyBeginAllowThreads();
8526 result = (int)(arg1)->GetOrientation();
8527
8528 wxPyEndAllowThreads(__tstate);
8529 if (PyErr_Occurred()) SWIG_fail;
8530 }
8531 resultobj = SWIG_FromInt((int)result);
8532 return resultobj;
8533 fail:
8534 return NULL;
8535 }
8536
8537
8538 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8539 PyObject *resultobj;
8540 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8541 int arg2 ;
8542 PyObject * obj0 = 0 ;
8543 PyObject * obj1 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "self",(char *) "alignment", NULL
8546 };
8547
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8551 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8556
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 Py_INCREF(Py_None); resultobj = Py_None;
8561 return resultobj;
8562 fail:
8563 return NULL;
8564 }
8565
8566
8567 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8568 PyObject *resultobj;
8569 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8570 wxSize *arg2 = 0 ;
8571 wxSize temp2 ;
8572 PyObject * obj0 = 0 ;
8573 PyObject * obj1 = 0 ;
8574 char *kwnames[] = {
8575 (char *) "self",(char *) "size", NULL
8576 };
8577
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8581 {
8582 arg2 = &temp2;
8583 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8584 }
8585 {
8586 PyThreadState* __tstate = wxPyBeginAllowThreads();
8587 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8588
8589 wxPyEndAllowThreads(__tstate);
8590 if (PyErr_Occurred()) SWIG_fail;
8591 }
8592 Py_INCREF(Py_None); resultobj = Py_None;
8593 return resultobj;
8594 fail:
8595 return NULL;
8596 }
8597
8598
8599 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8600 PyObject *resultobj;
8601 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8602 int arg2 ;
8603 PyObject * obj0 = 0 ;
8604 PyObject * obj1 = 0 ;
8605 char *kwnames[] = {
8606 (char *) "self",(char *) "orientation", NULL
8607 };
8608
8609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8612 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8613 if (PyErr_Occurred()) SWIG_fail;
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8617
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 Py_INCREF(Py_None); resultobj = Py_None;
8622 return resultobj;
8623 fail:
8624 return NULL;
8625 }
8626
8627
8628 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8629 PyObject *obj;
8630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8631 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8632 Py_INCREF(obj);
8633 return Py_BuildValue((char *)"");
8634 }
8635 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8636 PyObject *resultobj;
8637 wxLayoutAlgorithm *result;
8638 char *kwnames[] = {
8639 NULL
8640 };
8641
8642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8643 {
8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
8645 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8646
8647 wxPyEndAllowThreads(__tstate);
8648 if (PyErr_Occurred()) SWIG_fail;
8649 }
8650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8651 return resultobj;
8652 fail:
8653 return NULL;
8654 }
8655
8656
8657 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8658 PyObject *resultobj;
8659 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8660 PyObject * obj0 = 0 ;
8661 char *kwnames[] = {
8662 (char *) "self", NULL
8663 };
8664
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8668 {
8669 PyThreadState* __tstate = wxPyBeginAllowThreads();
8670 delete arg1;
8671
8672 wxPyEndAllowThreads(__tstate);
8673 if (PyErr_Occurred()) SWIG_fail;
8674 }
8675 Py_INCREF(Py_None); resultobj = Py_None;
8676 return resultobj;
8677 fail:
8678 return NULL;
8679 }
8680
8681
8682 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8683 PyObject *resultobj;
8684 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8685 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8686 wxRect *arg3 = (wxRect *) NULL ;
8687 bool result;
8688 PyObject * obj0 = 0 ;
8689 PyObject * obj1 = 0 ;
8690 PyObject * obj2 = 0 ;
8691 char *kwnames[] = {
8692 (char *) "self",(char *) "frame",(char *) "rect", NULL
8693 };
8694
8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8700 if (obj2) {
8701 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8703 }
8704 {
8705 PyThreadState* __tstate = wxPyBeginAllowThreads();
8706 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8707
8708 wxPyEndAllowThreads(__tstate);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 {
8712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8713 }
8714 return resultobj;
8715 fail:
8716 return NULL;
8717 }
8718
8719
8720 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8721 PyObject *resultobj;
8722 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8723 wxFrame *arg2 = (wxFrame *) 0 ;
8724 wxWindow *arg3 = (wxWindow *) NULL ;
8725 bool result;
8726 PyObject * obj0 = 0 ;
8727 PyObject * obj1 = 0 ;
8728 PyObject * obj2 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8738 if (obj2) {
8739 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8741 }
8742 {
8743 PyThreadState* __tstate = wxPyBeginAllowThreads();
8744 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8745
8746 wxPyEndAllowThreads(__tstate);
8747 if (PyErr_Occurred()) SWIG_fail;
8748 }
8749 {
8750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8751 }
8752 return resultobj;
8753 fail:
8754 return NULL;
8755 }
8756
8757
8758 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8759 PyObject *resultobj;
8760 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8761 wxWindow *arg2 = (wxWindow *) 0 ;
8762 wxWindow *arg3 = (wxWindow *) NULL ;
8763 bool result;
8764 PyObject * obj0 = 0 ;
8765 PyObject * obj1 = 0 ;
8766 PyObject * obj2 = 0 ;
8767 char *kwnames[] = {
8768 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8769 };
8770
8771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8774 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8776 if (obj2) {
8777 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8779 }
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 {
8788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8789 }
8790 return resultobj;
8791 fail:
8792 return NULL;
8793 }
8794
8795
8796 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8797 PyObject *obj;
8798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8799 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8800 Py_INCREF(obj);
8801 return Py_BuildValue((char *)"");
8802 }
8803 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8804 PyObject *resultobj;
8805 wxWindow *arg1 = (wxWindow *) 0 ;
8806 int arg2 = (int) wxBORDER_NONE ;
8807 wxPopupWindow *result;
8808 PyObject * obj0 = 0 ;
8809 PyObject * obj1 = 0 ;
8810 char *kwnames[] = {
8811 (char *) "parent",(char *) "flags", NULL
8812 };
8813
8814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8817 if (obj1) {
8818 arg2 = (int) SWIG_AsInt(obj1);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8824
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8829 return resultobj;
8830 fail:
8831 return NULL;
8832 }
8833
8834
8835 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxPopupWindow *result;
8838 char *kwnames[] = {
8839 NULL
8840 };
8841
8842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 result = (wxPopupWindow *)new wxPopupWindow();
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8851 return resultobj;
8852 fail:
8853 return NULL;
8854 }
8855
8856
8857 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8858 PyObject *obj;
8859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8860 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8861 Py_INCREF(obj);
8862 return Py_BuildValue((char *)"");
8863 }
8864 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8865 PyObject *resultobj;
8866 wxWindow *arg1 = (wxWindow *) 0 ;
8867 int arg2 = (int) wxBORDER_NONE ;
8868 wxPyPopupTransientWindow *result;
8869 PyObject * obj0 = 0 ;
8870 PyObject * obj1 = 0 ;
8871 char *kwnames[] = {
8872 (char *) "parent",(char *) "style", NULL
8873 };
8874
8875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8878 if (obj1) {
8879 arg2 = (int) SWIG_AsInt(obj1);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 {
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
8884 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8885
8886 wxPyEndAllowThreads(__tstate);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8890 return resultobj;
8891 fail:
8892 return NULL;
8893 }
8894
8895
8896 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8897 PyObject *resultobj;
8898 wxPyPopupTransientWindow *result;
8899 char *kwnames[] = {
8900 NULL
8901 };
8902
8903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
8911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8912 return resultobj;
8913 fail:
8914 return NULL;
8915 }
8916
8917
8918 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8919 PyObject *obj;
8920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8921 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8922 Py_INCREF(obj);
8923 return Py_BuildValue((char *)"");
8924 }
8925 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8926 PyObject *resultobj;
8927 wxWindow *arg1 = (wxWindow *) 0 ;
8928 wxString *arg2 = 0 ;
8929 int arg3 = (int) 100 ;
8930 wxRect *arg4 = (wxRect *) NULL ;
8931 wxTipWindow *result;
8932 bool temp2 = False ;
8933 PyObject * obj0 = 0 ;
8934 PyObject * obj1 = 0 ;
8935 PyObject * obj2 = 0 ;
8936 PyObject * obj3 = 0 ;
8937 char *kwnames[] = {
8938 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8939 };
8940
8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8944 {
8945 arg2 = wxString_in_helper(obj1);
8946 if (arg2 == NULL) SWIG_fail;
8947 temp2 = True;
8948 }
8949 if (obj2) {
8950 arg3 = (int) SWIG_AsInt(obj2);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
8953 if (obj3) {
8954 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8956 }
8957 {
8958 if (!wxPyCheckForApp()) SWIG_fail;
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8961
8962 wxPyEndAllowThreads(__tstate);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 }
8965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8966 {
8967 if (temp2)
8968 delete arg2;
8969 }
8970 return resultobj;
8971 fail:
8972 {
8973 if (temp2)
8974 delete arg2;
8975 }
8976 return NULL;
8977 }
8978
8979
8980 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj;
8982 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8983 wxRect *arg2 = 0 ;
8984 wxRect temp2 ;
8985 PyObject * obj0 = 0 ;
8986 PyObject * obj1 = 0 ;
8987 char *kwnames[] = {
8988 (char *) "self",(char *) "rectBound", NULL
8989 };
8990
8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8994 {
8995 arg2 = &temp2;
8996 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8997 }
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9001
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 Py_INCREF(Py_None); resultobj = Py_None;
9006 return resultobj;
9007 fail:
9008 return NULL;
9009 }
9010
9011
9012 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
9013 PyObject *resultobj;
9014 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9015 PyObject * obj0 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 (arg1)->Close();
9026
9027 wxPyEndAllowThreads(__tstate);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 }
9030 Py_INCREF(Py_None); resultobj = Py_None;
9031 return resultobj;
9032 fail:
9033 return NULL;
9034 }
9035
9036
9037 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
9038 PyObject *obj;
9039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9040 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9041 Py_INCREF(obj);
9042 return Py_BuildValue((char *)"");
9043 }
9044 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj;
9046 wxWindow *arg1 = (wxWindow *) 0 ;
9047 int arg2 = (int) wxID_ANY ;
9048 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9049 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9050 wxSize const &arg4_defvalue = wxDefaultSize ;
9051 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9052 long arg5 = (long) 0 ;
9053 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9054 wxString *arg6 = (wxString *) &arg6_defvalue ;
9055 wxPyVScrolledWindow *result;
9056 wxPoint temp3 ;
9057 wxSize temp4 ;
9058 bool temp6 = False ;
9059 PyObject * obj0 = 0 ;
9060 PyObject * obj1 = 0 ;
9061 PyObject * obj2 = 0 ;
9062 PyObject * obj3 = 0 ;
9063 PyObject * obj4 = 0 ;
9064 PyObject * obj5 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9072 if (obj1) {
9073 arg2 = (int) SWIG_AsInt(obj1);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 }
9076 if (obj2) {
9077 {
9078 arg3 = &temp3;
9079 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9080 }
9081 }
9082 if (obj3) {
9083 {
9084 arg4 = &temp4;
9085 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9086 }
9087 }
9088 if (obj4) {
9089 arg5 = (long) SWIG_AsLong(obj4);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 }
9092 if (obj5) {
9093 {
9094 arg6 = wxString_in_helper(obj5);
9095 if (arg6 == NULL) SWIG_fail;
9096 temp6 = True;
9097 }
9098 }
9099 {
9100 if (!wxPyCheckForApp()) SWIG_fail;
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9103
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
9107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9108 {
9109 if (temp6)
9110 delete arg6;
9111 }
9112 return resultobj;
9113 fail:
9114 {
9115 if (temp6)
9116 delete arg6;
9117 }
9118 return NULL;
9119 }
9120
9121
9122 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj;
9124 wxPyVScrolledWindow *result;
9125 char *kwnames[] = {
9126 NULL
9127 };
9128
9129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9130 {
9131 if (!wxPyCheckForApp()) SWIG_fail;
9132 PyThreadState* __tstate = wxPyBeginAllowThreads();
9133 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9134
9135 wxPyEndAllowThreads(__tstate);
9136 if (PyErr_Occurred()) SWIG_fail;
9137 }
9138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9139 return resultobj;
9140 fail:
9141 return NULL;
9142 }
9143
9144
9145 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9146 PyObject *resultobj;
9147 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9148 PyObject *arg2 = (PyObject *) 0 ;
9149 PyObject *arg3 = (PyObject *) 0 ;
9150 PyObject * obj0 = 0 ;
9151 PyObject * obj1 = 0 ;
9152 PyObject * obj2 = 0 ;
9153 char *kwnames[] = {
9154 (char *) "self",(char *) "self",(char *) "_class", NULL
9155 };
9156
9157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9160 arg2 = obj1;
9161 arg3 = obj2;
9162 {
9163 PyThreadState* __tstate = wxPyBeginAllowThreads();
9164 (arg1)->_setCallbackInfo(arg2,arg3);
9165
9166 wxPyEndAllowThreads(__tstate);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
9169 Py_INCREF(Py_None); resultobj = Py_None;
9170 return resultobj;
9171 fail:
9172 return NULL;
9173 }
9174
9175
9176 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9177 PyObject *resultobj;
9178 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9179 wxWindow *arg2 = (wxWindow *) 0 ;
9180 int arg3 = (int) wxID_ANY ;
9181 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9182 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9183 wxSize const &arg5_defvalue = wxDefaultSize ;
9184 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9185 long arg6 = (long) 0 ;
9186 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9187 wxString *arg7 = (wxString *) &arg7_defvalue ;
9188 bool result;
9189 wxPoint temp4 ;
9190 wxSize temp5 ;
9191 bool temp7 = False ;
9192 PyObject * obj0 = 0 ;
9193 PyObject * obj1 = 0 ;
9194 PyObject * obj2 = 0 ;
9195 PyObject * obj3 = 0 ;
9196 PyObject * obj4 = 0 ;
9197 PyObject * obj5 = 0 ;
9198 PyObject * obj6 = 0 ;
9199 char *kwnames[] = {
9200 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9201 };
9202
9203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9208 if (obj2) {
9209 arg3 = (int) SWIG_AsInt(obj2);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 if (obj3) {
9213 {
9214 arg4 = &temp4;
9215 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9216 }
9217 }
9218 if (obj4) {
9219 {
9220 arg5 = &temp5;
9221 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9222 }
9223 }
9224 if (obj5) {
9225 arg6 = (long) SWIG_AsLong(obj5);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 if (obj6) {
9229 {
9230 arg7 = wxString_in_helper(obj6);
9231 if (arg7 == NULL) SWIG_fail;
9232 temp7 = True;
9233 }
9234 }
9235 {
9236 PyThreadState* __tstate = wxPyBeginAllowThreads();
9237 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9238
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 {
9243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9244 }
9245 {
9246 if (temp7)
9247 delete arg7;
9248 }
9249 return resultobj;
9250 fail:
9251 {
9252 if (temp7)
9253 delete arg7;
9254 }
9255 return NULL;
9256 }
9257
9258
9259 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9260 PyObject *resultobj;
9261 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9262 size_t arg2 ;
9263 PyObject * obj0 = 0 ;
9264 PyObject * obj1 = 0 ;
9265 char *kwnames[] = {
9266 (char *) "self",(char *) "count", NULL
9267 };
9268
9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9272 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 (arg1)->SetLineCount(arg2);
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 Py_INCREF(Py_None); resultobj = Py_None;
9282 return resultobj;
9283 fail:
9284 return NULL;
9285 }
9286
9287
9288 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj;
9290 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9291 size_t arg2 ;
9292 bool result;
9293 PyObject * obj0 = 0 ;
9294 PyObject * obj1 = 0 ;
9295 char *kwnames[] = {
9296 (char *) "self",(char *) "line", NULL
9297 };
9298
9299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9302 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 {
9305 PyThreadState* __tstate = wxPyBeginAllowThreads();
9306 result = (bool)(arg1)->ScrollToLine(arg2);
9307
9308 wxPyEndAllowThreads(__tstate);
9309 if (PyErr_Occurred()) SWIG_fail;
9310 }
9311 {
9312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9313 }
9314 return resultobj;
9315 fail:
9316 return NULL;
9317 }
9318
9319
9320 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9321 PyObject *resultobj;
9322 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9323 int arg2 ;
9324 bool result;
9325 PyObject * obj0 = 0 ;
9326 PyObject * obj1 = 0 ;
9327 char *kwnames[] = {
9328 (char *) "self",(char *) "lines", NULL
9329 };
9330
9331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9334 arg2 = (int) SWIG_AsInt(obj1);
9335 if (PyErr_Occurred()) SWIG_fail;
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 result = (bool)(arg1)->ScrollLines(arg2);
9339
9340 wxPyEndAllowThreads(__tstate);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 }
9343 {
9344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9345 }
9346 return resultobj;
9347 fail:
9348 return NULL;
9349 }
9350
9351
9352 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9353 PyObject *resultobj;
9354 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9355 int arg2 ;
9356 bool result;
9357 PyObject * obj0 = 0 ;
9358 PyObject * obj1 = 0 ;
9359 char *kwnames[] = {
9360 (char *) "self",(char *) "pages", NULL
9361 };
9362
9363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9366 arg2 = (int) SWIG_AsInt(obj1);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 result = (bool)(arg1)->ScrollPages(arg2);
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 {
9376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9377 }
9378 return resultobj;
9379 fail:
9380 return NULL;
9381 }
9382
9383
9384 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9385 PyObject *resultobj;
9386 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9387 size_t arg2 ;
9388 PyObject * obj0 = 0 ;
9389 PyObject * obj1 = 0 ;
9390 char *kwnames[] = {
9391 (char *) "self",(char *) "line", NULL
9392 };
9393
9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9397 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9398 if (PyErr_Occurred()) SWIG_fail;
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 (arg1)->RefreshLine(arg2);
9402
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 }
9406 Py_INCREF(Py_None); resultobj = Py_None;
9407 return resultobj;
9408 fail:
9409 return NULL;
9410 }
9411
9412
9413 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9414 PyObject *resultobj;
9415 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9416 size_t arg2 ;
9417 size_t arg3 ;
9418 PyObject * obj0 = 0 ;
9419 PyObject * obj1 = 0 ;
9420 PyObject * obj2 = 0 ;
9421 char *kwnames[] = {
9422 (char *) "self",(char *) "from",(char *) "to", NULL
9423 };
9424
9425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9428 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 {
9433 PyThreadState* __tstate = wxPyBeginAllowThreads();
9434 (arg1)->RefreshLines(arg2,arg3);
9435
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 Py_INCREF(Py_None); resultobj = Py_None;
9440 return resultobj;
9441 fail:
9442 return NULL;
9443 }
9444
9445
9446 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9447 PyObject *resultobj;
9448 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9449 int arg2 ;
9450 int arg3 ;
9451 int result;
9452 PyObject * obj0 = 0 ;
9453 PyObject * obj1 = 0 ;
9454 PyObject * obj2 = 0 ;
9455 char *kwnames[] = {
9456 (char *) "self",(char *) "x",(char *) "y", NULL
9457 };
9458
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9462 arg2 = (int) SWIG_AsInt(obj1);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 arg3 = (int) SWIG_AsInt(obj2);
9465 if (PyErr_Occurred()) SWIG_fail;
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 resultobj = SWIG_FromInt((int)result);
9474 return resultobj;
9475 fail:
9476 return NULL;
9477 }
9478
9479
9480 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9481 PyObject *resultobj;
9482 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9483 wxPoint *arg2 = 0 ;
9484 int result;
9485 wxPoint temp2 ;
9486 PyObject * obj0 = 0 ;
9487 PyObject * obj1 = 0 ;
9488 char *kwnames[] = {
9489 (char *) "self",(char *) "pt", NULL
9490 };
9491
9492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9495 {
9496 arg2 = &temp2;
9497 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9498 }
9499 {
9500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9501 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9502
9503 wxPyEndAllowThreads(__tstate);
9504 if (PyErr_Occurred()) SWIG_fail;
9505 }
9506 resultobj = SWIG_FromInt((int)result);
9507 return resultobj;
9508 fail:
9509 return NULL;
9510 }
9511
9512
9513 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9514 PyObject *resultobj;
9515 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9516 PyObject * obj0 = 0 ;
9517 char *kwnames[] = {
9518 (char *) "self", NULL
9519 };
9520
9521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 (arg1)->RefreshAll();
9527
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 Py_INCREF(Py_None); resultobj = Py_None;
9532 return resultobj;
9533 fail:
9534 return NULL;
9535 }
9536
9537
9538 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9539 PyObject *resultobj;
9540 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9541 size_t result;
9542 PyObject * obj0 = 0 ;
9543 char *kwnames[] = {
9544 (char *) "self", NULL
9545 };
9546
9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9558 return resultobj;
9559 fail:
9560 return NULL;
9561 }
9562
9563
9564 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9565 PyObject *resultobj;
9566 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9567 size_t result;
9568 PyObject * obj0 = 0 ;
9569 char *kwnames[] = {
9570 (char *) "self", NULL
9571 };
9572
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9584 return resultobj;
9585 fail:
9586 return NULL;
9587 }
9588
9589
9590 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9591 PyObject *resultobj;
9592 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9593 size_t result;
9594 PyObject * obj0 = 0 ;
9595 char *kwnames[] = {
9596 (char *) "self", NULL
9597 };
9598
9599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9602 {
9603 PyThreadState* __tstate = wxPyBeginAllowThreads();
9604 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9605
9606 wxPyEndAllowThreads(__tstate);
9607 if (PyErr_Occurred()) SWIG_fail;
9608 }
9609 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9610 return resultobj;
9611 fail:
9612 return NULL;
9613 }
9614
9615
9616 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9617 PyObject *resultobj;
9618 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9619 size_t arg2 ;
9620 bool result;
9621 PyObject * obj0 = 0 ;
9622 PyObject * obj1 = 0 ;
9623 char *kwnames[] = {
9624 (char *) "self",(char *) "line", NULL
9625 };
9626
9627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9630 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9631 if (PyErr_Occurred()) SWIG_fail;
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 {
9640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9641 }
9642 return resultobj;
9643 fail:
9644 return NULL;
9645 }
9646
9647
9648 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9649 PyObject *obj;
9650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9651 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9652 Py_INCREF(obj);
9653 return Py_BuildValue((char *)"");
9654 }
9655 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9656 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9657 return 1;
9658 }
9659
9660
9661 static PyObject *_wrap_VListBoxNameStr_get() {
9662 PyObject *pyobj;
9663
9664 {
9665 #if wxUSE_UNICODE
9666 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9667 #else
9668 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9669 #endif
9670 }
9671 return pyobj;
9672 }
9673
9674
9675 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9676 PyObject *resultobj;
9677 wxWindow *arg1 = (wxWindow *) 0 ;
9678 int arg2 = (int) wxID_ANY ;
9679 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9680 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9681 wxSize const &arg4_defvalue = wxDefaultSize ;
9682 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9683 long arg5 = (long) 0 ;
9684 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9685 wxString *arg6 = (wxString *) &arg6_defvalue ;
9686 wxPyVListBox *result;
9687 wxPoint temp3 ;
9688 wxSize temp4 ;
9689 bool temp6 = False ;
9690 PyObject * obj0 = 0 ;
9691 PyObject * obj1 = 0 ;
9692 PyObject * obj2 = 0 ;
9693 PyObject * obj3 = 0 ;
9694 PyObject * obj4 = 0 ;
9695 PyObject * obj5 = 0 ;
9696 char *kwnames[] = {
9697 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9698 };
9699
9700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9703 if (obj1) {
9704 arg2 = (int) SWIG_AsInt(obj1);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 }
9707 if (obj2) {
9708 {
9709 arg3 = &temp3;
9710 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9711 }
9712 }
9713 if (obj3) {
9714 {
9715 arg4 = &temp4;
9716 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9717 }
9718 }
9719 if (obj4) {
9720 arg5 = (long) SWIG_AsLong(obj4);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
9723 if (obj5) {
9724 {
9725 arg6 = wxString_in_helper(obj5);
9726 if (arg6 == NULL) SWIG_fail;
9727 temp6 = True;
9728 }
9729 }
9730 {
9731 if (!wxPyCheckForApp()) SWIG_fail;
9732 PyThreadState* __tstate = wxPyBeginAllowThreads();
9733 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9734
9735 wxPyEndAllowThreads(__tstate);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
9738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9739 {
9740 if (temp6)
9741 delete arg6;
9742 }
9743 return resultobj;
9744 fail:
9745 {
9746 if (temp6)
9747 delete arg6;
9748 }
9749 return NULL;
9750 }
9751
9752
9753 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9754 PyObject *resultobj;
9755 wxPyVListBox *result;
9756 char *kwnames[] = {
9757 NULL
9758 };
9759
9760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9761 {
9762 if (!wxPyCheckForApp()) SWIG_fail;
9763 PyThreadState* __tstate = wxPyBeginAllowThreads();
9764 result = (wxPyVListBox *)new wxPyVListBox();
9765
9766 wxPyEndAllowThreads(__tstate);
9767 if (PyErr_Occurred()) SWIG_fail;
9768 }
9769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9770 return resultobj;
9771 fail:
9772 return NULL;
9773 }
9774
9775
9776 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9777 PyObject *resultobj;
9778 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9779 PyObject *arg2 = (PyObject *) 0 ;
9780 PyObject *arg3 = (PyObject *) 0 ;
9781 PyObject * obj0 = 0 ;
9782 PyObject * obj1 = 0 ;
9783 PyObject * obj2 = 0 ;
9784 char *kwnames[] = {
9785 (char *) "self",(char *) "self",(char *) "_class", NULL
9786 };
9787
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9791 arg2 = obj1;
9792 arg3 = obj2;
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 (arg1)->_setCallbackInfo(arg2,arg3);
9796
9797 wxPyEndAllowThreads(__tstate);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
9800 Py_INCREF(Py_None); resultobj = Py_None;
9801 return resultobj;
9802 fail:
9803 return NULL;
9804 }
9805
9806
9807 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9808 PyObject *resultobj;
9809 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9810 wxWindow *arg2 = (wxWindow *) 0 ;
9811 int arg3 = (int) wxID_ANY ;
9812 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9813 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9814 wxSize const &arg5_defvalue = wxDefaultSize ;
9815 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9816 long arg6 = (long) 0 ;
9817 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9818 wxString *arg7 = (wxString *) &arg7_defvalue ;
9819 bool result;
9820 wxPoint temp4 ;
9821 wxSize temp5 ;
9822 bool temp7 = False ;
9823 PyObject * obj0 = 0 ;
9824 PyObject * obj1 = 0 ;
9825 PyObject * obj2 = 0 ;
9826 PyObject * obj3 = 0 ;
9827 PyObject * obj4 = 0 ;
9828 PyObject * obj5 = 0 ;
9829 PyObject * obj6 = 0 ;
9830 char *kwnames[] = {
9831 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9832 };
9833
9834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9839 if (obj2) {
9840 arg3 = (int) SWIG_AsInt(obj2);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
9843 if (obj3) {
9844 {
9845 arg4 = &temp4;
9846 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9847 }
9848 }
9849 if (obj4) {
9850 {
9851 arg5 = &temp5;
9852 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9853 }
9854 }
9855 if (obj5) {
9856 arg6 = (long) SWIG_AsLong(obj5);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 if (obj6) {
9860 {
9861 arg7 = wxString_in_helper(obj6);
9862 if (arg7 == NULL) SWIG_fail;
9863 temp7 = True;
9864 }
9865 }
9866 {
9867 PyThreadState* __tstate = wxPyBeginAllowThreads();
9868 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9869
9870 wxPyEndAllowThreads(__tstate);
9871 if (PyErr_Occurred()) SWIG_fail;
9872 }
9873 {
9874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9875 }
9876 {
9877 if (temp7)
9878 delete arg7;
9879 }
9880 return resultobj;
9881 fail:
9882 {
9883 if (temp7)
9884 delete arg7;
9885 }
9886 return NULL;
9887 }
9888
9889
9890 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9891 PyObject *resultobj;
9892 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9893 size_t result;
9894 PyObject * obj0 = 0 ;
9895 char *kwnames[] = {
9896 (char *) "self", NULL
9897 };
9898
9899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9902 {
9903 PyThreadState* __tstate = wxPyBeginAllowThreads();
9904 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9905
9906 wxPyEndAllowThreads(__tstate);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 }
9909 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9910 return resultobj;
9911 fail:
9912 return NULL;
9913 }
9914
9915
9916 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9917 PyObject *resultobj;
9918 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9919 bool result;
9920 PyObject * obj0 = 0 ;
9921 char *kwnames[] = {
9922 (char *) "self", NULL
9923 };
9924
9925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9931
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 {
9936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9937 }
9938 return resultobj;
9939 fail:
9940 return NULL;
9941 }
9942
9943
9944 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9945 PyObject *resultobj;
9946 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9947 int result;
9948 PyObject * obj0 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9956 {
9957 PyThreadState* __tstate = wxPyBeginAllowThreads();
9958 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9959
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
9963 resultobj = SWIG_FromInt((int)result);
9964 return resultobj;
9965 fail:
9966 return NULL;
9967 }
9968
9969
9970 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9971 PyObject *resultobj;
9972 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9973 size_t arg2 ;
9974 bool result;
9975 PyObject * obj0 = 0 ;
9976 PyObject * obj1 = 0 ;
9977 char *kwnames[] = {
9978 (char *) "self",(char *) "item", NULL
9979 };
9980
9981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9984 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9985 if (PyErr_Occurred()) SWIG_fail;
9986 {
9987 PyThreadState* __tstate = wxPyBeginAllowThreads();
9988 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9989
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 {
9994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9995 }
9996 return resultobj;
9997 fail:
9998 return NULL;
9999 }
10000
10001
10002 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10003 PyObject *resultobj;
10004 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10005 size_t arg2 ;
10006 bool result;
10007 PyObject * obj0 = 0 ;
10008 PyObject * obj1 = 0 ;
10009 char *kwnames[] = {
10010 (char *) "self",(char *) "item", NULL
10011 };
10012
10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10016 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10017 if (PyErr_Occurred()) SWIG_fail;
10018 {
10019 PyThreadState* __tstate = wxPyBeginAllowThreads();
10020 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10021
10022 wxPyEndAllowThreads(__tstate);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 }
10025 {
10026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10027 }
10028 return resultobj;
10029 fail:
10030 return NULL;
10031 }
10032
10033
10034 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10035 PyObject *resultobj;
10036 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10037 size_t result;
10038 PyObject * obj0 = 0 ;
10039 char *kwnames[] = {
10040 (char *) "self", NULL
10041 };
10042
10043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10046 {
10047 PyThreadState* __tstate = wxPyBeginAllowThreads();
10048 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10049
10050 wxPyEndAllowThreads(__tstate);
10051 if (PyErr_Occurred()) SWIG_fail;
10052 }
10053 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10054 return resultobj;
10055 fail:
10056 return NULL;
10057 }
10058
10059
10060 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10061 PyObject *resultobj;
10062 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10063 PyObject *result;
10064 PyObject * obj0 = 0 ;
10065 char *kwnames[] = {
10066 (char *) "self", NULL
10067 };
10068
10069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10072 {
10073 PyThreadState* __tstate = wxPyBeginAllowThreads();
10074 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10075
10076 wxPyEndAllowThreads(__tstate);
10077 if (PyErr_Occurred()) SWIG_fail;
10078 }
10079 resultobj = result;
10080 return resultobj;
10081 fail:
10082 return NULL;
10083 }
10084
10085
10086 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10087 PyObject *resultobj;
10088 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10089 unsigned long arg2 ;
10090 PyObject *result;
10091 PyObject * obj0 = 0 ;
10092 PyObject * obj1 = 0 ;
10093 char *kwnames[] = {
10094 (char *) "self",(char *) "cookie", NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10100 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
10109 resultobj = result;
10110 return resultobj;
10111 fail:
10112 return NULL;
10113 }
10114
10115
10116 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject *resultobj;
10118 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10119 wxPoint result;
10120 PyObject * obj0 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "self", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = ((wxPyVListBox const *)arg1)->GetMargins();
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 {
10136 wxPoint * resultptr;
10137 resultptr = new wxPoint((wxPoint &) result);
10138 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10139 }
10140 return resultobj;
10141 fail:
10142 return NULL;
10143 }
10144
10145
10146 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10147 PyObject *resultobj;
10148 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10149 wxColour *result;
10150 PyObject * obj0 = 0 ;
10151 char *kwnames[] = {
10152 (char *) "self", NULL
10153 };
10154
10155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",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 {
10161 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10162 result = (wxColour *) &_result_ref;
10163 }
10164
10165 wxPyEndAllowThreads(__tstate);
10166 if (PyErr_Occurred()) SWIG_fail;
10167 }
10168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10169 return resultobj;
10170 fail:
10171 return NULL;
10172 }
10173
10174
10175 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10176 PyObject *resultobj;
10177 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10178 size_t arg2 ;
10179 PyObject * obj0 = 0 ;
10180 PyObject * obj1 = 0 ;
10181 char *kwnames[] = {
10182 (char *) "self",(char *) "count", NULL
10183 };
10184
10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10188 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 (arg1)->SetItemCount(arg2);
10193
10194 wxPyEndAllowThreads(__tstate);
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
10197 Py_INCREF(Py_None); resultobj = Py_None;
10198 return resultobj;
10199 fail:
10200 return NULL;
10201 }
10202
10203
10204 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10205 PyObject *resultobj;
10206 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10207 PyObject * obj0 = 0 ;
10208 char *kwnames[] = {
10209 (char *) "self", NULL
10210 };
10211
10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 (arg1)->Clear();
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 Py_INCREF(Py_None); resultobj = Py_None;
10223 return resultobj;
10224 fail:
10225 return NULL;
10226 }
10227
10228
10229 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj;
10231 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10232 int arg2 ;
10233 PyObject * obj0 = 0 ;
10234 PyObject * obj1 = 0 ;
10235 char *kwnames[] = {
10236 (char *) "self",(char *) "selection", NULL
10237 };
10238
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10242 arg2 = (int) SWIG_AsInt(obj1);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 (arg1)->SetSelection(arg2);
10247
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 Py_INCREF(Py_None); resultobj = Py_None;
10252 return resultobj;
10253 fail:
10254 return NULL;
10255 }
10256
10257
10258 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10259 PyObject *resultobj;
10260 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10261 size_t arg2 ;
10262 bool arg3 = (bool) True ;
10263 bool result;
10264 PyObject * obj0 = 0 ;
10265 PyObject * obj1 = 0 ;
10266 PyObject * obj2 = 0 ;
10267 char *kwnames[] = {
10268 (char *) "self",(char *) "item",(char *) "select", NULL
10269 };
10270
10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10274 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 if (obj2) {
10277 arg3 = (bool) SWIG_AsBool(obj2);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 result = (bool)(arg1)->Select(arg2,arg3);
10283
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 {
10288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10289 }
10290 return resultobj;
10291 fail:
10292 return NULL;
10293 }
10294
10295
10296 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject *resultobj;
10298 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10299 size_t arg2 ;
10300 size_t arg3 ;
10301 bool result;
10302 PyObject * obj0 = 0 ;
10303 PyObject * obj1 = 0 ;
10304 PyObject * obj2 = 0 ;
10305 char *kwnames[] = {
10306 (char *) "self",(char *) "from",(char *) "to", NULL
10307 };
10308
10309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10312 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10313 if (PyErr_Occurred()) SWIG_fail;
10314 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 {
10317 PyThreadState* __tstate = wxPyBeginAllowThreads();
10318 result = (bool)(arg1)->SelectRange(arg2,arg3);
10319
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 {
10324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10325 }
10326 return resultobj;
10327 fail:
10328 return NULL;
10329 }
10330
10331
10332 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10333 PyObject *resultobj;
10334 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10335 size_t arg2 ;
10336 PyObject * obj0 = 0 ;
10337 PyObject * obj1 = 0 ;
10338 char *kwnames[] = {
10339 (char *) "self",(char *) "item", NULL
10340 };
10341
10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10345 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10346 if (PyErr_Occurred()) SWIG_fail;
10347 {
10348 PyThreadState* __tstate = wxPyBeginAllowThreads();
10349 (arg1)->Toggle(arg2);
10350
10351 wxPyEndAllowThreads(__tstate);
10352 if (PyErr_Occurred()) SWIG_fail;
10353 }
10354 Py_INCREF(Py_None); resultobj = Py_None;
10355 return resultobj;
10356 fail:
10357 return NULL;
10358 }
10359
10360
10361 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10362 PyObject *resultobj;
10363 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10364 bool result;
10365 PyObject * obj0 = 0 ;
10366 char *kwnames[] = {
10367 (char *) "self", NULL
10368 };
10369
10370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10373 {
10374 PyThreadState* __tstate = wxPyBeginAllowThreads();
10375 result = (bool)(arg1)->SelectAll();
10376
10377 wxPyEndAllowThreads(__tstate);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 }
10380 {
10381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10382 }
10383 return resultobj;
10384 fail:
10385 return NULL;
10386 }
10387
10388
10389 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10390 PyObject *resultobj;
10391 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10392 bool result;
10393 PyObject * obj0 = 0 ;
10394 char *kwnames[] = {
10395 (char *) "self", NULL
10396 };
10397
10398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10401 {
10402 PyThreadState* __tstate = wxPyBeginAllowThreads();
10403 result = (bool)(arg1)->DeselectAll();
10404
10405 wxPyEndAllowThreads(__tstate);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 }
10408 {
10409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10410 }
10411 return resultobj;
10412 fail:
10413 return NULL;
10414 }
10415
10416
10417 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10418 PyObject *resultobj;
10419 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10420 wxPoint *arg2 = 0 ;
10421 wxPoint temp2 ;
10422 PyObject * obj0 = 0 ;
10423 PyObject * obj1 = 0 ;
10424 char *kwnames[] = {
10425 (char *) "self",(char *) "pt", NULL
10426 };
10427
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10431 {
10432 arg2 = &temp2;
10433 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10434 }
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
10437 (arg1)->SetMargins((wxPoint const &)*arg2);
10438
10439 wxPyEndAllowThreads(__tstate);
10440 if (PyErr_Occurred()) SWIG_fail;
10441 }
10442 Py_INCREF(Py_None); resultobj = Py_None;
10443 return resultobj;
10444 fail:
10445 return NULL;
10446 }
10447
10448
10449 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10450 PyObject *resultobj;
10451 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10452 int arg2 ;
10453 int arg3 ;
10454 PyObject * obj0 = 0 ;
10455 PyObject * obj1 = 0 ;
10456 PyObject * obj2 = 0 ;
10457 char *kwnames[] = {
10458 (char *) "self",(char *) "x",(char *) "y", NULL
10459 };
10460
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10464 arg2 = (int) SWIG_AsInt(obj1);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 arg3 = (int) SWIG_AsInt(obj2);
10467 if (PyErr_Occurred()) SWIG_fail;
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 (arg1)->SetMargins(arg2,arg3);
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 Py_INCREF(Py_None); resultobj = Py_None;
10476 return resultobj;
10477 fail:
10478 return NULL;
10479 }
10480
10481
10482 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10483 PyObject *resultobj;
10484 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10485 wxColour *arg2 = 0 ;
10486 wxColour temp2 ;
10487 PyObject * obj0 = 0 ;
10488 PyObject * obj1 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self",(char *) "col", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10496 {
10497 arg2 = &temp2;
10498 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10499 }
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 Py_INCREF(Py_None); resultobj = Py_None;
10508 return resultobj;
10509 fail:
10510 return NULL;
10511 }
10512
10513
10514 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10515 PyObject *obj;
10516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10517 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10518 Py_INCREF(obj);
10519 return Py_BuildValue((char *)"");
10520 }
10521 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10522 PyObject *resultobj;
10523 wxWindow *arg1 = (wxWindow *) 0 ;
10524 int arg2 = (int) wxID_ANY ;
10525 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10526 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10527 wxSize const &arg4_defvalue = wxDefaultSize ;
10528 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10529 long arg5 = (long) 0 ;
10530 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10531 wxString *arg6 = (wxString *) &arg6_defvalue ;
10532 wxPyHtmlListBox *result;
10533 wxPoint temp3 ;
10534 wxSize temp4 ;
10535 bool temp6 = False ;
10536 PyObject * obj0 = 0 ;
10537 PyObject * obj1 = 0 ;
10538 PyObject * obj2 = 0 ;
10539 PyObject * obj3 = 0 ;
10540 PyObject * obj4 = 0 ;
10541 PyObject * obj5 = 0 ;
10542 char *kwnames[] = {
10543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10544 };
10545
10546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10549 if (obj1) {
10550 arg2 = (int) SWIG_AsInt(obj1);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 }
10553 if (obj2) {
10554 {
10555 arg3 = &temp3;
10556 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10557 }
10558 }
10559 if (obj3) {
10560 {
10561 arg4 = &temp4;
10562 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10563 }
10564 }
10565 if (obj4) {
10566 arg5 = (long) SWIG_AsLong(obj4);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 if (obj5) {
10570 {
10571 arg6 = wxString_in_helper(obj5);
10572 if (arg6 == NULL) SWIG_fail;
10573 temp6 = True;
10574 }
10575 }
10576 {
10577 if (!wxPyCheckForApp()) SWIG_fail;
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10580
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10585 {
10586 if (temp6)
10587 delete arg6;
10588 }
10589 return resultobj;
10590 fail:
10591 {
10592 if (temp6)
10593 delete arg6;
10594 }
10595 return NULL;
10596 }
10597
10598
10599 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10600 PyObject *resultobj;
10601 wxPyHtmlListBox *result;
10602 char *kwnames[] = {
10603 NULL
10604 };
10605
10606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10607 {
10608 if (!wxPyCheckForApp()) SWIG_fail;
10609 PyThreadState* __tstate = wxPyBeginAllowThreads();
10610 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10611
10612 wxPyEndAllowThreads(__tstate);
10613 if (PyErr_Occurred()) SWIG_fail;
10614 }
10615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10616 return resultobj;
10617 fail:
10618 return NULL;
10619 }
10620
10621
10622 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10623 PyObject *resultobj;
10624 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10625 PyObject *arg2 = (PyObject *) 0 ;
10626 PyObject *arg3 = (PyObject *) 0 ;
10627 PyObject * obj0 = 0 ;
10628 PyObject * obj1 = 0 ;
10629 PyObject * obj2 = 0 ;
10630 char *kwnames[] = {
10631 (char *) "self",(char *) "self",(char *) "_class", NULL
10632 };
10633
10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10637 arg2 = obj1;
10638 arg3 = obj2;
10639 {
10640 PyThreadState* __tstate = wxPyBeginAllowThreads();
10641 (arg1)->_setCallbackInfo(arg2,arg3);
10642
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 Py_INCREF(Py_None); resultobj = Py_None;
10647 return resultobj;
10648 fail:
10649 return NULL;
10650 }
10651
10652
10653 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10654 PyObject *resultobj;
10655 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10656 wxWindow *arg2 = (wxWindow *) 0 ;
10657 int arg3 = (int) wxID_ANY ;
10658 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10659 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10660 wxSize const &arg5_defvalue = wxDefaultSize ;
10661 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10662 long arg6 = (long) 0 ;
10663 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10664 wxString *arg7 = (wxString *) &arg7_defvalue ;
10665 bool result;
10666 wxPoint temp4 ;
10667 wxSize temp5 ;
10668 bool temp7 = False ;
10669 PyObject * obj0 = 0 ;
10670 PyObject * obj1 = 0 ;
10671 PyObject * obj2 = 0 ;
10672 PyObject * obj3 = 0 ;
10673 PyObject * obj4 = 0 ;
10674 PyObject * obj5 = 0 ;
10675 PyObject * obj6 = 0 ;
10676 char *kwnames[] = {
10677 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10678 };
10679
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10683 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10685 if (obj2) {
10686 arg3 = (int) SWIG_AsInt(obj2);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 if (obj3) {
10690 {
10691 arg4 = &temp4;
10692 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10693 }
10694 }
10695 if (obj4) {
10696 {
10697 arg5 = &temp5;
10698 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10699 }
10700 }
10701 if (obj5) {
10702 arg6 = (long) SWIG_AsLong(obj5);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 }
10705 if (obj6) {
10706 {
10707 arg7 = wxString_in_helper(obj6);
10708 if (arg7 == NULL) SWIG_fail;
10709 temp7 = True;
10710 }
10711 }
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 {
10720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10721 }
10722 {
10723 if (temp7)
10724 delete arg7;
10725 }
10726 return resultobj;
10727 fail:
10728 {
10729 if (temp7)
10730 delete arg7;
10731 }
10732 return NULL;
10733 }
10734
10735
10736 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10737 PyObject *resultobj;
10738 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10739 PyObject * obj0 = 0 ;
10740 char *kwnames[] = {
10741 (char *) "self", NULL
10742 };
10743
10744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 (arg1)->RefreshAll();
10750
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 Py_INCREF(Py_None); resultobj = Py_None;
10755 return resultobj;
10756 fail:
10757 return NULL;
10758 }
10759
10760
10761 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10762 PyObject *resultobj;
10763 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10764 size_t arg2 ;
10765 PyObject * obj0 = 0 ;
10766 PyObject * obj1 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self",(char *) "count", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10774 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 (arg1)->SetItemCount(arg2);
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 Py_INCREF(Py_None); resultobj = Py_None;
10784 return resultobj;
10785 fail:
10786 return NULL;
10787 }
10788
10789
10790 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10791 PyObject *resultobj;
10792 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10793 wxFileSystem *result;
10794 PyObject * obj0 = 0 ;
10795 char *kwnames[] = {
10796 (char *) "self", NULL
10797 };
10798
10799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10802 {
10803 PyThreadState* __tstate = wxPyBeginAllowThreads();
10804 {
10805 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10806 result = (wxFileSystem *) &_result_ref;
10807 }
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10813 return resultobj;
10814 fail:
10815 return NULL;
10816 }
10817
10818
10819 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10820 PyObject *obj;
10821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10822 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10823 Py_INCREF(obj);
10824 return Py_BuildValue((char *)"");
10825 }
10826 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10827 PyObject *resultobj;
10828 wxTaskBarIcon *result;
10829 char *kwnames[] = {
10830 NULL
10831 };
10832
10833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10834 {
10835 if (!wxPyCheckForApp()) SWIG_fail;
10836 PyThreadState* __tstate = wxPyBeginAllowThreads();
10837 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10838
10839 wxPyEndAllowThreads(__tstate);
10840 if (PyErr_Occurred()) SWIG_fail;
10841 }
10842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10843 return resultobj;
10844 fail:
10845 return NULL;
10846 }
10847
10848
10849 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10850 PyObject *resultobj;
10851 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10852 PyObject * obj0 = 0 ;
10853 char *kwnames[] = {
10854 (char *) "self", NULL
10855 };
10856
10857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
10862 delete arg1;
10863
10864 wxPyEndAllowThreads(__tstate);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 Py_INCREF(Py_None); resultobj = Py_None;
10868 return resultobj;
10869 fail:
10870 return NULL;
10871 }
10872
10873
10874 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10875 PyObject *resultobj;
10876 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10877 PyObject * obj0 = 0 ;
10878 char *kwnames[] = {
10879 (char *) "self", NULL
10880 };
10881
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10885 {
10886 PyThreadState* __tstate = wxPyBeginAllowThreads();
10887 wxTaskBarIcon_Destroy(arg1);
10888
10889 wxPyEndAllowThreads(__tstate);
10890 if (PyErr_Occurred()) SWIG_fail;
10891 }
10892 Py_INCREF(Py_None); resultobj = Py_None;
10893 return resultobj;
10894 fail:
10895 return NULL;
10896 }
10897
10898
10899 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10900 PyObject *obj;
10901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10902 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10903 Py_INCREF(obj);
10904 return Py_BuildValue((char *)"");
10905 }
10906 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10907 PyObject *resultobj;
10908 wxEventType arg1 ;
10909 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10910 wxTaskBarIconEvent *result;
10911 PyObject * obj0 = 0 ;
10912 PyObject * obj1 = 0 ;
10913 char *kwnames[] = {
10914 (char *) "evtType",(char *) "tbIcon", NULL
10915 };
10916
10917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10918 arg1 = (wxEventType) SWIG_AsInt(obj0);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10922 {
10923 PyThreadState* __tstate = wxPyBeginAllowThreads();
10924 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10925
10926 wxPyEndAllowThreads(__tstate);
10927 if (PyErr_Occurred()) SWIG_fail;
10928 }
10929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10930 return resultobj;
10931 fail:
10932 return NULL;
10933 }
10934
10935
10936 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10937 PyObject *obj;
10938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10939 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10940 Py_INCREF(obj);
10941 return Py_BuildValue((char *)"");
10942 }
10943 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10944 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10945 return 1;
10946 }
10947
10948
10949 static PyObject *_wrap_FileSelectorPromptStr_get() {
10950 PyObject *pyobj;
10951
10952 {
10953 #if wxUSE_UNICODE
10954 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10955 #else
10956 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10957 #endif
10958 }
10959 return pyobj;
10960 }
10961
10962
10963 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10964 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10965 return 1;
10966 }
10967
10968
10969 static PyObject *_wrap_DirSelectorPromptStr_get() {
10970 PyObject *pyobj;
10971
10972 {
10973 #if wxUSE_UNICODE
10974 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10975 #else
10976 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10977 #endif
10978 }
10979 return pyobj;
10980 }
10981
10982
10983 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10984 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10985 return 1;
10986 }
10987
10988
10989 static PyObject *_wrap_DirDialogNameStr_get() {
10990 PyObject *pyobj;
10991
10992 {
10993 #if wxUSE_UNICODE
10994 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10995 #else
10996 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10997 #endif
10998 }
10999 return pyobj;
11000 }
11001
11002
11003 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
11004 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11005 return 1;
11006 }
11007
11008
11009 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11010 PyObject *pyobj;
11011
11012 {
11013 #if wxUSE_UNICODE
11014 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11015 #else
11016 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11017 #endif
11018 }
11019 return pyobj;
11020 }
11021
11022
11023 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
11024 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11025 return 1;
11026 }
11027
11028
11029 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11030 PyObject *pyobj;
11031
11032 {
11033 #if wxUSE_UNICODE
11034 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11035 #else
11036 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11037 #endif
11038 }
11039 return pyobj;
11040 }
11041
11042
11043 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11044 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11045 return 1;
11046 }
11047
11048
11049 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11050 PyObject *pyobj;
11051
11052 {
11053 #if wxUSE_UNICODE
11054 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11055 #else
11056 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11057 #endif
11058 }
11059 return pyobj;
11060 }
11061
11062
11063 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11064 PyObject *resultobj;
11065 wxColourData *result;
11066 char *kwnames[] = {
11067 NULL
11068 };
11069
11070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 result = (wxColourData *)new wxColourData();
11074
11075 wxPyEndAllowThreads(__tstate);
11076 if (PyErr_Occurred()) SWIG_fail;
11077 }
11078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11079 return resultobj;
11080 fail:
11081 return NULL;
11082 }
11083
11084
11085 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11086 PyObject *resultobj;
11087 wxColourData *arg1 = (wxColourData *) 0 ;
11088 PyObject * obj0 = 0 ;
11089 char *kwnames[] = {
11090 (char *) "self", NULL
11091 };
11092
11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11096 {
11097 PyThreadState* __tstate = wxPyBeginAllowThreads();
11098 delete arg1;
11099
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 Py_INCREF(Py_None); resultobj = Py_None;
11104 return resultobj;
11105 fail:
11106 return NULL;
11107 }
11108
11109
11110 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11111 PyObject *resultobj;
11112 wxColourData *arg1 = (wxColourData *) 0 ;
11113 bool result;
11114 PyObject * obj0 = 0 ;
11115 char *kwnames[] = {
11116 (char *) "self", NULL
11117 };
11118
11119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11122 {
11123 PyThreadState* __tstate = wxPyBeginAllowThreads();
11124 result = (bool)(arg1)->GetChooseFull();
11125
11126 wxPyEndAllowThreads(__tstate);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 }
11129 {
11130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11131 }
11132 return resultobj;
11133 fail:
11134 return NULL;
11135 }
11136
11137
11138 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11139 PyObject *resultobj;
11140 wxColourData *arg1 = (wxColourData *) 0 ;
11141 wxColour result;
11142 PyObject * obj0 = 0 ;
11143 char *kwnames[] = {
11144 (char *) "self", NULL
11145 };
11146
11147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 result = (arg1)->GetColour();
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 {
11158 wxColour * resultptr;
11159 resultptr = new wxColour((wxColour &) result);
11160 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11161 }
11162 return resultobj;
11163 fail:
11164 return NULL;
11165 }
11166
11167
11168 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11169 PyObject *resultobj;
11170 wxColourData *arg1 = (wxColourData *) 0 ;
11171 int arg2 ;
11172 wxColour result;
11173 PyObject * obj0 = 0 ;
11174 PyObject * obj1 = 0 ;
11175 char *kwnames[] = {
11176 (char *) "self",(char *) "i", NULL
11177 };
11178
11179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11182 arg2 = (int) SWIG_AsInt(obj1);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 {
11185 PyThreadState* __tstate = wxPyBeginAllowThreads();
11186 result = (arg1)->GetCustomColour(arg2);
11187
11188 wxPyEndAllowThreads(__tstate);
11189 if (PyErr_Occurred()) SWIG_fail;
11190 }
11191 {
11192 wxColour * resultptr;
11193 resultptr = new wxColour((wxColour &) result);
11194 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11195 }
11196 return resultobj;
11197 fail:
11198 return NULL;
11199 }
11200
11201
11202 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11203 PyObject *resultobj;
11204 wxColourData *arg1 = (wxColourData *) 0 ;
11205 int arg2 ;
11206 PyObject * obj0 = 0 ;
11207 PyObject * obj1 = 0 ;
11208 char *kwnames[] = {
11209 (char *) "self",(char *) "flag", NULL
11210 };
11211
11212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11215 arg2 = (int) SWIG_AsInt(obj1);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 {
11218 PyThreadState* __tstate = wxPyBeginAllowThreads();
11219 (arg1)->SetChooseFull(arg2);
11220
11221 wxPyEndAllowThreads(__tstate);
11222 if (PyErr_Occurred()) SWIG_fail;
11223 }
11224 Py_INCREF(Py_None); resultobj = Py_None;
11225 return resultobj;
11226 fail:
11227 return NULL;
11228 }
11229
11230
11231 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11232 PyObject *resultobj;
11233 wxColourData *arg1 = (wxColourData *) 0 ;
11234 wxColour *arg2 = 0 ;
11235 wxColour temp2 ;
11236 PyObject * obj0 = 0 ;
11237 PyObject * obj1 = 0 ;
11238 char *kwnames[] = {
11239 (char *) "self",(char *) "colour", NULL
11240 };
11241
11242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11245 {
11246 arg2 = &temp2;
11247 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11248 }
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
11251 (arg1)->SetColour((wxColour const &)*arg2);
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 Py_INCREF(Py_None); resultobj = Py_None;
11257 return resultobj;
11258 fail:
11259 return NULL;
11260 }
11261
11262
11263 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11264 PyObject *resultobj;
11265 wxColourData *arg1 = (wxColourData *) 0 ;
11266 int arg2 ;
11267 wxColour *arg3 = 0 ;
11268 wxColour temp3 ;
11269 PyObject * obj0 = 0 ;
11270 PyObject * obj1 = 0 ;
11271 PyObject * obj2 = 0 ;
11272 char *kwnames[] = {
11273 (char *) "self",(char *) "i",(char *) "colour", NULL
11274 };
11275
11276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11279 arg2 = (int) SWIG_AsInt(obj1);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 {
11282 arg3 = &temp3;
11283 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11284 }
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 Py_INCREF(Py_None); resultobj = Py_None;
11293 return resultobj;
11294 fail:
11295 return NULL;
11296 }
11297
11298
11299 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11300 PyObject *obj;
11301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11302 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11303 Py_INCREF(obj);
11304 return Py_BuildValue((char *)"");
11305 }
11306 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11307 PyObject *resultobj;
11308 wxWindow *arg1 = (wxWindow *) 0 ;
11309 wxColourData *arg2 = (wxColourData *) NULL ;
11310 wxColourDialog *result;
11311 PyObject * obj0 = 0 ;
11312 PyObject * obj1 = 0 ;
11313 char *kwnames[] = {
11314 (char *) "parent",(char *) "data", NULL
11315 };
11316
11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11320 if (obj1) {
11321 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11323 }
11324 {
11325 if (!wxPyCheckForApp()) SWIG_fail;
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11328
11329 wxPyEndAllowThreads(__tstate);
11330 if (PyErr_Occurred()) SWIG_fail;
11331 }
11332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11333 return resultobj;
11334 fail:
11335 return NULL;
11336 }
11337
11338
11339 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11340 PyObject *resultobj;
11341 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11342 wxColourData *result;
11343 PyObject * obj0 = 0 ;
11344 char *kwnames[] = {
11345 (char *) "self", NULL
11346 };
11347
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 {
11354 wxColourData &_result_ref = (arg1)->GetColourData();
11355 result = (wxColourData *) &_result_ref;
11356 }
11357
11358 wxPyEndAllowThreads(__tstate);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 }
11361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11362 return resultobj;
11363 fail:
11364 return NULL;
11365 }
11366
11367
11368 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11369 PyObject *obj;
11370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11371 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11372 Py_INCREF(obj);
11373 return Py_BuildValue((char *)"");
11374 }
11375 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11376 PyObject *resultobj;
11377 wxWindow *arg1 = (wxWindow *) 0 ;
11378 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11379 wxString *arg2 = (wxString *) &arg2_defvalue ;
11380 wxString const &arg3_defvalue = wxPyEmptyString ;
11381 wxString *arg3 = (wxString *) &arg3_defvalue ;
11382 long arg4 = (long) 0 ;
11383 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11384 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11385 wxSize const &arg6_defvalue = wxDefaultSize ;
11386 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11387 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11388 wxString *arg7 = (wxString *) &arg7_defvalue ;
11389 wxDirDialog *result;
11390 bool temp2 = False ;
11391 bool temp3 = False ;
11392 wxPoint temp5 ;
11393 wxSize temp6 ;
11394 bool temp7 = False ;
11395 PyObject * obj0 = 0 ;
11396 PyObject * obj1 = 0 ;
11397 PyObject * obj2 = 0 ;
11398 PyObject * obj3 = 0 ;
11399 PyObject * obj4 = 0 ;
11400 PyObject * obj5 = 0 ;
11401 PyObject * obj6 = 0 ;
11402 char *kwnames[] = {
11403 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11404 };
11405
11406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11409 if (obj1) {
11410 {
11411 arg2 = wxString_in_helper(obj1);
11412 if (arg2 == NULL) SWIG_fail;
11413 temp2 = True;
11414 }
11415 }
11416 if (obj2) {
11417 {
11418 arg3 = wxString_in_helper(obj2);
11419 if (arg3 == NULL) SWIG_fail;
11420 temp3 = True;
11421 }
11422 }
11423 if (obj3) {
11424 arg4 = (long) SWIG_AsLong(obj3);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 if (obj4) {
11428 {
11429 arg5 = &temp5;
11430 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11431 }
11432 }
11433 if (obj5) {
11434 {
11435 arg6 = &temp6;
11436 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11437 }
11438 }
11439 if (obj6) {
11440 {
11441 arg7 = wxString_in_helper(obj6);
11442 if (arg7 == NULL) SWIG_fail;
11443 temp7 = True;
11444 }
11445 }
11446 {
11447 if (!wxPyCheckForApp()) SWIG_fail;
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
11449 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11450
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
11454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11455 {
11456 if (temp2)
11457 delete arg2;
11458 }
11459 {
11460 if (temp3)
11461 delete arg3;
11462 }
11463 {
11464 if (temp7)
11465 delete arg7;
11466 }
11467 return resultobj;
11468 fail:
11469 {
11470 if (temp2)
11471 delete arg2;
11472 }
11473 {
11474 if (temp3)
11475 delete arg3;
11476 }
11477 {
11478 if (temp7)
11479 delete arg7;
11480 }
11481 return NULL;
11482 }
11483
11484
11485 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11488 wxString result;
11489 PyObject * obj0 = 0 ;
11490 char *kwnames[] = {
11491 (char *) "self", NULL
11492 };
11493
11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 result = (arg1)->GetPath();
11500
11501 wxPyEndAllowThreads(__tstate);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 {
11505 #if wxUSE_UNICODE
11506 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11507 #else
11508 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11509 #endif
11510 }
11511 return resultobj;
11512 fail:
11513 return NULL;
11514 }
11515
11516
11517 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11518 PyObject *resultobj;
11519 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11520 wxString result;
11521 PyObject * obj0 = 0 ;
11522 char *kwnames[] = {
11523 (char *) "self", NULL
11524 };
11525
11526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11529 {
11530 PyThreadState* __tstate = wxPyBeginAllowThreads();
11531 result = (arg1)->GetMessage();
11532
11533 wxPyEndAllowThreads(__tstate);
11534 if (PyErr_Occurred()) SWIG_fail;
11535 }
11536 {
11537 #if wxUSE_UNICODE
11538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11539 #else
11540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11541 #endif
11542 }
11543 return resultobj;
11544 fail:
11545 return NULL;
11546 }
11547
11548
11549 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11550 PyObject *resultobj;
11551 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11552 long result;
11553 PyObject * obj0 = 0 ;
11554 char *kwnames[] = {
11555 (char *) "self", NULL
11556 };
11557
11558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11561 {
11562 PyThreadState* __tstate = wxPyBeginAllowThreads();
11563 result = (long)(arg1)->GetStyle();
11564
11565 wxPyEndAllowThreads(__tstate);
11566 if (PyErr_Occurred()) SWIG_fail;
11567 }
11568 resultobj = SWIG_FromLong((long)result);
11569 return resultobj;
11570 fail:
11571 return NULL;
11572 }
11573
11574
11575 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11576 PyObject *resultobj;
11577 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11578 wxString *arg2 = 0 ;
11579 bool temp2 = False ;
11580 PyObject * obj0 = 0 ;
11581 PyObject * obj1 = 0 ;
11582 char *kwnames[] = {
11583 (char *) "self",(char *) "message", NULL
11584 };
11585
11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11589 {
11590 arg2 = wxString_in_helper(obj1);
11591 if (arg2 == NULL) SWIG_fail;
11592 temp2 = True;
11593 }
11594 {
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 (arg1)->SetMessage((wxString const &)*arg2);
11597
11598 wxPyEndAllowThreads(__tstate);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 }
11601 Py_INCREF(Py_None); resultobj = Py_None;
11602 {
11603 if (temp2)
11604 delete arg2;
11605 }
11606 return resultobj;
11607 fail:
11608 {
11609 if (temp2)
11610 delete arg2;
11611 }
11612 return NULL;
11613 }
11614
11615
11616 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj;
11618 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11619 wxString *arg2 = 0 ;
11620 bool temp2 = False ;
11621 PyObject * obj0 = 0 ;
11622 PyObject * obj1 = 0 ;
11623 char *kwnames[] = {
11624 (char *) "self",(char *) "path", NULL
11625 };
11626
11627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11630 {
11631 arg2 = wxString_in_helper(obj1);
11632 if (arg2 == NULL) SWIG_fail;
11633 temp2 = True;
11634 }
11635 {
11636 PyThreadState* __tstate = wxPyBeginAllowThreads();
11637 (arg1)->SetPath((wxString const &)*arg2);
11638
11639 wxPyEndAllowThreads(__tstate);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 }
11642 Py_INCREF(Py_None); resultobj = Py_None;
11643 {
11644 if (temp2)
11645 delete arg2;
11646 }
11647 return resultobj;
11648 fail:
11649 {
11650 if (temp2)
11651 delete arg2;
11652 }
11653 return NULL;
11654 }
11655
11656
11657 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11658 PyObject *obj;
11659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11660 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11661 Py_INCREF(obj);
11662 return Py_BuildValue((char *)"");
11663 }
11664 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11665 PyObject *resultobj;
11666 wxWindow *arg1 = (wxWindow *) 0 ;
11667 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11668 wxString *arg2 = (wxString *) &arg2_defvalue ;
11669 wxString const &arg3_defvalue = wxPyEmptyString ;
11670 wxString *arg3 = (wxString *) &arg3_defvalue ;
11671 wxString const &arg4_defvalue = wxPyEmptyString ;
11672 wxString *arg4 = (wxString *) &arg4_defvalue ;
11673 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11674 wxString *arg5 = (wxString *) &arg5_defvalue ;
11675 long arg6 = (long) 0 ;
11676 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11677 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11678 wxFileDialog *result;
11679 bool temp2 = False ;
11680 bool temp3 = False ;
11681 bool temp4 = False ;
11682 bool temp5 = False ;
11683 wxPoint temp7 ;
11684 PyObject * obj0 = 0 ;
11685 PyObject * obj1 = 0 ;
11686 PyObject * obj2 = 0 ;
11687 PyObject * obj3 = 0 ;
11688 PyObject * obj4 = 0 ;
11689 PyObject * obj5 = 0 ;
11690 PyObject * obj6 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11693 };
11694
11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11698 if (obj1) {
11699 {
11700 arg2 = wxString_in_helper(obj1);
11701 if (arg2 == NULL) SWIG_fail;
11702 temp2 = True;
11703 }
11704 }
11705 if (obj2) {
11706 {
11707 arg3 = wxString_in_helper(obj2);
11708 if (arg3 == NULL) SWIG_fail;
11709 temp3 = True;
11710 }
11711 }
11712 if (obj3) {
11713 {
11714 arg4 = wxString_in_helper(obj3);
11715 if (arg4 == NULL) SWIG_fail;
11716 temp4 = True;
11717 }
11718 }
11719 if (obj4) {
11720 {
11721 arg5 = wxString_in_helper(obj4);
11722 if (arg5 == NULL) SWIG_fail;
11723 temp5 = True;
11724 }
11725 }
11726 if (obj5) {
11727 arg6 = (long) SWIG_AsLong(obj5);
11728 if (PyErr_Occurred()) SWIG_fail;
11729 }
11730 if (obj6) {
11731 {
11732 arg7 = &temp7;
11733 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11734 }
11735 }
11736 {
11737 if (!wxPyCheckForApp()) SWIG_fail;
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11745 {
11746 if (temp2)
11747 delete arg2;
11748 }
11749 {
11750 if (temp3)
11751 delete arg3;
11752 }
11753 {
11754 if (temp4)
11755 delete arg4;
11756 }
11757 {
11758 if (temp5)
11759 delete arg5;
11760 }
11761 return resultobj;
11762 fail:
11763 {
11764 if (temp2)
11765 delete arg2;
11766 }
11767 {
11768 if (temp3)
11769 delete arg3;
11770 }
11771 {
11772 if (temp4)
11773 delete arg4;
11774 }
11775 {
11776 if (temp5)
11777 delete arg5;
11778 }
11779 return NULL;
11780 }
11781
11782
11783 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj;
11785 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11786 wxString *arg2 = 0 ;
11787 bool temp2 = False ;
11788 PyObject * obj0 = 0 ;
11789 PyObject * obj1 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "self",(char *) "message", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11797 {
11798 arg2 = wxString_in_helper(obj1);
11799 if (arg2 == NULL) SWIG_fail;
11800 temp2 = True;
11801 }
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 (arg1)->SetMessage((wxString const &)*arg2);
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 Py_INCREF(Py_None); resultobj = Py_None;
11810 {
11811 if (temp2)
11812 delete arg2;
11813 }
11814 return resultobj;
11815 fail:
11816 {
11817 if (temp2)
11818 delete arg2;
11819 }
11820 return NULL;
11821 }
11822
11823
11824 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj;
11826 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11827 wxString *arg2 = 0 ;
11828 bool temp2 = False ;
11829 PyObject * obj0 = 0 ;
11830 PyObject * obj1 = 0 ;
11831 char *kwnames[] = {
11832 (char *) "self",(char *) "path", NULL
11833 };
11834
11835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11838 {
11839 arg2 = wxString_in_helper(obj1);
11840 if (arg2 == NULL) SWIG_fail;
11841 temp2 = True;
11842 }
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 (arg1)->SetPath((wxString const &)*arg2);
11846
11847 wxPyEndAllowThreads(__tstate);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 }
11850 Py_INCREF(Py_None); resultobj = Py_None;
11851 {
11852 if (temp2)
11853 delete arg2;
11854 }
11855 return resultobj;
11856 fail:
11857 {
11858 if (temp2)
11859 delete arg2;
11860 }
11861 return NULL;
11862 }
11863
11864
11865 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11866 PyObject *resultobj;
11867 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11868 wxString *arg2 = 0 ;
11869 bool temp2 = False ;
11870 PyObject * obj0 = 0 ;
11871 PyObject * obj1 = 0 ;
11872 char *kwnames[] = {
11873 (char *) "self",(char *) "dir", NULL
11874 };
11875
11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11879 {
11880 arg2 = wxString_in_helper(obj1);
11881 if (arg2 == NULL) SWIG_fail;
11882 temp2 = True;
11883 }
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 (arg1)->SetDirectory((wxString const &)*arg2);
11887
11888 wxPyEndAllowThreads(__tstate);
11889 if (PyErr_Occurred()) SWIG_fail;
11890 }
11891 Py_INCREF(Py_None); resultobj = Py_None;
11892 {
11893 if (temp2)
11894 delete arg2;
11895 }
11896 return resultobj;
11897 fail:
11898 {
11899 if (temp2)
11900 delete arg2;
11901 }
11902 return NULL;
11903 }
11904
11905
11906 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11907 PyObject *resultobj;
11908 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11909 wxString *arg2 = 0 ;
11910 bool temp2 = False ;
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "self",(char *) "name", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11920 {
11921 arg2 = wxString_in_helper(obj1);
11922 if (arg2 == NULL) SWIG_fail;
11923 temp2 = True;
11924 }
11925 {
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 (arg1)->SetFilename((wxString const &)*arg2);
11928
11929 wxPyEndAllowThreads(__tstate);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 }
11932 Py_INCREF(Py_None); resultobj = Py_None;
11933 {
11934 if (temp2)
11935 delete arg2;
11936 }
11937 return resultobj;
11938 fail:
11939 {
11940 if (temp2)
11941 delete arg2;
11942 }
11943 return NULL;
11944 }
11945
11946
11947 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11948 PyObject *resultobj;
11949 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11950 wxString *arg2 = 0 ;
11951 bool temp2 = False ;
11952 PyObject * obj0 = 0 ;
11953 PyObject * obj1 = 0 ;
11954 char *kwnames[] = {
11955 (char *) "self",(char *) "wildCard", NULL
11956 };
11957
11958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11961 {
11962 arg2 = wxString_in_helper(obj1);
11963 if (arg2 == NULL) SWIG_fail;
11964 temp2 = True;
11965 }
11966 {
11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
11968 (arg1)->SetWildcard((wxString const &)*arg2);
11969
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
11973 Py_INCREF(Py_None); resultobj = Py_None;
11974 {
11975 if (temp2)
11976 delete arg2;
11977 }
11978 return resultobj;
11979 fail:
11980 {
11981 if (temp2)
11982 delete arg2;
11983 }
11984 return NULL;
11985 }
11986
11987
11988 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11989 PyObject *resultobj;
11990 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11991 long arg2 ;
11992 PyObject * obj0 = 0 ;
11993 PyObject * obj1 = 0 ;
11994 char *kwnames[] = {
11995 (char *) "self",(char *) "style", NULL
11996 };
11997
11998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12001 arg2 = (long) SWIG_AsLong(obj1);
12002 if (PyErr_Occurred()) SWIG_fail;
12003 {
12004 PyThreadState* __tstate = wxPyBeginAllowThreads();
12005 (arg1)->SetStyle(arg2);
12006
12007 wxPyEndAllowThreads(__tstate);
12008 if (PyErr_Occurred()) SWIG_fail;
12009 }
12010 Py_INCREF(Py_None); resultobj = Py_None;
12011 return resultobj;
12012 fail:
12013 return NULL;
12014 }
12015
12016
12017 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12018 PyObject *resultobj;
12019 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12020 int arg2 ;
12021 PyObject * obj0 = 0 ;
12022 PyObject * obj1 = 0 ;
12023 char *kwnames[] = {
12024 (char *) "self",(char *) "filterIndex", NULL
12025 };
12026
12027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12030 arg2 = (int) SWIG_AsInt(obj1);
12031 if (PyErr_Occurred()) SWIG_fail;
12032 {
12033 PyThreadState* __tstate = wxPyBeginAllowThreads();
12034 (arg1)->SetFilterIndex(arg2);
12035
12036 wxPyEndAllowThreads(__tstate);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
12039 Py_INCREF(Py_None); resultobj = Py_None;
12040 return resultobj;
12041 fail:
12042 return NULL;
12043 }
12044
12045
12046 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12047 PyObject *resultobj;
12048 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12049 wxString result;
12050 PyObject * obj0 = 0 ;
12051 char *kwnames[] = {
12052 (char *) "self", NULL
12053 };
12054
12055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12058 {
12059 PyThreadState* __tstate = wxPyBeginAllowThreads();
12060 result = ((wxFileDialog const *)arg1)->GetMessage();
12061
12062 wxPyEndAllowThreads(__tstate);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 }
12065 {
12066 #if wxUSE_UNICODE
12067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12068 #else
12069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12070 #endif
12071 }
12072 return resultobj;
12073 fail:
12074 return NULL;
12075 }
12076
12077
12078 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12079 PyObject *resultobj;
12080 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12081 wxString result;
12082 PyObject * obj0 = 0 ;
12083 char *kwnames[] = {
12084 (char *) "self", NULL
12085 };
12086
12087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12090 {
12091 PyThreadState* __tstate = wxPyBeginAllowThreads();
12092 result = ((wxFileDialog const *)arg1)->GetPath();
12093
12094 wxPyEndAllowThreads(__tstate);
12095 if (PyErr_Occurred()) SWIG_fail;
12096 }
12097 {
12098 #if wxUSE_UNICODE
12099 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12100 #else
12101 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12102 #endif
12103 }
12104 return resultobj;
12105 fail:
12106 return NULL;
12107 }
12108
12109
12110 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12113 wxString result;
12114 PyObject * obj0 = 0 ;
12115 char *kwnames[] = {
12116 (char *) "self", NULL
12117 };
12118
12119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12122 {
12123 PyThreadState* __tstate = wxPyBeginAllowThreads();
12124 result = ((wxFileDialog const *)arg1)->GetDirectory();
12125
12126 wxPyEndAllowThreads(__tstate);
12127 if (PyErr_Occurred()) SWIG_fail;
12128 }
12129 {
12130 #if wxUSE_UNICODE
12131 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12132 #else
12133 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12134 #endif
12135 }
12136 return resultobj;
12137 fail:
12138 return NULL;
12139 }
12140
12141
12142 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12143 PyObject *resultobj;
12144 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12145 wxString result;
12146 PyObject * obj0 = 0 ;
12147 char *kwnames[] = {
12148 (char *) "self", NULL
12149 };
12150
12151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 result = ((wxFileDialog const *)arg1)->GetFilename();
12157
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 {
12162 #if wxUSE_UNICODE
12163 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12164 #else
12165 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12166 #endif
12167 }
12168 return resultobj;
12169 fail:
12170 return NULL;
12171 }
12172
12173
12174 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12175 PyObject *resultobj;
12176 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12177 wxString result;
12178 PyObject * obj0 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 result = ((wxFileDialog const *)arg1)->GetWildcard();
12189
12190 wxPyEndAllowThreads(__tstate);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
12193 {
12194 #if wxUSE_UNICODE
12195 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12196 #else
12197 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12198 #endif
12199 }
12200 return resultobj;
12201 fail:
12202 return NULL;
12203 }
12204
12205
12206 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12207 PyObject *resultobj;
12208 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12209 long result;
12210 PyObject * obj0 = 0 ;
12211 char *kwnames[] = {
12212 (char *) "self", NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",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 = (long)((wxFileDialog const *)arg1)->GetStyle();
12221
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 resultobj = SWIG_FromLong((long)result);
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12233 PyObject *resultobj;
12234 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12235 int result;
12236 PyObject * obj0 = 0 ;
12237 char *kwnames[] = {
12238 (char *) "self", NULL
12239 };
12240
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12244 {
12245 PyThreadState* __tstate = wxPyBeginAllowThreads();
12246 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12247
12248 wxPyEndAllowThreads(__tstate);
12249 if (PyErr_Occurred()) SWIG_fail;
12250 }
12251 resultobj = SWIG_FromInt((int)result);
12252 return resultobj;
12253 fail:
12254 return NULL;
12255 }
12256
12257
12258 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12259 PyObject *resultobj;
12260 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12261 PyObject *result;
12262 PyObject * obj0 = 0 ;
12263 char *kwnames[] = {
12264 (char *) "self", NULL
12265 };
12266
12267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12273
12274 wxPyEndAllowThreads(__tstate);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
12277 resultobj = result;
12278 return resultobj;
12279 fail:
12280 return NULL;
12281 }
12282
12283
12284 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12285 PyObject *resultobj;
12286 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12287 PyObject *result;
12288 PyObject * obj0 = 0 ;
12289 char *kwnames[] = {
12290 (char *) "self", NULL
12291 };
12292
12293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12296 {
12297 PyThreadState* __tstate = wxPyBeginAllowThreads();
12298 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12299
12300 wxPyEndAllowThreads(__tstate);
12301 if (PyErr_Occurred()) SWIG_fail;
12302 }
12303 resultobj = result;
12304 return resultobj;
12305 fail:
12306 return NULL;
12307 }
12308
12309
12310 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12311 PyObject *obj;
12312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12313 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12314 Py_INCREF(obj);
12315 return Py_BuildValue((char *)"");
12316 }
12317 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12318 PyObject *resultobj;
12319 wxWindow *arg1 = (wxWindow *) 0 ;
12320 wxString *arg2 = 0 ;
12321 wxString *arg3 = 0 ;
12322 int arg4 = (int) 0 ;
12323 wxString *arg5 = (wxString *) NULL ;
12324 long arg6 = (long) wxCHOICEDLG_STYLE ;
12325 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12326 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12327 wxMultiChoiceDialog *result;
12328 bool temp2 = False ;
12329 bool temp3 = False ;
12330 wxPoint temp6 ;
12331 PyObject * obj0 = 0 ;
12332 PyObject * obj1 = 0 ;
12333 PyObject * obj2 = 0 ;
12334 PyObject * obj3 = 0 ;
12335 PyObject * obj4 = 0 ;
12336 PyObject * obj5 = 0 ;
12337 char *kwnames[] = {
12338 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12339 };
12340
12341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12344 {
12345 arg2 = wxString_in_helper(obj1);
12346 if (arg2 == NULL) SWIG_fail;
12347 temp2 = True;
12348 }
12349 {
12350 arg3 = wxString_in_helper(obj2);
12351 if (arg3 == NULL) SWIG_fail;
12352 temp3 = True;
12353 }
12354 if (obj3) {
12355 {
12356 arg4 = PyList_Size(obj3);
12357 arg5 = wxString_LIST_helper(obj3);
12358 if (arg5 == NULL) SWIG_fail;
12359 }
12360 }
12361 if (obj4) {
12362 arg6 = (long) SWIG_AsLong(obj4);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
12365 if (obj5) {
12366 {
12367 arg7 = &temp6;
12368 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12369 }
12370 }
12371 {
12372 if (!wxPyCheckForApp()) SWIG_fail;
12373 PyThreadState* __tstate = wxPyBeginAllowThreads();
12374 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12375
12376 wxPyEndAllowThreads(__tstate);
12377 if (PyErr_Occurred()) SWIG_fail;
12378 }
12379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12380 {
12381 if (temp2)
12382 delete arg2;
12383 }
12384 {
12385 if (temp3)
12386 delete arg3;
12387 }
12388 {
12389 if (arg5) delete [] arg5;
12390 }
12391 return resultobj;
12392 fail:
12393 {
12394 if (temp2)
12395 delete arg2;
12396 }
12397 {
12398 if (temp3)
12399 delete arg3;
12400 }
12401 {
12402 if (arg5) delete [] arg5;
12403 }
12404 return NULL;
12405 }
12406
12407
12408 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj;
12410 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12411 wxArrayInt *arg2 = 0 ;
12412 bool temp2 = False ;
12413 PyObject * obj0 = 0 ;
12414 PyObject * obj1 = 0 ;
12415 char *kwnames[] = {
12416 (char *) "self",(char *) "selections", NULL
12417 };
12418
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12422 {
12423 if (! PySequence_Check(obj1)) {
12424 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12425 SWIG_fail;
12426 }
12427 arg2 = new wxArrayInt;
12428 temp2 = True;
12429 int i, len=PySequence_Length(obj1);
12430 for (i=0; i<len; i++) {
12431 PyObject* item = PySequence_GetItem(obj1, i);
12432 PyObject* number = PyNumber_Int(item);
12433 arg2->Add(PyInt_AS_LONG(number));
12434 Py_DECREF(item);
12435 Py_DECREF(number);
12436 }
12437 }
12438 {
12439 PyThreadState* __tstate = wxPyBeginAllowThreads();
12440 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12441
12442 wxPyEndAllowThreads(__tstate);
12443 if (PyErr_Occurred()) SWIG_fail;
12444 }
12445 Py_INCREF(Py_None); resultobj = Py_None;
12446 {
12447 if (temp2) delete arg2;
12448 }
12449 return resultobj;
12450 fail:
12451 {
12452 if (temp2) delete arg2;
12453 }
12454 return NULL;
12455 }
12456
12457
12458 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12459 PyObject *resultobj;
12460 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12461 PyObject *result;
12462 PyObject * obj0 = 0 ;
12463 char *kwnames[] = {
12464 (char *) "self", NULL
12465 };
12466
12467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12470 {
12471 PyThreadState* __tstate = wxPyBeginAllowThreads();
12472 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12473
12474 wxPyEndAllowThreads(__tstate);
12475 if (PyErr_Occurred()) SWIG_fail;
12476 }
12477 resultobj = result;
12478 return resultobj;
12479 fail:
12480 return NULL;
12481 }
12482
12483
12484 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12485 PyObject *obj;
12486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12487 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12488 Py_INCREF(obj);
12489 return Py_BuildValue((char *)"");
12490 }
12491 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12492 PyObject *resultobj;
12493 wxWindow *arg1 = (wxWindow *) 0 ;
12494 wxString *arg2 = 0 ;
12495 wxString *arg3 = 0 ;
12496 int arg4 ;
12497 wxString *arg5 = (wxString *) 0 ;
12498 long arg6 = (long) wxCHOICEDLG_STYLE ;
12499 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12500 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12501 wxSingleChoiceDialog *result;
12502 bool temp2 = False ;
12503 bool temp3 = False ;
12504 wxPoint temp6 ;
12505 PyObject * obj0 = 0 ;
12506 PyObject * obj1 = 0 ;
12507 PyObject * obj2 = 0 ;
12508 PyObject * obj3 = 0 ;
12509 PyObject * obj4 = 0 ;
12510 PyObject * obj5 = 0 ;
12511 char *kwnames[] = {
12512 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12513 };
12514
12515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12518 {
12519 arg2 = wxString_in_helper(obj1);
12520 if (arg2 == NULL) SWIG_fail;
12521 temp2 = True;
12522 }
12523 {
12524 arg3 = wxString_in_helper(obj2);
12525 if (arg3 == NULL) SWIG_fail;
12526 temp3 = True;
12527 }
12528 {
12529 arg4 = PyList_Size(obj3);
12530 arg5 = wxString_LIST_helper(obj3);
12531 if (arg5 == NULL) SWIG_fail;
12532 }
12533 if (obj4) {
12534 arg6 = (long) SWIG_AsLong(obj4);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 if (obj5) {
12538 {
12539 arg7 = &temp6;
12540 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12541 }
12542 }
12543 {
12544 if (!wxPyCheckForApp()) SWIG_fail;
12545 PyThreadState* __tstate = wxPyBeginAllowThreads();
12546 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12547
12548 wxPyEndAllowThreads(__tstate);
12549 if (PyErr_Occurred()) SWIG_fail;
12550 }
12551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12552 {
12553 if (temp2)
12554 delete arg2;
12555 }
12556 {
12557 if (temp3)
12558 delete arg3;
12559 }
12560 {
12561 if (arg5) delete [] arg5;
12562 }
12563 return resultobj;
12564 fail:
12565 {
12566 if (temp2)
12567 delete arg2;
12568 }
12569 {
12570 if (temp3)
12571 delete arg3;
12572 }
12573 {
12574 if (arg5) delete [] arg5;
12575 }
12576 return NULL;
12577 }
12578
12579
12580 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12581 PyObject *resultobj;
12582 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12583 int result;
12584 PyObject * obj0 = 0 ;
12585 char *kwnames[] = {
12586 (char *) "self", NULL
12587 };
12588
12589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12592 {
12593 PyThreadState* __tstate = wxPyBeginAllowThreads();
12594 result = (int)(arg1)->GetSelection();
12595
12596 wxPyEndAllowThreads(__tstate);
12597 if (PyErr_Occurred()) SWIG_fail;
12598 }
12599 resultobj = SWIG_FromInt((int)result);
12600 return resultobj;
12601 fail:
12602 return NULL;
12603 }
12604
12605
12606 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12607 PyObject *resultobj;
12608 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12609 wxString result;
12610 PyObject * obj0 = 0 ;
12611 char *kwnames[] = {
12612 (char *) "self", NULL
12613 };
12614
12615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12618 {
12619 PyThreadState* __tstate = wxPyBeginAllowThreads();
12620 result = (arg1)->GetStringSelection();
12621
12622 wxPyEndAllowThreads(__tstate);
12623 if (PyErr_Occurred()) SWIG_fail;
12624 }
12625 {
12626 #if wxUSE_UNICODE
12627 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12628 #else
12629 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12630 #endif
12631 }
12632 return resultobj;
12633 fail:
12634 return NULL;
12635 }
12636
12637
12638 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12639 PyObject *resultobj;
12640 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12641 int arg2 ;
12642 PyObject * obj0 = 0 ;
12643 PyObject * obj1 = 0 ;
12644 char *kwnames[] = {
12645 (char *) "self",(char *) "sel", NULL
12646 };
12647
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12651 arg2 = (int) SWIG_AsInt(obj1);
12652 if (PyErr_Occurred()) SWIG_fail;
12653 {
12654 PyThreadState* __tstate = wxPyBeginAllowThreads();
12655 (arg1)->SetSelection(arg2);
12656
12657 wxPyEndAllowThreads(__tstate);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 }
12660 Py_INCREF(Py_None); resultobj = Py_None;
12661 return resultobj;
12662 fail:
12663 return NULL;
12664 }
12665
12666
12667 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12668 PyObject *obj;
12669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12670 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12671 Py_INCREF(obj);
12672 return Py_BuildValue((char *)"");
12673 }
12674 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12675 PyObject *resultobj;
12676 wxWindow *arg1 = (wxWindow *) 0 ;
12677 wxString *arg2 = 0 ;
12678 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12679 wxString *arg3 = (wxString *) &arg3_defvalue ;
12680 wxString const &arg4_defvalue = wxPyEmptyString ;
12681 wxString *arg4 = (wxString *) &arg4_defvalue ;
12682 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12683 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12684 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12685 wxTextEntryDialog *result;
12686 bool temp2 = False ;
12687 bool temp3 = False ;
12688 bool temp4 = False ;
12689 wxPoint temp6 ;
12690 PyObject * obj0 = 0 ;
12691 PyObject * obj1 = 0 ;
12692 PyObject * obj2 = 0 ;
12693 PyObject * obj3 = 0 ;
12694 PyObject * obj4 = 0 ;
12695 PyObject * obj5 = 0 ;
12696 char *kwnames[] = {
12697 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12698 };
12699
12700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12703 {
12704 arg2 = wxString_in_helper(obj1);
12705 if (arg2 == NULL) SWIG_fail;
12706 temp2 = True;
12707 }
12708 if (obj2) {
12709 {
12710 arg3 = wxString_in_helper(obj2);
12711 if (arg3 == NULL) SWIG_fail;
12712 temp3 = True;
12713 }
12714 }
12715 if (obj3) {
12716 {
12717 arg4 = wxString_in_helper(obj3);
12718 if (arg4 == NULL) SWIG_fail;
12719 temp4 = True;
12720 }
12721 }
12722 if (obj4) {
12723 arg5 = (long) SWIG_AsLong(obj4);
12724 if (PyErr_Occurred()) SWIG_fail;
12725 }
12726 if (obj5) {
12727 {
12728 arg6 = &temp6;
12729 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12730 }
12731 }
12732 {
12733 if (!wxPyCheckForApp()) SWIG_fail;
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
12735 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12741 {
12742 if (temp2)
12743 delete arg2;
12744 }
12745 {
12746 if (temp3)
12747 delete arg3;
12748 }
12749 {
12750 if (temp4)
12751 delete arg4;
12752 }
12753 return resultobj;
12754 fail:
12755 {
12756 if (temp2)
12757 delete arg2;
12758 }
12759 {
12760 if (temp3)
12761 delete arg3;
12762 }
12763 {
12764 if (temp4)
12765 delete arg4;
12766 }
12767 return NULL;
12768 }
12769
12770
12771 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12772 PyObject *resultobj;
12773 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12774 wxString result;
12775 PyObject * obj0 = 0 ;
12776 char *kwnames[] = {
12777 (char *) "self", NULL
12778 };
12779
12780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12783 {
12784 PyThreadState* __tstate = wxPyBeginAllowThreads();
12785 result = (arg1)->GetValue();
12786
12787 wxPyEndAllowThreads(__tstate);
12788 if (PyErr_Occurred()) SWIG_fail;
12789 }
12790 {
12791 #if wxUSE_UNICODE
12792 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12793 #else
12794 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12795 #endif
12796 }
12797 return resultobj;
12798 fail:
12799 return NULL;
12800 }
12801
12802
12803 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12804 PyObject *resultobj;
12805 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12806 wxString *arg2 = 0 ;
12807 bool temp2 = False ;
12808 PyObject * obj0 = 0 ;
12809 PyObject * obj1 = 0 ;
12810 char *kwnames[] = {
12811 (char *) "self",(char *) "value", NULL
12812 };
12813
12814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12817 {
12818 arg2 = wxString_in_helper(obj1);
12819 if (arg2 == NULL) SWIG_fail;
12820 temp2 = True;
12821 }
12822 {
12823 PyThreadState* __tstate = wxPyBeginAllowThreads();
12824 (arg1)->SetValue((wxString const &)*arg2);
12825
12826 wxPyEndAllowThreads(__tstate);
12827 if (PyErr_Occurred()) SWIG_fail;
12828 }
12829 Py_INCREF(Py_None); resultobj = Py_None;
12830 {
12831 if (temp2)
12832 delete arg2;
12833 }
12834 return resultobj;
12835 fail:
12836 {
12837 if (temp2)
12838 delete arg2;
12839 }
12840 return NULL;
12841 }
12842
12843
12844 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12845 PyObject *obj;
12846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12847 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12848 Py_INCREF(obj);
12849 return Py_BuildValue((char *)"");
12850 }
12851 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12852 PyObject *resultobj;
12853 wxFontData *result;
12854 char *kwnames[] = {
12855 NULL
12856 };
12857
12858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 result = (wxFontData *)new wxFontData();
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12867 return resultobj;
12868 fail:
12869 return NULL;
12870 }
12871
12872
12873 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12874 PyObject *resultobj;
12875 wxFontData *arg1 = (wxFontData *) 0 ;
12876 PyObject * obj0 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "self", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 delete arg1;
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 Py_INCREF(Py_None); resultobj = Py_None;
12892 return resultobj;
12893 fail:
12894 return NULL;
12895 }
12896
12897
12898 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxFontData *arg1 = (wxFontData *) 0 ;
12901 bool arg2 ;
12902 PyObject * obj0 = 0 ;
12903 PyObject * obj1 = 0 ;
12904 char *kwnames[] = {
12905 (char *) "self",(char *) "enable", NULL
12906 };
12907
12908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12911 arg2 = (bool) SWIG_AsBool(obj1);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 {
12914 PyThreadState* __tstate = wxPyBeginAllowThreads();
12915 (arg1)->EnableEffects(arg2);
12916
12917 wxPyEndAllowThreads(__tstate);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
12920 Py_INCREF(Py_None); resultobj = Py_None;
12921 return resultobj;
12922 fail:
12923 return NULL;
12924 }
12925
12926
12927 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12928 PyObject *resultobj;
12929 wxFontData *arg1 = (wxFontData *) 0 ;
12930 bool result;
12931 PyObject * obj0 = 0 ;
12932 char *kwnames[] = {
12933 (char *) "self", NULL
12934 };
12935
12936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12939 {
12940 PyThreadState* __tstate = wxPyBeginAllowThreads();
12941 result = (bool)(arg1)->GetAllowSymbols();
12942
12943 wxPyEndAllowThreads(__tstate);
12944 if (PyErr_Occurred()) SWIG_fail;
12945 }
12946 {
12947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12948 }
12949 return resultobj;
12950 fail:
12951 return NULL;
12952 }
12953
12954
12955 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12956 PyObject *resultobj;
12957 wxFontData *arg1 = (wxFontData *) 0 ;
12958 wxColour result;
12959 PyObject * obj0 = 0 ;
12960 char *kwnames[] = {
12961 (char *) "self", NULL
12962 };
12963
12964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12967 {
12968 PyThreadState* __tstate = wxPyBeginAllowThreads();
12969 result = (arg1)->GetColour();
12970
12971 wxPyEndAllowThreads(__tstate);
12972 if (PyErr_Occurred()) SWIG_fail;
12973 }
12974 {
12975 wxColour * resultptr;
12976 resultptr = new wxColour((wxColour &) result);
12977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12978 }
12979 return resultobj;
12980 fail:
12981 return NULL;
12982 }
12983
12984
12985 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12986 PyObject *resultobj;
12987 wxFontData *arg1 = (wxFontData *) 0 ;
12988 wxFont result;
12989 PyObject * obj0 = 0 ;
12990 char *kwnames[] = {
12991 (char *) "self", NULL
12992 };
12993
12994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12997 {
12998 PyThreadState* __tstate = wxPyBeginAllowThreads();
12999 result = (arg1)->GetChosenFont();
13000
13001 wxPyEndAllowThreads(__tstate);
13002 if (PyErr_Occurred()) SWIG_fail;
13003 }
13004 {
13005 wxFont * resultptr;
13006 resultptr = new wxFont((wxFont &) result);
13007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13008 }
13009 return resultobj;
13010 fail:
13011 return NULL;
13012 }
13013
13014
13015 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13016 PyObject *resultobj;
13017 wxFontData *arg1 = (wxFontData *) 0 ;
13018 bool result;
13019 PyObject * obj0 = 0 ;
13020 char *kwnames[] = {
13021 (char *) "self", NULL
13022 };
13023
13024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13027 {
13028 PyThreadState* __tstate = wxPyBeginAllowThreads();
13029 result = (bool)(arg1)->GetEnableEffects();
13030
13031 wxPyEndAllowThreads(__tstate);
13032 if (PyErr_Occurred()) SWIG_fail;
13033 }
13034 {
13035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13036 }
13037 return resultobj;
13038 fail:
13039 return NULL;
13040 }
13041
13042
13043 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13044 PyObject *resultobj;
13045 wxFontData *arg1 = (wxFontData *) 0 ;
13046 wxFont result;
13047 PyObject * obj0 = 0 ;
13048 char *kwnames[] = {
13049 (char *) "self", NULL
13050 };
13051
13052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13055 {
13056 PyThreadState* __tstate = wxPyBeginAllowThreads();
13057 result = (arg1)->GetInitialFont();
13058
13059 wxPyEndAllowThreads(__tstate);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 {
13063 wxFont * resultptr;
13064 resultptr = new wxFont((wxFont &) result);
13065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13066 }
13067 return resultobj;
13068 fail:
13069 return NULL;
13070 }
13071
13072
13073 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13074 PyObject *resultobj;
13075 wxFontData *arg1 = (wxFontData *) 0 ;
13076 bool result;
13077 PyObject * obj0 = 0 ;
13078 char *kwnames[] = {
13079 (char *) "self", NULL
13080 };
13081
13082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13085 {
13086 PyThreadState* __tstate = wxPyBeginAllowThreads();
13087 result = (bool)(arg1)->GetShowHelp();
13088
13089 wxPyEndAllowThreads(__tstate);
13090 if (PyErr_Occurred()) SWIG_fail;
13091 }
13092 {
13093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13094 }
13095 return resultobj;
13096 fail:
13097 return NULL;
13098 }
13099
13100
13101 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13102 PyObject *resultobj;
13103 wxFontData *arg1 = (wxFontData *) 0 ;
13104 bool arg2 ;
13105 PyObject * obj0 = 0 ;
13106 PyObject * obj1 = 0 ;
13107 char *kwnames[] = {
13108 (char *) "self",(char *) "allowSymbols", NULL
13109 };
13110
13111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13114 arg2 = (bool) SWIG_AsBool(obj1);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 {
13117 PyThreadState* __tstate = wxPyBeginAllowThreads();
13118 (arg1)->SetAllowSymbols(arg2);
13119
13120 wxPyEndAllowThreads(__tstate);
13121 if (PyErr_Occurred()) SWIG_fail;
13122 }
13123 Py_INCREF(Py_None); resultobj = Py_None;
13124 return resultobj;
13125 fail:
13126 return NULL;
13127 }
13128
13129
13130 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13131 PyObject *resultobj;
13132 wxFontData *arg1 = (wxFontData *) 0 ;
13133 wxFont *arg2 = 0 ;
13134 PyObject * obj0 = 0 ;
13135 PyObject * obj1 = 0 ;
13136 char *kwnames[] = {
13137 (char *) "self",(char *) "font", NULL
13138 };
13139
13140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13144 SWIG_POINTER_EXCEPTION | 0)) == -1)
13145 SWIG_fail;
13146 if (arg2 == NULL) {
13147 PyErr_SetString(PyExc_TypeError,"null reference");
13148 SWIG_fail;
13149 }
13150 {
13151 PyThreadState* __tstate = wxPyBeginAllowThreads();
13152 (arg1)->SetChosenFont((wxFont const &)*arg2);
13153
13154 wxPyEndAllowThreads(__tstate);
13155 if (PyErr_Occurred()) SWIG_fail;
13156 }
13157 Py_INCREF(Py_None); resultobj = Py_None;
13158 return resultobj;
13159 fail:
13160 return NULL;
13161 }
13162
13163
13164 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13165 PyObject *resultobj;
13166 wxFontData *arg1 = (wxFontData *) 0 ;
13167 wxColour *arg2 = 0 ;
13168 wxColour temp2 ;
13169 PyObject * obj0 = 0 ;
13170 PyObject * obj1 = 0 ;
13171 char *kwnames[] = {
13172 (char *) "self",(char *) "colour", NULL
13173 };
13174
13175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13178 {
13179 arg2 = &temp2;
13180 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13181 }
13182 {
13183 PyThreadState* __tstate = wxPyBeginAllowThreads();
13184 (arg1)->SetColour((wxColour const &)*arg2);
13185
13186 wxPyEndAllowThreads(__tstate);
13187 if (PyErr_Occurred()) SWIG_fail;
13188 }
13189 Py_INCREF(Py_None); resultobj = Py_None;
13190 return resultobj;
13191 fail:
13192 return NULL;
13193 }
13194
13195
13196 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13197 PyObject *resultobj;
13198 wxFontData *arg1 = (wxFontData *) 0 ;
13199 wxFont *arg2 = 0 ;
13200 PyObject * obj0 = 0 ;
13201 PyObject * obj1 = 0 ;
13202 char *kwnames[] = {
13203 (char *) "self",(char *) "font", NULL
13204 };
13205
13206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13209 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13210 SWIG_POINTER_EXCEPTION | 0)) == -1)
13211 SWIG_fail;
13212 if (arg2 == NULL) {
13213 PyErr_SetString(PyExc_TypeError,"null reference");
13214 SWIG_fail;
13215 }
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 (arg1)->SetInitialFont((wxFont const &)*arg2);
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 Py_INCREF(Py_None); resultobj = Py_None;
13224 return resultobj;
13225 fail:
13226 return NULL;
13227 }
13228
13229
13230 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13231 PyObject *resultobj;
13232 wxFontData *arg1 = (wxFontData *) 0 ;
13233 int arg2 ;
13234 int arg3 ;
13235 PyObject * obj0 = 0 ;
13236 PyObject * obj1 = 0 ;
13237 PyObject * obj2 = 0 ;
13238 char *kwnames[] = {
13239 (char *) "self",(char *) "min",(char *) "max", NULL
13240 };
13241
13242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13245 arg2 = (int) SWIG_AsInt(obj1);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 arg3 = (int) SWIG_AsInt(obj2);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 {
13250 PyThreadState* __tstate = wxPyBeginAllowThreads();
13251 (arg1)->SetRange(arg2,arg3);
13252
13253 wxPyEndAllowThreads(__tstate);
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
13256 Py_INCREF(Py_None); resultobj = Py_None;
13257 return resultobj;
13258 fail:
13259 return NULL;
13260 }
13261
13262
13263 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13264 PyObject *resultobj;
13265 wxFontData *arg1 = (wxFontData *) 0 ;
13266 bool arg2 ;
13267 PyObject * obj0 = 0 ;
13268 PyObject * obj1 = 0 ;
13269 char *kwnames[] = {
13270 (char *) "self",(char *) "showHelp", NULL
13271 };
13272
13273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13276 arg2 = (bool) SWIG_AsBool(obj1);
13277 if (PyErr_Occurred()) SWIG_fail;
13278 {
13279 PyThreadState* __tstate = wxPyBeginAllowThreads();
13280 (arg1)->SetShowHelp(arg2);
13281
13282 wxPyEndAllowThreads(__tstate);
13283 if (PyErr_Occurred()) SWIG_fail;
13284 }
13285 Py_INCREF(Py_None); resultobj = Py_None;
13286 return resultobj;
13287 fail:
13288 return NULL;
13289 }
13290
13291
13292 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13293 PyObject *obj;
13294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13295 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13296 Py_INCREF(obj);
13297 return Py_BuildValue((char *)"");
13298 }
13299 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13300 PyObject *resultobj;
13301 wxWindow *arg1 = (wxWindow *) 0 ;
13302 wxFontData *arg2 = 0 ;
13303 wxFontDialog *result;
13304 PyObject * obj0 = 0 ;
13305 PyObject * obj1 = 0 ;
13306 char *kwnames[] = {
13307 (char *) "parent",(char *) "data", NULL
13308 };
13309
13310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13314 SWIG_POINTER_EXCEPTION | 0)) == -1)
13315 SWIG_fail;
13316 if (arg2 == NULL) {
13317 PyErr_SetString(PyExc_TypeError,"null reference");
13318 SWIG_fail;
13319 }
13320 {
13321 if (!wxPyCheckForApp()) SWIG_fail;
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13329 return resultobj;
13330 fail:
13331 return NULL;
13332 }
13333
13334
13335 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13336 PyObject *resultobj;
13337 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13338 wxFontData *result;
13339 PyObject * obj0 = 0 ;
13340 char *kwnames[] = {
13341 (char *) "self", NULL
13342 };
13343
13344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13347 {
13348 PyThreadState* __tstate = wxPyBeginAllowThreads();
13349 {
13350 wxFontData &_result_ref = (arg1)->GetFontData();
13351 result = (wxFontData *) &_result_ref;
13352 }
13353
13354 wxPyEndAllowThreads(__tstate);
13355 if (PyErr_Occurred()) SWIG_fail;
13356 }
13357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13358 return resultobj;
13359 fail:
13360 return NULL;
13361 }
13362
13363
13364 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13365 PyObject *obj;
13366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13367 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13368 Py_INCREF(obj);
13369 return Py_BuildValue((char *)"");
13370 }
13371 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13372 PyObject *resultobj;
13373 wxWindow *arg1 = (wxWindow *) 0 ;
13374 wxString *arg2 = 0 ;
13375 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13376 wxString *arg3 = (wxString *) &arg3_defvalue ;
13377 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13378 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13379 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13380 wxMessageDialog *result;
13381 bool temp2 = False ;
13382 bool temp3 = False ;
13383 wxPoint temp5 ;
13384 PyObject * obj0 = 0 ;
13385 PyObject * obj1 = 0 ;
13386 PyObject * obj2 = 0 ;
13387 PyObject * obj3 = 0 ;
13388 PyObject * obj4 = 0 ;
13389 char *kwnames[] = {
13390 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13391 };
13392
13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13396 {
13397 arg2 = wxString_in_helper(obj1);
13398 if (arg2 == NULL) SWIG_fail;
13399 temp2 = True;
13400 }
13401 if (obj2) {
13402 {
13403 arg3 = wxString_in_helper(obj2);
13404 if (arg3 == NULL) SWIG_fail;
13405 temp3 = True;
13406 }
13407 }
13408 if (obj3) {
13409 arg4 = (long) SWIG_AsLong(obj3);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 if (obj4) {
13413 {
13414 arg5 = &temp5;
13415 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13416 }
13417 }
13418 {
13419 if (!wxPyCheckForApp()) SWIG_fail;
13420 PyThreadState* __tstate = wxPyBeginAllowThreads();
13421 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13422
13423 wxPyEndAllowThreads(__tstate);
13424 if (PyErr_Occurred()) SWIG_fail;
13425 }
13426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13427 {
13428 if (temp2)
13429 delete arg2;
13430 }
13431 {
13432 if (temp3)
13433 delete arg3;
13434 }
13435 return resultobj;
13436 fail:
13437 {
13438 if (temp2)
13439 delete arg2;
13440 }
13441 {
13442 if (temp3)
13443 delete arg3;
13444 }
13445 return NULL;
13446 }
13447
13448
13449 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13450 PyObject *obj;
13451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13452 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13453 Py_INCREF(obj);
13454 return Py_BuildValue((char *)"");
13455 }
13456 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13457 PyObject *resultobj;
13458 wxString *arg1 = 0 ;
13459 wxString *arg2 = 0 ;
13460 int arg3 = (int) 100 ;
13461 wxWindow *arg4 = (wxWindow *) NULL ;
13462 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13463 wxProgressDialog *result;
13464 bool temp1 = False ;
13465 bool temp2 = False ;
13466 PyObject * obj0 = 0 ;
13467 PyObject * obj1 = 0 ;
13468 PyObject * obj2 = 0 ;
13469 PyObject * obj3 = 0 ;
13470 PyObject * obj4 = 0 ;
13471 char *kwnames[] = {
13472 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13473 };
13474
13475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13476 {
13477 arg1 = wxString_in_helper(obj0);
13478 if (arg1 == NULL) SWIG_fail;
13479 temp1 = True;
13480 }
13481 {
13482 arg2 = wxString_in_helper(obj1);
13483 if (arg2 == NULL) SWIG_fail;
13484 temp2 = True;
13485 }
13486 if (obj2) {
13487 arg3 = (int) SWIG_AsInt(obj2);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 }
13490 if (obj3) {
13491 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13493 }
13494 if (obj4) {
13495 arg5 = (int) SWIG_AsInt(obj4);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 }
13498 {
13499 if (!wxPyCheckForApp()) SWIG_fail;
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13507 {
13508 if (temp1)
13509 delete arg1;
13510 }
13511 {
13512 if (temp2)
13513 delete arg2;
13514 }
13515 return resultobj;
13516 fail:
13517 {
13518 if (temp1)
13519 delete arg1;
13520 }
13521 {
13522 if (temp2)
13523 delete arg2;
13524 }
13525 return NULL;
13526 }
13527
13528
13529 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13530 PyObject *resultobj;
13531 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13532 int arg2 ;
13533 wxString const &arg3_defvalue = wxPyEmptyString ;
13534 wxString *arg3 = (wxString *) &arg3_defvalue ;
13535 bool result;
13536 bool temp3 = False ;
13537 PyObject * obj0 = 0 ;
13538 PyObject * obj1 = 0 ;
13539 PyObject * obj2 = 0 ;
13540 char *kwnames[] = {
13541 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13542 };
13543
13544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13547 arg2 = (int) SWIG_AsInt(obj1);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 if (obj2) {
13550 {
13551 arg3 = wxString_in_helper(obj2);
13552 if (arg3 == NULL) SWIG_fail;
13553 temp3 = True;
13554 }
13555 }
13556 {
13557 PyThreadState* __tstate = wxPyBeginAllowThreads();
13558 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13559
13560 wxPyEndAllowThreads(__tstate);
13561 if (PyErr_Occurred()) SWIG_fail;
13562 }
13563 {
13564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13565 }
13566 {
13567 if (temp3)
13568 delete arg3;
13569 }
13570 return resultobj;
13571 fail:
13572 {
13573 if (temp3)
13574 delete arg3;
13575 }
13576 return NULL;
13577 }
13578
13579
13580 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13581 PyObject *resultobj;
13582 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13583 PyObject * obj0 = 0 ;
13584 char *kwnames[] = {
13585 (char *) "self", NULL
13586 };
13587
13588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13591 {
13592 PyThreadState* __tstate = wxPyBeginAllowThreads();
13593 (arg1)->Resume();
13594
13595 wxPyEndAllowThreads(__tstate);
13596 if (PyErr_Occurred()) SWIG_fail;
13597 }
13598 Py_INCREF(Py_None); resultobj = Py_None;
13599 return resultobj;
13600 fail:
13601 return NULL;
13602 }
13603
13604
13605 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13606 PyObject *obj;
13607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13608 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13609 Py_INCREF(obj);
13610 return Py_BuildValue((char *)"");
13611 }
13612 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13613 PyObject *resultobj;
13614 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13615 int arg2 = (int) 0 ;
13616 wxFindDialogEvent *result;
13617 PyObject * obj0 = 0 ;
13618 PyObject * obj1 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "commandType",(char *) "id", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13624 if (obj0) {
13625 arg1 = (wxEventType) SWIG_AsInt(obj0);
13626 if (PyErr_Occurred()) SWIG_fail;
13627 }
13628 if (obj1) {
13629 arg2 = (int) SWIG_AsInt(obj1);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 {
13633 PyThreadState* __tstate = wxPyBeginAllowThreads();
13634 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13635
13636 wxPyEndAllowThreads(__tstate);
13637 if (PyErr_Occurred()) SWIG_fail;
13638 }
13639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13640 return resultobj;
13641 fail:
13642 return NULL;
13643 }
13644
13645
13646 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13647 PyObject *resultobj;
13648 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13649 int result;
13650 PyObject * obj0 = 0 ;
13651 char *kwnames[] = {
13652 (char *) "self", NULL
13653 };
13654
13655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13658 {
13659 PyThreadState* __tstate = wxPyBeginAllowThreads();
13660 result = (int)(arg1)->GetFlags();
13661
13662 wxPyEndAllowThreads(__tstate);
13663 if (PyErr_Occurred()) SWIG_fail;
13664 }
13665 resultobj = SWIG_FromInt((int)result);
13666 return resultobj;
13667 fail:
13668 return NULL;
13669 }
13670
13671
13672 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13673 PyObject *resultobj;
13674 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13675 wxString *result;
13676 PyObject * obj0 = 0 ;
13677 char *kwnames[] = {
13678 (char *) "self", NULL
13679 };
13680
13681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13684 {
13685 PyThreadState* __tstate = wxPyBeginAllowThreads();
13686 {
13687 wxString const &_result_ref = (arg1)->GetFindString();
13688 result = (wxString *) &_result_ref;
13689 }
13690
13691 wxPyEndAllowThreads(__tstate);
13692 if (PyErr_Occurred()) SWIG_fail;
13693 }
13694 {
13695 #if wxUSE_UNICODE
13696 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13697 #else
13698 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13699 #endif
13700 }
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13710 wxString *result;
13711 PyObject * obj0 = 0 ;
13712 char *kwnames[] = {
13713 (char *) "self", NULL
13714 };
13715
13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 {
13722 wxString const &_result_ref = (arg1)->GetReplaceString();
13723 result = (wxString *) &_result_ref;
13724 }
13725
13726 wxPyEndAllowThreads(__tstate);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 {
13730 #if wxUSE_UNICODE
13731 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13732 #else
13733 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13734 #endif
13735 }
13736 return resultobj;
13737 fail:
13738 return NULL;
13739 }
13740
13741
13742 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13743 PyObject *resultobj;
13744 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13745 wxFindReplaceDialog *result;
13746 PyObject * obj0 = 0 ;
13747 char *kwnames[] = {
13748 (char *) "self", NULL
13749 };
13750
13751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13754 {
13755 PyThreadState* __tstate = wxPyBeginAllowThreads();
13756 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13757
13758 wxPyEndAllowThreads(__tstate);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13762 return resultobj;
13763 fail:
13764 return NULL;
13765 }
13766
13767
13768 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13769 PyObject *resultobj;
13770 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13771 int arg2 ;
13772 PyObject * obj0 = 0 ;
13773 PyObject * obj1 = 0 ;
13774 char *kwnames[] = {
13775 (char *) "self",(char *) "flags", NULL
13776 };
13777
13778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13781 arg2 = (int) SWIG_AsInt(obj1);
13782 if (PyErr_Occurred()) SWIG_fail;
13783 {
13784 PyThreadState* __tstate = wxPyBeginAllowThreads();
13785 (arg1)->SetFlags(arg2);
13786
13787 wxPyEndAllowThreads(__tstate);
13788 if (PyErr_Occurred()) SWIG_fail;
13789 }
13790 Py_INCREF(Py_None); resultobj = Py_None;
13791 return resultobj;
13792 fail:
13793 return NULL;
13794 }
13795
13796
13797 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13798 PyObject *resultobj;
13799 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13800 wxString *arg2 = 0 ;
13801 bool temp2 = False ;
13802 PyObject * obj0 = 0 ;
13803 PyObject * obj1 = 0 ;
13804 char *kwnames[] = {
13805 (char *) "self",(char *) "str", NULL
13806 };
13807
13808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13811 {
13812 arg2 = wxString_in_helper(obj1);
13813 if (arg2 == NULL) SWIG_fail;
13814 temp2 = True;
13815 }
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 (arg1)->SetFindString((wxString const &)*arg2);
13819
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 Py_INCREF(Py_None); resultobj = Py_None;
13824 {
13825 if (temp2)
13826 delete arg2;
13827 }
13828 return resultobj;
13829 fail:
13830 {
13831 if (temp2)
13832 delete arg2;
13833 }
13834 return NULL;
13835 }
13836
13837
13838 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13839 PyObject *resultobj;
13840 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13841 wxString *arg2 = 0 ;
13842 bool temp2 = False ;
13843 PyObject * obj0 = 0 ;
13844 PyObject * obj1 = 0 ;
13845 char *kwnames[] = {
13846 (char *) "self",(char *) "str", NULL
13847 };
13848
13849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13852 {
13853 arg2 = wxString_in_helper(obj1);
13854 if (arg2 == NULL) SWIG_fail;
13855 temp2 = True;
13856 }
13857 {
13858 PyThreadState* __tstate = wxPyBeginAllowThreads();
13859 (arg1)->SetReplaceString((wxString const &)*arg2);
13860
13861 wxPyEndAllowThreads(__tstate);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
13864 Py_INCREF(Py_None); resultobj = Py_None;
13865 {
13866 if (temp2)
13867 delete arg2;
13868 }
13869 return resultobj;
13870 fail:
13871 {
13872 if (temp2)
13873 delete arg2;
13874 }
13875 return NULL;
13876 }
13877
13878
13879 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13880 PyObject *obj;
13881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13882 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13883 Py_INCREF(obj);
13884 return Py_BuildValue((char *)"");
13885 }
13886 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13887 PyObject *resultobj;
13888 int arg1 = (int) 0 ;
13889 wxFindReplaceData *result;
13890 PyObject * obj0 = 0 ;
13891 char *kwnames[] = {
13892 (char *) "flags", NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13896 if (obj0) {
13897 arg1 = (int) SWIG_AsInt(obj0);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 {
13901 PyThreadState* __tstate = wxPyBeginAllowThreads();
13902 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13903
13904 wxPyEndAllowThreads(__tstate);
13905 if (PyErr_Occurred()) SWIG_fail;
13906 }
13907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13908 return resultobj;
13909 fail:
13910 return NULL;
13911 }
13912
13913
13914 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13915 PyObject *resultobj;
13916 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13917 PyObject * obj0 = 0 ;
13918 char *kwnames[] = {
13919 (char *) "self", NULL
13920 };
13921
13922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13925 {
13926 PyThreadState* __tstate = wxPyBeginAllowThreads();
13927 delete arg1;
13928
13929 wxPyEndAllowThreads(__tstate);
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
13932 Py_INCREF(Py_None); resultobj = Py_None;
13933 return resultobj;
13934 fail:
13935 return NULL;
13936 }
13937
13938
13939 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13940 PyObject *resultobj;
13941 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13942 wxString *result;
13943 PyObject * obj0 = 0 ;
13944 char *kwnames[] = {
13945 (char *) "self", NULL
13946 };
13947
13948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13951 {
13952 PyThreadState* __tstate = wxPyBeginAllowThreads();
13953 {
13954 wxString const &_result_ref = (arg1)->GetFindString();
13955 result = (wxString *) &_result_ref;
13956 }
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
13961 {
13962 #if wxUSE_UNICODE
13963 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13964 #else
13965 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13966 #endif
13967 }
13968 return resultobj;
13969 fail:
13970 return NULL;
13971 }
13972
13973
13974 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13975 PyObject *resultobj;
13976 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13977 wxString *result;
13978 PyObject * obj0 = 0 ;
13979 char *kwnames[] = {
13980 (char *) "self", NULL
13981 };
13982
13983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13986 {
13987 PyThreadState* __tstate = wxPyBeginAllowThreads();
13988 {
13989 wxString const &_result_ref = (arg1)->GetReplaceString();
13990 result = (wxString *) &_result_ref;
13991 }
13992
13993 wxPyEndAllowThreads(__tstate);
13994 if (PyErr_Occurred()) SWIG_fail;
13995 }
13996 {
13997 #if wxUSE_UNICODE
13998 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13999 #else
14000 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14001 #endif
14002 }
14003 return resultobj;
14004 fail:
14005 return NULL;
14006 }
14007
14008
14009 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14010 PyObject *resultobj;
14011 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14012 int result;
14013 PyObject * obj0 = 0 ;
14014 char *kwnames[] = {
14015 (char *) "self", NULL
14016 };
14017
14018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14021 {
14022 PyThreadState* __tstate = wxPyBeginAllowThreads();
14023 result = (int)(arg1)->GetFlags();
14024
14025 wxPyEndAllowThreads(__tstate);
14026 if (PyErr_Occurred()) SWIG_fail;
14027 }
14028 resultobj = SWIG_FromInt((int)result);
14029 return resultobj;
14030 fail:
14031 return NULL;
14032 }
14033
14034
14035 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14036 PyObject *resultobj;
14037 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14038 int arg2 ;
14039 PyObject * obj0 = 0 ;
14040 PyObject * obj1 = 0 ;
14041 char *kwnames[] = {
14042 (char *) "self",(char *) "flags", NULL
14043 };
14044
14045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14048 arg2 = (int) SWIG_AsInt(obj1);
14049 if (PyErr_Occurred()) SWIG_fail;
14050 {
14051 PyThreadState* __tstate = wxPyBeginAllowThreads();
14052 (arg1)->SetFlags(arg2);
14053
14054 wxPyEndAllowThreads(__tstate);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 }
14057 Py_INCREF(Py_None); resultobj = Py_None;
14058 return resultobj;
14059 fail:
14060 return NULL;
14061 }
14062
14063
14064 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14065 PyObject *resultobj;
14066 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14067 wxString *arg2 = 0 ;
14068 bool temp2 = False ;
14069 PyObject * obj0 = 0 ;
14070 PyObject * obj1 = 0 ;
14071 char *kwnames[] = {
14072 (char *) "self",(char *) "str", NULL
14073 };
14074
14075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14078 {
14079 arg2 = wxString_in_helper(obj1);
14080 if (arg2 == NULL) SWIG_fail;
14081 temp2 = True;
14082 }
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 (arg1)->SetFindString((wxString const &)*arg2);
14086
14087 wxPyEndAllowThreads(__tstate);
14088 if (PyErr_Occurred()) SWIG_fail;
14089 }
14090 Py_INCREF(Py_None); resultobj = Py_None;
14091 {
14092 if (temp2)
14093 delete arg2;
14094 }
14095 return resultobj;
14096 fail:
14097 {
14098 if (temp2)
14099 delete arg2;
14100 }
14101 return NULL;
14102 }
14103
14104
14105 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14106 PyObject *resultobj;
14107 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14108 wxString *arg2 = 0 ;
14109 bool temp2 = False ;
14110 PyObject * obj0 = 0 ;
14111 PyObject * obj1 = 0 ;
14112 char *kwnames[] = {
14113 (char *) "self",(char *) "str", NULL
14114 };
14115
14116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14119 {
14120 arg2 = wxString_in_helper(obj1);
14121 if (arg2 == NULL) SWIG_fail;
14122 temp2 = True;
14123 }
14124 {
14125 PyThreadState* __tstate = wxPyBeginAllowThreads();
14126 (arg1)->SetReplaceString((wxString const &)*arg2);
14127
14128 wxPyEndAllowThreads(__tstate);
14129 if (PyErr_Occurred()) SWIG_fail;
14130 }
14131 Py_INCREF(Py_None); resultobj = Py_None;
14132 {
14133 if (temp2)
14134 delete arg2;
14135 }
14136 return resultobj;
14137 fail:
14138 {
14139 if (temp2)
14140 delete arg2;
14141 }
14142 return NULL;
14143 }
14144
14145
14146 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14147 PyObject *obj;
14148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14149 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14150 Py_INCREF(obj);
14151 return Py_BuildValue((char *)"");
14152 }
14153 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14154 PyObject *resultobj;
14155 wxWindow *arg1 = (wxWindow *) 0 ;
14156 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14157 wxString *arg3 = 0 ;
14158 int arg4 = (int) 0 ;
14159 wxFindReplaceDialog *result;
14160 bool temp3 = False ;
14161 PyObject * obj0 = 0 ;
14162 PyObject * obj1 = 0 ;
14163 PyObject * obj2 = 0 ;
14164 PyObject * obj3 = 0 ;
14165 char *kwnames[] = {
14166 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14167 };
14168
14169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14174 {
14175 arg3 = wxString_in_helper(obj2);
14176 if (arg3 == NULL) SWIG_fail;
14177 temp3 = True;
14178 }
14179 if (obj3) {
14180 arg4 = (int) SWIG_AsInt(obj3);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 {
14184 if (!wxPyCheckForApp()) SWIG_fail;
14185 PyThreadState* __tstate = wxPyBeginAllowThreads();
14186 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14187
14188 wxPyEndAllowThreads(__tstate);
14189 if (PyErr_Occurred()) SWIG_fail;
14190 }
14191 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14192 {
14193 if (temp3)
14194 delete arg3;
14195 }
14196 return resultobj;
14197 fail:
14198 {
14199 if (temp3)
14200 delete arg3;
14201 }
14202 return NULL;
14203 }
14204
14205
14206 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14207 PyObject *resultobj;
14208 wxFindReplaceDialog *result;
14209 char *kwnames[] = {
14210 NULL
14211 };
14212
14213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14214 {
14215 if (!wxPyCheckForApp()) SWIG_fail;
14216 PyThreadState* __tstate = wxPyBeginAllowThreads();
14217 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14218
14219 wxPyEndAllowThreads(__tstate);
14220 if (PyErr_Occurred()) SWIG_fail;
14221 }
14222 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14223 return resultobj;
14224 fail:
14225 return NULL;
14226 }
14227
14228
14229 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14230 PyObject *resultobj;
14231 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14232 wxWindow *arg2 = (wxWindow *) 0 ;
14233 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14234 wxString *arg4 = 0 ;
14235 int arg5 = (int) 0 ;
14236 bool result;
14237 bool temp4 = False ;
14238 PyObject * obj0 = 0 ;
14239 PyObject * obj1 = 0 ;
14240 PyObject * obj2 = 0 ;
14241 PyObject * obj3 = 0 ;
14242 PyObject * obj4 = 0 ;
14243 char *kwnames[] = {
14244 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14245 };
14246
14247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14250 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14252 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14254 {
14255 arg4 = wxString_in_helper(obj3);
14256 if (arg4 == NULL) SWIG_fail;
14257 temp4 = True;
14258 }
14259 if (obj4) {
14260 arg5 = (int) SWIG_AsInt(obj4);
14261 if (PyErr_Occurred()) SWIG_fail;
14262 }
14263 {
14264 PyThreadState* __tstate = wxPyBeginAllowThreads();
14265 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14266
14267 wxPyEndAllowThreads(__tstate);
14268 if (PyErr_Occurred()) SWIG_fail;
14269 }
14270 {
14271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14272 }
14273 {
14274 if (temp4)
14275 delete arg4;
14276 }
14277 return resultobj;
14278 fail:
14279 {
14280 if (temp4)
14281 delete arg4;
14282 }
14283 return NULL;
14284 }
14285
14286
14287 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14288 PyObject *resultobj;
14289 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14290 wxFindReplaceData *result;
14291 PyObject * obj0 = 0 ;
14292 char *kwnames[] = {
14293 (char *) "self", NULL
14294 };
14295
14296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14299 {
14300 PyThreadState* __tstate = wxPyBeginAllowThreads();
14301 result = (wxFindReplaceData *)(arg1)->GetData();
14302
14303 wxPyEndAllowThreads(__tstate);
14304 if (PyErr_Occurred()) SWIG_fail;
14305 }
14306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14307 return resultobj;
14308 fail:
14309 return NULL;
14310 }
14311
14312
14313 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14314 PyObject *resultobj;
14315 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14316 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14317 PyObject * obj0 = 0 ;
14318 PyObject * obj1 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self",(char *) "data", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 (arg1)->SetData(arg2);
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 Py_INCREF(Py_None); resultobj = Py_None;
14336 return resultobj;
14337 fail:
14338 return NULL;
14339 }
14340
14341
14342 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14343 PyObject *obj;
14344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14345 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14346 Py_INCREF(obj);
14347 return Py_BuildValue((char *)"");
14348 }
14349 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14350 PyObject *resultobj;
14351 wxWindow *arg1 = (wxWindow *) 0 ;
14352 int arg2 = (int) (int)-1 ;
14353 wxString const &arg3_defvalue = wxPyEmptyString ;
14354 wxString *arg3 = (wxString *) &arg3_defvalue ;
14355 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14356 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14357 wxSize const &arg5_defvalue = wxDefaultSize ;
14358 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14359 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14360 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14361 wxString *arg7 = (wxString *) &arg7_defvalue ;
14362 wxMDIParentFrame *result;
14363 bool temp3 = False ;
14364 wxPoint temp4 ;
14365 wxSize temp5 ;
14366 bool temp7 = False ;
14367 PyObject * obj0 = 0 ;
14368 PyObject * obj1 = 0 ;
14369 PyObject * obj2 = 0 ;
14370 PyObject * obj3 = 0 ;
14371 PyObject * obj4 = 0 ;
14372 PyObject * obj5 = 0 ;
14373 PyObject * obj6 = 0 ;
14374 char *kwnames[] = {
14375 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14376 };
14377
14378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14381 if (obj1) {
14382 arg2 = (int const) SWIG_AsInt(obj1);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 if (obj2) {
14386 {
14387 arg3 = wxString_in_helper(obj2);
14388 if (arg3 == NULL) SWIG_fail;
14389 temp3 = True;
14390 }
14391 }
14392 if (obj3) {
14393 {
14394 arg4 = &temp4;
14395 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14396 }
14397 }
14398 if (obj4) {
14399 {
14400 arg5 = &temp5;
14401 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14402 }
14403 }
14404 if (obj5) {
14405 arg6 = (long) SWIG_AsLong(obj5);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 }
14408 if (obj6) {
14409 {
14410 arg7 = wxString_in_helper(obj6);
14411 if (arg7 == NULL) SWIG_fail;
14412 temp7 = True;
14413 }
14414 }
14415 {
14416 if (!wxPyCheckForApp()) SWIG_fail;
14417 PyThreadState* __tstate = wxPyBeginAllowThreads();
14418 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14419
14420 wxPyEndAllowThreads(__tstate);
14421 if (PyErr_Occurred()) SWIG_fail;
14422 }
14423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14424 {
14425 if (temp3)
14426 delete arg3;
14427 }
14428 {
14429 if (temp7)
14430 delete arg7;
14431 }
14432 return resultobj;
14433 fail:
14434 {
14435 if (temp3)
14436 delete arg3;
14437 }
14438 {
14439 if (temp7)
14440 delete arg7;
14441 }
14442 return NULL;
14443 }
14444
14445
14446 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj;
14448 wxMDIParentFrame *result;
14449 char *kwnames[] = {
14450 NULL
14451 };
14452
14453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14454 {
14455 if (!wxPyCheckForApp()) SWIG_fail;
14456 PyThreadState* __tstate = wxPyBeginAllowThreads();
14457 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14458
14459 wxPyEndAllowThreads(__tstate);
14460 if (PyErr_Occurred()) SWIG_fail;
14461 }
14462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14463 return resultobj;
14464 fail:
14465 return NULL;
14466 }
14467
14468
14469 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14470 PyObject *resultobj;
14471 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14472 wxWindow *arg2 = (wxWindow *) 0 ;
14473 int arg3 = (int) (int)-1 ;
14474 wxString const &arg4_defvalue = wxPyEmptyString ;
14475 wxString *arg4 = (wxString *) &arg4_defvalue ;
14476 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14477 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14478 wxSize const &arg6_defvalue = wxDefaultSize ;
14479 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14480 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14481 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14482 wxString *arg8 = (wxString *) &arg8_defvalue ;
14483 bool result;
14484 bool temp4 = False ;
14485 wxPoint temp5 ;
14486 wxSize temp6 ;
14487 bool temp8 = False ;
14488 PyObject * obj0 = 0 ;
14489 PyObject * obj1 = 0 ;
14490 PyObject * obj2 = 0 ;
14491 PyObject * obj3 = 0 ;
14492 PyObject * obj4 = 0 ;
14493 PyObject * obj5 = 0 ;
14494 PyObject * obj6 = 0 ;
14495 PyObject * obj7 = 0 ;
14496 char *kwnames[] = {
14497 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14498 };
14499
14500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14505 if (obj2) {
14506 arg3 = (int const) SWIG_AsInt(obj2);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 if (obj3) {
14510 {
14511 arg4 = wxString_in_helper(obj3);
14512 if (arg4 == NULL) SWIG_fail;
14513 temp4 = True;
14514 }
14515 }
14516 if (obj4) {
14517 {
14518 arg5 = &temp5;
14519 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14520 }
14521 }
14522 if (obj5) {
14523 {
14524 arg6 = &temp6;
14525 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14526 }
14527 }
14528 if (obj6) {
14529 arg7 = (long) SWIG_AsLong(obj6);
14530 if (PyErr_Occurred()) SWIG_fail;
14531 }
14532 if (obj7) {
14533 {
14534 arg8 = wxString_in_helper(obj7);
14535 if (arg8 == NULL) SWIG_fail;
14536 temp8 = True;
14537 }
14538 }
14539 {
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14542
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 {
14547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14548 }
14549 {
14550 if (temp4)
14551 delete arg4;
14552 }
14553 {
14554 if (temp8)
14555 delete arg8;
14556 }
14557 return resultobj;
14558 fail:
14559 {
14560 if (temp4)
14561 delete arg4;
14562 }
14563 {
14564 if (temp8)
14565 delete arg8;
14566 }
14567 return NULL;
14568 }
14569
14570
14571 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14572 PyObject *resultobj;
14573 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14574 PyObject * obj0 = 0 ;
14575 char *kwnames[] = {
14576 (char *) "self", NULL
14577 };
14578
14579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14582 {
14583 PyThreadState* __tstate = wxPyBeginAllowThreads();
14584 (arg1)->ActivateNext();
14585
14586 wxPyEndAllowThreads(__tstate);
14587 if (PyErr_Occurred()) SWIG_fail;
14588 }
14589 Py_INCREF(Py_None); resultobj = Py_None;
14590 return resultobj;
14591 fail:
14592 return NULL;
14593 }
14594
14595
14596 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14597 PyObject *resultobj;
14598 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14599 PyObject * obj0 = 0 ;
14600 char *kwnames[] = {
14601 (char *) "self", NULL
14602 };
14603
14604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14607 {
14608 PyThreadState* __tstate = wxPyBeginAllowThreads();
14609 (arg1)->ActivatePrevious();
14610
14611 wxPyEndAllowThreads(__tstate);
14612 if (PyErr_Occurred()) SWIG_fail;
14613 }
14614 Py_INCREF(Py_None); resultobj = Py_None;
14615 return resultobj;
14616 fail:
14617 return NULL;
14618 }
14619
14620
14621 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14622 PyObject *resultobj;
14623 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14624 PyObject * obj0 = 0 ;
14625 char *kwnames[] = {
14626 (char *) "self", NULL
14627 };
14628
14629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14632 {
14633 PyThreadState* __tstate = wxPyBeginAllowThreads();
14634 (arg1)->ArrangeIcons();
14635
14636 wxPyEndAllowThreads(__tstate);
14637 if (PyErr_Occurred()) SWIG_fail;
14638 }
14639 Py_INCREF(Py_None); resultobj = Py_None;
14640 return resultobj;
14641 fail:
14642 return NULL;
14643 }
14644
14645
14646 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14647 PyObject *resultobj;
14648 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14649 PyObject * obj0 = 0 ;
14650 char *kwnames[] = {
14651 (char *) "self", NULL
14652 };
14653
14654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 (arg1)->Cascade();
14660
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
14664 Py_INCREF(Py_None); resultobj = Py_None;
14665 return resultobj;
14666 fail:
14667 return NULL;
14668 }
14669
14670
14671 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14672 PyObject *resultobj;
14673 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14674 wxMDIChildFrame *result;
14675 PyObject * obj0 = 0 ;
14676 char *kwnames[] = {
14677 (char *) "self", NULL
14678 };
14679
14680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14686
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 {
14691 resultobj = wxPyMake_wxObject(result);
14692 }
14693 return resultobj;
14694 fail:
14695 return NULL;
14696 }
14697
14698
14699 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14700 PyObject *resultobj;
14701 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14702 wxMDIClientWindow *result;
14703 PyObject * obj0 = 0 ;
14704 char *kwnames[] = {
14705 (char *) "self", NULL
14706 };
14707
14708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14711 {
14712 PyThreadState* __tstate = wxPyBeginAllowThreads();
14713 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14714
14715 wxPyEndAllowThreads(__tstate);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 }
14718 {
14719 resultobj = wxPyMake_wxObject(result);
14720 }
14721 return resultobj;
14722 fail:
14723 return NULL;
14724 }
14725
14726
14727 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14728 PyObject *resultobj;
14729 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14730 wxWindow *result;
14731 PyObject * obj0 = 0 ;
14732 char *kwnames[] = {
14733 (char *) "self", NULL
14734 };
14735
14736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14739 {
14740 PyThreadState* __tstate = wxPyBeginAllowThreads();
14741 result = (wxWindow *)(arg1)->GetToolBar();
14742
14743 wxPyEndAllowThreads(__tstate);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 {
14747 resultobj = wxPyMake_wxObject(result);
14748 }
14749 return resultobj;
14750 fail:
14751 return NULL;
14752 }
14753
14754
14755 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14756 PyObject *resultobj;
14757 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14758 PyObject * obj0 = 0 ;
14759 char *kwnames[] = {
14760 (char *) "self", NULL
14761 };
14762
14763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14766 {
14767 PyThreadState* __tstate = wxPyBeginAllowThreads();
14768 (arg1)->Tile();
14769
14770 wxPyEndAllowThreads(__tstate);
14771 if (PyErr_Occurred()) SWIG_fail;
14772 }
14773 Py_INCREF(Py_None); resultobj = Py_None;
14774 return resultobj;
14775 fail:
14776 return NULL;
14777 }
14778
14779
14780 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14781 PyObject *obj;
14782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14783 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14784 Py_INCREF(obj);
14785 return Py_BuildValue((char *)"");
14786 }
14787 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14788 PyObject *resultobj;
14789 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14790 int arg2 = (int) (int)-1 ;
14791 wxString const &arg3_defvalue = wxPyEmptyString ;
14792 wxString *arg3 = (wxString *) &arg3_defvalue ;
14793 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14794 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14795 wxSize const &arg5_defvalue = wxDefaultSize ;
14796 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14797 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14798 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14799 wxString *arg7 = (wxString *) &arg7_defvalue ;
14800 wxMDIChildFrame *result;
14801 bool temp3 = False ;
14802 wxPoint temp4 ;
14803 wxSize temp5 ;
14804 bool temp7 = False ;
14805 PyObject * obj0 = 0 ;
14806 PyObject * obj1 = 0 ;
14807 PyObject * obj2 = 0 ;
14808 PyObject * obj3 = 0 ;
14809 PyObject * obj4 = 0 ;
14810 PyObject * obj5 = 0 ;
14811 PyObject * obj6 = 0 ;
14812 char *kwnames[] = {
14813 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14814 };
14815
14816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14819 if (obj1) {
14820 arg2 = (int const) SWIG_AsInt(obj1);
14821 if (PyErr_Occurred()) SWIG_fail;
14822 }
14823 if (obj2) {
14824 {
14825 arg3 = wxString_in_helper(obj2);
14826 if (arg3 == NULL) SWIG_fail;
14827 temp3 = True;
14828 }
14829 }
14830 if (obj3) {
14831 {
14832 arg4 = &temp4;
14833 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14834 }
14835 }
14836 if (obj4) {
14837 {
14838 arg5 = &temp5;
14839 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14840 }
14841 }
14842 if (obj5) {
14843 arg6 = (long) SWIG_AsLong(obj5);
14844 if (PyErr_Occurred()) SWIG_fail;
14845 }
14846 if (obj6) {
14847 {
14848 arg7 = wxString_in_helper(obj6);
14849 if (arg7 == NULL) SWIG_fail;
14850 temp7 = True;
14851 }
14852 }
14853 {
14854 if (!wxPyCheckForApp()) SWIG_fail;
14855 PyThreadState* __tstate = wxPyBeginAllowThreads();
14856 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14857
14858 wxPyEndAllowThreads(__tstate);
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 {
14862 resultobj = wxPyMake_wxObject(result);
14863 }
14864 {
14865 if (temp3)
14866 delete arg3;
14867 }
14868 {
14869 if (temp7)
14870 delete arg7;
14871 }
14872 return resultobj;
14873 fail:
14874 {
14875 if (temp3)
14876 delete arg3;
14877 }
14878 {
14879 if (temp7)
14880 delete arg7;
14881 }
14882 return NULL;
14883 }
14884
14885
14886 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14887 PyObject *resultobj;
14888 wxMDIChildFrame *result;
14889 char *kwnames[] = {
14890 NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14894 {
14895 if (!wxPyCheckForApp()) SWIG_fail;
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14898
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 {
14903 resultobj = wxPyMake_wxObject(result);
14904 }
14905 return resultobj;
14906 fail:
14907 return NULL;
14908 }
14909
14910
14911 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14912 PyObject *resultobj;
14913 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14914 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14915 int arg3 = (int) (int)-1 ;
14916 wxString const &arg4_defvalue = wxPyEmptyString ;
14917 wxString *arg4 = (wxString *) &arg4_defvalue ;
14918 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14919 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14920 wxSize const &arg6_defvalue = wxDefaultSize ;
14921 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14922 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14923 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14924 wxString *arg8 = (wxString *) &arg8_defvalue ;
14925 bool result;
14926 bool temp4 = False ;
14927 wxPoint temp5 ;
14928 wxSize temp6 ;
14929 bool temp8 = False ;
14930 PyObject * obj0 = 0 ;
14931 PyObject * obj1 = 0 ;
14932 PyObject * obj2 = 0 ;
14933 PyObject * obj3 = 0 ;
14934 PyObject * obj4 = 0 ;
14935 PyObject * obj5 = 0 ;
14936 PyObject * obj6 = 0 ;
14937 PyObject * obj7 = 0 ;
14938 char *kwnames[] = {
14939 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14940 };
14941
14942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14947 if (obj2) {
14948 arg3 = (int const) SWIG_AsInt(obj2);
14949 if (PyErr_Occurred()) SWIG_fail;
14950 }
14951 if (obj3) {
14952 {
14953 arg4 = wxString_in_helper(obj3);
14954 if (arg4 == NULL) SWIG_fail;
14955 temp4 = True;
14956 }
14957 }
14958 if (obj4) {
14959 {
14960 arg5 = &temp5;
14961 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14962 }
14963 }
14964 if (obj5) {
14965 {
14966 arg6 = &temp6;
14967 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14968 }
14969 }
14970 if (obj6) {
14971 arg7 = (long) SWIG_AsLong(obj6);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 if (obj7) {
14975 {
14976 arg8 = wxString_in_helper(obj7);
14977 if (arg8 == NULL) SWIG_fail;
14978 temp8 = True;
14979 }
14980 }
14981 {
14982 PyThreadState* __tstate = wxPyBeginAllowThreads();
14983 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14984
14985 wxPyEndAllowThreads(__tstate);
14986 if (PyErr_Occurred()) SWIG_fail;
14987 }
14988 {
14989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14990 }
14991 {
14992 if (temp4)
14993 delete arg4;
14994 }
14995 {
14996 if (temp8)
14997 delete arg8;
14998 }
14999 return resultobj;
15000 fail:
15001 {
15002 if (temp4)
15003 delete arg4;
15004 }
15005 {
15006 if (temp8)
15007 delete arg8;
15008 }
15009 return NULL;
15010 }
15011
15012
15013 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15014 PyObject *resultobj;
15015 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15016 PyObject * obj0 = 0 ;
15017 char *kwnames[] = {
15018 (char *) "self", NULL
15019 };
15020
15021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15024 {
15025 PyThreadState* __tstate = wxPyBeginAllowThreads();
15026 (arg1)->Activate();
15027
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 Py_INCREF(Py_None); resultobj = Py_None;
15032 return resultobj;
15033 fail:
15034 return NULL;
15035 }
15036
15037
15038 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15039 PyObject *resultobj;
15040 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15041 bool arg2 ;
15042 PyObject * obj0 = 0 ;
15043 PyObject * obj1 = 0 ;
15044 char *kwnames[] = {
15045 (char *) "self",(char *) "maximize", NULL
15046 };
15047
15048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15051 arg2 = (bool) SWIG_AsBool(obj1);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 (arg1)->Maximize(arg2);
15056
15057 wxPyEndAllowThreads(__tstate);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15060 Py_INCREF(Py_None); resultobj = Py_None;
15061 return resultobj;
15062 fail:
15063 return NULL;
15064 }
15065
15066
15067 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15068 PyObject *resultobj;
15069 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15070 PyObject * obj0 = 0 ;
15071 char *kwnames[] = {
15072 (char *) "self", NULL
15073 };
15074
15075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 (arg1)->Restore();
15081
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 Py_INCREF(Py_None); resultobj = Py_None;
15086 return resultobj;
15087 fail:
15088 return NULL;
15089 }
15090
15091
15092 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15093 PyObject *obj;
15094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15095 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15096 Py_INCREF(obj);
15097 return Py_BuildValue((char *)"");
15098 }
15099 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15100 PyObject *resultobj;
15101 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15102 long arg2 = (long) 0 ;
15103 wxMDIClientWindow *result;
15104 PyObject * obj0 = 0 ;
15105 PyObject * obj1 = 0 ;
15106 char *kwnames[] = {
15107 (char *) "parent",(char *) "style", NULL
15108 };
15109
15110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15113 if (obj1) {
15114 arg2 = (long) SWIG_AsLong(obj1);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 {
15118 if (!wxPyCheckForApp()) SWIG_fail;
15119 PyThreadState* __tstate = wxPyBeginAllowThreads();
15120 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15121
15122 wxPyEndAllowThreads(__tstate);
15123 if (PyErr_Occurred()) SWIG_fail;
15124 }
15125 {
15126 resultobj = wxPyMake_wxObject(result);
15127 }
15128 return resultobj;
15129 fail:
15130 return NULL;
15131 }
15132
15133
15134 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15135 PyObject *resultobj;
15136 wxMDIClientWindow *result;
15137 char *kwnames[] = {
15138 NULL
15139 };
15140
15141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15142 {
15143 if (!wxPyCheckForApp()) SWIG_fail;
15144 PyThreadState* __tstate = wxPyBeginAllowThreads();
15145 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15146
15147 wxPyEndAllowThreads(__tstate);
15148 if (PyErr_Occurred()) SWIG_fail;
15149 }
15150 {
15151 resultobj = wxPyMake_wxObject(result);
15152 }
15153 return resultobj;
15154 fail:
15155 return NULL;
15156 }
15157
15158
15159 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15160 PyObject *resultobj;
15161 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15162 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15163 long arg3 = (long) 0 ;
15164 bool result;
15165 PyObject * obj0 = 0 ;
15166 PyObject * obj1 = 0 ;
15167 PyObject * obj2 = 0 ;
15168 char *kwnames[] = {
15169 (char *) "self",(char *) "parent",(char *) "style", NULL
15170 };
15171
15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15175 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15177 if (obj2) {
15178 arg3 = (long) SWIG_AsLong(obj2);
15179 if (PyErr_Occurred()) SWIG_fail;
15180 }
15181 {
15182 PyThreadState* __tstate = wxPyBeginAllowThreads();
15183 result = (bool)(arg1)->Create(arg2,arg3);
15184
15185 wxPyEndAllowThreads(__tstate);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 {
15189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15190 }
15191 return resultobj;
15192 fail:
15193 return NULL;
15194 }
15195
15196
15197 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15198 PyObject *obj;
15199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15200 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15201 Py_INCREF(obj);
15202 return Py_BuildValue((char *)"");
15203 }
15204 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15205 PyObject *resultobj;
15206 wxWindow *arg1 = (wxWindow *) 0 ;
15207 int arg2 = (int) (int)-1 ;
15208 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15209 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15210 wxSize const &arg4_defvalue = wxDefaultSize ;
15211 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15212 long arg5 = (long) 0 ;
15213 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15214 wxString *arg6 = (wxString *) &arg6_defvalue ;
15215 wxPyWindow *result;
15216 wxPoint temp3 ;
15217 wxSize temp4 ;
15218 bool temp6 = False ;
15219 PyObject * obj0 = 0 ;
15220 PyObject * obj1 = 0 ;
15221 PyObject * obj2 = 0 ;
15222 PyObject * obj3 = 0 ;
15223 PyObject * obj4 = 0 ;
15224 PyObject * obj5 = 0 ;
15225 char *kwnames[] = {
15226 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15227 };
15228
15229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15232 if (obj1) {
15233 arg2 = (int const) SWIG_AsInt(obj1);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 if (obj2) {
15237 {
15238 arg3 = &temp3;
15239 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15240 }
15241 }
15242 if (obj3) {
15243 {
15244 arg4 = &temp4;
15245 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15246 }
15247 }
15248 if (obj4) {
15249 arg5 = (long) SWIG_AsLong(obj4);
15250 if (PyErr_Occurred()) SWIG_fail;
15251 }
15252 if (obj5) {
15253 {
15254 arg6 = wxString_in_helper(obj5);
15255 if (arg6 == NULL) SWIG_fail;
15256 temp6 = True;
15257 }
15258 }
15259 {
15260 if (!wxPyCheckForApp()) SWIG_fail;
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15268 {
15269 if (temp6)
15270 delete arg6;
15271 }
15272 return resultobj;
15273 fail:
15274 {
15275 if (temp6)
15276 delete arg6;
15277 }
15278 return NULL;
15279 }
15280
15281
15282 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15283 PyObject *resultobj;
15284 wxPyWindow *result;
15285 char *kwnames[] = {
15286 NULL
15287 };
15288
15289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15290 {
15291 if (!wxPyCheckForApp()) SWIG_fail;
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 result = (wxPyWindow *)new wxPyWindow();
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15299 return resultobj;
15300 fail:
15301 return NULL;
15302 }
15303
15304
15305 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj;
15307 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15308 PyObject *arg2 = (PyObject *) 0 ;
15309 PyObject *arg3 = (PyObject *) 0 ;
15310 PyObject * obj0 = 0 ;
15311 PyObject * obj1 = 0 ;
15312 PyObject * obj2 = 0 ;
15313 char *kwnames[] = {
15314 (char *) "self",(char *) "self",(char *) "_class", NULL
15315 };
15316
15317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15320 arg2 = obj1;
15321 arg3 = obj2;
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 (arg1)->_setCallbackInfo(arg2,arg3);
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 return resultobj;
15331 fail:
15332 return NULL;
15333 }
15334
15335
15336 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15337 PyObject *resultobj;
15338 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15339 wxSize *arg2 = 0 ;
15340 wxSize temp2 ;
15341 PyObject * obj0 = 0 ;
15342 PyObject * obj1 = 0 ;
15343 char *kwnames[] = {
15344 (char *) "self",(char *) "size", NULL
15345 };
15346
15347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15350 {
15351 arg2 = &temp2;
15352 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15353 }
15354 {
15355 PyThreadState* __tstate = wxPyBeginAllowThreads();
15356 (arg1)->SetBestSize((wxSize const &)*arg2);
15357
15358 wxPyEndAllowThreads(__tstate);
15359 if (PyErr_Occurred()) SWIG_fail;
15360 }
15361 Py_INCREF(Py_None); resultobj = Py_None;
15362 return resultobj;
15363 fail:
15364 return NULL;
15365 }
15366
15367
15368 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15369 PyObject *resultobj;
15370 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15371 int arg2 ;
15372 int arg3 ;
15373 int arg4 ;
15374 int arg5 ;
15375 PyObject * obj0 = 0 ;
15376 PyObject * obj1 = 0 ;
15377 PyObject * obj2 = 0 ;
15378 PyObject * obj3 = 0 ;
15379 PyObject * obj4 = 0 ;
15380 char *kwnames[] = {
15381 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15382 };
15383
15384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15387 arg2 = (int) SWIG_AsInt(obj1);
15388 if (PyErr_Occurred()) SWIG_fail;
15389 arg3 = (int) SWIG_AsInt(obj2);
15390 if (PyErr_Occurred()) SWIG_fail;
15391 arg4 = (int) SWIG_AsInt(obj3);
15392 if (PyErr_Occurred()) SWIG_fail;
15393 arg5 = (int) SWIG_AsInt(obj4);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15398
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 Py_INCREF(Py_None); resultobj = Py_None;
15403 return resultobj;
15404 fail:
15405 return NULL;
15406 }
15407
15408
15409 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15412 int arg2 ;
15413 int arg3 ;
15414 int arg4 ;
15415 int arg5 ;
15416 int arg6 = (int) wxSIZE_AUTO ;
15417 PyObject * obj0 = 0 ;
15418 PyObject * obj1 = 0 ;
15419 PyObject * obj2 = 0 ;
15420 PyObject * obj3 = 0 ;
15421 PyObject * obj4 = 0 ;
15422 PyObject * obj5 = 0 ;
15423 char *kwnames[] = {
15424 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15425 };
15426
15427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15430 arg2 = (int) SWIG_AsInt(obj1);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 arg3 = (int) SWIG_AsInt(obj2);
15433 if (PyErr_Occurred()) SWIG_fail;
15434 arg4 = (int) SWIG_AsInt(obj3);
15435 if (PyErr_Occurred()) SWIG_fail;
15436 arg5 = (int) SWIG_AsInt(obj4);
15437 if (PyErr_Occurred()) SWIG_fail;
15438 if (obj5) {
15439 arg6 = (int) SWIG_AsInt(obj5);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15445
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 Py_INCREF(Py_None); resultobj = Py_None;
15450 return resultobj;
15451 fail:
15452 return NULL;
15453 }
15454
15455
15456 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15457 PyObject *resultobj;
15458 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15459 int arg2 ;
15460 int arg3 ;
15461 PyObject * obj0 = 0 ;
15462 PyObject * obj1 = 0 ;
15463 PyObject * obj2 = 0 ;
15464 char *kwnames[] = {
15465 (char *) "self",(char *) "width",(char *) "height", NULL
15466 };
15467
15468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15471 arg2 = (int) SWIG_AsInt(obj1);
15472 if (PyErr_Occurred()) SWIG_fail;
15473 arg3 = (int) SWIG_AsInt(obj2);
15474 if (PyErr_Occurred()) SWIG_fail;
15475 {
15476 PyThreadState* __tstate = wxPyBeginAllowThreads();
15477 (arg1)->base_DoSetClientSize(arg2,arg3);
15478
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 Py_INCREF(Py_None); resultobj = Py_None;
15483 return resultobj;
15484 fail:
15485 return NULL;
15486 }
15487
15488
15489 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj;
15491 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15492 int arg2 ;
15493 int arg3 ;
15494 PyObject * obj0 = 0 ;
15495 PyObject * obj1 = 0 ;
15496 PyObject * obj2 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "self",(char *) "x",(char *) "y", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15504 arg2 = (int) SWIG_AsInt(obj1);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 arg3 = (int) SWIG_AsInt(obj2);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15511
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 Py_INCREF(Py_None); resultobj = Py_None;
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15525 int *arg2 = (int *) 0 ;
15526 int *arg3 = (int *) 0 ;
15527 int temp2 ;
15528 int temp3 ;
15529 PyObject * obj0 = 0 ;
15530 char *kwnames[] = {
15531 (char *) "self", NULL
15532 };
15533
15534 arg2 = &temp2;
15535 arg3 = &temp3;
15536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15539 {
15540 PyThreadState* __tstate = wxPyBeginAllowThreads();
15541 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15542
15543 wxPyEndAllowThreads(__tstate);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 Py_INCREF(Py_None); resultobj = Py_None;
15547 {
15548 PyObject *o = PyInt_FromLong((long) (*arg2));
15549 resultobj = t_output_helper(resultobj,o);
15550 }
15551 {
15552 PyObject *o = PyInt_FromLong((long) (*arg3));
15553 resultobj = t_output_helper(resultobj,o);
15554 }
15555 return resultobj;
15556 fail:
15557 return NULL;
15558 }
15559
15560
15561 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15562 PyObject *resultobj;
15563 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15564 int *arg2 = (int *) 0 ;
15565 int *arg3 = (int *) 0 ;
15566 int temp2 ;
15567 int temp3 ;
15568 PyObject * obj0 = 0 ;
15569 char *kwnames[] = {
15570 (char *) "self", NULL
15571 };
15572
15573 arg2 = &temp2;
15574 arg3 = &temp3;
15575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15578 {
15579 PyThreadState* __tstate = wxPyBeginAllowThreads();
15580 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15581
15582 wxPyEndAllowThreads(__tstate);
15583 if (PyErr_Occurred()) SWIG_fail;
15584 }
15585 Py_INCREF(Py_None); resultobj = Py_None;
15586 {
15587 PyObject *o = PyInt_FromLong((long) (*arg2));
15588 resultobj = t_output_helper(resultobj,o);
15589 }
15590 {
15591 PyObject *o = PyInt_FromLong((long) (*arg3));
15592 resultobj = t_output_helper(resultobj,o);
15593 }
15594 return resultobj;
15595 fail:
15596 return NULL;
15597 }
15598
15599
15600 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15601 PyObject *resultobj;
15602 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15603 int *arg2 = (int *) 0 ;
15604 int *arg3 = (int *) 0 ;
15605 int temp2 ;
15606 int temp3 ;
15607 PyObject * obj0 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "self", NULL
15610 };
15611
15612 arg2 = &temp2;
15613 arg3 = &temp3;
15614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15617 {
15618 PyThreadState* __tstate = wxPyBeginAllowThreads();
15619 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15620
15621 wxPyEndAllowThreads(__tstate);
15622 if (PyErr_Occurred()) SWIG_fail;
15623 }
15624 Py_INCREF(Py_None); resultobj = Py_None;
15625 {
15626 PyObject *o = PyInt_FromLong((long) (*arg2));
15627 resultobj = t_output_helper(resultobj,o);
15628 }
15629 {
15630 PyObject *o = PyInt_FromLong((long) (*arg3));
15631 resultobj = t_output_helper(resultobj,o);
15632 }
15633 return resultobj;
15634 fail:
15635 return NULL;
15636 }
15637
15638
15639 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15640 PyObject *resultobj;
15641 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15642 wxSize result;
15643 PyObject * obj0 = 0 ;
15644 char *kwnames[] = {
15645 (char *) "self", NULL
15646 };
15647
15648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15651 {
15652 PyThreadState* __tstate = wxPyBeginAllowThreads();
15653 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15654
15655 wxPyEndAllowThreads(__tstate);
15656 if (PyErr_Occurred()) SWIG_fail;
15657 }
15658 {
15659 wxSize * resultptr;
15660 resultptr = new wxSize((wxSize &) result);
15661 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15662 }
15663 return resultobj;
15664 fail:
15665 return NULL;
15666 }
15667
15668
15669 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15670 PyObject *resultobj;
15671 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15672 wxSize result;
15673 PyObject * obj0 = 0 ;
15674 char *kwnames[] = {
15675 (char *) "self", NULL
15676 };
15677
15678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15681 {
15682 PyThreadState* __tstate = wxPyBeginAllowThreads();
15683 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15684
15685 wxPyEndAllowThreads(__tstate);
15686 if (PyErr_Occurred()) SWIG_fail;
15687 }
15688 {
15689 wxSize * resultptr;
15690 resultptr = new wxSize((wxSize &) result);
15691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15692 }
15693 return resultobj;
15694 fail:
15695 return NULL;
15696 }
15697
15698
15699 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj;
15701 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15702 PyObject * obj0 = 0 ;
15703 char *kwnames[] = {
15704 (char *) "self", NULL
15705 };
15706
15707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15710 {
15711 PyThreadState* __tstate = wxPyBeginAllowThreads();
15712 (arg1)->base_InitDialog();
15713
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 Py_INCREF(Py_None); resultobj = Py_None;
15718 return resultobj;
15719 fail:
15720 return NULL;
15721 }
15722
15723
15724 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj;
15726 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15727 bool result;
15728 PyObject * obj0 = 0 ;
15729 char *kwnames[] = {
15730 (char *) "self", NULL
15731 };
15732
15733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15736 {
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 result = (bool)(arg1)->base_TransferDataToWindow();
15739
15740 wxPyEndAllowThreads(__tstate);
15741 if (PyErr_Occurred()) SWIG_fail;
15742 }
15743 {
15744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15745 }
15746 return resultobj;
15747 fail:
15748 return NULL;
15749 }
15750
15751
15752 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15753 PyObject *resultobj;
15754 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15755 bool result;
15756 PyObject * obj0 = 0 ;
15757 char *kwnames[] = {
15758 (char *) "self", NULL
15759 };
15760
15761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15764 {
15765 PyThreadState* __tstate = wxPyBeginAllowThreads();
15766 result = (bool)(arg1)->base_TransferDataFromWindow();
15767
15768 wxPyEndAllowThreads(__tstate);
15769 if (PyErr_Occurred()) SWIG_fail;
15770 }
15771 {
15772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15773 }
15774 return resultobj;
15775 fail:
15776 return NULL;
15777 }
15778
15779
15780 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15781 PyObject *resultobj;
15782 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15783 bool result;
15784 PyObject * obj0 = 0 ;
15785 char *kwnames[] = {
15786 (char *) "self", NULL
15787 };
15788
15789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15792 {
15793 PyThreadState* __tstate = wxPyBeginAllowThreads();
15794 result = (bool)(arg1)->base_Validate();
15795
15796 wxPyEndAllowThreads(__tstate);
15797 if (PyErr_Occurred()) SWIG_fail;
15798 }
15799 {
15800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15801 }
15802 return resultobj;
15803 fail:
15804 return NULL;
15805 }
15806
15807
15808 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15809 PyObject *resultobj;
15810 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15811 bool result;
15812 PyObject * obj0 = 0 ;
15813 char *kwnames[] = {
15814 (char *) "self", NULL
15815 };
15816
15817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15820 {
15821 PyThreadState* __tstate = wxPyBeginAllowThreads();
15822 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15823
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 {
15828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15829 }
15830 return resultobj;
15831 fail:
15832 return NULL;
15833 }
15834
15835
15836 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15837 PyObject *resultobj;
15838 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15839 bool result;
15840 PyObject * obj0 = 0 ;
15841 char *kwnames[] = {
15842 (char *) "self", NULL
15843 };
15844
15845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15848 {
15849 PyThreadState* __tstate = wxPyBeginAllowThreads();
15850 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15851
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 {
15856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15857 }
15858 return resultobj;
15859 fail:
15860 return NULL;
15861 }
15862
15863
15864 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15865 PyObject *resultobj;
15866 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15867 wxSize result;
15868 PyObject * obj0 = 0 ;
15869 char *kwnames[] = {
15870 (char *) "self", NULL
15871 };
15872
15873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15876 {
15877 PyThreadState* __tstate = wxPyBeginAllowThreads();
15878 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15879
15880 wxPyEndAllowThreads(__tstate);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 }
15883 {
15884 wxSize * resultptr;
15885 resultptr = new wxSize((wxSize &) result);
15886 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15887 }
15888 return resultobj;
15889 fail:
15890 return NULL;
15891 }
15892
15893
15894 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15895 PyObject *resultobj;
15896 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15897 wxWindow *arg2 = (wxWindow *) 0 ;
15898 PyObject * obj0 = 0 ;
15899 PyObject * obj1 = 0 ;
15900 char *kwnames[] = {
15901 (char *) "self",(char *) "child", NULL
15902 };
15903
15904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15909 {
15910 PyThreadState* __tstate = wxPyBeginAllowThreads();
15911 (arg1)->base_AddChild(arg2);
15912
15913 wxPyEndAllowThreads(__tstate);
15914 if (PyErr_Occurred()) SWIG_fail;
15915 }
15916 Py_INCREF(Py_None); resultobj = Py_None;
15917 return resultobj;
15918 fail:
15919 return NULL;
15920 }
15921
15922
15923 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15924 PyObject *resultobj;
15925 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15926 wxWindow *arg2 = (wxWindow *) 0 ;
15927 PyObject * obj0 = 0 ;
15928 PyObject * obj1 = 0 ;
15929 char *kwnames[] = {
15930 (char *) "self",(char *) "child", NULL
15931 };
15932
15933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15936 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 (arg1)->base_RemoveChild(arg2);
15941
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 Py_INCREF(Py_None); resultobj = Py_None;
15946 return resultobj;
15947 fail:
15948 return NULL;
15949 }
15950
15951
15952 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15953 PyObject *resultobj;
15954 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15955 bool result;
15956 PyObject * obj0 = 0 ;
15957 char *kwnames[] = {
15958 (char *) "self", NULL
15959 };
15960
15961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 {
15972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15973 }
15974 return resultobj;
15975 fail:
15976 return NULL;
15977 }
15978
15979
15980 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15981 PyObject *resultobj;
15982 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15983 wxColour *arg2 = 0 ;
15984 wxColour temp2 ;
15985 PyObject * obj0 = 0 ;
15986 PyObject * obj1 = 0 ;
15987 char *kwnames[] = {
15988 (char *) "self",(char *) "c", NULL
15989 };
15990
15991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15994 {
15995 arg2 = &temp2;
15996 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15997 }
15998 {
15999 PyThreadState* __tstate = wxPyBeginAllowThreads();
16000 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16001
16002 wxPyEndAllowThreads(__tstate);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 }
16005 Py_INCREF(Py_None); resultobj = Py_None;
16006 return resultobj;
16007 fail:
16008 return NULL;
16009 }
16010
16011
16012 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16013 PyObject *resultobj;
16014 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16015 wxVisualAttributes result;
16016 PyObject * obj0 = 0 ;
16017 char *kwnames[] = {
16018 (char *) "self", NULL
16019 };
16020
16021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 result = (arg1)->base_GetDefaultAttributes();
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 {
16032 wxVisualAttributes * resultptr;
16033 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16034 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16035 }
16036 return resultobj;
16037 fail:
16038 return NULL;
16039 }
16040
16041
16042 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
16043 PyObject *obj;
16044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16045 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16046 Py_INCREF(obj);
16047 return Py_BuildValue((char *)"");
16048 }
16049 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj;
16051 wxWindow *arg1 = (wxWindow *) 0 ;
16052 int arg2 = (int) (int)-1 ;
16053 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16054 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16055 wxSize const &arg4_defvalue = wxDefaultSize ;
16056 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16057 long arg5 = (long) 0 ;
16058 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16059 wxString *arg6 = (wxString *) &arg6_defvalue ;
16060 wxPyPanel *result;
16061 wxPoint temp3 ;
16062 wxSize temp4 ;
16063 bool temp6 = False ;
16064 PyObject * obj0 = 0 ;
16065 PyObject * obj1 = 0 ;
16066 PyObject * obj2 = 0 ;
16067 PyObject * obj3 = 0 ;
16068 PyObject * obj4 = 0 ;
16069 PyObject * obj5 = 0 ;
16070 char *kwnames[] = {
16071 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16072 };
16073
16074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16077 if (obj1) {
16078 arg2 = (int const) SWIG_AsInt(obj1);
16079 if (PyErr_Occurred()) SWIG_fail;
16080 }
16081 if (obj2) {
16082 {
16083 arg3 = &temp3;
16084 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16085 }
16086 }
16087 if (obj3) {
16088 {
16089 arg4 = &temp4;
16090 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16091 }
16092 }
16093 if (obj4) {
16094 arg5 = (long) SWIG_AsLong(obj4);
16095 if (PyErr_Occurred()) SWIG_fail;
16096 }
16097 if (obj5) {
16098 {
16099 arg6 = wxString_in_helper(obj5);
16100 if (arg6 == NULL) SWIG_fail;
16101 temp6 = True;
16102 }
16103 }
16104 {
16105 if (!wxPyCheckForApp()) SWIG_fail;
16106 PyThreadState* __tstate = wxPyBeginAllowThreads();
16107 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16108
16109 wxPyEndAllowThreads(__tstate);
16110 if (PyErr_Occurred()) SWIG_fail;
16111 }
16112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16113 {
16114 if (temp6)
16115 delete arg6;
16116 }
16117 return resultobj;
16118 fail:
16119 {
16120 if (temp6)
16121 delete arg6;
16122 }
16123 return NULL;
16124 }
16125
16126
16127 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16128 PyObject *resultobj;
16129 wxPyPanel *result;
16130 char *kwnames[] = {
16131 NULL
16132 };
16133
16134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16135 {
16136 if (!wxPyCheckForApp()) SWIG_fail;
16137 PyThreadState* __tstate = wxPyBeginAllowThreads();
16138 result = (wxPyPanel *)new wxPyPanel();
16139
16140 wxPyEndAllowThreads(__tstate);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 }
16143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16144 return resultobj;
16145 fail:
16146 return NULL;
16147 }
16148
16149
16150 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16151 PyObject *resultobj;
16152 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16153 PyObject *arg2 = (PyObject *) 0 ;
16154 PyObject *arg3 = (PyObject *) 0 ;
16155 PyObject * obj0 = 0 ;
16156 PyObject * obj1 = 0 ;
16157 PyObject * obj2 = 0 ;
16158 char *kwnames[] = {
16159 (char *) "self",(char *) "self",(char *) "_class", NULL
16160 };
16161
16162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16165 arg2 = obj1;
16166 arg3 = obj2;
16167 {
16168 PyThreadState* __tstate = wxPyBeginAllowThreads();
16169 (arg1)->_setCallbackInfo(arg2,arg3);
16170
16171 wxPyEndAllowThreads(__tstate);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 }
16174 Py_INCREF(Py_None); resultobj = Py_None;
16175 return resultobj;
16176 fail:
16177 return NULL;
16178 }
16179
16180
16181 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16182 PyObject *resultobj;
16183 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16184 wxSize *arg2 = 0 ;
16185 wxSize temp2 ;
16186 PyObject * obj0 = 0 ;
16187 PyObject * obj1 = 0 ;
16188 char *kwnames[] = {
16189 (char *) "self",(char *) "size", NULL
16190 };
16191
16192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16195 {
16196 arg2 = &temp2;
16197 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16198 }
16199 {
16200 PyThreadState* __tstate = wxPyBeginAllowThreads();
16201 (arg1)->SetBestSize((wxSize const &)*arg2);
16202
16203 wxPyEndAllowThreads(__tstate);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 Py_INCREF(Py_None); resultobj = Py_None;
16207 return resultobj;
16208 fail:
16209 return NULL;
16210 }
16211
16212
16213 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16214 PyObject *resultobj;
16215 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16216 int arg2 ;
16217 int arg3 ;
16218 int arg4 ;
16219 int arg5 ;
16220 PyObject * obj0 = 0 ;
16221 PyObject * obj1 = 0 ;
16222 PyObject * obj2 = 0 ;
16223 PyObject * obj3 = 0 ;
16224 PyObject * obj4 = 0 ;
16225 char *kwnames[] = {
16226 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16227 };
16228
16229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16232 arg2 = (int) SWIG_AsInt(obj1);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 arg3 = (int) SWIG_AsInt(obj2);
16235 if (PyErr_Occurred()) SWIG_fail;
16236 arg4 = (int) SWIG_AsInt(obj3);
16237 if (PyErr_Occurred()) SWIG_fail;
16238 arg5 = (int) SWIG_AsInt(obj4);
16239 if (PyErr_Occurred()) SWIG_fail;
16240 {
16241 PyThreadState* __tstate = wxPyBeginAllowThreads();
16242 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16243
16244 wxPyEndAllowThreads(__tstate);
16245 if (PyErr_Occurred()) SWIG_fail;
16246 }
16247 Py_INCREF(Py_None); resultobj = Py_None;
16248 return resultobj;
16249 fail:
16250 return NULL;
16251 }
16252
16253
16254 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj;
16256 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16257 int arg2 ;
16258 int arg3 ;
16259 int arg4 ;
16260 int arg5 ;
16261 int arg6 = (int) wxSIZE_AUTO ;
16262 PyObject * obj0 = 0 ;
16263 PyObject * obj1 = 0 ;
16264 PyObject * obj2 = 0 ;
16265 PyObject * obj3 = 0 ;
16266 PyObject * obj4 = 0 ;
16267 PyObject * obj5 = 0 ;
16268 char *kwnames[] = {
16269 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16270 };
16271
16272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16275 arg2 = (int) SWIG_AsInt(obj1);
16276 if (PyErr_Occurred()) SWIG_fail;
16277 arg3 = (int) SWIG_AsInt(obj2);
16278 if (PyErr_Occurred()) SWIG_fail;
16279 arg4 = (int) SWIG_AsInt(obj3);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 arg5 = (int) SWIG_AsInt(obj4);
16282 if (PyErr_Occurred()) SWIG_fail;
16283 if (obj5) {
16284 arg6 = (int) SWIG_AsInt(obj5);
16285 if (PyErr_Occurred()) SWIG_fail;
16286 }
16287 {
16288 PyThreadState* __tstate = wxPyBeginAllowThreads();
16289 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16290
16291 wxPyEndAllowThreads(__tstate);
16292 if (PyErr_Occurred()) SWIG_fail;
16293 }
16294 Py_INCREF(Py_None); resultobj = Py_None;
16295 return resultobj;
16296 fail:
16297 return NULL;
16298 }
16299
16300
16301 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16302 PyObject *resultobj;
16303 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16304 int arg2 ;
16305 int arg3 ;
16306 PyObject * obj0 = 0 ;
16307 PyObject * obj1 = 0 ;
16308 PyObject * obj2 = 0 ;
16309 char *kwnames[] = {
16310 (char *) "self",(char *) "width",(char *) "height", NULL
16311 };
16312
16313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16316 arg2 = (int) SWIG_AsInt(obj1);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 arg3 = (int) SWIG_AsInt(obj2);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 {
16321 PyThreadState* __tstate = wxPyBeginAllowThreads();
16322 (arg1)->base_DoSetClientSize(arg2,arg3);
16323
16324 wxPyEndAllowThreads(__tstate);
16325 if (PyErr_Occurred()) SWIG_fail;
16326 }
16327 Py_INCREF(Py_None); resultobj = Py_None;
16328 return resultobj;
16329 fail:
16330 return NULL;
16331 }
16332
16333
16334 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16335 PyObject *resultobj;
16336 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16337 int arg2 ;
16338 int arg3 ;
16339 PyObject * obj0 = 0 ;
16340 PyObject * obj1 = 0 ;
16341 PyObject * obj2 = 0 ;
16342 char *kwnames[] = {
16343 (char *) "self",(char *) "x",(char *) "y", NULL
16344 };
16345
16346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16349 arg2 = (int) SWIG_AsInt(obj1);
16350 if (PyErr_Occurred()) SWIG_fail;
16351 arg3 = (int) SWIG_AsInt(obj2);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 {
16354 PyThreadState* __tstate = wxPyBeginAllowThreads();
16355 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16356
16357 wxPyEndAllowThreads(__tstate);
16358 if (PyErr_Occurred()) SWIG_fail;
16359 }
16360 Py_INCREF(Py_None); resultobj = Py_None;
16361 return resultobj;
16362 fail:
16363 return NULL;
16364 }
16365
16366
16367 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16368 PyObject *resultobj;
16369 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16370 int *arg2 = (int *) 0 ;
16371 int *arg3 = (int *) 0 ;
16372 int temp2 ;
16373 int temp3 ;
16374 PyObject * obj0 = 0 ;
16375 char *kwnames[] = {
16376 (char *) "self", NULL
16377 };
16378
16379 arg2 = &temp2;
16380 arg3 = &temp3;
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16384 {
16385 PyThreadState* __tstate = wxPyBeginAllowThreads();
16386 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16387
16388 wxPyEndAllowThreads(__tstate);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
16391 Py_INCREF(Py_None); resultobj = Py_None;
16392 {
16393 PyObject *o = PyInt_FromLong((long) (*arg2));
16394 resultobj = t_output_helper(resultobj,o);
16395 }
16396 {
16397 PyObject *o = PyInt_FromLong((long) (*arg3));
16398 resultobj = t_output_helper(resultobj,o);
16399 }
16400 return resultobj;
16401 fail:
16402 return NULL;
16403 }
16404
16405
16406 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16407 PyObject *resultobj;
16408 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16409 int *arg2 = (int *) 0 ;
16410 int *arg3 = (int *) 0 ;
16411 int temp2 ;
16412 int temp3 ;
16413 PyObject * obj0 = 0 ;
16414 char *kwnames[] = {
16415 (char *) "self", NULL
16416 };
16417
16418 arg2 = &temp2;
16419 arg3 = &temp3;
16420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16423 {
16424 PyThreadState* __tstate = wxPyBeginAllowThreads();
16425 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16426
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 Py_INCREF(Py_None); resultobj = Py_None;
16431 {
16432 PyObject *o = PyInt_FromLong((long) (*arg2));
16433 resultobj = t_output_helper(resultobj,o);
16434 }
16435 {
16436 PyObject *o = PyInt_FromLong((long) (*arg3));
16437 resultobj = t_output_helper(resultobj,o);
16438 }
16439 return resultobj;
16440 fail:
16441 return NULL;
16442 }
16443
16444
16445 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16446 PyObject *resultobj;
16447 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16448 int *arg2 = (int *) 0 ;
16449 int *arg3 = (int *) 0 ;
16450 int temp2 ;
16451 int temp3 ;
16452 PyObject * obj0 = 0 ;
16453 char *kwnames[] = {
16454 (char *) "self", NULL
16455 };
16456
16457 arg2 = &temp2;
16458 arg3 = &temp3;
16459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16462 {
16463 PyThreadState* __tstate = wxPyBeginAllowThreads();
16464 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16465
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 Py_INCREF(Py_None); resultobj = Py_None;
16470 {
16471 PyObject *o = PyInt_FromLong((long) (*arg2));
16472 resultobj = t_output_helper(resultobj,o);
16473 }
16474 {
16475 PyObject *o = PyInt_FromLong((long) (*arg3));
16476 resultobj = t_output_helper(resultobj,o);
16477 }
16478 return resultobj;
16479 fail:
16480 return NULL;
16481 }
16482
16483
16484 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16485 PyObject *resultobj;
16486 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16487 wxSize result;
16488 PyObject * obj0 = 0 ;
16489 char *kwnames[] = {
16490 (char *) "self", NULL
16491 };
16492
16493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16496 {
16497 PyThreadState* __tstate = wxPyBeginAllowThreads();
16498 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16499
16500 wxPyEndAllowThreads(__tstate);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 }
16503 {
16504 wxSize * resultptr;
16505 resultptr = new wxSize((wxSize &) result);
16506 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16507 }
16508 return resultobj;
16509 fail:
16510 return NULL;
16511 }
16512
16513
16514 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16515 PyObject *resultobj;
16516 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16517 wxSize result;
16518 PyObject * obj0 = 0 ;
16519 char *kwnames[] = {
16520 (char *) "self", NULL
16521 };
16522
16523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 {
16534 wxSize * resultptr;
16535 resultptr = new wxSize((wxSize &) result);
16536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16537 }
16538 return resultobj;
16539 fail:
16540 return NULL;
16541 }
16542
16543
16544 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16545 PyObject *resultobj;
16546 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16547 PyObject * obj0 = 0 ;
16548 char *kwnames[] = {
16549 (char *) "self", NULL
16550 };
16551
16552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16555 {
16556 PyThreadState* __tstate = wxPyBeginAllowThreads();
16557 (arg1)->base_InitDialog();
16558
16559 wxPyEndAllowThreads(__tstate);
16560 if (PyErr_Occurred()) SWIG_fail;
16561 }
16562 Py_INCREF(Py_None); resultobj = Py_None;
16563 return resultobj;
16564 fail:
16565 return NULL;
16566 }
16567
16568
16569 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16570 PyObject *resultobj;
16571 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16572 bool result;
16573 PyObject * obj0 = 0 ;
16574 char *kwnames[] = {
16575 (char *) "self", NULL
16576 };
16577
16578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16581 {
16582 PyThreadState* __tstate = wxPyBeginAllowThreads();
16583 result = (bool)(arg1)->base_TransferDataToWindow();
16584
16585 wxPyEndAllowThreads(__tstate);
16586 if (PyErr_Occurred()) SWIG_fail;
16587 }
16588 {
16589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16590 }
16591 return resultobj;
16592 fail:
16593 return NULL;
16594 }
16595
16596
16597 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16598 PyObject *resultobj;
16599 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16600 bool result;
16601 PyObject * obj0 = 0 ;
16602 char *kwnames[] = {
16603 (char *) "self", NULL
16604 };
16605
16606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16609 {
16610 PyThreadState* __tstate = wxPyBeginAllowThreads();
16611 result = (bool)(arg1)->base_TransferDataFromWindow();
16612
16613 wxPyEndAllowThreads(__tstate);
16614 if (PyErr_Occurred()) SWIG_fail;
16615 }
16616 {
16617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16618 }
16619 return resultobj;
16620 fail:
16621 return NULL;
16622 }
16623
16624
16625 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16626 PyObject *resultobj;
16627 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16628 bool result;
16629 PyObject * obj0 = 0 ;
16630 char *kwnames[] = {
16631 (char *) "self", NULL
16632 };
16633
16634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16637 {
16638 PyThreadState* __tstate = wxPyBeginAllowThreads();
16639 result = (bool)(arg1)->base_Validate();
16640
16641 wxPyEndAllowThreads(__tstate);
16642 if (PyErr_Occurred()) SWIG_fail;
16643 }
16644 {
16645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16646 }
16647 return resultobj;
16648 fail:
16649 return NULL;
16650 }
16651
16652
16653 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16654 PyObject *resultobj;
16655 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16656 bool result;
16657 PyObject * obj0 = 0 ;
16658 char *kwnames[] = {
16659 (char *) "self", NULL
16660 };
16661
16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 {
16673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16674 }
16675 return resultobj;
16676 fail:
16677 return NULL;
16678 }
16679
16680
16681 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16682 PyObject *resultobj;
16683 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16684 bool result;
16685 PyObject * obj0 = 0 ;
16686 char *kwnames[] = {
16687 (char *) "self", NULL
16688 };
16689
16690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16693 {
16694 PyThreadState* __tstate = wxPyBeginAllowThreads();
16695 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16696
16697 wxPyEndAllowThreads(__tstate);
16698 if (PyErr_Occurred()) SWIG_fail;
16699 }
16700 {
16701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16702 }
16703 return resultobj;
16704 fail:
16705 return NULL;
16706 }
16707
16708
16709 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16710 PyObject *resultobj;
16711 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16712 wxSize result;
16713 PyObject * obj0 = 0 ;
16714 char *kwnames[] = {
16715 (char *) "self", NULL
16716 };
16717
16718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16721 {
16722 PyThreadState* __tstate = wxPyBeginAllowThreads();
16723 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16724
16725 wxPyEndAllowThreads(__tstate);
16726 if (PyErr_Occurred()) SWIG_fail;
16727 }
16728 {
16729 wxSize * resultptr;
16730 resultptr = new wxSize((wxSize &) result);
16731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16732 }
16733 return resultobj;
16734 fail:
16735 return NULL;
16736 }
16737
16738
16739 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16740 PyObject *resultobj;
16741 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16742 wxWindow *arg2 = (wxWindow *) 0 ;
16743 PyObject * obj0 = 0 ;
16744 PyObject * obj1 = 0 ;
16745 char *kwnames[] = {
16746 (char *) "self",(char *) "child", NULL
16747 };
16748
16749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16754 {
16755 PyThreadState* __tstate = wxPyBeginAllowThreads();
16756 (arg1)->base_AddChild(arg2);
16757
16758 wxPyEndAllowThreads(__tstate);
16759 if (PyErr_Occurred()) SWIG_fail;
16760 }
16761 Py_INCREF(Py_None); resultobj = Py_None;
16762 return resultobj;
16763 fail:
16764 return NULL;
16765 }
16766
16767
16768 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16769 PyObject *resultobj;
16770 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16771 wxWindow *arg2 = (wxWindow *) 0 ;
16772 PyObject * obj0 = 0 ;
16773 PyObject * obj1 = 0 ;
16774 char *kwnames[] = {
16775 (char *) "self",(char *) "child", NULL
16776 };
16777
16778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16781 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16783 {
16784 PyThreadState* __tstate = wxPyBeginAllowThreads();
16785 (arg1)->base_RemoveChild(arg2);
16786
16787 wxPyEndAllowThreads(__tstate);
16788 if (PyErr_Occurred()) SWIG_fail;
16789 }
16790 Py_INCREF(Py_None); resultobj = Py_None;
16791 return resultobj;
16792 fail:
16793 return NULL;
16794 }
16795
16796
16797 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16798 PyObject *resultobj;
16799 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16800 bool result;
16801 PyObject * obj0 = 0 ;
16802 char *kwnames[] = {
16803 (char *) "self", NULL
16804 };
16805
16806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16809 {
16810 PyThreadState* __tstate = wxPyBeginAllowThreads();
16811 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
16812
16813 wxPyEndAllowThreads(__tstate);
16814 if (PyErr_Occurred()) SWIG_fail;
16815 }
16816 {
16817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16818 }
16819 return resultobj;
16820 fail:
16821 return NULL;
16822 }
16823
16824
16825 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16826 PyObject *resultobj;
16827 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16828 wxColour *arg2 = 0 ;
16829 wxColour temp2 ;
16830 PyObject * obj0 = 0 ;
16831 PyObject * obj1 = 0 ;
16832 char *kwnames[] = {
16833 (char *) "self",(char *) "c", NULL
16834 };
16835
16836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16839 {
16840 arg2 = &temp2;
16841 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16842 }
16843 {
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16846
16847 wxPyEndAllowThreads(__tstate);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 Py_INCREF(Py_None); resultobj = Py_None;
16851 return resultobj;
16852 fail:
16853 return NULL;
16854 }
16855
16856
16857 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16858 PyObject *resultobj;
16859 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16860 wxVisualAttributes result;
16861 PyObject * obj0 = 0 ;
16862 char *kwnames[] = {
16863 (char *) "self", NULL
16864 };
16865
16866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16869 {
16870 PyThreadState* __tstate = wxPyBeginAllowThreads();
16871 result = (arg1)->base_GetDefaultAttributes();
16872
16873 wxPyEndAllowThreads(__tstate);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 {
16877 wxVisualAttributes * resultptr;
16878 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16879 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16880 }
16881 return resultobj;
16882 fail:
16883 return NULL;
16884 }
16885
16886
16887 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16888 PyObject *obj;
16889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16890 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16891 Py_INCREF(obj);
16892 return Py_BuildValue((char *)"");
16893 }
16894 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16895 PyObject *resultobj;
16896 wxWindow *arg1 = (wxWindow *) 0 ;
16897 int arg2 = (int) (int)-1 ;
16898 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16899 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16900 wxSize const &arg4_defvalue = wxDefaultSize ;
16901 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16902 long arg5 = (long) 0 ;
16903 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16904 wxString *arg6 = (wxString *) &arg6_defvalue ;
16905 wxPyScrolledWindow *result;
16906 wxPoint temp3 ;
16907 wxSize temp4 ;
16908 bool temp6 = False ;
16909 PyObject * obj0 = 0 ;
16910 PyObject * obj1 = 0 ;
16911 PyObject * obj2 = 0 ;
16912 PyObject * obj3 = 0 ;
16913 PyObject * obj4 = 0 ;
16914 PyObject * obj5 = 0 ;
16915 char *kwnames[] = {
16916 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16917 };
16918
16919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16922 if (obj1) {
16923 arg2 = (int const) SWIG_AsInt(obj1);
16924 if (PyErr_Occurred()) SWIG_fail;
16925 }
16926 if (obj2) {
16927 {
16928 arg3 = &temp3;
16929 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16930 }
16931 }
16932 if (obj3) {
16933 {
16934 arg4 = &temp4;
16935 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16936 }
16937 }
16938 if (obj4) {
16939 arg5 = (long) SWIG_AsLong(obj4);
16940 if (PyErr_Occurred()) SWIG_fail;
16941 }
16942 if (obj5) {
16943 {
16944 arg6 = wxString_in_helper(obj5);
16945 if (arg6 == NULL) SWIG_fail;
16946 temp6 = True;
16947 }
16948 }
16949 {
16950 if (!wxPyCheckForApp()) SWIG_fail;
16951 PyThreadState* __tstate = wxPyBeginAllowThreads();
16952 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16953
16954 wxPyEndAllowThreads(__tstate);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 }
16957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16958 {
16959 if (temp6)
16960 delete arg6;
16961 }
16962 return resultobj;
16963 fail:
16964 {
16965 if (temp6)
16966 delete arg6;
16967 }
16968 return NULL;
16969 }
16970
16971
16972 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16973 PyObject *resultobj;
16974 wxPyScrolledWindow *result;
16975 char *kwnames[] = {
16976 NULL
16977 };
16978
16979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16980 {
16981 if (!wxPyCheckForApp()) SWIG_fail;
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16989 return resultobj;
16990 fail:
16991 return NULL;
16992 }
16993
16994
16995 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16996 PyObject *resultobj;
16997 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16998 PyObject *arg2 = (PyObject *) 0 ;
16999 PyObject *arg3 = (PyObject *) 0 ;
17000 PyObject * obj0 = 0 ;
17001 PyObject * obj1 = 0 ;
17002 PyObject * obj2 = 0 ;
17003 char *kwnames[] = {
17004 (char *) "self",(char *) "self",(char *) "_class", NULL
17005 };
17006
17007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17010 arg2 = obj1;
17011 arg3 = obj2;
17012 {
17013 PyThreadState* __tstate = wxPyBeginAllowThreads();
17014 (arg1)->_setCallbackInfo(arg2,arg3);
17015
17016 wxPyEndAllowThreads(__tstate);
17017 if (PyErr_Occurred()) SWIG_fail;
17018 }
17019 Py_INCREF(Py_None); resultobj = Py_None;
17020 return resultobj;
17021 fail:
17022 return NULL;
17023 }
17024
17025
17026 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17027 PyObject *resultobj;
17028 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17029 wxSize *arg2 = 0 ;
17030 wxSize temp2 ;
17031 PyObject * obj0 = 0 ;
17032 PyObject * obj1 = 0 ;
17033 char *kwnames[] = {
17034 (char *) "self",(char *) "size", NULL
17035 };
17036
17037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17040 {
17041 arg2 = &temp2;
17042 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17043 }
17044 {
17045 PyThreadState* __tstate = wxPyBeginAllowThreads();
17046 (arg1)->SetBestSize((wxSize const &)*arg2);
17047
17048 wxPyEndAllowThreads(__tstate);
17049 if (PyErr_Occurred()) SWIG_fail;
17050 }
17051 Py_INCREF(Py_None); resultobj = Py_None;
17052 return resultobj;
17053 fail:
17054 return NULL;
17055 }
17056
17057
17058 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17059 PyObject *resultobj;
17060 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17061 int arg2 ;
17062 int arg3 ;
17063 int arg4 ;
17064 int arg5 ;
17065 PyObject * obj0 = 0 ;
17066 PyObject * obj1 = 0 ;
17067 PyObject * obj2 = 0 ;
17068 PyObject * obj3 = 0 ;
17069 PyObject * obj4 = 0 ;
17070 char *kwnames[] = {
17071 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17072 };
17073
17074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17077 arg2 = (int) SWIG_AsInt(obj1);
17078 if (PyErr_Occurred()) SWIG_fail;
17079 arg3 = (int) SWIG_AsInt(obj2);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 arg4 = (int) SWIG_AsInt(obj3);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 arg5 = (int) SWIG_AsInt(obj4);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 {
17086 PyThreadState* __tstate = wxPyBeginAllowThreads();
17087 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17088
17089 wxPyEndAllowThreads(__tstate);
17090 if (PyErr_Occurred()) SWIG_fail;
17091 }
17092 Py_INCREF(Py_None); resultobj = Py_None;
17093 return resultobj;
17094 fail:
17095 return NULL;
17096 }
17097
17098
17099 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17100 PyObject *resultobj;
17101 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17102 int arg2 ;
17103 int arg3 ;
17104 int arg4 ;
17105 int arg5 ;
17106 int arg6 = (int) wxSIZE_AUTO ;
17107 PyObject * obj0 = 0 ;
17108 PyObject * obj1 = 0 ;
17109 PyObject * obj2 = 0 ;
17110 PyObject * obj3 = 0 ;
17111 PyObject * obj4 = 0 ;
17112 PyObject * obj5 = 0 ;
17113 char *kwnames[] = {
17114 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17115 };
17116
17117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17120 arg2 = (int) SWIG_AsInt(obj1);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 arg3 = (int) SWIG_AsInt(obj2);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 arg4 = (int) SWIG_AsInt(obj3);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 arg5 = (int) SWIG_AsInt(obj4);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 if (obj5) {
17129 arg6 = (int) SWIG_AsInt(obj5);
17130 if (PyErr_Occurred()) SWIG_fail;
17131 }
17132 {
17133 PyThreadState* __tstate = wxPyBeginAllowThreads();
17134 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17135
17136 wxPyEndAllowThreads(__tstate);
17137 if (PyErr_Occurred()) SWIG_fail;
17138 }
17139 Py_INCREF(Py_None); resultobj = Py_None;
17140 return resultobj;
17141 fail:
17142 return NULL;
17143 }
17144
17145
17146 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17147 PyObject *resultobj;
17148 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17149 int arg2 ;
17150 int arg3 ;
17151 PyObject * obj0 = 0 ;
17152 PyObject * obj1 = 0 ;
17153 PyObject * obj2 = 0 ;
17154 char *kwnames[] = {
17155 (char *) "self",(char *) "width",(char *) "height", NULL
17156 };
17157
17158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17161 arg2 = (int) SWIG_AsInt(obj1);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 arg3 = (int) SWIG_AsInt(obj2);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 (arg1)->base_DoSetClientSize(arg2,arg3);
17168
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 Py_INCREF(Py_None); resultobj = Py_None;
17173 return resultobj;
17174 fail:
17175 return NULL;
17176 }
17177
17178
17179 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17180 PyObject *resultobj;
17181 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17182 int arg2 ;
17183 int arg3 ;
17184 PyObject * obj0 = 0 ;
17185 PyObject * obj1 = 0 ;
17186 PyObject * obj2 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "self",(char *) "x",(char *) "y", NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17194 arg2 = (int) SWIG_AsInt(obj1);
17195 if (PyErr_Occurred()) SWIG_fail;
17196 arg3 = (int) SWIG_AsInt(obj2);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 {
17199 PyThreadState* __tstate = wxPyBeginAllowThreads();
17200 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17201
17202 wxPyEndAllowThreads(__tstate);
17203 if (PyErr_Occurred()) SWIG_fail;
17204 }
17205 Py_INCREF(Py_None); resultobj = Py_None;
17206 return resultobj;
17207 fail:
17208 return NULL;
17209 }
17210
17211
17212 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17213 PyObject *resultobj;
17214 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17215 int *arg2 = (int *) 0 ;
17216 int *arg3 = (int *) 0 ;
17217 int temp2 ;
17218 int temp3 ;
17219 PyObject * obj0 = 0 ;
17220 char *kwnames[] = {
17221 (char *) "self", NULL
17222 };
17223
17224 arg2 = &temp2;
17225 arg3 = &temp3;
17226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 Py_INCREF(Py_None); resultobj = Py_None;
17237 {
17238 PyObject *o = PyInt_FromLong((long) (*arg2));
17239 resultobj = t_output_helper(resultobj,o);
17240 }
17241 {
17242 PyObject *o = PyInt_FromLong((long) (*arg3));
17243 resultobj = t_output_helper(resultobj,o);
17244 }
17245 return resultobj;
17246 fail:
17247 return NULL;
17248 }
17249
17250
17251 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj;
17253 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17254 int *arg2 = (int *) 0 ;
17255 int *arg3 = (int *) 0 ;
17256 int temp2 ;
17257 int temp3 ;
17258 PyObject * obj0 = 0 ;
17259 char *kwnames[] = {
17260 (char *) "self", NULL
17261 };
17262
17263 arg2 = &temp2;
17264 arg3 = &temp3;
17265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17268 {
17269 PyThreadState* __tstate = wxPyBeginAllowThreads();
17270 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17271
17272 wxPyEndAllowThreads(__tstate);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 }
17275 Py_INCREF(Py_None); resultobj = Py_None;
17276 {
17277 PyObject *o = PyInt_FromLong((long) (*arg2));
17278 resultobj = t_output_helper(resultobj,o);
17279 }
17280 {
17281 PyObject *o = PyInt_FromLong((long) (*arg3));
17282 resultobj = t_output_helper(resultobj,o);
17283 }
17284 return resultobj;
17285 fail:
17286 return NULL;
17287 }
17288
17289
17290 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17291 PyObject *resultobj;
17292 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17293 int *arg2 = (int *) 0 ;
17294 int *arg3 = (int *) 0 ;
17295 int temp2 ;
17296 int temp3 ;
17297 PyObject * obj0 = 0 ;
17298 char *kwnames[] = {
17299 (char *) "self", NULL
17300 };
17301
17302 arg2 = &temp2;
17303 arg3 = &temp3;
17304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17307 {
17308 PyThreadState* __tstate = wxPyBeginAllowThreads();
17309 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17310
17311 wxPyEndAllowThreads(__tstate);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
17314 Py_INCREF(Py_None); resultobj = Py_None;
17315 {
17316 PyObject *o = PyInt_FromLong((long) (*arg2));
17317 resultobj = t_output_helper(resultobj,o);
17318 }
17319 {
17320 PyObject *o = PyInt_FromLong((long) (*arg3));
17321 resultobj = t_output_helper(resultobj,o);
17322 }
17323 return resultobj;
17324 fail:
17325 return NULL;
17326 }
17327
17328
17329 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17330 PyObject *resultobj;
17331 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17332 wxSize result;
17333 PyObject * obj0 = 0 ;
17334 char *kwnames[] = {
17335 (char *) "self", NULL
17336 };
17337
17338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17341 {
17342 PyThreadState* __tstate = wxPyBeginAllowThreads();
17343 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17344
17345 wxPyEndAllowThreads(__tstate);
17346 if (PyErr_Occurred()) SWIG_fail;
17347 }
17348 {
17349 wxSize * resultptr;
17350 resultptr = new wxSize((wxSize &) result);
17351 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17352 }
17353 return resultobj;
17354 fail:
17355 return NULL;
17356 }
17357
17358
17359 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17360 PyObject *resultobj;
17361 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17362 wxSize result;
17363 PyObject * obj0 = 0 ;
17364 char *kwnames[] = {
17365 (char *) "self", NULL
17366 };
17367
17368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17371 {
17372 PyThreadState* __tstate = wxPyBeginAllowThreads();
17373 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17374
17375 wxPyEndAllowThreads(__tstate);
17376 if (PyErr_Occurred()) SWIG_fail;
17377 }
17378 {
17379 wxSize * resultptr;
17380 resultptr = new wxSize((wxSize &) result);
17381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17382 }
17383 return resultobj;
17384 fail:
17385 return NULL;
17386 }
17387
17388
17389 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17390 PyObject *resultobj;
17391 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17392 PyObject * obj0 = 0 ;
17393 char *kwnames[] = {
17394 (char *) "self", NULL
17395 };
17396
17397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 (arg1)->base_InitDialog();
17403
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 Py_INCREF(Py_None); resultobj = Py_None;
17408 return resultobj;
17409 fail:
17410 return NULL;
17411 }
17412
17413
17414 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17415 PyObject *resultobj;
17416 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17417 bool result;
17418 PyObject * obj0 = 0 ;
17419 char *kwnames[] = {
17420 (char *) "self", NULL
17421 };
17422
17423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17426 {
17427 PyThreadState* __tstate = wxPyBeginAllowThreads();
17428 result = (bool)(arg1)->base_TransferDataToWindow();
17429
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
17433 {
17434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17435 }
17436 return resultobj;
17437 fail:
17438 return NULL;
17439 }
17440
17441
17442 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17443 PyObject *resultobj;
17444 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17445 bool result;
17446 PyObject * obj0 = 0 ;
17447 char *kwnames[] = {
17448 (char *) "self", NULL
17449 };
17450
17451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17454 {
17455 PyThreadState* __tstate = wxPyBeginAllowThreads();
17456 result = (bool)(arg1)->base_TransferDataFromWindow();
17457
17458 wxPyEndAllowThreads(__tstate);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 {
17462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17463 }
17464 return resultobj;
17465 fail:
17466 return NULL;
17467 }
17468
17469
17470 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17471 PyObject *resultobj;
17472 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17473 bool result;
17474 PyObject * obj0 = 0 ;
17475 char *kwnames[] = {
17476 (char *) "self", NULL
17477 };
17478
17479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17482 {
17483 PyThreadState* __tstate = wxPyBeginAllowThreads();
17484 result = (bool)(arg1)->base_Validate();
17485
17486 wxPyEndAllowThreads(__tstate);
17487 if (PyErr_Occurred()) SWIG_fail;
17488 }
17489 {
17490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17491 }
17492 return resultobj;
17493 fail:
17494 return NULL;
17495 }
17496
17497
17498 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17499 PyObject *resultobj;
17500 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17501 bool result;
17502 PyObject * obj0 = 0 ;
17503 char *kwnames[] = {
17504 (char *) "self", NULL
17505 };
17506
17507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17510 {
17511 PyThreadState* __tstate = wxPyBeginAllowThreads();
17512 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17513
17514 wxPyEndAllowThreads(__tstate);
17515 if (PyErr_Occurred()) SWIG_fail;
17516 }
17517 {
17518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17519 }
17520 return resultobj;
17521 fail:
17522 return NULL;
17523 }
17524
17525
17526 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17527 PyObject *resultobj;
17528 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17529 bool result;
17530 PyObject * obj0 = 0 ;
17531 char *kwnames[] = {
17532 (char *) "self", NULL
17533 };
17534
17535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17538 {
17539 PyThreadState* __tstate = wxPyBeginAllowThreads();
17540 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17541
17542 wxPyEndAllowThreads(__tstate);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
17545 {
17546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17547 }
17548 return resultobj;
17549 fail:
17550 return NULL;
17551 }
17552
17553
17554 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17555 PyObject *resultobj;
17556 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17557 wxSize result;
17558 PyObject * obj0 = 0 ;
17559 char *kwnames[] = {
17560 (char *) "self", NULL
17561 };
17562
17563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17566 {
17567 PyThreadState* __tstate = wxPyBeginAllowThreads();
17568 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17569
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 {
17574 wxSize * resultptr;
17575 resultptr = new wxSize((wxSize &) result);
17576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17577 }
17578 return resultobj;
17579 fail:
17580 return NULL;
17581 }
17582
17583
17584 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17585 PyObject *resultobj;
17586 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17587 wxWindow *arg2 = (wxWindow *) 0 ;
17588 PyObject * obj0 = 0 ;
17589 PyObject * obj1 = 0 ;
17590 char *kwnames[] = {
17591 (char *) "self",(char *) "child", NULL
17592 };
17593
17594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17597 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17599 {
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
17601 (arg1)->base_AddChild(arg2);
17602
17603 wxPyEndAllowThreads(__tstate);
17604 if (PyErr_Occurred()) SWIG_fail;
17605 }
17606 Py_INCREF(Py_None); resultobj = Py_None;
17607 return resultobj;
17608 fail:
17609 return NULL;
17610 }
17611
17612
17613 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17614 PyObject *resultobj;
17615 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17616 wxWindow *arg2 = (wxWindow *) 0 ;
17617 PyObject * obj0 = 0 ;
17618 PyObject * obj1 = 0 ;
17619 char *kwnames[] = {
17620 (char *) "self",(char *) "child", NULL
17621 };
17622
17623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17628 {
17629 PyThreadState* __tstate = wxPyBeginAllowThreads();
17630 (arg1)->base_RemoveChild(arg2);
17631
17632 wxPyEndAllowThreads(__tstate);
17633 if (PyErr_Occurred()) SWIG_fail;
17634 }
17635 Py_INCREF(Py_None); resultobj = Py_None;
17636 return resultobj;
17637 fail:
17638 return NULL;
17639 }
17640
17641
17642 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17643 PyObject *resultobj;
17644 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17645 bool result;
17646 PyObject * obj0 = 0 ;
17647 char *kwnames[] = {
17648 (char *) "self", NULL
17649 };
17650
17651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17654 {
17655 PyThreadState* __tstate = wxPyBeginAllowThreads();
17656 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
17657
17658 wxPyEndAllowThreads(__tstate);
17659 if (PyErr_Occurred()) SWIG_fail;
17660 }
17661 {
17662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17663 }
17664 return resultobj;
17665 fail:
17666 return NULL;
17667 }
17668
17669
17670 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj;
17672 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17673 wxColour *arg2 = 0 ;
17674 wxColour temp2 ;
17675 PyObject * obj0 = 0 ;
17676 PyObject * obj1 = 0 ;
17677 char *kwnames[] = {
17678 (char *) "self",(char *) "c", NULL
17679 };
17680
17681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17684 {
17685 arg2 = &temp2;
17686 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17687 }
17688 {
17689 PyThreadState* __tstate = wxPyBeginAllowThreads();
17690 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17691
17692 wxPyEndAllowThreads(__tstate);
17693 if (PyErr_Occurred()) SWIG_fail;
17694 }
17695 Py_INCREF(Py_None); resultobj = Py_None;
17696 return resultobj;
17697 fail:
17698 return NULL;
17699 }
17700
17701
17702 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17703 PyObject *resultobj;
17704 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17705 wxVisualAttributes result;
17706 PyObject * obj0 = 0 ;
17707 char *kwnames[] = {
17708 (char *) "self", NULL
17709 };
17710
17711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17714 {
17715 PyThreadState* __tstate = wxPyBeginAllowThreads();
17716 result = (arg1)->base_GetDefaultAttributes();
17717
17718 wxPyEndAllowThreads(__tstate);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 }
17721 {
17722 wxVisualAttributes * resultptr;
17723 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17725 }
17726 return resultobj;
17727 fail:
17728 return NULL;
17729 }
17730
17731
17732 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17733 PyObject *obj;
17734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17735 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17736 Py_INCREF(obj);
17737 return Py_BuildValue((char *)"");
17738 }
17739 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17740 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17741 return 1;
17742 }
17743
17744
17745 static PyObject *_wrap_PrintoutTitleStr_get() {
17746 PyObject *pyobj;
17747
17748 {
17749 #if wxUSE_UNICODE
17750 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17751 #else
17752 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17753 #endif
17754 }
17755 return pyobj;
17756 }
17757
17758
17759 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17760 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17761 return 1;
17762 }
17763
17764
17765 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17766 PyObject *pyobj;
17767
17768 {
17769 #if wxUSE_UNICODE
17770 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17771 #else
17772 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17773 #endif
17774 }
17775 return pyobj;
17776 }
17777
17778
17779 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *self, PyObject *args) {
17780 PyObject *resultobj;
17781 wxPrintData *result;
17782
17783 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
17784 {
17785 PyThreadState* __tstate = wxPyBeginAllowThreads();
17786 result = (wxPrintData *)new wxPrintData();
17787
17788 wxPyEndAllowThreads(__tstate);
17789 if (PyErr_Occurred()) SWIG_fail;
17790 }
17791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17792 return resultobj;
17793 fail:
17794 return NULL;
17795 }
17796
17797
17798 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *self, PyObject *args) {
17799 PyObject *resultobj;
17800 wxPrintData *arg1 = 0 ;
17801 wxPrintData *result;
17802 PyObject * obj0 = 0 ;
17803
17804 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
17805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17806 SWIG_POINTER_EXCEPTION | 0)) == -1)
17807 SWIG_fail;
17808 if (arg1 == NULL) {
17809 PyErr_SetString(PyExc_TypeError,"null reference");
17810 SWIG_fail;
17811 }
17812 {
17813 PyThreadState* __tstate = wxPyBeginAllowThreads();
17814 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
17815
17816 wxPyEndAllowThreads(__tstate);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 }
17819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17820 return resultobj;
17821 fail:
17822 return NULL;
17823 }
17824
17825
17826 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
17827 int argc;
17828 PyObject *argv[2];
17829 int ii;
17830
17831 argc = PyObject_Length(args);
17832 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
17833 argv[ii] = PyTuple_GetItem(args,ii);
17834 }
17835 if (argc == 0) {
17836 return _wrap_new_PrintData__SWIG_0(self,args);
17837 }
17838 if (argc == 1) {
17839 int _v;
17840 {
17841 void *ptr;
17842 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
17843 _v = 0;
17844 PyErr_Clear();
17845 } else {
17846 _v = 1;
17847 }
17848 }
17849 if (_v) {
17850 return _wrap_new_PrintData__SWIG_1(self,args);
17851 }
17852 }
17853
17854 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
17855 return NULL;
17856 }
17857
17858
17859 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17860 PyObject *resultobj;
17861 wxPrintData *arg1 = (wxPrintData *) 0 ;
17862 PyObject * obj0 = 0 ;
17863 char *kwnames[] = {
17864 (char *) "self", NULL
17865 };
17866
17867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17870 {
17871 PyThreadState* __tstate = wxPyBeginAllowThreads();
17872 delete arg1;
17873
17874 wxPyEndAllowThreads(__tstate);
17875 if (PyErr_Occurred()) SWIG_fail;
17876 }
17877 Py_INCREF(Py_None); resultobj = Py_None;
17878 return resultobj;
17879 fail:
17880 return NULL;
17881 }
17882
17883
17884 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17885 PyObject *resultobj;
17886 wxPrintData *arg1 = (wxPrintData *) 0 ;
17887 int result;
17888 PyObject * obj0 = 0 ;
17889 char *kwnames[] = {
17890 (char *) "self", NULL
17891 };
17892
17893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17896 {
17897 PyThreadState* __tstate = wxPyBeginAllowThreads();
17898 result = (int)(arg1)->GetNoCopies();
17899
17900 wxPyEndAllowThreads(__tstate);
17901 if (PyErr_Occurred()) SWIG_fail;
17902 }
17903 resultobj = SWIG_FromInt((int)result);
17904 return resultobj;
17905 fail:
17906 return NULL;
17907 }
17908
17909
17910 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17911 PyObject *resultobj;
17912 wxPrintData *arg1 = (wxPrintData *) 0 ;
17913 bool result;
17914 PyObject * obj0 = 0 ;
17915 char *kwnames[] = {
17916 (char *) "self", NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17922 {
17923 PyThreadState* __tstate = wxPyBeginAllowThreads();
17924 result = (bool)(arg1)->GetCollate();
17925
17926 wxPyEndAllowThreads(__tstate);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 }
17929 {
17930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17931 }
17932 return resultobj;
17933 fail:
17934 return NULL;
17935 }
17936
17937
17938 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17939 PyObject *resultobj;
17940 wxPrintData *arg1 = (wxPrintData *) 0 ;
17941 int result;
17942 PyObject * obj0 = 0 ;
17943 char *kwnames[] = {
17944 (char *) "self", NULL
17945 };
17946
17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17950 {
17951 PyThreadState* __tstate = wxPyBeginAllowThreads();
17952 result = (int)(arg1)->GetOrientation();
17953
17954 wxPyEndAllowThreads(__tstate);
17955 if (PyErr_Occurred()) SWIG_fail;
17956 }
17957 resultobj = SWIG_FromInt((int)result);
17958 return resultobj;
17959 fail:
17960 return NULL;
17961 }
17962
17963
17964 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17965 PyObject *resultobj;
17966 wxPrintData *arg1 = (wxPrintData *) 0 ;
17967 bool result;
17968 PyObject * obj0 = 0 ;
17969 char *kwnames[] = {
17970 (char *) "self", NULL
17971 };
17972
17973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17976 {
17977 PyThreadState* __tstate = wxPyBeginAllowThreads();
17978 result = (bool)(arg1)->Ok();
17979
17980 wxPyEndAllowThreads(__tstate);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 }
17983 {
17984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17985 }
17986 return resultobj;
17987 fail:
17988 return NULL;
17989 }
17990
17991
17992 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17993 PyObject *resultobj;
17994 wxPrintData *arg1 = (wxPrintData *) 0 ;
17995 wxString *result;
17996 PyObject * obj0 = 0 ;
17997 char *kwnames[] = {
17998 (char *) "self", NULL
17999 };
18000
18001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18004 {
18005 PyThreadState* __tstate = wxPyBeginAllowThreads();
18006 {
18007 wxString const &_result_ref = (arg1)->GetPrinterName();
18008 result = (wxString *) &_result_ref;
18009 }
18010
18011 wxPyEndAllowThreads(__tstate);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 }
18014 {
18015 #if wxUSE_UNICODE
18016 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18017 #else
18018 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18019 #endif
18020 }
18021 return resultobj;
18022 fail:
18023 return NULL;
18024 }
18025
18026
18027 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18028 PyObject *resultobj;
18029 wxPrintData *arg1 = (wxPrintData *) 0 ;
18030 bool result;
18031 PyObject * obj0 = 0 ;
18032 char *kwnames[] = {
18033 (char *) "self", NULL
18034 };
18035
18036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 result = (bool)(arg1)->GetColour();
18042
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 {
18047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18048 }
18049 return resultobj;
18050 fail:
18051 return NULL;
18052 }
18053
18054
18055 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18056 PyObject *resultobj;
18057 wxPrintData *arg1 = (wxPrintData *) 0 ;
18058 int result;
18059 PyObject * obj0 = 0 ;
18060 char *kwnames[] = {
18061 (char *) "self", NULL
18062 };
18063
18064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18067 {
18068 PyThreadState* __tstate = wxPyBeginAllowThreads();
18069 result = (int)(arg1)->GetDuplex();
18070
18071 wxPyEndAllowThreads(__tstate);
18072 if (PyErr_Occurred()) SWIG_fail;
18073 }
18074 resultobj = SWIG_FromInt((int)result);
18075 return resultobj;
18076 fail:
18077 return NULL;
18078 }
18079
18080
18081 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18082 PyObject *resultobj;
18083 wxPrintData *arg1 = (wxPrintData *) 0 ;
18084 int result;
18085 PyObject * obj0 = 0 ;
18086 char *kwnames[] = {
18087 (char *) "self", NULL
18088 };
18089
18090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18093 {
18094 PyThreadState* __tstate = wxPyBeginAllowThreads();
18095 result = (int)(arg1)->GetPaperId();
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 resultobj = SWIG_FromInt((int)result);
18101 return resultobj;
18102 fail:
18103 return NULL;
18104 }
18105
18106
18107 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18108 PyObject *resultobj;
18109 wxPrintData *arg1 = (wxPrintData *) 0 ;
18110 wxSize *result;
18111 PyObject * obj0 = 0 ;
18112 char *kwnames[] = {
18113 (char *) "self", NULL
18114 };
18115
18116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18119 {
18120 PyThreadState* __tstate = wxPyBeginAllowThreads();
18121 {
18122 wxSize const &_result_ref = (arg1)->GetPaperSize();
18123 result = (wxSize *) &_result_ref;
18124 }
18125
18126 wxPyEndAllowThreads(__tstate);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18130 return resultobj;
18131 fail:
18132 return NULL;
18133 }
18134
18135
18136 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18137 PyObject *resultobj;
18138 wxPrintData *arg1 = (wxPrintData *) 0 ;
18139 int result;
18140 PyObject * obj0 = 0 ;
18141 char *kwnames[] = {
18142 (char *) "self", NULL
18143 };
18144
18145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18148 {
18149 PyThreadState* __tstate = wxPyBeginAllowThreads();
18150 result = (int)(arg1)->GetQuality();
18151
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 resultobj = SWIG_FromInt((int)result);
18156 return resultobj;
18157 fail:
18158 return NULL;
18159 }
18160
18161
18162 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18163 PyObject *resultobj;
18164 wxPrintData *arg1 = (wxPrintData *) 0 ;
18165 int arg2 ;
18166 PyObject * obj0 = 0 ;
18167 PyObject * obj1 = 0 ;
18168 char *kwnames[] = {
18169 (char *) "self",(char *) "v", NULL
18170 };
18171
18172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18175 arg2 = (int) SWIG_AsInt(obj1);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 (arg1)->SetNoCopies(arg2);
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 Py_INCREF(Py_None); resultobj = Py_None;
18185 return resultobj;
18186 fail:
18187 return NULL;
18188 }
18189
18190
18191 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18192 PyObject *resultobj;
18193 wxPrintData *arg1 = (wxPrintData *) 0 ;
18194 bool arg2 ;
18195 PyObject * obj0 = 0 ;
18196 PyObject * obj1 = 0 ;
18197 char *kwnames[] = {
18198 (char *) "self",(char *) "flag", NULL
18199 };
18200
18201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18204 arg2 = (bool) SWIG_AsBool(obj1);
18205 if (PyErr_Occurred()) SWIG_fail;
18206 {
18207 PyThreadState* __tstate = wxPyBeginAllowThreads();
18208 (arg1)->SetCollate(arg2);
18209
18210 wxPyEndAllowThreads(__tstate);
18211 if (PyErr_Occurred()) SWIG_fail;
18212 }
18213 Py_INCREF(Py_None); resultobj = Py_None;
18214 return resultobj;
18215 fail:
18216 return NULL;
18217 }
18218
18219
18220 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18221 PyObject *resultobj;
18222 wxPrintData *arg1 = (wxPrintData *) 0 ;
18223 int arg2 ;
18224 PyObject * obj0 = 0 ;
18225 PyObject * obj1 = 0 ;
18226 char *kwnames[] = {
18227 (char *) "self",(char *) "orient", NULL
18228 };
18229
18230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18233 arg2 = (int) SWIG_AsInt(obj1);
18234 if (PyErr_Occurred()) SWIG_fail;
18235 {
18236 PyThreadState* __tstate = wxPyBeginAllowThreads();
18237 (arg1)->SetOrientation(arg2);
18238
18239 wxPyEndAllowThreads(__tstate);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
18242 Py_INCREF(Py_None); resultobj = Py_None;
18243 return resultobj;
18244 fail:
18245 return NULL;
18246 }
18247
18248
18249 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18250 PyObject *resultobj;
18251 wxPrintData *arg1 = (wxPrintData *) 0 ;
18252 wxString *arg2 = 0 ;
18253 bool temp2 = False ;
18254 PyObject * obj0 = 0 ;
18255 PyObject * obj1 = 0 ;
18256 char *kwnames[] = {
18257 (char *) "self",(char *) "name", NULL
18258 };
18259
18260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18263 {
18264 arg2 = wxString_in_helper(obj1);
18265 if (arg2 == NULL) SWIG_fail;
18266 temp2 = True;
18267 }
18268 {
18269 PyThreadState* __tstate = wxPyBeginAllowThreads();
18270 (arg1)->SetPrinterName((wxString const &)*arg2);
18271
18272 wxPyEndAllowThreads(__tstate);
18273 if (PyErr_Occurred()) SWIG_fail;
18274 }
18275 Py_INCREF(Py_None); resultobj = Py_None;
18276 {
18277 if (temp2)
18278 delete arg2;
18279 }
18280 return resultobj;
18281 fail:
18282 {
18283 if (temp2)
18284 delete arg2;
18285 }
18286 return NULL;
18287 }
18288
18289
18290 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18291 PyObject *resultobj;
18292 wxPrintData *arg1 = (wxPrintData *) 0 ;
18293 bool arg2 ;
18294 PyObject * obj0 = 0 ;
18295 PyObject * obj1 = 0 ;
18296 char *kwnames[] = {
18297 (char *) "self",(char *) "colour", NULL
18298 };
18299
18300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18303 arg2 = (bool) SWIG_AsBool(obj1);
18304 if (PyErr_Occurred()) SWIG_fail;
18305 {
18306 PyThreadState* __tstate = wxPyBeginAllowThreads();
18307 (arg1)->SetColour(arg2);
18308
18309 wxPyEndAllowThreads(__tstate);
18310 if (PyErr_Occurred()) SWIG_fail;
18311 }
18312 Py_INCREF(Py_None); resultobj = Py_None;
18313 return resultobj;
18314 fail:
18315 return NULL;
18316 }
18317
18318
18319 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18320 PyObject *resultobj;
18321 wxPrintData *arg1 = (wxPrintData *) 0 ;
18322 int arg2 ;
18323 PyObject * obj0 = 0 ;
18324 PyObject * obj1 = 0 ;
18325 char *kwnames[] = {
18326 (char *) "self",(char *) "duplex", NULL
18327 };
18328
18329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18332 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 {
18335 PyThreadState* __tstate = wxPyBeginAllowThreads();
18336 (arg1)->SetDuplex((wxDuplexMode )arg2);
18337
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 Py_INCREF(Py_None); resultobj = Py_None;
18342 return resultobj;
18343 fail:
18344 return NULL;
18345 }
18346
18347
18348 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18349 PyObject *resultobj;
18350 wxPrintData *arg1 = (wxPrintData *) 0 ;
18351 int arg2 ;
18352 PyObject * obj0 = 0 ;
18353 PyObject * obj1 = 0 ;
18354 char *kwnames[] = {
18355 (char *) "self",(char *) "sizeId", NULL
18356 };
18357
18358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18361 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 {
18364 PyThreadState* __tstate = wxPyBeginAllowThreads();
18365 (arg1)->SetPaperId((wxPaperSize )arg2);
18366
18367 wxPyEndAllowThreads(__tstate);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 }
18370 Py_INCREF(Py_None); resultobj = Py_None;
18371 return resultobj;
18372 fail:
18373 return NULL;
18374 }
18375
18376
18377 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18378 PyObject *resultobj;
18379 wxPrintData *arg1 = (wxPrintData *) 0 ;
18380 wxSize *arg2 = 0 ;
18381 wxSize temp2 ;
18382 PyObject * obj0 = 0 ;
18383 PyObject * obj1 = 0 ;
18384 char *kwnames[] = {
18385 (char *) "self",(char *) "sz", NULL
18386 };
18387
18388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18391 {
18392 arg2 = &temp2;
18393 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18394 }
18395 {
18396 PyThreadState* __tstate = wxPyBeginAllowThreads();
18397 (arg1)->SetPaperSize((wxSize const &)*arg2);
18398
18399 wxPyEndAllowThreads(__tstate);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
18402 Py_INCREF(Py_None); resultobj = Py_None;
18403 return resultobj;
18404 fail:
18405 return NULL;
18406 }
18407
18408
18409 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18410 PyObject *resultobj;
18411 wxPrintData *arg1 = (wxPrintData *) 0 ;
18412 int arg2 ;
18413 PyObject * obj0 = 0 ;
18414 PyObject * obj1 = 0 ;
18415 char *kwnames[] = {
18416 (char *) "self",(char *) "quality", NULL
18417 };
18418
18419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18422 arg2 = (int) SWIG_AsInt(obj1);
18423 if (PyErr_Occurred()) SWIG_fail;
18424 {
18425 PyThreadState* __tstate = wxPyBeginAllowThreads();
18426 (arg1)->SetQuality(arg2);
18427
18428 wxPyEndAllowThreads(__tstate);
18429 if (PyErr_Occurred()) SWIG_fail;
18430 }
18431 Py_INCREF(Py_None); resultobj = Py_None;
18432 return resultobj;
18433 fail:
18434 return NULL;
18435 }
18436
18437
18438 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18439 PyObject *resultobj;
18440 wxPrintData *arg1 = (wxPrintData *) 0 ;
18441 wxString *result;
18442 PyObject * obj0 = 0 ;
18443 char *kwnames[] = {
18444 (char *) "self", NULL
18445 };
18446
18447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18450 {
18451 PyThreadState* __tstate = wxPyBeginAllowThreads();
18452 {
18453 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18454 result = (wxString *) &_result_ref;
18455 }
18456
18457 wxPyEndAllowThreads(__tstate);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 }
18460 {
18461 #if wxUSE_UNICODE
18462 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18463 #else
18464 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18465 #endif
18466 }
18467 return resultobj;
18468 fail:
18469 return NULL;
18470 }
18471
18472
18473 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18474 PyObject *resultobj;
18475 wxPrintData *arg1 = (wxPrintData *) 0 ;
18476 wxString *result;
18477 PyObject * obj0 = 0 ;
18478 char *kwnames[] = {
18479 (char *) "self", NULL
18480 };
18481
18482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18485 {
18486 PyThreadState* __tstate = wxPyBeginAllowThreads();
18487 {
18488 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18489 result = (wxString *) &_result_ref;
18490 }
18491
18492 wxPyEndAllowThreads(__tstate);
18493 if (PyErr_Occurred()) SWIG_fail;
18494 }
18495 {
18496 #if wxUSE_UNICODE
18497 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18498 #else
18499 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18500 #endif
18501 }
18502 return resultobj;
18503 fail:
18504 return NULL;
18505 }
18506
18507
18508 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18509 PyObject *resultobj;
18510 wxPrintData *arg1 = (wxPrintData *) 0 ;
18511 wxString *result;
18512 PyObject * obj0 = 0 ;
18513 char *kwnames[] = {
18514 (char *) "self", NULL
18515 };
18516
18517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18520 {
18521 PyThreadState* __tstate = wxPyBeginAllowThreads();
18522 {
18523 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18524 result = (wxString *) &_result_ref;
18525 }
18526
18527 wxPyEndAllowThreads(__tstate);
18528 if (PyErr_Occurred()) SWIG_fail;
18529 }
18530 {
18531 #if wxUSE_UNICODE
18532 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18533 #else
18534 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18535 #endif
18536 }
18537 return resultobj;
18538 fail:
18539 return NULL;
18540 }
18541
18542
18543 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18544 PyObject *resultobj;
18545 wxPrintData *arg1 = (wxPrintData *) 0 ;
18546 wxString *result;
18547 PyObject * obj0 = 0 ;
18548 char *kwnames[] = {
18549 (char *) "self", NULL
18550 };
18551
18552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 {
18558 wxString const &_result_ref = (arg1)->GetFilename();
18559 result = (wxString *) &_result_ref;
18560 }
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
18565 {
18566 #if wxUSE_UNICODE
18567 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18568 #else
18569 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18570 #endif
18571 }
18572 return resultobj;
18573 fail:
18574 return NULL;
18575 }
18576
18577
18578 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18579 PyObject *resultobj;
18580 wxPrintData *arg1 = (wxPrintData *) 0 ;
18581 wxString *result;
18582 PyObject * obj0 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18590 {
18591 PyThreadState* __tstate = wxPyBeginAllowThreads();
18592 {
18593 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18594 result = (wxString *) &_result_ref;
18595 }
18596
18597 wxPyEndAllowThreads(__tstate);
18598 if (PyErr_Occurred()) SWIG_fail;
18599 }
18600 {
18601 #if wxUSE_UNICODE
18602 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18603 #else
18604 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18605 #endif
18606 }
18607 return resultobj;
18608 fail:
18609 return NULL;
18610 }
18611
18612
18613 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18614 PyObject *resultobj;
18615 wxPrintData *arg1 = (wxPrintData *) 0 ;
18616 double result;
18617 PyObject * obj0 = 0 ;
18618 char *kwnames[] = {
18619 (char *) "self", NULL
18620 };
18621
18622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18625 {
18626 PyThreadState* __tstate = wxPyBeginAllowThreads();
18627 result = (double)(arg1)->GetPrinterScaleX();
18628
18629 wxPyEndAllowThreads(__tstate);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 }
18632 resultobj = SWIG_FromDouble((double)result);
18633 return resultobj;
18634 fail:
18635 return NULL;
18636 }
18637
18638
18639 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18640 PyObject *resultobj;
18641 wxPrintData *arg1 = (wxPrintData *) 0 ;
18642 double result;
18643 PyObject * obj0 = 0 ;
18644 char *kwnames[] = {
18645 (char *) "self", NULL
18646 };
18647
18648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18651 {
18652 PyThreadState* __tstate = wxPyBeginAllowThreads();
18653 result = (double)(arg1)->GetPrinterScaleY();
18654
18655 wxPyEndAllowThreads(__tstate);
18656 if (PyErr_Occurred()) SWIG_fail;
18657 }
18658 resultobj = SWIG_FromDouble((double)result);
18659 return resultobj;
18660 fail:
18661 return NULL;
18662 }
18663
18664
18665 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18666 PyObject *resultobj;
18667 wxPrintData *arg1 = (wxPrintData *) 0 ;
18668 long result;
18669 PyObject * obj0 = 0 ;
18670 char *kwnames[] = {
18671 (char *) "self", NULL
18672 };
18673
18674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18677 {
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 result = (long)(arg1)->GetPrinterTranslateX();
18680
18681 wxPyEndAllowThreads(__tstate);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 }
18684 resultobj = SWIG_FromLong((long)result);
18685 return resultobj;
18686 fail:
18687 return NULL;
18688 }
18689
18690
18691 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18692 PyObject *resultobj;
18693 wxPrintData *arg1 = (wxPrintData *) 0 ;
18694 long result;
18695 PyObject * obj0 = 0 ;
18696 char *kwnames[] = {
18697 (char *) "self", NULL
18698 };
18699
18700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18703 {
18704 PyThreadState* __tstate = wxPyBeginAllowThreads();
18705 result = (long)(arg1)->GetPrinterTranslateY();
18706
18707 wxPyEndAllowThreads(__tstate);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 }
18710 resultobj = SWIG_FromLong((long)result);
18711 return resultobj;
18712 fail:
18713 return NULL;
18714 }
18715
18716
18717 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18718 PyObject *resultobj;
18719 wxPrintData *arg1 = (wxPrintData *) 0 ;
18720 int result;
18721 PyObject * obj0 = 0 ;
18722 char *kwnames[] = {
18723 (char *) "self", NULL
18724 };
18725
18726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18729 {
18730 PyThreadState* __tstate = wxPyBeginAllowThreads();
18731 result = (int)(arg1)->GetPrintMode();
18732
18733 wxPyEndAllowThreads(__tstate);
18734 if (PyErr_Occurred()) SWIG_fail;
18735 }
18736 resultobj = SWIG_FromInt((int)result);
18737 return resultobj;
18738 fail:
18739 return NULL;
18740 }
18741
18742
18743 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18744 PyObject *resultobj;
18745 wxPrintData *arg1 = (wxPrintData *) 0 ;
18746 wxString *arg2 = 0 ;
18747 bool temp2 = False ;
18748 PyObject * obj0 = 0 ;
18749 PyObject * obj1 = 0 ;
18750 char *kwnames[] = {
18751 (char *) "self",(char *) "command", NULL
18752 };
18753
18754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18757 {
18758 arg2 = wxString_in_helper(obj1);
18759 if (arg2 == NULL) SWIG_fail;
18760 temp2 = True;
18761 }
18762 {
18763 PyThreadState* __tstate = wxPyBeginAllowThreads();
18764 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18765
18766 wxPyEndAllowThreads(__tstate);
18767 if (PyErr_Occurred()) SWIG_fail;
18768 }
18769 Py_INCREF(Py_None); resultobj = Py_None;
18770 {
18771 if (temp2)
18772 delete arg2;
18773 }
18774 return resultobj;
18775 fail:
18776 {
18777 if (temp2)
18778 delete arg2;
18779 }
18780 return NULL;
18781 }
18782
18783
18784 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18785 PyObject *resultobj;
18786 wxPrintData *arg1 = (wxPrintData *) 0 ;
18787 wxString *arg2 = 0 ;
18788 bool temp2 = False ;
18789 PyObject * obj0 = 0 ;
18790 PyObject * obj1 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self",(char *) "options", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18798 {
18799 arg2 = wxString_in_helper(obj1);
18800 if (arg2 == NULL) SWIG_fail;
18801 temp2 = True;
18802 }
18803 {
18804 PyThreadState* __tstate = wxPyBeginAllowThreads();
18805 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18806
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 Py_INCREF(Py_None); resultobj = Py_None;
18811 {
18812 if (temp2)
18813 delete arg2;
18814 }
18815 return resultobj;
18816 fail:
18817 {
18818 if (temp2)
18819 delete arg2;
18820 }
18821 return NULL;
18822 }
18823
18824
18825 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18826 PyObject *resultobj;
18827 wxPrintData *arg1 = (wxPrintData *) 0 ;
18828 wxString *arg2 = 0 ;
18829 bool temp2 = False ;
18830 PyObject * obj0 = 0 ;
18831 PyObject * obj1 = 0 ;
18832 char *kwnames[] = {
18833 (char *) "self",(char *) "command", NULL
18834 };
18835
18836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18839 {
18840 arg2 = wxString_in_helper(obj1);
18841 if (arg2 == NULL) SWIG_fail;
18842 temp2 = True;
18843 }
18844 {
18845 PyThreadState* __tstate = wxPyBeginAllowThreads();
18846 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18847
18848 wxPyEndAllowThreads(__tstate);
18849 if (PyErr_Occurred()) SWIG_fail;
18850 }
18851 Py_INCREF(Py_None); resultobj = Py_None;
18852 {
18853 if (temp2)
18854 delete arg2;
18855 }
18856 return resultobj;
18857 fail:
18858 {
18859 if (temp2)
18860 delete arg2;
18861 }
18862 return NULL;
18863 }
18864
18865
18866 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18867 PyObject *resultobj;
18868 wxPrintData *arg1 = (wxPrintData *) 0 ;
18869 wxString *arg2 = 0 ;
18870 bool temp2 = False ;
18871 PyObject * obj0 = 0 ;
18872 PyObject * obj1 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self",(char *) "filename", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18880 {
18881 arg2 = wxString_in_helper(obj1);
18882 if (arg2 == NULL) SWIG_fail;
18883 temp2 = True;
18884 }
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 (arg1)->SetFilename((wxString const &)*arg2);
18888
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 Py_INCREF(Py_None); resultobj = Py_None;
18893 {
18894 if (temp2)
18895 delete arg2;
18896 }
18897 return resultobj;
18898 fail:
18899 {
18900 if (temp2)
18901 delete arg2;
18902 }
18903 return NULL;
18904 }
18905
18906
18907 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18908 PyObject *resultobj;
18909 wxPrintData *arg1 = (wxPrintData *) 0 ;
18910 wxString *arg2 = 0 ;
18911 bool temp2 = False ;
18912 PyObject * obj0 = 0 ;
18913 PyObject * obj1 = 0 ;
18914 char *kwnames[] = {
18915 (char *) "self",(char *) "path", NULL
18916 };
18917
18918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18921 {
18922 arg2 = wxString_in_helper(obj1);
18923 if (arg2 == NULL) SWIG_fail;
18924 temp2 = True;
18925 }
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18929
18930 wxPyEndAllowThreads(__tstate);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 Py_INCREF(Py_None); resultobj = Py_None;
18934 {
18935 if (temp2)
18936 delete arg2;
18937 }
18938 return resultobj;
18939 fail:
18940 {
18941 if (temp2)
18942 delete arg2;
18943 }
18944 return NULL;
18945 }
18946
18947
18948 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18949 PyObject *resultobj;
18950 wxPrintData *arg1 = (wxPrintData *) 0 ;
18951 double arg2 ;
18952 PyObject * obj0 = 0 ;
18953 PyObject * obj1 = 0 ;
18954 char *kwnames[] = {
18955 (char *) "self",(char *) "x", NULL
18956 };
18957
18958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18961 arg2 = (double) SWIG_AsDouble(obj1);
18962 if (PyErr_Occurred()) SWIG_fail;
18963 {
18964 PyThreadState* __tstate = wxPyBeginAllowThreads();
18965 (arg1)->SetPrinterScaleX(arg2);
18966
18967 wxPyEndAllowThreads(__tstate);
18968 if (PyErr_Occurred()) SWIG_fail;
18969 }
18970 Py_INCREF(Py_None); resultobj = Py_None;
18971 return resultobj;
18972 fail:
18973 return NULL;
18974 }
18975
18976
18977 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18978 PyObject *resultobj;
18979 wxPrintData *arg1 = (wxPrintData *) 0 ;
18980 double arg2 ;
18981 PyObject * obj0 = 0 ;
18982 PyObject * obj1 = 0 ;
18983 char *kwnames[] = {
18984 (char *) "self",(char *) "y", NULL
18985 };
18986
18987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18990 arg2 = (double) SWIG_AsDouble(obj1);
18991 if (PyErr_Occurred()) SWIG_fail;
18992 {
18993 PyThreadState* __tstate = wxPyBeginAllowThreads();
18994 (arg1)->SetPrinterScaleY(arg2);
18995
18996 wxPyEndAllowThreads(__tstate);
18997 if (PyErr_Occurred()) SWIG_fail;
18998 }
18999 Py_INCREF(Py_None); resultobj = Py_None;
19000 return resultobj;
19001 fail:
19002 return NULL;
19003 }
19004
19005
19006 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19007 PyObject *resultobj;
19008 wxPrintData *arg1 = (wxPrintData *) 0 ;
19009 double arg2 ;
19010 double arg3 ;
19011 PyObject * obj0 = 0 ;
19012 PyObject * obj1 = 0 ;
19013 PyObject * obj2 = 0 ;
19014 char *kwnames[] = {
19015 (char *) "self",(char *) "x",(char *) "y", NULL
19016 };
19017
19018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19021 arg2 = (double) SWIG_AsDouble(obj1);
19022 if (PyErr_Occurred()) SWIG_fail;
19023 arg3 = (double) SWIG_AsDouble(obj2);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 (arg1)->SetPrinterScaling(arg2,arg3);
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 Py_INCREF(Py_None); resultobj = Py_None;
19033 return resultobj;
19034 fail:
19035 return NULL;
19036 }
19037
19038
19039 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxPrintData *arg1 = (wxPrintData *) 0 ;
19042 long arg2 ;
19043 PyObject * obj0 = 0 ;
19044 PyObject * obj1 = 0 ;
19045 char *kwnames[] = {
19046 (char *) "self",(char *) "x", NULL
19047 };
19048
19049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19052 arg2 = (long) SWIG_AsLong(obj1);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 {
19055 PyThreadState* __tstate = wxPyBeginAllowThreads();
19056 (arg1)->SetPrinterTranslateX(arg2);
19057
19058 wxPyEndAllowThreads(__tstate);
19059 if (PyErr_Occurred()) SWIG_fail;
19060 }
19061 Py_INCREF(Py_None); resultobj = Py_None;
19062 return resultobj;
19063 fail:
19064 return NULL;
19065 }
19066
19067
19068 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
19069 PyObject *resultobj;
19070 wxPrintData *arg1 = (wxPrintData *) 0 ;
19071 long arg2 ;
19072 PyObject * obj0 = 0 ;
19073 PyObject * obj1 = 0 ;
19074 char *kwnames[] = {
19075 (char *) "self",(char *) "y", NULL
19076 };
19077
19078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19081 arg2 = (long) SWIG_AsLong(obj1);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 {
19084 PyThreadState* __tstate = wxPyBeginAllowThreads();
19085 (arg1)->SetPrinterTranslateY(arg2);
19086
19087 wxPyEndAllowThreads(__tstate);
19088 if (PyErr_Occurred()) SWIG_fail;
19089 }
19090 Py_INCREF(Py_None); resultobj = Py_None;
19091 return resultobj;
19092 fail:
19093 return NULL;
19094 }
19095
19096
19097 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
19098 PyObject *resultobj;
19099 wxPrintData *arg1 = (wxPrintData *) 0 ;
19100 long arg2 ;
19101 long arg3 ;
19102 PyObject * obj0 = 0 ;
19103 PyObject * obj1 = 0 ;
19104 PyObject * obj2 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "self",(char *) "x",(char *) "y", NULL
19107 };
19108
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19112 arg2 = (long) SWIG_AsLong(obj1);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 arg3 = (long) SWIG_AsLong(obj2);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 (arg1)->SetPrinterTranslation(arg2,arg3);
19119
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 Py_INCREF(Py_None); resultobj = Py_None;
19124 return resultobj;
19125 fail:
19126 return NULL;
19127 }
19128
19129
19130 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19131 PyObject *resultobj;
19132 wxPrintData *arg1 = (wxPrintData *) 0 ;
19133 int arg2 ;
19134 PyObject * obj0 = 0 ;
19135 PyObject * obj1 = 0 ;
19136 char *kwnames[] = {
19137 (char *) "self",(char *) "printMode", NULL
19138 };
19139
19140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19143 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
19144 if (PyErr_Occurred()) SWIG_fail;
19145 {
19146 PyThreadState* __tstate = wxPyBeginAllowThreads();
19147 (arg1)->SetPrintMode((wxPrintMode )arg2);
19148
19149 wxPyEndAllowThreads(__tstate);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 }
19152 Py_INCREF(Py_None); resultobj = Py_None;
19153 return resultobj;
19154 fail:
19155 return NULL;
19156 }
19157
19158
19159 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19160 PyObject *resultobj;
19161 wxPrintData *arg1 = (wxPrintData *) 0 ;
19162 wxOutputStream *result;
19163 PyObject * obj0 = 0 ;
19164 char *kwnames[] = {
19165 (char *) "self", NULL
19166 };
19167
19168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19171 {
19172 PyThreadState* __tstate = wxPyBeginAllowThreads();
19173 result = (wxOutputStream *)(arg1)->GetOutputStream();
19174
19175 wxPyEndAllowThreads(__tstate);
19176 if (PyErr_Occurred()) SWIG_fail;
19177 }
19178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19179 return resultobj;
19180 fail:
19181 return NULL;
19182 }
19183
19184
19185 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19186 PyObject *resultobj;
19187 wxPrintData *arg1 = (wxPrintData *) 0 ;
19188 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19189 PyObject * obj0 = 0 ;
19190 PyObject * obj1 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self",(char *) "outputstream", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19198 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 (arg1)->SetOutputStream(arg2);
19203
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
19207 Py_INCREF(Py_None); resultobj = Py_None;
19208 return resultobj;
19209 fail:
19210 return NULL;
19211 }
19212
19213
19214 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
19215 PyObject *obj;
19216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19217 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19218 Py_INCREF(obj);
19219 return Py_BuildValue((char *)"");
19220 }
19221 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *self, PyObject *args) {
19222 PyObject *resultobj;
19223 wxPageSetupDialogData *result;
19224
19225 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19226 {
19227 PyThreadState* __tstate = wxPyBeginAllowThreads();
19228 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19229
19230 wxPyEndAllowThreads(__tstate);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 }
19233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19234 return resultobj;
19235 fail:
19236 return NULL;
19237 }
19238
19239
19240 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *self, PyObject *args) {
19241 PyObject *resultobj;
19242 wxPageSetupDialogData *arg1 = 0 ;
19243 wxPageSetupDialogData *result;
19244 PyObject * obj0 = 0 ;
19245
19246 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19248 SWIG_POINTER_EXCEPTION | 0)) == -1)
19249 SWIG_fail;
19250 if (arg1 == NULL) {
19251 PyErr_SetString(PyExc_TypeError,"null reference");
19252 SWIG_fail;
19253 }
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19257
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19262 return resultobj;
19263 fail:
19264 return NULL;
19265 }
19266
19267
19268 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19269 int argc;
19270 PyObject *argv[2];
19271 int ii;
19272
19273 argc = PyObject_Length(args);
19274 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19275 argv[ii] = PyTuple_GetItem(args,ii);
19276 }
19277 if (argc == 0) {
19278 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19279 }
19280 if (argc == 1) {
19281 int _v;
19282 {
19283 void *ptr;
19284 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19285 _v = 0;
19286 PyErr_Clear();
19287 } else {
19288 _v = 1;
19289 }
19290 }
19291 if (_v) {
19292 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19293 }
19294 }
19295
19296 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19297 return NULL;
19298 }
19299
19300
19301 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj;
19303 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19304 PyObject * obj0 = 0 ;
19305 char *kwnames[] = {
19306 (char *) "self", NULL
19307 };
19308
19309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19312 {
19313 PyThreadState* __tstate = wxPyBeginAllowThreads();
19314 delete arg1;
19315
19316 wxPyEndAllowThreads(__tstate);
19317 if (PyErr_Occurred()) SWIG_fail;
19318 }
19319 Py_INCREF(Py_None); resultobj = Py_None;
19320 return resultobj;
19321 fail:
19322 return NULL;
19323 }
19324
19325
19326 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19327 PyObject *resultobj;
19328 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19329 bool arg2 ;
19330 PyObject * obj0 = 0 ;
19331 PyObject * obj1 = 0 ;
19332 char *kwnames[] = {
19333 (char *) "self",(char *) "flag", NULL
19334 };
19335
19336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19339 arg2 = (bool) SWIG_AsBool(obj1);
19340 if (PyErr_Occurred()) SWIG_fail;
19341 {
19342 PyThreadState* __tstate = wxPyBeginAllowThreads();
19343 (arg1)->EnableHelp(arg2);
19344
19345 wxPyEndAllowThreads(__tstate);
19346 if (PyErr_Occurred()) SWIG_fail;
19347 }
19348 Py_INCREF(Py_None); resultobj = Py_None;
19349 return resultobj;
19350 fail:
19351 return NULL;
19352 }
19353
19354
19355 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19356 PyObject *resultobj;
19357 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19358 bool arg2 ;
19359 PyObject * obj0 = 0 ;
19360 PyObject * obj1 = 0 ;
19361 char *kwnames[] = {
19362 (char *) "self",(char *) "flag", NULL
19363 };
19364
19365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19368 arg2 = (bool) SWIG_AsBool(obj1);
19369 if (PyErr_Occurred()) SWIG_fail;
19370 {
19371 PyThreadState* __tstate = wxPyBeginAllowThreads();
19372 (arg1)->EnableMargins(arg2);
19373
19374 wxPyEndAllowThreads(__tstate);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
19377 Py_INCREF(Py_None); resultobj = Py_None;
19378 return resultobj;
19379 fail:
19380 return NULL;
19381 }
19382
19383
19384 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj;
19386 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19387 bool arg2 ;
19388 PyObject * obj0 = 0 ;
19389 PyObject * obj1 = 0 ;
19390 char *kwnames[] = {
19391 (char *) "self",(char *) "flag", NULL
19392 };
19393
19394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19397 arg2 = (bool) SWIG_AsBool(obj1);
19398 if (PyErr_Occurred()) SWIG_fail;
19399 {
19400 PyThreadState* __tstate = wxPyBeginAllowThreads();
19401 (arg1)->EnableOrientation(arg2);
19402
19403 wxPyEndAllowThreads(__tstate);
19404 if (PyErr_Occurred()) SWIG_fail;
19405 }
19406 Py_INCREF(Py_None); resultobj = Py_None;
19407 return resultobj;
19408 fail:
19409 return NULL;
19410 }
19411
19412
19413 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19414 PyObject *resultobj;
19415 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19416 bool arg2 ;
19417 PyObject * obj0 = 0 ;
19418 PyObject * obj1 = 0 ;
19419 char *kwnames[] = {
19420 (char *) "self",(char *) "flag", NULL
19421 };
19422
19423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19426 arg2 = (bool) SWIG_AsBool(obj1);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 {
19429 PyThreadState* __tstate = wxPyBeginAllowThreads();
19430 (arg1)->EnablePaper(arg2);
19431
19432 wxPyEndAllowThreads(__tstate);
19433 if (PyErr_Occurred()) SWIG_fail;
19434 }
19435 Py_INCREF(Py_None); resultobj = Py_None;
19436 return resultobj;
19437 fail:
19438 return NULL;
19439 }
19440
19441
19442 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19443 PyObject *resultobj;
19444 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19445 bool arg2 ;
19446 PyObject * obj0 = 0 ;
19447 PyObject * obj1 = 0 ;
19448 char *kwnames[] = {
19449 (char *) "self",(char *) "flag", NULL
19450 };
19451
19452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19455 arg2 = (bool) SWIG_AsBool(obj1);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 {
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 (arg1)->EnablePrinter(arg2);
19460
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
19464 Py_INCREF(Py_None); resultobj = Py_None;
19465 return resultobj;
19466 fail:
19467 return NULL;
19468 }
19469
19470
19471 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19472 PyObject *resultobj;
19473 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19474 bool result;
19475 PyObject * obj0 = 0 ;
19476 char *kwnames[] = {
19477 (char *) "self", NULL
19478 };
19479
19480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19483 {
19484 PyThreadState* __tstate = wxPyBeginAllowThreads();
19485 result = (bool)(arg1)->GetDefaultMinMargins();
19486
19487 wxPyEndAllowThreads(__tstate);
19488 if (PyErr_Occurred()) SWIG_fail;
19489 }
19490 {
19491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19492 }
19493 return resultobj;
19494 fail:
19495 return NULL;
19496 }
19497
19498
19499 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19500 PyObject *resultobj;
19501 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19502 bool result;
19503 PyObject * obj0 = 0 ;
19504 char *kwnames[] = {
19505 (char *) "self", NULL
19506 };
19507
19508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19511 {
19512 PyThreadState* __tstate = wxPyBeginAllowThreads();
19513 result = (bool)(arg1)->GetEnableMargins();
19514
19515 wxPyEndAllowThreads(__tstate);
19516 if (PyErr_Occurred()) SWIG_fail;
19517 }
19518 {
19519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19520 }
19521 return resultobj;
19522 fail:
19523 return NULL;
19524 }
19525
19526
19527 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19528 PyObject *resultobj;
19529 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19530 bool result;
19531 PyObject * obj0 = 0 ;
19532 char *kwnames[] = {
19533 (char *) "self", NULL
19534 };
19535
19536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19539 {
19540 PyThreadState* __tstate = wxPyBeginAllowThreads();
19541 result = (bool)(arg1)->GetEnableOrientation();
19542
19543 wxPyEndAllowThreads(__tstate);
19544 if (PyErr_Occurred()) SWIG_fail;
19545 }
19546 {
19547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19548 }
19549 return resultobj;
19550 fail:
19551 return NULL;
19552 }
19553
19554
19555 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19556 PyObject *resultobj;
19557 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19558 bool result;
19559 PyObject * obj0 = 0 ;
19560 char *kwnames[] = {
19561 (char *) "self", NULL
19562 };
19563
19564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19567 {
19568 PyThreadState* __tstate = wxPyBeginAllowThreads();
19569 result = (bool)(arg1)->GetEnablePaper();
19570
19571 wxPyEndAllowThreads(__tstate);
19572 if (PyErr_Occurred()) SWIG_fail;
19573 }
19574 {
19575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19576 }
19577 return resultobj;
19578 fail:
19579 return NULL;
19580 }
19581
19582
19583 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19584 PyObject *resultobj;
19585 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19586 bool result;
19587 PyObject * obj0 = 0 ;
19588 char *kwnames[] = {
19589 (char *) "self", NULL
19590 };
19591
19592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19595 {
19596 PyThreadState* __tstate = wxPyBeginAllowThreads();
19597 result = (bool)(arg1)->GetEnablePrinter();
19598
19599 wxPyEndAllowThreads(__tstate);
19600 if (PyErr_Occurred()) SWIG_fail;
19601 }
19602 {
19603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19604 }
19605 return resultobj;
19606 fail:
19607 return NULL;
19608 }
19609
19610
19611 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19612 PyObject *resultobj;
19613 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19614 bool result;
19615 PyObject * obj0 = 0 ;
19616 char *kwnames[] = {
19617 (char *) "self", NULL
19618 };
19619
19620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (bool)(arg1)->GetEnableHelp();
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 {
19631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19632 }
19633 return resultobj;
19634 fail:
19635 return NULL;
19636 }
19637
19638
19639 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19642 bool result;
19643 PyObject * obj0 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19651 {
19652 PyThreadState* __tstate = wxPyBeginAllowThreads();
19653 result = (bool)(arg1)->GetDefaultInfo();
19654
19655 wxPyEndAllowThreads(__tstate);
19656 if (PyErr_Occurred()) SWIG_fail;
19657 }
19658 {
19659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19660 }
19661 return resultobj;
19662 fail:
19663 return NULL;
19664 }
19665
19666
19667 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19668 PyObject *resultobj;
19669 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19670 wxPoint result;
19671 PyObject * obj0 = 0 ;
19672 char *kwnames[] = {
19673 (char *) "self", NULL
19674 };
19675
19676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 result = (arg1)->GetMarginTopLeft();
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 {
19687 wxPoint * resultptr;
19688 resultptr = new wxPoint((wxPoint &) result);
19689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19690 }
19691 return resultobj;
19692 fail:
19693 return NULL;
19694 }
19695
19696
19697 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19698 PyObject *resultobj;
19699 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19700 wxPoint result;
19701 PyObject * obj0 = 0 ;
19702 char *kwnames[] = {
19703 (char *) "self", NULL
19704 };
19705
19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 result = (arg1)->GetMarginBottomRight();
19712
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 {
19717 wxPoint * resultptr;
19718 resultptr = new wxPoint((wxPoint &) result);
19719 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19720 }
19721 return resultobj;
19722 fail:
19723 return NULL;
19724 }
19725
19726
19727 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19728 PyObject *resultobj;
19729 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19730 wxPoint result;
19731 PyObject * obj0 = 0 ;
19732 char *kwnames[] = {
19733 (char *) "self", NULL
19734 };
19735
19736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19739 {
19740 PyThreadState* __tstate = wxPyBeginAllowThreads();
19741 result = (arg1)->GetMinMarginTopLeft();
19742
19743 wxPyEndAllowThreads(__tstate);
19744 if (PyErr_Occurred()) SWIG_fail;
19745 }
19746 {
19747 wxPoint * resultptr;
19748 resultptr = new wxPoint((wxPoint &) result);
19749 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19750 }
19751 return resultobj;
19752 fail:
19753 return NULL;
19754 }
19755
19756
19757 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19758 PyObject *resultobj;
19759 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19760 wxPoint result;
19761 PyObject * obj0 = 0 ;
19762 char *kwnames[] = {
19763 (char *) "self", NULL
19764 };
19765
19766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19769 {
19770 PyThreadState* __tstate = wxPyBeginAllowThreads();
19771 result = (arg1)->GetMinMarginBottomRight();
19772
19773 wxPyEndAllowThreads(__tstate);
19774 if (PyErr_Occurred()) SWIG_fail;
19775 }
19776 {
19777 wxPoint * resultptr;
19778 resultptr = new wxPoint((wxPoint &) result);
19779 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19780 }
19781 return resultobj;
19782 fail:
19783 return NULL;
19784 }
19785
19786
19787 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19788 PyObject *resultobj;
19789 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19790 int result;
19791 PyObject * obj0 = 0 ;
19792 char *kwnames[] = {
19793 (char *) "self", NULL
19794 };
19795
19796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19799 {
19800 PyThreadState* __tstate = wxPyBeginAllowThreads();
19801 result = (int)(arg1)->GetPaperId();
19802
19803 wxPyEndAllowThreads(__tstate);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 }
19806 resultobj = SWIG_FromInt((int)result);
19807 return resultobj;
19808 fail:
19809 return NULL;
19810 }
19811
19812
19813 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19814 PyObject *resultobj;
19815 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19816 wxSize result;
19817 PyObject * obj0 = 0 ;
19818 char *kwnames[] = {
19819 (char *) "self", NULL
19820 };
19821
19822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19825 {
19826 PyThreadState* __tstate = wxPyBeginAllowThreads();
19827 result = (arg1)->GetPaperSize();
19828
19829 wxPyEndAllowThreads(__tstate);
19830 if (PyErr_Occurred()) SWIG_fail;
19831 }
19832 {
19833 wxSize * resultptr;
19834 resultptr = new wxSize((wxSize &) result);
19835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19836 }
19837 return resultobj;
19838 fail:
19839 return NULL;
19840 }
19841
19842
19843 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19844 PyObject *resultobj;
19845 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19846 wxPrintData *result;
19847 PyObject * obj0 = 0 ;
19848 char *kwnames[] = {
19849 (char *) "self", NULL
19850 };
19851
19852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19855 {
19856 PyThreadState* __tstate = wxPyBeginAllowThreads();
19857 {
19858 wxPrintData &_result_ref = (arg1)->GetPrintData();
19859 result = (wxPrintData *) &_result_ref;
19860 }
19861
19862 wxPyEndAllowThreads(__tstate);
19863 if (PyErr_Occurred()) SWIG_fail;
19864 }
19865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19866 return resultobj;
19867 fail:
19868 return NULL;
19869 }
19870
19871
19872 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19873 PyObject *resultobj;
19874 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19875 bool result;
19876 PyObject * obj0 = 0 ;
19877 char *kwnames[] = {
19878 (char *) "self", NULL
19879 };
19880
19881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 result = (bool)(arg1)->Ok();
19887
19888 wxPyEndAllowThreads(__tstate);
19889 if (PyErr_Occurred()) SWIG_fail;
19890 }
19891 {
19892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19893 }
19894 return resultobj;
19895 fail:
19896 return NULL;
19897 }
19898
19899
19900 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19901 PyObject *resultobj;
19902 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19903 bool arg2 ;
19904 PyObject * obj0 = 0 ;
19905 PyObject * obj1 = 0 ;
19906 char *kwnames[] = {
19907 (char *) "self",(char *) "flag", NULL
19908 };
19909
19910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19913 arg2 = (bool) SWIG_AsBool(obj1);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 (arg1)->SetDefaultInfo(arg2);
19918
19919 wxPyEndAllowThreads(__tstate);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 }
19922 Py_INCREF(Py_None); resultobj = Py_None;
19923 return resultobj;
19924 fail:
19925 return NULL;
19926 }
19927
19928
19929 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19930 PyObject *resultobj;
19931 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19932 bool arg2 ;
19933 PyObject * obj0 = 0 ;
19934 PyObject * obj1 = 0 ;
19935 char *kwnames[] = {
19936 (char *) "self",(char *) "flag", NULL
19937 };
19938
19939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19942 arg2 = (bool) SWIG_AsBool(obj1);
19943 if (PyErr_Occurred()) SWIG_fail;
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
19946 (arg1)->SetDefaultMinMargins(arg2);
19947
19948 wxPyEndAllowThreads(__tstate);
19949 if (PyErr_Occurred()) SWIG_fail;
19950 }
19951 Py_INCREF(Py_None); resultobj = Py_None;
19952 return resultobj;
19953 fail:
19954 return NULL;
19955 }
19956
19957
19958 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19959 PyObject *resultobj;
19960 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19961 wxPoint *arg2 = 0 ;
19962 wxPoint temp2 ;
19963 PyObject * obj0 = 0 ;
19964 PyObject * obj1 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "self",(char *) "pt", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19972 {
19973 arg2 = &temp2;
19974 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19975 }
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 Py_INCREF(Py_None); resultobj = Py_None;
19984 return resultobj;
19985 fail:
19986 return NULL;
19987 }
19988
19989
19990 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19991 PyObject *resultobj;
19992 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19993 wxPoint *arg2 = 0 ;
19994 wxPoint temp2 ;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self",(char *) "pt", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20004 {
20005 arg2 = &temp2;
20006 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20007 }
20008 {
20009 PyThreadState* __tstate = wxPyBeginAllowThreads();
20010 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20011
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 Py_INCREF(Py_None); resultobj = Py_None;
20016 return resultobj;
20017 fail:
20018 return NULL;
20019 }
20020
20021
20022 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20023 PyObject *resultobj;
20024 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20025 wxPoint *arg2 = 0 ;
20026 wxPoint temp2 ;
20027 PyObject * obj0 = 0 ;
20028 PyObject * obj1 = 0 ;
20029 char *kwnames[] = {
20030 (char *) "self",(char *) "pt", NULL
20031 };
20032
20033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20036 {
20037 arg2 = &temp2;
20038 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20039 }
20040 {
20041 PyThreadState* __tstate = wxPyBeginAllowThreads();
20042 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20043
20044 wxPyEndAllowThreads(__tstate);
20045 if (PyErr_Occurred()) SWIG_fail;
20046 }
20047 Py_INCREF(Py_None); resultobj = Py_None;
20048 return resultobj;
20049 fail:
20050 return NULL;
20051 }
20052
20053
20054 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20055 PyObject *resultobj;
20056 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20057 wxPoint *arg2 = 0 ;
20058 wxPoint temp2 ;
20059 PyObject * obj0 = 0 ;
20060 PyObject * obj1 = 0 ;
20061 char *kwnames[] = {
20062 (char *) "self",(char *) "pt", NULL
20063 };
20064
20065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20068 {
20069 arg2 = &temp2;
20070 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20071 }
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20075
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 Py_INCREF(Py_None); resultobj = Py_None;
20080 return resultobj;
20081 fail:
20082 return NULL;
20083 }
20084
20085
20086 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
20087 PyObject *resultobj;
20088 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20089 int arg2 ;
20090 PyObject * obj0 = 0 ;
20091 PyObject * obj1 = 0 ;
20092 char *kwnames[] = {
20093 (char *) "self",(char *) "id", NULL
20094 };
20095
20096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20099 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
20100 if (PyErr_Occurred()) SWIG_fail;
20101 {
20102 PyThreadState* __tstate = wxPyBeginAllowThreads();
20103 (arg1)->SetPaperId((wxPaperSize )arg2);
20104
20105 wxPyEndAllowThreads(__tstate);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 }
20108 Py_INCREF(Py_None); resultobj = Py_None;
20109 return resultobj;
20110 fail:
20111 return NULL;
20112 }
20113
20114
20115 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj;
20117 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20118 wxSize *arg2 = 0 ;
20119 wxSize temp2 ;
20120 PyObject * obj0 = 0 ;
20121 PyObject * obj1 = 0 ;
20122 char *kwnames[] = {
20123 (char *) "self",(char *) "size", NULL
20124 };
20125
20126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20129 {
20130 arg2 = &temp2;
20131 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20132 }
20133 {
20134 PyThreadState* __tstate = wxPyBeginAllowThreads();
20135 (arg1)->SetPaperSize((wxSize const &)*arg2);
20136
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 Py_INCREF(Py_None); resultobj = Py_None;
20141 return resultobj;
20142 fail:
20143 return NULL;
20144 }
20145
20146
20147 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20148 PyObject *resultobj;
20149 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20150 wxPrintData *arg2 = 0 ;
20151 PyObject * obj0 = 0 ;
20152 PyObject * obj1 = 0 ;
20153 char *kwnames[] = {
20154 (char *) "self",(char *) "printData", NULL
20155 };
20156
20157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20161 SWIG_POINTER_EXCEPTION | 0)) == -1)
20162 SWIG_fail;
20163 if (arg2 == NULL) {
20164 PyErr_SetString(PyExc_TypeError,"null reference");
20165 SWIG_fail;
20166 }
20167 {
20168 PyThreadState* __tstate = wxPyBeginAllowThreads();
20169 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20170
20171 wxPyEndAllowThreads(__tstate);
20172 if (PyErr_Occurred()) SWIG_fail;
20173 }
20174 Py_INCREF(Py_None); resultobj = Py_None;
20175 return resultobj;
20176 fail:
20177 return NULL;
20178 }
20179
20180
20181 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
20182 PyObject *obj;
20183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20184 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20185 Py_INCREF(obj);
20186 return Py_BuildValue((char *)"");
20187 }
20188 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20189 PyObject *resultobj;
20190 wxWindow *arg1 = (wxWindow *) 0 ;
20191 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20192 wxPageSetupDialog *result;
20193 PyObject * obj0 = 0 ;
20194 PyObject * obj1 = 0 ;
20195 char *kwnames[] = {
20196 (char *) "parent",(char *) "data", NULL
20197 };
20198
20199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20202 if (obj1) {
20203 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20205 }
20206 {
20207 if (!wxPyCheckForApp()) SWIG_fail;
20208 PyThreadState* __tstate = wxPyBeginAllowThreads();
20209 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20210
20211 wxPyEndAllowThreads(__tstate);
20212 if (PyErr_Occurred()) SWIG_fail;
20213 }
20214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20215 return resultobj;
20216 fail:
20217 return NULL;
20218 }
20219
20220
20221 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
20222 PyObject *resultobj;
20223 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20224 wxPageSetupDialogData *result;
20225 PyObject * obj0 = 0 ;
20226 char *kwnames[] = {
20227 (char *) "self", NULL
20228 };
20229
20230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20233 {
20234 PyThreadState* __tstate = wxPyBeginAllowThreads();
20235 {
20236 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20237 result = (wxPageSetupDialogData *) &_result_ref;
20238 }
20239
20240 wxPyEndAllowThreads(__tstate);
20241 if (PyErr_Occurred()) SWIG_fail;
20242 }
20243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20244 return resultobj;
20245 fail:
20246 return NULL;
20247 }
20248
20249
20250 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20251 PyObject *resultobj;
20252 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20253 int result;
20254 PyObject * obj0 = 0 ;
20255 char *kwnames[] = {
20256 (char *) "self", NULL
20257 };
20258
20259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20262 {
20263 PyThreadState* __tstate = wxPyBeginAllowThreads();
20264 result = (int)(arg1)->ShowModal();
20265
20266 wxPyEndAllowThreads(__tstate);
20267 if (PyErr_Occurred()) SWIG_fail;
20268 }
20269 resultobj = SWIG_FromInt((int)result);
20270 return resultobj;
20271 fail:
20272 return NULL;
20273 }
20274
20275
20276 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
20277 PyObject *obj;
20278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20279 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20280 Py_INCREF(obj);
20281 return Py_BuildValue((char *)"");
20282 }
20283 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
20284 PyObject *resultobj;
20285 wxPrintDialogData *result;
20286
20287 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20288 {
20289 PyThreadState* __tstate = wxPyBeginAllowThreads();
20290 result = (wxPrintDialogData *)new wxPrintDialogData();
20291
20292 wxPyEndAllowThreads(__tstate);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 }
20295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20296 return resultobj;
20297 fail:
20298 return NULL;
20299 }
20300
20301
20302 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
20303 PyObject *resultobj;
20304 wxPrintData *arg1 = 0 ;
20305 wxPrintDialogData *result;
20306 PyObject * obj0 = 0 ;
20307
20308 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20310 SWIG_POINTER_EXCEPTION | 0)) == -1)
20311 SWIG_fail;
20312 if (arg1 == NULL) {
20313 PyErr_SetString(PyExc_TypeError,"null reference");
20314 SWIG_fail;
20315 }
20316 {
20317 PyThreadState* __tstate = wxPyBeginAllowThreads();
20318 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20319
20320 wxPyEndAllowThreads(__tstate);
20321 if (PyErr_Occurred()) SWIG_fail;
20322 }
20323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20324 return resultobj;
20325 fail:
20326 return NULL;
20327 }
20328
20329
20330 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20331 int argc;
20332 PyObject *argv[2];
20333 int ii;
20334
20335 argc = PyObject_Length(args);
20336 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20337 argv[ii] = PyTuple_GetItem(args,ii);
20338 }
20339 if (argc == 0) {
20340 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20341 }
20342 if (argc == 1) {
20343 int _v;
20344 {
20345 void *ptr;
20346 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20347 _v = 0;
20348 PyErr_Clear();
20349 } else {
20350 _v = 1;
20351 }
20352 }
20353 if (_v) {
20354 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20355 }
20356 }
20357
20358 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20359 return NULL;
20360 }
20361
20362
20363 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20364 PyObject *resultobj;
20365 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20366 PyObject * obj0 = 0 ;
20367 char *kwnames[] = {
20368 (char *) "self", NULL
20369 };
20370
20371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20374 {
20375 PyThreadState* __tstate = wxPyBeginAllowThreads();
20376 delete arg1;
20377
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 Py_INCREF(Py_None); resultobj = Py_None;
20382 return resultobj;
20383 fail:
20384 return NULL;
20385 }
20386
20387
20388 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20389 PyObject *resultobj;
20390 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20391 int result;
20392 PyObject * obj0 = 0 ;
20393 char *kwnames[] = {
20394 (char *) "self", NULL
20395 };
20396
20397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20400 {
20401 PyThreadState* __tstate = wxPyBeginAllowThreads();
20402 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20403
20404 wxPyEndAllowThreads(__tstate);
20405 if (PyErr_Occurred()) SWIG_fail;
20406 }
20407 resultobj = SWIG_FromInt((int)result);
20408 return resultobj;
20409 fail:
20410 return NULL;
20411 }
20412
20413
20414 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20415 PyObject *resultobj;
20416 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20417 int result;
20418 PyObject * obj0 = 0 ;
20419 char *kwnames[] = {
20420 (char *) "self", NULL
20421 };
20422
20423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20426 {
20427 PyThreadState* __tstate = wxPyBeginAllowThreads();
20428 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20429
20430 wxPyEndAllowThreads(__tstate);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 }
20433 resultobj = SWIG_FromInt((int)result);
20434 return resultobj;
20435 fail:
20436 return NULL;
20437 }
20438
20439
20440 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20441 PyObject *resultobj;
20442 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20443 int result;
20444 PyObject * obj0 = 0 ;
20445 char *kwnames[] = {
20446 (char *) "self", NULL
20447 };
20448
20449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20452 {
20453 PyThreadState* __tstate = wxPyBeginAllowThreads();
20454 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20455
20456 wxPyEndAllowThreads(__tstate);
20457 if (PyErr_Occurred()) SWIG_fail;
20458 }
20459 resultobj = SWIG_FromInt((int)result);
20460 return resultobj;
20461 fail:
20462 return NULL;
20463 }
20464
20465
20466 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20467 PyObject *resultobj;
20468 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20469 int result;
20470 PyObject * obj0 = 0 ;
20471 char *kwnames[] = {
20472 (char *) "self", NULL
20473 };
20474
20475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 resultobj = SWIG_FromInt((int)result);
20486 return resultobj;
20487 fail:
20488 return NULL;
20489 }
20490
20491
20492 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20493 PyObject *resultobj;
20494 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20495 int result;
20496 PyObject * obj0 = 0 ;
20497 char *kwnames[] = {
20498 (char *) "self", NULL
20499 };
20500
20501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20504 {
20505 PyThreadState* __tstate = wxPyBeginAllowThreads();
20506 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20507
20508 wxPyEndAllowThreads(__tstate);
20509 if (PyErr_Occurred()) SWIG_fail;
20510 }
20511 resultobj = SWIG_FromInt((int)result);
20512 return resultobj;
20513 fail:
20514 return NULL;
20515 }
20516
20517
20518 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20519 PyObject *resultobj;
20520 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20521 bool result;
20522 PyObject * obj0 = 0 ;
20523 char *kwnames[] = {
20524 (char *) "self", NULL
20525 };
20526
20527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20530 {
20531 PyThreadState* __tstate = wxPyBeginAllowThreads();
20532 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20533
20534 wxPyEndAllowThreads(__tstate);
20535 if (PyErr_Occurred()) SWIG_fail;
20536 }
20537 {
20538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20539 }
20540 return resultobj;
20541 fail:
20542 return NULL;
20543 }
20544
20545
20546 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20547 PyObject *resultobj;
20548 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20549 bool result;
20550 PyObject * obj0 = 0 ;
20551 char *kwnames[] = {
20552 (char *) "self", NULL
20553 };
20554
20555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20558 {
20559 PyThreadState* __tstate = wxPyBeginAllowThreads();
20560 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20561
20562 wxPyEndAllowThreads(__tstate);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
20565 {
20566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20567 }
20568 return resultobj;
20569 fail:
20570 return NULL;
20571 }
20572
20573
20574 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20575 PyObject *resultobj;
20576 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20577 bool result;
20578 PyObject * obj0 = 0 ;
20579 char *kwnames[] = {
20580 (char *) "self", NULL
20581 };
20582
20583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20586 {
20587 PyThreadState* __tstate = wxPyBeginAllowThreads();
20588 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20589
20590 wxPyEndAllowThreads(__tstate);
20591 if (PyErr_Occurred()) SWIG_fail;
20592 }
20593 {
20594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20595 }
20596 return resultobj;
20597 fail:
20598 return NULL;
20599 }
20600
20601
20602 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20603 PyObject *resultobj;
20604 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20605 bool result;
20606 PyObject * obj0 = 0 ;
20607 char *kwnames[] = {
20608 (char *) "self", NULL
20609 };
20610
20611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20614 {
20615 PyThreadState* __tstate = wxPyBeginAllowThreads();
20616 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20617
20618 wxPyEndAllowThreads(__tstate);
20619 if (PyErr_Occurred()) SWIG_fail;
20620 }
20621 {
20622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20623 }
20624 return resultobj;
20625 fail:
20626 return NULL;
20627 }
20628
20629
20630 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20631 PyObject *resultobj;
20632 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20633 bool result;
20634 PyObject * obj0 = 0 ;
20635 char *kwnames[] = {
20636 (char *) "self", NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20642 {
20643 PyThreadState* __tstate = wxPyBeginAllowThreads();
20644 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20645
20646 wxPyEndAllowThreads(__tstate);
20647 if (PyErr_Occurred()) SWIG_fail;
20648 }
20649 {
20650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20651 }
20652 return resultobj;
20653 fail:
20654 return NULL;
20655 }
20656
20657
20658 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20659 PyObject *resultobj;
20660 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20661 int arg2 ;
20662 PyObject * obj0 = 0 ;
20663 PyObject * obj1 = 0 ;
20664 char *kwnames[] = {
20665 (char *) "self",(char *) "v", NULL
20666 };
20667
20668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20671 arg2 = (int) SWIG_AsInt(obj1);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 (arg1)->SetFromPage(arg2);
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 Py_INCREF(Py_None); resultobj = Py_None;
20681 return resultobj;
20682 fail:
20683 return NULL;
20684 }
20685
20686
20687 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20688 PyObject *resultobj;
20689 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20690 int arg2 ;
20691 PyObject * obj0 = 0 ;
20692 PyObject * obj1 = 0 ;
20693 char *kwnames[] = {
20694 (char *) "self",(char *) "v", NULL
20695 };
20696
20697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20700 arg2 = (int) SWIG_AsInt(obj1);
20701 if (PyErr_Occurred()) SWIG_fail;
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 (arg1)->SetToPage(arg2);
20705
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 Py_INCREF(Py_None); resultobj = Py_None;
20710 return resultobj;
20711 fail:
20712 return NULL;
20713 }
20714
20715
20716 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20717 PyObject *resultobj;
20718 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20719 int arg2 ;
20720 PyObject * obj0 = 0 ;
20721 PyObject * obj1 = 0 ;
20722 char *kwnames[] = {
20723 (char *) "self",(char *) "v", NULL
20724 };
20725
20726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20729 arg2 = (int) SWIG_AsInt(obj1);
20730 if (PyErr_Occurred()) SWIG_fail;
20731 {
20732 PyThreadState* __tstate = wxPyBeginAllowThreads();
20733 (arg1)->SetMinPage(arg2);
20734
20735 wxPyEndAllowThreads(__tstate);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 }
20738 Py_INCREF(Py_None); resultobj = Py_None;
20739 return resultobj;
20740 fail:
20741 return NULL;
20742 }
20743
20744
20745 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20746 PyObject *resultobj;
20747 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20748 int arg2 ;
20749 PyObject * obj0 = 0 ;
20750 PyObject * obj1 = 0 ;
20751 char *kwnames[] = {
20752 (char *) "self",(char *) "v", NULL
20753 };
20754
20755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20758 arg2 = (int) SWIG_AsInt(obj1);
20759 if (PyErr_Occurred()) SWIG_fail;
20760 {
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
20762 (arg1)->SetMaxPage(arg2);
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 Py_INCREF(Py_None); resultobj = Py_None;
20768 return resultobj;
20769 fail:
20770 return NULL;
20771 }
20772
20773
20774 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20775 PyObject *resultobj;
20776 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20777 int arg2 ;
20778 PyObject * obj0 = 0 ;
20779 PyObject * obj1 = 0 ;
20780 char *kwnames[] = {
20781 (char *) "self",(char *) "v", NULL
20782 };
20783
20784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20787 arg2 = (int) SWIG_AsInt(obj1);
20788 if (PyErr_Occurred()) SWIG_fail;
20789 {
20790 PyThreadState* __tstate = wxPyBeginAllowThreads();
20791 (arg1)->SetNoCopies(arg2);
20792
20793 wxPyEndAllowThreads(__tstate);
20794 if (PyErr_Occurred()) SWIG_fail;
20795 }
20796 Py_INCREF(Py_None); resultobj = Py_None;
20797 return resultobj;
20798 fail:
20799 return NULL;
20800 }
20801
20802
20803 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20804 PyObject *resultobj;
20805 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20806 bool arg2 ;
20807 PyObject * obj0 = 0 ;
20808 PyObject * obj1 = 0 ;
20809 char *kwnames[] = {
20810 (char *) "self",(char *) "flag", NULL
20811 };
20812
20813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20816 arg2 = (bool) SWIG_AsBool(obj1);
20817 if (PyErr_Occurred()) SWIG_fail;
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 (arg1)->SetAllPages(arg2);
20821
20822 wxPyEndAllowThreads(__tstate);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 }
20825 Py_INCREF(Py_None); resultobj = Py_None;
20826 return resultobj;
20827 fail:
20828 return NULL;
20829 }
20830
20831
20832 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20833 PyObject *resultobj;
20834 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20835 bool arg2 ;
20836 PyObject * obj0 = 0 ;
20837 PyObject * obj1 = 0 ;
20838 char *kwnames[] = {
20839 (char *) "self",(char *) "flag", NULL
20840 };
20841
20842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20845 arg2 = (bool) SWIG_AsBool(obj1);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 {
20848 PyThreadState* __tstate = wxPyBeginAllowThreads();
20849 (arg1)->SetSelection(arg2);
20850
20851 wxPyEndAllowThreads(__tstate);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 }
20854 Py_INCREF(Py_None); resultobj = Py_None;
20855 return resultobj;
20856 fail:
20857 return NULL;
20858 }
20859
20860
20861 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20862 PyObject *resultobj;
20863 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20864 bool arg2 ;
20865 PyObject * obj0 = 0 ;
20866 PyObject * obj1 = 0 ;
20867 char *kwnames[] = {
20868 (char *) "self",(char *) "flag", NULL
20869 };
20870
20871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20874 arg2 = (bool) SWIG_AsBool(obj1);
20875 if (PyErr_Occurred()) SWIG_fail;
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 (arg1)->SetCollate(arg2);
20879
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
20883 Py_INCREF(Py_None); resultobj = Py_None;
20884 return resultobj;
20885 fail:
20886 return NULL;
20887 }
20888
20889
20890 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20891 PyObject *resultobj;
20892 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20893 bool arg2 ;
20894 PyObject * obj0 = 0 ;
20895 PyObject * obj1 = 0 ;
20896 char *kwnames[] = {
20897 (char *) "self",(char *) "flag", NULL
20898 };
20899
20900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20903 arg2 = (bool) SWIG_AsBool(obj1);
20904 if (PyErr_Occurred()) SWIG_fail;
20905 {
20906 PyThreadState* __tstate = wxPyBeginAllowThreads();
20907 (arg1)->SetPrintToFile(arg2);
20908
20909 wxPyEndAllowThreads(__tstate);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 }
20912 Py_INCREF(Py_None); resultobj = Py_None;
20913 return resultobj;
20914 fail:
20915 return NULL;
20916 }
20917
20918
20919 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20920 PyObject *resultobj;
20921 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20922 bool arg2 ;
20923 PyObject * obj0 = 0 ;
20924 PyObject * obj1 = 0 ;
20925 char *kwnames[] = {
20926 (char *) "self",(char *) "flag", NULL
20927 };
20928
20929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20932 arg2 = (bool) SWIG_AsBool(obj1);
20933 if (PyErr_Occurred()) SWIG_fail;
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 (arg1)->SetSetupDialog(arg2);
20937
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 Py_INCREF(Py_None); resultobj = Py_None;
20942 return resultobj;
20943 fail:
20944 return NULL;
20945 }
20946
20947
20948 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20949 PyObject *resultobj;
20950 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20951 bool arg2 ;
20952 PyObject * obj0 = 0 ;
20953 PyObject * obj1 = 0 ;
20954 char *kwnames[] = {
20955 (char *) "self",(char *) "flag", NULL
20956 };
20957
20958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20961 arg2 = (bool) SWIG_AsBool(obj1);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 {
20964 PyThreadState* __tstate = wxPyBeginAllowThreads();
20965 (arg1)->EnablePrintToFile(arg2);
20966
20967 wxPyEndAllowThreads(__tstate);
20968 if (PyErr_Occurred()) SWIG_fail;
20969 }
20970 Py_INCREF(Py_None); resultobj = Py_None;
20971 return resultobj;
20972 fail:
20973 return NULL;
20974 }
20975
20976
20977 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20978 PyObject *resultobj;
20979 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20980 bool arg2 ;
20981 PyObject * obj0 = 0 ;
20982 PyObject * obj1 = 0 ;
20983 char *kwnames[] = {
20984 (char *) "self",(char *) "flag", NULL
20985 };
20986
20987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20990 arg2 = (bool) SWIG_AsBool(obj1);
20991 if (PyErr_Occurred()) SWIG_fail;
20992 {
20993 PyThreadState* __tstate = wxPyBeginAllowThreads();
20994 (arg1)->EnableSelection(arg2);
20995
20996 wxPyEndAllowThreads(__tstate);
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
20999 Py_INCREF(Py_None); resultobj = Py_None;
21000 return resultobj;
21001 fail:
21002 return NULL;
21003 }
21004
21005
21006 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21007 PyObject *resultobj;
21008 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21009 bool arg2 ;
21010 PyObject * obj0 = 0 ;
21011 PyObject * obj1 = 0 ;
21012 char *kwnames[] = {
21013 (char *) "self",(char *) "flag", NULL
21014 };
21015
21016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21019 arg2 = (bool) SWIG_AsBool(obj1);
21020 if (PyErr_Occurred()) SWIG_fail;
21021 {
21022 PyThreadState* __tstate = wxPyBeginAllowThreads();
21023 (arg1)->EnablePageNumbers(arg2);
21024
21025 wxPyEndAllowThreads(__tstate);
21026 if (PyErr_Occurred()) SWIG_fail;
21027 }
21028 Py_INCREF(Py_None); resultobj = Py_None;
21029 return resultobj;
21030 fail:
21031 return NULL;
21032 }
21033
21034
21035 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21036 PyObject *resultobj;
21037 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21038 bool arg2 ;
21039 PyObject * obj0 = 0 ;
21040 PyObject * obj1 = 0 ;
21041 char *kwnames[] = {
21042 (char *) "self",(char *) "flag", NULL
21043 };
21044
21045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21048 arg2 = (bool) SWIG_AsBool(obj1);
21049 if (PyErr_Occurred()) SWIG_fail;
21050 {
21051 PyThreadState* __tstate = wxPyBeginAllowThreads();
21052 (arg1)->EnableHelp(arg2);
21053
21054 wxPyEndAllowThreads(__tstate);
21055 if (PyErr_Occurred()) SWIG_fail;
21056 }
21057 Py_INCREF(Py_None); resultobj = Py_None;
21058 return resultobj;
21059 fail:
21060 return NULL;
21061 }
21062
21063
21064 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21065 PyObject *resultobj;
21066 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21067 bool result;
21068 PyObject * obj0 = 0 ;
21069 char *kwnames[] = {
21070 (char *) "self", NULL
21071 };
21072
21073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21076 {
21077 PyThreadState* __tstate = wxPyBeginAllowThreads();
21078 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21079
21080 wxPyEndAllowThreads(__tstate);
21081 if (PyErr_Occurred()) SWIG_fail;
21082 }
21083 {
21084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21085 }
21086 return resultobj;
21087 fail:
21088 return NULL;
21089 }
21090
21091
21092 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21093 PyObject *resultobj;
21094 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21095 bool result;
21096 PyObject * obj0 = 0 ;
21097 char *kwnames[] = {
21098 (char *) "self", NULL
21099 };
21100
21101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21104 {
21105 PyThreadState* __tstate = wxPyBeginAllowThreads();
21106 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21107
21108 wxPyEndAllowThreads(__tstate);
21109 if (PyErr_Occurred()) SWIG_fail;
21110 }
21111 {
21112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21113 }
21114 return resultobj;
21115 fail:
21116 return NULL;
21117 }
21118
21119
21120 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21121 PyObject *resultobj;
21122 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21123 bool result;
21124 PyObject * obj0 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21132 {
21133 PyThreadState* __tstate = wxPyBeginAllowThreads();
21134 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21135
21136 wxPyEndAllowThreads(__tstate);
21137 if (PyErr_Occurred()) SWIG_fail;
21138 }
21139 {
21140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21141 }
21142 return resultobj;
21143 fail:
21144 return NULL;
21145 }
21146
21147
21148 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21149 PyObject *resultobj;
21150 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21151 bool result;
21152 PyObject * obj0 = 0 ;
21153 char *kwnames[] = {
21154 (char *) "self", NULL
21155 };
21156
21157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21163
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
21167 {
21168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21169 }
21170 return resultobj;
21171 fail:
21172 return NULL;
21173 }
21174
21175
21176 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21177 PyObject *resultobj;
21178 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21179 bool result;
21180 PyObject * obj0 = 0 ;
21181 char *kwnames[] = {
21182 (char *) "self", NULL
21183 };
21184
21185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21188 {
21189 PyThreadState* __tstate = wxPyBeginAllowThreads();
21190 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21191
21192 wxPyEndAllowThreads(__tstate);
21193 if (PyErr_Occurred()) SWIG_fail;
21194 }
21195 {
21196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21197 }
21198 return resultobj;
21199 fail:
21200 return NULL;
21201 }
21202
21203
21204 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21205 PyObject *resultobj;
21206 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21207 wxPrintData *result;
21208 PyObject * obj0 = 0 ;
21209 char *kwnames[] = {
21210 (char *) "self", NULL
21211 };
21212
21213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21216 {
21217 PyThreadState* __tstate = wxPyBeginAllowThreads();
21218 {
21219 wxPrintData &_result_ref = (arg1)->GetPrintData();
21220 result = (wxPrintData *) &_result_ref;
21221 }
21222
21223 wxPyEndAllowThreads(__tstate);
21224 if (PyErr_Occurred()) SWIG_fail;
21225 }
21226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21227 return resultobj;
21228 fail:
21229 return NULL;
21230 }
21231
21232
21233 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21234 PyObject *resultobj;
21235 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21236 wxPrintData *arg2 = 0 ;
21237 PyObject * obj0 = 0 ;
21238 PyObject * obj1 = 0 ;
21239 char *kwnames[] = {
21240 (char *) "self",(char *) "printData", NULL
21241 };
21242
21243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21247 SWIG_POINTER_EXCEPTION | 0)) == -1)
21248 SWIG_fail;
21249 if (arg2 == NULL) {
21250 PyErr_SetString(PyExc_TypeError,"null reference");
21251 SWIG_fail;
21252 }
21253 {
21254 PyThreadState* __tstate = wxPyBeginAllowThreads();
21255 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21256
21257 wxPyEndAllowThreads(__tstate);
21258 if (PyErr_Occurred()) SWIG_fail;
21259 }
21260 Py_INCREF(Py_None); resultobj = Py_None;
21261 return resultobj;
21262 fail:
21263 return NULL;
21264 }
21265
21266
21267 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
21268 PyObject *obj;
21269 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21270 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21271 Py_INCREF(obj);
21272 return Py_BuildValue((char *)"");
21273 }
21274 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21275 PyObject *resultobj;
21276 wxWindow *arg1 = (wxWindow *) 0 ;
21277 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21278 wxPrintDialog *result;
21279 PyObject * obj0 = 0 ;
21280 PyObject * obj1 = 0 ;
21281 char *kwnames[] = {
21282 (char *) "parent",(char *) "data", NULL
21283 };
21284
21285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21288 if (obj1) {
21289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21291 }
21292 {
21293 if (!wxPyCheckForApp()) SWIG_fail;
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21301 return resultobj;
21302 fail:
21303 return NULL;
21304 }
21305
21306
21307 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21308 PyObject *resultobj;
21309 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21310 wxPrintDialogData *result;
21311 PyObject * obj0 = 0 ;
21312 char *kwnames[] = {
21313 (char *) "self", NULL
21314 };
21315
21316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21319 {
21320 PyThreadState* __tstate = wxPyBeginAllowThreads();
21321 {
21322 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21323 result = (wxPrintDialogData *) &_result_ref;
21324 }
21325
21326 wxPyEndAllowThreads(__tstate);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21330 return resultobj;
21331 fail:
21332 return NULL;
21333 }
21334
21335
21336 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21337 PyObject *resultobj;
21338 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21339 wxDC *result;
21340 PyObject * obj0 = 0 ;
21341 char *kwnames[] = {
21342 (char *) "self", NULL
21343 };
21344
21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21348 {
21349 PyThreadState* __tstate = wxPyBeginAllowThreads();
21350 result = (wxDC *)(arg1)->GetPrintDC();
21351
21352 wxPyEndAllowThreads(__tstate);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 }
21355 {
21356 resultobj = wxPyMake_wxObject(result);
21357 }
21358 return resultobj;
21359 fail:
21360 return NULL;
21361 }
21362
21363
21364 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21365 PyObject *resultobj;
21366 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21367 int result;
21368 PyObject * obj0 = 0 ;
21369 char *kwnames[] = {
21370 (char *) "self", NULL
21371 };
21372
21373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21376 {
21377 PyThreadState* __tstate = wxPyBeginAllowThreads();
21378 result = (int)(arg1)->ShowModal();
21379
21380 wxPyEndAllowThreads(__tstate);
21381 if (PyErr_Occurred()) SWIG_fail;
21382 }
21383 resultobj = SWIG_FromInt((int)result);
21384 return resultobj;
21385 fail:
21386 return NULL;
21387 }
21388
21389
21390 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21391 PyObject *obj;
21392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21393 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21394 Py_INCREF(obj);
21395 return Py_BuildValue((char *)"");
21396 }
21397 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21398 PyObject *resultobj;
21399 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21400 wxPrinter *result;
21401 PyObject * obj0 = 0 ;
21402 char *kwnames[] = {
21403 (char *) "data", NULL
21404 };
21405
21406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21407 if (obj0) {
21408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21410 }
21411 {
21412 if (!wxPyCheckForApp()) SWIG_fail;
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 result = (wxPrinter *)new wxPrinter(arg1);
21415
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21420 return resultobj;
21421 fail:
21422 return NULL;
21423 }
21424
21425
21426 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21427 PyObject *resultobj;
21428 wxPrinter *arg1 = (wxPrinter *) 0 ;
21429 PyObject * obj0 = 0 ;
21430 char *kwnames[] = {
21431 (char *) "self", NULL
21432 };
21433
21434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21437 {
21438 PyThreadState* __tstate = wxPyBeginAllowThreads();
21439 delete arg1;
21440
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 Py_INCREF(Py_None); resultobj = Py_None;
21445 return resultobj;
21446 fail:
21447 return NULL;
21448 }
21449
21450
21451 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21452 PyObject *resultobj;
21453 wxPrinter *arg1 = (wxPrinter *) 0 ;
21454 wxWindow *arg2 = (wxWindow *) 0 ;
21455 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21456 PyObject * obj0 = 0 ;
21457 PyObject * obj1 = 0 ;
21458 PyObject * obj2 = 0 ;
21459 char *kwnames[] = {
21460 (char *) "self",(char *) "parent",(char *) "printout", NULL
21461 };
21462
21463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21468 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21470 {
21471 PyThreadState* __tstate = wxPyBeginAllowThreads();
21472 (arg1)->CreateAbortWindow(arg2,arg3);
21473
21474 wxPyEndAllowThreads(__tstate);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 }
21477 Py_INCREF(Py_None); resultobj = Py_None;
21478 return resultobj;
21479 fail:
21480 return NULL;
21481 }
21482
21483
21484 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21485 PyObject *resultobj;
21486 wxPrinter *arg1 = (wxPrinter *) 0 ;
21487 wxPrintDialogData *result;
21488 PyObject * obj0 = 0 ;
21489 char *kwnames[] = {
21490 (char *) "self", NULL
21491 };
21492
21493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21496 {
21497 PyThreadState* __tstate = wxPyBeginAllowThreads();
21498 {
21499 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21500 result = (wxPrintDialogData *) &_result_ref;
21501 }
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21507 return resultobj;
21508 fail:
21509 return NULL;
21510 }
21511
21512
21513 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21514 PyObject *resultobj;
21515 wxPrinter *arg1 = (wxPrinter *) 0 ;
21516 wxWindow *arg2 = (wxWindow *) 0 ;
21517 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21518 int arg4 = (int) True ;
21519 bool result;
21520 PyObject * obj0 = 0 ;
21521 PyObject * obj1 = 0 ;
21522 PyObject * obj2 = 0 ;
21523 PyObject * obj3 = 0 ;
21524 char *kwnames[] = {
21525 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21526 };
21527
21528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21533 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21535 if (obj3) {
21536 arg4 = (int) SWIG_AsInt(obj3);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 }
21539 {
21540 PyThreadState* __tstate = wxPyBeginAllowThreads();
21541 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21542
21543 wxPyEndAllowThreads(__tstate);
21544 if (PyErr_Occurred()) SWIG_fail;
21545 }
21546 {
21547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21548 }
21549 return resultobj;
21550 fail:
21551 return NULL;
21552 }
21553
21554
21555 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21556 PyObject *resultobj;
21557 wxPrinter *arg1 = (wxPrinter *) 0 ;
21558 wxWindow *arg2 = (wxWindow *) 0 ;
21559 wxDC *result;
21560 PyObject * obj0 = 0 ;
21561 PyObject * obj1 = 0 ;
21562 char *kwnames[] = {
21563 (char *) "self",(char *) "parent", NULL
21564 };
21565
21566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21571 {
21572 PyThreadState* __tstate = wxPyBeginAllowThreads();
21573 result = (wxDC *)(arg1)->PrintDialog(arg2);
21574
21575 wxPyEndAllowThreads(__tstate);
21576 if (PyErr_Occurred()) SWIG_fail;
21577 }
21578 {
21579 resultobj = wxPyMake_wxObject(result);
21580 }
21581 return resultobj;
21582 fail:
21583 return NULL;
21584 }
21585
21586
21587 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21588 PyObject *resultobj;
21589 wxPrinter *arg1 = (wxPrinter *) 0 ;
21590 wxWindow *arg2 = (wxWindow *) 0 ;
21591 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21592 wxString *arg4 = 0 ;
21593 bool temp4 = False ;
21594 PyObject * obj0 = 0 ;
21595 PyObject * obj1 = 0 ;
21596 PyObject * obj2 = 0 ;
21597 PyObject * obj3 = 0 ;
21598 char *kwnames[] = {
21599 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21600 };
21601
21602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21607 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21609 {
21610 arg4 = wxString_in_helper(obj3);
21611 if (arg4 == NULL) SWIG_fail;
21612 temp4 = True;
21613 }
21614 {
21615 PyThreadState* __tstate = wxPyBeginAllowThreads();
21616 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21617
21618 wxPyEndAllowThreads(__tstate);
21619 if (PyErr_Occurred()) SWIG_fail;
21620 }
21621 Py_INCREF(Py_None); resultobj = Py_None;
21622 {
21623 if (temp4)
21624 delete arg4;
21625 }
21626 return resultobj;
21627 fail:
21628 {
21629 if (temp4)
21630 delete arg4;
21631 }
21632 return NULL;
21633 }
21634
21635
21636 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21637 PyObject *resultobj;
21638 wxPrinter *arg1 = (wxPrinter *) 0 ;
21639 wxWindow *arg2 = (wxWindow *) 0 ;
21640 bool result;
21641 PyObject * obj0 = 0 ;
21642 PyObject * obj1 = 0 ;
21643 char *kwnames[] = {
21644 (char *) "self",(char *) "parent", NULL
21645 };
21646
21647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21650 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 result = (bool)(arg1)->Setup(arg2);
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 {
21660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21661 }
21662 return resultobj;
21663 fail:
21664 return NULL;
21665 }
21666
21667
21668 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21669 PyObject *resultobj;
21670 wxPrinter *arg1 = (wxPrinter *) 0 ;
21671 bool result;
21672 PyObject * obj0 = 0 ;
21673 char *kwnames[] = {
21674 (char *) "self", NULL
21675 };
21676
21677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21680 {
21681 PyThreadState* __tstate = wxPyBeginAllowThreads();
21682 result = (bool)(arg1)->GetAbort();
21683
21684 wxPyEndAllowThreads(__tstate);
21685 if (PyErr_Occurred()) SWIG_fail;
21686 }
21687 {
21688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21689 }
21690 return resultobj;
21691 fail:
21692 return NULL;
21693 }
21694
21695
21696 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21697 PyObject *resultobj;
21698 int result;
21699 char *kwnames[] = {
21700 NULL
21701 };
21702
21703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21704 {
21705 PyThreadState* __tstate = wxPyBeginAllowThreads();
21706 result = (int)wxPrinter::GetLastError();
21707
21708 wxPyEndAllowThreads(__tstate);
21709 if (PyErr_Occurred()) SWIG_fail;
21710 }
21711 resultobj = SWIG_FromInt((int)result);
21712 return resultobj;
21713 fail:
21714 return NULL;
21715 }
21716
21717
21718 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21719 PyObject *obj;
21720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21721 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21722 Py_INCREF(obj);
21723 return Py_BuildValue((char *)"");
21724 }
21725 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21726 PyObject *resultobj;
21727 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21728 wxString *arg1 = (wxString *) &arg1_defvalue ;
21729 wxPyPrintout *result;
21730 bool temp1 = False ;
21731 PyObject * obj0 = 0 ;
21732 char *kwnames[] = {
21733 (char *) "title", NULL
21734 };
21735
21736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21737 if (obj0) {
21738 {
21739 arg1 = wxString_in_helper(obj0);
21740 if (arg1 == NULL) SWIG_fail;
21741 temp1 = True;
21742 }
21743 }
21744 {
21745 if (!wxPyCheckForApp()) SWIG_fail;
21746 PyThreadState* __tstate = wxPyBeginAllowThreads();
21747 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21748
21749 wxPyEndAllowThreads(__tstate);
21750 if (PyErr_Occurred()) SWIG_fail;
21751 }
21752 {
21753 resultobj = wxPyMake_wxObject(result);
21754 }
21755 {
21756 if (temp1)
21757 delete arg1;
21758 }
21759 return resultobj;
21760 fail:
21761 {
21762 if (temp1)
21763 delete arg1;
21764 }
21765 return NULL;
21766 }
21767
21768
21769 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21770 PyObject *resultobj;
21771 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21772 PyObject *arg2 = (PyObject *) 0 ;
21773 PyObject *arg3 = (PyObject *) 0 ;
21774 PyObject * obj0 = 0 ;
21775 PyObject * obj1 = 0 ;
21776 PyObject * obj2 = 0 ;
21777 char *kwnames[] = {
21778 (char *) "self",(char *) "self",(char *) "_class", NULL
21779 };
21780
21781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21784 arg2 = obj1;
21785 arg3 = obj2;
21786 {
21787 PyThreadState* __tstate = wxPyBeginAllowThreads();
21788 (arg1)->_setCallbackInfo(arg2,arg3);
21789
21790 wxPyEndAllowThreads(__tstate);
21791 if (PyErr_Occurred()) SWIG_fail;
21792 }
21793 Py_INCREF(Py_None); resultobj = Py_None;
21794 return resultobj;
21795 fail:
21796 return NULL;
21797 }
21798
21799
21800 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21801 PyObject *resultobj;
21802 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21803 wxString result;
21804 PyObject * obj0 = 0 ;
21805 char *kwnames[] = {
21806 (char *) "self", NULL
21807 };
21808
21809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21812 {
21813 PyThreadState* __tstate = wxPyBeginAllowThreads();
21814 result = ((wxPyPrintout const *)arg1)->GetTitle();
21815
21816 wxPyEndAllowThreads(__tstate);
21817 if (PyErr_Occurred()) SWIG_fail;
21818 }
21819 {
21820 #if wxUSE_UNICODE
21821 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21822 #else
21823 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21824 #endif
21825 }
21826 return resultobj;
21827 fail:
21828 return NULL;
21829 }
21830
21831
21832 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21833 PyObject *resultobj;
21834 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21835 wxDC *result;
21836 PyObject * obj0 = 0 ;
21837 char *kwnames[] = {
21838 (char *) "self", NULL
21839 };
21840
21841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 result = (wxDC *)(arg1)->GetDC();
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 {
21852 resultobj = wxPyMake_wxObject(result);
21853 }
21854 return resultobj;
21855 fail:
21856 return NULL;
21857 }
21858
21859
21860 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21861 PyObject *resultobj;
21862 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21863 wxDC *arg2 = (wxDC *) 0 ;
21864 PyObject * obj0 = 0 ;
21865 PyObject * obj1 = 0 ;
21866 char *kwnames[] = {
21867 (char *) "self",(char *) "dc", NULL
21868 };
21869
21870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 (arg1)->SetDC(arg2);
21878
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 Py_INCREF(Py_None); resultobj = Py_None;
21883 return resultobj;
21884 fail:
21885 return NULL;
21886 }
21887
21888
21889 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21890 PyObject *resultobj;
21891 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21892 int arg2 ;
21893 int arg3 ;
21894 PyObject * obj0 = 0 ;
21895 PyObject * obj1 = 0 ;
21896 PyObject * obj2 = 0 ;
21897 char *kwnames[] = {
21898 (char *) "self",(char *) "w",(char *) "h", NULL
21899 };
21900
21901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21904 arg2 = (int) SWIG_AsInt(obj1);
21905 if (PyErr_Occurred()) SWIG_fail;
21906 arg3 = (int) SWIG_AsInt(obj2);
21907 if (PyErr_Occurred()) SWIG_fail;
21908 {
21909 PyThreadState* __tstate = wxPyBeginAllowThreads();
21910 (arg1)->SetPageSizePixels(arg2,arg3);
21911
21912 wxPyEndAllowThreads(__tstate);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 }
21915 Py_INCREF(Py_None); resultobj = Py_None;
21916 return resultobj;
21917 fail:
21918 return NULL;
21919 }
21920
21921
21922 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21923 PyObject *resultobj;
21924 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21925 int *arg2 = (int *) 0 ;
21926 int *arg3 = (int *) 0 ;
21927 int temp2 ;
21928 int temp3 ;
21929 PyObject * obj0 = 0 ;
21930 char *kwnames[] = {
21931 (char *) "self", NULL
21932 };
21933
21934 arg2 = &temp2;
21935 arg3 = &temp3;
21936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21939 {
21940 PyThreadState* __tstate = wxPyBeginAllowThreads();
21941 (arg1)->GetPageSizePixels(arg2,arg3);
21942
21943 wxPyEndAllowThreads(__tstate);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 Py_INCREF(Py_None); resultobj = Py_None;
21947 {
21948 PyObject *o = PyInt_FromLong((long) (*arg2));
21949 resultobj = t_output_helper(resultobj,o);
21950 }
21951 {
21952 PyObject *o = PyInt_FromLong((long) (*arg3));
21953 resultobj = t_output_helper(resultobj,o);
21954 }
21955 return resultobj;
21956 fail:
21957 return NULL;
21958 }
21959
21960
21961 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj;
21963 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21964 int arg2 ;
21965 int arg3 ;
21966 PyObject * obj0 = 0 ;
21967 PyObject * obj1 = 0 ;
21968 PyObject * obj2 = 0 ;
21969 char *kwnames[] = {
21970 (char *) "self",(char *) "w",(char *) "h", NULL
21971 };
21972
21973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21976 arg2 = (int) SWIG_AsInt(obj1);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 arg3 = (int) SWIG_AsInt(obj2);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 {
21981 PyThreadState* __tstate = wxPyBeginAllowThreads();
21982 (arg1)->SetPageSizeMM(arg2,arg3);
21983
21984 wxPyEndAllowThreads(__tstate);
21985 if (PyErr_Occurred()) SWIG_fail;
21986 }
21987 Py_INCREF(Py_None); resultobj = Py_None;
21988 return resultobj;
21989 fail:
21990 return NULL;
21991 }
21992
21993
21994 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21995 PyObject *resultobj;
21996 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21997 int *arg2 = (int *) 0 ;
21998 int *arg3 = (int *) 0 ;
21999 int temp2 ;
22000 int temp3 ;
22001 PyObject * obj0 = 0 ;
22002 char *kwnames[] = {
22003 (char *) "self", NULL
22004 };
22005
22006 arg2 = &temp2;
22007 arg3 = &temp3;
22008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22011 {
22012 PyThreadState* __tstate = wxPyBeginAllowThreads();
22013 (arg1)->GetPageSizeMM(arg2,arg3);
22014
22015 wxPyEndAllowThreads(__tstate);
22016 if (PyErr_Occurred()) SWIG_fail;
22017 }
22018 Py_INCREF(Py_None); resultobj = Py_None;
22019 {
22020 PyObject *o = PyInt_FromLong((long) (*arg2));
22021 resultobj = t_output_helper(resultobj,o);
22022 }
22023 {
22024 PyObject *o = PyInt_FromLong((long) (*arg3));
22025 resultobj = t_output_helper(resultobj,o);
22026 }
22027 return resultobj;
22028 fail:
22029 return NULL;
22030 }
22031
22032
22033 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22034 PyObject *resultobj;
22035 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22036 int arg2 ;
22037 int arg3 ;
22038 PyObject * obj0 = 0 ;
22039 PyObject * obj1 = 0 ;
22040 PyObject * obj2 = 0 ;
22041 char *kwnames[] = {
22042 (char *) "self",(char *) "x",(char *) "y", NULL
22043 };
22044
22045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22048 arg2 = (int) SWIG_AsInt(obj1);
22049 if (PyErr_Occurred()) SWIG_fail;
22050 arg3 = (int) SWIG_AsInt(obj2);
22051 if (PyErr_Occurred()) SWIG_fail;
22052 {
22053 PyThreadState* __tstate = wxPyBeginAllowThreads();
22054 (arg1)->SetPPIScreen(arg2,arg3);
22055
22056 wxPyEndAllowThreads(__tstate);
22057 if (PyErr_Occurred()) SWIG_fail;
22058 }
22059 Py_INCREF(Py_None); resultobj = Py_None;
22060 return resultobj;
22061 fail:
22062 return NULL;
22063 }
22064
22065
22066 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22067 PyObject *resultobj;
22068 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22069 int *arg2 = (int *) 0 ;
22070 int *arg3 = (int *) 0 ;
22071 int temp2 ;
22072 int temp3 ;
22073 PyObject * obj0 = 0 ;
22074 char *kwnames[] = {
22075 (char *) "self", NULL
22076 };
22077
22078 arg2 = &temp2;
22079 arg3 = &temp3;
22080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22083 {
22084 PyThreadState* __tstate = wxPyBeginAllowThreads();
22085 (arg1)->GetPPIScreen(arg2,arg3);
22086
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 Py_INCREF(Py_None); resultobj = Py_None;
22091 {
22092 PyObject *o = PyInt_FromLong((long) (*arg2));
22093 resultobj = t_output_helper(resultobj,o);
22094 }
22095 {
22096 PyObject *o = PyInt_FromLong((long) (*arg3));
22097 resultobj = t_output_helper(resultobj,o);
22098 }
22099 return resultobj;
22100 fail:
22101 return NULL;
22102 }
22103
22104
22105 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22106 PyObject *resultobj;
22107 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22108 int arg2 ;
22109 int arg3 ;
22110 PyObject * obj0 = 0 ;
22111 PyObject * obj1 = 0 ;
22112 PyObject * obj2 = 0 ;
22113 char *kwnames[] = {
22114 (char *) "self",(char *) "x",(char *) "y", NULL
22115 };
22116
22117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22120 arg2 = (int) SWIG_AsInt(obj1);
22121 if (PyErr_Occurred()) SWIG_fail;
22122 arg3 = (int) SWIG_AsInt(obj2);
22123 if (PyErr_Occurred()) SWIG_fail;
22124 {
22125 PyThreadState* __tstate = wxPyBeginAllowThreads();
22126 (arg1)->SetPPIPrinter(arg2,arg3);
22127
22128 wxPyEndAllowThreads(__tstate);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 }
22131 Py_INCREF(Py_None); resultobj = Py_None;
22132 return resultobj;
22133 fail:
22134 return NULL;
22135 }
22136
22137
22138 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22139 PyObject *resultobj;
22140 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22141 int *arg2 = (int *) 0 ;
22142 int *arg3 = (int *) 0 ;
22143 int temp2 ;
22144 int temp3 ;
22145 PyObject * obj0 = 0 ;
22146 char *kwnames[] = {
22147 (char *) "self", NULL
22148 };
22149
22150 arg2 = &temp2;
22151 arg3 = &temp3;
22152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22155 {
22156 PyThreadState* __tstate = wxPyBeginAllowThreads();
22157 (arg1)->GetPPIPrinter(arg2,arg3);
22158
22159 wxPyEndAllowThreads(__tstate);
22160 if (PyErr_Occurred()) SWIG_fail;
22161 }
22162 Py_INCREF(Py_None); resultobj = Py_None;
22163 {
22164 PyObject *o = PyInt_FromLong((long) (*arg2));
22165 resultobj = t_output_helper(resultobj,o);
22166 }
22167 {
22168 PyObject *o = PyInt_FromLong((long) (*arg3));
22169 resultobj = t_output_helper(resultobj,o);
22170 }
22171 return resultobj;
22172 fail:
22173 return NULL;
22174 }
22175
22176
22177 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22178 PyObject *resultobj;
22179 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22180 bool result;
22181 PyObject * obj0 = 0 ;
22182 char *kwnames[] = {
22183 (char *) "self", NULL
22184 };
22185
22186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 result = (bool)(arg1)->IsPreview();
22192
22193 wxPyEndAllowThreads(__tstate);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 }
22196 {
22197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22198 }
22199 return resultobj;
22200 fail:
22201 return NULL;
22202 }
22203
22204
22205 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22206 PyObject *resultobj;
22207 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22208 bool arg2 ;
22209 PyObject * obj0 = 0 ;
22210 PyObject * obj1 = 0 ;
22211 char *kwnames[] = {
22212 (char *) "self",(char *) "p", NULL
22213 };
22214
22215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22218 arg2 = (bool) SWIG_AsBool(obj1);
22219 if (PyErr_Occurred()) SWIG_fail;
22220 {
22221 PyThreadState* __tstate = wxPyBeginAllowThreads();
22222 (arg1)->SetIsPreview(arg2);
22223
22224 wxPyEndAllowThreads(__tstate);
22225 if (PyErr_Occurred()) SWIG_fail;
22226 }
22227 Py_INCREF(Py_None); resultobj = Py_None;
22228 return resultobj;
22229 fail:
22230 return NULL;
22231 }
22232
22233
22234 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22235 PyObject *resultobj;
22236 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22237 int arg2 ;
22238 int arg3 ;
22239 bool result;
22240 PyObject * obj0 = 0 ;
22241 PyObject * obj1 = 0 ;
22242 PyObject * obj2 = 0 ;
22243 char *kwnames[] = {
22244 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22245 };
22246
22247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22250 arg2 = (int) SWIG_AsInt(obj1);
22251 if (PyErr_Occurred()) SWIG_fail;
22252 arg3 = (int) SWIG_AsInt(obj2);
22253 if (PyErr_Occurred()) SWIG_fail;
22254 {
22255 PyThreadState* __tstate = wxPyBeginAllowThreads();
22256 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22257
22258 wxPyEndAllowThreads(__tstate);
22259 if (PyErr_Occurred()) SWIG_fail;
22260 }
22261 {
22262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22263 }
22264 return resultobj;
22265 fail:
22266 return NULL;
22267 }
22268
22269
22270 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22271 PyObject *resultobj;
22272 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22273 PyObject * obj0 = 0 ;
22274 char *kwnames[] = {
22275 (char *) "self", NULL
22276 };
22277
22278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22281 {
22282 PyThreadState* __tstate = wxPyBeginAllowThreads();
22283 (arg1)->base_OnEndDocument();
22284
22285 wxPyEndAllowThreads(__tstate);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
22288 Py_INCREF(Py_None); resultobj = Py_None;
22289 return resultobj;
22290 fail:
22291 return NULL;
22292 }
22293
22294
22295 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22296 PyObject *resultobj;
22297 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22298 PyObject * obj0 = 0 ;
22299 char *kwnames[] = {
22300 (char *) "self", NULL
22301 };
22302
22303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 (arg1)->base_OnBeginPrinting();
22309
22310 wxPyEndAllowThreads(__tstate);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 }
22313 Py_INCREF(Py_None); resultobj = Py_None;
22314 return resultobj;
22315 fail:
22316 return NULL;
22317 }
22318
22319
22320 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22321 PyObject *resultobj;
22322 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22323 PyObject * obj0 = 0 ;
22324 char *kwnames[] = {
22325 (char *) "self", NULL
22326 };
22327
22328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22331 {
22332 PyThreadState* __tstate = wxPyBeginAllowThreads();
22333 (arg1)->base_OnEndPrinting();
22334
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 Py_INCREF(Py_None); resultobj = Py_None;
22339 return resultobj;
22340 fail:
22341 return NULL;
22342 }
22343
22344
22345 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22346 PyObject *resultobj;
22347 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22348 PyObject * obj0 = 0 ;
22349 char *kwnames[] = {
22350 (char *) "self", NULL
22351 };
22352
22353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22356 {
22357 PyThreadState* __tstate = wxPyBeginAllowThreads();
22358 (arg1)->base_OnPreparePrinting();
22359
22360 wxPyEndAllowThreads(__tstate);
22361 if (PyErr_Occurred()) SWIG_fail;
22362 }
22363 Py_INCREF(Py_None); resultobj = Py_None;
22364 return resultobj;
22365 fail:
22366 return NULL;
22367 }
22368
22369
22370 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22371 PyObject *resultobj;
22372 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22373 int arg2 ;
22374 bool result;
22375 PyObject * obj0 = 0 ;
22376 PyObject * obj1 = 0 ;
22377 char *kwnames[] = {
22378 (char *) "self",(char *) "page", NULL
22379 };
22380
22381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22384 arg2 = (int) SWIG_AsInt(obj1);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 {
22387 PyThreadState* __tstate = wxPyBeginAllowThreads();
22388 result = (bool)(arg1)->base_HasPage(arg2);
22389
22390 wxPyEndAllowThreads(__tstate);
22391 if (PyErr_Occurred()) SWIG_fail;
22392 }
22393 {
22394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22395 }
22396 return resultobj;
22397 fail:
22398 return NULL;
22399 }
22400
22401
22402 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22403 PyObject *resultobj;
22404 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22405 int *arg2 = (int *) 0 ;
22406 int *arg3 = (int *) 0 ;
22407 int *arg4 = (int *) 0 ;
22408 int *arg5 = (int *) 0 ;
22409 int temp2 ;
22410 int temp3 ;
22411 int temp4 ;
22412 int temp5 ;
22413 PyObject * obj0 = 0 ;
22414 char *kwnames[] = {
22415 (char *) "self", NULL
22416 };
22417
22418 arg2 = &temp2;
22419 arg3 = &temp3;
22420 arg4 = &temp4;
22421 arg5 = &temp5;
22422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22425 {
22426 PyThreadState* __tstate = wxPyBeginAllowThreads();
22427 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22428
22429 wxPyEndAllowThreads(__tstate);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 }
22432 Py_INCREF(Py_None); resultobj = Py_None;
22433 {
22434 PyObject *o = PyInt_FromLong((long) (*arg2));
22435 resultobj = t_output_helper(resultobj,o);
22436 }
22437 {
22438 PyObject *o = PyInt_FromLong((long) (*arg3));
22439 resultobj = t_output_helper(resultobj,o);
22440 }
22441 {
22442 PyObject *o = PyInt_FromLong((long) (*arg4));
22443 resultobj = t_output_helper(resultobj,o);
22444 }
22445 {
22446 PyObject *o = PyInt_FromLong((long) (*arg5));
22447 resultobj = t_output_helper(resultobj,o);
22448 }
22449 return resultobj;
22450 fail:
22451 return NULL;
22452 }
22453
22454
22455 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22456 PyObject *obj;
22457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22458 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22459 Py_INCREF(obj);
22460 return Py_BuildValue((char *)"");
22461 }
22462 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22463 PyObject *resultobj;
22464 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22465 wxWindow *arg2 = (wxWindow *) 0 ;
22466 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22467 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22468 wxSize const &arg4_defvalue = wxDefaultSize ;
22469 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22470 long arg5 = (long) 0 ;
22471 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22472 wxString *arg6 = (wxString *) &arg6_defvalue ;
22473 wxPreviewCanvas *result;
22474 wxPoint temp3 ;
22475 wxSize temp4 ;
22476 bool temp6 = False ;
22477 PyObject * obj0 = 0 ;
22478 PyObject * obj1 = 0 ;
22479 PyObject * obj2 = 0 ;
22480 PyObject * obj3 = 0 ;
22481 PyObject * obj4 = 0 ;
22482 PyObject * obj5 = 0 ;
22483 char *kwnames[] = {
22484 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22485 };
22486
22487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22492 if (obj2) {
22493 {
22494 arg3 = &temp3;
22495 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22496 }
22497 }
22498 if (obj3) {
22499 {
22500 arg4 = &temp4;
22501 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22502 }
22503 }
22504 if (obj4) {
22505 arg5 = (long) SWIG_AsLong(obj4);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 }
22508 if (obj5) {
22509 {
22510 arg6 = wxString_in_helper(obj5);
22511 if (arg6 == NULL) SWIG_fail;
22512 temp6 = True;
22513 }
22514 }
22515 {
22516 if (!wxPyCheckForApp()) SWIG_fail;
22517 PyThreadState* __tstate = wxPyBeginAllowThreads();
22518 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22519
22520 wxPyEndAllowThreads(__tstate);
22521 if (PyErr_Occurred()) SWIG_fail;
22522 }
22523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22524 {
22525 if (temp6)
22526 delete arg6;
22527 }
22528 return resultobj;
22529 fail:
22530 {
22531 if (temp6)
22532 delete arg6;
22533 }
22534 return NULL;
22535 }
22536
22537
22538 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22539 PyObject *obj;
22540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22541 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22542 Py_INCREF(obj);
22543 return Py_BuildValue((char *)"");
22544 }
22545 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22546 PyObject *resultobj;
22547 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22548 wxFrame *arg2 = (wxFrame *) 0 ;
22549 wxString *arg3 = 0 ;
22550 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22551 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22552 wxSize const &arg5_defvalue = wxDefaultSize ;
22553 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22554 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22555 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22556 wxString *arg7 = (wxString *) &arg7_defvalue ;
22557 wxPreviewFrame *result;
22558 bool temp3 = False ;
22559 wxPoint temp4 ;
22560 wxSize temp5 ;
22561 bool temp7 = False ;
22562 PyObject * obj0 = 0 ;
22563 PyObject * obj1 = 0 ;
22564 PyObject * obj2 = 0 ;
22565 PyObject * obj3 = 0 ;
22566 PyObject * obj4 = 0 ;
22567 PyObject * obj5 = 0 ;
22568 PyObject * obj6 = 0 ;
22569 char *kwnames[] = {
22570 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22571 };
22572
22573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22578 {
22579 arg3 = wxString_in_helper(obj2);
22580 if (arg3 == NULL) SWIG_fail;
22581 temp3 = True;
22582 }
22583 if (obj3) {
22584 {
22585 arg4 = &temp4;
22586 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22587 }
22588 }
22589 if (obj4) {
22590 {
22591 arg5 = &temp5;
22592 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22593 }
22594 }
22595 if (obj5) {
22596 arg6 = (long) SWIG_AsLong(obj5);
22597 if (PyErr_Occurred()) SWIG_fail;
22598 }
22599 if (obj6) {
22600 {
22601 arg7 = wxString_in_helper(obj6);
22602 if (arg7 == NULL) SWIG_fail;
22603 temp7 = True;
22604 }
22605 }
22606 {
22607 if (!wxPyCheckForApp()) SWIG_fail;
22608 PyThreadState* __tstate = wxPyBeginAllowThreads();
22609 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22610
22611 wxPyEndAllowThreads(__tstate);
22612 if (PyErr_Occurred()) SWIG_fail;
22613 }
22614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22615 {
22616 if (temp3)
22617 delete arg3;
22618 }
22619 {
22620 if (temp7)
22621 delete arg7;
22622 }
22623 return resultobj;
22624 fail:
22625 {
22626 if (temp3)
22627 delete arg3;
22628 }
22629 {
22630 if (temp7)
22631 delete arg7;
22632 }
22633 return NULL;
22634 }
22635
22636
22637 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22638 PyObject *resultobj;
22639 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22640 PyObject * obj0 = 0 ;
22641 char *kwnames[] = {
22642 (char *) "self", NULL
22643 };
22644
22645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22648 {
22649 PyThreadState* __tstate = wxPyBeginAllowThreads();
22650 (arg1)->Initialize();
22651
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 Py_INCREF(Py_None); resultobj = Py_None;
22656 return resultobj;
22657 fail:
22658 return NULL;
22659 }
22660
22661
22662 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22663 PyObject *resultobj;
22664 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22665 PyObject * obj0 = 0 ;
22666 char *kwnames[] = {
22667 (char *) "self", NULL
22668 };
22669
22670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22673 {
22674 PyThreadState* __tstate = wxPyBeginAllowThreads();
22675 (arg1)->CreateControlBar();
22676
22677 wxPyEndAllowThreads(__tstate);
22678 if (PyErr_Occurred()) SWIG_fail;
22679 }
22680 Py_INCREF(Py_None); resultobj = Py_None;
22681 return resultobj;
22682 fail:
22683 return NULL;
22684 }
22685
22686
22687 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22688 PyObject *resultobj;
22689 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22690 PyObject * obj0 = 0 ;
22691 char *kwnames[] = {
22692 (char *) "self", NULL
22693 };
22694
22695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22698 {
22699 PyThreadState* __tstate = wxPyBeginAllowThreads();
22700 (arg1)->CreateCanvas();
22701
22702 wxPyEndAllowThreads(__tstate);
22703 if (PyErr_Occurred()) SWIG_fail;
22704 }
22705 Py_INCREF(Py_None); resultobj = Py_None;
22706 return resultobj;
22707 fail:
22708 return NULL;
22709 }
22710
22711
22712 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22713 PyObject *resultobj;
22714 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22715 wxPreviewControlBar *result;
22716 PyObject * obj0 = 0 ;
22717 char *kwnames[] = {
22718 (char *) "self", NULL
22719 };
22720
22721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22727
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22732 return resultobj;
22733 fail:
22734 return NULL;
22735 }
22736
22737
22738 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22739 PyObject *obj;
22740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22741 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22742 Py_INCREF(obj);
22743 return Py_BuildValue((char *)"");
22744 }
22745 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22746 PyObject *resultobj;
22747 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22748 long arg2 ;
22749 wxWindow *arg3 = (wxWindow *) 0 ;
22750 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22751 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22752 wxSize const &arg5_defvalue = wxDefaultSize ;
22753 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22754 long arg6 = (long) wxTAB_TRAVERSAL ;
22755 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22756 wxString *arg7 = (wxString *) &arg7_defvalue ;
22757 wxPreviewControlBar *result;
22758 wxPoint temp4 ;
22759 wxSize temp5 ;
22760 bool temp7 = False ;
22761 PyObject * obj0 = 0 ;
22762 PyObject * obj1 = 0 ;
22763 PyObject * obj2 = 0 ;
22764 PyObject * obj3 = 0 ;
22765 PyObject * obj4 = 0 ;
22766 PyObject * obj5 = 0 ;
22767 PyObject * obj6 = 0 ;
22768 char *kwnames[] = {
22769 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22770 };
22771
22772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22775 arg2 = (long) SWIG_AsLong(obj1);
22776 if (PyErr_Occurred()) SWIG_fail;
22777 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22779 if (obj3) {
22780 {
22781 arg4 = &temp4;
22782 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22783 }
22784 }
22785 if (obj4) {
22786 {
22787 arg5 = &temp5;
22788 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22789 }
22790 }
22791 if (obj5) {
22792 arg6 = (long) SWIG_AsLong(obj5);
22793 if (PyErr_Occurred()) SWIG_fail;
22794 }
22795 if (obj6) {
22796 {
22797 arg7 = wxString_in_helper(obj6);
22798 if (arg7 == NULL) SWIG_fail;
22799 temp7 = True;
22800 }
22801 }
22802 {
22803 if (!wxPyCheckForApp()) SWIG_fail;
22804 PyThreadState* __tstate = wxPyBeginAllowThreads();
22805 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22806
22807 wxPyEndAllowThreads(__tstate);
22808 if (PyErr_Occurred()) SWIG_fail;
22809 }
22810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22811 {
22812 if (temp7)
22813 delete arg7;
22814 }
22815 return resultobj;
22816 fail:
22817 {
22818 if (temp7)
22819 delete arg7;
22820 }
22821 return NULL;
22822 }
22823
22824
22825 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22826 PyObject *resultobj;
22827 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22828 int result;
22829 PyObject * obj0 = 0 ;
22830 char *kwnames[] = {
22831 (char *) "self", NULL
22832 };
22833
22834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22837 {
22838 PyThreadState* __tstate = wxPyBeginAllowThreads();
22839 result = (int)(arg1)->GetZoomControl();
22840
22841 wxPyEndAllowThreads(__tstate);
22842 if (PyErr_Occurred()) SWIG_fail;
22843 }
22844 resultobj = SWIG_FromInt((int)result);
22845 return resultobj;
22846 fail:
22847 return NULL;
22848 }
22849
22850
22851 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22852 PyObject *resultobj;
22853 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22854 int arg2 ;
22855 PyObject * obj0 = 0 ;
22856 PyObject * obj1 = 0 ;
22857 char *kwnames[] = {
22858 (char *) "self",(char *) "zoom", NULL
22859 };
22860
22861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22864 arg2 = (int) SWIG_AsInt(obj1);
22865 if (PyErr_Occurred()) SWIG_fail;
22866 {
22867 PyThreadState* __tstate = wxPyBeginAllowThreads();
22868 (arg1)->SetZoomControl(arg2);
22869
22870 wxPyEndAllowThreads(__tstate);
22871 if (PyErr_Occurred()) SWIG_fail;
22872 }
22873 Py_INCREF(Py_None); resultobj = Py_None;
22874 return resultobj;
22875 fail:
22876 return NULL;
22877 }
22878
22879
22880 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22881 PyObject *resultobj;
22882 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22883 wxPrintPreview *result;
22884 PyObject * obj0 = 0 ;
22885 char *kwnames[] = {
22886 (char *) "self", NULL
22887 };
22888
22889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22892 {
22893 PyThreadState* __tstate = wxPyBeginAllowThreads();
22894 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22895
22896 wxPyEndAllowThreads(__tstate);
22897 if (PyErr_Occurred()) SWIG_fail;
22898 }
22899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22900 return resultobj;
22901 fail:
22902 return NULL;
22903 }
22904
22905
22906 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22907 PyObject *resultobj;
22908 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22909 PyObject * obj0 = 0 ;
22910 char *kwnames[] = {
22911 (char *) "self", NULL
22912 };
22913
22914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22917 {
22918 PyThreadState* __tstate = wxPyBeginAllowThreads();
22919 (arg1)->OnNext();
22920
22921 wxPyEndAllowThreads(__tstate);
22922 if (PyErr_Occurred()) SWIG_fail;
22923 }
22924 Py_INCREF(Py_None); resultobj = Py_None;
22925 return resultobj;
22926 fail:
22927 return NULL;
22928 }
22929
22930
22931 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22932 PyObject *resultobj;
22933 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22934 PyObject * obj0 = 0 ;
22935 char *kwnames[] = {
22936 (char *) "self", NULL
22937 };
22938
22939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22942 {
22943 PyThreadState* __tstate = wxPyBeginAllowThreads();
22944 (arg1)->OnPrevious();
22945
22946 wxPyEndAllowThreads(__tstate);
22947 if (PyErr_Occurred()) SWIG_fail;
22948 }
22949 Py_INCREF(Py_None); resultobj = Py_None;
22950 return resultobj;
22951 fail:
22952 return NULL;
22953 }
22954
22955
22956 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22957 PyObject *resultobj;
22958 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22959 PyObject * obj0 = 0 ;
22960 char *kwnames[] = {
22961 (char *) "self", NULL
22962 };
22963
22964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22967 {
22968 PyThreadState* __tstate = wxPyBeginAllowThreads();
22969 (arg1)->OnFirst();
22970
22971 wxPyEndAllowThreads(__tstate);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 Py_INCREF(Py_None); resultobj = Py_None;
22975 return resultobj;
22976 fail:
22977 return NULL;
22978 }
22979
22980
22981 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22982 PyObject *resultobj;
22983 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22984 PyObject * obj0 = 0 ;
22985 char *kwnames[] = {
22986 (char *) "self", NULL
22987 };
22988
22989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22992 {
22993 PyThreadState* __tstate = wxPyBeginAllowThreads();
22994 (arg1)->OnLast();
22995
22996 wxPyEndAllowThreads(__tstate);
22997 if (PyErr_Occurred()) SWIG_fail;
22998 }
22999 Py_INCREF(Py_None); resultobj = Py_None;
23000 return resultobj;
23001 fail:
23002 return NULL;
23003 }
23004
23005
23006 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
23007 PyObject *resultobj;
23008 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23009 PyObject * obj0 = 0 ;
23010 char *kwnames[] = {
23011 (char *) "self", NULL
23012 };
23013
23014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23017 {
23018 PyThreadState* __tstate = wxPyBeginAllowThreads();
23019 (arg1)->OnGoto();
23020
23021 wxPyEndAllowThreads(__tstate);
23022 if (PyErr_Occurred()) SWIG_fail;
23023 }
23024 Py_INCREF(Py_None); resultobj = Py_None;
23025 return resultobj;
23026 fail:
23027 return NULL;
23028 }
23029
23030
23031 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
23032 PyObject *obj;
23033 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23034 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23035 Py_INCREF(obj);
23036 return Py_BuildValue((char *)"");
23037 }
23038 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23039 PyObject *resultobj;
23040 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23041 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23042 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23043 wxPrintPreview *result;
23044 PyObject * obj0 = 0 ;
23045 PyObject * obj1 = 0 ;
23046 PyObject * obj2 = 0 ;
23047
23048 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23053 if (obj2) {
23054 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23056 }
23057 {
23058 if (!wxPyCheckForApp()) SWIG_fail;
23059 PyThreadState* __tstate = wxPyBeginAllowThreads();
23060 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23061
23062 wxPyEndAllowThreads(__tstate);
23063 if (PyErr_Occurred()) SWIG_fail;
23064 }
23065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23066 return resultobj;
23067 fail:
23068 return NULL;
23069 }
23070
23071
23072 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23073 PyObject *resultobj;
23074 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23075 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23076 wxPrintData *arg3 = (wxPrintData *) 0 ;
23077 wxPrintPreview *result;
23078 PyObject * obj0 = 0 ;
23079 PyObject * obj1 = 0 ;
23080 PyObject * obj2 = 0 ;
23081
23082 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23087 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23089 {
23090 if (!wxPyCheckForApp()) SWIG_fail;
23091 PyThreadState* __tstate = wxPyBeginAllowThreads();
23092 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23093
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23098 return resultobj;
23099 fail:
23100 return NULL;
23101 }
23102
23103
23104 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23105 int argc;
23106 PyObject *argv[4];
23107 int ii;
23108
23109 argc = PyObject_Length(args);
23110 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23111 argv[ii] = PyTuple_GetItem(args,ii);
23112 }
23113 if ((argc >= 2) && (argc <= 3)) {
23114 int _v;
23115 {
23116 void *ptr;
23117 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23118 _v = 0;
23119 PyErr_Clear();
23120 } else {
23121 _v = 1;
23122 }
23123 }
23124 if (_v) {
23125 {
23126 void *ptr;
23127 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23128 _v = 0;
23129 PyErr_Clear();
23130 } else {
23131 _v = 1;
23132 }
23133 }
23134 if (_v) {
23135 if (argc <= 2) {
23136 return _wrap_new_PrintPreview__SWIG_0(self,args);
23137 }
23138 {
23139 void *ptr;
23140 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23141 _v = 0;
23142 PyErr_Clear();
23143 } else {
23144 _v = 1;
23145 }
23146 }
23147 if (_v) {
23148 return _wrap_new_PrintPreview__SWIG_0(self,args);
23149 }
23150 }
23151 }
23152 }
23153 if (argc == 3) {
23154 int _v;
23155 {
23156 void *ptr;
23157 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23158 _v = 0;
23159 PyErr_Clear();
23160 } else {
23161 _v = 1;
23162 }
23163 }
23164 if (_v) {
23165 {
23166 void *ptr;
23167 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23168 _v = 0;
23169 PyErr_Clear();
23170 } else {
23171 _v = 1;
23172 }
23173 }
23174 if (_v) {
23175 {
23176 void *ptr;
23177 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23178 _v = 0;
23179 PyErr_Clear();
23180 } else {
23181 _v = 1;
23182 }
23183 }
23184 if (_v) {
23185 return _wrap_new_PrintPreview__SWIG_1(self,args);
23186 }
23187 }
23188 }
23189 }
23190
23191 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23192 return NULL;
23193 }
23194
23195
23196 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23197 PyObject *resultobj;
23198 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23199 int arg2 ;
23200 bool result;
23201 PyObject * obj0 = 0 ;
23202 PyObject * obj1 = 0 ;
23203 char *kwnames[] = {
23204 (char *) "self",(char *) "pageNum", NULL
23205 };
23206
23207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23210 arg2 = (int) SWIG_AsInt(obj1);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 {
23213 PyThreadState* __tstate = wxPyBeginAllowThreads();
23214 result = (bool)(arg1)->SetCurrentPage(arg2);
23215
23216 wxPyEndAllowThreads(__tstate);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 {
23220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23221 }
23222 return resultobj;
23223 fail:
23224 return NULL;
23225 }
23226
23227
23228 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23229 PyObject *resultobj;
23230 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23231 int result;
23232 PyObject * obj0 = 0 ;
23233 char *kwnames[] = {
23234 (char *) "self", NULL
23235 };
23236
23237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23240 {
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 result = (int)(arg1)->GetCurrentPage();
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 resultobj = SWIG_FromInt((int)result);
23248 return resultobj;
23249 fail:
23250 return NULL;
23251 }
23252
23253
23254 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23255 PyObject *resultobj;
23256 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23257 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23258 PyObject * obj0 = 0 ;
23259 PyObject * obj1 = 0 ;
23260 char *kwnames[] = {
23261 (char *) "self",(char *) "printout", NULL
23262 };
23263
23264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23269 {
23270 PyThreadState* __tstate = wxPyBeginAllowThreads();
23271 (arg1)->SetPrintout(arg2);
23272
23273 wxPyEndAllowThreads(__tstate);
23274 if (PyErr_Occurred()) SWIG_fail;
23275 }
23276 Py_INCREF(Py_None); resultobj = Py_None;
23277 return resultobj;
23278 fail:
23279 return NULL;
23280 }
23281
23282
23283 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23284 PyObject *resultobj;
23285 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23286 wxPyPrintout *result;
23287 PyObject * obj0 = 0 ;
23288 char *kwnames[] = {
23289 (char *) "self", NULL
23290 };
23291
23292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23295 {
23296 PyThreadState* __tstate = wxPyBeginAllowThreads();
23297 result = (wxPyPrintout *)(arg1)->GetPrintout();
23298
23299 wxPyEndAllowThreads(__tstate);
23300 if (PyErr_Occurred()) SWIG_fail;
23301 }
23302 {
23303 resultobj = wxPyMake_wxObject(result);
23304 }
23305 return resultobj;
23306 fail:
23307 return NULL;
23308 }
23309
23310
23311 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
23312 PyObject *resultobj;
23313 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23314 wxPyPrintout *result;
23315 PyObject * obj0 = 0 ;
23316 char *kwnames[] = {
23317 (char *) "self", NULL
23318 };
23319
23320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23323 {
23324 PyThreadState* __tstate = wxPyBeginAllowThreads();
23325 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23326
23327 wxPyEndAllowThreads(__tstate);
23328 if (PyErr_Occurred()) SWIG_fail;
23329 }
23330 {
23331 resultobj = wxPyMake_wxObject(result);
23332 }
23333 return resultobj;
23334 fail:
23335 return NULL;
23336 }
23337
23338
23339 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23340 PyObject *resultobj;
23341 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23342 wxFrame *arg2 = (wxFrame *) 0 ;
23343 PyObject * obj0 = 0 ;
23344 PyObject * obj1 = 0 ;
23345 char *kwnames[] = {
23346 (char *) "self",(char *) "frame", NULL
23347 };
23348
23349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 (arg1)->SetFrame(arg2);
23357
23358 wxPyEndAllowThreads(__tstate);
23359 if (PyErr_Occurred()) SWIG_fail;
23360 }
23361 Py_INCREF(Py_None); resultobj = Py_None;
23362 return resultobj;
23363 fail:
23364 return NULL;
23365 }
23366
23367
23368 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23369 PyObject *resultobj;
23370 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23371 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23372 PyObject * obj0 = 0 ;
23373 PyObject * obj1 = 0 ;
23374 char *kwnames[] = {
23375 (char *) "self",(char *) "canvas", NULL
23376 };
23377
23378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23381 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23383 {
23384 PyThreadState* __tstate = wxPyBeginAllowThreads();
23385 (arg1)->SetCanvas(arg2);
23386
23387 wxPyEndAllowThreads(__tstate);
23388 if (PyErr_Occurred()) SWIG_fail;
23389 }
23390 Py_INCREF(Py_None); resultobj = Py_None;
23391 return resultobj;
23392 fail:
23393 return NULL;
23394 }
23395
23396
23397 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23398 PyObject *resultobj;
23399 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23400 wxFrame *result;
23401 PyObject * obj0 = 0 ;
23402 char *kwnames[] = {
23403 (char *) "self", NULL
23404 };
23405
23406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23409 {
23410 PyThreadState* __tstate = wxPyBeginAllowThreads();
23411 result = (wxFrame *)(arg1)->GetFrame();
23412
23413 wxPyEndAllowThreads(__tstate);
23414 if (PyErr_Occurred()) SWIG_fail;
23415 }
23416 {
23417 resultobj = wxPyMake_wxObject(result);
23418 }
23419 return resultobj;
23420 fail:
23421 return NULL;
23422 }
23423
23424
23425 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23426 PyObject *resultobj;
23427 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23428 wxPreviewCanvas *result;
23429 PyObject * obj0 = 0 ;
23430 char *kwnames[] = {
23431 (char *) "self", NULL
23432 };
23433
23434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23437 {
23438 PyThreadState* __tstate = wxPyBeginAllowThreads();
23439 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23440
23441 wxPyEndAllowThreads(__tstate);
23442 if (PyErr_Occurred()) SWIG_fail;
23443 }
23444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23445 return resultobj;
23446 fail:
23447 return NULL;
23448 }
23449
23450
23451 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23452 PyObject *resultobj;
23453 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23454 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23455 wxDC *arg3 = 0 ;
23456 bool result;
23457 PyObject * obj0 = 0 ;
23458 PyObject * obj1 = 0 ;
23459 PyObject * obj2 = 0 ;
23460 char *kwnames[] = {
23461 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23462 };
23463
23464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23469 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23470 SWIG_POINTER_EXCEPTION | 0)) == -1)
23471 SWIG_fail;
23472 if (arg3 == NULL) {
23473 PyErr_SetString(PyExc_TypeError,"null reference");
23474 SWIG_fail;
23475 }
23476 {
23477 PyThreadState* __tstate = wxPyBeginAllowThreads();
23478 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23479
23480 wxPyEndAllowThreads(__tstate);
23481 if (PyErr_Occurred()) SWIG_fail;
23482 }
23483 {
23484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23485 }
23486 return resultobj;
23487 fail:
23488 return NULL;
23489 }
23490
23491
23492 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23493 PyObject *resultobj;
23494 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23495 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23496 wxDC *arg3 = 0 ;
23497 bool result;
23498 PyObject * obj0 = 0 ;
23499 PyObject * obj1 = 0 ;
23500 PyObject * obj2 = 0 ;
23501 char *kwnames[] = {
23502 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23503 };
23504
23505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23508 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23510 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23511 SWIG_POINTER_EXCEPTION | 0)) == -1)
23512 SWIG_fail;
23513 if (arg3 == NULL) {
23514 PyErr_SetString(PyExc_TypeError,"null reference");
23515 SWIG_fail;
23516 }
23517 {
23518 PyThreadState* __tstate = wxPyBeginAllowThreads();
23519 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23520
23521 wxPyEndAllowThreads(__tstate);
23522 if (PyErr_Occurred()) SWIG_fail;
23523 }
23524 {
23525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23526 }
23527 return resultobj;
23528 fail:
23529 return NULL;
23530 }
23531
23532
23533 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23534 PyObject *resultobj;
23535 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23536 int arg2 ;
23537 bool result;
23538 PyObject * obj0 = 0 ;
23539 PyObject * obj1 = 0 ;
23540 char *kwnames[] = {
23541 (char *) "self",(char *) "pageNum", NULL
23542 };
23543
23544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23547 arg2 = (int) SWIG_AsInt(obj1);
23548 if (PyErr_Occurred()) SWIG_fail;
23549 {
23550 PyThreadState* __tstate = wxPyBeginAllowThreads();
23551 result = (bool)(arg1)->RenderPage(arg2);
23552
23553 wxPyEndAllowThreads(__tstate);
23554 if (PyErr_Occurred()) SWIG_fail;
23555 }
23556 {
23557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23558 }
23559 return resultobj;
23560 fail:
23561 return NULL;
23562 }
23563
23564
23565 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23566 PyObject *resultobj;
23567 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23568 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23569 PyObject * obj0 = 0 ;
23570 PyObject * obj1 = 0 ;
23571 char *kwnames[] = {
23572 (char *) "self",(char *) "canvas", NULL
23573 };
23574
23575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23580 {
23581 PyThreadState* __tstate = wxPyBeginAllowThreads();
23582 (arg1)->AdjustScrollbars(arg2);
23583
23584 wxPyEndAllowThreads(__tstate);
23585 if (PyErr_Occurred()) SWIG_fail;
23586 }
23587 Py_INCREF(Py_None); resultobj = Py_None;
23588 return resultobj;
23589 fail:
23590 return NULL;
23591 }
23592
23593
23594 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23595 PyObject *resultobj;
23596 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23597 wxPrintDialogData *result;
23598 PyObject * obj0 = 0 ;
23599 char *kwnames[] = {
23600 (char *) "self", NULL
23601 };
23602
23603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 {
23609 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23610 result = (wxPrintDialogData *) &_result_ref;
23611 }
23612
23613 wxPyEndAllowThreads(__tstate);
23614 if (PyErr_Occurred()) SWIG_fail;
23615 }
23616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23617 return resultobj;
23618 fail:
23619 return NULL;
23620 }
23621
23622
23623 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23624 PyObject *resultobj;
23625 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23626 int arg2 ;
23627 PyObject * obj0 = 0 ;
23628 PyObject * obj1 = 0 ;
23629 char *kwnames[] = {
23630 (char *) "self",(char *) "percent", NULL
23631 };
23632
23633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23636 arg2 = (int) SWIG_AsInt(obj1);
23637 if (PyErr_Occurred()) SWIG_fail;
23638 {
23639 PyThreadState* __tstate = wxPyBeginAllowThreads();
23640 (arg1)->SetZoom(arg2);
23641
23642 wxPyEndAllowThreads(__tstate);
23643 if (PyErr_Occurred()) SWIG_fail;
23644 }
23645 Py_INCREF(Py_None); resultobj = Py_None;
23646 return resultobj;
23647 fail:
23648 return NULL;
23649 }
23650
23651
23652 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23653 PyObject *resultobj;
23654 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23655 int result;
23656 PyObject * obj0 = 0 ;
23657 char *kwnames[] = {
23658 (char *) "self", NULL
23659 };
23660
23661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23664 {
23665 PyThreadState* __tstate = wxPyBeginAllowThreads();
23666 result = (int)(arg1)->GetZoom();
23667
23668 wxPyEndAllowThreads(__tstate);
23669 if (PyErr_Occurred()) SWIG_fail;
23670 }
23671 resultobj = SWIG_FromInt((int)result);
23672 return resultobj;
23673 fail:
23674 return NULL;
23675 }
23676
23677
23678 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23679 PyObject *resultobj;
23680 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23681 int result;
23682 PyObject * obj0 = 0 ;
23683 char *kwnames[] = {
23684 (char *) "self", NULL
23685 };
23686
23687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23690 {
23691 PyThreadState* __tstate = wxPyBeginAllowThreads();
23692 result = (int)(arg1)->GetMaxPage();
23693
23694 wxPyEndAllowThreads(__tstate);
23695 if (PyErr_Occurred()) SWIG_fail;
23696 }
23697 resultobj = SWIG_FromInt((int)result);
23698 return resultobj;
23699 fail:
23700 return NULL;
23701 }
23702
23703
23704 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23705 PyObject *resultobj;
23706 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23707 int result;
23708 PyObject * obj0 = 0 ;
23709 char *kwnames[] = {
23710 (char *) "self", NULL
23711 };
23712
23713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23716 {
23717 PyThreadState* __tstate = wxPyBeginAllowThreads();
23718 result = (int)(arg1)->GetMinPage();
23719
23720 wxPyEndAllowThreads(__tstate);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
23723 resultobj = SWIG_FromInt((int)result);
23724 return resultobj;
23725 fail:
23726 return NULL;
23727 }
23728
23729
23730 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23731 PyObject *resultobj;
23732 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23733 bool result;
23734 PyObject * obj0 = 0 ;
23735 char *kwnames[] = {
23736 (char *) "self", NULL
23737 };
23738
23739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23742 {
23743 PyThreadState* __tstate = wxPyBeginAllowThreads();
23744 result = (bool)(arg1)->Ok();
23745
23746 wxPyEndAllowThreads(__tstate);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
23749 {
23750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23751 }
23752 return resultobj;
23753 fail:
23754 return NULL;
23755 }
23756
23757
23758 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23759 PyObject *resultobj;
23760 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23761 bool arg2 ;
23762 PyObject * obj0 = 0 ;
23763 PyObject * obj1 = 0 ;
23764 char *kwnames[] = {
23765 (char *) "self",(char *) "ok", NULL
23766 };
23767
23768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23771 arg2 = (bool) SWIG_AsBool(obj1);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 {
23774 PyThreadState* __tstate = wxPyBeginAllowThreads();
23775 (arg1)->SetOk(arg2);
23776
23777 wxPyEndAllowThreads(__tstate);
23778 if (PyErr_Occurred()) SWIG_fail;
23779 }
23780 Py_INCREF(Py_None); resultobj = Py_None;
23781 return resultobj;
23782 fail:
23783 return NULL;
23784 }
23785
23786
23787 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23788 PyObject *resultobj;
23789 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23790 bool arg2 ;
23791 bool result;
23792 PyObject * obj0 = 0 ;
23793 PyObject * obj1 = 0 ;
23794 char *kwnames[] = {
23795 (char *) "self",(char *) "interactive", NULL
23796 };
23797
23798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23801 arg2 = (bool) SWIG_AsBool(obj1);
23802 if (PyErr_Occurred()) SWIG_fail;
23803 {
23804 PyThreadState* __tstate = wxPyBeginAllowThreads();
23805 result = (bool)(arg1)->Print(arg2);
23806
23807 wxPyEndAllowThreads(__tstate);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
23810 {
23811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23812 }
23813 return resultobj;
23814 fail:
23815 return NULL;
23816 }
23817
23818
23819 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23820 PyObject *resultobj;
23821 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23822 PyObject * obj0 = 0 ;
23823 char *kwnames[] = {
23824 (char *) "self", NULL
23825 };
23826
23827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23830 {
23831 PyThreadState* __tstate = wxPyBeginAllowThreads();
23832 (arg1)->DetermineScaling();
23833
23834 wxPyEndAllowThreads(__tstate);
23835 if (PyErr_Occurred()) SWIG_fail;
23836 }
23837 Py_INCREF(Py_None); resultobj = Py_None;
23838 return resultobj;
23839 fail:
23840 return NULL;
23841 }
23842
23843
23844 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23845 PyObject *obj;
23846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23847 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23848 Py_INCREF(obj);
23849 return Py_BuildValue((char *)"");
23850 }
23851 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23852 PyObject *resultobj;
23853 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23854 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23855 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23856 wxPyPrintPreview *result;
23857 PyObject * obj0 = 0 ;
23858 PyObject * obj1 = 0 ;
23859 PyObject * obj2 = 0 ;
23860
23861 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23866 if (obj2) {
23867 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23869 }
23870 {
23871 if (!wxPyCheckForApp()) SWIG_fail;
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23874
23875 wxPyEndAllowThreads(__tstate);
23876 if (PyErr_Occurred()) SWIG_fail;
23877 }
23878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23879 return resultobj;
23880 fail:
23881 return NULL;
23882 }
23883
23884
23885 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23886 PyObject *resultobj;
23887 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23888 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23889 wxPrintData *arg3 = (wxPrintData *) 0 ;
23890 wxPyPrintPreview *result;
23891 PyObject * obj0 = 0 ;
23892 PyObject * obj1 = 0 ;
23893 PyObject * obj2 = 0 ;
23894
23895 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23900 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23902 {
23903 if (!wxPyCheckForApp()) SWIG_fail;
23904 PyThreadState* __tstate = wxPyBeginAllowThreads();
23905 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23906
23907 wxPyEndAllowThreads(__tstate);
23908 if (PyErr_Occurred()) SWIG_fail;
23909 }
23910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23911 return resultobj;
23912 fail:
23913 return NULL;
23914 }
23915
23916
23917 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23918 int argc;
23919 PyObject *argv[4];
23920 int ii;
23921
23922 argc = PyObject_Length(args);
23923 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23924 argv[ii] = PyTuple_GetItem(args,ii);
23925 }
23926 if ((argc >= 2) && (argc <= 3)) {
23927 int _v;
23928 {
23929 void *ptr;
23930 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23931 _v = 0;
23932 PyErr_Clear();
23933 } else {
23934 _v = 1;
23935 }
23936 }
23937 if (_v) {
23938 {
23939 void *ptr;
23940 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23941 _v = 0;
23942 PyErr_Clear();
23943 } else {
23944 _v = 1;
23945 }
23946 }
23947 if (_v) {
23948 if (argc <= 2) {
23949 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23950 }
23951 {
23952 void *ptr;
23953 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23954 _v = 0;
23955 PyErr_Clear();
23956 } else {
23957 _v = 1;
23958 }
23959 }
23960 if (_v) {
23961 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23962 }
23963 }
23964 }
23965 }
23966 if (argc == 3) {
23967 int _v;
23968 {
23969 void *ptr;
23970 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23971 _v = 0;
23972 PyErr_Clear();
23973 } else {
23974 _v = 1;
23975 }
23976 }
23977 if (_v) {
23978 {
23979 void *ptr;
23980 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23981 _v = 0;
23982 PyErr_Clear();
23983 } else {
23984 _v = 1;
23985 }
23986 }
23987 if (_v) {
23988 {
23989 void *ptr;
23990 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23991 _v = 0;
23992 PyErr_Clear();
23993 } else {
23994 _v = 1;
23995 }
23996 }
23997 if (_v) {
23998 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23999 }
24000 }
24001 }
24002 }
24003
24004 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24005 return NULL;
24006 }
24007
24008
24009 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24010 PyObject *resultobj;
24011 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24012 PyObject *arg2 = (PyObject *) 0 ;
24013 PyObject *arg3 = (PyObject *) 0 ;
24014 PyObject * obj0 = 0 ;
24015 PyObject * obj1 = 0 ;
24016 PyObject * obj2 = 0 ;
24017 char *kwnames[] = {
24018 (char *) "self",(char *) "self",(char *) "_class", NULL
24019 };
24020
24021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24024 arg2 = obj1;
24025 arg3 = obj2;
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
24028 (arg1)->_setCallbackInfo(arg2,arg3);
24029
24030 wxPyEndAllowThreads(__tstate);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 }
24033 Py_INCREF(Py_None); resultobj = Py_None;
24034 return resultobj;
24035 fail:
24036 return NULL;
24037 }
24038
24039
24040 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24041 PyObject *resultobj;
24042 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24043 int arg2 ;
24044 bool result;
24045 PyObject * obj0 = 0 ;
24046 PyObject * obj1 = 0 ;
24047 char *kwnames[] = {
24048 (char *) "self",(char *) "pageNum", NULL
24049 };
24050
24051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24054 arg2 = (int) SWIG_AsInt(obj1);
24055 if (PyErr_Occurred()) SWIG_fail;
24056 {
24057 PyThreadState* __tstate = wxPyBeginAllowThreads();
24058 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24059
24060 wxPyEndAllowThreads(__tstate);
24061 if (PyErr_Occurred()) SWIG_fail;
24062 }
24063 {
24064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24065 }
24066 return resultobj;
24067 fail:
24068 return NULL;
24069 }
24070
24071
24072 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24073 PyObject *resultobj;
24074 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24075 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24076 wxDC *arg3 = 0 ;
24077 bool result;
24078 PyObject * obj0 = 0 ;
24079 PyObject * obj1 = 0 ;
24080 PyObject * obj2 = 0 ;
24081 char *kwnames[] = {
24082 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24083 };
24084
24085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24090 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24091 SWIG_POINTER_EXCEPTION | 0)) == -1)
24092 SWIG_fail;
24093 if (arg3 == NULL) {
24094 PyErr_SetString(PyExc_TypeError,"null reference");
24095 SWIG_fail;
24096 }
24097 {
24098 PyThreadState* __tstate = wxPyBeginAllowThreads();
24099 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24100
24101 wxPyEndAllowThreads(__tstate);
24102 if (PyErr_Occurred()) SWIG_fail;
24103 }
24104 {
24105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24106 }
24107 return resultobj;
24108 fail:
24109 return NULL;
24110 }
24111
24112
24113 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24114 PyObject *resultobj;
24115 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24116 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24117 wxDC *arg3 = 0 ;
24118 bool result;
24119 PyObject * obj0 = 0 ;
24120 PyObject * obj1 = 0 ;
24121 PyObject * obj2 = 0 ;
24122 char *kwnames[] = {
24123 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24124 };
24125
24126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24129 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24131 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24132 SWIG_POINTER_EXCEPTION | 0)) == -1)
24133 SWIG_fail;
24134 if (arg3 == NULL) {
24135 PyErr_SetString(PyExc_TypeError,"null reference");
24136 SWIG_fail;
24137 }
24138 {
24139 PyThreadState* __tstate = wxPyBeginAllowThreads();
24140 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24141
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 {
24146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24147 }
24148 return resultobj;
24149 fail:
24150 return NULL;
24151 }
24152
24153
24154 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24155 PyObject *resultobj;
24156 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24157 int arg2 ;
24158 bool result;
24159 PyObject * obj0 = 0 ;
24160 PyObject * obj1 = 0 ;
24161 char *kwnames[] = {
24162 (char *) "self",(char *) "pageNum", NULL
24163 };
24164
24165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24168 arg2 = (int) SWIG_AsInt(obj1);
24169 if (PyErr_Occurred()) SWIG_fail;
24170 {
24171 PyThreadState* __tstate = wxPyBeginAllowThreads();
24172 result = (bool)(arg1)->base_RenderPage(arg2);
24173
24174 wxPyEndAllowThreads(__tstate);
24175 if (PyErr_Occurred()) SWIG_fail;
24176 }
24177 {
24178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24179 }
24180 return resultobj;
24181 fail:
24182 return NULL;
24183 }
24184
24185
24186 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
24187 PyObject *resultobj;
24188 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24189 int arg2 ;
24190 PyObject * obj0 = 0 ;
24191 PyObject * obj1 = 0 ;
24192 char *kwnames[] = {
24193 (char *) "self",(char *) "percent", NULL
24194 };
24195
24196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24199 arg2 = (int) SWIG_AsInt(obj1);
24200 if (PyErr_Occurred()) SWIG_fail;
24201 {
24202 PyThreadState* __tstate = wxPyBeginAllowThreads();
24203 (arg1)->base_SetZoom(arg2);
24204
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
24208 Py_INCREF(Py_None); resultobj = Py_None;
24209 return resultobj;
24210 fail:
24211 return NULL;
24212 }
24213
24214
24215 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj;
24217 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24218 bool arg2 ;
24219 bool result;
24220 PyObject * obj0 = 0 ;
24221 PyObject * obj1 = 0 ;
24222 char *kwnames[] = {
24223 (char *) "self",(char *) "interactive", NULL
24224 };
24225
24226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24229 arg2 = (bool) SWIG_AsBool(obj1);
24230 if (PyErr_Occurred()) SWIG_fail;
24231 {
24232 PyThreadState* __tstate = wxPyBeginAllowThreads();
24233 result = (bool)(arg1)->base_Print(arg2);
24234
24235 wxPyEndAllowThreads(__tstate);
24236 if (PyErr_Occurred()) SWIG_fail;
24237 }
24238 {
24239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24240 }
24241 return resultobj;
24242 fail:
24243 return NULL;
24244 }
24245
24246
24247 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24248 PyObject *resultobj;
24249 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24250 PyObject * obj0 = 0 ;
24251 char *kwnames[] = {
24252 (char *) "self", NULL
24253 };
24254
24255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24258 {
24259 PyThreadState* __tstate = wxPyBeginAllowThreads();
24260 (arg1)->base_DetermineScaling();
24261
24262 wxPyEndAllowThreads(__tstate);
24263 if (PyErr_Occurred()) SWIG_fail;
24264 }
24265 Py_INCREF(Py_None); resultobj = Py_None;
24266 return resultobj;
24267 fail:
24268 return NULL;
24269 }
24270
24271
24272 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
24273 PyObject *obj;
24274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24275 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24276 Py_INCREF(obj);
24277 return Py_BuildValue((char *)"");
24278 }
24279 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
24280 PyObject *resultobj;
24281 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24282 wxFrame *arg2 = (wxFrame *) 0 ;
24283 wxString *arg3 = 0 ;
24284 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24285 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24286 wxSize const &arg5_defvalue = wxDefaultSize ;
24287 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24288 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24289 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24290 wxString *arg7 = (wxString *) &arg7_defvalue ;
24291 wxPyPreviewFrame *result;
24292 bool temp3 = False ;
24293 wxPoint temp4 ;
24294 wxSize temp5 ;
24295 bool temp7 = False ;
24296 PyObject * obj0 = 0 ;
24297 PyObject * obj1 = 0 ;
24298 PyObject * obj2 = 0 ;
24299 PyObject * obj3 = 0 ;
24300 PyObject * obj4 = 0 ;
24301 PyObject * obj5 = 0 ;
24302 PyObject * obj6 = 0 ;
24303 char *kwnames[] = {
24304 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24305 };
24306
24307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24312 {
24313 arg3 = wxString_in_helper(obj2);
24314 if (arg3 == NULL) SWIG_fail;
24315 temp3 = True;
24316 }
24317 if (obj3) {
24318 {
24319 arg4 = &temp4;
24320 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24321 }
24322 }
24323 if (obj4) {
24324 {
24325 arg5 = &temp5;
24326 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24327 }
24328 }
24329 if (obj5) {
24330 arg6 = (long) SWIG_AsLong(obj5);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 if (obj6) {
24334 {
24335 arg7 = wxString_in_helper(obj6);
24336 if (arg7 == NULL) SWIG_fail;
24337 temp7 = True;
24338 }
24339 }
24340 {
24341 if (!wxPyCheckForApp()) SWIG_fail;
24342 PyThreadState* __tstate = wxPyBeginAllowThreads();
24343 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24344
24345 wxPyEndAllowThreads(__tstate);
24346 if (PyErr_Occurred()) SWIG_fail;
24347 }
24348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24349 {
24350 if (temp3)
24351 delete arg3;
24352 }
24353 {
24354 if (temp7)
24355 delete arg7;
24356 }
24357 return resultobj;
24358 fail:
24359 {
24360 if (temp3)
24361 delete arg3;
24362 }
24363 {
24364 if (temp7)
24365 delete arg7;
24366 }
24367 return NULL;
24368 }
24369
24370
24371 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24372 PyObject *resultobj;
24373 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24374 PyObject *arg2 = (PyObject *) 0 ;
24375 PyObject *arg3 = (PyObject *) 0 ;
24376 PyObject * obj0 = 0 ;
24377 PyObject * obj1 = 0 ;
24378 PyObject * obj2 = 0 ;
24379 char *kwnames[] = {
24380 (char *) "self",(char *) "self",(char *) "_class", NULL
24381 };
24382
24383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24386 arg2 = obj1;
24387 arg3 = obj2;
24388 {
24389 PyThreadState* __tstate = wxPyBeginAllowThreads();
24390 (arg1)->_setCallbackInfo(arg2,arg3);
24391
24392 wxPyEndAllowThreads(__tstate);
24393 if (PyErr_Occurred()) SWIG_fail;
24394 }
24395 Py_INCREF(Py_None); resultobj = Py_None;
24396 return resultobj;
24397 fail:
24398 return NULL;
24399 }
24400
24401
24402 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24403 PyObject *resultobj;
24404 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24405 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24406 PyObject * obj0 = 0 ;
24407 PyObject * obj1 = 0 ;
24408 char *kwnames[] = {
24409 (char *) "self",(char *) "canvas", NULL
24410 };
24411
24412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 (arg1)->SetPreviewCanvas(arg2);
24420
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 Py_INCREF(Py_None); resultobj = Py_None;
24425 return resultobj;
24426 fail:
24427 return NULL;
24428 }
24429
24430
24431 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24432 PyObject *resultobj;
24433 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24434 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24435 PyObject * obj0 = 0 ;
24436 PyObject * obj1 = 0 ;
24437 char *kwnames[] = {
24438 (char *) "self",(char *) "bar", NULL
24439 };
24440
24441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24446 {
24447 PyThreadState* __tstate = wxPyBeginAllowThreads();
24448 (arg1)->SetControlBar(arg2);
24449
24450 wxPyEndAllowThreads(__tstate);
24451 if (PyErr_Occurred()) SWIG_fail;
24452 }
24453 Py_INCREF(Py_None); resultobj = Py_None;
24454 return resultobj;
24455 fail:
24456 return NULL;
24457 }
24458
24459
24460 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24461 PyObject *resultobj;
24462 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24463 PyObject * obj0 = 0 ;
24464 char *kwnames[] = {
24465 (char *) "self", NULL
24466 };
24467
24468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24471 {
24472 PyThreadState* __tstate = wxPyBeginAllowThreads();
24473 (arg1)->base_Initialize();
24474
24475 wxPyEndAllowThreads(__tstate);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 }
24478 Py_INCREF(Py_None); resultobj = Py_None;
24479 return resultobj;
24480 fail:
24481 return NULL;
24482 }
24483
24484
24485 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24486 PyObject *resultobj;
24487 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24488 PyObject * obj0 = 0 ;
24489 char *kwnames[] = {
24490 (char *) "self", NULL
24491 };
24492
24493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24496 {
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 (arg1)->base_CreateCanvas();
24499
24500 wxPyEndAllowThreads(__tstate);
24501 if (PyErr_Occurred()) SWIG_fail;
24502 }
24503 Py_INCREF(Py_None); resultobj = Py_None;
24504 return resultobj;
24505 fail:
24506 return NULL;
24507 }
24508
24509
24510 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24511 PyObject *resultobj;
24512 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24513 PyObject * obj0 = 0 ;
24514 char *kwnames[] = {
24515 (char *) "self", NULL
24516 };
24517
24518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24521 {
24522 PyThreadState* __tstate = wxPyBeginAllowThreads();
24523 (arg1)->base_CreateControlBar();
24524
24525 wxPyEndAllowThreads(__tstate);
24526 if (PyErr_Occurred()) SWIG_fail;
24527 }
24528 Py_INCREF(Py_None); resultobj = Py_None;
24529 return resultobj;
24530 fail:
24531 return NULL;
24532 }
24533
24534
24535 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24536 PyObject *obj;
24537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24538 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24539 Py_INCREF(obj);
24540 return Py_BuildValue((char *)"");
24541 }
24542 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24543 PyObject *resultobj;
24544 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24545 long arg2 ;
24546 wxWindow *arg3 = (wxWindow *) 0 ;
24547 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24548 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24549 wxSize const &arg5_defvalue = wxDefaultSize ;
24550 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24551 long arg6 = (long) 0 ;
24552 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24553 wxString *arg7 = (wxString *) &arg7_defvalue ;
24554 wxPyPreviewControlBar *result;
24555 wxPoint temp4 ;
24556 wxSize temp5 ;
24557 bool temp7 = False ;
24558 PyObject * obj0 = 0 ;
24559 PyObject * obj1 = 0 ;
24560 PyObject * obj2 = 0 ;
24561 PyObject * obj3 = 0 ;
24562 PyObject * obj4 = 0 ;
24563 PyObject * obj5 = 0 ;
24564 PyObject * obj6 = 0 ;
24565 char *kwnames[] = {
24566 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24567 };
24568
24569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24572 arg2 = (long) SWIG_AsLong(obj1);
24573 if (PyErr_Occurred()) SWIG_fail;
24574 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24576 if (obj3) {
24577 {
24578 arg4 = &temp4;
24579 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24580 }
24581 }
24582 if (obj4) {
24583 {
24584 arg5 = &temp5;
24585 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24586 }
24587 }
24588 if (obj5) {
24589 arg6 = (long) SWIG_AsLong(obj5);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 }
24592 if (obj6) {
24593 {
24594 arg7 = wxString_in_helper(obj6);
24595 if (arg7 == NULL) SWIG_fail;
24596 temp7 = True;
24597 }
24598 }
24599 {
24600 if (!wxPyCheckForApp()) SWIG_fail;
24601 PyThreadState* __tstate = wxPyBeginAllowThreads();
24602 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24603
24604 wxPyEndAllowThreads(__tstate);
24605 if (PyErr_Occurred()) SWIG_fail;
24606 }
24607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24608 {
24609 if (temp7)
24610 delete arg7;
24611 }
24612 return resultobj;
24613 fail:
24614 {
24615 if (temp7)
24616 delete arg7;
24617 }
24618 return NULL;
24619 }
24620
24621
24622 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24623 PyObject *resultobj;
24624 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24625 PyObject *arg2 = (PyObject *) 0 ;
24626 PyObject *arg3 = (PyObject *) 0 ;
24627 PyObject * obj0 = 0 ;
24628 PyObject * obj1 = 0 ;
24629 PyObject * obj2 = 0 ;
24630 char *kwnames[] = {
24631 (char *) "self",(char *) "self",(char *) "_class", NULL
24632 };
24633
24634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24637 arg2 = obj1;
24638 arg3 = obj2;
24639 {
24640 PyThreadState* __tstate = wxPyBeginAllowThreads();
24641 (arg1)->_setCallbackInfo(arg2,arg3);
24642
24643 wxPyEndAllowThreads(__tstate);
24644 if (PyErr_Occurred()) SWIG_fail;
24645 }
24646 Py_INCREF(Py_None); resultobj = Py_None;
24647 return resultobj;
24648 fail:
24649 return NULL;
24650 }
24651
24652
24653 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24654 PyObject *resultobj;
24655 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24656 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24657 PyObject * obj0 = 0 ;
24658 PyObject * obj1 = 0 ;
24659 char *kwnames[] = {
24660 (char *) "self",(char *) "preview", NULL
24661 };
24662
24663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24668 {
24669 PyThreadState* __tstate = wxPyBeginAllowThreads();
24670 (arg1)->SetPrintPreview(arg2);
24671
24672 wxPyEndAllowThreads(__tstate);
24673 if (PyErr_Occurred()) SWIG_fail;
24674 }
24675 Py_INCREF(Py_None); resultobj = Py_None;
24676 return resultobj;
24677 fail:
24678 return NULL;
24679 }
24680
24681
24682 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24683 PyObject *resultobj;
24684 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24685 PyObject * obj0 = 0 ;
24686 char *kwnames[] = {
24687 (char *) "self", NULL
24688 };
24689
24690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24693 {
24694 PyThreadState* __tstate = wxPyBeginAllowThreads();
24695 (arg1)->base_CreateButtons();
24696
24697 wxPyEndAllowThreads(__tstate);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 Py_INCREF(Py_None); resultobj = Py_None;
24701 return resultobj;
24702 fail:
24703 return NULL;
24704 }
24705
24706
24707 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24708 PyObject *resultobj;
24709 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24710 int arg2 ;
24711 PyObject * obj0 = 0 ;
24712 PyObject * obj1 = 0 ;
24713 char *kwnames[] = {
24714 (char *) "self",(char *) "zoom", NULL
24715 };
24716
24717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24720 arg2 = (int) SWIG_AsInt(obj1);
24721 if (PyErr_Occurred()) SWIG_fail;
24722 {
24723 PyThreadState* __tstate = wxPyBeginAllowThreads();
24724 (arg1)->base_SetZoomControl(arg2);
24725
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
24729 Py_INCREF(Py_None); resultobj = Py_None;
24730 return resultobj;
24731 fail:
24732 return NULL;
24733 }
24734
24735
24736 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24737 PyObject *obj;
24738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24739 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24740 Py_INCREF(obj);
24741 return Py_BuildValue((char *)"");
24742 }
24743 static PyMethodDef SwigMethods[] = {
24744 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24750 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24765 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24766 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24774 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24790 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24814 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24826 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24830 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24834 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24839 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24855 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24883 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24890 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24913 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24921 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24933 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24939 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24948 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24954 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24957 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24960 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24964 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24982 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
25008 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
25016 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
25020 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
25022 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
25031 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
25034 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
25041 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
25059 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
25063 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
25068 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
25072 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
25088 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
25091 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
25093 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
25097 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
25106 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
25115 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
25121 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
25133 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
25140 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
25144 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
25170 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
25196 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
25222 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS },
25223 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
25268 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS },
25269 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
25300 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
25304 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
25305 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25338 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25342 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25343 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25351 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25354 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25367 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25369 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25371 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25377 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25379 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25380 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25383 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25384 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25385 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25387 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25388 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25389 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25390 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25391 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25392 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25393 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25395 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25396 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25398 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25399 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25400 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25401 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25402 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25403 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25404 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25405 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25406 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25407 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25408 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25409 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25410 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25411 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25412 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25413 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25414 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25415 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25416 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25417 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25418 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25419 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25420 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25421 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25422 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25423 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25424 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25425 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25426 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25427 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25428 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25429 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25430 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25431 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25432 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25433 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25434 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25435 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25436 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25437 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25438 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25439 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25440 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25441 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25442 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25443 { NULL, NULL }
25444 };
25445
25446
25447 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25448
25449 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25450 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25451 }
25452 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25453 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25454 }
25455 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25456 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25457 }
25458 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25459 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25460 }
25461 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25462 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25463 }
25464 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25465 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25466 }
25467 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25468 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25469 }
25470 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25471 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25472 }
25473 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25474 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25475 }
25476 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25477 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25478 }
25479 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25480 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25481 }
25482 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25483 return (void *)((wxEvent *) ((wxPyEvent *) x));
25484 }
25485 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25486 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25487 }
25488 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25489 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25490 }
25491 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25492 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25493 }
25494 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25495 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25496 }
25497 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25498 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25499 }
25500 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25501 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25502 }
25503 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25504 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25505 }
25506 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25507 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25508 }
25509 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25510 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25511 }
25512 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25513 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25514 }
25515 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25516 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25517 }
25518 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25519 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25520 }
25521 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25522 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25523 }
25524 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25525 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25526 }
25527 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25528 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25529 }
25530 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25531 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25532 }
25533 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25534 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25535 }
25536 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25537 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25538 }
25539 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25540 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25541 }
25542 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25543 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25544 }
25545 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25546 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25547 }
25548 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25549 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25550 }
25551 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25552 return (void *)((wxEvent *) ((wxShowEvent *) x));
25553 }
25554 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25555 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25556 }
25557 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25558 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25559 }
25560 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25561 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25562 }
25563 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25564 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25565 }
25566 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25567 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25568 }
25569 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25570 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25571 }
25572 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25573 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25574 }
25575 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25576 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25577 }
25578 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25579 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25580 }
25581 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25582 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25583 }
25584 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25585 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25586 }
25587 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25588 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25589 }
25590 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25591 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25592 }
25593 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25594 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25595 }
25596 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25597 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25598 }
25599 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25600 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25601 }
25602 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25603 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25604 }
25605 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25606 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25607 }
25608 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25609 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25610 }
25611 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25612 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25613 }
25614 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25615 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25616 }
25617 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25618 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25619 }
25620 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25621 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25622 }
25623 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25624 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25625 }
25626 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25627 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25628 }
25629 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25630 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25631 }
25632 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25633 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25634 }
25635 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25636 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25637 }
25638 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25639 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25640 }
25641 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25642 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25643 }
25644 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25645 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25646 }
25647 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25648 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25649 }
25650 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25651 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25652 }
25653 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25654 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25655 }
25656 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25657 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25658 }
25659 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25660 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25661 }
25662 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25663 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25664 }
25665 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25666 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25667 }
25668 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25669 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25670 }
25671 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25672 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25673 }
25674 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25675 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25676 }
25677 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25678 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25679 }
25680 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25681 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25682 }
25683 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25684 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25685 }
25686 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25687 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25688 }
25689 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25690 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25691 }
25692 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25693 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25694 }
25695 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25696 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25697 }
25698 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25699 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25700 }
25701 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25702 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25703 }
25704 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25705 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25706 }
25707 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25708 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25709 }
25710 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25711 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25712 }
25713 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25714 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25715 }
25716 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25717 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25718 }
25719 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25720 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25721 }
25722 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25723 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25724 }
25725 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25726 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25727 }
25728 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25729 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25730 }
25731 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25732 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25733 }
25734 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25735 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25736 }
25737 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
25738 return (void *)((wxFrame *) ((wxTipWindow *) x));
25739 }
25740 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25741 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25742 }
25743 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25744 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25745 }
25746 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25747 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25748 }
25749 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25750 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25751 }
25752 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25753 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25754 }
25755 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25756 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25757 }
25758 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25759 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25760 }
25761 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25763 }
25764 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25766 }
25767 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25768 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25769 }
25770 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25771 return (void *)((wxObject *) ((wxSizerItem *) x));
25772 }
25773 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25774 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25775 }
25776 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25777 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25778 }
25779 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25780 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25781 }
25782 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25783 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25784 }
25785 static void *_p_wxSizerTo_p_wxObject(void *x) {
25786 return (void *)((wxObject *) ((wxSizer *) x));
25787 }
25788 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25789 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25790 }
25791 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25792 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25793 }
25794 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25796 }
25797 static void *_p_wxEventTo_p_wxObject(void *x) {
25798 return (void *)((wxObject *) ((wxEvent *) x));
25799 }
25800 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25801 return (void *)((wxObject *) ((wxFontData *) x));
25802 }
25803 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25804 return (void *)((wxObject *) ((wxPrintData *) x));
25805 }
25806 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25807 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25808 }
25809 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25810 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25811 }
25812 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25813 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25814 }
25815 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25816 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25817 }
25818 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25819 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25820 }
25821 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25822 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25823 }
25824 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25825 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25826 }
25827 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25828 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25829 }
25830 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25831 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25832 }
25833 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25834 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25835 }
25836 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25837 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25838 }
25839 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25840 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25841 }
25842 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25844 }
25845 static void *_p_wxControlTo_p_wxObject(void *x) {
25846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25847 }
25848 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25849 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25850 }
25851 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25852 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25853 }
25854 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25855 return (void *)((wxObject *) ((wxFSFile *) x));
25856 }
25857 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25858 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25859 }
25860 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25861 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25862 }
25863 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25865 }
25866 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25867 return (void *)((wxObject *) ((wxColourData *) x));
25868 }
25869 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25870 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25871 }
25872 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25873 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25874 }
25875 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25877 }
25878 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25880 }
25881 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25883 }
25884 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25886 }
25887 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25889 }
25890 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25892 }
25893 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25895 }
25896 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25898 }
25899 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25901 }
25902 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25903 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25904 }
25905 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25906 return (void *)((wxObject *) ((wxPrinter *) x));
25907 }
25908 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25909 return (void *)((wxObject *) ((wxMenuItem *) x));
25910 }
25911 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25912 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25913 }
25914 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25915 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25916 }
25917 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25918 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25919 }
25920 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25921 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25922 }
25923 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25924 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25925 }
25926 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25927 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25928 }
25929 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25930 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25931 }
25932 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25933 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25934 }
25935 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25936 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25937 }
25938 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25939 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25940 }
25941 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25942 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25943 }
25944 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25945 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25946 }
25947 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25948 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25949 }
25950 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25951 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25952 }
25953 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25954 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25955 }
25956 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25957 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25958 }
25959 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25960 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25961 }
25962 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25963 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25964 }
25965 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25966 return (void *)((wxObject *) ((wxImageHandler *) x));
25967 }
25968 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25969 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25970 }
25971 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25972 return (void *)((wxObject *) ((wxEvtHandler *) x));
25973 }
25974 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25975 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25976 }
25977 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25979 }
25980 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25982 }
25983 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25984 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25985 }
25986 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25987 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25988 }
25989 static void *_p_wxImageTo_p_wxObject(void *x) {
25990 return (void *)((wxObject *) ((wxImage *) x));
25991 }
25992 static void *_p_wxFrameTo_p_wxObject(void *x) {
25993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25994 }
25995 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25996 return (void *)((wxObject *) ((wxPyPrintout *) x));
25997 }
25998 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25999 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26000 }
26001 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26002 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26003 }
26004 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26006 }
26007 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26009 }
26010 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26011 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26012 }
26013 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26014 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26015 }
26016 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26017 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26018 }
26019 static void *_p_wxWindowTo_p_wxObject(void *x) {
26020 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26021 }
26022 static void *_p_wxMenuTo_p_wxObject(void *x) {
26023 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26024 }
26025 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26027 }
26028 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26030 }
26031 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26033 }
26034 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26036 }
26037 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26039 }
26040 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26042 }
26043 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26045 }
26046 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26048 }
26049 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26051 }
26052 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26054 }
26055 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26057 }
26058 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26060 }
26061 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26063 }
26064 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26065 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26066 }
26067 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26068 return (void *)((wxObject *) ((wxPrintPreview *) x));
26069 }
26070 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26071 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26072 }
26073 static void *_p_wxPanelTo_p_wxObject(void *x) {
26074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26075 }
26076 static void *_p_wxDialogTo_p_wxObject(void *x) {
26077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26078 }
26079 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26081 }
26082 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26084 }
26085 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26087 }
26088 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26090 }
26091 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26093 }
26094 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26095 return (void *)((wxObject *) ((wxFileSystem *) x));
26096 }
26097 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26098 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26099 }
26100 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26101 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26102 }
26103 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26104 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26105 }
26106 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26107 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26108 }
26109 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26110 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26111 }
26112 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26113 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26114 }
26115 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26116 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26117 }
26118 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26119 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26120 }
26121 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26123 }
26124 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26126 }
26127 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26128 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26129 }
26130 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26131 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26132 }
26133 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26134 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26135 }
26136 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26138 }
26139 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26140 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26141 }
26142 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26143 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26144 }
26145 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26146 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26147 }
26148 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26149 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26150 }
26151 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26152 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26153 }
26154 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26155 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26156 }
26157 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26158 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26159 }
26160 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26161 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26162 }
26163 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26164 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26165 }
26166 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26167 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26168 }
26169 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26170 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26171 }
26172 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26173 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26174 }
26175 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26176 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26177 }
26178 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26179 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26180 }
26181 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26182 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26183 }
26184 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26185 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26186 }
26187 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26188 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26189 }
26190 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
26191 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
26192 }
26193 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26194 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26195 }
26196 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26197 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26198 }
26199 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26200 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26201 }
26202 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26203 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26204 }
26205 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26206 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26207 }
26208 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26209 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26210 }
26211 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26212 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26213 }
26214 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26215 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26216 }
26217 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26218 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26219 }
26220 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26221 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26222 }
26223 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26224 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26225 }
26226 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26227 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26228 }
26229 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26230 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26231 }
26232 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26233 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26234 }
26235 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26236 return (void *)((wxWindow *) ((wxMenuBar *) x));
26237 }
26238 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26240 }
26241 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26242 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26243 }
26244 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26245 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26246 }
26247 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26248 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26249 }
26250 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26251 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26252 }
26253 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26254 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26255 }
26256 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26257 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26258 }
26259 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26260 return (void *)((wxWindow *) ((wxPanel *) x));
26261 }
26262 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26263 return (void *)((wxWindow *) ((wxStatusBar *) x));
26264 }
26265 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26266 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26267 }
26268 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26269 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26270 }
26271 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26272 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26273 }
26274 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26275 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26276 }
26277 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26278 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26279 }
26280 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26281 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26282 }
26283 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26284 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26285 }
26286 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26287 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26288 }
26289 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26290 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26291 }
26292 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26293 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26294 }
26295 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26296 return (void *)((wxWindow *) ((wxSashWindow *) x));
26297 }
26298 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26299 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26300 }
26301 static void *_p_wxControlTo_p_wxWindow(void *x) {
26302 return (void *)((wxWindow *) ((wxControl *) x));
26303 }
26304 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26305 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26306 }
26307 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26308 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26309 }
26310 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26311 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26312 }
26313 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26314 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26315 }
26316 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26317 return (void *)((wxWindow *) ((wxPyWindow *) x));
26318 }
26319 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26320 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26321 }
26322 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26323 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26324 }
26325 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26326 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26327 }
26328 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26329 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26330 }
26331 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26332 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26333 }
26334 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26335 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26336 }
26337 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26338 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26339 }
26340 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26341 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26342 }
26343 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26344 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26345 }
26346 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26347 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26348 }
26349 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26350 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26351 }
26352 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26353 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26354 }
26355 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26356 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26357 }
26358 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26359 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26360 }
26361 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26362 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26363 }
26364 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26365 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26366 }
26367 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26368 return (void *)((wxDialog *) ((wxColourDialog *) x));
26369 }
26370 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26371 return (void *)((wxDialog *) ((wxDirDialog *) x));
26372 }
26373 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26374 return (void *)((wxDialog *) ((wxFontDialog *) x));
26375 }
26376 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26377 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26378 }
26379 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26380 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26381 }
26382 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26383 return (void *)((wxDialog *) ((wxFileDialog *) x));
26384 }
26385 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26386 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26387 }
26388 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26389 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26390 }
26391 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26392 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26393 }
26394 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26395 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26396 }
26397 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26398 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26399 }
26400 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26401 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26402 }
26403 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26404 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26405 }
26406 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26407 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26408 }
26409 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26410 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26411 }
26412 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26413 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26414 }
26415 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26416 return (void *)((wxPanel *) ((wxPyPanel *) x));
26417 }
26418 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26419 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26420 }
26421 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26422 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26423 }
26424 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26425 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26426 }
26427 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26428 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26429 }
26430 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26431 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26432 }
26433 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26434 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26435 }
26436 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26437 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26438 }
26439 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26440 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26441 }
26442 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26443 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26444 }
26445 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26446 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26447 }
26448 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26449 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26450 }
26451 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26452 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26453 }
26454 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26455 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26456 }
26457 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26458 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26459 }
26460 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26461 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26462 }
26463 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}};
26464 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}};
26465 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}};
26466 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}};
26467 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}};
26468 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}};
26469 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}};
26470 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}};
26471 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}};
26472 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}};
26473 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}};
26474 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}};
26475 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}};
26476 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}};
26477 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}};
26478 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}};
26479 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}};
26480 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}};
26481 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}};
26482 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}};
26483 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}};
26484 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26485 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}};
26486 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}};
26487 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}};
26488 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}};
26489 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}};
26490 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}};
26491 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}};
26492 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}};
26493 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}};
26494 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}};
26495 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}};
26496 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}};
26497 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}};
26498 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}};
26499 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26500 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}};
26501 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}};
26502 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}};
26503 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}};
26504 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}};
26505 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}};
26506 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26507 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}};
26508 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}};
26509 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}};
26510 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}};
26511 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}};
26512 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}};
26513 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26514 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}};
26515 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}};
26516 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}};
26517 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}};
26518 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26519 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}};
26520 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}};
26521 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}};
26522 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26523 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}};
26524 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26525 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26526 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}};
26527 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}};
26528 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}};
26529 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}};
26530 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}};
26531 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}};
26532 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}};
26533 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}};
26534 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}};
26535 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}};
26536 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}};
26537 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}};
26538 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}};
26539 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}};
26540 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26541 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}};
26542 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}};
26543 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}};
26544 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}};
26545 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}};
26546 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}};
26547 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}};
26548 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}};
26549
26550 static swig_type_info *swig_types_initial[] = {
26551 _swigt__p_wxQueryLayoutInfoEvent,
26552 _swigt__p_wxPreviewFrame,
26553 _swigt__p_wxPyPreviewFrame,
26554 _swigt__p_wxPyPanel,
26555 _swigt__p_wxMenu,
26556 _swigt__p_wxPrintData,
26557 _swigt__p_wxFontData,
26558 _swigt__p_wxEvent,
26559 _swigt__p_wxTaskBarIcon,
26560 _swigt__p_wxIconBundle,
26561 _swigt__p_wxLayoutAlgorithm,
26562 _swigt__p_wxFindDialogEvent,
26563 _swigt__p_wxPreviewCanvas,
26564 _swigt__p_wxFont,
26565 _swigt__p_wxSplitterEvent,
26566 _swigt__p_wxRegion,
26567 _swigt__p_wxFindReplaceData,
26568 _swigt__p_int,
26569 _swigt__p_wxSize,
26570 _swigt__p_wxDC,
26571 _swigt__p_wxIcon,
26572 _swigt__p_wxVisualAttributes,
26573 _swigt__p_wxMDIChildFrame,
26574 _swigt__p_wxColourData,
26575 _swigt__p_wxNotifyEvent,
26576 _swigt__p_wxPyWindow,
26577 _swigt__p_wxSplashScreen,
26578 _swigt__p_wxFindReplaceDialog,
26579 _swigt__p_wxProgressDialog,
26580 _swigt__p_wxMessageDialog,
26581 _swigt__p_wxTextEntryDialog,
26582 _swigt__p_wxSingleChoiceDialog,
26583 _swigt__p_wxMultiChoiceDialog,
26584 _swigt__p_wxFileDialog,
26585 _swigt__p_wxPrinter,
26586 _swigt__p_wxArrayInt,
26587 _swigt__p_wxEvtHandler,
26588 _swigt__p_wxCalculateLayoutEvent,
26589 _swigt__p_wxPyHtmlListBox,
26590 _swigt__p_wxPyVListBox,
26591 _swigt__p_wxRect,
26592 _swigt__p_char,
26593 _swigt__p_wxMiniFrame,
26594 _swigt__p_wxFrame,
26595 _swigt__p_wxPyPrintout,
26596 _swigt__p_wxTaskBarIconEvent,
26597 _swigt__p_wxScrollWinEvent,
26598 _swigt__p_wxStatusBar,
26599 _swigt__p_wxMDIParentFrame,
26600 _swigt__p_wxPoint,
26601 _swigt__p_wxObject,
26602 _swigt__p_wxOutputStream,
26603 _swigt__p_wxPyScrolledWindow,
26604 _swigt__p_wxMDIClientWindow,
26605 _swigt__p_wxTipWindow,
26606 _swigt__p_wxPyPopupTransientWindow,
26607 _swigt__p_wxSashLayoutWindow,
26608 _swigt__p_wxSplitterWindow,
26609 _swigt__p_wxPyVScrolledWindow,
26610 _swigt__p_wxPopupWindow,
26611 _swigt__p_wxSashWindow,
26612 _swigt__p_wxTopLevelWindow,
26613 _swigt__p_wxWindow,
26614 _swigt__p_wxScrolledWindow,
26615 _swigt__p_wxSplashScreenWindow,
26616 _swigt__p_wxMenuBar,
26617 _swigt__p_wxPrintPreview,
26618 _swigt__p_wxSashEvent,
26619 _swigt__p_wxString,
26620 _swigt__p_wxPyPrintPreview,
26621 _swigt__p_wxFontDialog,
26622 _swigt__p_wxDirDialog,
26623 _swigt__p_wxColourDialog,
26624 _swigt__p_wxDialog,
26625 _swigt__p_wxPanel,
26626 _swigt__p_wxPageSetupDialog,
26627 _swigt__p_wxPrintDialog,
26628 _swigt__p_wxFileSystem,
26629 _swigt__p_wxBitmap,
26630 _swigt__p_wxCommandEvent,
26631 _swigt__p_wxPreviewControlBar,
26632 _swigt__p_wxPyPreviewControlBar,
26633 _swigt__p_wxColour,
26634 _swigt__p_wxToolBar,
26635 _swigt__p_wxPageSetupDialogData,
26636 _swigt__p_wxPrintDialogData,
26637 0
26638 };
26639
26640
26641 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26642
26643 static swig_const_info swig_const_table[] = {
26644 {0}};
26645
26646 #ifdef __cplusplus
26647 }
26648 #endif
26649
26650 #ifdef __cplusplus
26651 extern "C"
26652 #endif
26653 SWIGEXPORT(void) SWIG_init(void) {
26654 static PyObject *SWIG_globals = 0;
26655 static int typeinit = 0;
26656 PyObject *m, *d;
26657 int i;
26658 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26659 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26660 d = PyModule_GetDict(m);
26661
26662 if (!typeinit) {
26663 for (i = 0; swig_types_initial[i]; i++) {
26664 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26665 }
26666 typeinit = 1;
26667 }
26668 SWIG_InstallConstants(d,swig_const_table);
26669
26670 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26671 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26672 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26673 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26674 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26675 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26676 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26677 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26678 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26679 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26680 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26681 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26682 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26683 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26684 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26685 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26686 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26687 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26688 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26689 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26690 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26691 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26692 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26693 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26694 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26695 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26696 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26697 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26698 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26699 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26700 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26701 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26702 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26703 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26704 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26705 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26706 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26707 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26708 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26709 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26710 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26711 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26712 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26713 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26714 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26715 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26716 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26717 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26718 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26719 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26720 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26721 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26722 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26723 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26724 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26725 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26726 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26727 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26728 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26729 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26730 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26731 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26732 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26733 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26734 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26735 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26736 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26737 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26738 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26739 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26740 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26741 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26742 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26743 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26744 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26745 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26746 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26747 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26748 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26749 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26750 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26751 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26752 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26753 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26754 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26755 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26756 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26757 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26758 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26759 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26760 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26761 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26762 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26763
26764 // Map renamed classes back to their common name for OOR
26765 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26766 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26767 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26768
26769 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26770 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26771 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26772 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26773 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26774 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26775 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26776 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26777 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26778 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26779 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26780 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26781 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26782 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26783 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26784 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26785 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26786 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26787 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26788 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26789 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26790 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26791 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26792 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26793 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26794 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26795 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26796 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26797 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26798 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26799 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26800 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26801 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26802 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26803 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26804 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26805 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26806 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26807 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26808 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26809 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26810 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26811 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26812 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26813 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26814 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26815 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26816 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26817 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26818 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26819 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26820 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26821 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26822 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26823 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26824 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26825 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26826 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26827 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26828 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26829
26830 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26831
26832 }
26833